Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
bjeka
Starting Member
3 Posts |
Posted - 2004-11-25 : 10:29:29
|
| What is the easiest way to start executing SQL statements onto a SQL Server 2000 using C++ ?????Are there any libraries or something I could use ? |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2004-11-25 : 10:42:10
|
which c++ visual.net, 6.0?? or ordinary c++??in visual c++ 6.0 there are Recordset, Connection and Command objects you can use.in .net there are SqlDataAdapter, DataReader, DataSet, SqlCommand....look them up in MSDNGo with the flow & have fun! Else fight the flow |
 |
|
|
bjeka
Starting Member
3 Posts |
Posted - 2004-11-25 : 11:00:54
|
| This is going to be a Console program, could I still use .Net ? |
 |
|
|
bjeka
Starting Member
3 Posts |
Posted - 2004-11-25 : 11:06:07
|
| "in visual c++ 6.0 there are Recordset, Connection and Command objects you can use"What library do these objects belong to ? |
 |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2004-11-25 : 11:14:05
|
smart pointers are cool:http://support.microsoft.com/kb/169496/EN-US/ADO library -> #import <msado15.dll> // replace 15 with newer version. i don't know which one is it.you can still use .net for console program.Go with the flow & have fun! Else fight the flow |
 |
|
|
|
|
|