Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)

  • RE: Dynamic SQL

    I think this will work.

    DECLARE @MaxRows NVARCHAR(300)

    DECLARE @sql NVARCHAR(300)

    SET @MaxRows = 20

    set @sql = 'select top ' + @MaxRows + '* from SomeTable'

    EXEC sp_executesql @sql

  • RE: Restore error

    may be i am not sure but are u removing the replication before the attach

  • RE: newbie question

    Export it as csv, will be more readable and ur manager will see it like a txt file

Viewing 3 posts - 1 through 3 (of 3 total)