CodeIgniter Forums

Full Version: quick way to keep out quotation marks for sql
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

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?