当前位置:网站首页>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=Vertical
identical . 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 printedstderr
in .--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
边栏推荐
- R language [data management]
- Pytorch实战——MNIST数据集手写数字识别
- EN 438-7 laminated sheet products for building covering decoration - CE certification
- 启牛2980有没有用?开户安全吗、
- Binary search
- Abnova fluorescent dye 620-m streptavidin scheme
- 基於flask寫一個接口
- ts 之 泛型
- Clion-MinGW编译后的exe文件添加ico图标
- Pytoch practice -- MNIST dataset handwritten digit recognition
猜你喜欢
Analyze the knowledge transfer and sharing spirit of maker Education
ArcGIS\QGIS无插件加载(无偏移)MapBox高清影像图
Pytoch practice -- MNIST dataset handwritten digit recognition
10000+ 代码库、3000+ 研发人员大型保险集团的研发效能提升实践
显示器要申请BS 476-7 怎么送样?跟显示屏一样吗??
Enclosed please find. Net Maui's latest learning resources
显示屏DIN 4102-1 Class B1防火测试要求
PVC 塑料片BS 476-6 火焰传播性能测定
Écrire une interface basée sur flask
【案例】定位的运用-淘宝轮播图
随机推荐
Is Kai Niu 2980 useful? Is it safe to open an account
Careercup its 1.8 serial shift includes problems
Aitm2-0002 12s or 60s vertical combustion test
LeetCode_哈希表_困难_149. 直线上最多的点数
Popular science | does poor English affect the NPDP exam?
驱动壳美国测试UL 2043 符合要求有哪些?
浅聊我和一些编程语言的缘分
大二下个人发展小结
Write an interface based on flask
PVC 塑料片BS 476-6 火焰传播性能测定
AITM2-0002 12s或60s垂直燃烧试验
XML建模
Mathematical analysis_ Notes_ Chapter 9: curve integral and surface integral
phpstudy小皮的mysql点击启动后迅速闪退,已解决
10000+ 代码库、3000+ 研发人员大型保险集团的研发效能提升实践
Duchefa cytokinin dihydrozeatin (DHZ) instructions
产品好不好,谁说了算?Sonar提出分析的性能指标,帮助您轻松判断产品性能及表现
树莓派4B上ncnn转换出来的模型调用时总是崩溃(Segment Fault)的原因
vant 源码解析 之深层 合并对象 深拷贝
示波器探头对信号源阻抗的影响