Viewing 3 posts - 16 through 18 (of 18 total)
Cast following INT variables to varchar.
@TempBatchNumber
@SourceSystemID
@EDWSourceSystemID
Set @DeltaSizeSQL =
'Select SUM(A.DeltaCount * B.AvgRecordSize) from '+'.'+@Databasename+'.dbo.parameterhistory A
Join Operations..DatasetTables B (Nolock) ON A.ReferenceObjectName =...
September 30, 2013 at 6:20 am
One correction :
SET @SqlQueryFirstName = @sqlquery + ' firstname = ' + @firstname
September 23, 2013 at 12:47 am
Hi,
Instead of writing SET @SqlQueryFirstName = '@SqlQuery ' + 'firstname = @firstname' this use below code.
SET @SqlQueryFirstName = @sqlquery + 'firstname = @firstname'
i.e. remove single quotes from...
September 23, 2013 at 12:30 am
Viewing 3 posts - 16 through 18 (of 18 total)