Viewing post 1 (of 1 total)
DECLARE @DependentObject SQL_VARIANT;
IF 1=2
BEGIN
IF OBJECT_ID(N'dbo.TableName', N'U') IS NOT NULL
SET @DependentObject = ( SELECT TOP (1) Column1,Column2 FROM dbo.TableName);
END
/* End code for dependency of objects used...
January 29, 2016 at 8:38 am
#1855258