当前位置:网站首页>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
边栏推荐
- 【日常训练】729. 我的日程安排表 I
- 第05章_存储引擎
- 2. < tag hash table, string> supplement: Sword finger offer 50 The first character DBC that appears only once
- Web Service简单入门示例
- Traps in the explode function in PHP
- JS common method encapsulation
- 基于vertx-web-sstore-redis的改造实现vertx http应用的分布式session
- php中explode函数存在的陷阱
- Is it necessary for bazel to learn
- 研學旅遊實踐教育的開展助力文旅產業發展
猜你喜欢
木板ISO 5660-1 热量释放速率摸底测试
PVC plastic sheets BS 476-6 determination of flame propagation properties
第05章_存储引擎
基於flask寫一個接口
[case] Application of element display and hiding -- element mask
PVC 塑料片BS 476-6 火焰传播性能测定
实现浏览页面时校验用户是否已经完成登录的功能
Duchefa cytokinin dihydrozeatin (DHZ) instructions
使用WebAssembly在浏览器端操作Excel
Write an interface based on flask
随机推荐
MySQL InnoDB架构原理
The development of research tourism practical education helps the development of cultural tourism industry
珍爱网微服务底层框架演进从开源组件封装到自研
2.<tag-哈希表, 字符串>补充: 剑指 Offer 50. 第一个只出现一次的字符 dbc
Aitm2-0002 12s or 60s vertical combustion test
AITM2-0002 12s或60s垂直燃烧试验
AITM 2-0003 水平燃烧试验
Test of incombustibility of cement adhesives BS 476-4
Is it necessary for bazel to learn
Utils/index TS tool function
Comparison table of foreign lead American abbreviations
Implementation of redis unique ID generator
ArcGIS\QGIS无插件加载(无偏移)MapBox高清影像图
EN 438-7建筑覆盖物装饰用层压板材产品—CE认证
显示器要申请BS 476-7 怎么送样?跟显示屏一样吗??
教你自己训练的pytorch模型转caffe(二)
Analyze the knowledge transfer and sharing spirit of maker Education
vant 源码解析 之深层 合并对象 深拷贝
Binary search
ts 之 泛型