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

SqlServer2012Provider is using DbType 'datetime' instead of 'datetime2' (v3.0) #88

Closed
preslavnd opened this issue Jun 9, 2016 · 2 comments

Comments

@preslavnd
Copy link

Is there a particular reason to be using it or an easy way to override this behavior? MSDN doc is recommending using datetime2 over datetime, and we are currently facing an issue where because of this, the precision of the datetime is lowered and we are receiving incorrect results.

@sapiens
Copy link
Owner

sapiens commented Jun 9, 2016

SqlFu uses DateTime2 for values with year < 1753 when updating. But I guess I can make it default.

@sapiens
Copy link
Owner

sapiens commented Jun 9, 2016

ver 3.2.0 solves this issue

@sapiens sapiens closed this as completed Jun 9, 2016
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