The Tech Pursuit
The Dev Shelf
Pages
Home
Interview Questions
About Me
January 13, 2012
DATE Data Type in SQL Server 2008
DATE is new data type that has been introduced in SQL Server 2008.It stores only date part.
DECLARE
@DT DATE
SET
@DT
=
'2012-01-13'
SELECT
@DT
AS
'Date'
That’s It.
Enjoy Learning.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment