Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

SQL Native Client vs SQLOLEDB

 
   Database Forums (Home) -> Connect RSS
Next:  *** Schema Version Control for Oracle (SVCO) *** ..  
Author Message
RichardO

External


Since: Feb 01, 2008
Posts: 1



(Msg. 1) Posted: Fri Feb 01, 2008 6:14 am
Post subject: SQL Native Client vs SQLOLEDB
Archived from groups: microsoft>public>sqlserver>connect (more info?)

I work with Powerbuilder. SNC client has better performance than SQLOLEDB
when running Powerbuilder against SQL Server 2000. However, we found out that
SNC client requires that some stored procedures have the dbo prefix or else
the call the stored procedure fails. When connected to SQLOLEDB there is no
problem. We are using the latest SNC client. Would this problem be fixed in
SNC client in the future? How do I get around this problem using SNC

 >> Stay informed about: SQL Native Client vs SQLOLEDB 
Back to top
Login to vote
Andrew J. Kelly

External


Since: Sep 01, 2003
Posts: 975



(Msg. 2) Posted: Fri Feb 01, 2008 10:32 am
Post subject: Re: SQL Native Client vs SQLOLEDB [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

The fix is to always owner (or in 2005 schema) qualify all references to
database objects regardless of it is dbo or something else. This is
especially true for executing stored procedures. I have not experienced this
issue so I can't say if this is a bug or if it will be fixed. But I do know
that you should fix the app to do the correct thing and you won't have these
issues or others that may be caused by not qualifying the sps.

--
Andrew J. Kelly SQL MVP
Solid Quality Mentors


"RichardO" wrote in message

>I work with Powerbuilder. SNC client has better performance than SQLOLEDB
> when running Powerbuilder against SQL Server 2000. However, we found out
> that
> SNC client requires that some stored procedures have the dbo prefix or
> else
> the call the stored procedure fails. When connected to SQLOLEDB there is
> no
> problem. We are using the latest SNC client. Would this problem be fixed
> in
> SNC client in the future? How do I get around this problem using SNC

 >> Stay informed about: SQL Native Client vs SQLOLEDB 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Problem when connect to SQL Server 2005 (SQL Native Client.. - Hi, I have an application which previous connect to SQL Server 2000. Now, I installed SQL Server 2005, and try to conncet to it. The previous connection string is: sString.Format("DSN=%s;uid=%s;pwd=%s", sDb, sUser, sPassword); In order to s...

error: sql native client: login timeout expired - Hi, I installes sqlserver 2005 express on windows server 2000 sp4 (name=pen1800). When running this: 'sqlcmd -S pen1800 -U administrator' in a dos window as administrator, i have first to enter the password and then i get this error: "Microsoft sq...

ADO sqloledb won't connect running on Win2003 server - To All I have a wierd situation where I have a very successful ADO xHarbour\FWH C++ application ( executable ) which resides on a Win2003 server. When the users run the executable from the server ( shortcut on their pc ) the application connects to the...

linked server error: OLE DB provider 'SQLOLEDB' reported a.. - I set up a linked server between two SQL Server databases. I was able to query the linked database just fine. Then I deleted the linked server using Enterprise Manager. Then I re-created the linked server using Enterprise Manager but the original quer...

Help needed with KERBROS and Native XML Web Services - Trying to get Native XML Web Services setup in our test enviroment, and I've hit a problem. When the HTTP EndPoint is set to use Integrated Authentication, I can browse to the endpoint (using IE7 from a seperate PC) and get the WSDL back, but when I..
   Database Forums (Home) -> Connect All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]