Solved

To delete system views created by replication.

Posted on 2010-08-18
2
492 Views
Last Modified: 2012-08-13

I have deleted all the replications, publications,subscriptions from my server.

There are many synobj views which were not deleted by system.

the view names are like
syncobj_0x3533464132323033
syncobj_0x3138463935344234
syncobj_0x3130454430424245
syncobj_0x3830354145374444
syncobj_0x4435313930423141
syncobj_0x3136433335433042
syncobj_0x3739343743384145
syncobj_0x3835444346433032
syncobj_0x3333363034413945
syncobj_0x4342423330314446

Is it safe to delete these views manually?
What is the safe method of delete?
0
Comment
Question by:Mehram
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
PrakashRaoBS earned 500 total points
ID: 33462937
These objects are used when generating the snapshots. If your table is
large, or if your article on the publisher is different from the article on
the subscriber (horizontal or vertical partitioning - in other words a
different number of rows or columns), SQL Server chooses to replicate from
views (called sync objects) instead of the underlying base tables.

If your replication is not active then you can drop these views. Otherwise if you drop the views, it will get affect one the replication snapshot is getting synced.

These system views are used during the snapshot process. Instead of deleting these views, You could assign them to the db_reader role.
0
 

Author Closing Comment

by:Mehram
ID: 33498182
Thanks
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question