Solved

Different color for specific comments?

Posted on 2012-03-19
4
154 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
  • 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 76

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Audit has been really one of the more interesting, most useful, yet difficult to maintain topics in the history of SQL Server. In earlier versions of SQL people had very few options for auditing in SQL Server. It typically meant using SQL Trace …
In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

743 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now