Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
I need help ccreating a stored procedure that will delete a customer record from my customers table in my database.here is what I have so faruse HighSpirits - this is what the database is calledgocreate proc usp_deletecustomer(@CustomerID int, @CompanyName varchar(20), @Address varchar(20), @City varchar(20), @Province char(2), @PostalCode varchar(7), @PhoneNumber varchar(15))asselect CustomerID, CompanyName, Address, City, Province, PostalCode, PhoneNumberfrom CUSTOMERSif anyone could help me finish this it would be greatly appreciated.
khtan
In (Som, Ni, Yak)
17689 Posts
Posted - 2007-01-17 : 12:16:50
You don't need all the other paramters only the @CustomerID