Forum Replies Created

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

  • RE: Generate a script with carriage return

    Hi,

    It works fine from osql utility but no from wosql.

    I've Two solutions now ! one from wosql with a cursor and a print and one with osql .

     

    Thanks.

     

  • RE: Generate a script with carriage return

    Hi,

    Thanks for your answers.

    I tested the various solutions and the only one which functions is as

    follows:

    DECLARE C1 CURSOR

    READ_ONLY

    FOR SELECT name FROM sysobjects

    DECLARE @tablename varchar(40)

    OPEN C1

    FETCH NEXT FROM C1 INTO @tablename

    WHILE...

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