当前位置:网站首页>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函数进行拼接
边栏推荐
- NVIDIA NeMo Metrics 轻量性能采集系统
- SQL Server 数据库之生成与执行 SQL 脚本
- Object.entries()
- The use of QListView
- #夏日挑战赛#【FFH】OpenHarmony设备开发基础(三)编译依赖
- unique in numpy & pandas
- 【The 6th Strong Net Cup CTF-Wp】
- Taurus.MVC V3.0.3 微服务开源框架发布:让.NET 架构在大并发的演进过程更简单。
- 数据湖(二):什么是Hudi
- Likou 209 - String with the Minimum Length - Sliding Window Method
猜你喜欢
SQL Server修改数据
QAbstractScrollArea、QScrollArea
Crack detection technology based on deep learning
The 7 most commonly used data analysis thinking, solve 95% of the analysis problems
Likou 35 - search for insertion position - binary search
翻译英语的软件-免费翻译软件-各种语言互相翻译
NVIDIA NeMo Metrics 轻量性能采集系统
MD5 detailed explanation (check file integrity)
MyCat2的介绍与安装以及基本使用
SQL Server 2014安装教程(保姆级图解教程)
随机推荐
Distributed current limiting, hand & redisson implementation
JVM学习----垃圾回收调优
DTG-SSOD:最新半监督检测框架,Dense Teacher(附论文下载)
php——三篇夯实根基第一篇
Likou 704 - binary search
项目监控六大事项
The ex-boyfriend bought chili water and threatened to rob his daughter. Can the woman apply for a personal safety protection order?
数据湖(一):数据湖概念
SQL Server修改数据
借小程序容器打造自有App小程序生态
PHP伪协议详解
Solve the problem of Chinese garbled characters in exporting excel file names
Likou 977-Squaring of ordered arrays - brute force method & double pointer method
SQL Server如何建表
测试开发之路,我在大厂做测试这四年的感悟
从幻核疑似裁撤看如何保证NFT的安全
软件成分分析:手握5大能力守护软件供应链安全
excel 批量翻译-excel 批量函数公司翻译大全免费
Lexicon 27 - Remove Elements - Simple Questions
QAbstractScrollArea、QScrollArea