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 > Other > Conversion from timestamp to date and vice-versa in pointbase

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-29-04, 01:33
Viks Viks is offline
Registered User
 
Join Date: Jan 2004
Posts: 1
Conversion from timestamp to date and vice-versa in pointbase

I have a query in pointbase which is as written below

select * from orientation_response where driver_id = 1 and response_date > (select active_date from driver_info where driver_id = 1);

On running this query i get an IllegalCastOperation betweem type: TIMESTAMP and typeATE.

Any idea as to how i can convert a TIMESTAMP to DATE in pointbase?

RESPONS_DATE is a TIMESTAMP type and ACTIVE_DATE is a DATE type
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