YugabyteDB Tips
  • Home
  • About
  • Featured Videos

Category: Stored Procedures

YugabyteDB Tips > Stored Procedures

Hash Function Result Depends on Data Type

Jim KnicelyFebruary 3, 2023

yb_hash_code is a function that returns the hash of a set of given input values using the hash function DocDB uses to […]

Read More

Generate a Random Timestamp Between Two Timestamps

Jim KnicelyJanuary 24, 2023

In YSQL there is the familiar built-in function named RANDOM which generates a random value between 0 (inclusive) and 1 (exclusive). Although […]

Read More

YSQL Function to Determine Data Type of Text

Jim KnicelyJanuary 12, 2023

YSQL inherits from Postgres the built-in function pg_typeof function which returns the OID of the data type of the value that is […]

Read More

Global Variables in YSQL

Jim KnicelyJanuary 11, 2023

There are a lot of configuration parameters in YSQL that affect the behavior of the Yugabyte database system. The SHOW command in […]

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