Web
Expertsforge
Home
FREE Signup
Login
Search
Advertise
Link to Us
Contact Us
Help
Login:
Home
» Categories |
Databases
»
MS SQL Server
» View Tutorial
MS SQL Server Tutorial: MS SQL Server ODBC connection strings
jawahar
11/25/2006 5:50:20 AM, Views: 2099
MS SQL Server ODBC connection strings
Standard Security:
"Driver={SQLServer};Server=Your_Server_Name;Database=Your_Database_Name;Uid=Your_Username;Pwd=Your_Password;"
Trusted connection:
"Driver={SQLServer};Server=Your_Server_Name;Database=Your_Database_Name;Trusted_Connection=yes;"
SQL OLE DB connection strings
Standard Security:
"Provider=SQLOLEDB;Data Source=Your_Server_Name;Initial Catalog= Your_Database_Name;UserId=Your_Username;Password=Your_Password;"
Trusted connection:
"Provider=SQLOLEDB;Data Source=Your_Server_Name;Initial Catalog=Your_Database_Name;Integrated Security=SSPI;"
SQL OleDbConnection .NET strings
Standard Security:
"Provider=SQLOLEDB;Data Source=Your_Server_Name;Initial Catalog= Your_Database_Name;UserId=Your_Username;Password=Your_Password;"
Trusted connection:
"Provider=SQLOLEDB;Data Source=Your_Server_Name;Initial Catalog=Your_Database_Name;Integrated Security=SSPI;"
SQL SqlConnection .NET strings
Standard Security:
1. "Data Source=Your_Server_Name;Initial Catalog= Your_Database_Name;UserId=Your_Username;Password=Your_Password;"
2. "Server=Your_Server_Name;Database=Your_Database_Name;UserID=Your_Username;Password=Your_Password;Trusted_Connection=False"
Trusted connection:
1. "Data Source=Your_Server_Name;Initial Catalog=Your_Database_Name;Integrated Security=SSPI;"
2."Server=Your_Server_Name;Database=Your_Database_Name;Trusted_Connection=True;"
Source: www.sqlstrings.com
Next Steps:
Add this Tutorial to:
Blink
Del.icio.us
Digg
Fark
Furl
Google
Reddit
Simpy
Spurl
Technorati
Win Live
Yahoo
Rate Me!
Not Yet Rated!
Rate:
Select Your Rating
Excellent!
Very Good
Good
Fair
Poor
Send Message
Signup
/
Login
To View the Solution or Provide Comments
Post Comment/Solution
Comment:*
(Link Rules)
Use :
[bold] for <b>; [/bold] for </b>; [italic] for <i>; [/italic] for </i>; [code] & [/code] for code
Categories
Applications
Operating Systems
Databases
Programming
Web Development
Networking
Security
Hardware
Search Engine Optimization
Make Money Online
Miscellaneous
Anti Spyware Software
Options
Submit a Tutorial
Ask a Question
Add to KB
Join as a Moderator?
Most Popular Tutorial
1.
MS SQL Server ODBC c...
2.
Writing Queries Easi...
3.
Finding free space,f...
Most Popular Solution
No Records!
Top Rated
1.
Writing Queries Easi...
Top Rankers
Overall
1. jawahar (100)
2. gravikumar (50)
Yearly -2008
No Rankings!
Expertsforge Sponsors
1.
Tech News
2.
Wii Reviews
FREE Signup
Advertise
Link to Us
Contact Us
Sitemap
Tutorial Sitemap
About Us
Privacy Policy
Copyright 2004 - 2008 Expertsforge.com