SHOW TYPECAST
Descriptionβ
View all type cast under the database. If the user specifies a database, then view the corresponding database, otherwise directly query the database where the current session is located
Requires SHOW
permission on this database
Syntaxβ
SHOW TYPE_CAST [IN|FROM db]
Parameters
db
: database name to query
Exampleβ
mysql> show type_cast in testDb\G
**************************** 1. row ******************** ******
Origin Type: TIMEV2
Cast Type: TIMEV2
**************************** 2. row ******************** ******
Origin Type: TIMEV2
Cast Type: TIMEV2
**************************** 3. row ******************** ******
Origin Type: TIMEV2
Cast Type: TIMEV2
3 rows in set (0.00 sec)
Keywordsβ
SHOW, TYPECAST