Remove replication for only single database.

Hi All,
I need to remove replication for a single database (Remove replication on ABC database from SQL1 to SQL5.)
I did some research and found as follows:
DECLARE @subscriptionDB AS sysname
SET @subscriptionDB = N'AdventureWorks2008R2Replica'USE master
EXEC sp_removedbreplication @subscriptionDB, will this help my requirement.GOPlease help me in getting script to remove replication of particular database from server A to serverB.Thanks in advance.

Now, customer came back asking to find out which publications hit that database(ABC) and their corresponding subscriptions.
How to find these publications which hit that database and their corresponding subscriptions, please?

Similar Messages

  • Removing header, border for only single column in mx:DataGrid

    Hi,
        I am using Flex4 SDK and FlashBuilder4.
    I have a requirement where i need to remove column header, borders and grid lines for only last column in datagrid.
    It should look like there is no column present. This column will be used to show some icon for only selected row.
        Can any one suggest how to implement this. Please provide any sample if you can.
    Thanks

    hi Johnny, it was helpfull for me.
    With the given example i am still getting the grid line gaps with the selected row or hover color between verticle cells of the column.
    As gridlines can only be removed for complete datagrid not for a single column. is it possible ?
    Thanks

  • How to Impliment Streams replication in a Single Database

    Hi,
    I need to impliment Oracle Streams in a single Database (Source and Destination are same--In Same database).
    I have four Diferent schemas in this database.
    i need to replicate some selected tables from each Schema (some selected columns in each table), and replicate it
    with other diff schema which is also resides in the same database.
    If anybody have any ideas please let me know. Thanks in advance.
    If you have any documentation please post here.
    Thanks,
    Ray

    Hello Ray,
    Please take a look at the following thread where I have given an example to replicate from schema ORDERS to SHIPPING on to a different database.
    setup streams for tables with source and destination schema is different
    The steps are almost same except the propagation is not used in this case. There would be only one queue to which capture would enqueue the messages and apply would consume the messages.
    You need to define capture and apply (as there is no propagation) on the same queue. The schema can be renamed using DBMS_STREAMS_ADM.RENAME_SCHEMA as shown in the example. If you would like to rename the table then use DBMS_STREAMS_ADM.RENAME_TABLE.
    Hope this helps. Let me know if you have further questions.
    Thanks,
    Rijesh

  • 500 internal server error for only single user

    Hi Experts,
    Pls help me that
    I am getting the problem of 500 Internal server error for a single user .
    Except that user remaining users are not getting this error, They are working fine
    i.e it is ESS & MSS  Package all other application working fine , this iview came from  Webdynpro .
    Regards
    Krishna

    Hi Arun,
    where can i check with that whether in DEV/PROD system...?
    I don't have access to PROD system and SU01 system too.
    Can you please guide me with the steps to get it done.
    Please check the below log which is getting displayed for the User, when he is logging in.
    Error summary
    While processing the current request, an exception occurred which could not be handled by the application or the framework.
    If the information contained on this page doesnu2019t help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this
    Root Cause
    The initial exception that caused the request to fail, was:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: ComponentUsage(FPMConfigurationUsage): Active component must exist when getting  interface controller
    at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.ensureActiveComponent(ComponentUsage.java:773)
    at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.getInterfaceControllerInternal(ComponentUSage.java:348)
    at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.getInterfaceController(ComponentUsage.java:335)
    at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdGetFPMConfigurationUsageInterface(InternalFPMComponent.java.245)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.changeToExceptionPerspective(FPMComponent.java:862)
    u2026 59 more
    Please provide me any help.
    Thanks in advance.
    Regards,
    Ponneswari A.

  • Steps for creating a database index

    Do we just create it from SE11? Does Basis needs to be involved for any furthur steps?

    Hi Amrutha,
    Indexes speed up data selection from the database. They consist of selected fields of a table, of which a copy is then made in sorted order. If you specify the index fields correctly in a condition in the WHERE or HAVING clause, the system only searches part of the index (index range scan). The primary index is always created automatically in the R/3 System. It consists of the primary key fields of the database table. This means that for each combination of fields in the index, there is a maximum of one line in the table. This kind of index is also known as UNIQUE. If you cannot use the primary index to determine the result set because, for example, none of the primary index fields occur in the WHERE or HAVING clause, the system searches through the entire table (full table scan). For this case, you can create secondary indexes, which can restrict the number of table entries searched to form the result set. You specify the fields of secondary indexes using the Abap Dictionary. You can also determine whether the index is unique or not. However, you should not create secondary indexes to cover all possible combinations of fields. Only create one if you select data by fields that are not contained in another index, and the performance is very poor. Furthermore, you should only create secondary indexes for database tables from which you mainly read, since indexes have to be updated each time the database table is changed. As a rule, secondary indexes should not contain more than four fields, and you should not have more than five indexes for a single database table. If a table has more than five indexes, you run the risk of the optimizer choosing the wrong one for a particular operation. For this reason, you should avoid indexes with overlapping contents. Secondary indexes should contain columns that you use frequently in a selection, and that are as highly selective as possible. The fewer table entries that can be selected by a certain column, the higher that column's selectivity. Place the most selective fields at the beginning of the index. Your secondary index should be so selective that each index entry corresponds to at most five percent of the table entries. If this is not the case, it is not worth creating the index. You should also avoid creating indexes for fields that are not always filled, where their value is initial for most entries in the table. If all of the columns in the SELECT clause are contained in the index, the system does not have to search the actual table data after reading from the index. If you have a SELECT clause with very few columns, you can improve performance dramatically by including these columns in a secondary index.
    Index:
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb20446011d189700000e8322d00/content.htm
    Creating Secondary Index
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb47446011d189700000e8322d00/content.htm
    regards,
    keerthi.

  • Issue in data replication for one particular table

    Hi,
    We have implemented streams in out test environment and testing the business functionalities. We have an issue in data replication for only one custom table all other tables data replications are proper no issue. When we do 100 rows update data replication is not happening for that particular table.
    Issue to simulate
    Update one row -- Replication successful.
    100 rows update -- After 3-4 hrs nothing happened.
    Please let me know did any of you have come across similar issue.
    Thanks,
    Anand

    Extreme slowness on apply site are usually due to lock, library cache locks or too big segments in streams technical tables left after a failure during heavy insert. these tables are scanned with full table scan and scanning hundreds of time empty millions of empty blocks result in a very big loss of performance, but not in the extend your are describing. In your case it sound more like a form of lock.
    We need more info on this table : Lob segments? tablespace in ASSM?
    If the table is partitioned and do you have a job that perform drop partitions? most interesting is what are the system waits nd above all the apply server sessions waits. given the time frame, I would more looks after a lock or an library cache lock due to a drop partitions or concurrent updates. When you are performing the update, you may query 'DBA_DDL_LOCKS', 'DBA_KGLLOCK' and 'DBA_LOCK_INTERNAL' to check that you are not taken in a library cache lock.

  • Remove Standby/Read only mode for a database in sql server 2005

    Hi,
          I have a problem in sql sever . my database is showing standby/read-only mode. i want to remove that mode.please help me for the issue.

    HI
    Did you assign any DB read only user?
    check the administrator guide in your SAP Business one->Documntation->system setup->Administrator guide...
    but removing DB read only user is impossible.....

  • Attempted repair of 3.5.1 database yields message that it may "...remove data supported only in newer versions..."

    After starting Aperture with Command+Option keys, and being presented Photo Library First Aid, then choosing Repair Database radio button, then clicking on Repair --- I am presented with a dailogue: 
    "This library has been opened with a newer version of Aperture.
    Repairing the library using this version of Aperture may remove data supported only in newer versions of Aperture."
    This does not add up, as I am running 3.5.1, which is the newest version.
    So, I am concerned about running the repair.
    Thoughts?
    Richard

    Richard, I am seeing the same. For some libraries Aperture seems to be confused about the version:
    My Aperture version is 3.5.1, the library is version 3.5.1, but still I am getting this message when trying to repair, even after repeated repairs.
    The repair does not seem to cause any harm, however, but I cannot recommend it as safe, as long as we do not know, what is causing this.
    I am seeing this only for libraries, that have been opened by the latest iPhoto 9.5.1. Is that the same for your Aperture libraries?
    -- Léonie
    Added: Repeated "Repair" does not help, but after one "rebuild", the version number will revert to normal and stick, and the warning is gone. But don't try to "rebuild" without first updating your backup of the Aperture library.

  • Pros and cons for using single/multiple database

    hi
    could anyone tell me in which senario we can use multiple databases and advantages and disadvantages using multiple databases over single database (with different tablespace)
    thaks in advance
    hari

    depending on your situation you can probably think of different answers. You ask for a 'general' rule of thumb... well, some things that pop into my mind:
    - different usage by applications. e.g. you have a transactional application storing and modifying data and you also want to do analytics. You might want to build a seperate database/datawarehouse that you can use for analytics. by splitting it up you can tune both databases to work best with the application using it.
    - sensitive data and many different users. e.g. the marketing department does not need to have access to the finance department's data (salaries, etc). give each department a separate database and only load the data needed/give access to the data needed.
    Just some thoughts, you can think of more when confronted with a certain situation.
    Lennert

  • DFS Replication for one group only not working

      
    I have 2 DFS Replication groups and each group contains the same 2 member servers.
    One group is set to replicate one drive pair between these members, and the other group is set to replicate another drive pair between the same member servers.
    Replication works perfectly for one group / folder, but it does not even start on the other group.
    This proves that there is no problem with the connectivity between the members, or to the AD.
    The DFS Replication Health Report for the group that does not replicate shows no error, just 2 Warnings:
     WARNINGS  (2 servers with warnings)(Show All)
    BOG-RODC   (1 warning)
      Reference member returned no replicated folders.  
    MTL-HV-FS01   (1 warning)
      This member is waiting for initial replication for replicated folder BOG-RODC_D_Drive.  
    This is very weird, I don't see why it does not replicate, I'm pooling my hair out. Please help
    Titus

    follow up on the above issue: Yes I did delete the group, and DFSRPrivate folder and recreated the group again, but this did not help.
    Problem has been fixed by Microsoft, I had to open a case with them. Apparently the Jet database that's hidden in the "System Volume Information" was corrupted, so not only he deleted the group, but did the following, changed permissions/ownership
    to access the System Volume Information, then:
    D:\>cd "System Volume Information"
    D:\System Volume Information>cd DFSR
    D:\System Volume Information\DFSR>dir
    Volume in drive D is Data
    Volume Serial Number is F4CD-B05B
    Directory of D:\System Volume Information\DFSR
    10/10/2014  11:09 AM    <DIR>          .
    10/10/2014  11:09 AM    <DIR>          ..
    10/02/2014  12:01 PM                 0 $db_normal$
    02/04/2015  10:14 AM    <DIR>          Config
    10/10/2014  10:49 AM    <DIR>          database_E6F4_CDDD_F4CD_B05B
    10/02/2014  12:01 PM    <DIR>          Private
    1 File(s)              0 bytes
    5 Dir(s)  1,558,208,782,336 bytes free
    D:\System Volume Information\DFSR>rd database_E6F4_CDDD_F4CD_B05B /s /q
    D:\System Volume Information\DFSR>dir
    Volume in drive D is Data
    Volume Serial Number is F4CD-B05B
    Directory of D:\System Volume Information\DFSR
    02/04/2015  10:20 AM    <DIR>          .
    02/04/2015  10:20 AM    <DIR>          ..
    10/02/2014  12:01 PM                 0 $db_normal$
    02/04/2015  10:19 AM    <DIR>          Config
    10/02/2014  12:01 PM    <DIR>          Private
    1 File(s)              0 bytes
    4 Dir(s)  1,558,344,138,752 bytes free
    Then as usually recreated the replication group. I haven't seen this information anywhere on the web or in the Microsoft site. 
    Hope this will help other people having the same problem as myself. Proceed with care.

  • How the transactional replication work for simple recovery database (looking for some internal concept)

    How the transactional replication work for simple recovery database (looking for some internal concept)
    Rahul

    There seems to be a new myth going around recently. I’ve had at least three people tell me, in the last month, that SQL’s transactional replication requires the database to be in full recovery.
    This is complete fabrication. Replication (SQL native replication, that is) can work with the databases in any of the recovery models.
    Transactional replication does involve the transaction log, as that’s where it picks up changes from. The log reader scans over the transaction log looking for log records marked for replication, copies those to the distribution database and then marks them
    as replicated. When the checkpoint (for simple recovery) or log backup (for full or bulk logged) occur, the log will only be truncated up to the oldest inactive, replicated transaction.
    Because transactional replication has its own way of ensuring log records aren’t discarded before been picked up by the log reader, there’s no requirement for a specific recovery model.
    Refer this link
    http://sqlinthewild.co.za/index.php/2008/12/05/a-new-sql-myth/
    --Prashanth

  • Searching for missing column names in a single database.

    I have a database with about 100 tables, database gets generated using entity framework. The application has been enhanced  so users deployed with older version of the application need to upgrade to newer version. The database generated is both versions
    is same name.
    Now, the older version is missing some tables and column names that are in new database.
    Is there a script that can search for missing fields in a single database as described in this situation?
    Below is my script. Basically, nameofdatabase would the database generated and that already existing. If you install the application and database already exits no new database will be created.
    SELECT * FROM (Select TABLE_CATALOG, Table_name,COLUMN_NAME FROM nameofdatabase.INFORMATION_SCHEMA.COLUMNS) a FULL OUTER JOIN (SELECT TABLE_CATALOG, Table_name,COLUMN_NAME FROM nameofdatabase.INFORMATION_SCHEMA.COLUMNS) b ON b.COLUMN_NAME=a.COLUMN_NAME and
    a.TABLE_NAME=b.TABLE_NAME WHERE b.COLUMN_NAME is null or a.COLUMN_NAME is null ;

    There is a great tool called SQLCompare provide by www.red-gate.com
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Can i create more than one instance for single database?

    HI
    anybody can tell me how to create more than one instance for single database(without using RAC)?
    thanks
    Kalanidhi

    Anandji,
    I sometimes think differently. I also think like what this person is asking..(although I have installed and administering 5 different RAC databases)
    The main doubt of mine is that we create multiple instances accessing the same storage area.
    Anyway the controlfiles of all instances will have the same information except the instance_names and instance id's.
    Hence I always think , why can't it be possible to to create another instance in the same system and point it to a controlfile which is copied from the other instance.
    Why can't the same files be shared between the two instances in a same system ?
    I know I am thinking a little bit confusing...
    Anyway I need to test that also...
    Mahesh.

  • Can you buy Creative Cloud for a single month? Or do you have to buy the membership which lasts a year? If so can you cancel the membership after a month and only pay for that month.

    Can you buy Creative Cloud for a single month? Or do you have to buy the membership which lasts a year? If so can you cancel the membership after 1 month and only pay for that month?
    Thanks

    Hello Tom,
    You may sign up for a free trial of creative cloud which you can check out here. Download a free trial or buy Adobe products | Adobe downloads
    You may either pay for a month to month membership or annual as listed here. Creative Cloud pricing and membership plans | Adobe Creative Cloud
    Let us know if this helps!
    Thank you,
    Jo-Marie

  • Modifying pctfree for a single partition ONLY

    I am doing some testing regarding setting pctfree on a partitioned table. I know I can say alter table xxx pctreee #, but this will change the pctfree for all partitions in a table, which I don't want.
    Is there a syntax I can use to change the pctfree only for a SINGLE PARTITION and leave everything
    else the same.
    If somebody can provide an example of this syntax it would be appreciated.

    840386 wrote:
    Is there a syntax I can use to change the pctfree only for a SINGLE PARTITION and leave everything
    else the same.It is all in docs:
    ALTER TABLE table_name MODIFY PARTITION partition_name PCTFREE N;Where N is value you want to use.
    SY.

Maybe you are looking for

  • How do you make the program repeat itself?

    How would I make it so that when the if statement at the end of the code the program starts over from the begining? Any help appreciated. Here is the code if you wanna see it. import java.io.BufferedReader; import java.io.InputStreamReader; class Sup

  • InDesign 2014.1crashes after printing after updating to Yosemite

    Mac 10.10.1 Indesign 2014.1 and printing to Minolta 6501 with Fiery Rip. InDesign printed fine to Minolta with Fiery Rip using 10.9 Process:               Adobe InDesign CC 2014 [3401] Path:                  /Applications/Adobe InDesign CC 2014/Adobe

  • Mfbf back flushing

    Dear pp experties when i am doing MFBF in rem mfg i am facing one error message missing BOM component no material component available,,,,, i already created bom...pls explain thax in advance devendra

  • Regarding Authorisation for Document Numbering

    Dear All I want to give authorisation for Groups in Document Numbering series. How do i do it ? for example : i have three department and i have created seperate series for each department and each department will have different group; Dept1: series

  • Help downloading elements 12

    I purchased Elements 12 download.  Can't access it on my computer.  Can't get help from Adobe without paying for it? Have always purchased the software in the past, now I can't do that and this is a joke.  Very frustrated.  Can someone help?