熱門文章

2010年7月10日 星期六

HTML5 and Web Standards

HTML5 Showcase

The demos below show how the latest version of Apple’s Safari web browser, new Macs, and new Apple mobile devices all support the capabilities of HTML5, CSS3, and JavaScript. Not all browsers offer this support. But soon other modern browsers will take advantage of these same web standards — and the amazing things they enable web designers to do.

剛去Apple的網站看了一下,Apple已經支援HTML5,雖然現在Windows OS上 Flash的運行效能比較好一些,但在往後只需要一個標籤就能內嵌所有的影音格式,其實關鍵並不是在HTML 5,反而是在瀏覽器。

目前支援HTML 5的瀏覽器有:FirefoxGoogle ChromeOperaSafari



HTML 5 線上繪圖工具
http://mugtug.com/sketchpad/
 

VSTS 2010: Overview of Team System 2010 for Architects

In this article we will take an overview of diagrams, features and tools provided in Team System 2010 for Architects. Although we will not cover the concepts of UML and other architectural concepts in details, we will refer to them time to time.

Introduce architecture tools in VSTS 2010 from other webblog
http://blogs.msdn.com/b/somasegar/archive/2009/08/29/architecture-tools-in-vsts-2010.aspx

參加MSSQL 考試 70-432

想說MSSQL也學了一些時間,該去考一考證照了
這次是先考70-432,再考70-433

考詩科目:
70-432 : TS: SQL Server 2008, Implementation and Maintenance

考試時間:120 min
題數:48 題
及格分數:700 分

題型:單選、複選題。

目 前尚未有像在 SQL Server 2005 版本,Exam 70-431:TS: Microsoft SQL Server 2005 - Implementation and Maintenance 有考實作題,讓考生操作 SQL Server Management Studio 管理工具。

此外,此次考試科目名為:
70-432 : TS: SQL Server 2008, Implementation and Maintenance
但很容易被歸類為 SQL Server 2008 管理類考試,以下整理出可能是與開發程式有關的題型:

1. 使用「內容切換」。
2. 維護 XML 索引。
3. 資料壓縮。
4. 分割資料表。
5. 索引維護作業。
6. 設定「平行處理原則的預設成本臨界值」。


參考文件:
Preparation Guide for Exam 70-432
TS: Microsoft SQL Server 2008, Implementation and Maintenance

 http://www.microsoft.com/learning/en/us/exams/70-432.mspx

MCTS Self-Paced Training Kit (Exam 70-432): Microsoft® SQL Server® 2008 - Implementation and Maintenance
http://www.amazon.com/MCTS-Self-Paced-Training-70-432-PRO-Certification/dp/0735626057
http://www.microsoft.com/learning/en/us/Books/12858.aspx

解決where in 帶多值的問題


最近遇到一個case, 需要填入多數值並作查詢
for example:
abcde, bcdef ,cdefg...
但作為參數傳進stored procedures
exec myproc test @ts = 'abcde, bcdef'
始終都無法成功...

解決方式
1. 用原始方法,將參數@ts 分為 @ts0, @ts1,@ts2...
但若遇到一次輸入10個以上, 就會顯得很笨拙
2. 新方法,用T-SQLq取代


Declare @ ts varchar(50) set @ ts = 'abcde,bcdef' select * from test where charindex (ts,@ts)



使用 CHARINDEX 主要是找出符合比較值,傳回在比較值的顯示位置(如果有就會大於0)

可自行搭配function 或 stored procedures

希望能解答有遇到類似問題的同好們