Didier 帝迪ㄟ珍天帝

Didier 帝迪ㄟ珍天帝與你分享
我就是我 世上無人可取代 正面、積極、樂觀、享受人生
將心情、觀感、心愛的大小老婆、建議及所知道的技術文件一一POST出來

2007年10月18日 星期四

Escape and comment characters 各種逃脫字元及註解符號

SQL
'為Escape character
/ * text_of_comment * /
-- line of comment
Ex:
declare @s varchar(100)
set @s='didier''s'
select @s

ASP(VB)
"為Escape character
' text of comment

C#
\@ 為Escape character
char sChar = '\0';
string sString = @"C:\Winnt";
string sString2 = "c:\\Winnt";
string sString3 = " \"That's a question\" ";

/ * text of comment * /
// line of comment


Javascript
// text of comment

HTML

沒有留言: