SSC-FDM-TS0025
DB_ID_UDF may have a different behavior in certain cases.
Last updated
DB_ID_UDF may have a different behavior in certain cases.
Last updated
This FDM is added to clarify that the DB_ID_UDF tries to emulate the SqlServer function as well as possible. In SqlServer, the identifier assigned to a database is unique, and if the database is deleted, this ID won't ever be used again; otherwise, in Snowflake, this identifier corresponds to the number assigned to the database when it is created; it is also unique, but it is a consecutive number which means that if this database is deleted, this number is going to be assigned to the database that was created after the deleted one.
If you need more support, you can email us at