有没有办法像在命令SnowSQL variabilize文件夹路径put
,并copy
在那里我可以做
put $file_location
甚至
put file:$file_location
代替
put file://R:\testing\data\take_1.txt
你可以使用define
:
> !define file_location=path_goes_here
> !set variable_substitution=true
> put &file_location
要在语句中使用变量,请使用&variable_name语法。请注意,变量名称不区分大小写。
...
要将变量与文本组合,请将变量引用括在花括号中。
select '&{snowshell}_shell';
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句