-
Notifications
You must be signed in to change notification settings - Fork 688
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
string-functions: add instructions for using CONCAT() and CONCAT_WS() #16048
string-functions: add instructions for using CONCAT() and CONCAT_WS() #16048
Conversation
…for using CONCAT() and CONCAT_WS() (cherry picked from commit 3991573)
…and-CONCAT_WS()-15484
Welcome @Weaxs! |
/label 2024-tidb-docs-dash |
/translation from-docs-cn |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add an example with a separator that's multiple characters.
sql> SELECT CONCAT_WS('-','Ti','DB');
+--------------------------+
| CONCAT_WS('-','Ti','DB') |
+--------------------------+
| Ti-DB |
+--------------------------+
1 row in set (0.0011 sec)
sql> SELECT CONCAT_WS('---','Ti','DB');
+----------------------------+
| CONCAT_WS('---','Ti','DB') |
+----------------------------+
| Ti---DB |
+----------------------------+
1 row in set (0.0011 sec)
/verify |
Thanks for participating in TiDB Docs Dash @Weaxs! |
From the linter:
|
Hi @Weaxs, I've submitted the commit 1491dc6 to align this PR with the Chinese doc changes in pingcap/docs-cn#16086. Would you please check if the commit is OK? Thanks. |
/test pull-verify |
I've checked the commit and it looks OK. |
Co-authored-by: xixirangrang <[email protected]>
/retest |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: qiancai The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
First-time contributors' checklist
What is changed, added or deleted? (Required)
Fix #15484
This PR adds instructions for the string functions CONCAT() and CONCAT_WS().
Which TiDB version(s) do your changes apply to? (Required)
Tips for choosing the affected version(s):
By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.
For details, see tips for choosing the affected versions.
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?