information_schema.routines.routine_type

mysql

type: ENUM NOT NULL
5.7-8

mariadb

type: NULL
Note:
Whether the routine is a PROCEDURE or a FUNCTION.
© 2022 MariaDB
5.1-10.8
type: VARCHAR NOT NULL
Note:
Whether the routine is a PROCEDURE or a FUNCTION.
© 2022 MariaDB
10.2-10.7

tidb

postgres

type: CHARACTER_DATA NULL
Note:
FUNCTION for a function, PROCEDURE for a procedure
© 1996-2022 The PostgreSQL Global Development Group
11-15
Note:
Always FUNCTION (In the future there might be other types of routines.)
© 1996-2022 The PostgreSQL Global Development Group
10
type: CHARACTER_DATA
Note:
Always FUNCTION (In the future there might be other types of routines.)
© 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(20) NULL
Note:
Returns PROCEDURE for stored procedures, and FUNCTION for functions.
© Microsoft 2022
aps-pdw-2016-sql-server-ver15