当前位置:网站首页>SQL中字符串拼接
SQL中字符串拼接
2022-08-02 12:25:00 【睡竹】
三种数据库如下:
1、sqlserver
select '123'+'456'; --直接使用+进行拼接
2、oracle
select '123'||'456' from dual; --使用||进行拼接【dual为虚拟表】
select concat('123','456') from dual; --使用concat函数进行拼接
3、MySQL
select concat('123','456'); --使用concat函数进行拼接
边栏推荐
猜你喜欢
随机推荐
ASP.NET Core 6框架揭秘实例演示[31]:路由“高阶”用法
Speed up your programs with bitwise operations
力扣27-移除元素——简单题
ABAP-OOAVL模板程序
SQL Server修改数据
解决导出excel文件名中文乱码的问题
Likou 704 - binary search
photo-sphere-viewer中文文档
ABAP-OOAVL template program
【第六届强网杯CTF-Wp】
数据湖(一):数据湖概念
SQL function TRIM
Hand rolled architecture, 41 Redis interview asked
Data Lake (2): What is Hudi
Create your own app applet ecosystem with applet containers
Thymeleaf
Do you really understand the business process service BPass?
redis cluster cluster, the ultimate solution?
QListView的使用
如何更好评估信用贷风险?看这场评分卡模型直播就可以了