Cassandra Create Table

The Cassandra Create Table Tool provided by RazorSQL allows users to visually create tables. After entering in the table name and the number of columns, the tool allows the user to enter the following information for each column of the table:

Column Name
Column Type (for example, int, varchar, etc.)
Primary Key (whether or not the column is a primary key)

After entering the column information, the Create Table Tool can generate and/or execute the SQL needed to create the table.

Listed below is an example of the SQL the Create Table Tool generates for a sample Cassandra table.

CREATE TABLE sample.test
(col1 int,
col2 varchar,
col3 varchar,
PRIMARY KEY (col1))