Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Timestamp format?
Thu, Jan 8 2009 11:59 PMPermanent Link

Phil Read
Hi Guys,

Simple one for you EDB users...

The following ElevateDB SQL statement wont work like it does in DBISAM,
it doesn't recognise the date format and is requiring a TIMESTAMP or
NULL... What's should I be doing different in ElevateDB?

INSERT INTO guest (res_num, ar_time, dep_time, roomcat, status)
VALUES('2020',
'2008-07-25 11:00 PM',
'2008-07-29 11:00 PM',
1,1)

CHeers!
Fri, Jan 9 2009 12:02 AMPermanent Link

Phil Read
All OK, I just found the TIMESTAMP keyword i.e

INSERT INTO guest (res_num, ar_time, dep_time, roomcat, status)
VALUES('2020',
TIMESTAMP '2008-07-25 11:00 PM',
TIMESTAMP'2008-07-29 11:00 PM',
1,1)
Fri, Jan 9 2009 2:21 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Phil


If you like that one wait until you discover intervals <vbg>

Roy Lambert
Image