<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; DATE and TIME in SQL Server 2008</title>
	<atom:link href="http://blog.sqlauthority.com/2010/05/27/sql-server-date-and-time-in-sql-server-2008/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2010/05/27/sql-server-date-and-time-in-sql-server-2008/</link>
	<description>SQL, SQL Server, MySQL, Big Data and NoSQL</description>
	<lastBuildDate>Wed, 19 Jun 2013 21:45:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: SQL SERVER &#8211; Weekly Series &#8211; Memory Lane &#8211; #031 &#124; Journey to SQL Authority with Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2010/05/27/sql-server-date-and-time-in-sql-server-2008/#comment-486723</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Weekly Series &#8211; Memory Lane &#8211; #031 &#124; Journey to SQL Authority with Pinal Dave]]></dc:creator>
		<pubDate>Sat, 01 Jun 2013 01:31:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9112#comment-486723</guid>
		<description><![CDATA[[&#8230;] DATE and TIME in SQL Server 2008 When DATE is converted to DATETIME it adds the of midnight. When TIME is converted to DATETIME it adds the date of 1900 and it is something one wants to consider if you are going to run scripts from SQL Server 2008 to earlier version with CONVERT. [&#8230;]]]></description>
		<content:encoded><![CDATA[<p>[&#8230;] DATE and TIME in SQL Server 2008 When DATE is converted to DATETIME it adds the of midnight. When TIME is converted to DATETIME it adds the date of 1900 and it is something one wants to consider if you are going to run scripts from SQL Server 2008 to earlier version with CONVERT. [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rahul_Chalkhure</title>
		<link>http://blog.sqlauthority.com/2010/05/27/sql-server-date-and-time-in-sql-server-2008/#comment-400753</link>
		<dc:creator><![CDATA[Rahul_Chalkhure]]></dc:creator>
		<pubDate>Sat, 29 Dec 2012 04:36:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9112#comment-400753</guid>
		<description><![CDATA[hi pinal sir 

i have history data table in which date and time column
i want data from datewise but  in time 8am to todays date and next 8am to next day..
 in shot just like 12 am to 12am i want 8 am to 8am .. can u please hlep me?]]></description>
		<content:encoded><![CDATA[<p>hi pinal sir </p>
<p>i have history data table in which date and time column<br />
i want data from datewise but  in time 8am to todays date and next 8am to next day..<br />
 in shot just like 12 am to 12am i want 8 am to 8am .. can u please hlep me?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saroja</title>
		<link>http://blog.sqlauthority.com/2010/05/27/sql-server-date-and-time-in-sql-server-2008/#comment-391813</link>
		<dc:creator><![CDATA[saroja]]></dc:creator>
		<pubDate>Wed, 12 Dec 2012 09:35:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9112#comment-391813</guid>
		<description><![CDATA[hello sir , i have changed database from mssql 2003 to mssql 2008 and having problem  on converting varchar to datetime.this Code work fine in mssql 2003.Im confuse.Please help me. I cnt find the error.
Please refer below.
 mtg_date = Format(CDate(Me.txtmtgdate.Text &amp; &quot; &quot; &amp; Me.ddlHourFrom.SelectedValue &amp; &quot;:&quot; &amp; Me.ddlMinFrom.SelectedValue &amp; Me.ddlTimeFrom.SelectedValue), &quot;yyyy-MM-dd hh:mm:ss&quot;)

input data=12 DEC 2012 5 00 pm


* This coding not do any changes on datetime format.Please guide me.

Thank You.]]></description>
		<content:encoded><![CDATA[<p>hello sir , i have changed database from mssql 2003 to mssql 2008 and having problem  on converting varchar to datetime.this Code work fine in mssql 2003.Im confuse.Please help me. I cnt find the error.<br />
Please refer below.<br />
 mtg_date = Format(CDate(Me.txtmtgdate.Text &amp; &#8221; &#8221; &amp; Me.ddlHourFrom.SelectedValue &amp; &#8220;:&#8221; &amp; Me.ddlMinFrom.SelectedValue &amp; Me.ddlTimeFrom.SelectedValue), &#8220;yyyy-MM-dd hh:mm:ss&#8221;)</p>
<p>input data=12 DEC 2012 5 00 pm</p>
<p>* This coding not do any changes on datetime format.Please guide me.</p>
<p>Thank You.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER &#8211; Display Datetime in Specific Format &#8211; SQL in Sixty Seconds #033 &#8211; Video &#171; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2010/05/27/sql-server-date-and-time-in-sql-server-2008/#comment-377767</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Display Datetime in Specific Format &#8211; SQL in Sixty Seconds #033 &#8211; Video &#171; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Wed, 21 Nov 2012 01:30:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9112#comment-377767</guid>
		<description><![CDATA[[...] DATE and TIME in SQL Server 2008 [...]]]></description>
		<content:encoded><![CDATA[<p>[...] DATE and TIME in SQL Server 2008 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pravallika</title>
		<link>http://blog.sqlauthority.com/2010/05/27/sql-server-date-and-time-in-sql-server-2008/#comment-360167</link>
		<dc:creator><![CDATA[pravallika]]></dc:creator>
		<pubDate>Mon, 15 Oct 2012 06:31:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9112#comment-360167</guid>
		<description><![CDATA[Hi,
I have 2 columns in database
one column for inserting only hours and   another column for inserting present datetime format.
In this how can i get the difference between these two columns and display the value.
For example i am inserting 30 hrs for hours column and inserting present date.
If am opening the page in after 2 hrs .remainig time is 28 hrs.
How can i get this value from these two columns difference.
can you please help me]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
I have 2 columns in database<br />
one column for inserting only hours and   another column for inserting present datetime format.<br />
In this how can i get the difference between these two columns and display the value.<br />
For example i am inserting 30 hrs for hours column and inserting present date.<br />
If am opening the page in after 2 hrs .remainig time is 28 hrs.<br />
How can i get this value from these two columns difference.<br />
can you please help me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2010/05/27/sql-server-date-and-time-in-sql-server-2008/#comment-343591</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Thu, 13 Sep 2012 10:37:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9112#comment-343591</guid>
		<description><![CDATA[Query on sys.triggers]]></description>
		<content:encoded><![CDATA[<p>Query on sys.triggers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Babuni Sahoo</title>
		<link>http://blog.sqlauthority.com/2010/05/27/sql-server-date-and-time-in-sql-server-2008/#comment-343479</link>
		<dc:creator><![CDATA[Babuni Sahoo]]></dc:creator>
		<pubDate>Thu, 13 Sep 2012 05:19:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9112#comment-343479</guid>
		<description><![CDATA[Hi Pinal
How can we find that which trigger is created on which table..?
Is there any script for this..?]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal<br />
How can we find that which trigger is created on which table..?<br />
Is there any script for this..?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER &#8211; Get Date and Time From Current DateTime &#8211; SQL in Sixty Seconds #025 &#8211; Video &#171; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2010/05/27/sql-server-date-and-time-in-sql-server-2008/#comment-343004</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Get Date and Time From Current DateTime &#8211; SQL in Sixty Seconds #025 &#8211; Video &#171; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Wed, 12 Sep 2012 01:31:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9112#comment-343004</guid>
		<description><![CDATA[[...] DATE and TIME in SQL Server 2008 [...]]]></description>
		<content:encoded><![CDATA[<p>[...] DATE and TIME in SQL Server 2008 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anuradha</title>
		<link>http://blog.sqlauthority.com/2010/05/27/sql-server-date-and-time-in-sql-server-2008/#comment-342528</link>
		<dc:creator><![CDATA[Anuradha]]></dc:creator>
		<pubDate>Mon, 10 Sep 2012 13:40:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9112#comment-342528</guid>
		<description><![CDATA[Select Convert(Varchar(10),getdate(),105)]]></description>
		<content:encoded><![CDATA[<p>Select Convert(Varchar(10),getdate(),105)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2010/05/27/sql-server-date-and-time-in-sql-server-2008/#comment-287509</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Wed, 23 May 2012 09:59:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9112#comment-287509</guid>
		<description><![CDATA[NUMBER is not a valid datatype in SQL Server. You should use INT]]></description>
		<content:encoded><![CDATA[<p>NUMBER is not a valid datatype in SQL Server. You should use INT</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mahesh</title>
		<link>http://blog.sqlauthority.com/2010/05/27/sql-server-date-and-time-in-sql-server-2008/#comment-286861</link>
		<dc:creator><![CDATA[Mahesh]]></dc:creator>
		<pubDate>Mon, 21 May 2012 16:58:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9112#comment-286861</guid>
		<description><![CDATA[the error msg  for the above query was this..
 :Msg 2715, Level 16, State 7, Line 1
Column, parameter, or variable #1: Cannot find data type NUMBER.]]></description>
		<content:encoded><![CDATA[<p>the error msg  for the above query was this..<br />
 :Msg 2715, Level 16, State 7, Line 1<br />
Column, parameter, or variable #1: Cannot find data type NUMBER.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mahesh</title>
		<link>http://blog.sqlauthority.com/2010/05/27/sql-server-date-and-time-in-sql-server-2008/#comment-286860</link>
		<dc:creator><![CDATA[Mahesh]]></dc:creator>
		<pubDate>Mon, 21 May 2012 16:57:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9112#comment-286860</guid>
		<description><![CDATA[hi pinal ,

 im new to sql.and i have recently installed sql server 2008 and when i tried to craete a new table i got the following error like cannnot find the data type number for the below query..tell me how to overcome this.. thanks in advance...the query and the error are given below...
CREATE TABLE department(
departmentid NUMBER(2) CONSTRAINT pk_department_departmentid PRIMARY KEY,
departmentname VARCHAR2(30) NOT NULL,
headofdepartment VARCHAR2(4)
);]]></description>
		<content:encoded><![CDATA[<p>hi pinal ,</p>
<p> im new to sql.and i have recently installed sql server 2008 and when i tried to craete a new table i got the following error like cannnot find the data type number for the below query..tell me how to overcome this.. thanks in advance&#8230;the query and the error are given below&#8230;<br />
CREATE TABLE department(<br />
departmentid NUMBER(2) CONSTRAINT pk_department_departmentid PRIMARY KEY,<br />
departmentname VARCHAR2(30) NOT NULL,<br />
headofdepartment VARCHAR2(4)<br />
);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Siddhesh</title>
		<link>http://blog.sqlauthority.com/2010/05/27/sql-server-date-and-time-in-sql-server-2008/#comment-253178</link>
		<dc:creator><![CDATA[Siddhesh]]></dc:creator>
		<pubDate>Thu, 16 Feb 2012 11:37:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9112#comment-253178</guid>
		<description><![CDATA[Dear pinaldave
please help me

i want the difference between time
i have two column with the datetime data type

i tried the following query but it is not working

&quot;SELECT CONVERT(VARCHAR(5),OutTimeEnter,108) - CONVERT(VARCHAR(5),InTimeEnter,108)
FROM dbo.trx_DailyWork &quot;

I want the total time between &quot;InTime&quot; and &quot;OutTime&quot;]]></description>
		<content:encoded><![CDATA[<p>Dear pinaldave<br />
please help me</p>
<p>i want the difference between time<br />
i have two column with the datetime data type</p>
<p>i tried the following query but it is not working</p>
<p>&#8220;SELECT CONVERT(VARCHAR(5),OutTimeEnter,108) &#8211; CONVERT(VARCHAR(5),InTimeEnter,108)<br />
FROM dbo.trx_DailyWork &#8221;</p>
<p>I want the total time between &#8220;InTime&#8221; and &#8220;OutTime&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER &#8211; Lots of Date Functions &#8211; Find Right One to Use &#8211; Quiz &#8211; Puzzle &#8211; 27 of 31 &#171; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2010/05/27/sql-server-date-and-time-in-sql-server-2008/#comment-244742</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Lots of Date Functions &#8211; Find Right One to Use &#8211; Quiz &#8211; Puzzle &#8211; 27 of 31 &#171; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Sat, 28 Jan 2012 01:32:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9112#comment-244742</guid>
		<description><![CDATA[[...] SQL Server Interview Questions and Answers ISBN: 1466405643 Page#133 Difference Between DATETIME and DATETIME2 Difference Between GETDATE and SYSDATETIME Get Time in Hour:Minute Format from a Datetime – Get Date Part Only from Datetime Datetime Function TODATETIMEOFFSET Example Information Related to DATETIME and DATETIME2 Datetime Function SWITCHOFFSET Example Difference Between DATETIME and DATETIME2 – WITH GETDATE DATE and TIME in SQL Server 2008 [...]]]></description>
		<content:encoded><![CDATA[<p>[...] SQL Server Interview Questions and Answers ISBN: 1466405643 Page#133 Difference Between DATETIME and DATETIME2 Difference Between GETDATE and SYSDATETIME Get Time in Hour:Minute Format from a Datetime – Get Date Part Only from Datetime Datetime Function TODATETIMEOFFSET Example Information Related to DATETIME and DATETIME2 Datetime Function SWITCHOFFSET Example Difference Between DATETIME and DATETIME2 – WITH GETDATE DATE and TIME in SQL Server 2008 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Parth Mehta</title>
		<link>http://blog.sqlauthority.com/2010/05/27/sql-server-date-and-time-in-sql-server-2008/#comment-240657</link>
		<dc:creator><![CDATA[Parth Mehta]]></dc:creator>
		<pubDate>Thu, 19 Jan 2012 09:16:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9112#comment-240657</guid>
		<description><![CDATA[@ rahul Kumar .... to convert sql data and time data type into date 

syntax :- 

convert(DATE, convert(VARCHAR, TableName.ColumnName, 101))]]></description>
		<content:encoded><![CDATA[<p>@ rahul Kumar &#8230;. to convert sql data and time data type into date </p>
<p>syntax :- </p>
<p>convert(DATE, convert(VARCHAR, TableName.ColumnName, 101))</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rahul Kumar</title>
		<link>http://blog.sqlauthority.com/2010/05/27/sql-server-date-and-time-in-sql-server-2008/#comment-234070</link>
		<dc:creator><![CDATA[Rahul Kumar]]></dc:creator>
		<pubDate>Mon, 09 Jan 2012 08:33:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9112#comment-234070</guid>
		<description><![CDATA[How we can convert Datetime to Date Only ....]]></description>
		<content:encoded><![CDATA[<p>How we can convert Datetime to Date Only &#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2010/05/27/sql-server-date-and-time-in-sql-server-2008/#comment-164676</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Fri, 02 Sep 2011 07:47:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9112#comment-164676</guid>
		<description><![CDATA[Alter table table_name disable contraint contraint_name]]></description>
		<content:encoded><![CDATA[<p>Alter table table_name disable contraint contraint_name</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob</title>
		<link>http://blog.sqlauthority.com/2010/05/27/sql-server-date-and-time-in-sql-server-2008/#comment-163662</link>
		<dc:creator><![CDATA[Jacob]]></dc:creator>
		<pubDate>Tue, 30 Aug 2011 16:12:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9112#comment-163662</guid>
		<description><![CDATA[Dear Pinal,

how can I disable constraints and triggers of a table in SQL database just like in oracle database to insert  some data?

Thanks,

Jacob]]></description>
		<content:encoded><![CDATA[<p>Dear Pinal,</p>
<p>how can I disable constraints and triggers of a table in SQL database just like in oracle database to insert  some data?</p>
<p>Thanks,</p>
<p>Jacob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jhony</title>
		<link>http://blog.sqlauthority.com/2010/05/27/sql-server-date-and-time-in-sql-server-2008/#comment-142987</link>
		<dc:creator><![CDATA[jhony]]></dc:creator>
		<pubDate>Wed, 22 Jun 2011 13:45:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9112#comment-142987</guid>
		<description><![CDATA[can i use these changes in sql server 2008 express edition]]></description>
		<content:encoded><![CDATA[<p>can i use these changes in sql server 2008 express edition</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQLAuthority News – Monthly Roundup of Best SQL Posts Journey to SQL Authority with Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2010/05/27/sql-server-date-and-time-in-sql-server-2008/#comment-73936</link>
		<dc:creator><![CDATA[SQLAuthority News – Monthly Roundup of Best SQL Posts Journey to SQL Authority with Pinal Dave]]></dc:creator>
		<pubDate>Mon, 31 May 2010 01:32:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9112#comment-73936</guid>
		<description><![CDATA[[...] SQL SERVER – The Difference between Dual Core vs. Core 2 Duo SQLAuthority News – Wireless Router Security and Attached Devices – Complex Password SQL SERVER – DATE and TIME in SQL Server 2008 [...]]]></description>
		<content:encoded><![CDATA[<p>[...] SQL SERVER – The Difference between Dual Core vs. Core 2 Duo SQLAuthority News – Wireless Router Security and Attached Devices – Complex Password SQL SERVER – DATE and TIME in SQL Server 2008 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramdas</title>
		<link>http://blog.sqlauthority.com/2010/05/27/sql-server-date-and-time-in-sql-server-2008/#comment-73487</link>
		<dc:creator><![CDATA[Ramdas]]></dc:creator>
		<pubDate>Thu, 27 May 2010 14:01:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9112#comment-73487</guid>
		<description><![CDATA[Yes the TIME datatype is new to sql server 2008. I would excersise caution trying to run scripts using new datatypes in 2008 on 2005. Probably one way would is to use common data types betwen 2005 and 2008. In other words if one is developing on both platforms go with the common denominator features.]]></description>
		<content:encoded><![CDATA[<p>Yes the TIME datatype is new to sql server 2008. I would excersise caution trying to run scripts using new datatypes in 2008 on 2005. Probably one way would is to use common data types betwen 2005 and 2008. In other words if one is developing on both platforms go with the common denominator features.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhivanan</title>
		<link>http://blog.sqlauthority.com/2010/05/27/sql-server-date-and-time-in-sql-server-2008/#comment-73408</link>
		<dc:creator><![CDATA[Madhivanan]]></dc:creator>
		<pubDate>Thu, 27 May 2010 08:12:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9112#comment-73408</guid>
		<description><![CDATA[When a time is converted to datetime, by default the base date 1900-01-01 added to it until you specify the date
Also refer this to knwo the basic understanding on how datetime columns work in SQL Server http://beyondrelational.com/blogs/madhivanan/archive/2010/05/25/understanding-datetime-column-part-i.aspx]]></description>
		<content:encoded><![CDATA[<p>When a time is converted to datetime, by default the base date 1900-01-01 added to it until you specify the date<br />
Also refer this to knwo the basic understanding on how datetime columns work in SQL Server <a href="http://beyondrelational.com/blogs/madhivanan/archive/2010/05/25/understanding-datetime-column-part-i.aspx" rel="nofollow">http://beyondrelational.com/blogs/madhivanan/archive/2010/05/25/understanding-datetime-column-part-i.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pinaldave</title>
		<link>http://blog.sqlauthority.com/2010/05/27/sql-server-date-and-time-in-sql-server-2008/#comment-73376</link>
		<dc:creator><![CDATA[pinaldave]]></dc:creator>
		<pubDate>Thu, 27 May 2010 06:02:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9112#comment-73376</guid>
		<description><![CDATA[Hi,

It will only work in SQL Server 2008 and not in 2005.

Kind Regards,
Pinal]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>It will only work in SQL Server 2008 and not in 2005.</p>
<p>Kind Regards,<br />
Pinal</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vetri</title>
		<link>http://blog.sqlauthority.com/2010/05/27/sql-server-date-and-time-in-sql-server-2008/#comment-73369</link>
		<dc:creator><![CDATA[vetri]]></dc:creator>
		<pubDate>Thu, 27 May 2010 05:24:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=9112#comment-73369</guid>
		<description><![CDATA[Hi Pinal,

    I have tried your code in both sql server 2005 and sql express 2008,but i have not get any result instead i got the following error message &quot;Msg 2715, Level 16, State 3, Line 6
Column, parameter, or variable #1: Cannot find data type DATE.
Parameter or variable &#039;@varDate&#039; has an invalid data type.
Msg 2715, Level 16, State 3, Line 6
Column, parameter, or variable #2: Cannot find data type TIME.
Parameter or variable &#039;@varTime&#039; has an invalid data type.&quot;]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>    I have tried your code in both sql server 2005 and sql express 2008,but i have not get any result instead i got the following error message &#8220;Msg 2715, Level 16, State 3, Line 6<br />
Column, parameter, or variable #1: Cannot find data type DATE.<br />
Parameter or variable &#8216;@varDate&#8217; has an invalid data type.<br />
Msg 2715, Level 16, State 3, Line 6<br />
Column, parameter, or variable #2: Cannot find data type TIME.<br />
Parameter or variable &#8216;@varTime&#8217; has an invalid data type.&#8221;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
