|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
String Value Insertion Error
Hi,
I Got another problem in inserting string to database from vb insert into table (name) values('S.K. bro's') it returns me error ----------------------------- fmSQLEditor.Query: Invalid token.Dynamic SQL Error. SQL error code = -104. Token unknown - line 1, char 32. s. |
|
#2
|
|||
|
|||
|
When using literals that contain a single quote, you need to "escape" the quote with a second quote:
Code:
insert into table (name) values('S.K. bro''s')
|
![]() |
| Viewing: Dev Shed Forums > Databases > Firebird SQL Development > String Value Insertion Error |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|