I'm new to sql and have the following stored procedure but when i check the syntax i keep getting the following error
Incorrect syntax near the keyword "begin".
Its probably something simple but i just can't see it.
create procedure add_policy
@policyRef int (4),
@fileRef nvarchar (50)...
I hope someone will be able to help me with the problem I am having.
When the trigger i have attached to my main table is fired it is entering the policyID from the main table into the sub table but it is entering the information entered through the form into a separate row in the sub table...
Hi, I am new to sql databases and was wondering would anybody be able to help me with triggers.
I need to write a trigger which is fired when something is entered into the main table, it will then populate the sub table with the primary key from the main table.
Any help would greatly be...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.