Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selecting * a table based on only the Year?
Message
 
 
À
23/03/2010 13:43:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01456639
Message ID:
01456675
Vues:
24
>>Try first
>>
>>select * from myTable where datefield >=date(2002,1,1) and datefiled < (2003,1,1) 
>>
>>Does it bring you records? If not, in means all records are deleted or don't exists for the year 2002.
>
>
>i changed the months seemd to fix it

You didn't need to change months if you wanted the whole year. Look closer at the solution presented.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform