 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
pvdm
Joined: 11 Mar 2008 Posts: 22 Country: New Zealand |
|
Align Datatypes issue |
|
Hi when using the Align Data types option under formatting it messing up the formatting when the data types have brackets for example when formatting these two table scripts.
 |
 |
create table TABLE1 (
id int identity(1,1 ),
description1 nvarchar(20),
type1 int)
create table TABLE1 (
id int,
description1 int,
type1 int) |
the output looks like this:
 |
 |
create table TABLE1 (
id int identity(1 ,
1 ),
description1 nvarchar(20),
type1 int)
create table TABLE1 (
id int ,
description1 int ,
type1 int ) |
The second table with only int's format correctly but not the first one. I'm sure this used to work but can't say when this changed. I am currently using V6.4.230 Pro.
|
|
Tue Aug 20, 2013 6:39 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
Hi. It seems to work fine for me. Here is what I get
 |
 |
/************************************************************
* Code formatted by SoftTree SQL Assistant © v6.4.230
* Time: 8/20/2013 7:08:33 PM
************************************************************/
CREATE TABLE TABLE1
(
id INT IDENTITY(1, 1),
description1 NVARCHAR(20),
type1 INT
)
CREATE TABLE TABLE1
(
id INT,
description1 INT,
type1 INT
) |
Please check your custom code formatting settings. Some customized or newly added formatting rule could be messing up the table formatting results.
|
|
Tue Aug 20, 2013 10:11 pm |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|