Use CodeIgniter to connect to mssql 2008 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Use CodeIgniter to connect to mssql 2008 (/showthread.php?tid=68920) |
Use CodeIgniter to connect to mssql 2008 - htclub - 09-13-2017 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? RE: Use CodeIgniter to connect to mssql 2008 - php_rocs - 09-14-2017 @htclub, How did you write the query in CodeIgniter? |