Red Gate forums :: View topic - CREATE TABLE script - formating
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Prompt 6
SQL Prompt 6 forum

CREATE TABLE script - formating

Search in SQL Prompt 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
jack-geronimo



Joined: 02 Jul 2014
Posts: 1

PostPosted: Wed Jul 02, 2014 5:25 pm    Post subject: CREATE TABLE script - formating Reply with quote

Why SQL Prompt 6 breaks the line after the IDENTITY key word in an create statement e.g.:

Code:
CREATE TABLE dbo.User (
      userId_pk BIGINT IDENTITY NOT NULL
    , userName NVARCHAR(255) NOT NULL
    , firstName NVARCHAR(255) NULL
    , lastName NVARCHAR(255) NULL
    , CONSTRAINT PK_User PRIMARY KEY ( userId_pk )
 );

after formating:
CREATE TABLE dbo.User (
      userId_pk BIGINT IDENTITY
                       NOT NULL
      ...
Back to top
View user's profile Send private message
Aaron Law



Joined: 28 Jun 2013
Posts: 244
Location: Red Gate Software

PostPosted: Thu Jul 03, 2014 9:14 am    Post subject: Reply with quote

Hi Jack,

I don't think there's a way to change this in Prompt at the moment, it looks like it's always been that way (I just gave it a go in Prompt 5). Fortunately we are currently collecting changes we want to make to the formatting engine and this is the kind of thing we're looking for, you can suggest this and any other changes you'd like to see on our survey.

Thanks,
Aaron.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
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