raghav
02/29/2024, 4:11 PMsoTrans.entity = '113950'
AND l.id = '80'
AND shipadd.city = "Coeur D' Alene"
AND shipadd.zip = '83815'
The inverted comma in the shippadd.city is causing this error.
Invalid identifier 'Coeur D' Alene', only alphanumeric and underscore characters are allowed.
How will one handle this, in suiteql?Anthony OConnor
02/29/2024, 4:16 PMAND shipadd.city = 'Coeur D'' Alene'
that's apparently how you escape single quotes in sql - note I'm not using double quotes for the outer quotes eitherraghav
02/29/2024, 4:47 PMraghav
02/29/2024, 4:59 PMEric B
02/29/2024, 6:01 PMraghav
02/29/2024, 7:55 PMAnthony OConnor
02/29/2024, 7:57 PMraghav
02/29/2024, 9:58 PMStefan Reeder
03/05/2024, 5:26 AMsoTrans.entity = '113950'
AND l.id = '80'
AND shipadd.city LIKE "Coeur D%"
AND shipadd.zip = '83815'
Stefan Reeder
03/05/2024, 5:27 AMsoTrans.entity = '113950'
AND l.id = '80'
AND shipadd.city = STRING_ESCAPE("Coeur D' Alene")
AND shipadd.zip = '83815'
raghav
03/06/2024, 3:09 PM