Unreadable Charactors (?????) - Oracle to SQL Server 2005 Database

Hi everybody:
I have some trouble in Oracle Database client and SQL Server 2005,when I
SELECT some table(in that table have some japanese charactors and these
table are in SQL Server 2005 ) in Oracle Database client.And I have some
errors as follows:
ORA-28500: connection from ORACLE to a non-Oracle system returned this
message: [Generic Connectivity Using ODBC]DRV_GetRows:
preceding 2 lines from MSQL3 Cause
And the detail description are as following:
1. Table A in SQL Server 2005 has datatype as nchar. Data stored in this
table are Japanese charactors, for eg カラー, 品番, etc and some are
English charactors.
2. ODBC version 2000.81.9002.00 is set in Oracle Server.
3. a) Connection to SQL Server 2005 (as mentioned in Point 1) is done
through a database link object, named MSQL on Oracle 10G.
b) NLS_CHARACTERSET in 10G is UTF8.
c) NLS_NCHAR_CHARACTERSET in 10G is AL16UTF16
4. We use PL/SQL DEVELOPER 7.0 and client's unicode is set as UTF8.
Problem:
Sometimes We keep on getting unreadable charactors (ie ?????) when we use PL/SQL
to run queries from Table A.But other sometimes we have the error as above
i.e
ORA-28500: connection from ORACLE to a non-Oracle system returned this
message: [Generic Connectivity Using ODBC]DRV_GetRows:
preceding 2 lines from MSQL3 Cause
However, no problem found so far for English charactors.
Thank you very much.

Hi Ushitaki
Thank you again .
What kind of developer tools do you use with on trying that?
We use PL/SQL DEVELOPER 7.0 ,and we also have tried Toad developer tools ,no matter what tools the problem still exist....
On the other hand we set NLS_LANG and set the windows codepage 932 and 936 ,too.But it's a pity we still get the error.
and the error as follows :
ORA-28500: connection from ORACLE to a non-Oracle system returned this
message: [Generic Connectivity Using ODBC]DRV_GetRows:
preceding 2 lines from MSQL3 Cause
Message was edited by:
user569423

Similar Messages

  • Migrating from MS SQL Server 2005 database to Oracle 10g

    Hello,
    I wanted the full procedure or steps to Migrate the MS SQL Server 2005 database to Oracle 10g. Is there a known procedure to do this or is there a tool which is used?
    I have not done migration of database from MS SQL Server to Oracle. Any help is appreciated. Thanks a lot for the time.
    Regards,
    RPS

    Wrong forum, go to the database forum!
    cu
    Andreas

  • Getting data out of Oracle to SQL Server 2005

    Hello,
    I am new in Oracle and I have this question.
    I need to transfer lots of data frequently at day from a large Oracle DB to a SQL Server 2005 Database.
    Could you tell me what tools (including PL/SQL) ORACLE offers to reach this goal?
    *.Dat files are still a way to perform this job or other method more performance (quickly and efficiently) are available?
    Using MS SSIS is better ?
    Thank for your help

    I've done getting data out of Oracle to MS Access DB using heterogenous servicing.I hope that that would be the best way for your case too..
    Check this out.
    http://www.datadirect.com/developer/odbc/oracle_heterogeneous/index.ssp
    Regards,
    Bhagat

  • How to set the CLASSPATH for an  Sql Server 2005 database... help me please

    Hello! Guys I want to access a Sql Server 2005 database from Java.I've downloaded the JDBC 2.0 driver from Microsoft.I've copied the sqljdbc4.jar file to C:\Java\jdk1.6.0_14\db\lib.And I've added this to the classpath C:\Java\jdk1.6.0_14\db\lib\sqljdbc4.jar.The classpath variable is defined as a user variable.Well the point is that I get that nasty exception:Exception in thread "main" java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver.So if you know how to help me,please do so.Thank you :)

    Hi Timo,
    My jdev version is 10.1.3.3.0, this is for R12. By PR i mean to say process request and PFR process form request in the controller.
    In the Process request of the controller, i am finding the checkbox bean and assigning the firepartialaction for it.
    Later in the process form request for the fired event, i am trying to handle the rendered property of the messagetextinput. Is this a right approach?
    my code below
    public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    super.processRequest(oapagecontext, oawebbean);
    OAApplicationModule oaapplicationmodule = oapagecontext.getApplicationModule(oawebbean);
    OAMessageCheckBoxBean oamessagecheckboxbean = (OAMessageCheckBoxBean)oawebbean.findChildRecursive("X_FLAG");
    if(oamessagecheckboxbean != null)
    oapagecontext.writeDiagnostics(this, "Message check box Bean found:", 1);
    FirePartialAction firepartialaction = new FirePartialAction("change");
    oamessagecheckboxbean.setAttributeValue(PRIMARY_CLIENT_ACTION_ATTR, firepartialaction);
    oamessagecheckboxbean.setFireActionForSubmit("change", null, null, true);
    oapagecontext.writeDiagnostics(this, "setting fire event", 1);
    public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    super.processFormRequest(oapagecontext, oawebbean);
    oapagecontext.writeDiagnostics(this, "Inside Process Form Request", 1);
    if("change".equals(oapagecontext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
    OAMessageTextInputBean bean = (OAMessageTextInputBean)oawebbean.findChildRecursive("X_NUMBER");
    if(bean!=null){
    bean.setRendered(Boolean.TRUE);}
    Thanks,
    Malar

  • Get an image from a varbinary field in an SQL Server 2005 database

    Hi:
    In a varbinary(MAX) field of an SQL Server 2005 database I
    storage JPG images. I design a webservice that returns the
    following XML structure:
    Public Class IMAGEN
    Public ErrorConsulta As Long
    Public Imagen As Byte()
    End Class
    The response look like this:
    <FLEXOBTENERIMAGENResponse>
    <FLEXOBTENERIMAGENResult>
    <IMAGEN>
    <ErrorConsulta>0</ErrorConsulta>
    <Imagen>/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgH....</Imagen>
    </IMAGEN>
    </FLEXOBTENERIMAGENResult>
    </FLEXOBTENERIMAGENResponse>
    Where the node Imagen are thousands of caracters that
    represents the JPG image.
    How can I show this JPG in an Image control of a Flex Builder
    2 or 3?
    If you need more information please let me know.
    Thanx in advance.

    Assuming that you have text fields storing the Y N then on
    the output you
    have a code block like this
    <%
    If recordset.fields.item("wheelchair").value = "Y" then
    %>
    <img src="images/wheelchair.gif">
    <%End if%>
    However is your field is set to be a Yes/No type then the
    best way is to
    write the test like this
    If recordset.fields.item("wheelchair").value = TRUE then
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "Lancs" <[email protected]> wrote in message
    news:e6srl5$jul$[email protected]..
    > Using ASP/VBscript and Access
    > I'm making a page that dislays a listing of
    organisations (using Repeated
    > Regions) concerned with disabilities. I want to use
    images for symbols
    > that
    > indicate whether, for example, an organisation uses
    textphones, has
    > wheelchair
    > access, and the like. I'm using a form to add new
    records to the database.
    > I
    > want the form to allow users to select the applicable
    symbols using
    > checkboxes.
    > What code will allow the listing page to interpret a Y
    value as an image
    > path
    > and ignore a N value.
    > Thanks
    >

  • Inserting date from a jsp into sql server 2005 database

    Dear Friends.,
    i have a jsp page, in that there is a form with various user input fields. in that one field is date field. i tried to insert the date field into the sql server 2005 database. but it is not getting inserted into the database.
    when i tried by inserting one field to database, it is getting inserted. for all the fields its works fine, except the date field.
    i need hint or code to insert the date get from the jsp page to database.
    i am using a servlet to do all database related things. i.e making connections, executing prepared statement queries
    thanks
    sekar.

    The variable needs to be outside of the string to be recognized as a variable. You need to remove the variable from the string, then concatinate it onto the string (and concatinate any remaining string parts - the closing paren). For example:
    stmt.executeUpdate("INSERT INTO table VALUES ('test', " + companyID + ")");
    Hope that's clear enough and helps. Good luck on your thesis!
    jim

  • Free  SQL server 2005 Database administration book

    Hi,
    From where we can download SQL server 2005 Database administration book
    Thanks & Regards,
    Raj

    Hi,
    This not the download forum for book, please don't post such query in this forum.
    if you have any basis related query then post it here.
    regards,
    kaushal

  • How do I configure Tuxedo 8.1 with SQL Server 2005 database?

    Hi,
    Currently using Tuxedo 8.1 (64bit) on SUN Solaris 8.
    1. I want to know whether I can configure a SQL Server 2005 database in my current Tuxedo domain?
    2. Are there any BEA useful links for examples?
    3. Known problems?
    Any other useful information
    Regards Sam

    Hi
    Thanks for your reply.
    I build the TLOG using following:
    tmadmin ?c
    crdl -b 500 -z c:\tuxedo\envs\sqlpoc\tlogs\TLOG
    tmadmin
    crlog -m simple     
    Built the TMS using the following:
    buildtms -v -r SQL_SERVER -o TMS_SQLSERVER
    When trying to boot the TMS_SQLSERVER, get the following error (TRACE is switched on):
    113626.W039133!TMS_SQLSERVER.exe.3180.3184.0: 08-08-2007: Tuxedo Version 8.1, 32-bit
    113626.W039133!TMS_SQLSERVER.exe.3180.3184.0: LIBTUX_CAT:262: INFO: Standard main starting
    113626.W039133!TMS_SQLSERVER.exe.3180.3184.0: TRACE:ia: { tpsvrinit(14, "C:\TUXEDO\envs\sqlpoc\bin\TMS_SQLSERVER.exe -C dom=simpapp -g 500 -i 30001 -u W039133 -U C:\TUXEDO\envs\sqlpoc\logs\ULOG -m 0 -A")
    113626.W039133!TMS_SQLSERVER.exe.3180.3184.0: TRACE:ia: { tpopen()
    113626.W039133!TMS_SQLSERVER.exe.3180.3184.0: TRACE:xa: { xa_open(0x90026c, 0, 0x0)
    113632.W039133!TMS_SQLSERVER.exe.3180.3184.0: TRACE:xa: } xa_open = -3
    113632.W039133!TMS_SQLSERVER.exe.3180.3184.0: LIBTUX_CAT:466: ERROR: tpopen TPERMERR xa_open returned XAER_RMERR
    113632.W039133!TMS_SQLSERVER.exe.3180.3184.0: TRACE:ia: } tpopen = -1 [tperrno TPERMERR]
    113632.W039133!TMS_SQLSERVER.exe.3180.3184.0: TRACE:ia: } tpsvrinit = -1 [tperrno TPERMERR]
    113632.W039133!TMS_SQLSERVER.exe.3180.3184.0: LIBTUX_CAT:250: ERROR: tpsvrinit() failed
    113632.W039133!TMS_SQLSERVER.exe.3180.3184.0: LIBTUX_CAT:300: ERROR: tlogopen: gptblopen: UNIX sys call error - 2
    113632.W039133!tmboot.3132.2844.-2: 08-08-2007: Tuxedo Version 8.1, 32-bit
    113632.W039133!tmboot.3132.2844.-2: CMDTUX_CAT:825: ERROR: Process C:\TUXEDO\envs\sqlpoc\bin\TMS_SQLSERVER.exe at simple failed with /T tperrno (TPERMERR - resource manager error)
    113632.W039133!TMS_SQLSERVER.exe.3284.3528.0: 08-08-2007: Tuxedo Version 8.1, 32-bit
    113632.W039133!TMS_SQLSERVER.exe.3284.3528.0: LIBTUX_CAT:262: INFO: Standard main starting
    113632.W039133!TMS_SQLSERVER.exe.3284.3528.0: TRACE:ia: { tpsvrinit(14, "C:\TUXEDO\envs\sqlpoc\bin\TMS_SQLSERVER.exe -C dom=simpapp -g 500 -i 30002 -u W039133 -U C:\TUXEDO\envs\sqlpoc\logs\ULOG -m 0 -A")
    Can anyone help?
    Thanks

  • Save .PSR to SQL Server 2005 database

    Hi all,
    I want to store certain invoice printouts in .psr format, into an SQL Server 2005 database so that the users can retrieve the psr and have the reports displayed. I am using PB 11.5.
    I can save it in an external file OK (using SaveAs - PSReport!).
    I am puzzled for the following.
    How to save it in the database.
    Also it would be more than 32kb so FileRead will have issues to create a single file (?).
    What is the best datatype to use for SQL Server?
    How do I retrieve it to use it? (FileRead and then create external file with FileWrite?)
    Has anyone done it before? Any recommendations, samples, guidelines are more than welcome!
    Thanx in advance!

    Hi Panos,
    Here's a proc I tested that inserts a blob into a table aaa(id uniqueidentifier pk, rpt varbinary(max))...
    CREATE PROCEDURE sp_aaa
       @blob varbinary(max)
    AS
    Declare @li_return_code int
    select @li_return_code    = 1
    BEGIN TRY
    insert aaa (id, rpt) values ( newid(), @blob)
    select @li_return_code
    END TRY
    BEGIN CATCH
    declare  @li_error_code integer,
        @li_error_line integer,
        @ls_error_proc varchar(40),
        @ls_error_msg nvarchar(2048)
    select @li_error_code = ERROR_NUMBER()
    select @ls_error_msg  = ERROR_MESSAGE()
    select @li_error_line  = ERROR_LINE()
    select @ls_error_proc = ERROR_PROCEDURE() + ' Line: ' + convert(varchar(4), @li_error_line)
    select @ls_error_msg = @ls_error_msg + char(13) + ' Proc: ' + @ls_error_proc + char(13) + ' Error Code: ' + convert(varchar(4), @li_error_code) + char(13) + ' Line: ' + convert(varchar(4), @li_error_line) + char(13);
    /* Rethrow the exception */ 
    THROW 51000, @ls_error_msg, 1
    END CATCH
    Here's the transaction object rpc declaration for the proc...
    function long sp_aaa(blob blob) RPCFUNC ALIAS FOR "dbo.sp_aaa"
    Here's the func that calls the rpc...
    integer li_ret
    TRY
    li_ret = this.sp_aaa( ab_blob)
      commit; 
    CATCH
    ( exception ex)
    li_ret = -1
    rollback;
    messagebox('DB ERROR', ex.getmessage())
    END TRY
    return li_ret
    Here's the call from the window...
    blob lb_blob
    integer li_rtn, li_filenum
    long ll_bytes
    string docpath, docname[]
    li_rtn = GetFileOpenName("Select File", docpath, docname[], "PSR", + "PSR Files (*.PSR),*.PSR," + "All Files (*.*), *.*", "", 18)
    IF li_rtn = 1 THEN
    li_filenum = FileOpen(docpath, StreamMode!)
    ll_bytes = FileReadEx(li_filenum, lb_blob)
    Fileclose(li_filenum)
    sqlca.of_insert_blob(lb_blob)
    END IF
    hth,
    Mark

  • Export SharePoint List data to SQL Server 2005 Database

    Hello Everybody,
    I am presently working on a project which handles much larger amount of data. The architecture of the application demands extracting records from the SharePoint (WSS 3.0) and insert into a SQL Server 2005 database. I need to run this job as daily basis. I am thinking of using SSIS (SQL Server Integration Service) for this purpose. But I am new to this technology and I'd like to know how effective this idea to do the job.
    I'd also like to know more about SharePoint's ability to handle huge amount of data when it comes to Reporting.
    thank you,
    Arun

    For Reporting Services, There are web parts available which can be used to render a reporting service report in sharepoint. I have also used a reporting service report directly using Page Viewer Web Part so displaying a reporting services report in sharepoint is very simple task. Important part is to transfer data from Sharepoint list to SQL 2005. so if you want to use SSIS package and there is only one or two list then approach is to write a simple query based on your list id and extract information from sharepoint content database from UserData table, since it is a read only operation so it can work this way. Another way to do it is to write a Sharepoint Timer JOB which runs on a defined schedule and will read your list values and will transfer to your SQL 2005, Another way could be to write your custom web service and write code to transfer from list to SQL 2005. Custom code you will write inside timer or web service will be same code so it is just a different shell you can say. in case of web service, use it in some other application as a regular web service.  
    Let me know if you need further help, You did not mention how many list you have?
    Regards,
    BizWorld.

  • CR with VS 2003 Oracle vs SQL Server 2005

    VS2003
    Windows XP
    All Crystal Reports designed using "push" model (Seting the Report Document's SetDataSource property using a single table dataset)
    I have a large VS2003 application (90+ Crystal Reports) using an Oracle database.  The client wants to switch to SQL Server 2005.  The application works with SQL Server "as is" except for the Crystal Reports.  A query engine error is generated.  The tables/views are quite simple using only integers, decimals, char and varchar columns, no datetime columns.   The dataset's  Name and datatable's Name are the same, the only difference is the data provider used.  Microsoft's Oracle Data provider vs Microsoft's SQL Server Data provider. Any thoughts? Any workarounds?.
    I am in the process of converting the application to VS2008 and the problem does not exist in the VS2008 version.  Crystal Reports converted from VS2003 to VS2008 work with either database/data provider.,
    Edit: It appears that Oracle does not differentiate between datatypes decimal and int32.  Any thoughts. (Not the problem)
    Edited by: spooky102 on Aug 17, 2009 6:40 PM
    Edited by: spooky102 on Aug 17, 2009 6:42 PM
    Edited by: spooky102 on Aug 17, 2009 7:31 PM

    An assumption here is that your .NET 2003 app is using the bundled version of CR(?) - version 9.1. If that is the case, make sure you have updated your install with SP1:
    https://smpdl.sap-ag.de/~sapidp/012002523100009301312009E/crnet11win_en.zip
    Next, see if this blog will help you in troubleshooting the issue:
    /people/ludek.uher/blog/2009/03/02/troubleshooting-issues-with-vs-net-datasets-and-crystal-reports
    re:
    It appears that Oracle does not differentiate between data types decimal and int32.
    Not sure how this relates to Crystal Reports as such? But let's work on one issue per thread. If you want to work the data type issue more, please create a new thread. Otherwise, these things get too messy...
    Ludek

  • Importing data from SQL Server 2005 database

    Dear Friends
    Scenario:
    We have built an application for which the database is SQL Server 2005.
    Now, we have planned to switch over to Oracle 8i database.
    There is a field with data type as Varchar(Max) – which can hold data with a maximum length of 231 characters (SQL Server 2005)
    In Oracle 8i, the Varchar2 max size 4000 bytes or characters.
    We want to import the data from SQL Sever 2005 database into Oracle 8i database.In the process, the value for the particular field whose data type set as Varchar(Max) in SQL Server 2005 and contains more than 4000 characters gets automatically truncated while importing into oracle.
    We want the entire characters stored in the field to be imported into oracle database.
    Please suggest solutions.
    Thanks and regards
    Bharath Kumar V

    Use CLOB if the data is purely text data. BLOB otherwise.
    But the question is why you want to switch over to an Oracle version which is de-supported by Oracle?

  • ORA-28546: (oracle to SQL server 2005)

    Hi all,
    I followed the following below ariticle in dbasupport and dbajournal for about connectivity from Oracle Server 10.1.0.2.0 to SQL Server 2005
    http://www.dbasupport.com/oracle/ora10g/connection01.shtml
    http://www.databasejournal.com/features/oracle/article.php/3442661/Making-a-Connection-from-Oracle-to-SQL-Server.htm
    i configured the listener.ora ,tnsnames.or and inityscco2.ora
    $ cat listener.ora
    # listener.ora Network Configuration File: /u01/app/oracle/product/101/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = yscc02)
    (ORACLE_HOME = /u01/app/oracle/product/101)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = yscc02)
    (ORACLE_HOME = /u01/app/oracle/product/101)
    (PROGRAM = hsodbc)
    (ENVS = "LD_LIBRARY_PATH=/u01/app/oracle/product/101/lib32:/usr/lib:/u01/app/oracle/product/101/hs/lib32")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ysccapps.yamama.com)(PORT = 1521))
    LISTENERYSCCAPPS =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=100.100.50.5)(PORT=1522))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    SID_LIST_LISTENERYSCCAPPS=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME= yscapps)
    (ORACLE_HOME = /u01/app/oracle/product/101 )
    (PROGRAM=hsodbc)
    $lsnrctl status listener
    LSNRCTL for IBM/AIX RISC System/6000: Version 10.1.0.2.0 - Production on 20-JUN-2010 14:03:22
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
    STATUS of the LISTENER
    Alias listener
    Version TNSLSNR for IBM/AIX RISC System/6000: Version 10.1.0.2.0 - Production
    Start Date 15-JUN-2010 14:49:05
    Uptime 4 days 23 hr. 14 min. 17 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/101/network/admin/listener.ora
    Listener Log File /u01/app/oracle/product/101/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ysccapps.yamama.com)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ysccapps.yamama.com)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ysccapps.yamama.com)(PORT=2100))(Presentation=FTP)(Session=RAW))
    Services Summary...
    Service "yscc02" has 1 instance(s).
    Instance "yscc02", status UNKNOWN, has 2 handler(s) for this service...
    Service "yscc02.ysccapps.yamama.com" has 1 instance(s).
    Instance "yscc02", status READY, has 1 handler(s) for this service...
    Service "yscc02XDB.ysccapps.yamama.com" has 1 instance(s).
    Instance "yscc02", status READY, has 1 handler(s) for this service...
    The command completed successfully
    $ cat tnsnames.ora
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/101/network/a
    dmin/tnsnames.ora
    # Generated by Oracle configuration tools.
    YSCCAPPS1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ysccapps.yamama.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = yscc02)
    (HS = OK)
    $tnsping ysccapps1
    TNS Ping Utility for IBM/AIX RISC System/6000: Version 10.1.0.2.0 - Production on 20-JUN-2010 14:04:43
    Copyright (c) 1997, 2003, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = ysccapps.yamama.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = yscc02)) (HS = OK))
    OK (0 msec)
    $ sqlplus new/password@ysccapps1
    SQL*Plus: Release 10.1.0.2.0 - Production on Sun Jun 20 14:07:01 2010
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL>
    $ cat inityscc02.ora
    This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    HS_FDS_CONNECT_INFO = yscc02
    HS_FDS_TRACE_LEVEL = off
    HS_FDS_SHAREABLE_NAME = <full path name of odbc driver manager or driver>
    # ODBC specific environment variables
    set ODBCINI=<full path name of the odbc initilization file>
    and i had created database link like
    SQL>create database link ysccapps1
    connect to "sa" identified by "passwad"
    using 'ysccapps1';
    SQL> select * from [email protected];
    select 8 from [email protected]
    ERROR at line 1:
    ORA-28546: connection initialization failed, probable Net8 admin error
    ORA-28511: lost RPC connection to heterogeneous remote agent using SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=y
    sccapps.yamama.com)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SID=yscc02)))
    ORA-02063: preceding 2 lines from YSCCAPPS1
    Please assist me . i need to periodically pull data from Oracle server to Sql server
    Best Regards

    First of all please be aware HSODBC has been desupported since 15th of March 2008. When starting a new project you should start with a supported product and this product is called DG4ODBC and it is available as release 11.
    Looking at the provided listener it shows several configurations issues.
    Have a lokk at yout tnsnames.ora => you mentioned to use the listener servicing port 1521.
    This Listener serves 2 SIDs with the same name:
    SID_DESC =
    (SID_NAME = yscc02)
    (ORACLE_HOME = /u01/app/oracle/product/101)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = yscc02)
    (ORACLE_HOME = /u01/app/oracle/product/101)
    (PROGRAM = hsodbc)
    (ENVS = "LD_LIBRARY_PATH=/u01/app/oracle/product/101/lib32:/usr/lib:/u01/app/oracle/product/101/hs/lib32")
    So when you now connect, the listener does not know which service to spawn. Please check out Metalink note:
    Note.238771.1 How to Setup Generic Connectivity - HSODBC - on AIX
    when you want to continue using HSODBC although I strongly recommend you to use DG4ODBC which is configured as mentioned in Metalink note:
    Note.561033.1 How to Setup DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX)

  • Pulling data from oracle into sql server 2005

    hi,
    these days i am working on sql server 2005 on windows server 2008 64 bit.
    and oracle 10g on 32 bit unix.
    my problem is that when i am pulling data from oracle into sql server it shows me about *500-700 entries less*.
    why this is happening? is it because 32 bit to 64bit? or is it because of different os?

    Akki,
    are you using snapshot or replication from MSSQL? I am doing the same thing, hope to share your experience.
    I am using import/export from MGT studio and pull some data from Oracle database, I am working on how to update the changes on these tables pulled from Oracle.
    Thanks,
    -hank

  • Size of SQL Server 2005 Database for SAP B1 2005 B is heavy

    Hi all,
    In my company we are working with SAP B1 2005 B SP 25.
    Our Database is in SQL Server 2005. Its Size reaches 6 GB in less then two years periods.
    Can Any body guide me to reduce the size or how to maintain database. Can we split Database in SAP B1 ?
    Due to the size users getting less speed
    Awaiting your valuable guidance for the same.
    Best Regards,
    Chintesh Soni

    Hi Chintesh,
    I would advise caution doing any of the things suggested in SAP Note 548772. In particular, I strongly recommend you do NOT set auto-shrink on. This is a really bad idea on a production database and I can't understand why SAP would suggest it.
    Is it the data file that is 6GB or the overall size of the database (ie data and log files)? If your log file is large  then this can slow performance. I recommend setting up transaction log backups on an hourly basis. This is good practice and not only keeps the log file healthy but also gives you the option to recover your data to the last transaction log backup in the case of an emergency. If you don't want transaction log backups then do as the SAP note mentions and set the recovery model to simple and do a once-off truncation of the log file.
    Are you doing regular maintenance on the database (ie rebuilding indexes, updating statistics)? Are you monitoring fragmentation on the data drive and doing a defrag occasionally to keep the drive healthy?
    Kind Regards,
    Owen

Maybe you are looking for