|
jerry1118
Starting Member
1 Posts |
Posted - 07/28/2006 : 08:23:21
|
create procedure Pr_addsupportor( @supportornumber varchar(10), @company varchar(100), @title char(10), @firstname char(30), @surname char(30), @addressline1 varchar(1000), @addressline2 varchar(1000), @addressline3 varchar(1000), @postcode varchar(20), @town char(100), @county char(100), @country varchar(100), @phonenumber varchar(15), @faxnumber varchar(15), @email varchar(100), @paymenttitle varchar(100), @barcode varchar(2000), @collector varchar(3), @status varchar(10), @registerdate datetime) INSERT into supportor( [supportor number], company, title, [first name], surname, [address line1], [address line2], [addess line3], [post code], town, county, country, [phone number], [fax number], [e-mail], [payment title], barcode, collector, status, [register date]) values ( @supportornumber, @company, @title, @firstname, @surname, @addressline1, @addressline2, @addressline3, @postcode, @town, @county, @country, @phonenumber, @faxnumber, @email, @paymenttitle, @barcode, @collector, @status, @registerdate);
Server: Msg 156, Level 15, State 1, Procedure Pr_addsupportor, Line 22 Incorrect syntax near the keyword 'INSERT'. plz help me to find the error |
|