YugabyteDB Tips
  • Home
  • About
  • Featured Videos

Category: DDL

YugabyteDB Tips > DDL

Drop a YCQL Keyspace Which is Not Empty

Jim KnicelyOctober 12, 2022

In YCQL the DROP KEYSPACE statement is used remove a keyspace from the system. An error is raised if the specified keyspace […]

Read More

Change a Database User’s SuperUser Status

Jim KnicelyOctober 7, 2022

A database superuser bypasses all permission checks, except the right to log in. This is a dangerous privilege and should not be […]

Read More

EXPORT TABLE DDL (FROM YSQL)

Jim KnicelyJuly 18, 2022

In YSQL you can display the structure of a table, including indexes and constraints, by issuing the d table_name meta-command. yugabyte=# CREATE […]

Read More

DROP ALL TABLES IN A SCHEMA

Jim KnicelyJune 8, 2022

While there isn’t a single command to drop all tables in a schema, you can easily accomplish that task by generating and […]

Read More

Limit Column to a Single NULL Value

Jim KnicelyJune 3, 2022

A unique index disallows duplicate values from being inserted into the indexed columns. But this does not apply to NULL values. Here […]

Read More

Posts navigation

Older posts
Newer posts

NOTICE

This site is not affiliated, endorsed or associated with YugabyteDB. This site makes no claims on ownership of trademark rights. The author contributions on this site are licensed under CC BY-SA 3.0 with attribution required.

Find Us

Address
Here!

Hours
24×7

Recommended YugabyteDB Links

  • Home
  • Key Concepts
  • Docs
  • Blog
  • Forum
  • Content Library
  • Support



YugabyteDB Tips

Copyright 2025 - Knicely/Li