Article View: borland.public.cppbuilder.database.ado
Article #878Re: ADO SQL Server Stored Proc problem
From: Viatcheslav V. Vassiliev
Date: Tue, 05 Jul 2005 20:51
Date: Tue, 05 Jul 2005 20:51
35 lines
2361 bytes
2361 bytes
Use native OLEDB provider for MS SQL Server, not OLEDB provider for ODBC sources. Connection string is: Provider=SQLOLEDB;Data Source=<ServerName>;Integrated Security=SSPI;Initial Catalog=<databse>; it is for Windows authentication. For SQL Server authentication, use User ID=<User>;Password=<password>; instead of Integrated Security. //------------------------------------------ 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) "Glenn" <glenn.lucas@bowebellhowell.com> �������/�������� � �������� ���������: news:42caf1b6$1@newsgroups.borland.com... > > I am using an ADO Stored Proc component to connect with a SQL Server > Stored Procedure. The Stored Procedure uses 12 parameters - 7 inputs and > 5 outputs. The variable types are integers, strings, and DateTimes. > > The problem is when I attempt to set the "Active" flag to "true" > (either in the Editor or Programmatically), an error popup > appears with the message: > > [Microsoft][ODBC SQL Server Driver]Optional feature not > implemented > > Can someone tell me how I find out what "optional feature" it > is talking about? > > Thanks.
Technical Details
Message-ID:
<42caf2c6$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!newsread.com!newsprint.newsread.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42caf1b6$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,3cb76cff3d54292 X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com> Newsgroups: borland.public.cppbuilder.database.ado References: <42caf1b6$1@newsgroups.borland.com> Subject: Re: ADO SQL Server Stored Proc problem Date: Wed, 6 Jul 2005 00:51:17 +0400 Lines: 37 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 85.93.138.132 Message-ID: <42caf2c6$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1120596678 85.93.138.132 (5 Jul 2005 13:51:18 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!newsread.com!newsprint.newsread.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail