Search the web
Sign In
New User? Sign Up
PowerObject · PowerBuilder / PFC Developers' Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Can I declare variables on ISQL editor in PB?!   Message List  
Reply | Forward Message #26572 of 27014 |
Re: [PowerObject] Can I declare variables on ISQL editor in PB?!



I am having the exact same problem -

in PB 11.5 Database painter ISQL Session.

It won't spit out a variable value. Only a SQL result set.

But I am connected to Oracle 10g - looks like your using SQL Server yes ?



I will research further to see why the error.

And let you know what I find.



Thks

 

Steve Adams
(916) 316 3737

----- Original Message -----
From: "Visweswaran suBRAMANyam" <vas2862@...>
To: PowerObject@yahoogroups.com
Sent: Friday, July 3, 2009 10:31:23 AM GMT -08:00 US/Canada Pacific
Subject: [PowerObject] Can I declare variables on ISQL editor in PB?!








Good morning/evening!

I wanted to declare a memory vaiable and store value in it from PB's DB editor's
ISQL Session Tab by the following script.

declare @msg_id varchar;
go
select @msg_id = 'aaaa';

but an error is thrown saying Must declare variable '@msg_id '

Assistance please....

Thanks a lot, in advance!
VISVESH




[Non-text portions of this message have been removed]




Fri Jul 3, 2009 11:01 pm

sa07071955
Offline Offline
Send Email Send Email

Forward
Message #26572 of 27014 |
Expand Messages Author Sort by Date

Good morning/evening! I wanted to declare a memory vaiable and store value in it from PB's DB editor's ISQL Session Tab by the following script. declare...
Visweswaran suBRAMANyam
vas2862
Offline Send Email
Jul 3, 2009
5:31 pm

I am having the exact same problem - in PB 11.5 Database painter ISQL Session. It won't spit out a variable value. Only a SQL result set. But I am connected...
steve.adams3@...
sa07071955
Offline Send Email
Jul 3, 2009
11:01 pm

Good morning, Steve Adams! Firstly, very kind of your interest to respond to the issue I had mentioned. Yes! your guess, from those SQL syntaxes in my previous...
Visweswaran suBRAMANyam
vas2862
Offline Send Email
Jul 6, 2009
2:09 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help