-
Notifications
You must be signed in to change notification settings - Fork 906
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Auto Connect to current server after Script as... #825
Comments
I believe this is intended behavior and this is actually a regression. |
Intended behavior? Adding extra steps? Can't get behind that decision. |
I mean that it should be auto connecting, and the behavior that it is not, is a bug |
Ah. "This is the intended behavior." Yes, then we are on the same page. |
The current behavior is "by design" though I agree the design is currently incorrect. Initially we only supported In the |
If you generate a CREATE script, could you not preface with a DROP [objecttype] IF EXISTS [objectname]? That would prevent the syntax error notification. |
@barryseymour that's a good suggestion, thought I'm not sure we would want to add a drop statement into the |
When scripting an object, opening a script from file or creating a new script, I'd like it if SQLOps automatically connected to the current server.
Steps to Reproduce:
#1: Altering a stored procedure
Open Servers
Locate a stored procedure
Right-click, select 'Script as Alter'
Run Script - CONNECTION appears.
Would prefer if it assumed the same connection you opened it from.
#2. Opening a File or creating a new script
Open or create a script
Modify as needed
Press F5 to run - CONNECTION appears
Would prefer if it assumed the current connection.
The text was updated successfully, but these errors were encountered: