MS SQL server 2014 - Date

I added a ShipDate to my SQL Invoice table with data type "Date".

We have no problem to enter a date and adding the record, on the server computer.
But on some computers it dosn't work, i get msg "[Microsoft][ODBC SQL Server Driver]Optional feature not implemented (#0)"
Unless i changed the data type "DateTime"
Can you explain please?
Thanks in advance
LVL 1
frimyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

lcohanDatabase AnalystCommented:
"But on some computers it dosn't work" - can you check the [Microsoft][ODBC SQL Server Driver]  DSN data source connections on those computers to make sure the explicit conversion is set? I believe on second tab from the left - Option 2 if I'm not mistaken?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Éric MoreauSenior .Net ConsultantCommented:
Date was a new feature added to SQL 2008 (if not mistaken) and older technology like ODBC (and you are probably using ADO) are not supporting it. The same thing would happen if you would try to use spatial data types.
0
lcohanDatabase AnalystCommented:
"ODBC timestamp escape sequences are of the format: { literal_type 'constant_value' }:

literal_type specifies the type of the escape sequence. Timestamps have three literal_type specifiers:
d = date only
t = time only
ts = timestamp (time + date)

'constant_value' is the value of the escape sequence. constant_value must follow these formats for each literal_type.
constant_value Is the value of the escape sequence. constant_value must follow these formats for each literal_type.
d
yyyy-mm-dd
t
hh:mm:ss[.fff]
ts
yyyy-mm-dd hh:mm:ss[.fff]


from SQL 2014 - https://msdn.microsoft.com/en-CA/library/ms187819.aspx
0
frimyAuthor Commented:
Thanks
But i cant find where to set the Explicit Conversion.
Can you be specific?
Thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.