cqlsh:jw_schema1> #select * from users;
Invalid syntax at line 1, char 1
#select * from users;
^
cqlsh:jw_schema1> --select * from users;
cqlsh:jw_schema1> -select * from users;
Bad Request: line 1:0 no viable alternative at input '-'
cqlsh:jw_schema1> -- select * from users;
cqlsh:jw_schema1>
So as you can see, the hash glyph do not work in cqlsh, you need to use double dashes in front of the comment you want to made.
Voila! =)
No comments:
Post a Comment