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 > using subselect as a table in informix

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-24-08, 02:15
denizcaglar denizcaglar is offline
Registered User
 
Join Date: Dec 2008
Posts: 12
using subselect as a table in informix

Hi,

Can not we use a subselect as a tablo in informix ?

For example, i get an error in this statement

select vxmlsessionvariable.sessionid,max(eventdatetime)
from vxmlsessionvariable, vxmlsession where vxmlsession.sessionid = vxmlsessionvariable.sessionid and varname= "AgentTransferInfo"
group by vxmlsessionvariable.sessionid ) AS X
Where a.sessionid=X.sessionid

Thanks.
Reply With Quote
  #2 (permalink)  
Old 12-26-08, 20:14
ibm.ids ibm.ids is offline
Registered User
 
Join Date: Nov 2008
Posts: 64
Well, your query has unbalanced brackets so it _IS_ syntax error.
HTH
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