Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selecting * a table based on only the Year?
Message
 
 
To
23/03/2010 13:43:48
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01456639
Message ID:
01456675
Views:
23
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform