Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date format in SSMS
Message
 
To
19/07/2011 19:09:01
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01518555
Message ID:
01518589
Views:
50
>Is there a setting in SSMS which controls the date format? I have a script which used to work for years but on a client site, it doesn't has it says that this creates a value which is off limit. This seems to be related to the INSERT line of the script which is built from a specific date format.

SET DATEFORMAT

But as Naomi already said change the script (not only this on the client) to use ISO format.
That way you wouldn't care anymore what is the current setting on client machine.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform