Aller au contenu

Convertit une valeur binaire en chaîne VARCHAR selon le format binaire indiqué.

func.from_binary(<binary>, <format>)
func.from_binary(b'\x48\x65\x6c\x6c\x6f', 'utf8')
┌─────────┐
│ 'Hello' │
└─────────┘
FROM_BINARY(<binary>, <format>)
SELECT FROM_BINARY(X'48656C6C6F', 'utf8');
┌───────┐
│ Hello │
└───────┘