Article View: borland.public.cppbuilder.database.ado
Article #881Re: ADO SQL Server Stored Proc problem
From: Glenn
Date: Tue, 05 Jul 2005 21:01
Date: Tue, 05 Jul 2005 21:01
51 lines
2638 bytes
2638 bytes
I don't see the "native OLEDB provider for MS SQL Server". I am using C++Builder 5. Can I still use this provider? Where do I find it? Also, I am using SQL Server authentication. What parameters should I have in my connect string? Thanks, Glenn "Viatcheslav V. Vassiliev" <support@oledbdirect.com> wrote: >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:
<42caf518$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<42caf1b6$1@newsgroups.borland.com> <42caf2c6$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: "Glenn" <glenn.lucas@bowebellhowell.com> Sender: "Glenn" <glenn.lucas@bowebellhowell.com> Reply-To: "Glenn" <glenn.lucas@bowebellhowell.com> Subject: Re: ADO SQL Server Stored Proc problem Newsgroups: borland.public.cppbuilder.database.ado X-User-Info: 207.235.66.3 References: <42caf1b6$1@newsgroups.borland.com> <42caf2c6$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <42caf518$1@newsgroups.borland.com> Date: 5 Jul 2005 14:01:12 -0700 X-Trace: newsgroups.borland.com 1120597272 207.105.83.66 (5 Jul 2005 14:01:12 -0700) Lines: 52 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail