I have a stored procedure where I need to insert from some other tables when those items do not exist in the original table. Here’s the stored procedure that I wrote.
ALTER PROCEDURE [dbo].[sp_CreateRequestedItems]
AS
BEGIN
INSERT INTO dbo.RequestItems
([request], [applicationProfile])...
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.