If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > need help-using parameter in informix

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-19-11, 21:04
hazy hazy is offline
Registered User
 
Join Date: Apr 2011
Location: Malaysia
Posts: 1
need help-using parameter in informix

hi..

i'm new in this environment. need ur help guys.
can we use parameter to declare the select statement as below? i tried to run this but syntax error appear..

declare @countRecord int

set @countRecord = select count(*) from address_c,address_tmp where town=town_old

update address_tmp set count_new=@countRecord

thanks..
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On