PostgreSQL/String Functions/get byte

Материал из SQL эксперт
Перейти к: навигация, поиск

get_byte(string, offset)

   <source lang="sql">

postgres=# postgres=# -- get_byte(string, offset) postgres=# -- Extract byte from string postgres=# postgres=# select get_byte("Th\\000omas"::bytea, 4);

get_byte

     109

(1 row) postgres=# postgres=#

      </source>