Ask Your Question
4

How can I retrieve the Cassandra keyspace using double quotation marks?

asked 2022-07-23 11:00:00 +0000

djk gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-12-05 19:00:00 +0000

bukephalos gravatar image

To retrieve the Cassandra keyspace using double quotation marks, you can use the following syntax:

SELECT * FROM "keyspace_name"."table_name";

Note that the keyspace and table names are enclosed in double quotation marks. This is necessary if your keyspace or table names contain uppercase letters, hyphens or other characters that are not allowed in CQL identifiers. However, it's generally recommended to use lowercase letters and underscores for keyspace and table names to avoid such issues.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-07-23 11:00:00 +0000

Seen: 14 times

Last updated: Dec 05 '22