Snappy2873
Programmer
Good morning,
i'm currently trying to migrate and Access db to a SQL 2k environment. Everything transfers except one table which consists of mostly text columns but has (2) date columns. I've tried changing the date format before I DTS it over but once I execute I get this error:
"status 6: Data overflow. Invalid character value for cast
specification"
I've used general, long and medium date formats in Access but cannot clear this hurdle.
The column will transfer if I change it to text in Access and the result is an "nvarchar" data type with a result like this: 06/22/2004
Does anyone have a good T-SQL script reccom to convert
"nvarchar" data type to a "datetime" or "smalldatetime" data type?
Is there a more efficient way to accomplish this?
Thanks,
snappy
i'm currently trying to migrate and Access db to a SQL 2k environment. Everything transfers except one table which consists of mostly text columns but has (2) date columns. I've tried changing the date format before I DTS it over but once I execute I get this error:
"status 6: Data overflow. Invalid character value for cast
specification"
I've used general, long and medium date formats in Access but cannot clear this hurdle.
The column will transfer if I change it to text in Access and the result is an "nvarchar" data type with a result like this: 06/22/2004
Does anyone have a good T-SQL script reccom to convert
"nvarchar" data type to a "datetime" or "smalldatetime" data type?
Is there a more efficient way to accomplish this?
Thanks,
snappy