mickyotool
Programmer
From my winrunner script I want i to insert test info into a sql server table. i would like to accomplish by executing a stored proc. The script would look like this:
auto sql;
sql = "exec pi_Start_Test test_type, test_envir";
strconn = conn_string(); go get the connection info
db_connect(atfdbs, strconn); get the db session
sqlresult = db_execute_query(atfdbs, sql,1);
the error i get is this:"argument passed to Arg#2 in db_execute_query() must be variable or array element.
Am I attempting the impossible here?
Appreciate any help regarding this issue.
auto sql;
sql = "exec pi_Start_Test test_type, test_envir";
strconn = conn_string(); go get the connection info
db_connect(atfdbs, strconn); get the db session
sqlresult = db_execute_query(atfdbs, sql,1);
the error i get is this:"argument passed to Arg#2 in db_execute_query() must be variable or array element.
Am I attempting the impossible here?
Appreciate any help regarding this issue.