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

This commit is contained in:
arjen@fred.bitbike.com 2002-05-14 09:03:25 +10:00
parent 00836cb3ad
commit e41fc926bd

View file

@ -2947,7 +2947,7 @@ extension @code{CONCAT()} (in lieu of the standard @code{||} operator).
For example:
@example
SELECT CONCAT('DELETE FROM tab1 WHERE pkid = ', tab1.pkid, ';')
SELECT CONCAT('DELETE FROM tab1 WHERE pkid = ', "'", tab1.pkid, "'", ';')
FROM tab1, tab2
WHERE tab1.col1 = tab2.col2;
@end example