![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
the parser gets crazy at this point 'gewicht:UB;sql:me.labnr;setze_erw:LAB.pstatus='E Now my question is there some special command which allows me to insert a string which contains one or more apostrophe ? |
#3
| |||
| |||
|
|
N.G., 25.03.2009 10:02: the parser gets crazy at this point 'gewicht:UB;sql:me.labnr;setze_erw:LAB.pstatus='E Now my question is there some special command which allows me to insert a string which contains one or more apostrophe ? In Postgres it's like in any other (standard compliant) database, simply put two single quotes in there: INSERT INTO my_table (some_data) VALUES ('With '' single quote'); In your case this would be: 'gewicht:UB;sql:me.labnr;setze_erw:LAB.pnote='''', LAB.bonus='''' ' (I added a space before the "closing" quote to make clear where the actual value ends) Thomas thank you thomas for the quick answer, |

![]() |
| Thread Tools | |
| Display Modes | |
| |