Question
Stored Procedures - Basic Insert?
Trying to do a basic INSERT Store Procedure that isn't
working.
Created the SP in the database and went to Dreamweaver.
-----------------My Stored Procedure-----------------
CREATE PROCEDURE dbo.spAddShippingAddress (@OneA varchar(50))
AS
INSERT INTO aXOne (OneA)
VALUES (@OneA)
GO
-----------------My Stored Procedure-----------------
aXOne is the Table and OneA is the Column
So which do I use in Dreamweaver, "Stored Procedure" or "INSERT"?
Also, since this is an insert, I have a form page that submits to the
page with the Command on it.
Nothing seems to work. Any ideas welcome. Thanks
Created the SP in the database and went to Dreamweaver.
-----------------My Stored Procedure-----------------
CREATE PROCEDURE dbo.spAddShippingAddress (@OneA varchar(50))
AS
INSERT INTO aXOne (OneA)
VALUES (@OneA)
GO
-----------------My Stored Procedure-----------------
aXOne is the Table and OneA is the Column
So which do I use in Dreamweaver, "Stored Procedure" or "INSERT"?
Also, since this is an insert, I have a form page that submits to the
page with the Command on it.
Nothing seems to work. Any ideas welcome. Thanks
