gbase字符串拼接
时间: 2023-11-09 07:54:55 浏览: 279
拼接字符串
在GBase数据库中,可以使用CONCAT函数来进行字符串拼接。该函数接受两个或多个字符串作为参数,并将它们连接在一起。下面是一个示例:
SELECT description, CONCAT(description, '拼接的字符串') FROM stock WHERE manu_code = 'HRO';
这个查询将返回一个结果集,其中包含原始description列的值以及将拼接的字符串添加到每个值后面的新列。
#### 引用[.reference_title]
- *1* [GBase ADO.NET连接字符串(2)](https://blog.csdn.net/tjutpec6/article/details/124490363)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [GBase字符串函数介绍](https://blog.csdn.net/qq_39280087/article/details/123713006)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文