Hi,
It's not fully clear to me what you are doing to raise this error. Are you running SWPM? Or are you already using the System after you've upgraded SQL Server to 2012?
Can you goto Transaction ST04 --> Configuration --> Script Maintenance and run all Scripts? This should recreate all SAP written Stored Procedures in the database.
Regards,
Beate