Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bulk Insert - Date issue #99

Open
samitshah78 opened this issue Nov 28, 2022 · 1 comment
Open

Bulk Insert - Date issue #99

samitshah78 opened this issue Nov 28, 2022 · 1 comment

Comments

@samitshah78
Copy link

Hi,

I am trying to do bulk insert into Azure SQL Server and having date field in the dataset. Both source and target have date datatype, but it fails with error "_tds.ProgrammingError: Conversion failed when converting date and/or time from character string." When I change datatype on target to datetime, it works fine. I am using CTDS - 1.10. In my connection string, I am passing tds_version as 7.1 else it does not even try to connect with higher version of tds_version.

Please advise

@joshuahlang
Copy link
Collaborator

What version of FreeTDS are you using?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants