How do you include SQL comments?

Using # at the beginning of a line work in the SQLline shell, however if it is 
part of a sql file the following error appears.

cat comment.sql

# comment
select * from sys.version;

0: jdbc:drill:zk=drilldemo:5181> !run comment.sql
1/2          # comment
Aborting command set because "force" is false and command failed: "# comment”



Thanks
—Andries

Reply via email to