A
Anja
Hi everyone,
I have to insert strings in a table column that might contain the '
character.
Right now, I use a Replace function as follows:
obj.supplier = Replace(obj.supplier, " ' ", " '' ")
// Ignore the spaces, I just added it for clarity... So, each ' is
replaced by two of them...
However, this actually does add 2 ' in my record. How should the SQL be
formatted so that I can have a ' character in it?
Thanks,
Anja
I have to insert strings in a table column that might contain the '
character.
Right now, I use a Replace function as follows:
obj.supplier = Replace(obj.supplier, " ' ", " '' ")
// Ignore the spaces, I just added it for clarity... So, each ' is
replaced by two of them...
However, this actually does add 2 ' in my record. How should the SQL be
formatted so that I can have a ' character in it?
Thanks,
Anja