Formatting issue Table Type
torsten.strauss
Posts: 271 Silver 3
in SQL Prompt
Hi Redgate Team,
SQL Prompt formats the Data Type like this
SQL Prompt formats the Data Type like this
CREATE TYPE dbo.test AS TABLE
(
col1 int NOT NULL
, col2 int NOT NULL
, col3 int NOT NULL
,
PRIMARY KEY NONCLUSTERED (
col1
, col2
)
, INDEX NCL_ins_product_price_ID_status NONCLUSTERED (col2)
,
UNIQUE (
col2
, col1
)
);
GO
Neither the Primary Key nor the index or unique constraint is alligned.
It would be nice if you can fix this - thanks!
Neither the Primary Key nor the index or unique constraint is alligned.
It would be nice if you can fix this - thanks!
Tagged:
Answers
Dan Jary | Redgate Software
Have you visited our Help Center?
I am using a custom style which I attached.
Dan Jary | Redgate Software
Have you visited our Help Center?
Thanks for looking into this!
The current formatted code with my attachted style looks like this:
I think it much better to align the code like this:
Torsten
Dan Jary | Redgate Software
Have you visited our Help Center?