Quantcast
Channel: Rss Feed - SSMSBoost Add-in discussion board - Forum
Viewing all articles
Browse latest Browse all 825

Feature Request: enhanced replacement

$
0
0
Hi,

would it be possible to add an enhanced replacement feature that is working the following way:
I have a stored procedure, that accepts an database object name and the procedure is generating some print code for this object.
For example a procedure with a table name parameter and the procedure is generating the select list with all columns of the given table.

create procedure genSelList
@tablename sysname
as
print 'SelList'
go

Snippet:
exec genSelList @tablename='?'

Now it would be helpful to have an autoreplacement function that
executes the procedure,
replaces a placeholder ? with the highlighted object name
takes the print output
and replaces the hightlightes objectname with the print output


Greetings
Marco
Go to last post

Viewing all articles
Browse latest Browse all 825

Trending Articles