<%@ Language=VBScript %>
<!-- #include file = "../dbConnection.asp" -->
<%
Set cmd = Server.CreateObject("ADODB.Command"
Set cmd.ActiveConnection = dataConn
cmd.CommandText = "MainCalculationBatch"
cmd.CommandType = 4
cmd.Parameters.Refresh
cmd.Parameters("@run_date" = #1/15/01#
Set rs = cmd.Execute
%>
when i run this code, only the first 10 records in my table are
updated. currently there are 411 in the table. however, if i run the
stored procedure from SQL Server Query Analyzer, all of the records are
updated. the query, in the query analyzer takes about 5 seconds -- it's
fairly complex and uses a sql server cursor.
has anyone encountered this before? is there a setting that i don't
know about that is causing the web page to stop @ 10 records.
i have also adjusted the connectiontimeout = 500 and the commandtimeout
= 500
but this code updates those 10 records in about 1 second so it's not
timing out.
i'm completely stumped!
any help would be greatly appreciated.
thanks
<!-- #include file = "../dbConnection.asp" -->
<%
Set cmd = Server.CreateObject("ADODB.Command"
Set cmd.ActiveConnection = dataConn
cmd.CommandText = "MainCalculationBatch"
cmd.CommandType = 4
cmd.Parameters.Refresh
cmd.Parameters("@run_date" = #1/15/01#
Set rs = cmd.Execute
%>
when i run this code, only the first 10 records in my table are
updated. currently there are 411 in the table. however, if i run the
stored procedure from SQL Server Query Analyzer, all of the records are
updated. the query, in the query analyzer takes about 5 seconds -- it's
fairly complex and uses a sql server cursor.
has anyone encountered this before? is there a setting that i don't
know about that is causing the web page to stop @ 10 records.
i have also adjusted the connectiontimeout = 500 and the commandtimeout
= 500
but this code updates those 10 records in about 1 second so it's not
timing out.
i'm completely stumped!
any help would be greatly appreciated.
thanks