Conn problem SQl Server 64 Bit to Oracle 32 bit using SSIS packages

Hi,
I am facing the problem with connection SQL(64 bit) to Oracle(32 bit).
Please give me the solution/guide in right direction.
Environment is
S1-----> DBServer : 64 bit Windows Server 2003 Enterprise Edition, 64 Bit SQl Server EE, 64 Bit Oracle 10g Client
S2----->.AppServer :32 bit Windows Server 2003 Enterprise Edition, IIS, 32 Bit Oracle 10g Client & Server DB
I have doubt like....
1.Can i install 32 bit oracle also at (S1) 64 bit SQL Server(SSIS)
or only 64 bit oracle?
2.Running command line for SSIS packages at S1
i am unable to connect S1---->S2 using SSIS packages?
How can i solve this problem? pl give steps for going right direction.
Thanks
JOHN
[email protected]

Fabio D'Alfonso wrote:
Hi,
I was setting up VMware vCenter 4.1 (probably the only well known and largely used product with this lethal mix) and needed to setup an ODBC access to Oracle on the 32 bit side of Windows to setup the Update Manager server component, which is still a 32 bit application)
The problem with Oracle configuration is that in no way I found a 32 bit ODBC registered driver after the setup (of the 32 bit client and the 64 database server). I tried some third party driver for oracle (e.g. easysoft).They registered in the 32 bit ODBC manager but they never got a successful connection.
Also if this vCenter requirement is questionable (more questionable considering that the setup of this 32 component is not allowed on a 32 separate OS, not because it is separate but because is a 32 bit OS) I would get it working.
Could suggest a way to get this working?
Thanks
Fabio D'AlfonsoWhen you install the Oracle client software on Windows (which is necessary to support ODBC, as the Oracle ODBC driver sits on top of the native client software) the ODBC driver is NOT installed by default. You have to go back and do a "custom" install and select the "Windows components".

Similar Messages

  • MS SQL Server/VB6 to Oracle 8i using OBDC

    OMW,
    I presently connect to MS SQL in Visual Basic 6.0 using ODBC. I
    would like to connect to Oracle in the same manner. Does the OMW
    do this, and if so are there any things I should know before
    attempting to use it in this application? I have purchased and
    installed a trial version of Oracle 8i, but I am experiencing
    some slight difficulties in the way Oracle handles Resultsets
    (RDO Components) compared to MS SQL.
    thanks
    g
    null

    Gary,
    There is some information in the faq (reproduced below), showing
    how the application may not need to be changed.
    Some of the functionality provided by the intersolve driver is
    now available in the oracle 8.1.5.3 odbc driver.
    Turloch
    Oracle Migration Workbench team
    from the faq (shipped with the workbench):
    How are result sets/dynasets returned to the calling program?
    The Oracle Migration Workbench parser adds an extra argument
    of type REF CURSOR for result sets/dynasets. This type is
    understood and can be
    manipulated by both PL/SQL and Oracle JDBC. Oracle8 release
    8.0.5 ODBC drivers support REF CURSORs which means that the
    additional argument must
    be explicitly handled by the application, and the client
    application code must be changed. However, some third-party
    vendors such as Intersolv supply ODBC
    drivers for Oracle that support REF CURSORs and can, in
    addition, implicitly make use of REF CURSORs for using result
    sets/dynasets. Therefore, no
    change is required in the client application code. This is
    illustrated in the following examples of an MS SQL Server stored
    procedure and its equivalent Oracle
    package and stored procedure as generated by the Oracle
    Migration Workbench parser.
    MS SQL Server Stored Procedure
    CREATE PROCEDURE byroyalty
    AS
    select au_id from titleauthor
    GO
    Oracle8i Package and Stored Procedure
    PACKAGE BYROYALTYPkg AS
    TYPE RT1 IS RECORD (
    au_id titleauthor.au_id%TYPE
    TYPE RCT1 IS REF CURSOR RETURN RT1;
    END;
    PROCEDURE byroyalty(
    RC1 IN OUT byroyaltyPkg.RCT1)
    AS
    StoO_selcnt INTEGER;
    StoO_error INTEGER;
    StoO_rowcnt INTEGER;
    StoO_errmsg VARCHAR2(255);
    StoO_sqlstatus INTEGER;
    BEGIN
    OPEN RC1 FOR
    SELECT au_id FROM titleauthor;
    END byroyalty;
    The following example illustrates the typical ODBC code used
    by Intersolv to call the above MS SQL Server stored procedure.
    This code also works for the
    above Oracle8i package and stored procedure. Note that error
    handling must be added in a real application:
    SQLPrepare(...,'{call byroyalty()}',...)
    SQLExecute()
    SQLBindCol()
    SQLFetch()
    Comments:
    SQLPrepare(...,'{call byroyalty()}',...) is the ODBC SQL
    syntax used to execute stored procedures.
    SQLExecute()executes the stored procedure.
    SQLBindCol()assigns storage for result column 1 in the
    result set (au_id).
    SQLFetch() fetches the first record from the result set
    generated by the stored procedure.
    The following examples illustrate how to call the above MS
    SQL Server stored procedure with result sets/dynasets in Visual
    Basic using DAO and RDO on
    top of ODBC. This code works for Oracle8i packages and
    stored procedures if you use an Intersolv ODBC driver to
    understand Oracle REF CURSORs.
    DAO
    Private Sub Command2_Click()
    Dim sSql As String
    sSql = "{call byroyalty()}"
    'In Oracle ODBC driver use refcusor argument to get
    result set
    Set rCustomers = dbsServer.OpenRecordset(sSql,
    dbOpenDynamic)
    Text4 = rCustomers.Fields(0)
    theend:
    End Sub
    Please note, this example assumes that a DAO connection has
    been set up already.
    RDO
    Private Sub Command1_Click()
    StrSql = "{call byroyalty}"
    'in oracle odbc driver uses refcusor argument to get
    result set
    Set Ps = connx1.CreatePreparedStatement("PsTest",
    StrSql)
    Set Rs = Ps.OpenResultSet(rdOpenStatic
    Text3 = Rs!au_id
    Rs.Close
    End Sub
    Please note, this example assumes that an RDO connection has
    been set up already.
    Gary (guest) wrote:
    : OMW,
    : I presently connect to MS SQL in Visual Basic 6.0 using ODBC. I
    : would like to connect to Oracle in the same manner. Does the
    OMW
    : do this, and if so are there any things I should know before
    : attempting to use it in this application? I have purchased and
    : installed a trial version of Oracle 8i, but I am experiencing
    : some slight difficulties in the way Oracle handles Resultsets
    : (RDO Components) compared to MS SQL.
    : thanks
    : g
    Oracle Technology Network
    http://technet.oracle.com
    null

  • SQL Server Job that were written in SSIS packages failed

    could not load package files system because of error 0x80070002. Description: could not find file 'C:\program files\microsoft SQL Server\100\DTS\Binn\. The package could not be loaded. The step failed. I found this error on one of my job configured in
    ssis packages which take a view statement from my production server, which actually is in a cluster environment. Thank you guys

    It's a little difficult to infer what could be happening without having an idea about what the package does. If you can share one or two screenshots of it, it would be great. You will need Business Intelligence Development Studio (BIDS) for SQL 2008 or previous,
    or SQL Data Tools if SQL 2012. Right click over the package in the file system and select "Edit".
    In the meanwhile, let me give some ideas for troubleshooting:
    If your servers are 64bits, be sure your SQL Agent Job step for the SSIS package is running also in 64bits.
    Assuming your package basically takes data from the view and move it to other server, main of the workload should be at read time from the view. Try running the SQL statement that package is issuing and take the time. If the time is still less than
    3 minutes, your package should have more logic/transformations doing other tasks that we will need to look in. If time is much more, maybe you have much more data in the view underlying tables.
    If querying from the view is still so fast, we will need to understand what the package is doing after the initial read.
    HTH
    Please, mark this post as Answer if this helps you to solve your question/problem.
    Alan Koo | "Microsoft Business Intelligence and more..."
    http://www.alankoo.com

  • SQL Server 2005 agent job runs a SSIS package ( Analysis Services Processing Task) fails

     Hi,
    SQL Server 2005 standard edition.
     I have a SSIS package which has a  Analysis Services Processing Task. I have tested the package in BIDS and it runs ok. But when I created a agent job and run it from the job it reports error:
    Code: 0xC0012024     Source: Analysis Services Processing Task      Description: The task "Analysis Services Processing Task" cannot run on this edition of Integration Services.
    It requires a higher level edition.
    This is the result of select @@version
    Microsoft SQL Server 2005 - 9.00.4035.00 (Intel X86)   Nov 24 2008 13:01:59   Copyright (c) 1988-2005 Microsoft Corporation  Standard Edition on Windows NT 5.2 (Build 3790: Service Pack 1) 
    Any idea?

     Hi,
    SQL Server 2005 standard edition.
     I have a SSIS package which has a  Analysis Services Processing Task. I have tested the package in BIDS and it runs ok. But when I created a agent job and run it from the job it reports error:
    Code: 0xC0012024     Source: Analysis Services Processing Task      Description: The task "Analysis Services Processing Task" cannot run on this edition of Integration Services. It
    requires a higher level edition.
    This is the result of select @@version
    Microsoft SQL Server 2005 - 9.00.4035.00 (Intel X86)   Nov 24 2008 13:01:59   Copyright (c) 1988-2005 Microsoft Corporation  Standard Edition on Windows NT 5.2 (Build 3790: Service Pack 1) 
    Any idea?
    Anyway, I have found a work around:
    http://technet.microsoft.com/en-us/library/ff929186.aspx

  • Join the SQL Server Msdb.dbo.SysJobSteps to the SSIS Package table dbo.sysssispackages

    I have the following query which returns jobs and jobsteps - for those items which have SSIS Packages attached, I would like to include a link to the results of this query below - to the actual SSIS Package Id - Can someone tell me what the column is that
    references the two ?
    dbo.sysssispackages= dbo.SysJobSteps
    I could parse the "command" label - but would prefer something along the lines of job_id unique identifier.
    SELECT
    Job.job_id,
    Job.name,
    Job.enabled,
    Job.description,
    Job.date_created,
    Job.Date_modified,
    Step.Step_Id,
    Step.step_name,
    Step.subsystem,
    Step.command,
    Step.server,
    Step.database_name,
    step.last_run_duration,
    Step.Last_run_date
    FROM Msdb.dbo.SysJobs JOB
    INNER JOIN Msdb.dbo.SysJobSteps STEP ON STEP.Job_Id = JOB.Job_Id
    John

    Parse the command column to get the SSIS package file name may be your only option here.

  • Problems Sql Server 2k to Oracle 9i

    Hi,
    I am migrating 5 BD SqlServer 2k, and with 1 i have this problems:
    "cannot insert NULL into..." error appears when mapping tables in Source Model.
    and alls tienen 'sa' como login owner .
    then, what is it??? help please????
    thanks,
    paola soto
    I am from Santiago, Chile.

    Hi Paola,
    we will need to get some more information from you please. Can you send the error.log file (which can be found in the %OMWB_HOME%\Log directory) to the following address [email protected], together with any other details you might have on the problem you are having with the Migration Workbench please. I am sure we will be able to help you more with these extra details.
    I hope this helps,
    Tom.

  • Copy table from Ms SQL Server 2005 to Oracle with SSIS package

    Hi all
    I am witting an SSIS package to copy 2 tables from Ms SQL Server 2005 to an Oracle 10g database.
    Problem: I can only see the Microsoft OLDB Provider for Oracle and it is too slow. How can I use the Oracle ODBC in aMs SQL Server 2005 or building a .net SSIS package.
    thanks

    Yes I am able to see the driver on the Data Source (ODBC), I also created a connection to the Oracle database. The problem in Ms SQL Server 2005 is that the ODBC connection I created is not listed. None of the lo local connections are listed, only Microsoft OLEDB connections

  • General question on SQL Server 2000 to Oracle 10g

    Hello all,
    I just have a general question on migration from SQL Server 2000 to Oracle 10g using SQL Developer.
    How does it migrate Users with proper privileges from SQL Server to Oracle? Follow the interface steps? Or should the users be created on destination Oracle side?
    Thank you.

    Hi,
    It depends which type of migration you are making.
    For a 'Standard' migration when you migrate data a 'create user' statement is created as part of the migration and you will see this in the generated code.
    If you are using the 'Quick' migration option then you need to create the Oracle user or use an existing user to receive the data.
    Your best option is to review the documentation available from -
    http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html
    or directly from -
    http://download.oracle.com/docs/cd/E12151_01/index.htm
    and then get back with specific questions if this does not give you the information you need.
    Review the chapter -
    2. Migrating Third-Party Databases
    in -
    Oracle® Database SQL Developer User’s Guide Release 1.5
    Regards,
    Mike

  • Oracle to SQL Server DB Link (64-Bit)

    Dear All,
    We need to create a db link from Oracle 10gR2 (10.2.0.1 on 64-Bit Windows 2003) to SQL Server 2008 (on 64-Bit Windows 2008 R2). We followed the necessary steps on Testing Servers (Oracle 10gR2 and SQL Server 2005 both on 32-Bit Windows) using the following method:
    Create ODBC on Oracle DB Server for SQL Server
    Create inithsodbc.ora in <Oracle_Home>/hs/admin
    modify TNSNAMES.ORA file to add TNS Alias for ODBC
    Change SQLNET.AUTHENTICATION_SERVICES to NONE in SQLNET.ORA
    Change listener.ora file to amend SID_LIST_<ListenerName> and reloaded the listener
    Everything worked perfectly fine.
    But when we followed the same steps on Production (64-Bit environments), we get the errors. Below are the contents of files:
    *(1)*
    inithsodbc.ora
    HS_FDS_CONNECT_INFO = testodbc
    HS_FDS_TRACE_LEVEL = off
    *(2)*
    Listener.ora (partial contents)
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = d:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = hsodbc)
    (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
    (PROGRAM = hsodbc)
    After reloading the listener, i can see:
    Service "hsodbc" has 1 instance(s).
    Instance "hsodbc", status UNKNOWN, has 1 handler(s) for this service..
    *(3)*
    TNSNAMES.Ora (partial contents)
    HSODBC =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = <Server Name>)(PORT = <Port>))
    (CONNECT_DATA =
    (SID = hsodbc)
    (HS = OK)
    *(4)*
    SQLNET.Ora
    #SQLNET.AUTHENTICATION_SERVICES= (NTS)
    SQLNET.AUTHENTICATION_SERVICES= (NONE)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    SQLNET.INBOUND_CONNECT_TIMEOUT=180
    *(5)*
    SQL> create database link testdb connect to <UserName> identified by <Pwd> using 'hsodbc';
    Database link created.
    SQL> SELECT count(*) FROM <TableName>@testdb;
    SELECT count(*) FROM <TableName>@testdb
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from TESTDB
    Could you please help me in resolving this issue?
    regards,

    HSODBC was never ported to 64bit Linux - that's the reason why it doesn't work.
    As an alternative you could use the follow up product of HSODBC called Database gateway for ODBC (DG4ODBC). You can download DG4ODBC release 11.2 from OTN, edelivery or My Oracle Support and then install DG4ODBC into its OWN Oracle_home, different from your Oracle database (if you install DG4ODBC 11 into an existing 10.2 Oracle_Home you will corrupt this 10.2 OH!).
    Configuration is similar to HSODBC - only the name of the executable in the SID section of the listener.ora differs (program=dg4odbc) instead of (program=hsodbc).
    DG4ODBC is certified with Oracle database release 10.2.0.4/5 - so please make sure you apply also the mandatory database patchset to your Oracle database.

  • Problem in Loading Data from SQL Server 2000 to Oracle 10g

    Hi All,
    I am a university student and using ODI for my final project on real-time data warehousing. I am trying to load data from MS SQL Server 2000 into Oracle 10g target table. Everything goes fine until I execute the interface for the initial load. When I choose the CKM Oracle(Create unique index on the I$ table) km, the following step fails:
    21 - Integration - Prj_Dim_RegionInterface - Create Unique Index on flow table
    Where Prj_Dim_Region is the name of my target table in Oracle.
    The error message is:
    955 : 42000 : java.sql.SQLException: ORA-00955: name is already used by an existing object
    java.sql.SQLException: ORA-00955: name is already used by an existing object
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:633)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1086)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2984)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3057)
         at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.g.y(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    I am using a surrogate key column in my target table alongwith the natural key. The natural key is populated by the primary key of my source table, but for the surrogate key, I have created a sequence in my oracle schema where the target table exists and have used the following code for mapping:
    <%=snpRef.getObjectName( "L" , "SQ_PRJ_DIM_REGION" , "D" )%>.nextval
    I have chosen to execute this code on target.
    Among my attempts to solve this problem was to set Create Index option of the CKM Oracle(Create Index for the I$ Table) to No so that it wont create any index on the flow table. I also tried to use the simple CKM Oracle km . Both solutions allowed the interface to execute successfully without any errors, but the data was not loaded into the target table.
    When I right-click on the Prj_Dim_Region data store and choose Data, it shows empty. Pressing the SQL button in this data store shows a dialog box " New Query" where I see this query:
    select * from NOVELTYFURNITUREDW.PRJ_DIM_REGION
    But when i press OK to run it, I get this error message:
    java.lang.IllegalArgumentException: Row index out of range
         at javax.swing.JTable.boundRow(Unknown Source)
         at javax.swing.JTable.setRowSelectionInterval(Unknown Source)
         at com.borland.dbswing.JdbTable.accessChange(JdbTable.java:2959)
         at com.borland.dx.dataset.AccessEvent.dispatch(Unknown Source)
         at com.borland.jb.util.EventMulticaster.dispatch(Unknown Source)
         at com.borland.dx.dataset.DataSet.a(Unknown Source)
         at com.borland.dx.dataset.DataSet.a(Unknown Source)
         at com.borland.dx.dataset.DataSet.a(Unknown Source)
         at com.borland.dx.dataset.DataSet.open(Unknown Source)
         at com.borland.dx.dataset.StorageDataSet.refresh(Unknown Source)
         at com.borland.dx.sql.dataset.QueryDataSet.refresh(Unknown Source)
         at com.borland.dx.sql.dataset.QueryDataSet.executeQuery(Unknown Source)
         at com.sunopsis.graphical.frame.a.cg.actionPerformed(cg.java)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    I do not understand what the problem is and wasting days to figure it out. Any help will be highly appreciated as my deadline is too close for this project.
    Thank you so much in advance.
    Neel

    Hi Cezar,
    Can u plz help me with this scenario?
    I have one Oracle data model with 19 source tables and one SQL Server data model with 10 target tables. I have created 10 interfaces which use JournalizedDataOnly on one of the tables in the interface; e.g in interface for DimCustomer target table, I have 2 tables, namely Customer and Address, but the journalizing filter appear only on Customer table and this option is disabled for Address automatically.
    Now I want to create a package using OdiWaitForLog event detection. Is it possible to put all these 10 interfaces in just one package to populate the target tables? It works fine when I have only one interface and I use the name of one table in the interface for Table Name parameter of OdiWaitForLogData event, but when I try a comma seperated list of table names[Customer, Address] this error happens
    java.sql.SQLException: ORA-00942: table or view does not exist
    and if I use this method <%=odiRef.getObjectName("L","model_code","logical_schema","D")%>, I get this error
    "-CDC_SET_NAME=Exception getObjectName("L", "model_code", "logical_schema", "D") : SnpLSchema.getLSchemaByName : SnpLschema does not exist" "
    Please let me know how to make it work?
    Do I need to create separate data models each including only those tables which appear in their corresponding interface and package? Or do I need to create multiple packages each with only one journalized interface to populate only one target table?
    Thank you for your time in advance.
    Regards,
    Neel

  • Migration From SQL Server 2005 to Oracle DB through Oracle SQ Dev Problem

    Hi all,
    we are trying to do a full Migration from MS SQL Server 2005 to Oracle DB 9.2 i
    we are using Oracle SQL Developer V 1.5.3,
    the capturing of the DB and the conversion to the oracle model completed succefully
    however when we try to generate the scripts from the converted model
    the script generation hangs on a sequence and no further progress is made (the script generation pop up keeps still on a certain sequence displaying its name, and thats it )
    no error messages are displayed,
    how can we know the reason for this? or atleast find a log for whats happening...
    any suggestions?
    Thank you

    Hi,
    migrating a sequence shouldn't make a problem. I did a quick test. I created this table in SQL Server:
    create table test_seq (col1 int identity(1,1),col2 char(1))
    Then I captured the table, converted the table and generated the script. There was no problem.
    CREATE SEQUENCE succeeded.
    CREATE TABLE succeeded.
    Connected
    TRIGGER test_seq_col1_TRG Compiled.
    As you see, applying the script was also successful.
    I am using Oracle RDBMS 11g, I don't know whether this makes a difference. Do you have any 11g instance available to test it?
    Can you show me one of the sequences that are causing the hang? Is the CREATE SEQUENCE statement already in the generated script, or not? Your table is for sure more complex than my simple example.
    Regards,
    Wolfgang
    Edited by: wkobargs on Jan 13, 2009 3:01 AM

  • SQL Server Windows NT - 64 Bit in Windows Server 2012 R2 Standard

    Hi,
    We have started migrating our SQL Server 2005 version and Operating System 2003 to SQL Server 2012 and operating system 2012 R2 Standard.
    Before we restore the production database, we had created an empty database and tables. We ran couple of packages which were migrated to SSIS 2012 version from SSIS 2005 and those were working fine and we saw good performance compare to production server.
    Recently we have taken 2005 SQL Server database backup and restored on 2012 version. Since then we are facing performance issues on 2012 server. Below is the configuration of 2012 server
    Intel(R) Xenon(R) CPU E5-2650 v2 @2.60 GHZ 2.60 GHZ (2 processors), RAM - 32 GM and 64-Bit Operating System.
    We are using this server only for data loading from SSIS packages. We have set that this server to use MAX memory is 25 GB RAM. We have checked the memory usage of the server and seen SQL Server Windows NT - 64 bit process is taking total memory allotted
    and also taking 100% CPU utilization.
    Old Server Configuration is
    Intel(R) Xenon(TM) MP CPU 3.66 GHZ, RAM - 8 GB and 32-Bit Operating System
    Could you please let us know what was causing for the high memory utilization on our migration server and make the server for better performance?
    Attached the image of memory utilization.

    Hello,
    I would start by setting maxdop (max degree of parallelism) properly:
    http://blogs.msdn.com/b/sqlsakthi/p/maxdop-calculator-sqlserver.aspx
    Rebuilding indexes and statistics too.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • SQL Server Windows NT - 64 Bit RAM Consumption

    Hi,
    I'm using SQL Server Express 2012. I have database with 200 Mb actually.
    So, I want to know If is it normal
    if the process (app) 'SQL Server Windows NT - 64 Bit' use 400 MB from Ram (at all) and CPU up to 46% some times ?
    If my Server receive DDOS Attak on the TCP port of database ? How can I detect ? How can I solve it.
    Thanks

    Hi nadjibnet,
    SQL Server Windows NT -64 Bit is known as sqlservr.exe process, it is normal that SQL Server consumes as much memory as possible since SQL Server likes to cache data in memory to speed up access. You might have long running queries on SQL Server. Do you
    find any performance issues?
    If SQL Server is not installed on a dedicate production machine and you have other applications on the machine, you could limit the memory usage by
    configuring Max Server Memory according to your situation.
    In addition, about how to detect DDOS attack and block it, you could refer to the following article:
    https://sulich.wordpress.com/2012/06/27/detecting-ddos-attack-in-windows/. I suggest you to post the questions in the
    Windows Server forums. It is appropriate and more experts will assist you.
    Regards,
    Michelle Li

  • Data length problem migrating from sql server 7 to oracle 8i

    I just migrated SQL Server 7 database to Oracle 8i db and everything seemed to have ran ok except that in my newly created oracle database, the field size is doubled. For instance a field with nvarchar(4) in sql server would convert to varchar2(8). Has anyone ran into this problem and also does anyone know how to fix it? Thank you so much.

    Hi Roberto,
    You cannot use Workbench 1.2.2 to migrate from SQL Server 7 to
    Oracle 8.
    However, the good news is that we have a new verion of the
    workbench that will have a plugin that can migrate from SQL
    Server 7.0 to Oracle8.
    A beta version will be downloadable from this web-site in approx
    one week. Eventhough this version is a beta version, it has
    undergone some rigourous testing and is very close to production.
    Regards
    John
    Roberto Werneck (guest) wrote:
    : I would like to know if it is possible to use the workbench
    : 1.2.2 to migrate from SQL Server 7 to Oracle 8. If possible
    what
    : kinds of problems would i probably have. If not, how can i get
    : the Beta version ?
    : Thanks,
    Oracle Technology Network
    http://technet.oracle.com
    null

  • SQL Server 200 to Oracle - problem loading objects

    Here's what I've done so far:
    1. Download and install SQLDeveloper (C:\Oracle\sqldeveloper 1.2.1.32.13)
    2. Create omwbuser (w/ role=dba) in Oracle test database (hc02) (9.2.0.7.0).
    3. From Explorer, double-click sqldeveloper.exe
    4. File > New > Database connection (clicked Test button, but whatever it was that popped up, disappeared before I could read it.)
    5. Assuming it worked, click Connect button. Try a better test "select name from v$database;". Works.
    6. Migration > Repository Management > Create Repository ("Repository Built Successfully")
    7. Migration > SQL Server Offline Capture > Create Database Capture Scripts.
    Choose C:\Oracle\sqldeveloper\sqldeveloper\temp
    Generate for Windows Batch File
    Microsoft SQL Server (2000)
    8. Email scripts to Sql Server dba to execute. Get files back.
    9. Copy 16 SS2K_SYS<objectname>S.dat files to C:\Oracle\sqldeveloper\sqldeveloper\temp
    10. Migration > SQL Server Offline Capture > Load Database Capture Script Output
    Open C:\Oracle\sqldeveloper\sqldeveloper\temp\sqlserver2000.ocp
    Window pops up labelled "Capturing Database", but I don't see any entries under "Object Type" or "No of Objects Captured".
    Lower down in the pop up window it says "Capture Done".
    What am I missing?

    Hi,
    Here is the detailed explanation.
    Iam using the latest version of SQL Developer 1.5 EA2 with the thrid party JDBC driver as jtds 1.2.jar file. I have created connections of SQL Server 2000 and oracle 9i.
    I have created the repository and associated it. I can able to view the structure of SQL Server Objects like tables, views, procedures etc.,
    All the pre-migration check got success.
    When i try to do "Quick Migrate Microsoft SQL Server", Iam getting the following exception in the trace window..
    WARNING: Unknown directive: SetSkipJ2SDKCheck
    DB Adapter warning: Replacing connection creator oracle.jdeveloper.db.adapter.My
    SQLConnectionCreator for subtype MYSQL with oracle.dbtools.thirdparty.mysql.MySQ
    LConnectionCreator
    DB Adapter warning: Replacing connection creator oracle.jdeveloper.db.adapter.Or
    acleConnectionCreator for subtype oraJDBC with oracle.dbtools.raptor.standalone.
    connection.RaptorConnectionCreator
    Exception occurred during event dispatching:
    java.lang.NullPointerException
    at javax.swing.plaf.basic.BasicTreeUI.paint(BasicTreeUI.java:1215)
    at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
    at javax.swing.JComponent.paintComponent(JComponent.java:742)
    at javax.swing.JComponent.paint(JComponent.java:1005)
    at oracle.ide.controls.JTreeTable$TreeTableCellRenderer.paint(JTreeTable
    .java:309)
    at javax.swing.CellRendererPane.paintComponent(CellRendererPane.java:134
    at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2071)
    at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1972
    at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1895)
    at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
    at javax.swing.JComponent.paintComponent(JComponent.java:742)
    at javax.swing.JComponent.paint(JComponent.java:1005)
    at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4963)
    at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4916)
    at javax.swing.JComponent._paintImmediately(JComponent.java:4859)
    at javax.swing.JComponent.paintImmediately(JComponent.java:4666)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(System
    EventQueueUtilities.java:114)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
    read.java:242)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:163)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:153)
    at java.awt.Dialog$1.run(Dialog.java:515)
    at java.awt.Dialog.show(Dialog.java:536)
    at java.awt.Component.show(Component.java:1300)
    at java.awt.Component.setVisible(Component.java:1253)
    at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
    at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
    at oracle.dbtools.migration.workbench.core.ui.MigrationProgressBar.start
    (MigrationProgressBar.java:338)
    at oracle.dbtools.migration.workbench.core.ui.MigrationProgressBar.start
    (MigrationProgressBar.java:233)
    at oracle.dbtools.migration.workbench.core.ui.AbstractMigrationProgressR
    unnable.start(AbstractMigrationProgressRunnable.java:127)
    at oracle.dbtools.migration.workbench.core.FullMigrateInitiator.launch(F
    ullMigrateInitiator.java:74)
    at oracle.dbtools.raptor.controls.sqldialog.ObjectActionController.handl
    eEvent(ObjectActionController.java:140)
    at oracle.ide.controller.IdeAction.performAction(IdeAction.java:513)
    at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:84
    3)
    at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:486)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:18
    49)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
    a:2169)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
    .java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258
    at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1
    000)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMen
    uItemUI.java:1041)
    at java.awt.Component.processMouseEvent(Component.java:5488)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
    at java.awt.Component.processEvent(Component.java:5253)
    at java.awt.Container.processEvent(Container.java:1966)
    at java.awt.Component.dispatchEventImpl(Component.java:3955)
    at java.awt.Container.dispatchEventImpl(Container.java:2024)
    at java.awt.Component.dispatchEvent(Component.java:3803)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
    at java.awt.Container.dispatchEventImpl(Container.java:2010)
    at java.awt.Window.dispatchEventImpl(Window.java:1774)
    at java.awt.Component.dispatchEvent(Component.java:3803)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
    read.java:242)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    SELECT DISTINCT(REF_ID_FK), REF_TYPE FROM MD_ADDITIONAL_PROPERTIES WHERE PROP_KE
    Y IN (?) AND CONNECTION_ID_FK = ?
    The Migration log message says like this :
    a USE database statement is not allowed in a procedure or trigger.
    Also, Iam not even able to migrate single table.
    The Migration log gives the same message as:
    a USE database statement is not allowed in a procedure or trigger.
    Kindly let me know if am not clear in my explanation.
    Kindly help me to proceed as soon as possible.
    Thanks & Regards,
    Inigo Skylab
    Message was edited by:
    Inigo Skylab

Maybe you are looking for