Forum Replies Created

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

  • RE: Question of the Day for 12 Oct 2004

    You can also generate a similar output in SQL 2000 with this statement:

    DECLARE @mystring VARCHAR(8000)

    SELECT @mystring = ''

    SELECT @mystring = @mystring + CAST(MyId AS VARCHAR) + ';'

    FROM MyTable

    SELECT...

  • RE: Question of the Day for 12 May 2004

    Of course you could save some time by executing the following:

    EXEC sp_msforeachtable 'GRANT ALL ON ? TO { user_or_role_name }'

  • RE: how to handle delimiter in SQL?

    One of the easiest ways to use strings which contain single quotes is to replace all instances of the single quote with two single quotes. SQL Server handles two single...

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