dbTalk Databases Forums  

where date in select statement

comp.databases.btrieve comp.databases.btrieve


Discuss where date in select statement in the comp.databases.btrieve forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
mptkeenan@gmail.com
 
Posts: n/a

Default where date in select statement - 08-03-2005 , 03:57 PM






Hi,

I am using the pervasive control center and i keep getting an error
when I try to run this statement:

SELECT * FROM "TIMEENTRY" WHERE "TIMEENTRY"."WORKDATE" = '5-30-2005'

it has to do with the date parameter. What is the correct syntax for
this?

Thanks!


Reply With Quote
  #2  
Old   
Brad Kunkel
 
Posts: n/a

Default Re: where date in select statement - 08-04-2005 , 10:54 AM






Try it with 'Year-Month-Day' format

SELECT * FROM "TIMEENTRY" WHERE TIMEENTRY.WORKDATE = '2005-5-30'

HTH,
Brad Kunkel
Integrated Business, Inc.


<mptkeenan (AT) gmail (DOT) com> wrote

Quote:
Hi,

I am using the pervasive control center and i keep getting an error
when I try to run this statement:

SELECT * FROM "TIMEENTRY" WHERE "TIMEENTRY"."WORKDATE" = '5-30-2005'

it has to do with the date parameter. What is the correct syntax for
this?

Thanks!




Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.