Forum Stats

  • 3,760,221 Users
  • 2,251,664 Discussions
  • 7,871,026 Comments

Discussions

Select database connection as "default"?

Hi,

I have a case with a couple of projects, where a bunch of SQL scripts comes direclty from a git repository. I have installed ODT in VSC and created my database connection. So far, so good. When I switch to folder with scripts, in each script I can click at the bottom and choose a database connection and execute it.

The problem, however, is that there are really a *lot* of those SQL scripts and they all practically need just one database. Is there a way to select/define a "default" database connection for a VSC project or folder or something, so that all SQL scripts in it inherit that connection somehow?

Thanks!

User_F1AA2

Answers