当前位置:网站首页>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
边栏推荐
- 【案例】定位的运用-淘宝轮播图
- Mathematical analysis_ Notes_ Chapter 9: curve integral and surface integral
- systemd-resolved 开启 debug 日志
- Monorepo management methodology and dependency security
- Sophomore personal development summary
- @Validated basic parameter verification, grouping parameter verification and nested parameter verification
- Pytorch实战——MNIST数据集手写数字识别
- JS common method encapsulation
- Simple getting started example of Web Service
- leetcode:1139. The largest square bounded by 1
猜你喜欢
基於flask寫一個接口
第05章_存储引擎
Clion-MinGW编译后的exe文件添加ico图标
leetcode:1755. 最接近目标值的子序列和
PHP反序列化+MD5碰撞
Pytorch实战——MNIST数据集手写数字识别
Influence of oscilloscope probe on signal source impedance
Abnova fluorescent dye 620-m streptavidin scheme
Enclosed please find. Net Maui's latest learning resources
LeetCode_ Hash table_ Difficulties_ 149. Maximum number of points on the line
随机推荐
Enclosed please find. Net Maui's latest learning resources
基於flask寫一個接口
Arcgis\qgis no plug-in loading (no offset) mapbox HD image map
leetcode:1139. 最大的以 1 为边界的正方形
Research and development efficiency improvement practice of large insurance groups with 10000 + code base and 3000 + R & D personnel
水泥胶黏剂BS 476-4 不燃性测试
概率论机器学习的先验知识(上)
Deep merge object deep copy of vant source code parsing
PHP反序列化+MD5碰撞
Duchefa cytokinin dihydrozeatin (DHZ) instructions
从架构上详解技术(SLB,Redis,Mysql,Kafka,Clickhouse)的各类热点问题
基于vertx-web-sstore-redis的改造实现vertx http应用的分布式session
基于AVFoundation实现视频录制的两种方式
Monorepo management methodology and dependency security
MYSQL IFNULL使用功能
What are the requirements of UL 2043 test for drive housing in the United States?
MySQL InnoDB架构原理
《SAS编程和数据挖掘商业案例》学习笔记# 19
ArcGIS栅格重采样方法介绍
ClickHouse 复制粘贴多行sql语句报错