Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

C++ and SQL Server programming
Are there any good resources (books, websites, etc) for programming SQL
Server using Visual C++?  I am currently using C# but I really want to learn
how to do it using C++, but it appears to be much more difficult using C++.

Thanks



Report this thread to moderator Post Follow-up to this message
Old Post
Brooke
12-25-05 01:23 AM


Re: C++ and SQL Server programming
Hi

It depends on what you are using to interface with the database, with SQL
Server there are quite a few C++ examples check out samples in the index of
Books Online. Also there are others on MSDN e.g
http://support.microsoft.com/?kbid=184968&sd=msdn from
http://msdn.microsoft.com/visualc/d...es/default.aspx

It may be worth avoiding DB Library and Embeded SQL for C as this has
started to be deprecated in SQL 2005.

John


"Brooke" <tbrooked@hotmail.com> wrote in message
news:Qgirf.12123$g_6.9870@tornado.texas.rr.com...
> Are there any good resources (books, websites, etc) for programming SQL
> Server using Visual C++?  I am currently using C# but I really want to
> learn how to do it using C++, but it appears to be much more difficult
> using C++.
>
> Thanks
>



Report this thread to moderator Post Follow-up to this message
Old Post
John Bell
12-25-05 08:23 AM


Re: C++ and SQL Server programming
John Bell  (jbellnewsposts@hotm
ail.com)  writes:
> It may be worth avoiding DB Library and Embeded SQL for C as this has
> started to be deprecated in SQL 2005.

Actually, it have been deprecated for longer than so. With these interfaces
you don't have full support for features added to SQL7 and SQL 2000.

The best interface for C++ programming is probably ODBC. OLE DB is an
alternative, but it's more cumbersome to use, no matter if you use the
raw interface or the consumer templates.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pr...oads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodin...ions/books.mspx

Report this thread to moderator Post Follow-up to this message
Old Post
Erland Sommarskog
12-25-05 02:23 PM


Sponsored Links





Last Thread Next Thread
Post New Thread

Microsoft SQL Server forum archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 04:15 AM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006