当前位置:网站首页>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
边栏推荐
猜你喜欢

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

Talk about my fate with some programming languages

Phpstudy Xiaopi's MySQL Click to start and quickly flash back. It has been solved

Analyze the knowledge transfer and sharing spirit of maker Education

MySQL InnoDB架构原理

Abnova CRISPR spcas9 polyclonal antibody protocol

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

Maker education infiltrating the transformation of maker spirit and culture
![[case] Application of element display and hiding -- element mask](/img/6e/6ea484a6e5d547e01dd8820af8e314.png)
[case] Application of element display and hiding -- element mask

EN 438-7 laminated sheet products for building covering decoration - CE certification
随机推荐
PHP deserialization +md5 collision
vant 源码解析 之深层 合并对象 深拷贝
Learning robots have no way to start? Let me show you the current hot research directions of robots
wpf 获取datagrid 中指定行列的DataGridTemplateColumn中的控件
POJ 3414 pots (bfs+ clues)
字典树简单入门题(居然是蓝题?)
Learning notes of SAS programming and data mining business case 19
Clion configures Visual Studio (MSVC) and JOM multi-core compilation
@Validated基础参数校验、分组参数验证和嵌套参数验证
Phpstudy Xiaopi's MySQL Click to start and quickly flash back. It has been solved
树莓派4B上ncnn转换出来的模型调用时总是崩溃(Segment Fault)的原因
CareerCup它1.8 串移包括问题
研學旅遊實踐教育的開展助力文旅產業發展
浅聊我和一些编程语言的缘分
木板ISO 5660-1 热量释放速率摸底测试
When a user logs in, there is often a real-time drop-down box. For example, entering an email will @qq com,@163. com,@sohu. com
Is it necessary for bazel to learn
ODPs next map / reduce preparation
【日常训练】729. 我的日程安排表 I
AITM2-0002 12s或60s垂直燃烧试验