Solved

Different color for specific comments?

Posted on 2012-03-19
4
173 Views
Last Modified: 2012-03-20
In SQL Server 2008, is there a way to apply different colored comments depending on what you start the comment with?

For example:

--DEBUG
or
/*DEBUG

can be red while any other comments are the default green.
0
Comment
Question by:brettr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 29

Assisted Solution

by:QPR
QPR earned 300 total points
ID: 37739979
Not that I've ever seen or heard of sorry
I often use
-- ******************************
If I need something to stand out more than other comments
0
 
LVL 78

Accepted Solution

by:
arnold earned 200 total points
ID: 37740204
Have a look at: http://msdn.microsoft.com/en-us/library/ms173754.aspx
Have not tried the distinctions you are looking for such that I can not say whether what you want can be achieved.
0
 
LVL 29

Assisted Solution

by:QPR
QPR earned 300 total points
ID: 37740288
And from that link....
"The settings for text color and font type are global for all text element types, such as comments, strings, and so on."

So I'm not sure how you could have multi coloured comments
0
 

Author Closing Comment

by:brettr
ID: 37742951
Thanks for the confirmations.
0

Featured Post

Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi all, It is important and often overlooked to understand “Database properties”. Often we see questions about "log files" or "where is the database" and one of the easiest ways to get general information about your database is to use “Database p…
If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question