Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
skk
Starting Member
8 Posts |
Posted - 2009-03-17 : 13:40:05
|
Hi I am getting a date field as varchar like yyyymmdd from flat file.i want to check this is a date r not in my ssis before sending it to SQL.How can i check this. |
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2009-03-18 : 07:27:45
|
SELECT * FROM Table1 WHERE Col1 LIKE '[12][0-9][0-9][0-9][01][0-9][0-3][0-9]'AND ISDATE(Col1) = 1 E 12°55'05.63"N 56°04'39.26" |
 |
|
|
|
|