C
Catalin Porancea
Hello,
I need to execute a sp from a command at run time. If the command is a
"select" statement I use:
cmd.commandtext = "select * from table"
cmd.executenonquery
I tried
cmd.commandtext = "exec sp_procedure"
cmd.executenonquery
but it didn't work.
My connection is ODBC.
Can anybody help?
Thank you.
I need to execute a sp from a command at run time. If the command is a
"select" statement I use:
cmd.commandtext = "select * from table"
cmd.executenonquery
I tried
cmd.commandtext = "exec sp_procedure"
cmd.executenonquery
but it didn't work.
My connection is ODBC.
Can anybody help?
Thank you.