Skip to content
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

Add support for Azure SQL DB #151

Closed
VladDBA opened this issue Dec 15, 2023 · 0 comments · Fixed by #160
Closed

Add support for Azure SQL DB #151

VladDBA opened this issue Dec 15, 2023 · 0 comments · Fixed by #160
Assignees
Labels
enhancement New feature or request

Comments

@VladDBA
Copy link
Owner

VladDBA commented Dec 15, 2023

This is an initial brain dump, final result may vary somewhat.

If -ServerName contains database.windows.net then:

  • if the value passed to -ServerName is in the form of myserver.database.windows.net,1433:MyDatabase, then PSBlitz will get the database name from there
  • if -ServerName is in the form of myserver.database.windows.net,1433 or myserver.database.windows.net then PSBlitz will prompt for a database name
  • the database name will be loaded in $ASDBName and internal flag $IsAzureSQLDB will be set to true

Behavior if $IsAzureSQLDB is true:

@VladDBA VladDBA added the enhancement New feature or request label Dec 15, 2023
@VladDBA VladDBA self-assigned this Dec 15, 2023
@VladDBA VladDBA added this to the Azure SQL DB compatibility milestone Dec 15, 2023
@VladDBA VladDBA mentioned this issue Dec 27, 2023
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant