Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
sikandar
Starting Member
1 Post |
Posted - 2011-06-08 : 09:06:29
|
Hi dearsI am having a problem regardin silencing a command line i dont know how to do please help me Silencing a command line in C++.like if there is a command line int a=20;silenced command line = //a=20; i dont know which symbols will be used to silence the SQL command line,Kindly help me out.Kind Regards,Sikandar Nawaz.sikandar |
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
Posted - 2011-06-08 : 09:22:06
|
--or/*line(s) here...*/ No, you're never too old to Yak'n'Roll if you're too young to die. |
 |
|
sunitabeck
Master Smack Fu Yak Hacker
5155 Posts |
Posted - 2011-06-08 : 09:22:07
|
use -- (that is, 2 minus signs right next to each other).-- This is a commentselect order_id from Orders -- this portion is a comment, but the part to the left of the -- is active You can use control-k control-c to comment a group of lines that are highlighted. And control-k control-u to uncomment. |
 |
|
sunitabeck
Master Smack Fu Yak Hacker
5155 Posts |
Posted - 2011-06-08 : 09:23:37
|
Next time I am going to delete my responses so I won't get hurt by the sniping |
 |
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
Posted - 2011-06-08 : 09:28:48
|
It was only ONE second and our answers both are helpful  No, you're never too old to Yak'n'Roll if you're too young to die. |
 |
|
|
|
|