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

Bug: Script results as INSERT INTO schema.table

$
0
0
Well, there is a pretty simple universal function implemented, that asks for parameter name. If you open SSMSBoost Settings->Grid Scripting Templates-> (Template Name) and open Scripting Tab for {Rows}
you will see following template:
Code:
INSERT INTO [<Destination tablename, sysname, Enter table name here>]({ColumnNames})
VALUES({Values})

You see, that "Destination tablename" parameter is placed between brackets. You can modify template and remove the brackets:

Code:
INSERT INTO <Destination tablename, sysname, Enter table name here>({ColumnNames})
VALUES({Values})

Now you will be responsible for placing brackets, if needed.
You can even improve it and add "Schema" parameter, that will be asked as well:

Code:
INSERT INTO [<Schema name, sysname, Enter schema name here>].[<Destination tablename, sysname, Enter table name here>]({ColumnNames})
VALUES({Values})


You have the control.
Go to last post

Viewing all articles
Browse latest Browse all 823

Trending Articles