|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Query Analyzer change default blank queryDoes anyone know of a way to change the default blank query, into some text?
I want that every new query window will start with a Select template or so. You can only do this for the startup window by passing in a file name, which
has a negative side effect that if you hit save you override the template content. You however create a template file, put it in the templates directory and double clicking on the template will open a new query editor with the template content in place, this is the best you will be able to get. Ge***@SQLDev.Net Please reply only to the newsgroups. This posting is provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use. Copyright © SQLDev.Net 1991-2005 All rights reserved. Show quote "Offirh" <Off***@discussions.microsoft.com> wrote in message news:805A2E11-CA0D-467B-B36B-2B94889742F8@microsoft.com... > Does anyone know of a way to change the default blank query, into some > text? > I want that every new query window will start with a Select template or > so. You can create a template file, set its read-only property, and launch that
file to open a new query editor instance with the template loaded. Since the template is marked as read-only, when you hit Save, you will get the Save As... dialog, just like you do with an Untitled file. If you want to open the template inside a running instance of QA instead of starting a new one, drag the template file to the query editor pane in QA. Steve Kass Drew University Offirh wrote: Show quote >Does anyone know of a way to change the default blank query, into some text? >I want that every new query window will start with a Select template or so. > > |
|||||||||||||||||||||||