Retrieving the Site Collection ID from SharePoint (WSS 3)

Posted by & filed under Tech Support.

I took a quick look through the Central Administration page and was unable to find the Site Collection ID.

In the end the quickest way for me to retrieve this was to run a SQL query against the content database.

“select id from sites”

Leave a Reply

  • (will not be published)