Query to identify the recovery catalog database name from target database

Hi,
How to get the recovery catalog database name from the registered target database?
i dont know my recovery catalog database for my target database.
I know we can use the query
select * from rc_database;
from recovery catalog database to know all the registered database with the recovery catalog but I want to know is there any way or query to identify the recovery catalog database name from target database to which the target database is registered
With Regards
Boobathi P

You can check the backup scripts which you use to backup your target database to get the catalog database name.
And check the corresponding connect string in TNSNAMES.ORA file or tnsping to get the server details of the catalog database.
Edited by: gopal on Apr 12, 2013 12:59 PM

Similar Messages

  • Views to check the catalog database name from target database.

    Hi,
    Please help me to find view to check the catalog database name which is connected to my target database because I am new to the current environment where I am working now and the previous DBA have done the set up having 2 catalog database. I want view to check from target database, which can show the catalog database name to which it is connected to.
    We can check the catalog database name from the following ways but I want views to check it from target database.
    1.TNSnames.ora
    2.Any backup script connecting to catalog database.
    3.From catalog database we can use rc_database view to check the databases registered with the catalog database.

    Please help me to find view to check the catalog database name which is connected to my target databaseYou can check for any RMAN backup jobs that been scheduled on the server.
    In the scheduled script check rman command.
    You can then identify the database alias (of the catalog db) that is used in the rman backup script.
    Once you have found the database alias, check for the database alias entry in tnsnames.ora file present in your target database server.
    Once the entry is found, you can find the IP address and catalog db name from the tns entry.
    Edited by: st. osh on Nov 22, 2012 11:38 PM

  • Pecification does not match any archive log in the recovery catalog

    MAN> list archivelog all;
    pecification does not match any archive log in the recovery catalog
    RMAN> list backup of archivelog all
    BS Key Size Device Type Elapsed Time Completion Time
    671197 5.17M DISK 00:00:03 29-MAY-11
    BP Key: 671200 Status: AVAILABLE Compressed: YES Tag: TAG20110529T180030
    Piece Name: F:\OSSTDBY_BACKUP\ARCH\OSONDEMA_ARC_20110529_FVMDIGPU_S25087_P1
    List of Archived Logs in backup set 671197
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 44836 503663671 29-MAY-11 503675934 29-MAY-11
    2 22517 503663669 29-MAY-11 503675932 29-MAY-11
    BS Key Size Device Type Elapsed Time Completion Time
    671232 5.12M DISK 00:00:02 29-MAY-11
    BP Key: 671235 Status: AVAILABLE Compressed: YES Tag: TAG20110529T200050
    Piece Name: F:\OSSTDBY_BACKUP\ARCH\OSONDEMA_ARC_20110529_G1MDINRJ_S25089_P1
    List of Archived Logs in backup set 671232
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 44837 503675934 29-MAY-11 503688661 29-MAY-11
    2 22518 503675932 29-MAY-11 503688659 29-MAY-11
    BS Key Size Device Type Elapsed Time Completion Time
    671267 5.14M DISK 00:00:03 29-MAY-11
    BP Key: 671270 Status: AVAILABLE Compressed: YES Tag: TAG20110529T220036
    Piece Name: F:\OSSTDBY_BACKUP\ARCH\OSONDEMA_ARC_20110529_G3MDIUS4_S25091_P1
    List of Archived Logs in backup set 671267
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 44838 503688661 29-MAY-11 503701009 29-MAY-11
    2 22519 503688659 29-MAY-11 503701007 29-MAY-11
    BS Key Size Device Type Elapsed Time Completion Time
    671302 16.55M DISK 00:00:05 30-MAY-11
    BP Key: 671305 Status: AVAILABLE Compressed: YES Tag: TAG20110530T000048
    Piece Name: F:\OSSTDBY_BACKUP\ARCH\OSONDEMA_ARC_20110530_G5MDJ5TG_S25093_P1
    List of Archived Logs in backup set 671302
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 44839 503701009 29-MAY-11 503716961 30-MAY-11
    2 22520 503701007 29-MAY-11 503716959 30-MAY-11
    BS Key Size Device Type Elapsed Time Completion Time
    671337 5.13M DISK 00:00:02 30-MAY-11
    BP Key: 671340 Status: AVAILABLE Compressed: YES Tag: TAG20110530T020121
    Piece Name: F:\OSSTDBY_BACKUP\ARCH\OSONDEMA_ARC_20110530_G7MDJCVI_S25095_P1
    List of Archived Logs in backup set 671337
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 44840 503716961 30-MAY-11 503729544 30-MAY-11
    2 22521 503716959 30-MAY-11 503729542 30-MAY-11
    BS Key Size Device Type Elapsed Time Completion Time
    671372 5.25M DISK 00:00:03 30-MAY-11
    BP Key: 671375 Status: AVAILABLE Compressed: YES Tag: TAG20110530T040055
    Piece Name: F:\OSSTDBY_BACKUP\ARCH\OSONDEMA_ARC_20110530_G9MDJJVN_S25097_P1
    the archives are in the location of
    F:\OSSTDBY_BACKUP\ARCH\OSONDEMA_ARC_20110529_G1MDINRJ_S25089_P1
    when it is not specified in catalog how can i delete archives from f location i.e
    F:\OSSTDBY_BACKUP\ARCH\OSONDEMA_ARC_20110529_G1MDINRJ_S25089_P1
    please let me know from rman how can i delete archives from f location...........................
    do i need to register with catalog?
    i have used Delete archivelog all completed before 'SYSDATE-10';
    but no use
    out put is
    MAN> Delete archivelog all completed before 'SYSDATE-10';
    eleased channel: ORA_DISK_1
    llocated channel: ORA_DISK_1
    hannel ORA_DISK_1: sid=311 devtype=DISK
    pecification does not match any archive log in the recovery catalog
    MAN> crosscheck backup archivelog all;
    please send me the query which i can delete ......................thanks
    cheers
    mahesh

    EdStevens wrote:
    856483 wrote:
    <snip>
    can i have you mobile contact phone number if possible?
    I have seen some pretty astonishing requests on this board, but this one really raises (or lowers) the bar. Just what is it your boss is paying you to do?
    Some listserves have lots of people giving their number. I find it odd that people would, but not astonishing for someone to ask. Outside the norm here, but how would someone know ahead of time? It's a bravely connected new world.

  • PERFORMING FULL RECOVERY WHEN THE RECOVERY CATALOG AND CONTROLFILE ARE LOST

    제품 : RMAN
    작성날짜 : 2002-05-30
    PERFORMING FULL RECOVERY WHEN THE RECOVERY CATALOG AND CONTROLFILE ARE LOST
    ===========================================================================
    PURPOSE
    Recovery Catalog와 Controlfile이 손상되었을 때 Oracle9i의 new feature인
    Controlfile Autobackup을 이용하여 full recovery를 수행하는 방법을 알아본다
    EXPLANATION
    Catalog와 Controlfile이 모두 손상되었을 경우 full recovery를 수행할 수 있도록
    하기 위해 oracle9i부터 Controlfile Autobackup이라는 New feature를 제공한다.
    이 Feature가 활성화되면 RMAN은 자동으로 특정 형식(specific format)으로
    controlfile을 backup한다 나중에 RMAN은 Recovery catalog를 access하지 않고도
    이 backup을 인식할 수 있다. 이 형식은 "%F"라는 variable을 포함하는데
    이 variable은 중요한 정보인 DATABASE ID를 포함하고 있다.
    이것은 다음과 같은 CONFIGURE 명령을 사용하여 Turn-on 될 수 있다.
    RMAN> configure controlfile autobackup on;
    활성화시킨 후에 controlfile autobackup의 format을 변경할 수 있다. 그러나
    이것은 반드시 variable "%F"를 포함해야만 한다. 그렇지 않으면 다음과 같은 Error
    를 만나게 된다.
    RMAN> configure controlfile autobackup format for
    2> device type disk to 'c:\backups\%U';
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00579: the following error occurred at 01/31/2002 11:57:21
    RMAN-03002: failure during compilation of command
    RMAN-03013: command type: configure
    RMAN-06492: controlfile autobackup format "c:\backups\%U" must specify a "%F"
    format specifier
    %F 는 RMAN이 recovery catalog 없이 backup piece를 인식하도록 Key이다.
    이 Feature가 활성화 된 후에 RMAN은 BACKUP 명령을 수행할 때마다 controlfile에
    대해서 별도의 backup을 수행한다. 이전에는, controlfile 은 오직 system
    tablespace가 backup되는 경우에만 자동으로 backup되었다.
    Database Backup은 아래와 같은 log를 출력한다.
    RMAN> backup database;
    Starting backup at 31-JAN-02
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=12 devtype=DISK
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00001 name=C:\ORACLE\ORADATA\PROD\SYSTEM01.DBF
    input datafile fno=00002 name=C:\ORACLE\ORADATA\PROD\UNDOTBS01.DBF
    input datafile fno=00005 name=C:\ORACLE\ORADATA\PROD\EXAMPLE01.DBF
    input datafile fno=00006 name=C:\ORACLE\ORADATA\PROD\INDX01.DBF
    input datafile fno=00008 name=C:\ORACLE\ORADATA\PROD\USERS01.DBF
    input datafile fno=00003 name=C:\ORACLE\ORADATA\PROD\CWMLITE01.DBF
    input datafile fno=00004 name=C:\ORACLE\ORADATA\PROD\DRSYS01.DBF
    input datafile fno=00007 name=C:\ORACLE\ORADATA\PROD\TOOLS01.DBF
    channel ORA_DISK_1: starting piece 1 at 31-JAN-02
    channel ORA_DISK_1: finished piece 1 at 31-JAN-02
    piece handle=C:\BACKUPS\01DFKAIH_1_1 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:01:56
    Finished backup at 31-JAN-02
    Starting Control File Autobackup at 31-JAN-02
    piece handle=C:\BACKUPS\C-4159396170-20020131-00 comment=NONE
    Finished Control File Autobackup at 31-JAN-02
    Note:
    Controlfile backup은 backup의 끝에서 수행된다.
    그리고 이 backup piece name의 두번째 string은 dbid이다(4159396170)
    Current controlfile이 database와 함께 손실되고 Recovery catalog도 손상되어
    사용할 수 없게 되었을 때 controlfile autobackup이 controlfile을 restore하기
    위해 사용될 수 있다. restore된 controlfile은 db를 mount하고 datafile들을
    restore하기 위해 사용될 수 있다.
    Controlfile autobackup을 이용하여 full recovery를 수행하기 위해서는 아래와
    같은 과정을 수행하면 된다.
    1. Target instance를 위한 new init.ora를 생성한다. backup이 있다면 이것을
    사용할 수 있다.
    2. Startup nomount your new instance.
    3. RMAN은 시작하나 어떤 connect statement도 수행하지 않는다.
    4. RMAN prompt상에서 DBID를 설정한다. 만약 DBID를 모르면 controlfile autobackup
    의 이름으로부터 이것을 알 수 있다.
    RMAN> set dbid=4159396170;
    5. Dbid를 설정한 후에 nomount로 startup한 target instance에 connect한다.
    RMAN> connect target /
    6. 만약에 backup이 disk상에 있고 controlfile autobackup을 non-default location
    으로 지정하였다면 파일을 다음과 같은 위치로 옮겨 놓는다
    ON UNIX : ORACLE_HOME/dbs
    ON WINDOWS: ORACLE_HOME/database
    RMAN은 controlfile autobackup을 찾기 위해 위 directory를 검색한다.
    만약 controlfile autobackup location을 바꾸지 않으면 위 directory안에
    backup이 생성되게 된다.
    만약에 backup이 tape에 있다면 restore시 channel과 device를 기술하기 위해서
    run block을 사용해야 한다. database가 mount되어 있지 않기 때문에
    default device와 channel을 설정할 수 없다.
    RMAN> run { allocate channel c_1 type 'sbt_tape'
    parms "ENV=(NB_ORA_SERV=rm-wgt)";
    restore controlfile from autobackup;}
    7. Restore the controlfile:
    RMAN> restore controlfile from autobackup;
    8. Mount the database from the restored controlfile:
    RMAN> alter database mount;
    9. Restore datafiles:
    RMAN> restore database;
    10. file들을 restore한 후에 recovery를 수행할 수 있다.
    이때 current online redo log가 없고 또한 backup controlfile을 사용하기
    때문에 incomplete recovery를 수행해야 한다. 이를 수행하기 위해서는
    "UNTIL TIME"을 설정해야 하고 open시에는 resetlogs를 사용해야 한다.
    RMAN> set until time=<time stamp>;
    RMAN> recover database;
    RMAN> alter database open resetlogs;
    REFERENCE DOCUMENT
    NOTE:174623.1

    BACKUP Command Behavior
    ON
    If the backup includes datafile 1, then RMAN does not automatically include the current control file in the datafile backup set. Instead, RMAN writes the control file and server parameter file to a separate autobackup piece.
    Note: The autobackup occurs regardless of whether the BACKUP or COPY command explicitly includes the current control file, for example, BACKUP DATABASE INCLUDE CURRENT CONTROLFILE.
    OFF
    If the backup includes datafile 1, then RMAN automatically includes the current control file and server parameter file in the datafile backup set. RMAN does not create a separate autobackup piece containing the control file and server parameter file.
    BUT Dear Mohammed,
    It is not working accordingly. what I did is :-
    1. I switched off the AUTOBACKUP
    2. Then I took whole database backup, that means it included File # 1
    3. But according to above it is going to include autobackup of controlfile and spfile in the same backupset .
    4. But when I asked it to restore controlfile from autobackup it said NO AUTOBACKUP FOUND.
    COULD YOU PLEASE HELP ME ONCE AGAIN DEAR.
    If it works accroding to above then it should have my Autobackup.
    Regards
    Harpreet Singh

  • How to install the Recovery Catalog

    Hi:
    How to install the recovery catalog? I used the following commands from the menu and it didn't work:
    connect rman/rman
    @?/rdbms/admin/catrman
    There is no catrman.sql exists.
    Thank you very much.

    If you are using Oracle8i, make sure your compatibility is set to at least 8.1.0 and you are connected to the catalog database. Then type create catalog; at the RMAN command line.

  • How to remove database name from SQL query

    We have an MS SQL server with several databases that are of the same schema but have different data.  We do this for testing different environments.  We are using Crystal reports for the first time and we are having trouble changing the database location in the designer.  If update the data source location to the same database server, but different database name, the data still comes from the original database used when creating the report.  We look at the SQL query and it contains the database name and does not change when updating the data source.  Therefore the data always comes from the database used when originally creating the report.
    How can I remove the database name from the SQL query so the proper database is used when testing the report?

    Hi C F
    Please ensure you have followed the procedure mentioned below:
    In Crystal Reports, there are two ways to set the location of the data source your report points to, depending on your connection type.
    For ODBC and Native Connections:
    1. On the 'Database' menu, click 'Set Datasource Location'.
    2. In the 'Current Data Source' section, click the data source to be changed. You must click each individual table in the data source one by one. If the data source is a stored procedure you will not see individual tables.
    NOTE     In Crystal Reports 10, XIR1, and XIR2, if you are mapping from a data source such as a stored procedure where the report designer can not determine which fields should be mapped automatically, you will see a 'Mapping' dialog box where you can manually map fields, as in the procedure cited above.
    3. In the 'Replace with' section, click the data source you want the report to use.
    4. Click 'Update'.
    5. Close the 'Set Datasource Location' window.
    The report now points to the new location.
    For Native Connections Only:
    1. On the 'Database' menu, click 'Set Datasource Location'.
    2. In the 'Current Data Source' section, click 'Properties' to expand it and right-click 'Database Name: <path to database>'.
    3. Click 'Edit' and then type the path to the
    new data source location.
    4. Close the 'Set Datasource Location' window.
    The report now points to the new location.
    Regards
    Girish

  • Why SYS cannot be the owner of the recovery catalog

    my question is why? i know SYS cannot be the owner of the recovery catalog as per oracle documentations and books.
    why SYS cannot be the owner of the recovery catalog?

    Hi
    SYS is like root/system admin for the database. It has to distribute jobs according to specific purpose. SYS could have been the owner of RMAN catalog but it does not make sense to keep it with SYS objects as it is easier to find all related catalog tables in a separate schema rather than combing with any other sys/system schema. The choice is logical.
    Regards

  • Minimum size of SGA for the recovery catalog db ?

    I've created a recovery catalog database and by default the total size of the SGA is 180MB. Problem is, there isnt' much memory on development server to run the target and recovery catalog database (catdb).
    Would it be possible to startup catdb with an SGA of size 10 MB or so? What's the minimum size? I figured since catdb is only used as for the recovery catalog and would rarely be access or changed, it doesn't need to use that much memory.
    Thanks in advance

    Hi David,
    In 10g, the minimal shared_pool_size is 120M, otherwise you will get
    ORA-00371: not enough shared pool memory, should be atleast 123232153 bytes
    You can set java_pool_size to 0, which is NOT the default.
    You could also set the large_pool_size to 0, but I am not sure this is recommended.
    In 8.0 shared_pool_size could be as low as 300K. Read your Reference manual for the values specifics to your version
    HTH
    Laurent Schneider
    OCM DBA

  • Specification does not match any archive log in the recovery catalog

    Hi
    My rman backups sometimes fails with below error, any idea the reason ?
    run {
    allocate channel t1 type 'SBT_TAPE';
    backup
    incremental level 0
    format '/%d_%p_%t.%s/'
    maxsetsize = 8G
    (database);
    backup
    format '/%d_%p_%t_al.%s/'
    (archivelog from time 'SYSDATE-2');
    backup
    format '/%d_%p_%t_al.%s/'
    (archivelog until time 'SYSDATE-2' delete input);
    release channel t1;
    Starting backup at 2011-01-18 22:41:59
    current log archived
    channel t1: starting archive log backupset
    channel t1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=7348 recid=6260 stamp=740682001
    input archive log thread=1 sequence=7349 recid=6261 stamp=740702540
    input archive log thread=1 sequence=7350 recid=6262 stamp=740739604
    input archive log thread=1 sequence=7351 recid=6263 stamp=740746801
    input archive log thread=1 sequence=7352 recid=6264 stamp=740757602
    input archive log thread=1 sequence=7353 recid=6265 stamp=740768401
    input archive log thread=1 sequence=7354 recid=6266 stamp=740788921
    channel t1: starting piece 1 at 2011-01-18 22:42:04
    channel t1: finished piece 1 at 2011-01-18 22:42:29
    channel t1: backup set complete, elapsed time: 00:00:26
    Finished backup at 2011-01-18 22:42:29
    Starting backup at 2011-01-18 22:42:31
    released channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 01/18/2011 22:42:31
    RMAN-06004: ORACLE error from recovery catalog database: RMAN-20242: specification does not match any archive log in the recovery catalog
    Recovery Manager complete.

    Hi Ora 83,
    What is the reason of this error ? The reason for the RMAN-20242 is there are no archivelogs which comply to the filter "until time 'SYSDATE-2'" at 18 Jan 22:42.
    Probably you run a purge command more frequent because the oldest logsequence available for backup was created at:
    2011 JAN 17 17 00 01 (=sequence=7348)
    and the latest at:
    2011 JAN 18 22 42 01 (=sequence=7354)
    according to your output.
    So for some reason the archivelogs created before 16th Jan 22:42 are not on the system as well as the archivelogs created between 16th Jan 22:42 and 17 Jan 17:00.
    Maybe there are none (you can check in the alertlog and let us know)?
    Regards,
    Tycho

  • How to Identify the Type of Font Names in Illustrator

    How to identify the type of font names like "True Type font" (or) "open Type font" for illustrator file using Scripts or any language. Could you please advice me.
    Thanks,
    Prabudass

    If there is an Illustrator SDKor Illustrator Scripting forum, try
    that. ATM won't really help - it is obsolete and should not be
    installed (breaks things).
    Aandi Inston

  • Identify the Type of Font Names in Illustrator

    How to identify the type of font names like "True Type font" (or) "open Type font" for illustrator file using Scripts or any language. Could you please advice me.
    Thanks,
    Prabudass

    This is not an AFDKO question at all. You might have the best luck posting in the Illustrator forum.

  • "specification does not match any archived log in the recovery catalog"

    I would like to know about this message.
    I Validated my backup and archivelogs yesterday.
    Today when I tried to do - CROSSCHECK ARCHIVELOG ALL;
    I gave me the following error -
    RMAN> crosscheck archivelog all;
    released channel: ORA_SBT_TAPE_1
    released channel: ORA_DISK_1
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=291 device type=DISK
    specification does not match any archived log in the recovery catalog
    when I tried to list all the archivelogs then also I am getting this message -
    RMAN> list archivelog all;
    specification does not match any archived log in the recovery catalog
    I have retention policy of 15 Days.
    Waiting for your inputs.

    Thanks Werner..This means that it is just a message.
    One more question related to Archive Log backups -
    traditionally DBAs used to take backup of an Archivelog by spupplying "alter system archive log current" before taking the backup. somewhat like -
    run
    allocate channel t1 device type 'sbt_tape' PARMS="ENV=(TDPO_OPTFILE=/oracle/TESTDB/tdpo.opt)";
    sql 'alter system archive log current';
    backup archivelog all delete input;
    release channel t1;
    But, since RMAN automatically archives CURRENT redo log at the start of the archivelog backup, do we REALLY need to pass sql 'alter system archive log current'; before starting the archivelog backup in the script?
    RMAN> backup archivelog all;
    Starting backup at 11-MAR-10
    current log archived ===========> RMAN automatically archived the CURRENT redo log
    released channel: ORA_DISK_1
    allocated channel: ORA_SBT_TAPE_1
    related question to this is - Since it generates one archived log everytime it takes the archived log backup, this backup may get hung if the archived destination is 100% full. Is there any way we can take the archive log backup without generating an extra archived log before the start of the backup?
    Thanks,
    Roopesh

  • Mapping between the query/report and the role with technical names - BI Sec

    Hi,
    How to find the mapping between the query/report and the role with technical names ?
    Like in R/3 we can find the mapping using table AGR_TCODES or thourgh SUIM. However in BI all reports have tcode RRMX.
    So. how to find the role for a given query/report like sales report with technical names?

    I looked into this quite a while ago and cannot remember the exact details, but I think there were 3 tables needed together with a structure to explore with a function module, and you need to use the program ID to think them.
    If you look in SQ01 then I am sure you will find one of the tables, and then search from there onward.
    Alternately, while searching you might find a nice report which does this for you.
    Hope that helps and let us know whether you find it.
    Cheers,
    Julius

  • Mapping between the query/report and the role with technical names

    Hi,
    How to find the mapping between the query/report and the role with technical names ?
    Like in R/3 we can find the mapping using table AGR_TCODES or thourgh SUIM. However in BI all reports have tcode RRMX.
    So. how to find the role for a given query/report like sales report with technical names?
    Edited by: Phoenix on Jul 26, 2008 4:15 PM

    Posted in wrong forum

  • SQL Query to get Project Plan Name and Resource Name from Reporting database of Project Server 2007

    Can you please help me to write an SQL Query to get Project Plan Name and Resource Name from Reporting database of Project Server 2007. Thanks!!

    Refer
    http://gallery.technet.microsoft.com/projectserver/Server-20072010-SQL-Get-a99d4bc6
    SELECT
    dbo.MSP_EpmAssignment_UserView.ProjectUID,
    dbo.MSP_EpmAssignment_UserView.TaskUID,
    dbo.MSP_EpmProject_UserView.ProjectName,
    dbo.MSP_EpmTask_UserView.TaskName,
    dbo.MSP_EpmAssignment_UserView.ResourceUID,
    dbo.MSP_EpmResource_UserView.ResourceName,
    dbo.MSP_EpmResource_UserView.ResourceInitials
    INTO #TempTable
    FROM dbo.MSP_EpmAssignment_UserView INNER JOIN
    dbo.MSP_EpmProject_UserView ON dbo.MSP_EpmAssignment_UserView.ProjectUID = dbo.MSP_EpmProject_UserView.ProjectUID INNER JOIN
    dbo.MSP_EpmTask_UserView ON dbo.MSP_EpmAssignment_UserView.TaskUID = dbo.MSP_EpmTask_UserView.TaskUID INNER JOIN
    dbo.MSP_EpmResource_UserView ON dbo.MSP_EpmAssignment_UserView.ResourceUID = dbo.MSP_EpmResource_UserView.ResourceUID
    SELECT
    ProjectUID,
    TaskUID,
    ProjectName,
    TaskName,
    STUFF((
    SELECT ', ' + ResourceInitials
    FROM #TempTable
    WHERE (TaskUID = Results.TaskUID)
    FOR XML PATH (''))
    ,1,2,'') AS ResourceInitialsCombined,
    STUFF((
    SELECT ', ' + ResourceName
    FROM #TempTable
    WHERE (TaskUID = Results.TaskUID)
    FOR XML PATH (''))
    ,1,2,'') AS ResourceNameCombined
    FROM #TempTable Results
    GROUP BY TaskUID,ProjectUID,ProjectName,TaskName
    DROP TABLE #TempTable
    -Prashanth

Maybe you are looking for

  • XL Reports - EXCEL msg -You can only open the document as Read Only

    READ ONLY notification from MS EXCEL when two people try to run the same XLR report at the same time.  Here is what is going on: u2022     Person A runs an XLR report (SAP client running on a Local Machine) u2022     Person B runs the same XLR report

  • Unable to set Flash Player Settings (Windows)

    How to resolve problems with Flash Player Settings; either unable to change anything on the Settings panel, or new settings won't save: close all browser windows open Windows Explorer in the address bar type %appdata%\Adobe delete the 'Flash Player'

  • Motion Splash Template - How to change colors

    So I just downloaded Motion 5 today.  I will preface this question by stating that I am not an expert with Motion.  I have really only played with Motion 3 awhile back. I was trying to experiment with some of the Motion Compositions/templates that ar

  • HT4061 Resolve iTunes billing and payment

    How do I speak to a tech so I can resolve my billing. And payment issue, it's keeping me from being able to make any downloads to my iphone

  • Major memory problem/crash with UIImage

    Hi, Our app needs to render the screen to an UIImage and everytime we do that, the memory utilization of app goes up by about 0.3M [as shown by XCode execution panel, but the Instruments panel shows 3M - see below] eventually causing memory warning a