information_schema.routines.routine_body

mysql

type: VARCHAR NOT NULL
5.7-8

mariadb

type: NULL
Note:
Always SQL.
© 2022 MariaDB
5.1-10.8
type: VARCHAR NOT NULL
Note:
Always SQL.
© 2022 MariaDB
10.2-10.7

tidb

postgres

type: CHARACTER_DATA NULL
Note:
If the function is an SQL function, then SQL, else EXTERNAL.
© 1996-2022 The PostgreSQL Global Development Group
10-15
type: CHARACTER_DATA
Note:
If the function is an SQL function, then SQL, else EXTERNAL.
© 1996-2022 The PostgreSQL Global Development Group
7.4-9.6

cockroachdb

type: NULL
Note:
Always NULL.
© 2022 CockroachDB
20.1-21.1

mssql

type: NVARCHAR(30) NULL
Note:
Returns SQL for a Transact-SQL function and EXTERNAL for an externally written function. Functions will always be SQL.
© Microsoft 2022
aps-pdw-2016-sql-server-ver15