T
TJ
I am trying to update a database using a stored procedure and jscript.
I am basically following these instructions:
http://support.microsoft.com/kb/827007
But the sql command is not getting run against the SQL Server. I am
using the code below. I know the syntax is correct as I UI.Alert the
command, and I copied the command and ran it directly against the SQL
Server, and it worked fine.
XDocument.QueryAdapter.Command = "exec sp_ValidateDailyData " + "'" +
WellName + "', '" + Day + "', " + NewValue;
XDocument.Query();
XDocument.UI.Alert("ran: " + XDocument.QueryAdapter.Command);
The output of the Alert is:
execute sp_validateDailyData 'EM02', '2006-10-22T00:00:00', 999
The datasource uses embedded SA username and password.
There are no script errors. Why isn't the command making it to the SQL
Server?
thanks
tj
I am basically following these instructions:
http://support.microsoft.com/kb/827007
But the sql command is not getting run against the SQL Server. I am
using the code below. I know the syntax is correct as I UI.Alert the
command, and I copied the command and ran it directly against the SQL
Server, and it worked fine.
XDocument.QueryAdapter.Command = "exec sp_ValidateDailyData " + "'" +
WellName + "', '" + Day + "', " + NewValue;
XDocument.Query();
XDocument.UI.Alert("ran: " + XDocument.QueryAdapter.Command);
The output of the Alert is:
execute sp_validateDailyData 'EM02', '2006-10-22T00:00:00', 999
The datasource uses embedded SA username and password.
There are no script errors. Why isn't the command making it to the SQL
Server?
thanks
tj