Performing a database attach using STSADM.exe is useful for migrating or upgrading existing data. Here is an example of how to use the STSADM.exe commands to be able to perform a db attach for the Shared Services Provider (SSP): Create the web application