How to find a error line in SQL Get link Facebook X Pinterest Email Other Apps - May 16, 2010 BEGIN TRY -- Generate a divide-by-zero error. SELECT 1/0; END TRY BEGIN CATCH SELECT ERROR_LINE() AS ErrorLine; END CATCH; Read more
Division Operation In SQL Get link Facebook X Pinterest Email Other Apps - September 14, 2009 declare @a int,@b int declare @C float set @a = 100 set @b=200 set @c= cast(@a as float)/cast(@b as float) print @C Read more