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

SSMS 2016

$
0
0
it installed with no problems. Thanks!
Go to last post

SSMSBoost v3.0 Beta (2008,2012,2014,2016)

$
0
0
Just updated install for SSMS 2016: http://www.ssmsboost.com...r2016_3.0.6103.20236.msi
Users, who experienced problems with installation should try this new install.

Note: If you get "Can not Install, SSMS 2016 not found" message, please run .msi file from command line with administrative rights. (cmd.exe->Run As Admin, then just run the .msi)
Go to last post

SSMSBoost 2014 says I need to install latest version but I already have it

$
0
0
Yes, we are going to release an update. The reason for disabled activation functions is that we are preparing new website. So we have kind or 45 days to go ;)
Go to last post

Script grid data not schema aware

$
0
0
Thank you for reporting this. We will check it.
Go to last post

SSMSBoost v3.0 Beta (2008,2012,2014,2016)

$
0
0
Originally Posted by: lukek Go to Quoted Post
Hi

am using latest beta for ssms2008 v:2008_3.0.6102.26341

working fine except that I get regular errors in query results:
An error occurred while executing batch. Error message is: Exception of type 'System.OutOfMemoryException' was thrown.

haven't noticed a way to reproduce, ie its not when running particularly long/complex queries

thank you


All users, experiencing unreasonable slowdowns or System.OutOfMemoryException's: please update to latest SSMS 2016 version, which was released on 20-th of September:
Microsoft SQL Server Management Studio 13.0.15800.18
This update particularly solves problems on systems with Visual Studio Enterprisse edition, installed along with SSMS 2016 and SSMSBoost.
Please post short info here, if it helped.
Go to last post

Failure to execute large script (8MB is size)

Load XML before formatting

$
0
0
Love the F2 functionality!

I am playing with your tool and the formatting options. It's cumbersome to open the dialog, make a tweak, and see what the result is. I see the formats are saved to an XML file. Editing that file directly is much faster. However, the changes are not picked up after the file is saved. They are however picked up when making changes via the dialog.

I wonder, before each formatting operation, you could inspect the XML file's timestamp, and if it has advanced since the last time checked, it reloads the formatting config prior to executing the formatting operation? That gives the flexibility to tweak the settings by directly editing the file and quickly seeing the results of those changes.

Seems like an easy enough tweak, and it would really make the setup of this feature much faster for your users?
Go to last post

'Locate object in Object Explorer' extension - synonyms

$
0
0
Hi there, I was going to suggest - unless it's already in development, that you consider extending the 'Locate object in Object Explorer' feature to work for synonyms too; e.g. as pseudo-code focusing upon the correct/source database, beginning with something a little like the following (- at least in terms of performing the look-up) - where the 'TargetObjName' is the word/object that the cursor/caret is within/pointing at:

SELECT
c.name,
t.name
FROM
[SrcDb].sys.columns AS c
CROSS APPLY
(
SELECT
s.name
FROM
sys.synonyms s
WHERE
OBJECT_ID(s.[base_object_name]) = c.[object_id]
) AS x
JOIN
[SrcDb].sys.tables t
ON
c.object_id = t.object_id
WHERE
c.name like '%TargetObjName%' ;

The existing feature is great ;D, but it would be even better if it (or a similar feature) also worked for synonyms; maybe it might be cleaner for you to make this a new/separate feature (?), rather than mix it in with the existing 'Locate object in Object Explorer' feature.

Go to last post

Feature request: extended functionality for script templates

$
0
0
Hi,

New to SSMSBoost, and LOVE it. I wish I'd known about it years ago, it could have saved me hundreds of hours!

The script template feature is great and very powerful, but there doesn't appear to be a way to create very useful UPDATE statements from it. What's missing is the ability to build a WHERE clause that targets a primary key column's value. I'd like to build the following with a template:

Code:
UPDATE <table name parameter> SET column = value, column = value, ... WHERE <Key column parameter> = <Key column's value>


This would be useful for updating data in one table from another one on a different (remote/unlinked) server. I can do everything except the "[KeyValue]" part, see the template XML below.

I'm not entirely sure how this might be implemented, because you're relying on the value being in the grid somewhere, and you can't always assume it's in the first column.

I think my suggestion would be to:
(a) create a new parameter value type which is a dropdown list of column names the user can select, and
(b) in the {Rows} definition allow a template to access either that parameter's column name or value for the current row

So in the case of my attached template, when run the user would type the table name and select from a list of columns in the current grid (whether or not that column is in any of the selected regions), and the output would be a list of update statements in the form above.

Caveat: If you script the entire grid as described above this will include the key column (possibly an identity), which will form part of the updates in the SET statement, which is NOT what you want ("UPDATE T SET [Id] = X, ... WHERE [Id] = X"). An additional feature should allow you to exclude columns from the {Columns} enumeration (and, while we're at it, rows from the {Rows} enumeration, say where a column is null?)

Paul

--

Script XML:
Quote:
<?xml version="1.0" encoding="utf-16"?>
<GridScripterTemplate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Name>UPDATE by Id</Name>
<SaveGranularity>Entire</SaveGranularity>
<SavePath>C:\Users\phutchison\AppData\Roaming\SSMSBoost\{Year}{Month}{Day}_{Hour}{Minute}{Second}.txt</SavePath>
<OpenWithApplication />
<InvokeParametersReplacement>true</InvokeParametersReplacement>
<DefaultClipboardFormat>Text</DefaultClipboardFormat>
<Document>{Selections}</Document>
<Selection>{Rows}</Selection>
<SelectionsSeparator>\r\n\r\n</SelectionsSeparator>
<Header />
<HeadersSeparator>, </HeadersSeparator>
<Row>UPDATE [&lt;Destination tablename, sysname, Enter table name here&gt;] SET {Values}
WHERE [&lt;Key column, sysname, Enter key column for update&gt;] = [X]
</Row>
<RowsSeparator>\r\n</RowsSeparator>
<ColumnName>[{ColumnName}]</ColumnName>
<ColumnNamesSeparator>, </ColumnNamesSeparator>
<Value>[{ColumnName}] = {Value}</Value>
<ValuesSeparator>, </ValuesSeparator>
<StringFormatter>
<Pattern>'{Value}'</Pattern>
</StringFormatter>
<NStringFormatter>
<Pattern>N'{Value}'</Pattern>
</NStringFormatter>
<IntegerFormatter>
<Pattern>{Value}</Pattern>
<Format>D</Format>
</IntegerFormatter>
<DoubleFormatter>
<Pattern>{Value}</Pattern>
<Format>G</Format>
</DoubleFormatter>
<CurrencyFormatter>
<Pattern>CAST({Value} as MONEY)</Pattern>
<Format>G</Format>
</CurrencyFormatter>
<DateTimeFormatter>
<Pattern>CAST('{Value}' as DATETIME)</Pattern>
<Format>yyyyMMdd HH:mm:ss.fff</Format>
</DateTimeFormatter>
<DateFormatter>
<Pattern>CAST('{Value}' as DATE)</Pattern>
<Format>yyyyMMdd</Format>
</DateFormatter>
<TimeFormatter>
<Pattern>CAST('{Value}' as TIME)</Pattern>
<Format>HH:mm:ss.fff</Format>
</TimeFormatter>
<BooleanFormatter>
<Pattern>{Value}</Pattern>
<TrueString>1</TrueString>
<FalseString>0</FalseString>
</BooleanFormatter>
<GuidFormatter>
<Pattern>CAST ('{Value}' as uniqueidentifier)</Pattern>
<Format />
</GuidFormatter>
<BinaryFormatter>
<Pattern>{Value}</Pattern>
</BinaryFormatter>
<XmlFormatter>
<Pattern>{Value}</Pattern>
</XmlFormatter>
<SpatialFormatter>
<Pattern>'{Value}'</Pattern>
<AsText>true</AsText>
</SpatialFormatter>
<NullString>NULL</NullString>
<UseInvariantCulture>true</UseInvariantCulture>
<MaxCharsPerValue>0</MaxCharsPerValue>
<ValuesEncodeMethod>SqlEncode</ValuesEncodeMethod>
</GridScripterTemplate>


Go to last post

SSMSBoost v3.0 Beta (2008,2012,2014,2016)

$
0
0
Originally Posted by: Brent Willis Go to Quoted Post
When I try to install SSMSBoostInstaller2016_3.0.6103.20236.msi I get an error that SSMS 2016 must be installed. I do have it installed but have the latest version which was released on 9/23 I believe. My SSMS 2016 version is 13.2.15900.1. Is the setup checking for major version or a specific version?

Run command prompt (cmd.exe) as administrator and start installation from command line.
Go to last post

SSMSBoost v3.0 Beta (2008,2012,2014,2016)

$
0
0
We have uploaded next Beta-release (see download links in the head post).
Changes:
-Restored Guidelines functionality under SSMS 2016.
-some minor UI polishing in dialogs
-some core and project refactoring
Go to last post

Window Title not shown correctly in Aero Peek

$
0
0
Wow... I see the pic, but can not reproduce. Please check latest Beta (published today).
Please provide also info, if your current SSMS window is Connected or not...
tnx
Go to last post

SSMSBoost v3.0 Beta (2008,2012,2014,2016)

$
0
0
It may be on the list already, but I'd love to see the "Comment Selected" button come back. It's a small thing, but I used it all the time.

Thanks!
Go to last post

Feature request: Preferred Connection Color Location

$
0
0
Hi. It would be nice to see connection color in combobox. Some connections take long time to establish and realising mistake later is waste of time
Go to last post

SSMSBoost 2016 Feature request

$
0
0
one of my favorite features of SSMSBoost was the quick connections switch drop down. The one where you could hit the drop down and quickly change to another server that was configured in the preferred connections section. It does not appear to be functioning for me. will that functionality be brought back?
Go to last post

User/Machine hash token

$
0
0
I need to evaluate SSMSBoost but to get trial version i need User/MAchine hash token...can you help me?
Go to last post

Keyboard shortcut or toolbar button for /*Comment/Uncomment*/

$
0
0
On the Features page, it says:

Quote:
1-click Comment/Uncomment selected SQL code using /**/ syntax


However, I don't see a button on the SSMSBoost toolbar. Currently, I have to go to the SSMSBoost menu > Query > "/*Comment/Uncomment selection*/" to use the feature.

Is there a button that I'm just not seeing? Is there a keyboard shortcut for the feature?

I'm using the Beta version, build 3.0.6124.25701.
Go to last post

Format SQL support for -- noformat -- endnoformat

$
0
0
I've tried to use a number of variations of "-- noformat", "-- [noformat]", "-- /noformat", "-- [endnoformat] etc

Do any of these work with the version of "Poor Mans SQL formatter" that comes bundled with SSMSBoost?

TIA
Go to last post

SSMSBoost v3.0 Beta (2008,2012,2014,2016)

$
0
0
I have the same issue. I installed the latest version of SSMS Microsoft SQL Server Management Studio 13.0.16000.28. Now I get the message 'Execution guard failed to check the script due to internal error.' I disabled the Fatal Actions Guard but that didn't help. Other functionality does not work either like Script Object or Locate Object.

I have uninstalled SSMSBoost and reinstalled with the same errors.

Go to last post

DELETE formatting options

$
0
0
I have a delete statement within a stored procedure that looks like this (the way I like it formatted):

Code:
DELETE	/*dbo.DeleteOrphanedPrinterRecords*/
		c
  FROM	dbo.Computer c
		LEFT JOIN dbo.ComputerPrinter cp			ON c.Id = cp.ComputerId
		LEFT JOIN dbo.WeightScaleComputer wsc	ON c.Id = wsc.ComputerId
 WHERE	cp.ComputerId	IS NULL
   AND	wsc.ComputerId	IS NULL;


Note that the FROM, WHERE, and AND are right-aligned with DELETE, there is a tab to the right of those keywords, and the table alias is indented, and the WHERE conditions are aligned.

When I format it with SSMSBoost, I get this:

Code:
DELETE /*dbo.DeleteOrphanedPrinterRecords*/
c
FROM dbo.Computer c								
		LEFT JOIN dbo.ComputerPrinter cp				ON	c.Id = cp.ComputerId
		LEFT JOIN dbo.WeightScaleComputer wsc		ON	c.Id = wsc.ComputerId
WHERE	cp.ComputerId IS NULL
	AND wsc.ComputerId IS NULL;


What options do I need to change to get it to format it (closer to) the way I prefer? (Note that I already have Where | IndentConditions set to True.) I am running 3.0.6102.26025 (2016-09-15).

Thanks!
Go to last post
Viewing all 825 articles
Browse latest View live