Solved

Different color for specific comments?

Posted on 2012-03-19
4
157 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 77

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

Microsoft Certification Exam 74-409

VeeamĀ® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

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.
In this article I will describe the Copy Database Wizard 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.
A short film showing how OnPage and Connectwise integration works.
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

932 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

11 Experts available now in Live!

Get 1:1 Help Now