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 > Select problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-31-03, 06:54
jeajohn jeajohn is offline
Registered User
 
Join Date: May 2003
Posts: 2
Talking Select problem

Hi~~
I have one problem. Why below sql commnad just can run in Oracle. When i run it in informix DB, it has syntax error??


select interval, count(*) from
(
select *
from (select trunc((DC.p_date - (
select min(DC.p_date) from DC))*48) as interval from DC)
)
group by interval order by interval

How to change and let it can execute in informix DB???

Thank a lot
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