Please make sure to go through these articles before you upgrade to SQL 2012 where SharePoint databases are hosted.
SQL server 2012 is supported and works with SharePoint 2010 only if the SharePoint environment is on SP1 or higher
Upgrade to SQL Server 2012
Supported Version and Edition Upgrades
Upgrade PowerPivot for SharePoint
Upgrade and Migrate Reporting Services
Upgrade Analysis Services