Control window type by "Pragma" in SQL file?

D.Wenzel

Member²
Servus Marko,

we like to use the PSD a lot :) - Thx!!

We store SQL snippets in .SQL files. When I open them via object browser - the "default" command window is not always the best choice.

Question: is it possible to compare with

-- TAB=This is my TAB name

by such a special comment to control the window type at "Defaullt-Open"?

I remember dark that "years ago" in PSD, there was something similar in test scripts to assign them to the test.window.

Ahoy Daniel
 
If you go to Preferences > Files > Extensions you can associate the .sql extension with the SQL Window.
 
Thx for the quick answer. The commandwindow is the best standard for ".SQL" files in our case. Another file extension is not useful at the moment.

Maybe this is a change request for the future.

Ahoy Daniel
 
Back
Top