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 |
|
yossibaram
Yak Posting Veteran
82 Posts |
Posted - 2002-10-10 : 05:35:26
|
| Hi,I used to work with DAO and access and I used to do the following:sSQL = "DELETE * FROM Product WHERE " & sFieldName & " = " & vValuesFieldName is a variable that could be changed.Using ADO, How can i do the same with a stored procedure?ThanksYossi |
|
|
smccreadie
Aged Yak Warrior
505 Posts |
Posted - 2002-10-10 : 06:15:55
|
| see dynamic sql and sp_execute_sql. |
 |
|
|
ValterBorges
Master Smack Fu Yak Hacker
1429 Posts |
|
|
|
|
|