Hello
We have a an SQl Server database at work. I have written some of my own queries for it. I wanted to be able to work at home with the same queries by copying the relavant tables to a new Database on my hard drive.
The problem is the tables at work are all owned by user 'scheme' which means scheme is everywhere in the queries.
The copied tables have user 'dbo'. In order for the queries to work at home I have to edit them everytime.
I cant seem to change the owner of these tables to scheme.
I created the user scheme and login and used the sp_changedbowner stored procedure but to no avail. Any help on this matter would be appreciated.
Paraic Walsh