Fix in CONCAT/DELETE example to make it work with text fields (from Greg Jones).

parent 00836cb3
...@@ -2947,7 +2947,7 @@ extension @code{CONCAT()} (in lieu of the standard @code{||} operator). ...@@ -2947,7 +2947,7 @@ extension @code{CONCAT()} (in lieu of the standard @code{||} operator).
For example: For example:
@example @example
SELECT CONCAT('DELETE FROM tab1 WHERE pkid = ', tab1.pkid, ';') SELECT CONCAT('DELETE FROM tab1 WHERE pkid = ', "'", tab1.pkid, "'", ';')
FROM tab1, tab2 FROM tab1, tab2
WHERE tab1.col1 = tab2.col2; WHERE tab1.col1 = tab2.col2;
@end example @end example
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment