<?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; Validate Field For DATE datatype using function ISDATE()</title>
	<atom:link href="http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Fri, 10 Feb 2012 02:12:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: virendra tyagi</title>
		<link>http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-121992</link>
		<dc:creator><![CDATA[virendra tyagi]]></dc:creator>
		<pubDate>Sat, 05 Mar 2011 11:25:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-121992</guid>
		<description><![CDATA[Hi 
             Sir



Use isdate function]]></description>
		<content:encoded><![CDATA[<p>Hi<br />
             Sir</p>
<p>Use isdate function</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-120256</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Wed, 23 Feb 2011 13:15:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-120256</guid>
		<description><![CDATA[Explain the validation rules]]></description>
		<content:encoded><![CDATA[<p>Explain the validation rules</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vijay</title>
		<link>http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-120204</link>
		<dc:creator><![CDATA[vijay]]></dc:creator>
		<pubDate>Wed, 23 Feb 2011 06:00:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-120204</guid>
		<description><![CDATA[hi i want the all validations for the given date]]></description>
		<content:encoded><![CDATA[<p>hi i want the all validations for the given date</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-118649</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Tue, 15 Feb 2011 15:49:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-118649</guid>
		<description><![CDATA[Use isdate function

if isdate(date)=1 and len(date)=10
--valid date]]></description>
		<content:encoded><![CDATA[<p>Use isdate function</p>
<p>if isdate(date)=1 and len(date)=10<br />
&#8211;valid date</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-117785</link>
		<dc:creator><![CDATA[Joe]]></dc:creator>
		<pubDate>Wed, 09 Feb 2011 21:31:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-117785</guid>
		<description><![CDATA[Fairly new to native sql. The user is sending a date defined as char(10). I need to check this to make sure it is coming in the format of yyyy-mm-dd. How do I do this?]]></description>
		<content:encoded><![CDATA[<p>Fairly new to native sql. The user is sending a date defined as char(10). I need to check this to make sure it is coming in the format of yyyy-mm-dd. How do I do this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kashif</title>
		<link>http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-114870</link>
		<dc:creator><![CDATA[Kashif]]></dc:creator>
		<pubDate>Fri, 28 Jan 2011 09:15:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-114870</guid>
		<description><![CDATA[Did you write code on the fly or checked it by executing your script.

----Valid date
SELECT ISDATE(&#039;12/12/20007)&#039;
RETURNS : 1 (ONE)

Incorrect syntax near &#039;12/12/20007)&#039;]]></description>
		<content:encoded><![CDATA[<p>Did you write code on the fly or checked it by executing your script.</p>
<p>&#8212;-Valid date<br />
SELECT ISDATE(&#8217;12/12/20007)&#8217;<br />
RETURNS : 1 (ONE)</p>
<p>Incorrect syntax near &#8217;12/12/20007)&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-99314</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Fri, 12 Nov 2010 13:47:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-99314</guid>
		<description><![CDATA[Yes. It should have updated]]></description>
		<content:encoded><![CDATA[<p>Yes. It should have updated</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-99313</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Fri, 12 Nov 2010 13:42:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-99313</guid>
		<description><![CDATA[Make sure to read this post
http://beyondrelational.com/blogs/madhivanan/archive/2010/06/03/understanding-datetime-column-part-ii.aspx]]></description>
		<content:encoded><![CDATA[<p>Make sure to read this post<br />
<a href="http://beyondrelational.com/blogs/madhivanan/archive/2010/06/03/understanding-datetime-column-part-ii.aspx" rel="nofollow">http://beyondrelational.com/blogs/madhivanan/archive/2010/06/03/understanding-datetime-column-part-ii.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tharindu Dhaneenja</title>
		<link>http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-99297</link>
		<dc:creator><![CDATA[Tharindu Dhaneenja]]></dc:creator>
		<pubDate>Fri, 12 Nov 2010 12:22:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-99297</guid>
		<description><![CDATA[hi all,
pls vote this is important,
https://connect.microsoft.com/sql/feedback/ViewFeedback.aspx?FeedbackID=327335&amp;wa=wsignin1.0

Thanks
Tharindu Dhaneenja]]></description>
		<content:encoded><![CDATA[<p>hi all,<br />
pls vote this is important,<br />
<a href="https://connect.microsoft.com/sql/feedback/ViewFeedback.aspx?FeedbackID=327335&#038;wa=wsignin1.0" rel="nofollow">https://connect.microsoft.com/sql/feedback/ViewFeedback.aspx?FeedbackID=327335&#038;wa=wsignin1.0</a></p>
<p>Thanks<br />
Tharindu Dhaneenja</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhu Gorthi</title>
		<link>http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-89817</link>
		<dc:creator><![CDATA[madhu Gorthi]]></dc:creator>
		<pubDate>Mon, 27 Sep 2010 23:32:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-89817</guid>
		<description><![CDATA[BTW in SQL Server 2008 there is a new datatype DATETIME2 which supports the dates from 0001-01-01 through 9999-12-31. But Microsoft did not update the ISDATE() function to support this date range. no even 2008 R2. This is funny.]]></description>
		<content:encoded><![CDATA[<p>BTW in SQL Server 2008 there is a new datatype DATETIME2 which supports the dates from 0001-01-01 through 9999-12-31. But Microsoft did not update the ISDATE() function to support this date range. no even 2008 R2. This is funny.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-73500</link>
		<dc:creator><![CDATA[Madhivanan]]></dc:creator>
		<pubDate>Thu, 27 May 2010 15:10:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-73500</guid>
		<description><![CDATA[select column_name, data_type from information_schema.columns
where table_name=&#039;your_table&#039;]]></description>
		<content:encoded><![CDATA[<p>select column_name, data_type from information_schema.columns<br />
where table_name=&#8217;your_table&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: VV</title>
		<link>http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-73480</link>
		<dc:creator><![CDATA[VV]]></dc:creator>
		<pubDate>Thu, 27 May 2010 13:10:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-73480</guid>
		<description><![CDATA[Hi, I actually have a wider question: say we have a table where all columns are VARCHARs and we need to determine type of data in each column. I do understnad that result may not be 100% properly guaranteed but how would you solve this task ?]]></description>
		<content:encoded><![CDATA[<p>Hi, I actually have a wider question: say we have a table where all columns are VARCHARs and we need to determine type of data in each column. I do understnad that result may not be 100% properly guaranteed but how would you solve this task ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-73021</link>
		<dc:creator><![CDATA[Madhivanan]]></dc:creator>
		<pubDate>Tue, 25 May 2010 11:06:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-73021</guid>
		<description><![CDATA[Yes. It is not reliable
Refer this for more informations and to knwo how to use it effectively
http://beyondrelational.com/blogs/madhivanan/archive/2007/09/24/handle-isdate-with-care.aspx]]></description>
		<content:encoded><![CDATA[<p>Yes. It is not reliable<br />
Refer this for more informations and to knwo how to use it effectively<br />
<a href="http://beyondrelational.com/blogs/madhivanan/archive/2007/09/24/handle-isdate-with-care.aspx" rel="nofollow">http://beyondrelational.com/blogs/madhivanan/archive/2007/09/24/handle-isdate-with-care.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-73020</link>
		<dc:creator><![CDATA[Madhivanan]]></dc:creator>
		<pubDate>Tue, 25 May 2010 11:04:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-73020</guid>
		<description><![CDATA[Post the code that caused the error]]></description>
		<content:encoded><![CDATA[<p>Post the code that caused the error</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: swethaa</title>
		<link>http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-72972</link>
		<dc:creator><![CDATA[swethaa]]></dc:creator>
		<pubDate>Tue, 25 May 2010 05:36:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-72972</guid>
		<description><![CDATA[when inserting a row into the table which has a column with datatype smalldatetime im getting the following  error 

Conversion failed when converting character string to smalldatetime data type 


how can i fix this error???

thanks]]></description>
		<content:encoded><![CDATA[<p>when inserting a row into the table which has a column with datatype smalldatetime im getting the following  error </p>
<p>Conversion failed when converting character string to smalldatetime data type </p>
<p>how can i fix this error???</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-68118</link>
		<dc:creator><![CDATA[Tim]]></dc:creator>
		<pubDate>Fri, 30 Apr 2010 19:03:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-68118</guid>
		<description><![CDATA[IsDate() is not reliable. 

select isDate(&#039;01/01/9607&#039;) -- returns 1
select convert(datetime,&#039;01/01/9607&#039;,1) -- fails]]></description>
		<content:encoded><![CDATA[<p>IsDate() is not reliable. </p>
<p>select isDate(&#8217;01/01/9607&#8242;) &#8212; returns 1<br />
select convert(datetime,&#8217;01/01/9607&#8242;,1) &#8212; fails</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roshan</title>
		<link>http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-67468</link>
		<dc:creator><![CDATA[Roshan]]></dc:creator>
		<pubDate>Wed, 28 Apr 2010 16:44:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-67468</guid>
		<description><![CDATA[There are some typos in the blog,

Just to make things clear ..
First - ISDATE Function validates a Date and returns a 1 when it comes across a valid date else returns 0

In the Blog the 2nd example still has an Invalid Date.]]></description>
		<content:encoded><![CDATA[<p>There are some typos in the blog,</p>
<p>Just to make things clear ..<br />
First &#8211; ISDATE Function validates a Date and returns a 1 when it comes across a valid date else returns 0</p>
<p>In the Blog the 2nd example still has an Invalid Date.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-60792</link>
		<dc:creator><![CDATA[Pinal Dave]]></dc:creator>
		<pubDate>Sat, 06 Feb 2010 17:21:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-60792</guid>
		<description><![CDATA[Hello Ashutosh,

How many row should this query return?
Because the record that you mention does not pass the criteria.
If there is other issue than please clarify.

Regards,
Pinal Dave]]></description>
		<content:encoded><![CDATA[<p>Hello Ashutosh,</p>
<p>How many row should this query return?<br />
Because the record that you mention does not pass the criteria.<br />
If there is other issue than please clarify.</p>
<p>Regards,<br />
Pinal Dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashutosh Katariya</title>
		<link>http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-60785</link>
		<dc:creator><![CDATA[Ashutosh Katariya]]></dc:creator>
		<pubDate>Sat, 06 Feb 2010 12:37:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-60785</guid>
		<description><![CDATA[hi

i have following records in this my datetime table

 startdate                                        enddate
 2009-12-29 00:00:00.000              2010-02-28 00:00:00.000

when i run the following query :

select * from datetime where startdate&gt;=&#039;2010-01-31&#039; and enddate&lt;=&#039;2010-02-15&#039;

it will 0 row return : how? 

Please help me
Thanks in advance]]></description>
		<content:encoded><![CDATA[<p>hi</p>
<p>i have following records in this my datetime table</p>
<p> startdate                                        enddate<br />
 2009-12-29 00:00:00.000              2010-02-28 00:00:00.000</p>
<p>when i run the following query :</p>
<p>select * from datetime where startdate&gt;=&#8217;2010-01-31&#8242; and enddate&lt;=&#039;2010-02-15&#039;</p>
<p>it will 0 row return : how? </p>
<p>Please help me<br />
Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Moore</title>
		<link>http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-41070</link>
		<dc:creator><![CDATA[Patrick Moore]]></dc:creator>
		<pubDate>Wed, 30 Jul 2008 15:49:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-41070</guid>
		<description><![CDATA[I ran into a similar problem that ran a little deeper.

I was converting some data that came from one of our Canadian clients and our office is in the U.S.

The problem I had with the IsDate function is that Canadian dates stored as VARCHAR(8) usually assume the French date style of DD/MM/YY. When trying to convert them, they would fail if the date was invalid.

Using IsDate from and American computer transposes the month and day field and also returns 0 for quite a few legit dates. As a result of this, I was unable to check for invalid dates.

I had to wrap most of my sql script inside a couple lines that temporarily change the local language to get the correct results from the IsDate function.

SET LANGUAGE French

--my code

SET LANGUAGE English

Is there any other way to do this without changing the language?]]></description>
		<content:encoded><![CDATA[<p>I ran into a similar problem that ran a little deeper.</p>
<p>I was converting some data that came from one of our Canadian clients and our office is in the U.S.</p>
<p>The problem I had with the IsDate function is that Canadian dates stored as VARCHAR(8) usually assume the French date style of DD/MM/YY. When trying to convert them, they would fail if the date was invalid.</p>
<p>Using IsDate from and American computer transposes the month and day field and also returns 0 for quite a few legit dates. As a result of this, I was unable to check for invalid dates.</p>
<p>I had to wrap most of my sql script inside a couple lines that temporarily change the local language to get the correct results from the IsDate function.</p>
<p>SET LANGUAGE French</p>
<p>&#8211;my code</p>
<p>SET LANGUAGE English</p>
<p>Is there any other way to do this without changing the language?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-33781</link>
		<dc:creator><![CDATA[Madhivanan]]></dc:creator>
		<pubDate>Fri, 15 Feb 2008 12:46:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-33781</guid>
		<description><![CDATA[FYI, ISDATE() is not reliable

http://sqlblogcasts.com/blogs/madhivanan/archive/2007/09/24/hadle-isdate-with-care.aspx]]></description>
		<content:encoded><![CDATA[<p>FYI, ISDATE() is not reliable</p>
<p><a href="http://sqlblogcasts.com/blogs/madhivanan/archive/2007/09/24/hadle-isdate-with-care.aspx" rel="nofollow">http://sqlblogcasts.com/blogs/madhivanan/archive/2007/09/24/hadle-isdate-with-care.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-33697</link>
		<dc:creator><![CDATA[Andrew]]></dc:creator>
		<pubDate>Tue, 12 Feb 2008 18:03:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-33697</guid>
		<description><![CDATA[--TheDate is a legacy varchar(10) column that allowed users to enter a date, 2/29/07, 02-29-2007, Today, Daily, etc... 
--Why does ISDATE(TheDate) = 1 not restrict the result set before it does the cast?
--Conversion failed when converting character string to smalldatetime data type

SELECT
	ID,
	UserID,
	TheDate
FROM
	Table1 
WHERE
	ISDATE(TheDate) = 1
	CAST(TheDate AS DATETIME) &gt;= @Start_Date

--Instead I have to do this...

SELECT
	ID,
	UserID,
	TheDate
FROM
	Table1 
WHERE
	ISDATE(TheDate) = 1
AND TheDate  &#039;Daily&#039;
AND TheDate  &#039;Today&#039;
AND CAST(TheDate AS DATETIME) &gt;= @Start_Date]]></description>
		<content:encoded><![CDATA[<p>&#8211;TheDate is a legacy varchar(10) column that allowed users to enter a date, 2/29/07, 02-29-2007, Today, Daily, etc&#8230;<br />
&#8211;Why does ISDATE(TheDate) = 1 not restrict the result set before it does the cast?<br />
&#8211;Conversion failed when converting character string to smalldatetime data type</p>
<p>SELECT<br />
	ID,<br />
	UserID,<br />
	TheDate<br />
FROM<br />
	Table1<br />
WHERE<br />
	ISDATE(TheDate) = 1<br />
	CAST(TheDate AS DATETIME) &gt;= @Start_Date</p>
<p>&#8211;Instead I have to do this&#8230;</p>
<p>SELECT<br />
	ID,<br />
	UserID,<br />
	TheDate<br />
FROM<br />
	Table1<br />
WHERE<br />
	ISDATE(TheDate) = 1<br />
AND TheDate  &#8216;Daily&#8217;<br />
AND TheDate  &#8216;Today&#8217;<br />
AND CAST(TheDate AS DATETIME) &gt;= @Start_Date</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vijay</title>
		<link>http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-33560</link>
		<dc:creator><![CDATA[Vijay]]></dc:creator>
		<pubDate>Thu, 07 Feb 2008 04:24:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-33560</guid>
		<description><![CDATA[Just be aware that the isdate() will not work with the new &quot;date&quot; datatype in SQL 2008]]></description>
		<content:encoded><![CDATA[<p>Just be aware that the isdate() will not work with the new &#8220;date&#8221; datatype in SQL 2008</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER - UDF - Validate Integer Function Journey to SQL Authority with Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-7389</link>
		<dc:creator><![CDATA[SQL SERVER - UDF - Validate Integer Function Journey to SQL Authority with Pinal Dave]]></dc:creator>
		<pubDate>Sat, 11 Aug 2007 14:19:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/12/sql-server-validate-field-for-date-datatype-using-function-isdate/#comment-7389</guid>
		<description><![CDATA[[...] Aug 11th, 2007 by pinaldave    I received quite a good feedback about my post about SQL SERVER - Validate Field For DATE datatype using function ISDATE() [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Aug 11th, 2007 by pinaldave    I received quite a good feedback about my post about SQL SERVER &#8211; Validate Field For DATE datatype using function ISDATE() [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

