![Getting this error when running Management Pack [Microsoft][ODBC SQL Server Driver][SQL Server] Implicit conversion from data type datetime to int is not allowed. Use the CONVERT function to run this query - Getting this error when running Management Pack [Microsoft][ODBC SQL Server Driver][SQL Server] Implicit conversion from data type datetime to int is not allowed. Use the CONVERT function to run this query -](https://www.sagecity.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/671/pastedimage1598609044951v1.png)
Getting this error when running Management Pack [Microsoft][ODBC SQL Server Driver][SQL Server] Implicit conversion from data type datetime to int is not allowed. Use the CONVERT function to run this query -
![SQL SERVER - Fix : Error: 217 Implicit conversion from data type datetime to int is not allowed. - SQL Authority with Pinal Dave SQL SERVER - Fix : Error: 217 Implicit conversion from data type datetime to int is not allowed. - SQL Authority with Pinal Dave](https://blog.sqlauthority.com/i/b/error-257-1.jpg)
SQL SERVER - Fix : Error: 217 Implicit conversion from data type datetime to int is not allowed. - SQL Authority with Pinal Dave
![SQL SERVER – Multiple ways to remove Milliseconds from Datetime (Truncate Datetime till Second) | SQL Server Portal SQL SERVER – Multiple ways to remove Milliseconds from Datetime (Truncate Datetime till Second) | SQL Server Portal](https://raresql.files.wordpress.com/2013/05/truncatemilliseconds1-1.png)
SQL SERVER – Multiple ways to remove Milliseconds from Datetime (Truncate Datetime till Second) | SQL Server Portal
![What You Need to Know about DATETIMEOFFSET and SQL Server 2016's AT TIME ZONE Function | ITPro Today: IT News, How-Tos, Trends, Case Studies, Career Tips, More What You Need to Know about DATETIMEOFFSET and SQL Server 2016's AT TIME ZONE Function | ITPro Today: IT News, How-Tos, Trends, Case Studies, Career Tips, More](https://www.itprotoday.com/sites/itprotoday.com/files/styles/article_featured_retina/public/uploads/2016/12/screen-shot-2016-12-12-93558-pm_0.png?itok=mAXcuivM)