• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
quick way to keep out quotation marks for sql

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?

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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