quick way to keep out quotation marks for sql - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: quick way to keep out quotation marks for sql (/showthread.php?tid=48192) |
quick way to keep out quotation marks for sql - El Forum - 01-07-2012 [eluser]Unknown[/eluser] I am using SQL Server and need to do an insert with a NEWID() function but if I put "NEWID()" into the data array, I get an incorrect t-sql command generated with quotes around NEWID. How can I construct the $data array for my insert to not put quotes in for this part? |