Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: SQL Server Update Stored procedure
Using :
oConn = "Provider=SQLOLEDB;Data Source=Server1;Initial Catalog=AutoInqS;Integrated Security=SSPI;"It runs select statements OK.
[ sqlB1 = "SELECT * FROM InqSrc WHERE (((SesVar)<>'0'))" ] rsB1 = RoConn.Execute(sqlB1)It runs Insert Stored Procedures OK.
[ cSQL = "insert_BasicInquiryReturn_1 @SesVar_1 = '%th1w%', @TagNo_2 = '%th2w%', @Uid = '%th4w%'" RoConn.Execute(cSQL)]But I can not get it to run an Update Stored Procedure.
svM = strcat("update_BasicInquiryReturn_ZZ @SV = '%th1w%',", ", " , " @St = '%Rs%'", ", " , " @In = '%Inv%'", ", " , " @TLP = '%TLP%'", ", " , " @DT = '%Dtp%'", ", " , " @DN = '%Dec%'") RoConn.Execute(svM)Using Message, it is filling the variables correctly.
I tried an ADODB Command object also with the same Non Results.
I am obviously overlooking something.
Article ID: W15589
File Created: 2003:05:13:11:29:08
Last Updated: 2003:05:13:11:29:08