Welcome Guest, Not a member yet? Register   Sign In
Use CodeIgniter to connect to mssql 2008
#1

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?
Reply
#2

@htclub,

How did you write the query in CodeIgniter?
Reply




Theme © iAndrew 2016 - Forum software by © MyBB