CodeIgniter Forums
Using Concat with IFNULL for my ActiveRecord Query. - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Using Concat with IFNULL for my ActiveRecord Query. (/thread-59636.html)



Using Concat with IFNULL for my ActiveRecord Query. - El Forum - 10-29-2013

[eluser]xtremer360[/eluser]
I'm simply trying to figure out what's wrong with this line in my query.

$this->db->select("IFNULL(CONCAT_WS('----', updator.first_name, updator.last_name) AS updated_by", FALSE);