mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 19:41:47 +01:00
Fix in CONCAT/DELETE example to make it work with text fields (from Greg Jones).
This commit is contained in:
parent
00836cb3ad
commit
e41fc926bd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue