当前位置:网站首页>Clickhouse copy paste multi line SQL statement error
Clickhouse copy paste multi line SQL statement error
2022-07-05 21:04:00 【Hehuyi_ In】
One 、 Problem phenomenon
Encountered a very speechless problem , Copy a multiline insert When ordered kuakuakua A lot of mistakes , Statements like
insert into tmp0701
(
id,
name,
age,
...
)
select
id,
name,
age,
...
from tmp0701;
Two 、 resolvent
clickhouse-client -m
With a semicolon ; Closing order
3、 ... and 、 clickhouse-client Command line arguments
--host, -h-– Server side host name , The default islocalhost. You can choose to use host Name or IPv4 or IPv6 Address .--port– Port of connection , The default value is :9000. Be careful HTTP Interface and TCP Native interfaces use different ports .--user, -u– user name . The default value is :default.--password– password . The default value is : An empty string .--query, -q– Use non interactive mode to query .--database, -d– The default database for the current operation . The default value is : Server default configuration ( The default isdefault).--multiline, -m– If specified , Allow multiple line statements to query (Enter Only for line feed , It does not mean that the query statement is complete ).--multiquery, -n– If specified , Allow processing;Multiple queries separated by numbers , Works only in non interactive mode .--format, -f– Output the result in the specified default format .--vertical, -E– If specified , By default, the results are output in vertical format . This is related to–format=Verticalidentical . In this format , Each value is printed on a separate line , This method is very helpful for displaying wide tables .--time, -t– If specified , In non interactive mode, the query execution time will be printedstderrin .--stacktrace– If specified , If there is an anomaly , Will print stack trace information .--config-file– The name of the profile .--secure– If specified , Will connect to the server through a secure connection .--history_file— The path to the file where the command history is stored .--param_<name>— Query parameter configuration Query parameters .
Reference resources
边栏推荐
- Talk about my fate with some programming languages
- Deep merge object deep copy of vant source code parsing
- Material Design组件 - 使用BottomSheet展现扩展内容(二)
- hdu2377Bus Pass(构建更复杂的图+spfa)
- Test of incombustibility of cement adhesives BS 476-4
- Monorepo管理方法论和依赖安全
- [case] Application of element display and hiding -- element mask
- vant 源码解析 之深层 合并对象 深拷贝
- 序列联配Sequence Alignment
- Which is the best online collaboration product? Microsoft loop, notion, flowus
猜你喜欢

教你自己训练的pytorch模型转caffe(三)

研学旅游实践教育的开展助力文旅产业发展
![R language [data management]](/img/41/b89bb8794c06280e58988e1c1a5e02.png)
R language [data management]

Write an interface based on flask

MySQL deep paging optimization with tens of millions of data, and online failure is rejected!

PHP deserialization +md5 collision

Analysis of steam education mode under the integration of five Education

第05章_存储引擎

【案例】元素的显示与隐藏的运用--元素遮罩

学习机器人无从下手?带你体会当下机器人热门研究方向有哪些
随机推荐
启牛2980有没有用?开户安全吗、
教你自己训练的pytorch模型转caffe(三)
Mathematical analysis_ Notes_ Chapter 9: curve integral and surface integral
Abnova CRISPR spcas9 polyclonal antibody protocol
Arcgis\qgis no plug-in loading (no offset) mapbox HD image map
PHP deserialization +md5 collision
Analysis of steam education mode under the integration of five Education
Écrire une interface basée sur flask
【日常训练】729. 我的日程安排表 I
Add ICO icon to clion MinGW compiled EXE file
Prior knowledge of machine learning in probability theory (Part 1)
终端安全能力验证环境搭建和渗透测试记录
Enclosed please find. Net Maui's latest learning resources
MySQL fully parses json/ arrays
Viewrootimpl and windowmanagerservice notes
Display DIN 4102-1 Class B1 fire test requirements
Utils/index TS tool function
shell编程100例
JS common method encapsulation
Material design component - use bottomsheet to show extended content (II)