Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: Shortcut to avoid typing something

    Hi All,

    One possible sol'n

    Step 1-

    -----------------------------------------------------

    create procedure SelectFrom (@tableName as varchar(100))

    as

    declare @sql varchar(200)

    set @sql = 'Select top 100 * from ' + @tableName

    exec(@sql)

    --------------------------------------------------------

    Step 2

    Tools> Options >...

Viewing post 1 (of 1 total)