SQL_Latin1_General_CP850_BIN2

Hi,
Any ideas/suggestions ?
We are in a dev/qa/production landscape (R/3 470-200)and need to convert to SQL_Latin1_General_CP850_BIN2 before upgrading to SQL Server 2005.
Firstly, are we able to do this progressively without affecting the transport queue.
EG: will a transport that has been released in Dev on SQL_Latin1_General_CP850_BIN2 still move through successfully to QA on SQL_Latin1_General_CP850_BIN ?
(given that we don't want to convert all systems at once).
Secondly, assuming DBCC comes up clean, is this a safe procedure ?
Thirdly, I don't suppose there is a way for me to build a box on 2005 and homog-system-copy to it and then convert?
Thanks,
Tim

Hello,
here are my two cents:
1) No, it will not affect your transports at all. The transport are
    database independent and will not be affected by a collation change.
2) When the DBCC comes back clean, you can convert the database to
    BIN2. You can run a DBCC after the conversion as well, but we have never
    seen corruptions caused by the conversion, as it is only a Metadata change.
3) You can not convert on SQL 2005 but you can do a homogenous system
    copy with R3Load to SQL 2005 and when the SQL 2005 is installed in the  BIN2
    collation, the database will be created and loaded in BIN2. A attach of a
    SQL 2000 database in BIN and then doing the conversion is NOT possible.
See note 600027 for more details about the conversion.
Best regards
  Clas

Similar Messages

  • Problem with services of SAP after installation of ABAP on MS SQL server

    Hi,
    I am trying top install 2004 Netweaver ABAP+ JAVA on my machine
    Following is my machine configuration -
    Machine type - Windows 2003 Standard Edition SP1
    Machine name - pun-idmqa-vm1
    SAP Instance name - QSA
    DB type - MS SQL 2000 SP4 + hotfixes and instcoll.exe is executed. After nstalling SQL shows server proper as SQL_Latin1_General_CP850_BIN2 collation
    Message port - 3600
    I could sucessfully install Database from CD and thereby could sucessfully install ABAP. During postinstall I tried to start the server. all the following services got up -
    msg_server.exe
    disp+work.exe
    igswd.exe
    But after some time 2nd service goes down. Following is the error message flashed in
    trc file: "dev_disp", trc level: 1, release: "640"
    Mon Jul 02 16:33:16 2007
    kernel runs with dp version 128000(ext=102000) (@(#) DPLIB-INT-VERSION-128000-UC)
    length of sys_adm_ext is 524 bytes
    systemid   560 (PC with Windows NT)
    relno      6400
    patchlevel 0
    patchno    31
    intno      20020600
    make:      multithreaded, Unicode
    pid        2492
    ***LOG Q00=> DpSapEnvInit, DPStart (00 2492) [dpxxdisp.c   1100]
    Mon Jul 02 16:33:17 2007
         shared lib "dw_xml.dll" version 31 successfully loaded
         shared lib "dw_xtc.dll" version 31 successfully loaded
         shared lib "dw_stl.dll" version 31 successfully loaded
         shared lib "dw_gui.dll" version 31 successfully loaded
    Mon Jul 02 16:33:21 2007
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 4 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  3886]
    MtxInit: -2 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: JAVA is not active
    DpShMCreate: sizeof(wp_adm)          10528     (1316)
    DpShMCreate: sizeof(tm_adm)          2780232     (13832)
    DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    DpShMCreate: sizeof(comm_adm)          290000     (580)
    DpShMCreate: sizeof(vmc_adm)          0     (372)
    DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 054B0040, size: 3192688)
    DpShMCreate: allocated sys_adm at 054B0040
    DpShMCreate: allocated wp_adm at 054B1B58
    DpShMCreate: allocated tm_adm_list at 054B4478
    DpShMCreate: allocated tm_adm at 054B44A0
    DpShMCreate: allocated wp_ca_adm at 0575B0E8
    DpShMCreate: allocated appc_ca_adm at 05760EA8
    DpShMCreate: allocated comm_adm_list at 05762DE8
    DpShMCreate: allocated comm_adm at 05762E00
    DpShMCreate: allocated vmc_adm_list at 057A9AD0
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 057A9AF8
    DpShMCreate: allocated wall_adm at 057A9B00
    MBUF state OFF
    EmInit: MmSetImplementation( 2 ).
    Mon Jul 02 16:33:22 2007
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation std
    <EsNT> Memory Reset enabled as NT default
    <EsNT> EsIUnamFileMapInit: Initialize the memory 1132 MB
    <ES> 1131 blocks reserved for free list.
    ES initialized.
    Mon Jul 02 16:33:36 2007
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 2.6.1 2.6 4.0) [dpxxdisp.c   1462]
    Mon Jul 02 16:33:38 2007
    ***LOG Q0K=> DpMsAttach, mscon ( pun-idmqa-vm1) [dpxxdisp.c   9719]
    Mon Jul 02 16:33:46 2007
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 6400, patchlevel 0
    Mon Jul 02 16:33:47 2007
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1025]
    DpMsgAdmin: Set patchno for this platform to 31
    Release check o.K.
    Mon Jul 02 16:34:20 2007
    ERROR => W0 (pid 2740) died [dpxxdisp.c   12170]
    ERROR => W1 (pid 3736) died [dpxxdisp.c   12170]
    my types changed after wp death/restart 0xbf --> 0xbe
    ERROR => W2 (pid 3876) died [dpxxdisp.c   12170]
    my types changed after wp death/restart 0xbe --> 0xbc
    ERROR => W3 (pid 3896) died [dpxxdisp.c   12170]
    my types changed after wp death/restart 0xbc --> 0xb8
    ERROR => W4 (pid 3852) died [dpxxdisp.c   12170]
    ERROR => W5 (pid 2008) died [dpxxdisp.c   12170]
    my types changed after wp death/restart 0xb8 --> 0xb0
    ERROR => W6 (pid 3776) died [dpxxdisp.c   12170]
    my types changed after wp death/restart 0xb0 --> 0xa0
    ERROR => W7 (pid 4052) died [dpxxdisp.c   12170]
    my types changed after wp death/restart 0xa0 --> 0x80
    DP_FATAL_ERROR => DpWPCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    killing W0-2740 (SIGUSR2)
    ERROR => DpWpKill(2740, SIGUSR2) failed [dpxxtool.c   2468]
    killing W1-3736 (SIGUSR2)
    ERROR => DpWpKill(3736, SIGUSR2) failed [dpxxtool.c   2468]
    killing W2-3876 (SIGUSR2)
    ERROR => DpWpKill(3876, SIGUSR2) failed [dpxxtool.c   2468]
    killing W3-3896 (SIGUSR2)
    ERROR => DpWpKill(3896, SIGUSR2) failed [dpxxtool.c   2468]
    killing W4-3852 (SIGUSR2)
    ERROR => DpWpKill(3852, SIGUSR2) failed [dpxxtool.c   2468]
    killing W5-2008 (SIGUSR2)
    ERROR => DpWpKill(2008, SIGUSR2) failed [dpxxtool.c   2468]
    killing W6-3776 (SIGUSR2)
    ERROR => DpWpKill(3776, SIGUSR2) failed [dpxxtool.c   2468]
    killing W7-4052 (SIGUSR2)
    ERROR => DpWpKill(4052, SIGUSR2) failed [dpxxtool.c   2468]
    NiWait: sleep (10000 msecs) ...
    NiISelect: timeout 10000 ms
    NiISelect: maximum fd=1629
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Jul 02 16:34:30 2007
    NiISelect: TIMEOUT occured (10000 ms)
    dump system status
    Workprocess Table (long)               Mon Jul 02 11:04:30 2007
    ========================
    No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program  Cl  User         Action                    Table
    0 DIA     2740 Ended         no      1   0             0                                                             
    1 DIA     3736 Ended         no      1   0             0                                                             
    2 UPD     3876 Ended         no      1   0             0                                                             
    3 ENQ     3896 Ended         no      1   0             0                                                             
    4 BTC     3852 Ended         no      1   0             0                                                             
    5 BTC     2008 Ended         no      1   0             0                                                             
    6 SPO     3776 Ended         no      1   0             0                                                             
    7 UP2     4052 Ended         no      1   0             0                                                             
    Dispatcher Queue Statistics               Mon Jul 02 11:04:30 2007
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    3
    2000
    10
    10
    --------++++--
    +
    DIA
    5
    5
    2000
    5
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    0
    0
    2000
    0
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id          13
    wake_evt_udp_now     0
    wake events           total     9,  udp     7 ( 77%),  shm     2 ( 22%)
    since last update     total     9,  udp     7 ( 77%),  shm     2 ( 22%)
    Dump of tm_adm structure:               Mon Jul 02 11:04:30 2007
    =========================
    Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
    Workprocess Comm. Area Blocks               Mon Jul 02 11:04:30 2007
    =============================
    Slots: 300, Used: 1, Max: 0
    --------++--
    +
    id
    owner
    pid
    eyecatcher
    --------++--
    +
    0
    DISPATCHER
    -1
    WPCAAD000
    NiWait: sleep (5000 msecs) ...
    NiISelect: timeout 5000 ms
    NiISelect: maximum fd=1629
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Jul 02 16:34:35 2007
    NiISelect: TIMEOUT occured (5000 ms)
    Shutdown server ...
    DpModState: buffer in state MBUF_PREPARED
    NiBufSend starting
    NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 110 bytes
    MsIModState: change state to SHUTDOWN
    DpModState: change server state from STARTING to SHUTDOWN
    Switch off Shared memory profiling
    ShmProtect( 57, 3 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RW
    ShmProtect( 57, 1 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RD
    DpWakeUpWps: wake up all wp's
    Stop work processes...
    Stop gateway
    killing process (3832) (SOFT_KILL)
    Stop icman
    killing process (3960) (SOFT_KILL)
    Terminate gui connections
    [DpProcDied] Process lives  (PID:3832  HANDLE:1600)
    waiting for termination of gateway
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=1629
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Jul 02 16:34:36 2007
    NiISelect: TIMEOUT occured (1000 ms)
    Mon Jul 02 16:34:37 2007
    [DpProcDied] Process died  (PID:3832  HANDLE:1600)
    [DpProcDied] Process died  (PID:3960  HANDLE:1588)
    DpHalt: cancel all lcom connections
    MPI CancelAll 2 -> 0
    MPI DeleteAll 2 -> 0
    NiIMyHostName: hostname = 'pun-idmqa-vm1'
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
    DpConvertRequest: net size = 163 bytes
    NiBufSend starting
    NiIWrite: write 562, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 562 bytes
    send msg (len 110+452) to name          -, type 4, key -
    detach from message server
    ***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c   9945]
    NiBufSend starting
    NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 110 bytes
    MsIDetach: send logout to msg_server
    MsIDetach: call exit function
    DpMsShutdownHook called
    NiSelClear: removed hdl 3 from selectset
    MBUF state OFF
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    blks_in_queue/wp_ca_blk_no/wp_max_no = 1/300/8
    LOCK WP ca_blk 1
    make DISP owner of wp_ca_blk 1
    DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 19)
    MBUF component DOWN
    NiBufClose: clear extensions for hdl 3
    NiBufSetStat: bufstat of hdl 3 changed from OK to OFF
    NiICloseHandle: shutdown and close hdl 3 / socket 1608
    MsIDetach: detach MS-system
    Mon Jul 02 16:34:38 2007
    EsCleanup ....
    ***LOG Q05=> DpHalt, DPStop ( 2492) [dpxxdisp.c   8478]
    Good Bye .....
    I am new to SAP EP installation. Please help me regarding this issue.
    Thanks and Regards,
    Smitha

    forgot to tell you, after that probably you will need to make the installation again.
    good luck.

  • SQL 2005 SAP R/3 4.6C - DBSL error RC=99 on import of Basis 4.6C SP 39

    Hi,
    I have just built a R/3 4.6C system on SQL 2005 with 4.6D_EXT kernel. The build was done using R3load to export from the 4.6C/SQL 2000/32bit system and import to 4.6C/SQL 2005/64bit system. The source 4.6C system only had Basis support package 37 applied, and I am trying to apply Basis 4.6C 38-57 on the 4.6C/SQL 2005/64bit system (in preparation for an ECC6 upgrade) and I get the following error:
    EXEC SQL: SELECT ID,OBJECT,LANGU,TYP,VERSION FROM DOKIL WHERE (LANGU IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,  
    [developertra,00000]  ExecuteAndFlush return code: 0x80040e10 Stmt: [CREATE PROCEDURE ##Y8IBASAPDEIBD00000025600000000006164133 @P
                                                                              99972  0.099972                                          
    [developertra,00000]  MapHr:80040E10 DB_E_PARAMNOTOPTIONAL                  43  0.100015                                          
    [developertra,00000]  HandleOledbError [ExecuteAndFlush,line 33423]: Error/Message: (err 0, sev 0), No value given for one or more
                                                                                 96  0.100111                                          
    [developertra,00000]  DbSlPrepare - Error 99 (dbcode -2147217904) on proc. creation                                                                               
    56  0.100167                                          
    [developertra,00000]  DbSlPrepare - <CREATE PROCEDURE ##Y8IBASAPDEIBD00000025600000000006164133 @P000 varchar(3072) = ' ', @P001 v
                                                                                105  0.100272                                          
    [developertra,00000]  1 times error (0,0) in sequence                       30  0.100302                                          
    [developertra,00000]  dbdsmss: DBSL99 SQL0                                  27  0.100329                                          
    [developertra,00000]  No value given for one or more required parameters.                                                                               
    62  0.100391                                          
    [dbds        ,00589]  ***LOG BY2=>sql error 0          performing FET                                                                               
    66  0.100457                                          
    [dbds        ,00589]  ***LOG BY0=>No value given for one or more required parameters.                                             
    I have checked the collation setting in SQL 2005 and it is:
    select serverproperty('collation')
    SQL_Latin1_General_CP850_BIN2
    There are 97000 odd entries in DOKIL, so I don't think that is the problem.
    Would appreciate any assistance.
    Kind regards,
    Sheryl.

    Hi ,
    Instead of doing the build with export import, you can try to do the same with backup restore,,
    But remember your sql2000 should be on bin2... then you can take backup and restore.
    Since it is from 2000 to 2005 the restore would happen and it will work fine.
    Try this and check out, since the error you have pasted is not clearly giving any picture...
    Regards,
    Ravi.

  • Upgrade Fails at step RDDCP4TB (SQL Server 2005)

    During the process of upgrading to ECC 6.0 from 4.6c, you may also encounter the following error during the SAPUP step RDDCP4TB:
    <b>BATCH JOB RDDCP4TB FAILED
    SEVERE ERROR: Batch job "RDDCP4TB", job count "timestamp" aborted</b>
    If you log into the system and check the short dump generated, you will find the following:
    <b>SAPSQL_ARRAY_INSERT_DUPREC</b>
    The system thinks that it is attempting to enter a duplicate record into the TADIR table, but in fact it is a collation issue.  In our particular case, the collation of the SAP database was correct, but the Server collation was not.  To check that your server collation is correct, run the following query:
    <b>use <DATABASE>
    go
    declare @dbn sysname
    set @dbn = db_name()
    select 'Server' as [Type ],(select convert(varchar(30),
    serverproperty('collation'))) as [Collation] union
    select 'Master',(select convert(varchar(30),
    databasepropertyex('master','collation'))) union
    select 'Model',(select convert(varchar(30),
    databasepropertyex('model','collation'))) union
    select 'TempDB',(select convert(varchar(30),
    databasepropertyex('tempdb','collation'))) union
    select 'SID',(select convert(varchar(30),
    databasepropertyex(@dbn,'collation')))
    go</b>
    Your results should be as follows:
    <b>Server SQL_Latin1_General_CP850_BIN2
    Master SQL_Latin1_General_CP850_BIN2
    Model SQL_Latin1_General_CP850_BIN2
    Temp SQL_Latin1_General_CP850_BIN2
    SID SQL_Latin1_General_CP850_BIN2</b>
    If your server collartion is different than this, detach the SAP database and uninstall SQLServer 2005.  Then reinstall SQLServer 2005 and make sure to set the following collation option:
    <b>"Binary order based on code point comparison, for use with 850 (Multilingual)"</b>
    See Note 505906 for more information on server collation.
    Message was edited by:
            Joey Stephens

    Dear,
    Thanks for the information.
    Best regards,
    Lucio Rodrigues
    SAP AGS

  • Collation Error during SAP ABAP Engine Unicode Central Instance

    I am trying to follow instructions on installing XI Prerequisite components.
    I am getting conflicts on collations. My back-end database is SQL Server 2000 (SP3,hot-fix and unicodecp850bin2 fix). SAP expecting SQL_Latin1_General_CP850_BIN2 collation and SQLServer showing only SQL_Latin1_General_CP850_BIN. My OS is
    Windows 2003 (SP1) Server.
    Immediate response is greatly expected

    hello Naresh,
    Please try to run the script SQL4SAP.VBS which might be present in the MS SQL server CD.
    Rgdz
    Yogi

  • Sql Server configuration requirements for SAP ECC 6.0

    Dear  All,
    I am using Sql server 2005 Enterprise as data store for Sap ecc 6.0.There are certain configuration requirements to be done while installing it so that sapinst.exe (sap installer) is able to use it to create its own DB's.
    For eg it requires a collation of SQL_Latin1_General_CP850_BIN2 whereas the default that gets installed is SQL_Latin1_General_CP1_CI_AS.
    Like this there are other requirements which I am not aware of.Most of the docs available on the Internet are talking of ecc 6.0  with Oracle 10.2G which is the most common combination.I am having docs for this combination.
    I am installing ecc for the first time.
    *I am unable to download docs from sap. marketplace as it requires a login given to certified users or sap purchasers.I am neither.*
    Can anyone help me with this.If anyone has ECC 6.0 installation guide with sql server it will be serve my purpose.
    Thanks for your efforts.

    "Excuse me?
    What he is doing is illegal , you know what that means, right? If you don't believe me, read the license that comes on the first installation DVD.
    Actually, I even think it's kind of barefaced to ask in the forum of the software vendor for help! I mean, it's like asking in a bank forum how to rob and fraud the bank! You - and many others - may think that it's right and ok to do that. I tell you: it is not. Not for "home use", not for personal use, not at all.
    You can use the software available here in the SDN to lean and study, that's why it's there.
    If you deal at all with copied software, then just be smart enough to make other people not notice. He can be happy if he's not prosecuted (which would legally be possible)."
    Do u understand what is legal or illegal? Have u read the license in full?
    The license does not put any limit on the number of users.So if I am using it means that one more user has been added by the license holder.
    Therefore there is nothing illegal about it.
    It would have unethical (not illegal) if the software is being used for a business purpose other than for which it has been purchased.
    Since it being used for training purpose the above does not hold good.
    In fact it is SAP who is benefited in the long run bec' after a person learns it technology because  he is going to implement it somewhere, for which the concerned user will have to purchase a license.Therefore I am helping SAP to increase its business.
    But there are some stupid people who don't understand these things but are ready to shout at the top of their voice thinking themselves to be intelligent.
    Edited by: coolmind26 on Jun 5, 2011 10:57 AM

  • SQL Server 2000 -collation.

    Hi,
    If its important collation in SQL Server 2000, i have - SQL_Latin1_General_CP850_BIN(master, msdb, model etc.), but DB <SAP> haves SQL_Latin1_General_CP850_BIN2.
    I try to change collation on the server by instcoll.exe but i have error:
    C:\col\instcoll_i386>instcoll.exe -S server\DB
    Trying to connect...
    Could not connect to ..  Trying to start the server.
    [SQL-DMO]Service Control Error:  The specified service does not exist as an inst
    alled service.
    Server and remote connection working.
    BR,
    T.

    Hi,
    Thanks for help, but im read this note and still not working,  im use:
    instcoll.exe -s<server>\<DBinstance> -D<dbname>
    or
    instcoll.exe -s<server>\<DBinstance>
    And im still have error:
    C:\col\instcoll_i386>instcoll.exe -s<server>\<DBinstance>
    Trying to connect...
    Could not connect to ..  Trying to start the server.
    [SQL-DMO]Service Control Error:  The specified service does not exist as an inst
    alled service.
    Failed to start the server. Retrying.
    [SQL-DMO]Service Control Error:  The specified service does not exist as an inst
    alled service.
    Could not connect to .
    NOTHING DONE!
    BR,
    T.

  • Sql server 2005, R/3 4.6c and compability mode

    Hi
    I doing upgrade from 4.6c --> ECC 6.0 on sql server 2005. And i get followin error
    SCRIPT MSSINCHK
    =================
    Msg 468, Level 16, State 9, Server MEDIASP10, Line 55
    Cannot resolve the collation conflict between "SQL_Latin1_General_CP850_BIN" and
    "SQL_Latin1_General_CP850_BIN2" in the equal to operation.
    Msg 468, Level 16, State 9, Server MEDIASP10, Line 66
    Cannot resolve the collation conflict between "SQL_Latin1_General_CP850_BIN" and
    "SQL_Latin1_General_CP850_BIN2" in the equal to operation.
    Execution completed successfully
    I have checked that collation order is correct.
    I think that problem that somehow sql server's compability mode is recognized wrong (sql server 2000 insted sql server 2005).
    Any colution on this ?
    Br, Juha Niemi

    Hi there,
    I'm running into this same issue when trying to run PREPARE for the 4.6c to ERP/ECC 6.0 upgrade in phase INITPUT_PRE.  I ran several of the queries mentioned in this thread and discovered that the database and instance are both BIN2, and 116230 columns are BIN2, but another 319398 columns are still BIN.  Without reverting the database (eek, somehow) back to MSSQL2000 and rerunning instcoll.exe (again, I already did once) or building an alter table query for each one that is out of spec (which according to MSDN won't work on certain cols anyway), how can this be resolved?
    for my SID database I have the following column types in count:
    SQL_Latin1_General_CP850_BIN2     116230
    Latin1_General_BIN     29
    NULL     58467
    Latin1_General_CI_AS_KS_WS     11
    SQL_Latin1_General_CP850_BIN     319398
    But the databases are all running BIN2 as such:
    Server     SQL_Latin1_General_CP850_BIN2
    Master     SQL_Latin1_General_CP850_BIN2
    Model     SQL_Latin1_General_CP850_BIN2
    TempDB     SQL_Latin1_General_CP850_BIN2
    SID     SQL_Latin1_General_CP850_BIN2
    The checkdb procedure came back with no errors:
    CHECKDB found 0 allocation errors and 0 consistency errors in database 'PD1'.
    DBCC execution completed. If DBCC printed error messages, contact your system administrator.
    And the system appears to be functioning correctly, except that the Upgrade Assistant won't let me continue with the mismatched column collation types.
    Suggestions?  I noticed there was never a resolution posted.
    Thanks,
    --ben

  • HOM: MS SQL Server 2000 - MS SQL Server 2005 [sp sap_use_var_MAX]

    Hi guys,
    Procedure
    Homogeneous System Copy on SQL Server
    Source Platform
    Windows 2003 Server x86
    SQL Server 2000 SP4
    SQL_Latin1_General_CP850_BIN2
    SAP R/3 4.7 x200
    SAP Kernel 6.40 Patch 347 x86 (Sep 10 2010)
    SAP_BASIS 620 Patch 69
    Target Platform
    Windows 2008 Server x64
    SQL Server 2005 SP3
    SQL_Latin1_General_CP850_BIN2
    SAP R/3 4.7 x200
    SAP Kernel 6.40 Patch 347 x64 (Sep 10 2010)
    SAP_BASIS 620 Patch 69
    Symptom
    When running STM (SAP Tools for SQL Server) on the target server I get the following error:
    - Errors when executing sql command: (Microsoft)(ODBC SQL Server Driver)(SQL Server)Could not find stored procedure u2018sap_use_var_MAXu2019.
    Further Analysis
    I'm able to start the SAP system.
    Tx SICK returns the following:
    - Wrong long datatypes. Perform SQL Server after upgrade steps. Please see note 126973
    Troubleshooting
    Note 126973 - SICK messages with MS SQL Server
    Solution:
    Proceed as described in Note 1291861
    Note 1291861 - SICK message: Wrong long datatypes
    2. If the problem occurred following a system copy from SQL Server 2000 to SQL Server 2005 or later then execute the following statements:
      setuser 'sid'
      exec sap_use_var_MAX
    Where 'sid' is the SAPSID of your system in lower case.
      setuser 'dev'
      exec sap_use_var_MAX
    Msg 2812, Level 16, State 62, Line 2
    Could not find stored procedure 'sap_use_var_MAX'.
    Request
    I'm thinking if any one of you is able to access an SAP system on SQL Server (2005 or other) with the above mentioned stored procedure present you could scipt it to a txt file and post it here in order for me to create it manually on my system.
    I've checked several SAP Notes on this subject and none of them explains how to create this store procedure from scratch, they all just assume it's already there and tell you to execute it.
    Thank you.
    Bruno Pereira

    I was able to solve this issue just now the following way:
    - A friend of mine scripted it to a file which I then used to create the sap_use_var_MAX on the target database.
    Here is a copy of that file:
    USE [<SID>]
    GO
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    create proc [<sid>].[sap_use_var_MAX] as
    begin
      declare @tabname sysname
      declare @colname sysname
      declare @datatype sysname
      declare @nullflag nvarchar(1)
      declare @cmd nvarchar(1024)
      declare @n_altered int
      declare c cursor for
        select t.TABLE_NAME,c.COLUMN_NAME,c.DATA_TYPE,
                  nullflag = substring(c.IS_NULLABLE,1,1)
          from INFORMATION_SCHEMA.COLUMNS c,
               INFORMATION_SCHEMA.TABLES t
          where c.TABLE_NAME = t.TABLE_NAME AND
                c.TABLE_SCHEMA = t.TABLE_SCHEMA AND
                t.TABLE_TYPE like '%TABLE%' AND
                c.TABLE_SCHEMA = schema_name() AND
                c.DATA_TYPE IN ('text','ntext','image')
          order by t.TABLE_NAME,c.COLUMN_NAME
      open c
      set @n_altered = 0
      fetch next from c into @tabname,@colname,@datatype,@nullflag
      while (@@fetch_status <> -1)
      begin
        if (@@fetch_status <> -2)
        begin
          set @cmd = N'alter table [' + @tabname +
                      N'] alter column [' + @colname +
                      N'] '
          if @datatype = N'text'
            set @cmd = @cmd + N'varchar(MAX)'
          else if @datatype = N'ntext'
            set @cmd = @cmd + N'nvarchar(MAX)'
          else
            set @cmd = @cmd + N'varbinary(MAX)'
          if @nullflag = N'N'
              set @cmd = @cmd + ' NOT NULL'
          else
              set @cmd = @cmd + ' NULL'
          -- print @cmd
          exec( @cmd )
          set @n_altered = @n_altered + 1
        end
        fetch next from c into @tabname,@colname,@datatype,@nullflag
      end
      close c
      deallocate c
      select convert(varchar,@n_altered) + N' columns were altered'
    end -- sap_use_var_MAX
    Mind you, you'll have to change <SID> and <sid> acoordingly, considering also if your db is dbo schema or sid schema owned!
    Thank you for your help nonetheless!
    Bruno Pereira

  • SAPINST 4.7  with  MS SQL SERVER Error "Unable to stop server"

    I'm trying to install SAP 4.7 on
    - Windows 2003 Server _ host "tpt"
    - SQL Server 2000 SP3 _ new Instance "MYSAP". Collation is already set to "SQL_Latin1_General_CP850_BIN2".
    Sapinst ran well on all input data steps.
    Next it applied from steps
    "Create SAP System Opertion System Groups and Users"
    "Check/Adapt File System"
    until step "MS SQL SERVER tempdb Parameters" with Processing message "Changing location of
    tempdb files", then stopped the installation.
    I've got Error_Log file:
    Transaction begin ********************************************************
    INFO 2004-09-19 10:21:24
    Successfully connected to "tpt\MYSAP"
    ERROR 2004-09-19 10:21:25
    MDB-05039  Unable to stop server "tpt\MYSAP"; error: "[Microsoft][ODBC SQL Server Driver][SQL Server]Herunterfahren des Servers auf Anforderung. (german text means "Server shuts down on request")
    [Microsoft][ODBC SQL Server Driver][SQL Server]SQL Server beendet diesen Prozess." (german text means "SQL Server stops this process")
    ERROR 2004-09-19 10:21:25
    MDB-05034  Call to a threaded function returned "1".
    Transaction end **********************************************************
    WARNING 2004-09-19 10:30:21
    The step doChangeTempDBParameters1 with step key SAPSYSTEM|ind|ind|ind|ind|ind|0|SAPComponent|ind|ind|ind|ind|ind|0|DatabaseServer|windows|ind|mss|ind|ind|0|TempDB|windows|ind|mss|ind|ind|0|doChangeTempDBParameters1 executed with status ERROR.
    WARNING 2004-09-19 10:30:21
    An error occurred during the installation. 
    Can you help me?
    Thanks very much
    thanh

    Hello,
    you should not use a german version of MS SQL Server.
    Regards
    Gregor

  • MS SQL 2005 clustered database instance.

    Short Text 
    MS SQL cluster database instance - ONLY! 
    Long Text 
    Hi,
    If possible could you please confirm that our planned landscape
    migration is supported by SAP.
    At present our PRD SAP system is a standalone instance that consists of
    the database & central instance running on the same "HOST".
    <u>Current SAP PRD version:</u>
    ERP 2004 ECC 5.0 32 bit
    MS SQL 2000 32 bit
    both running on same host with OS Windows 2003 32 bit
    We plan to upgrade/migrate our PRD SAP system to new 64 bit hardware
    AND to move to a "Distributed" landscape installation i.e. database
    instance & central instance installed on different HOSTS. Also, the
    database instance WILL be clustered but the central instance will NOT
    be clustered. There are also multiple NON-SAP MS SQL databases that
    will run in the same cluster as the PRD SAP database instance.
    <u>SAP PRD version after migration:</u>
    SAP ERP 2004 ECC 5.0 64bit (running on X86_64 AMD64 hardware) on HOST'X'
    MS SQL 2005 64 bit (running on IA64 hardware) on clustered HOST'Y'
    Both running on Windows 2003 64 bit
    <u>My questions are:</u>
    1) Does SAP support a clustered MS SQL 2005 database instance that is
    running on a clustered HOST along with NON-SAP MS SQL databases?
    2)During the migration our PRD SAP MS SQL database will be upgraded
    from MS SQL 2000 32 bit to MS SQL 2005 64 bit IA64, is this also
    supported in a clustered istallation (database instance ONLY)?
    3) The central PRD SAP instance will be running on x86_64 AMD64
    hardware & the database instance will be running on 64 bit IA64
    hardware. Is this configuration supported?
    Thanking you inadvance.

    Hi Greg,
    Have you figured out the answer? We are trying do the exactly the same thing -- Move our SAP WAS 6.40 clustered central instance to a 64-bit hardware/SQL 2005/Clustered system. And this system has several non-SAP database on there. The biggest concern we have is whether SAP support this architecture. I posted a message here last year and several experts like Clas Hortien, N. P. C, in this form suggest NOT go to this architecture because SAP will not support it. One example, is that SAP/SQL requires server collation setting to SQL_Latin1_General_CP850_BIN2 and other databases may work on different collations.
    Migrate SAP SQL Server database to co-exist with others
    Anyway, if you or anyone in this form have some more information please share here.
    Thanks,
    Yujun Ran

  • Problems found after checking database configuration of server

    Hello all,
    Though this problem has been addressed before. .
    I couldn’t get a clear idea.
    I get the error. .
    "Wrong Server Collation; J2EE installation requires
    SQL Latin 1 General CP850 Bin 2 Collation.
    MS SQL Server Patch is too low; please read the note 62988;
    These problems must be fixed before continuing installation."
    https://www.sdn.sap.com/sdn/collaboration.sdn?contenttype=url
    &content=http%3A//forums.sdn.sap.com/thread.jspa%3FthreadID%3
    D18855
    I installed SQL Server 2000 SP3. And in type radio button,
    Choose Custom and then proceeded to choose the collation
    designator latin1_General and sort order as Binary as advised
    in the note (service.sap.com).
    Now I am trying to install SAPinst for netweaver Installation.
    Then the above error is repeated again and again and again and
    again. I have been trying it since quite some time going through
    service.sap.com/SDN,have gone through various notes and even
    installed the hot fix provided at (service.sap.com) still
    I get the following error:
    "Wrong Server Collation; J2EE installation requires
    SQL Latin 1 General CP850 Bin 2 Collation.
    These problems must be fixed before continuing installation."
    When i try to connect to. .It says
    The current collation is Latin1_General1_BIN,
    Not SQL_Latin1_General1_Cp850_BIN
    Then install the Unicode hotfix(QFE)
    Any inputs in this regard would be appreciated
    Thanks in advance.
    Mohan.

    Hi Mohan,
    the note 62988 is not that helpful in your case. You will need to read carefully the note 600027 and download the ZIP-file attached to the note.
    After unpacking the ZIP-file just execute INSTCOLL.EXE from a local directory.
    In the note is also described how to check that after executing INSTCOLL.EXE the collation has changed to SQL_Latin1_General_CP850_BIN2.
    Hope this helps,
    Robert

  • Installing Solution Manager 3.2

    Hello,
    I am trying to install SOLMAN3.2 on windows 2003 SQLSERVER 2000 SP3.
    I have several questions:
    =========================
    1) I have R/3 46C (non-unicode) on this server. Should I install the "Solution Manager 3.2" on the same server (server has enough resources) ? Is it possible to install it with R/3 46C on the same server ?
    2) However, I've started the installation and I get:
    "-Wrong server collation; J2EE installation requires 
      SQL_Latin1_General_CP850_BIN2 collation
      -MSSQL SERVER patch level is too low, please read the
      note 62988"
    I've read this note, it tells that there is a file INSCOLL.EXE that changes the collation. But this is relevant only to unicode system. Because of R/3 system, that is a non-unicode system, I didn't install this patch.
    What should I do ?
    Please Advice,
    Dimitry Haritonov

    hello Eddy,
    I've read this note too.
    it says: "For existing NON-UNICODE SAP systems there is presently no need to convert them to new collation", this is my case.
    So I shouldnt update to this collation but the installation requires it.
    Why ?
    Maybe SOLMAN 3.2 MUST be installed on the unicode system ?
    Anyone ?
    Please Advice,
    Dimitry Haritonov

  • CP850_BIN2 for non unicode systems??

    Hi All
    This is possibly a really stupid question and I think I know the answer, but I need some one else to say yes!
    We are currently running a SQL upgrade, from 2000 to 2005, for ore ECC6 platform. As part of the upgrade it is recommended that you change the DB collation from SQL_Latin1_General_CP850_BIN to SQL_Latin1_General_CP850_BIN2 which allows unicode data to be sorted properly.
    My question is, if this enhancement is to correct a unicode issue, will it affect my current non-unicode system if applied. I don't want it to cause any issues if I apply it during the upgrade.
    I don't think it will for various reasons, but I am not 100% can anone let me know if I am right, please!
    Thanks in advance!
    Phil

    Hi,
    you will have no issues with your current system when you go to BIN2 now (before you upgrade to SQL 2005). And you have to keep in mind, that you have to have BIN2 for all newer releases of SAP. So if you plan to ever upgrade your system to a newer release in some point in time, you should go to BIN2 now, as otherwiese you have to perform a homogenous systemcopy with R/3 (which is not so much fun) if you miss it now. On SQL 2005 you can't change the collation easily, so if you don't have the correct one, you only can change it when you unload the data, drop the DB, create the DB in the correct collation and reload the data.
    Regards
      Clas

  • Unicode MSSQL

    Hi All,
    I'm inserting japanese charecters into MSSQL server. when i do that, i can see in the insert query in th audit log with japanese charecters. but in the MSSQL server, they are inserted as ?????. the columns are already defined in the MSSQL as the data types <b>nchar</b> and <b>nvarchar</b>
    I modified the <b>URL</b> with charset <b>UTF-8</b>. i had also tried with the option sql7=true. but no use....
    Can anyone help me in this regard.
    Regards
    Anil

    Hi Anil,
    hmmm....tricky..
    For a unicode system SQL Server uses the datatype "nvarchar".
    For a non-unicode system SQL Server uses the datatype "varchar".
    SQL Server always uses UNICODE UCS-2 character set (2 bytes per
    unicode character) independent from the collation of the SQL S
    You can always store 10 unicode characters in a field defined
    nvarchar(10).
    A collation defines the code page and sort order. SAP only support
    the collation SQL_Latin1_General_CP850_BIN2 for unicode system.
    Did you install the correct collation ? See SAP note 600027.
    or maybe you can look for Microsoft Support on this case ?
    cheers,
    Vincent

Maybe you are looking for

  • Acrobat Flattening Form Fields and Optimizing for Web

    I'm trying to optimize a PDF for the web and flatten all the form fields. I also want to remove the purple dialogue box at the top when optimizing on the web. Has anyone else experienced this problem? I've toiled around with it for some time and can'

  • Need help on how to programmatically pass the Binary Security Token from C# code in visual studio 2012

    Hi All, Below is my signed SOAP request. I don't have any web.config configuration for this also no idea on how to implement message level security. Could you please suggest on implementation. <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.o

  • Exceptions while generating reports

    Hi, We are facing a problem while exporting the reports in PDF/RTF format. find below the errors messages displayed Error   Can't connect to CRXI window server using 'WNCSUSHCLIN0110.ncsbe.eu.jnj.com:0.0 as the value of the DISPLAY variable' and for

  • Decipher my crash log

    Thu Jul 31 00:16:54 2014 panic(cpu 1 caller 0xffffff800cedc24e): Kernel trap at 0x00007fff0ced693b, type 13=general protection, registers: CR0: 0x000000008001003b, CR2: 0x000000013062b000, CR3: 0x00000000356c1026, CR4: 0x00000000001606e0 RAX: 0xfffff

  • MacBook Pro 15" Grainy Matte Display

    The matte display on my new MacBook Pro has a grainy look to it. It's very noticeable. I'm curious if this is a defect or if all MacBook Pro displays are like this. To better describe the look... it looks like someone took a screenshot and applied th