Archive for February, 2007

\Slash/ - Windows meanings

I saw most of the developers confused with both ’slashes’. Here is a small reference:

/ - Used in URLs
- Used as a “switch” identifier. Mostly used in command prompts.
Eg: DIR /P - Here /P is the switch for page-wize listing.

- Used in paths
Eg: C:WINDOWSSYSTEM32 - Local path
Eg: MYCOMPUTERFOLDER UNC path. (which represents a [...]

Leave a Comment

T-SQL Find previous month

For a projet I had to find the previous month - in format ‘mm.yyyy’.
Here is the code:
– =============================================
– Author: Praveen
– Create date: 22-02-2007
– Description: To find the previous month in format ‘month.year’
– =============================================
CREATE FUNCTION dbo.gf_PreviousMonth (@d char(7))
RETURNS char(7)
AS
BEGIN
DECLARE @dt AS datetime
SET @dt = [...]

Leave a Comment

ASP.NET Page Life Cycle Overview

http://msdn2.microsoft.com/en-us/library/ms178472(VS.80).aspx
VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment