Database consoles, scratch files, and scratch buffers
Database consoles are SQL files that are already attached to a data source. When you create a data source, a database console is created automatically. To open the console, right-click the data source and select Navigation | Jump to Query Console | Open Default Console. To create a new console, right-click the data source and select New | Query Console.
Scratch files are SQL files that are not attached to a data source. Refer to scratch files as temporary notes or drafts for some code ideas outside the project context. To create a scratch file, navigate to File | New | Scratch File (or press &shortcut:NewScratchFile;).
Scratch buffers are simple text files without any coding assistance features. Scratch buffers can be used for simple task lists and notes to yourself. There is no dedicated menu item for the action to create a new scratch buffer, but you can use the Find Action popup (&shortcut:GotoAction;) and run the New Scratch Buffer action.
