SOURCE
Execute CQL statements from a file.
Syntax
SOURCE '<filename>'
Usage
cqlsh> SOURCE '/tmp/schema.cql'
Notes
- Each statement in the file must be terminated with a semicolon (
;). - Disabled when
--no-file-iois used. - Tilde (
~) in paths is expanded to the home directory. - Similar to using
-fon the command line, but can be run interactively.