The following forum(s) have migrated to Microsoft Q&A: All English SharePoint forums! Visit Microsoft Q&A to post new questions.
Do not use SP databases directly. Use SharePoint object model, web services, powershell scripts etc.
The structure of SP databases can be changed after installing service packs.
My contributions: SharePoint 2010 Solution Installer