BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Using ADO with SQL Server 2005

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
Joe B
Guest





PostPosted: Mon Oct 30, 2006 7:24 am    Post subject: Using ADO with SQL Server 2005 Reply with quote



How do I connect to SQL Server 2005 Express using ADO components in Delphi
6? I am trying to use the SQL Native Client and have so far been
unsuccessful in making the connection. What should I put in for the
Datasource and Initial Catalog?

Thanks in advance.
Back to top
Viatcheslav V. Vassiliev
Guest





PostPosted: Mon Oct 30, 2006 9:11 am    Post subject: Re: Using ADO with SQL Server 2005 Reply with quote



SQLNCLI has the same parameters as SQLOLEDB, except Provider. You should
have SQL Client Components installed on your computer, if SQL Express is
installed on the computer where your runs, all needed components are
installed. Try also old connection string - with SQLOLEDB provider.

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)


"Joe B" <joeb545 (AT) earthlink (DOT) net> сообщил/сообщила в новостях следующее:
news:45455462 (AT) newsgroups (DOT) borland.com...
Quote:
How do I connect to SQL Server 2005 Express using ADO components in Delphi
6? I am trying to use the SQL Native Client and have so far been
unsuccessful in making the connection. What should I put in for the
Datasource and Initial Catalog?

Thanks in advance.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.