Anytime I use 'script table as' → 'Insert To' (or another command), the created script automatically puts the database name in the script. For instance:
INSERT INTO [DatabaseName]. [dbo]. [tblToBeInserted] ...
Although this is not a huge problem, just to remove it, it has shifted several times, and the script breaks if it is executed on another server with a different database name, but it has the same scheme. (For example, running on [DatabaseName.Test])
Is there an option that I can change, or can I somehow change the output?
bucha source share