Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Server DateTime in SQL Select
Message
From
09/05/2010 11:06:16
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
08/05/2010 19:23:59
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
01463837
Message ID:
01463866
Views:
54
>Thank you. So I will need to convert from DateTime type to a data and then to string. Should not be a problem.
>
>>SQL Server does not understand VFP datetime literals
>>
>>TableName.FieldName >= '2010-04-01' and TableName.FieldName < '2010-05-02'
>>
>>>

No! Don't do that. Use parameters as I showed.
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