Jan 25, 2002 #1 didojove Technical User Jan 25, 2002 3 PH Sorry, Im new on this. After setting the database connection to an SQL server, what's the command for calling a stored procedure (named, let's say "crosstabs"? thank you.
Sorry, Im new on this. After setting the database connection to an SQL server, what's the command for calling a stored procedure (named, let's say "crosstabs"? thank you.
Jan 26, 2002 #2 link9 Programmer Nov 28, 2000 3,387 US dim comObj set comObj = server.createObject("ADODB.Command" comObj.activeConnection = connection comObj.commandType = 4 'adCmdStoredProcedure comObj.commandText = "crosstabs" comObj.parameters("@param1".value = value1 comObj.parameters("@param2".value = value2 comObj.execute paul Upvote 0 Downvote
dim comObj set comObj = server.createObject("ADODB.Command" comObj.activeConnection = connection comObj.commandType = 4 'adCmdStoredProcedure comObj.commandText = "crosstabs" comObj.parameters("@param1".value = value1 comObj.parameters("@param2".value = value2 comObj.execute paul