Hi - apologies for asking a stupid newbie question but I'm a bit out of my
depth here and could really use some help.
I've got an ASP module which can't find a table because the table owner is
wrong. The sql script that created the table is at fault as it obtained the
default database owner rather than defining the dbo explicitly.
I sort of understand the necessary solution but I don't see how to actually
execute it.
(...expressed as [server].[database].[owner].[table])
[mgbsvr1].[dnn].[dnnadmin].[aspsearch]
needs to become
[mgbsvr1].[dnn].[dbo].[aspsearch]
I read the books online and got the
sp_changeobjectowner [ @objname = ] 'object' , [ @newowner = ] 'owner'
syntax, but I really don't know what to do next, or (more importantly) where
and how to do it.
Help will be deeply appreciated.
Manning, Sydney Australia