Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wrong Default language
Message
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Other
Title:
Wrong Default language
Miscellaneous
Thread ID:
01163250
Message ID:
01163250
Views:
44
Hi All, I have a problem where my dev server installation of SQL 2000 has a different default language to my production server, the dev is 'British' which is what I want, and the production's 'us_english'. A problem arises when on of my SP's receives a date as a varchar, e.g. '13\10\06', obviously it bombs, I don't have time to rewrite the C# code that uses these SP's and in any case if the language is set to 'british' there isn't a problem. As a workaround I've inserted "set dateformat dmy" in the problem SP's but I would like to sync the server settings. What I've tried so far is: exec sp_configure 'default language',23 (the british id) followed by 'reconfigure', this is supposed to make the setting permanent, I've also tried exec sp_defaultlanguage 'groupthatusestheapp','british', they both report that the setting has been changed but when one of the users attempt to use the app they receive an invalid date error (unless my workaround is in my place) please help if you can, thanks
Regards,
Peter J. Kane



Pete
Next
Reply
Map
View

Click here to load this message in the networking platform