Monthly Archives: May 2009

>T-SQL: Backup database

>CREATE PROCEDURE [dbo].[sp_BackupDatabase]@databaseName sysname, @backupType CHAR(1)ASBEGINSET NOCOUNT ON; DECLARE @sqlCommand NVARCHAR(1000)DECLARE @dateTime NVARCHAR(20) SELECT @dateTime = REPLACE(CONVERT(VARCHAR, GETDATE(),111),’/’,”) +REPLACE(CONVERT(VARCHAR, GETDATE(),108),’:’,”) IF @backupType = ‘F’SET @sqlCommand = ‘BACKUP DATABASE ‘ + @databaseName +‘ TO DISK = ”D:\Backup\’ + @databaseName + ‘_Full_’ … Continue reading

Posted in Data Access | Leave a comment

>Very fast

>Xe đang trên đường ra sân bay, người khách Nhật Bản nhìn thấy một chiếc xe vọt qua, ông ta thích thú thốt lên:– Ooh….TOYOTA! made in Japan! very fast!Một lúc sau lại có một chiếc xe khác phóng qua, … Continue reading

Posted in relax | Leave a comment

>The why of strong name assemblies

>Before extolling the benefits of strong names, let’s begin with a definition. A strong name is made up of information used to identify an assembly and includes the assembly’s text name, four-part version number, culture information (if provided), a public … Continue reading

Posted in .NET, programming | Leave a comment

>Last For One Commercial 2007

>Here is a interesting clip I would like to share

Posted in relax | Leave a comment

>How to Kill an Eel (a true story)

>Little Johnny was 7 years old, and like other boys his age, rather curious. He had been hearing quite a bit about courting from other boys and he wondered what it was and how it was done. One day he … Continue reading

Posted in relax | Leave a comment


>Interviewer said “I shall either ask you ten easy questions or one really difficult question. Think well before you make up your mind!” The boy thought for a while and said, “my choice is one really difficult question.”. “Well, good … Continue reading

Posted in relax | Leave a comment

>Truyện vui

> Trên 1 chuyến tàu: có 1 người phụ nữ xinh đẹp, 1 bà già và 3 người đàn ông. Khi đi qua đường hầm, bỗng có tiếng “chút” rồi “bốp” vang lên. Bà già nghĩ: “Bọn trẻ bây giờ … Continue reading

Posted in relax | Leave a comment