SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Align Datatypes issue

 
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant View previous topic
View next topic
Align Datatypes issue
Author Message
pvdm



Joined: 11 Mar 2008
Posts: 22
Country: New Zealand

Post Align Datatypes issue Reply with quote
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.
Code:

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:

Code:
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 View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7849

Post Reply with quote
Hi. It seems to work fine for me. Here is what I get


Code:
/************************************************************
 * 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 View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
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


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.