How can we help you today? How can we help you today?
torsten.strauss
RAISERROR
Hi Redgate Team,the RaiseError is formatted incorrectly[code]IF ( @FullScan = 1 AND @Resample = 1 )    BEGIN        RAISERROR('Either update statistics with the FullScan or Resample option.', 16, 1...
0 followers 0 comments 0 votes
Tabs everywhere
Hi Team,[code]SELECT    @product_version = CONVERT(varchar(50), SERVERPROPERTY('PRODUCTVERSION'));SET @autostat_legacy_behavior =    CASE        WHEN                             ( CONVERT(smallint,...
2 followers 2 comments 0 votes
Cross Join
Hi Redgate Team,It seems that CROSS JOIN is not formatted correctly - it should follow the JOIN formatting style.[code]USE AdventureWorks2017;GOSELECT TOP 100    a.SalesOrderID,    a.SalesOrderDeta...
2 followers 2 comments 0 votes
Additional Space after TO
Hi Redgate Team,SQL Prompt will add an additional space after TO [code]:SETVAR BackupPath "C:\Program Files\Microsoft SQL Server\MSSQL14.MYSQLSERVER2017\MSSQL\Backup\"BACKUP LOG AdventureWorks2017 ...
2 followers 3 comments 0 votes
Not breaking between
Hi Redgate Team,the following code is formatted like this:CREATE TABLE test ( col1 int IDENTITY(1, 1) NOT NULL, col2 char(2000) NOT NULL DE...
0 followers 0 comments 0 votes
Semicolon
Hi redgate Team,I though this was fixed already.In the latest version it pops up again:[code]-- Create a tableDROP TABLE IF EXISTS test;GOCREATE TABLE test ( col1 int NOT NULL, col2 int NOT NULL );...
3 followers 9 comments 0 votes
Alignment
Hi!SQL prompt will format the following code like this[code]-- Insert 10 recordsWITH cteAS    (        SELECT numbers.col1        FROM ( VALUES ( 0 )               ,      ( 1 )               ,     ...
0 followers 0 comments 0 votes
! Error refactoring unicode strings
Hi!After upgrading to the latest version I got the mentioned error for every! SQL code line I would like to format.I consider this as a critical bug cause I cannot use SQL Prompt anymore.Would be n...
5 followers 7 comments 0 votes
Tabs
Hi Redgate Team,SQL Prompt will tabs between:[code]            ALTER TABLE #SOURCE_ELEMENTS ADD                PRIMARY                         KEY ( ELEMENT_UID, HASH_SHA1 );[/code]Thanks for fixin...
0 followers 0 comments 0 votes
Alignment
Hi Redgate Team,SQL Prompt formats the following code like this:[code]CREATE TABLE #SYNTOSA_ELEMENTS(    LEVEL int NOT NULL,    ELEMENT_UID uniqueidentifier NOT NULL,    ELEMENT_UID_PARENT uniqueid...
0 followers 0 comments 0 votes