Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Syntax for finding a particular record
Message
De
07/12/2006 10:13:37
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
07/12/2006 06:02:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01175528
Message ID:
01175641
Vues:
7
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform