NOTE: When you follow the steps in this article, the following settings will not automatically convert to the regular database:
- Non-default references
- Security of the database objects
- Table indexes
- Table properties
- Validation rules
To convert a replicated database back to a regular database, follow these
steps:
- Create a new database.
- Import all the objects, except for the tables, from the replicated database into the newly created database.
- Close the new database, and then open the replicated database.
- Under Objects click Queries, and then New, and create a new query in Design view. Select the first table in the Show Table dialog box. Drag all the fields to the Field row, except for the fields that were generated for replication (Gen_OLE Fieldnames, s_ColLineage, s_Generation, s_Guid, s_Lineage). If your application requires one of these fields created by replication, then go ahead and add it to the query.
- On the Query menu, click Make Table. In the Table Name box, select the current table name. Click to select Another Database, and add the name of the database that you created in step 1. Run the query.
- Repeat steps 4 and 5 for each table in the replicated database.
- Close the replicated database and open the new database. Re-create all indexes and relationships that existed in the replicated database.
- After you've completed steps 1 through 7, compact and then repair the new database. The new database should be approximately the same size as before replication and will not contain any replication properties.