当前位置:网站首页>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
边栏推荐
- Wood board ISO 5660-1 heat release rate mapping test
- bazel是否有学习的必要
- Phpstudy Xiaopi's MySQL Click to start and quickly flash back. It has been solved
- 实现浏览页面时校验用户是否已经完成登录的功能
- Arcgis\qgis no plug-in loading (no offset) mapbox HD image map
- Is Kai Niu 2980 useful? Is it safe to open an account
- The transformation based on vertx web sstore redis to realize the distributed session of vertx HTTP application
- 大二下个人发展小结
- systemd-resolved 开启 debug 日志
- MySQL ifnull usage function
猜你喜欢

产品好不好,谁说了算?Sonar提出分析的性能指标,帮助您轻松判断产品性能及表现

Mathematical analysis_ Notes_ Chapter 9: curve integral and surface integral

Influence of oscilloscope probe on measurement bandwidth

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

Write an interface based on flask

phpstudy小皮的mysql点击启动后迅速闪退,已解决

PHP deserialization +md5 collision

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

MySQL 千万数据量深分页优化, 拒绝线上故障!

基於flask寫一個接口
随机推荐
水泥胶黏剂BS 476-4 不燃性测试
What are the requirements of UL 2043 test for drive housing in the United States?
PVC plastic sheets BS 476-6 determination of flame propagation properties
【案例】元素的显示与隐藏的运用--元素遮罩
基于flask写一个接口
ts 之 属性的修饰符public、private、protect
2. < tag hash table, string> supplement: Sword finger offer 50 The first character DBC that appears only once
ts 之 类的简介、构造函数和它的this、继承、抽象类、接口
systemd-resolved 开启 debug 日志
MySQL InnoDB架构原理
Learning notes of SAS programming and data mining business case 19
从架构上详解技术(SLB,Redis,Mysql,Kafka,Clickhouse)的各类热点问题
Clion-MinGW编译后的exe文件添加ico图标
Viewrootimpl and windowmanagerservice notes
Who the final say whether the product is good or not? Sonar puts forward performance indicators for analysis to help you easily judge product performance and performance
使用WebAssembly在浏览器端操作Excel
ODPs next map / reduce preparation
Open source SPL eliminates tens of thousands of database intermediate tables
10000+ 代码库、3000+ 研发人员大型保险集团的研发效能提升实践
Implementation of redis unique ID generator