|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
no keyword coloration in 2005No more Query Analyzer, fine, but why did they remove keyword coloration? Is
there a way to get it back? Paul It is there, but SSMS by default will only do it for either new queries, or
files with an extension of .SQL. Are you by any chance trying to edit a file that does not have a .SQL extension? You can add additional extensions to be supported in the Options menu. -- Show quoteAdam Machanic Pro SQL Server 2005, available now http://www.apress.com/book/bookDisplay.html?bID=457 -- "PJ6" <no***@nowhere.net> wrote in message news:Oi1$IN3eGHA.2032@TK2MSFTNGP02.phx.gbl... > No more Query Analyzer, fine, but why did they remove keyword coloration? > Is there a way to get it back? > > Paul > Ah, yes I found it. New Query. Strange that they didn't bother putting in
keyword highlighting everywhere you can edit a query. Thanks, Paul Show quote "Adam Machanic" <amachanic@hotmail._removetoemail_.com> wrote in message news:uwfziR3eGHA.4892@TK2MSFTNGP02.phx.gbl... > It is there, but SSMS by default will only do it for either new queries, > or files with an extension of .SQL. Are you by any chance trying to edit > a file that does not have a .SQL extension? You can add additional > extensions to be supported in the Options menu. > > > -- > Adam Machanic > Pro SQL Server 2005, available now > http://www.apress.com/book/bookDisplay.html?bID=457 > -- > > > "PJ6" <no***@nowhere.net> wrote in message > news:Oi1$IN3eGHA.2032@TK2MSFTNGP02.phx.gbl... >> No more Query Analyzer, fine, but why did they remove keyword coloration? >> Is there a way to get it back? >> >> Paul >> > > PJ6 (no***@nowhere.net) writes:
> Ah, yes I found it. New Query. Strange that they didn't bother putting in I guess this is because Mgmt Studio supports more languages than just> keyword highlighting everywhere you can edit a query. Transact-SQL. For instance, I renamed a file to something.MDX and opened it. The colours were about the same, but for instance FUNCTION and PRIMARY were not coloured. Apparently they are not keywords in MDX. I believe that under Tools->Options->Text Editor->File Extensions you can associate file extensions to different editors. -- Erland Sommarskog, SQL Server MVP, esq***@sommarskog.se Books Online for SQL Server 2005 at http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx Books Online for SQL Server 2000 at http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx These are gray.
You really need to have a look at SQLAssist at www.roundpolygons.com. It does the job for you and has autocompletion, syntaxchecking. It rocks. Download the eval and you'll be convinced. StWy *** Sent via Developersdex http://www.developersdex.com *** |
|||||||||||||||||||||||