Wei Keong 的个人资料Doubliewkay日志列表 工具 帮助
3月16日

Snorkelling + Photography

We went to Redang Island from the 6-8 March 2009 for a brief getaway. 
For this particular trip, I bought the DiCAPac DSLRpack.
 
Here are some of the underwater photos using the pack.
 
3月15日

Microsoft Future Pro Photographer Contest

The Microsoft Future Pro Photographers Photography Contest is the most lucrative contest of its kind and provides a unique opportunity for college and university student photographers from around the world to showcase their artistic talent and photographic style.

Microsoft is committed to carrying the art of digital photography forward by encouraging new and emerging talent at the student level to learn, utilize, and implement state-of-the-art equipment, software, and techniques to produce the finest images possible.
http://prophoto.microsoft.avitivacorp.com/Site.aspx

Microsoft Future Pro Photographer Contest

Microsoft Professional Photography Website

You can view some great galleries as well as download fantastic new tools.
http://www.microsoft.com/prophoto/default.aspx

Pro Photo Home

3月13日

To list all processes running in SQL Server

SELECT
[Database]=DB_NAME(dbid),
spid, last_batch,
status,
hostname,
loginame
FROM sys.sysprocesses
WHERE dbid = DB_ID('master');
 
You can replace the master with the database name or remove the WHERE clause to get all processes.
3月10日

MERGE T-SQL in SQL Server 2008

SQL Server 2008 introduces MERGE, a new keyword which performs INSERT, UPDATE and DELETE operations at one go. With SQL Server 2008, you can perform the above operation as simple as the following code.

CREATE PROC dbo.usp_MergeSQL
(
     @pID INT OUTPUT,
     @pName VARCHAR(80)
)
AS
BEGIN
     SET NOCOUNT ON;
     MERGE dbo.Table1 t
     USING (SELECT @pName
            ) p(Name)
     ON t.Name = @pName
 
     WHEN NOT MATCHED THEN
     INSERT (Name)
     VALUES (@pName)
 
     WHEN MATCHED THEN
     UPDATE SET @pID = ID;
 
     SET @pID = COALESCE(SCOPE_IDENTITY(),@pID);
 
END
RETURN
 

 

3月5日

Shutterstock

For the keen photographers out there,

Have you heard of Shutterstock? It is an exciting program that can turn your photos into cash!
ShutterStock will sell your photos and pay you for each one that's downloaded!

Sign up for free at http://submit.shutterstock.com and start to make $$$ from your photos!

Submit Photos to ShutterStock and make $$$!

Check out My Gallery Here

Download unlimited stock photos!