Retrieving the Site Collection ID from SharePoint (WSS 3)

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”