Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER procedure [dbo].[zzz_test]
@test1 VARCHAR(255),
@test2 VARCHAR(255)
as
update dbo.Test_customer
set first_name = 'Jim'
where city = @test1 and country = @test2
declare @ErrorCode int, @RowCount int
Update ...
select @RowCount = @@ROWCOUNT, @ErrorCode = @@ERROR
if @ErrorCode <> 0
Raserror('Error %d has occurred', 16, 1, @ErrorCode)
else
if @RowCount = 0
Raiserror('No records were updated for %s',16,1,@Test1)
return @ErrorCode