VC++ and SQL Server programming

Status
Not open for further replies.
I have a quick question on making a client app in VC++ that connects to two SQL server DBs. I'll need to run select/update/insert statements. Here are a few questions that I am wondering about.

1. is there a class interface to deal with such? (is it ADO?) I'll have no trouble with the programming but am just wonder what the preferred interface is/what's different/etc.
2. would using VS.NET rather VC++ v6 make a big difference?

thanks!
dlr(2)
 

walkern

Smack-Fu Master, in training
53
ADO is probably what you want. You can also use ODBC, but that tends to be slower, and if you don't need the abstraction layer I wouldn't recommend it.

If you are going to do it the old-fashioned way, a regular C++ program calling the ADO API, VS.NET isn't going to get you all too much. However, if you are a bit more open to different tech, and you're willing to write your code on .NET (for which you really need VS.NET over VC6), then there is a big incentive to move to the new VS.
 
Originally posted by walkern:
If you are going to do it the old-fashioned way, a regular C++ program calling the ADO API, VS.NET isn't going to get you all too much. However, if you are a bit more open to different tech, and you're willing to write your code on .NET (for which you really need VS.NET over VC6), then there is a big incentive to move to the new VS.
Thanks for the answer! And could you synposize what the big advantage for doing 'new' .NET-native you're referring to is?
 
Status
Not open for further replies.