print commands to give a group dbo in all the sql dbs

Jan 12, 10

something silly i need to do every once in a while and i forget how to do it. the double double single quotes always mess me up πŸ˜›

```sql sp_msforeachdb β€˜ print β€˜β€™ EXEC ?.dbo.sp_addrolemember N’’'’db_owner’’’’, Nβ€™β€™β€™β€˜'''' '' '