Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Syntax for finding a particular record
Message
From
07/12/2006 10:13:37
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
07/12/2006 06:02:24
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01175528
Message ID:
01175641
Views:
6
>Hi There,
>
>I was wondering if you could help me.
>
>I have a table called "Username" and in that table i am a field called "DOB" which holds the date of birth of all the users. I was wondering wat is the syntax i should use in Command runner to retrieve a particular date from that table. Thanx for the help in advance.

Bilal,
Prefer clear date expressions as already expressed by Mike,Robert and Sergey.

select * from myTable where DOB = {^1961/1/19}

or:

select * from myTable where DOB = date(1961,1,19)

Both mean Jan 19th, 1961 whereever you're and whatever your date settings are.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform