dbTalk Databases Forums  

Change existing application to use sqlncli

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


Discuss Change existing application to use sqlncli in the microsoft.public.sqlserver.clients forum.



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

Default Change existing application to use sqlncli - 03-02-2007 , 05:17 PM






I have a large application that currently uses SQLOLEDB as the provider.
The application needs to connect to SQL 7 thru SQL 2005.

I have tested changing the provider to SQLNCLI and everything still seems to
work.

I have a couple of questions ..

1) Is it really this easy ?

2) Can I still connect to SQL 7 and SQL 2000 using SQLNCLI ?

3) Are there any negative impacts to using SQLNCLI ?

Thanks.



Reply With Quote
  #2  
Old   
William \(Bill\) Vaughn
 
Posts: n/a

Default Re: Change existing application to use sqlncli - 03-02-2007 , 08:52 PM






The whole idea behind SQLNCLI is to provide updated capability to existing
ADO classic (COM-based) applications. I understand that it's supposed to
work with older versions, but if history is any teacher, I would thoroughly
test before betting my socks on it. See
http://blogs.msdn.com/dataaccess/arc...29/445147.aspx for more
info.

Frankly, I would think (hard) about migrating to ADO.NET and the SqlClient
provider that can reach all current (and future?) versions of SQL
Server--and a lot faster with fewer surprises.

--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
Visit www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
-----------------------------------------------------------------------------------------------------------------------

"Michael Tissington" <mtissington (AT) newsgroup (DOT) nospam> wrote

Quote:
I have a large application that currently uses SQLOLEDB as the provider.
The application needs to connect to SQL 7 thru SQL 2005.

I have tested changing the provider to SQLNCLI and everything still seems
to work.

I have a couple of questions ..

1) Is it really this easy ?

2) Can I still connect to SQL 7 and SQL 2000 using SQLNCLI ?

3) Are there any negative impacts to using SQLNCLI ?

Thanks.




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.