BRBACKUP fails with 'BR0301W SQL error -980 at location BrbDbLogOpen'

Hello mates,
BRBACKUP on our Portal systems fails with the following error:
EP Version: 600
Platform: HP-Unix (ia64 hp server rx7640)
Oracle: 920_64
BRTOOLS 6.40 (40)
BR0301W SQL error -980 at location BrbDbLogOpen
BR0324W Insertion of database log header failed
Here is the exerpt from the logfile:
==============================================
BR0051I BRBACKUP 6.40 (40)
BR0055I Start of database backup: bdyxzsml.anf 2008-10-01 08.04.51
BR0477I Oracle pfile /oracle/GGF/920_64/dbs/initGGF.ora created from spfile /oracle/GGF/920_64/dbs/spfileGGF.ora
BR0925I Public synonym SAP_SDBAH created successfully for table SAPGGFDB.SDBAH
BR0925I Public synonym SAP_SDBAD created successfully for table SAPGGFDB.SDBAD
BR0925I Public synonym SAP_MLICHECK created successfully for table SAPGGFDB.MLICHECK
BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
BR0301W SQL error -980 at location BrbDbLogOpen-5
ORA-00980: synonym translation is no longer valid
BR0324W Insertion of database log header failed
BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
BR0319I Control file copy created: /oracle/GGF/sapbackup/cntrlGGF.dbf 8052736
BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
BR0301W SQL error -980 at location BrDbfInfoGet-30
ORA-00980: synonym translation is no longer valid
BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
BR0301W SQL error -980 at location BrDbfInfoGet-31
ORA-00980: synonym translation is no longer valid
BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
BR0301E SQL error -980 at location BrComprDurGet-1
ORA-00980: synonym translation is no longer valid
BR0314E Collection of information on database files failed
BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
BR0301W SQL error -980 at location BrbDbLogOpen-5
ORA-00980: synonym translation is no longer valid
BR0324W Insertion of database log header failed
BR0056I End of database backup: bdyxzsml.anf 2008-10-01 08.04.51
BR0280I BRBACKUP time stamp: 2008-10-01 08.04.51
BR0054I BRBACKUP terminated with errors
============================================
I am not able to find any relevant solutions in SMP so far.
Please help find a solution.
Thanks & Regards,
Manoj

Hello ,
Am trying to take the online backup using brtools in my portal server but giving below error:
BR0051I BRBACKUP 7.00 (24)
BR0055I Start of database backup: bdzqskqc.and 2009-01-08 17.44.50
BR0484I BRBACKUP log file: /oracle/EPP/sapbackup/bdzqskqc.and
BR0477I Oracle pfile /oracle/EPP/102_64/dbs/initEPP.ora created from spfile /oracle/EPP/102_64/dbs/spfileEPP.ora
BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
BR0301W SQL error -1031 at location BrbDbLogOpen-5, SQL statement:
'INSERT INTO SAP_SDBAH (BEG, FUNCT, SYSID, OBJ, RC, ENDE, ACTID, LINE) VALUES ('20090108174450', 'and', 'EPP', ' ', '99
, ' ', 'bdzqskqc', '#    0     0     0         0                0        0                0  ALL          online
disk             ---k-c 7.00 (24)')'
ORA-01031: insufficient privileges
BR0324W Insertion of database log header failed
BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
BR0319I Control file copy created: /oracle/EPP/sapbackup/cntrlEPP.dbf 7397376
BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
BR0301W SQL error -1031 at location BrDbfInfoGet-32, SQL statement:
'DELETE FROM SAP_SDBAH WHERE BEG > '10000000000000' AND BEG < '20071205000000''
ORA-01031: insufficient privileges
BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
BR0301W SQL error -1031 at location BrDbfInfoGet-33, SQL statement:
'DELETE FROM SAP_SDBAD WHERE BEG > '10000000000000' AND BEG < '20071205000000''
ORA-01031: insufficient privileges
BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
BR0301E SQL error -1031 at location BrComprDurGet-1, SQL statement:
'OPEN curs_6 CURSOR FOR'
'SELECT FUNCT, POS, LINE FROM SAP_SDBAD WHERE BEG = '00000000000001' AND (FUNCT = 'CMP' OR FUNCT = 'CMP' OR FUNCT = 'DC
OR FUNCT = 'DCM') ORDER BY FUNCT'
ORA-01031: insufficient privileges
BR0314E Collection of information on database files failed
BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
BR0301W SQL error -1031 at location BrbDbLogOpen-5, SQL statement:
'INSERT INTO SAP_SDBAH (BEG, FUNCT, SYSID, OBJ, RC, ENDE, ACTID, LINE) VALUES ('20090108174450', 'and', 'EPP', ' ', '99
, ' ', 'bdzqskqc', '7.00 (24)')'
ORA-01031: insufficient privileges
BR0324W Insertion of database log header failed
BR0056I End of database backup: bdzqskqc.and 2009-01-08 17.44.50
BR0280I BRBACKUP time stamp: 2009-01-08 17.44.50
BR0054I BRBACKUP terminated with errors
Please suggest/guide
Regards,
AMS Team

Similar Messages

  • BR error  BR0301W SQL error -980 at location BrDbfInfoGet-33  ,  ORA-00980

    Hi  <br/>
    i get this error by all kind backup and by checkdb, verify db<br/>
    <br/>
    Oracle 10.2.0.4, RHEL 4 32bit, <br/>
    Netweaver 2004s (7)<br/>
    <br/>
    I have one Oracle NW7  for Netweaver PI (NW7) and Portal  (EP7)<br/>
    <br/>
    <br/>
    <br/>
    BR0051I BRBACKUP 7.00 (18)<br/>
    BR0055I Start of database backup: bedxcwak.afd 2010-08-15 12.21.54<br/>
    BR0477I Oracle pfile /oracle/NW7/102_32/dbs/initNW7.ora created from spfile /oracle/NW7/102_32/dbs/spfileNW7.ora<br/>
    <br/>
    BR0925I Public synonym SAP_SDBAH created successfully for table SAPSR9DB.SDBAH<br/>
    BR0925I Public synonym SAP_SDBAD created successfully for table SAPSR9DB.SDBAD<br/>
    BR0925I Public synonym SAP_MLICHECK created successfully for table SAPSR9DB.MLICHECK<br/>
    BR0925I Public synonym SAP_SAPLIKEY created successfully for table SAPSR9DB.SAPLIKEY<br/>
    BR0280I BRBACKUP time stamp: 2010-08-15 12.21.55<br/>
    BR0301W SQL error -980 at location BrbDbLogOpen-5, SQL statement:<br/>
    'INSERT INTO SAP_SDBAH (BEG, FUNCT, SYSID, OBJ, RC, ENDE, ACTID, LINE) VALUES ('20100815122154', 'afd', 'NW7', ' ', '9999', ' ', 'bedxcwak', ' ')'<br/>
    ORA-00980: synonym translation is no longer valid<br/>
    BR0324W Insertion of database log header failed<br/>
    BR0280I BRBACKUP time stamp: 2010-08-15 12.21.56<br/>
    BR0301W SQL error -980 at location BrDbfInfoGet-32, SQL statement:<br/>
    'DELETE FROM SAP_SDBAH WHERE BEG > '10000000000000' AND BEG < '20090711000000''<br/>
    ORA-00980: synonym translation is no longer valid<br/>
    BR0280I BRBACKUP time stamp: 2010-08-15 12.21.56<br/>
    BR0301W SQL error -980 at location BrDbfInfoGet-33, SQL statement:<br/>
    'DELETE FROM SAP_SDBAD WHERE BEG > '10000000000000' AND BEG < '20090711000000''<br/>
    ORA-00980: synonym translation is no longer valid<br/>
    BR0280I BRBACKUP time stamp: 2010-08-15 12.21.56<br/>
    BR0301E SQL error -980 at location BrComprDurGet-1, SQL statement:<br/>
    'OPEN curs_6 CURSOR FOR'<br/>
    'SELECT FUNCT, POS, LINE FROM SAP_SDBAD WHERE BEG = '00000000000001' AND (FUNCT = 'CMP' OR FUNCT = 'CMP' OR FUNCT = 'DUS' OR FUNCT = 'DUM') ORDER BY FUNCT'<br/>
    ORA-00980: synonym translation is no longer valid<br/>
    BR0314E Collection of information on database files failed<br/>
    BR0280I BRBACKUP time stamp: 2010-08-15 12.21.56<br/>
    BR0301W SQL error -980 at location BrbDbLogOpen-5, SQL statement:<br/>
    'INSERT INTO SAP_SDBAH (BEG, FUNCT, SYSID, OBJ, RC, ENDE, ACTID, LINE) VALUES ('20100815122154', 'afd', 'NW7', ' ', '9999', ' ', 'bedxcwak', ' ')'
    ORA-00980: synonym translation is no longer valid<br/>
    BR0324W Insertion of database log header failed<br/>
    <br/>
    BR0056I End of database backup: bedxcwak.afd 2010-08-15 12.21.56<br/>
    BR0280I BRBACKUP time stamp: 2010-08-15 12.21.56<br/>
    BR0054I BRBACKUP terminated with errors<br/>
    <br/>
    ###############################################################################<br/>
    <br/>
    <br/>
    Please help<br/>
    <br/>
    BR <br/>
    Dawid<br/>

    after aply this Snote i get this by trying backup my DB <b/>
    Job log
    Job started
    Step 001 started (program RSDBAJOB, variant &0000000000029, user ID GLOMBDAW)
    Execute logical command BRBACKUP On host nw2004s
    Parameters:-u / -jid ALL__20100815175009 -c force -t online -m all -p initNW7.sap
    BR0051I BRBACKUP 7.00 (18)
    BR0055I Start of database backup: bedxdzeb.and 2010-08-15 17.50.13
    BR0280I BRBACKUP time stamp: 2010-08-15 17.50.13
    BR0301E SQL error -942 at location BrDbConnect-4,SQL statement:
    'SELECT NAME, NVL(RESETLOGS_CHANGE#, 0), NVL(TO_NUMBER(TO_CHAR(RESETLOGS_TIME, 'YYYYMMDDHH24MISS')), 0), NVL(TO_NUMBER(TO_CHAR(C
    ORA-00942: table or view does not exist
    BR0310E Connect to database instance NW7 failed
    BR0280I BRBACKUP time stamp: 2010-08-15 17.50.13
    BR0301E SQL error -942 at location BrDbConnect-4,SQL statement:
    'SELECT NAME, NVL(RESETLOGS_CHANGE#, 0), NVL(TO_NUMBER(TO_CHAR(RESETLOGS_TIME, 'YYYYMMDDHH24MISS')), 0), NVL(TO_NUMBER(TO_CHAR(C
    ORA-00942: table or view does not exist
    BR0310E Connect to database instance NW7 failed
    BR0056I End of database backup: bedxdzeb.and 2010-08-15 17.50.13
    BR0280I BRBACKUP time stamp: 2010-08-15 17.50.13
    BR0054I BRBACKUP terminated with errors
    External program terminated with exit code 3
    BRBACKUP returned error status E
    Job finished

  • BR0301W SQL error -1031 at location BrbDbLogOpen-5

    HI Experts,
    When I am trying to backup the oracle database through brtools I am getting ORA-01031 error.
    I am trying to do tht through sapadm user.
    BR0051I BRBACKUP 7.00 (6)
    BR0055I Start of database backup: bebaqawf.and 2009-07-17 15.54.33
    BR0477I Oracle pfile F:\ORACLE\HWS\102\database\initHWS.ora created from spfile
    F:\ORACLE\HWS\102\database\spfileHWS.ora
    BR0280I BRBACKUP time stamp: 2009-07-17 15.54.37
    BR0301W SQL error -1031 at location BrbDbLogOpen-5
    ORA-01031: insufficient privileges
    BR0324W Insertion of database log header failed
    BR0280I BRBACKUP time stamp: 2009-07-17 15.54.38
    BR0319I Control file copy created: F:\oracle\HWS\sapbackup\cntrlHWS.dbf 12664832
    BR0280I BRBACKUP time stamp: 2009-07-17 15.54.38
    BR0301W SQL error -1031 at location BrDbfInfoGet-30
    ORA-01031: insufficient privileges
    BR0280I BRBACKUP time stamp: 2009-07-17 15.54.38
    BR0301W SQL error -1031 at location BrDbfInfoGet-31
    ORA-01031: insufficient privileges
    BR0280I BRBACKUP time stamp: 2009-07-17 15.54.38
    BR0301E SQL error -1031 at location BrComprDurGet-1
    ORA-01031: insufficient privileges
    BR0314E Collection of information on database files failed
    BR0280I BRBACKUP time stamp: 2009-07-17 15.54.38
    BR0301W SQL error -1031 at location BrbDbLogOpen-5
    ORA-01031: insufficient privileges
    BR0324W Insertion of database log header failed
    BR0056I End of database backup: bebaqawf.and 2009-07-17 15.54.38
    BR0280I BRBACKUP time stamp: 2009-07-17 15.54.38
    BR0054I BRBACKUP terminated with errors
    Regards,
    Rahul.

    Simply your user doesn't have enough rights...
    Read
    SAP Note 91216 - BRBACKUP/SAPDBA: ORA-01031 Insufficient privileges
    SAP Note 1028220 - ORA-01031: Insufficient privileges despite SAPCONN role
    Regards
    Juan

  • BR0301W SQL error -1012 at location db_file_switch-15, SQL statement:

    Dear all ,
    offline Backup finished with error .
    kindly find the below logs
    #BEGIN /oracle/IRP/sapdata3/undo_1/undo.data1
    BR0280I BRCONNECT time stamp: 2010-02-07 03.00.28
    BR0307I Shutting down database instance IRP ...
    BR0280I BRCONNECT time stamp: 2010-02-07 03.02.39
    BR0308I Shutdown of database instance IRP successful
    BR0280I BRCONNECT time stamp: 2010-02-07 03.02.39
    BR0301W SQL error -1012 at location db_file_switch-15, SQL statement:
    'SELECT NVL(BYTES, 0) FROM DBA_DATA_FILES WHERE FILE_ID = 2'
    ORA-01012: not logged on
    BR0280I BRCONNECT time stamp: 2010-02-07 03.02.39
    BKI0023I: Time: 02/07/10 03:04:09 Done: 9.766 GB (6.8 %) of 142.774 GB. Estimated end time: 02/07/10 03:58:24.
    BKI0053I: Time: 02/07/10 03:04:09 Object: 1 of 46 done: /oracle/IRP/sapdata3/undo_1/undo.data1 with: 9.766 GB saved with description IRP___A0G5CX5F1D.
    BR0280I BRCONNECT time stamp: 2010-02-07 03.04.11
    #END /oracle/IRP/sapdata3/undo_1/undo.data1
    BR0280I BRCONNECT time stamp: 2010-02-07 03.04.11
    BR0280I BRBACKUP time stamp: 2010-02-07 03.04.11
    #FILE..... /oracle/IRP/sapdata3/undo_1/undo.data1
    #SAVED.... IRP___A0G5CX5F1D
    BKI0027I: Time: 02/07/10 03:04:11 Object: 2 of 46 in process: /oracle/IRP/sapdata2/sr3700_5/sr3700.data5 Size: 4.336 GB, MGMNT-CLASS: WEEKLYMGMTCLASS, TSM-Server: PRODORADB_TDP@10
    BR0280I BRCONNECT time stamp: 2010-02-07 03.04.13
    #BEGIN /oracle/IRP/sapdata2/sr3700_5/sr3700.data5
    BR0280I BRCONNECT time stamp: 2010-02-07 03.04.13
    BR0301W SQL error -1012 at location db_file_switch-15, SQL statement:
    'SELECT NVL(BYTES, 0) FROM DBA_DATA_FILES WHERE FILE_ID = 28'
    ORA-01012: not logged on
    regards

    Hi
    Have a look at note : 1235951
    what version of the Brtools are you running ?
    Mark

  • BR0301E SQL error -1031 at location BrInitOraCreate-1

    when i am performing database backup through brtools 6.4 i am facing this error

    complete error list is
    BR0291I BRBACKUP will be started with options '-p initDCTEST.sap -d disk -t offline -m all -k no -e
    0 -l E'
    BR0280I BRTOOLS time stamp: 2005-10-18 16.23.43
    BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
    c
    BR0280I BRTOOLS time stamp: 2005-10-18 16.23.47
    BR0257I Your reply: 'c'
    BR0259I Program execution will be continued...
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    BR0051I BRBACKUP 6.40 (3)
    BR0169W Value 'ibs=' of parameter/option 'dd_in_flags' ignored for 'Windows NT' - 'bs=' assumed
    BR0055I Start of database backup: bdrbziml.afd 2005-10-18 16.23.47
    BR0280I BRBACKUP time stamp: 2005-10-18 16.23.48
    BR0301E SQL error -1031 at location BrInitOraCreate-1
    ORA-01031: insufficient privileges
    BR0303E Determination of RDBMS version failed
    BR0280I BRBACKUP time stamp: 2005-10-18 16.23.48
    BR0301W SQL error -942 at location BrbDbLogOpen-1
    ORA-00942: table or view does not exist
    BR0324W Insertion of database log header failed
    BR0056I End of database backup: bdrbziml.afd 2005-10-18 16.23.48
    BR0280I BRBACKUP time stamp: 2005-10-18 16.23.48
    BR0054I BRBACKUP terminated with errors
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    BR0292I Execution of BRBACKUP terminated with return code 3

  • BRCONNECT fails with SQL error -942 at location ora_vers_get-1

    BR0801I BRCONNECT 6.40 (34)
    BR0280I BRCONNECT time stamp: 
    BR0301E SQL error -942 at location ora_vers_get-1
    ORA-00942: table or view does not exist
    BR0303E Determination of RDBMS version failed
    BR0280I BRCONNECT time stamp: 
    BR0301W SQL error -942 at location brc_dblog_open-1
    ORA-00942: table or view does not exist
    BR0324W Insertion of database log header failed
    BR0806I End of BRCONNECT processing: cdvvpgqj.log2007-
    BR0280I BRCONNECT time stamp: 
    BR0804I BRCONNECT terminated with errors
    External program terminated with exit code 3
    BRCONNECT returned error status E
    The same command if I am executing from CMD line, it runs fine, but only through DB13 it gives me the problem. I have just applied the note : 400421.

    Hi Deepak,
    Thanks for the reply. Actually that note is of no use to me becuase I have mess up with note no. 400241.
    If I run the command of brconnect -u/ -c -f stats -t ALL, it run successfully. Only through DB13 it is having problem,
    I think I am confused with the owner of SAPUSER and T000 in the query of note 400241.
    select owner from dba_Tables where table_name='T000'
    returns SAPDEV
    select owner from dba_Tables where table_name='SAPUSER'
    returns OPS$SANDBOX\SNXADM( done a system refresh)
    SELECT OWNER, TABLE_OWNER, TABLE_NAME FROM DBA_SYNONYMS
    WHERE SYNONYM_NAME = 'SAPUSER';
    return
    OPS$SANDBOX\SAPSERVICESNX      OPS$SANDBOX\SNXADM        SAPDEV
    synonyms also okay
    OPS$SANDBOX\SAPSERVICESNX     sap
    I doubt if there is any problem with OPS$ mechanism autho.... But I have alreay given select, update, resource to OPS$SANDBOX\SAPSERVICESNX    
    Any idea what might be the problem?

  • BR0301W SQL error -1017

    Hi,
    I want to management and monitoring to a oracle remote database (JAVA database). I´ve made the connection from dbacockpit and I´ve put the user of schema sapsr3db and the connection it´s succesfully established
    -- MESSAGE Database connection Java_db established successfully
    But I want to schedule the administrative actions for DB, via DB13 I´ve always the next message error:
    Parameters:-u / -jid LOG__20110501373222 -sid D10 -c force -p initepd.sap -sd
    BR0002I BRARCHIVE 7.00 (52)
    BR0252E Function fopen() failed for 'F:oracleorasap102databaseinitepd.sap' at location BrInitSapRead-1
    BR0253E errno 13: Permission denied
    BR0159E Error reading BR*Tools profile F:oracleorasap102databaseinitepd.sap
    BR0280I BRARCHIVE time stamp: 2011-05-01
    BR0301W SQL error -1017 at location BrDbConnect-2, SQL statement:
    'CONNECT /'
    ORA-01017: invalid username/password; logon denied
    BR0310W Connect to database instance D10 failed
    BR0007I End of offline redo log processing: aefuiaiw.log 2011-05-01
    BR0280I BRARCHIVE time stamp: 2011-05-01
    BR0005I BRARCHIVE terminated with errors
    External program terminated with exit code 3
    BRARCHIVE returned error status E
    I´ve found several notes with this error 480266 , 400241, 113747, 651351 but I´m not sure that It´s the same error.
    More thanks.

    <owner> | (<owner_list>)
    default: all SAP owners
    next_owner = sapr3
    database objects to adapt next extents
    all | all_ind | special | [<owner>.]<table> | [<owner>.]<index>
    | [<owner>.][<prefix>]*[<suffix>] | <tablespace> | (<object_list>)
    default: all abjects of selected owners, example:
    next_table = (SDBAH, SAPR3.SDBAD)
    database objects to be excluded from adapting next extents
    all_part | [<owner>.]<table> | [<owner>.]<index>
    | [<owner>.][<prefix>]*[<suffix>] | <tablespace> | (<object_list>)
    default: no exclusion, example:
    next_exclude = (SDBAH, SAPR3.SDBAD)
    database objects to get special next extent size
    all_sel:<size>[/<limit>] | [<owner>.]<table>:<size>[/<limit>]
    | [<owner>.]<index>:<size>[/<limit>]
    | [<owner>.][<prefix>]*[<suffix>]:<size>[/<limit>]
    | (<object_size_list>)
    default: according to table category, example:
    next_special = (SDBAH:100K, SAPR3.SDBAD:1M/200)
    maximum next extent size
    default: 2 GB - 5 * <database_block_size>
    next_max_size = 1G
    maximum number of next extents
    default: 0 - unlimited
    next_limit_count = 300
    database owner of objects to update statistics
    <owner> | (<owner_list>)
    default: all SAP owners
    stats_owner = sapr3
    database objects to update statistics
    all | all_ind | all_part | missing | info_cubes | dbstatc_tab
    | dbstatc_mon | dbstatc_mona | [<owner>.]<table> | [<owner>.]<index>
    | [<owner>.][<prefix>]*[<suffix>] | <tablespace> | (<object_list>)
    | harmful | locked | system_stats | oradict_stats | oradict_tab
    default: all abjects of selected owners, example:
    stats_table = (SDBAH, SAPR3.SDBAD)
    database objects to be excluded from updating statistics
    all_part | info_cubes | [<owner>.]<table> | [<owner>.]<index>
    | [<owner>.][<prefix>]*[<suffix>] | <tablespace> | (<object_list>)
    default: no exclusion, example:
    stats_exclude = (SDBAH, SAPR3.SDBAD)
    method for updating statistics for tables not in DBSTATC
    E | EH | EI | EX | C | CH | CI | CX | A | AH | AI | AX | E= | C= | =H
    | =I | =X | +H | +I
    default: according to internal rules
    stats_method = E
    sample size for updating statistics for tables not in DBSTATC
    P<percentage_of_rows> | R<thousands_of_rows>
    default: according to internal rules
    stats_sample_size = P10
    number of buckets for updating statistics with histograms
    default: 75
    stats_bucket_count = 75
    threshold for collecting statistics after checking
    <threshold> | (<threshold> [, all_part:<threshold>
    | info_cubes:<threshold> | [<owner>.]<table>:<threshold>
    | [<owner>.][<prefix>]*[<suffix>]:<threshold>
    | <tablespace>:<threshold> | <object_list>])
    default: 50%
    stats_change_threshold = 50
    number of parallel threads for updating statistics
    default: 1
    stats_parallel_degree = 1
    processing time limit in minutes for updating statistics
    default: 0 - no limit
    stats_limit_time = 0
    parameters for calling DBMS_STATS supplied package
    all:R|B[<buckets>|A|S|R]:0|<degree>A|D
    | all_part:R|B[<buckets>|A|S|R]:0|<degree>A|D
    | info_cubes:R|B:A|D|0|<degree>
    | [<owner>.]<table>:R|B[<buckets>|A|S|R]:0|<degree>A|D
    | [<owner>.][<prefix>]*[<suffix>]:R|B[<buckets>|A|S|R]:0|<degree>A|D
    | (<object_list>) | NO
    R|B[<buckets>|A|S|R]:
    'R' - row sampling, 'B' - block sampling,
    <buckets> - histogram buckets count, 'A' - auto buckets count,
    'S' - skew only, 'R' - repeat
    <degree>A|D:
    <degree> - dbms_stats parallel degree, '0' - table degree,
    'A' - auto degree, 'D' - default degree
    default: ALL:R:0
    stats_dbms_stats = ([ALL:R:1,][<owner>.]<table>:R:<degree>,...)
    definition of info cube tables
    default | rsnspace_tab | [<owner>.]<table>
    | [<owner>.][<prefix>]*[<suffix>] | (<object_list>) | null
    default: rsnspace_tab
    stats_info_cubes = (/BIC/D, /BI0/D, ...)
    special statistics settings
    (<table>:[<owner>]:<active>:[<method>]:[<sample>], ...)
    stats_special = (<special_list>)
    recovery type [complete | dbpit | tspit | reset | restore | apply
    | disaster]
    default: complete
    recov_type = complete
    directory for brrecover file copies
    default: $SAPDATA_HOME/sapbackup
    recov_copy_dir = E:\oracle\D10\sapbackup
    time period for searching for backups
    0 - all available backups, >0 - backups from n last days
    default: 30
    recov_interval = 30
    degree of paralelism for applying archive log files
    0 - use Oracle default parallelism, 1 - serial, >1 - parallel
    default: Oracle default
    recov_degree = 0
    number of lines for scrolling in list menus
    0 - no scrolling, >0 - scroll n lines
    default: 20
    scroll_lines = 20
    time period for displaying profiles and logs
    0 - all available logs, >0 - logs from n last days
    default: 30
    show_period = 30
    directory for brspace file copies
    default: $SAPDATA_HOME/sapreorg
    space_copy_dir = E:\oracle\D10\sapreorg
    directory for table export dump files
    default: $SAPDATA_HOME/sapreorg
    exp_dump_dir = E:\oracle\D10\sapreorg
    database tables for reorganization
    [<owner>.]<table> | [<owner>.][<prefix>]*[<suffix>]
    | [<owner>.][<prefix>]%[<suffix>] | (<table_list>)
    no default
    reorg_table = (SDBAH, SAPR3.SDBAD)
    database indexes for rebuild
    [<owner>.]<index> | [<owner>.][<prefix>]*[<suffix>]
    | [<owner>.][<prefix>]%[<suffix>] | (<index_list>)
    no default
    rebuild_index = (SDBAH0, SAPR3.SDBAD0)
    database tables for export
    [<owner>.]<table> | [<owner>.][<prefix>]*[<suffix>]
    | [<owner>.][<prefix>]%[<suffix>] | (<table_list>)
    no default
    exp_table = (SDBAH, SAPR3.SDBAD)
    database tables for import
    <table> | (<table_list>)
    no default
    do not specify table owner in the list - use -o|-owner option for this
    imp_table = (SDBAH, SDBAD)

  • BR0301E SQL error -942 at location db_connect-4

    Hi All
    We are getting the next error when we try to execute the BRCONNECT tools:
    Job started                                                                             
    Step 001 started (program RSDBAJOB, variant &0000000000294, user ID IU3269)             
    Execute logical command BRCONNECT On host qassap                                        
    Parameters: -u / -c -f stats -t ALL                                                     
    BR0801I BRCONNECT 6.40 (32)                                                             
    BR0805I Start of BRCONNECT processing: cdwnmcsr.sta 2007-11-05 13.30.37                 
    BR0280I BRCONNECT time stamp: 2007-11-05 13.30.38                                       
    BR0301E SQL error -942 at location db_connect-4                                         
    ORA-00942: table or view does not exist                                                 
    BR0310E Connect to database instance QUA failed                                         
    BR0280I BRCONNECT time stamp: 2007-11-05 13.30.38                                       
    BR0301W SQL error -942 at location brc_dblog_open-1                                     
    ORA-00942: table or view does not exist                                                 
    BR0324W Insertion of database log header failed                                         
    BR0806I End of BRCONNECT processing: cdwnmcsr.sta2007-11-05 13.30.38                    
    BR0280I BRCONNECT time stamp: 2007-11-05 13.30.38                                       
    BR0804I BRCONNECT terminated with errors                                                
    External program terminated with exit code 3                                            
    BRCONNECT returned error status E                                                       
    Job finished                                                                               
    Best Regards
    Reynaldo Rebolledo.

    Hi Juan
    The actual error that we have is the next:
    Job started                                                                               
    Step 001 started (program RSDBAJOB, variant &0000000000297, user ID IU3269)                            
    Execute logical command BRCONNECT On host qassap                                                       
    Parameters: -u / -c -f stats -t ALL                                                                    
    BR0801I BRCONNECT 6.40 (32)                                                                            
    BR0252E Function fopen() failed for '/oracle/QUA/920_64/dbs/initQUA.sap' at location BrInitSapRead-1   
    BR0253E errno 2: No such file or directory                                                             
    BR0159E Error reading BR*Tools profile /oracle/QUA/920_64/dbs/initQUA.sap                              
    BR0280I BRCONNECT time stamp: 2007-11-06 18.14.36                                                      
    BR0301E SQL error -942 at location db_connect-4                                                        
    ORA-00942: table or view does not exist                                                                
    BR0310E Connect to database instance QUA failed                                                        
    BR0806I End of BRCONNECT processing: cdwnrzsy.log2007-11-06 18.14.32                                   
    BR0280I BRCONNECT time stamp: 2007-11-06 18.14.36                                                      
    BR0804I BRCONNECT terminated with errors                                                               
    External program terminated with exit code 3                                                           
    BRCONNECT returned error status E                                                                      
    Job finished                                                                               
    The last week we made a refresh of PROD to QUA, the error is when try to run the stadistics on QUA, then we get the error and we found the initPDC.sap and we rename inside of the file and the file from PDC to QUA and then we get the error that we send in the first message. Today we deleted the file initQUA.sap and get this error. Can you help us.
    Best Regards
    Reynaldo Rebolledo

  • SQL error -1017 at location BrDbConnect-2, SQL statement:

    Hi,
      I get follwoing error while trying brarchiev.
      How do i fix this ?
    brarchive
    BR0002I BRARCHIVE 7.00 (18)
    BR0252E Function fopen() failed for '/oracle/XID/saparch/adyveabv.sve' at location main-5
    BR0253E errno 13: Permission denied
    BR0121E Processing of log file /oracle/XID/saparch/adyveabv.sve failed
    BR0280I BRARCHIVE time stamp: 2008-09-16 20.13.19
    BR0301W SQL error -1017 at location BrDbConnect-2, SQL statement:
    'CONNECT system/*******'
    ORA-01017: invalid username/password; logon denied
    BR0310W Connect to database instance XID failed
    BR0007I End of offline redo log processing: adyveabv.sve 2008-09-16 20.13.19
    BR0280I BRARCHIVE time stamp: 2008-09-16 20.13.19
    BR0005I BRARCHIVE terminated with errors
    3
    Thansk,
    Suman

    Hi,
    I think you did not specify any user on the command line, then BRCONNECT will use the default "SYSTEM/MANAGER"
    As you change the default, BR* fails.
    1) It is totally NOT recommended to use BR* from the command line, it is prefered to be used from the DB13 scheduling tool.
    2) you have to indicate to the BR* tool the user that has to be "used" to connect to the database. This is done with the parameter:
    -u <user>/<password>
    3) I recommend you to create the ops$<sid>adm user ( see note 361641 and 50088 ) and, if you do not use DB13, call the tool with thecommand
            brarchive -u / -s -p initBWP.sap.ssl2020.dd -c
    Please make sure that you have configured the OPS$ user correctly as per following notes:-
    400241    Problems with ops$ or sapr3 connect to Oracle
    50088    Creating OPS$ users on Windows NT/Oracle
    134592    Importing the SAPDBA role ( sapdba_role.sql)
    If the config of the OPS$ user is done correctly and follow the notes above,the issue will be resolved.
    Thanks & Regards,
    Pradeep Srigiri

  • [Execute SQL Task] Error: Executing the query "DECLARE_@XMLA nvarchar(3000) ,__@DateSerial nvarch..." failed with the following error: "Incorrect syntax near '-'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly,

    Hi
    DECLARE @XMLA nvarchar(3000)
    , @DateSerial nvarchar(35);
    -- Change date to format YYYYMMDDHHMMSS
    SET @DateSerial = CAST(GETDATE() AS DATE);
    --SELECT @DateSerial
    Set @XMLA = 
    N' <Batch xmlns="http://schemas.microsoft.com/analysis services/2003/engine">
     <ErrorConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2"
    xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2" xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200"
    xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200">
    <KeyErrorLimit>-1</KeyErrorLimit>
    <KeyNotFound>IgnoreError</KeyNotFound>
    <NullKeyNotAllowed>IgnoreError</NullKeyNotAllowed>
     </ErrorConfiguration>
     <Parallel>
    <Process xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2" xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2"
    xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200" xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200"
    xmlns:ddl300="http://schemas.microsoft.com/analysisservices/2011/engine/300" xmlns:ddl300_300="http://schemas.microsoft.com/analysisservices/2011/engine/300/300">
     <Object>
     <DatabaseID>MultidimensionalProject5</DatabaseID>
     <CubeID>giri</CubeID>
     <MeasureGroupID>Fact Internet Sales</MeasureGroupID>
     </Object>
     <Type>ProcessFull</Type>
     <WriteBackTableCreation>UseExisting</WriteBackTableCreation>
     </Process>
      </Parallel>
    </Batch>';
    EXEC (@XMLA) At SHALL-PCAdventureWorksDw ;
     iam executive the    query when iam getting below error.
      [Execute SQL Task] Error: Executing the query "DECLARE
    @XMLA nvarchar(3000)
    , @DateSerial nvarch..." failed with the following error: "Incorrect syntax near '-'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set
    correctly, or connection not established correctly. 
     how to solve this error;
     please help me

    What are you trying to do? What sort of data source is  SHALL-PCAdventureWorksDw?
    When you use EXEC() AT, I would execpt to see an SQL string to be passed to EXEC(), but you are passing an XML string????
    If you explain why you think this would work in the first place, maybe we can help you.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • BR bakup failes with usrname/password error.

    Hello SAP experts,
    I am facing a below issue while running a DB backup using BRBACKUP tool.
    ======================================================================================
    BR051I BRBACKUP 6.20 (136)
    BR055I Start of database backup: bedrfxej.anf 2010-07-15 17.36.05
    BR280I Time stamp 2010-07-15 17.36.06
    BR301E SQL error -1017 at location BrDbConnect-2
    ORA-01017: invalid username/password; logon denied
    BR310E Connect to database instance <SID> failed
    BR280I Time stamp 2010-07-15 17.36.06
    BR301E SQL error -1017 at location BrDbConnect-2
    ORA-01017: invalid username/password; logon denied
    BR310E Connect to database instance<SID>  failed
    BR056I End of database backup: bedrfxej.anf 2010-07-15 17.36.06
    BR280I Time stamp 2010-07-15 17.36.06
    BR054I BRBACKUP terminated with errors
    ======================================================================================
    I have checked that when i change the password of the oracle user SYSTEM to differnet one it fails and when it is  manger( default oracle password) it works.
    so can you please let me know how to go ahead as i need to change the password of the oracle users as per the Business Password standards.
    Thanks and regards,
    Ramkrishna
    R3trans is working fine with the new password and SAP is also running fine.

    Hi Ramakrishna,
    Could you please check the permissions of the below files in kernel i.e. /sapmnt/SID/exe  directory.
    -rwxrwxr-x 1 ora<SID> sapsys   Date 12:01 brarchive
    -rwsrwxr-x 1 ora<SID> sapsys   Date 12:06 brbackup
    -rwsrwxr-x 1 ora<SID> sapsys   Date 12:06 brconnect
    -rwxrwxr-x 1 <SID>adm sapsys   Date 12:07 brrecover
    -rwxrwxr-x 1 <SID>adm sapsys   Date 12:07 brrestore
    -rwxrwxr-x 1 ora<SID> sapsys   Date 12:06 brspace
    -rwsrwxr-x 1 ora<SID> sapsys   Date 12:06 brtools
    Also check whether your <SID>adm and ora<SID> are part of dba group. You can find this in /etc/security/group.
    Please try running the same with BRtools and check if you are able to do the same. I guess this should fix the issue.
    Thanks,
    Nick

  • Backup Fails with Invalid RECID Error

    Hi All,
    Please help me to understand Caution -section
    below text is from
    [http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmtroub.htm#447765]
    Backup Fails with Invalid RECID Error: Solution 2
    This solution is more difficult than solution 1:
    To create the control file with SQL*Plus:
       1. Connect to the target database with SQL*Plus. For example, enter:
          % sqlplus 'SYS/oracle@trgt AS SYSDBA'
       2. Mount the database if it is not already mounted:
          SQL> ALTER DATABASE MOUNT;
       3. Back up the control file to a trace file:
          SQL> ALTER DATABASE BACKUP CONTROLFILE TO TRACE;
       4. Edit the trace file as necessary. The relevant section of the trace file looks something like the following:
          # The following commands will create a new control file and use it
          # to open the database.
          # Data used by the recovery manager will be lost. Additional logs may
          # be required for media recovery of offline data files. Use this
          # only if the current version of all online logs are available.
          STARTUP NOMOUNT
          CREATE CONTROLFILE REUSE DATABASE "TRGT" NORESETLOGS  ARCHIVELOG
          --  STANDBY DATABASE CLUSTER CONSISTENT AND UNPROTECTED
              MAXLOGFILES 32
              MAXLOGMEMBERS 2
              MAXDATAFILES 32
              MAXINSTANCES 1
              MAXLOGHISTORY 226
          LOGFILE
            GROUP 1 '/oracle/oradata/trgt/redo01.log'  SIZE 25M,
            GROUP 2 '/oracle/oradata/trgt/redo02.log'  SIZE 25M,
            GROUP 3 '/oracle/oradata/trgt/redo03.log'  SIZE 500K
          -- STANDBY LOGFILE
          DATAFILE
            '/oracle/oradata/trgt/system01.dbf',
            '/oracle/oradata/trgt/undotbs01.dbf',
            '/oracle/oradata/trgt/cwmlite01.dbf',
            '/oracle/oradata/trgt/drsys01.dbf',
            '/oracle/oradata/trgt/example01.dbf',
            '/oracle/oradata/trgt/indx01.dbf',
            '/oracle/oradata/trgt/tools01.dbf',
            '/oracle/oradata/trgt/users01.dbf'
          CHARACTER SET WE8DEC
          # Take files offline to match current control file.
          ALTER DATABASE DATAFILE '/oracle/oradata/trgt/tools01.dbf' OFFLINE;
          ALTER DATABASE DATAFILE '/oracle/oradata/trgt/users01.dbf' OFFLINE;
          # Configure RMAN configuration record 1
          VARIABLE RECNO NUMBER;
          EXECUTE :RECNO := SYS.DBMS_BACKUP_RESTORE.SETCONFIG('CHANNEL','DEVICE TYPE DISK
          DEBUG 255');
          # Recovery is required if any of the datafiles are restored backups,
          # or if the last shutdown was not normal or immediate.
          RECOVER DATABASE
          # All logs need archiving and a log switch is needed.
          ALTER SYSTEM ARCHIVE LOG ALL;
          # Database can now be opened normally.
          ALTER DATABASE OPEN;
          # Commands to add tempfiles to temporary tablespaces.
          # Online tempfiles have complete space information.
          # Other tempfiles may require adjustment.
          ALTER TABLESPACE TEMP ADD TEMPFILE '/oracle/oradata/trgt/temp01.dbf' REUSE;
          # End of tempfile additions.
       5. Shut down the database:
          SHUTDOWN IMMEDIATE
       6. Execute the script to create the control file, recover (if necessary), archive the logs, and open the database:
          STARTUP NOMOUNT
          CREATE CONTROLFILE ...;
          EXECUTE ...;
          RECOVER DATABASE
          ALTER SYSTEM ARCHIVE LOG CURRENT;
          ALTER DATABASE OPEN ...;
    Caution:
          If you do not open with the RESETLOGS option,
    then two copies of an archived redo log for a given log sequence number may
    exist--even though these two copies have completely different contents.
    For example, one log may have been created on the original host and the other on the new host.
    If you accidentally confuse the logs during a media recovery,
    then the database will be corrupted but Oracle and RMAN cannot detect the problem.

    Please help me to understand Caution -section
    Caution:
    If you do not open with the RESETLOGS option,
    then two copies of an archived redo log for a given log sequence number may
    exist--even though these two copies have completely different contents.
    For example, one log may have been created on the original host and the other on the new host.
    If you accidentally confuse the logs during a media recovery,
    then the database will be corrupted but Oracle and RMAN cannot detect the problem.As per my understanding it says. If you don't open database with RESETLOGS option then there may be archived logs with log sequence number which is already archived on the source host. This may happen due to difference in RECIDs. Now when the database needs media recovery for this particular log sequence, you may provide any of them. So in this case, RMAN and Oracle will not be able to differentiate the two files and can accept any of the archived log files during recovery. Since the contents of two archived logs are different, because they are generated at different times and they contains different transactions. So, internally it corrupts your database.
    Rgds.

  • Non-SysAdmins get error 18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.

    I have a SQL 2008 R2 system (10.50.4000) where I'm having problems connecting any user that is not a SysAdmin.  Example: I setup a new SQL Login to use Windows Authentication and grant that user db_datareader on the target database.  The user attempts
    to connect using Excel client or Access or SQL Management Studio and receives Error 18456.  The SQL Server Logs shows Error 18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.
    The strange part is that if I temporarily grant the user the sysadmin server role then the user can connect successfully and retrieve data.  But, if I take away that sysadmin server role then the user can no longer connect but again receives the Error
    18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.
    We've turned off UAC on the client machine to see if that was the problem, but no change.
    I have dropped and re-added the user's SQL Login (and the related database user login info).  No success.
    The Ring Buffers output shows:
    The Calling API Name: LookupAccountSidInternal
    API Name: LookupAccountSid
    Error Code: 0x534
    Thanks for any help.
    -Walt

    Yes, you understand correctly.  The user is logging onto a workstation (not the server) with a Windows Authenticated id.  The user is using either Excel or Access or SSMS and connecting to the server using a Windows Authenticated SQL Login account.
     If the account has sysadmin role (which is only for testing) then the connection is successful.  If I take away sysadmin role from the account then the connection is unsuccessful and the SQL Server Log shows Error
    18456 Severity 14 State 11 Login Failed for user _ Reason Token-based server access validation failed with an infrastructure error.
    (SQL Authentication is not an option here.  I must use Windows Authentication).
    Any other troubleshooting assistance you can offer would be appreciated.  Thanks.
    -Walt 

  • TSQL code that causes table data to be deleted rather than fail with a compilation error

    Afternoon,
    I recently did this by accident and it felt as though it should have failed with a compilation error rather than run
    A query of the form
    delete from jobs
    where id in
    select id from calibrations
    will delete all rows in the jobs table when the id column exists in the jobs table, but not the calibrations table. This should fail with a compilation error.
    the following sql can be used to generate a test database to show the problem
    USE [test]
    GO
    /****** Object:  Table [dbo].[calibrations]    Script Date: 28/11/2014 13:32:59 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[calibrations](
        [JobId] [int] NULL,
        [textfield] [nvarchar](50) NULL
    ) ON [PRIMARY]
    GO
    /****** Object:  Table [dbo].[jobs]    Script Date: 28/11/2014 13:32:59 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[jobs](
        [Id] [int] NOT NULL,
        [Name] [nchar](10) NULL
    ) ON [PRIMARY]
    GO
    INSERT [dbo].[calibrations] ([JobId], [textfield]) VALUES (1, N'something')
    GO
    INSERT [dbo].[jobs] ([Id], [Name]) VALUES (1, N'a         ')
    GO
    INSERT [dbo].[jobs] ([Id], [Name]) VALUES (2, N'b         ')
    GO
    INSERT [dbo].[jobs] ([Id], [Name]) VALUES (3, N'c         ')
    GO
    INSERT [dbo].[jobs] ([Id], [Name]) VALUES (4, N'd         ')
    GO
    INSERT [dbo].[jobs] ([Id], [Name]) VALUES (5, N'e         ')
    GO
    INSERT [dbo].[jobs] ([Id], [Name]) VALUES (6, N'f         ')
    GO
    Simon
    simon

    will delete all rows in the jobs table when the id column exists in the jobs table,
    but not the calibrations table. This should fail with a compilation error.
    Hello Simon,
    That's a bug in your T-SQL Statement, not in SQL Server. The Statement as it is valid and column "id" exists, so why should it fail on compilation?
    And that is the reason why we always should use full qualified object name, e.g. like
    delete from jobs AS J
    where J.id in
    select SUB.id from calibrations AS SUB
    and this Statement should fail on compilation.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Token-based server access validation failed with an infrastructure error

    Hi
    We have a new Win 2008 Enterprise x64 server running SQL 2008
    When we try to connect to the server using Windows Authentication, from a user account which is a domain administrator, we get the following message:
    "Token-based server access validation failed with an infrastructure error"
    What needs to be configured here for this to work ?
    Thanks
    Bruce

    Hi,
    I am encountering the same error message but it is more around the login, this problem happens only on one server but it is fine on another three, my investigation show it is a ghost SID associated with AD user account
    Background
        1- An Active Directory (AD) account was created for a user [Domain\UserA]
        2- A SQL login was created for the account above and then granted access to a number of databases
        3- The AD account was renamed/modified to [Domain\UserB]
        At this stage the user would encounter an error when connecting to the server
        The sql log show this error message
        Error: 18456, Severity: 14, State: 11.
        Message
        Login failed for user 'domain\user'. Reason: Token-based server access validation failed with an infrastructure error. Check for previous errors.     [CLIENT: xxx]
    Action on Server 1 SQL (the one with the problem)
        1- Dropped the user from the databases
        2- Re-Created the login from the windows account [Domain\UserB]
        3- Created the user in the respective databases
        But the user still unable to connect to the server
    Investigation
        On server 1, the SID of the user in SYSUSERS was Matching SYSLOGINS and matches with result of SUSER_SID(Domain\UserA)
        But it does not match the SID in the AD
        The rest of the servers all have the correct SIDs
        When I use SUSER_SNAME(Incorrect-Sid) and SUSER_SNAME(Correct-Sid) on this server they both return [Domain\UserB]
        The problematic server is always returning the incorrect SID when recreating the user login and when using SUSER_SID(Domain\UserA) as if it is cached somewhere.
    I can't specify the SID when creating the SQL login because it is using the Windows account
    Your ideas on how to fix this problem are much appreciated
    Regards,
    DGL

Maybe you are looking for