Get database Id in Sql Server

Just run this:

SELECT db_id('databasename')




No Comments


You can leave the first : )



Leave a Reply

Your email address will not be published. Required fields are marked *