dbTalk Databases Forums  

DSNLess - SQL Server Connectivity

microsoft.public.sqlserver.clients microsoft.public.sqlserver.clients


Discuss DSNLess - SQL Server Connectivity in the microsoft.public.sqlserver.clients forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Sutapa Das
 
Posts: n/a

Default DSNLess - SQL Server Connectivity - 07-03-2003 , 02:53 AM






How to create SQL server database connectivity without a dsn? I am using
ASP as frontend.


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: DSNLess - SQL Server Connectivity - 07-03-2003 , 03:10 AM






Hello, Sutapa!

You can create a connection string and pass it to the connection object
something like

"Provider=SQLOLEDB;Data Source=<Server>;Integrated Security=SSPI;Initial
Catalog=<DB NAME>"




--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

: How to create SQL server database connectivity without a dsn? I am using
: ASP as frontend.

: *** Sent via Developersdex http://www.developersdex.com ***
: Don't just participate in USENET...get rewarded for it!
--- AspNNTP 1.50 (ActionJackson.com)



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.