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 > SLV is undefined

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-05-09, 00:14
Mahfuz Mahfuz is offline
Registered User
 
Join Date: Nov 2003
Location: Dhaka,Bangladesh
Posts: 86
SLV is undefined

Hi experts,

How can i use runtime column value ? I have tried following and faced error. Here for logging_time = sDate is giving error. I want to use the runtime sDate value for the query for a subquery later. Please help.



Select logging_time as sDate,DBINFO('utc_to_datetime', logging_time) as sDateTime
From tempTable
Where logging_time = sDate


Error: SLV is undefined
__________________
hello
Reply With Quote
  #2 (permalink)  
Old 08-13-09, 09:01
ceinma ceinma is offline
Registered User
 
Join Date: Apr 2007
Location: Jundiai / SP - Brasil
Posts: 311
well... this example don't make sense for me...
And, this example never will work...

I don't know, maybe you looking for something like this :
Code:
Select logging_time as sDate,DBINFO('utc_to_datetime', logging_time) as sDateTime
From tempTable a
Where logging_time = (select b.logging_time from tempTable b where b.loggin_time = 134143242 )
There is no logic on this code, are just a syntax example....
__________________
________________________________________
César Inacio Martins
Jundiai / SP - Brasil
http://www.imartins.com.br/informix - em Português
http://www.imartins.com.br/informix - English (translated by Google).
________________________________________
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