/*
thi is multiline comment
i want to use SQL Server GetDate() function to show code in pink color!
*/
select GetDate(),Customers from Customers
where month(a)=day(ShipDate)
IF EXISTS (SELECT * FROM sys.triggers
WHERE parent_class = 0 AND name = 'safety')
DROP TRIGGER safety ON DATABASE;
GO
CREATE TRIGGER safety
ON DATABASE
FOR DROP_TABLE, ALTER_TABLE
AS
PRINT 'You must disable Trigger "safety" to drop or alter tables!'
ROLLBACK;
GO
DISABLE TRIGGER safety ON DATABASE;
GO
M.Kavyani
Member
2 Points
2 Posts
syntax highlighter
Jan 27, 2010 03:21 PM|LINK
IF EXISTS (SELECT * FROM sys.triggers WHERE parent_class = 0 AND name = 'safety') DROP TRIGGER safety ON DATABASE; GO CREATE TRIGGER safety ON DATABASE FOR DROP_TABLE, ALTER_TABLE AS PRINT 'You must disable Trigger "safety" to drop or alter tables!' ROLLBACK; GO DISABLE TRIGGER safety ON DATABASE; GOvijay_010237...
Participant
1102 Points
537 Posts
Re: syntax highlighter
Feb 03, 2010 09:25 AM|LINK
what u want.
M.Kavyani
Member
2 Points
2 Posts
Re: syntax highlighter
Sep 05, 2011 10:50 AM|LINK
function test() : String { return 10; }tmorton
All-Star
56556 Points
9751 Posts
ASPInsiders
Moderator
Re: syntax highlighter
Apr 17, 2012 05:20 PM|LINK
Test
ASP.NET/IIS.NET Website Manager, Neudesic