Hi,
Im trying to have an aspx page call a Stored procedure that inserts a record into a database.
My stored procedure is relatively simple, it looks like this:
CREATE PROCEDURE sp_Insert_Data AS
INSERT INTO spHits (SPRNumber) VALUES ('Test')
Thats all it is and the syntax checks fine, but when the aspx page tries to run it I get this error:
Line 1: Incorrect syntax near 'sp_Insert_Data'.
Im pretty sure the syntax is correct. Any Ideas?
Thanks,
Dave
Im trying to have an aspx page call a Stored procedure that inserts a record into a database.
My stored procedure is relatively simple, it looks like this:
CREATE PROCEDURE sp_Insert_Data AS
INSERT INTO spHits (SPRNumber) VALUES ('Test')
Thats all it is and the syntax checks fine, but when the aspx page tries to run it I get this error:
Line 1: Incorrect syntax near 'sp_Insert_Data'.
Im pretty sure the syntax is correct. Any Ideas?
Thanks,
Dave