2011年12月15日 星期四

unicode

如何把資料庫裡存big 5code 轉成 unicode
找了好多文章.
這篇寫的比較有用一點. 先記下來免得又找不到

http://www.dotblogs.com.tw/topcat/archive/2010/11/04/18807.aspx

http://www.allenkuo.com/GenericArticle/view.aspx?id=996

2011年12月6日 星期二

jquery 效果網站

http://jqueryui.com/home
http://jqueryui.com/home

這個網站收集不少網站設計元素
http://inspire.twgg.org/

教你如何避免拖垮效能的程式寫法


從facebook社群行銷學看到的, 
記錄一下. 有空再來看
現在的網站都運用了大量的 javascript 來打造更棒的使用者體驗,但你知道你或你們家開發人員寫的程式效能好嗎?看看這網頁,教你如何避免拖垮效能的程式寫法

2011年9月14日 星期三

What is the difference between len() and DATALENGTH. I tried both in a SELECT, both are returning the same value. Can someone give me an example?

DATALENGTH returns the length of the string in bytes, including trailing spaces. LEN returns the length in characters, excluding trailing spaces. For example,


SELECT
LEN('string'),
LEN('string '),
DATALENGTH('string'),
DATALENGTH('string '),
LEN(N'string'),
LEN(N'string '),
DATALENGTH(N'string'),
DATALENGTH(N'string ')


will return 6, 6, 6, 9, 6, 6, 12, 18

sql 小發現

null + 欄位  =null 
null 和任何的值相加, 都會變成null 



  isnull(@year, '')  把null 值設成空白

2011年8月23日 星期二

套css

謝謝錡鼎教我套css

第一塊
Body

第二塊
class

第三塊

id


好站連結
http://css.1keydata.com/tw/


2011年8月17日 星期三

解決UNICODE 問題

找到一篇文章寫的很好.

http://www.yaosansi.com/post/ASP.html