How to use USE Command in Cassandra Query Language ( CQL)
If you been working with Database , you have used "USE Command" many times in a day to switch between databases. In Cassandra we can also use the USE Command to switch between Keyspaces.Syntax
CQLSH>USE keyspacename;
I can get the list of all Keyspaces by using "Select * From system_schema.keyspaces". Let's say that I have TechBrothersTutorials Keyspace and I would like to change to it so I can create tables in TechBrothersTutorials keyspace.
CQLSH:techbrotherstutorials>USE techbrotherstutorials;
Output after executing above statement.
Liên hệ Aivivu, đặt vé máy bay tham khảo
ReplyDeletevé máy bay đi Mỹ khứ hồi
vé máy bay đi thành phố hồ chí minh
vé máy bay huế - hà nội
giá vé máy bay đi nha trang vietnam airline
vé máy bay đi Huế vietnam airline
taxi sân bay nội bài giá rẻ
combo đi đà nẵng 3 ngày 2 đêm