GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • DOCUMENTATION
  • Tutorials
  • Developer
  • SQL Reference
  • Integrations
  • Releases
  • SQL Commands
  • SQL Functions
  • Numeric Functions
  • String Functions
  • ASCII
  • BIN
  • BIT_LENGTH
  • CHAR_LENGTH

This view

  • Original page
  • New address

GeezerVison is showing docs.databend.com — FROM_BASE64 | Databend

Takes a string encoded with the base-64 encoded rules and returns the decoded result as a binary. The result is NULL if the argument is NULL or not a valid base-64 string.

Syntax​

FROM_BASE64(<expr>)

Arguments​

ArgumentsDescription
<expr>The string value.

Return Type​

BINARY

Examples​

SELECT TO_BASE64('abc'), FROM_BASE64(TO_BASE64('abc')) as b, b::String;
┌───────────────────────────────────────┐
│ to_base64('abc') │ b │ b::string │
│ String │ Binary │ String │
├──────────────────┼────────┼───────────┤
│ YWJj │ 616263 │ abc │
└───────────────────────────────────────┘
Did this page help you?
Yes
FeedBack
Raise issue
Join our growing community
GitHub
🌟 9.5K Stars
Slack
X(Twitter)
YouTube
Or simply contact us directly
Contact Us
Explore Databend Cloud
  • Syntax
  • Arguments
  • Return Type
  • Examples
Try Databend Cloud for FREE

Multimodal, object-storage-native warehouse for BI, vectors, search, and geo.

Snowflake-compatible SQL with automatic scaling.

Sign up and get $200 in credits.

Try it today
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.