PARSE_NAME_UDF
Description
Returns the specified part of an object name. The parts of an object that can be retrieved are the object name, schema name, database name, and server name. (SQLServer documentation)
SQLServer syntax
Custom UDF overloads
Parameters
STR: A varchar expression that is being evaluated over the parts that can be retrieved.
PART_NUMBER: An int expression that specifies the part of an object name.
SQL Server
Snowflake
Related EWIs
MSCEWI1020: CUSTOM UDF INSERTED.
Last updated