Archive for "Jul 2011"

Die. no energy to continue cod…

Die. no energy to continue coding. :/

Brain still too active. But my…

Brain still too active. But my eyes need a break from staring at the codes. Need sleep.

Why is it that every time afte…

Why is it that every time after a status update meeting i feel so lost.

SQL – Random String

IF EXISTS (SELECT * FROM [dbo].[sysobjects] WHERE ID = object_id(N’[dbo].[usp_RandomString]‘) AND OBJECTPROPERTY(id, N’IsProcedure’) = 1) DROP PROCEDURE [dbo].[usp_RandomString] GO CREATE PROCEDURE usp_RandomString ( @Length INTEGER ) AS BEGIN   DECLARE @ValidChar VARCHAR(255) = ‘ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890~!@#$%^&*_+’   DECLARE @Random VARCHAR(255) = ”      WHILE @Length > 0   BEGIN     SET @Length = @Length -1 [...]

Woohoo~ weekend then reservist…

Woohoo~ weekend then reservist for the next 3 weeks And assignment due in 3 weeks time too. Woohoo~ so dead x_x