YugabyteDB Tips
  • Home
  • About
  • Featured Videos

Category: DDL

YugabyteDB Tips > DDL

Generate a Random Timestamp Between Two Timestamps (Faster Method)

Jim KnicelyNovember 28, 2023

In the previous tip GENERATE A RANDOM TIMESTAMP BETWEEN TWO TIMESTAMPS, we learned how to create a function to do just that. […]

Read More

GENERATE A RANDOM STRING (FASTER METHOD)

Jim KnicelyNovember 23, 2023

In the previous tip GENERATE A RANDOM STRING, we learned how to create a function to do just that. In that version […]

Read More

Set a Default Tablespace for a Database

Jim KnicelyNovember 21, 2023

In PostgreSQL, tablespaces allow administrators to specify where on a disk specific tables and indexes should reside based on how users want […]

Read More

Limit Access to Table Columns

Jim KnicelyAugust 4, 2023

In YugabyteDB’s YSQL api, securing columns from users or providing access to only a limited set of columns can be implemented via […]

Read More
Security

Add a Unique Key to a Materialized View

Jim KnicelyJuly 5, 2023

Materialized views in YSQL are relations that persist the results of a query. They can be created using the CREATE MATERIALIZED VIEW […]

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