I am currently working on an update procedure. I have checked other stack posts, and Youtube, but I can't seem to run the code. Here's one code that I have found and tried to make it work:
UPDATE db_owner
SET Street = ISNULL(@Street, street),
WHERE Street = @Street
I get these errors:
Invalid object name db_Owner
Invalid Column name street
Must declare the scalar variable "@Street"
My tables are:
dbo.Appointment
dbo.Owner
dbo.Pet
dbo.Vet
My insert procedures are:
dbo.Spinsert_dbo_appointment
dbo.Spinsert_dbo_owner
dbo.Spinsert_dbo_vet
dbo.Spinsert_dbo_pet