Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Restoring a copy of a database
If restore a backup of a database to a database with a different name and
owner, do I have to recreate the views and re-apply permissions to the table
s
etc. As I far as I can see all the views are owned by the dbo, but the actua
l
database owner differs. From a SQL Server point of view I can look at the
database and all seems ok and I can run select's against tables and views.

Report this thread to moderator Post Follow-up to this message
Old Post
Russell
04-01-05 01:01 AM


Re: Restoring a copy of a database
You can change owner to a proper login using sp_changedbowner. And you can s
ync logins using
 sp_change_users_logi
n.

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www. solidqualitylearning
.com/
http://www.sqlug.se/


"Russell" <Russell@discussions.microsoft.com> wrote in message
news:3D20C46F-1DF4-4E28-BD69- 014ED8EFA270@microso
ft.com...
> If restore a backup of a database to a database with a different name and
> owner, do I have to recreate the views and re-apply permissions to the tab
les
> etc. As I far as I can see all the views are owned by the dbo, but the act
ual
> database owner differs. From a SQL Server point of view I can look at the
> database and all seems ok and I can run select's against tables and views.



Report this thread to moderator Post Follow-up to this message
Old Post
Tibor Karaszi
04-01-05 01:01 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 11:46 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006