dbTalk Databases Forums  

Most common connection method to SQL 2005

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss Most common connection method to SQL 2005 in the comp.databases.ms-sqlserver forum.



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

Default Most common connection method to SQL 2005 - 08-05-2007 , 06:16 PM






I am currently using ADO from an application to connect to SQL 2005. Is this
the preferred way, or is that the most common method? I was told I need to
use an API. Which API? Thanks.

Charlie



Reply With Quote
  #2  
Old   
Dan Guzman
 
Posts: n/a

Default Re: Most common connection method to SQL 2005 - 08-07-2007 , 10:49 PM






Quote:
I am currently using ADO from an application to connect to SQL 2005. Is
this the preferred way, or is that the most common method?
It depends on your development language and environment. From modern .NET
languages, ADO.NET is both the most common and preferred method.

Quote:
I was told I need to use an API. Which API? Thanks.
I'm not sure what was meant by that statement. ADO and ADO.NET are APIs,
albeit higher-level ones compared with OLEDB and ODBC. Perhaps we can offer
some suggestions if you provide more details of your environment.

--
Hope this helps.

Dan Guzman
SQL Server MVP

"Charlie" <jadkins4 (AT) yahoo (DOT) com> wrote

Quote:
I am currently using ADO from an application to connect to SQL 2005. Is
this the preferred way, or is that the most common method? I was told I
need to use an API. Which API? Thanks.

Charlie



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.