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 |
|
avats
Starting Member
5 Posts |
Posted - 2005-02-21 : 23:56:53
|
| hiI wrote a sql query using two cursorsnow i want to execute that query from vb passing the table name that query is using as arguments through vbis it possible? |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2005-02-22 : 05:36:47
|
| Yes (advisable probably not).You can either create the query string in VB and execute it or call an SP with the table name as a parameter and execute the query in dynamic sql in the SP.==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
|
|
|