Error
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.

else

case and if else statement in sql server
Saturday, 28 January 2012 01:52
// case and if else statement in sql server



DECLARE @MyVal INT

DECLARE @OUTPUTValues VARCHAR(200)
SET @MyVal = 1

SELECT @OUTPUTValues =
(
CASE @MyVal
WHEN 1 THEN 'test1'
WHEN 2 THEN 'test2'
WHEN 3 THEN 'test3'
ELSE 'New'
END
)

PRINT @OUTPUTValues

SET @TestVal = 5

IF @MyVal= 1
SET @OUTPUTValues= '1'
ELSE IF @MyVal= 2
SET @OUTPUTValues= '2'
ELSE IF @MyVal= 3
SET @OUTPUTValues= '3'
ELSE
SET @OUTPUTValues= @MyVal

PRINT @OUTPUTValues

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/d-lZJBN1KvY/14507

 
42-Foot Car-Chopping Axe Is the Nuclear Option of Prank Wars [Video]
Friday, 20 January 2012 23:00
There are two hard and fast rules in this world: "Never go against a Sicilian when death is on the line" and "Never get involved in a prank war in Australia." Or else very bad things will happen to your Holden. More »


Read more: http://feeds.gawker.com/~r/gizmodo/full/~3/PoK0quH_iG0/42+foot-car+chopping-axe-is-the-nuclear-option-of-prank-wars

 
SQL Columns metainfo : "vw_XL_TableColumns"
Tuesday, 11 October 2011 10:51
CREATE VIEW dbo.vw_XL_TableColumns
AS
SELECT TOP (100) PERCENT tabs.name AS TableName, col.name AS ColumnName, coltype.name AS TypeName, col.max_length AS MaxLength, col.precision, col.scale,
CASE WHEN col.name = pkCol.COLUMN_NAME THEN 'Y' ELSE 'N' END AS IsPrimaryKey, CASE WHEN col.is_nullable = 1 THEN 'Y' ELSE 'N' END AS IsNullable,
CASE WHEN col.is_identity = 1 THEN 'Y' ELSE 'N' END AS IsIdentity, CASE WHEN col.is_computed = 1 THEN 'Y' ELSE 'N' END AS IsComputed,
col.column_id AS ColumnOrder
FROM sys.columns AS col INNER JOIN
sys.tables AS tabs ON col.object_id = tabs.object_id INNER JOIN
sys.systypes AS coltype ON coltype.xtype = col.system_type_id LEFT OUTER JOIN
(SELECT c.COLUMN_NAME, c.TABLE_NAME
FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS AS pk INNER JOIN
INFORMATION_SCHEMA.KEY_COLUMN_USAGE AS c ON pk.TABLE_NAME = c.TABLE_NAME AND
pk.CONSTRAINT_NAME = c.CONSTRAINT_NAME
WHERE (pk.CONSTRAINT_TYPE = 'PRIMARY KEY')) AS pkCol ON pkCol.TABLE_NAME = tabs.name AND pkCol.COLUMN_NAME = col.name
ORDER BY TableName, ColumnOrder

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/0BU9cjaOM5A/13687

 
Use the New Facebook To See Who Unfriends You [Facebook]
Friday, 23 September 2011 13:10
Facebook Timeline is pretty spectacular, giving a panoramic view of achievements, love, birth, death, and a lot of binge drinking photos. But what else does it provide? A window into social treachery: a list of those who've unfriended you. More »


Read more: http://feeds.gawker.com/~r/gizmodo/full/~3/ofdQ0sbsSu8/use-the-new-facebook-to-see-who-unfriends-you

 
Patton: Loved By You
Thursday, 21 July 2011 09:00

I wan-na be loved by youuu... no-body else will dooo. . . boo-boo-be-doo

Read more: http://suicidegirls.com/girls/Patton/photos/Loved+By+You+/

 
Start
Prev
1


Page 1 of 2
Taxonomy by Zaragoza Online