YugabyteDB Tips
  • Home
  • About
  • Featured Videos

Category: Stored Procedures

YugabyteDB Tips > Stored Procedures

Load and Edit Stored Procedure Code in YSQLSH

Jim KnicelyMarch 1, 2023

From within the YSQLSH CLI you can use the ef metacommand to open the code for a function or procedure into the […]

Read More

Generate a Random Decimal Number between Two Values 

Jim KnicelyFebruary 9, 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

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

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