Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date Format
Message
From
07/02/2002 07:58:44
 
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Title:
Miscellaneous
Thread ID:
00616458
Message ID:
00616527
Views:
25
>>1. How can i set the sql servers environment when i make the connection
>> for ex. if i want to set date format or lets say quoted_identifier off/on
>> i can set it b4 executing my sqlbut it would be session specific for that
>> query only, I want to set it throughout my connection.
>> is it possible ??

>I think that I have read something like you need to execute the command on the >connection, ie:

>connection.open
>connection.execute "Set nocount on"

I think this command would not be available through out my connection is open.
i got one sol. for that which is sys stored procedure
sp_dboption
which allows me to set/reset

>Always give the date as yyyy/mm/dd to SQL and there won't be ambigous dates.
yeah Eric perfect ! thanks
Best Luck..
Nilesh
Previous
Reply
Map
View

Click here to load this message in the networking platform