extraSqlScriptAs icon indicating copy to clipboard operation
extraSqlScriptAs copied to clipboard

[Suggestion] Option to remove the database from scripts

Open Andrefei opened this issue 1 year ago • 1 comments

Hi,

First off, I am really enjoying this extension as it helps making Azure Data Studio usable. Thanks to extensions like this we are slowly but surely transitioning from SSMS to more modern tools 🙌

To the suggestions, what is the reasoning behind including the database name in the script? [db].[schema].[tablename]

This is not the standard in SSMS and at least in my day to day work we have several different environments with the same tables and I find myself using the same queries across different databases.

Could it be an idea to add an option or config where you toggle the database name in the resulting query?

Andrefei avatar Aug 07 '24 09:08 Andrefei

Hello @Andrefei

It's actually a good idea to have a configuration option for this. I'm going to plan the change

pacoweb avatar Aug 08 '24 06:08 pacoweb