Automatically change CREATE statement to ALTER

Provides intelligent code completion for SQL Server editors.

Moderators: Anu Deshpande, Aaron Law, David Priddle

Automatically change CREATE statement to ALTER

Postby JackAce » Fri Feb 07, 2014 1:45 am

It would be nice if SQL Prompt could automatically change a CREATE statement to an ALTER statement once the CREATE statement has been executed. This would apply to stored procs, views, functions and any other objects that are easily updatable.
JackAce
 
Posts: 45
Joined: Fri Jul 08, 2011 11:00 pm

Postby Aaron Law » Fri Feb 07, 2014 10:55 am

Hi JackAce,

This does seem like a cool idea, the best place for us to keep track of it would be our UserVoiceforum if you would like to open a new idea there?

Technically it's feasible since we already switch out CREATE for ALTER in our script as alter feature. My concern would be that it could be annoying in some situations so I guess it'd have to be optional.
Aaron Law
 
Posts: 262
Joined: Fri Jun 28, 2013 10:56 am
Location: Red Gate Software


Return to SQL Prompt 6

Who is online

Users browsing this forum: No registered users and 0 guests