People ask a bit
Sql command (mssql 2008)
SELECT * from table where CAST (AS date right) = '2017-09-13'
Used directly on SQL Server Management Studio is ok
But using codeigniter does not result in any records
changed date format
2007/09/13 -> no results (record)
2017/13/09, 13/9 / 2017-> Error [Microsoft] [SQL Server Native Client 11.0] [SQL Server] Conversion failed when converting date and / or time from character string.
how to use?