• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2017 MyBB Group.