ODI: Mapping SQL Server datetime field to Date ORACLE


Hello

I tried map a datetime (SQL Server) field to a Date field in my intermediate Oracle DB table.

The format of the source (SQL Server) is 2014-08-12 15:04:48.927 and in mapping for the intermediate table, I use the function TO_TIMESTAMP (sql_field_name, 'YYYY-MM-DD HH24:MI:SS.ff')

When executing the interface, it fails with the error: ORA-01843: not one month valid

Is there an error in the conversion?

Any help will be appreciated.

Thank you.

Hello

Thanks for your help.

@Mahak VARCHAR2 conversion also did not work, kept getting is not not a month error invalid. In my view, that move data between SQL Server and Oracle there are some questions in the format and precision.

I have now resolved the issue. It worked by using the CONVERT (DATETIME, field_name) SQL Server function in the map and put it to run on the Source (a MS SQL Server DB) instead of the target (which is an Oracle DB).

Tags: Business Intelligence

Similar Questions

  • SQL server datetime problem - oracle do not capture "millisecond" of sql server

    Hello world

    Reading from the datetime sql server timestamp to oracle, oracle is not catpuring correctly the milliseconds of oracle, rather it's just using 0000000 to poulate rather than correct Ms.

    verified in the topology as Yahweh than for sql server datetime converted in to oracle's timestamp.

    Please suggest where he made mistake. its urgency. ?

    Thank you

    Good to know Dev!

    Good luck!

  • Installation of ODI with SQL Server 2005

    Hello
    I try to install ODI with MS Sql Server 2005.
    I created a database in Sql Server and created a user with rights to connect to the database db_owner.

    While trying to install master repository, I selected Sql Server with the following details
    Driver: com.microsoft.jdbc.sqlserver.SQLServerDriver
    URL: jdbc:microsoft:sqlserver: / / < myhostname >: 1433; SelectMethod = cursor

    The repository not created in error:
    * com.sunopsis.core.q: java.sql.SQLException: [Microsoft] [SQLServer 2000 for JDBC driver] [SQL Server] the new tabular data stream (TDS) procedure remote call (RPC) protocol stream is incorrect. Parameter 1 (""): data type 0 x 38 is unknown *.

    Now, if I change the URL to jdbc:microsoft:sqlserver: / / < myhostname >: 1433, the repository is created successfully. But when you log in Repository Manager to the topology using the same basic shape, again invites me the same error.

    Has anyone faced the same problem?

    Hello

    You are using SQL server 2005 but try to connect by using SQL server connection details 2000 you should use

    com.microsoft.sqlserver.jdbc.SQLServerDriver

    JDBC:SQLServer://servername:1433; databaseName = DBNAME; SelectMethod = cursor

    You must also make sure that you use the correct driver SQL server 2005, if you use a version of Java before 1.5 to ODI so you will need the JDBC SQL Server 2005 1.2 driver.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • data replication with ODI between SQL SERVER and ORACLE

    Hello world
    First of all, I want to migrate database SQL SERVER and ORACLE DB tables.
    And then make online (synchronous) replication from SQL SERVER to ORACLE using ODI.

    I have not used before ODI.
    How to use the ODI for this?

    1. create a master repository and connect to the "topology Manager.
    2. in the topology Manager, you must configure the following
    2.1 create a data server for the Oracle under Oracle database in the physical connection
    2.2. create a database for the SQL Server database server in SQL Server in the physical connection. To do this, the jdbc for sql server driver.
    2.3 implement the logical connection and frame
    2.4 create a workrepository in the topology manager repositories tab
    3. connect to the designer and follow these steps
    3.1 create a template for the SQL Server source and reverse (import) the datastores (tables) to the model.
    3.2 the value of the model for the target of the Oracle
    3.3 create a (mapping) interface, under the table in schema define the source and then add it to the target and bind
    3.3 on the flow tab, you must set the Modules (KMs) of knowledge to perform the load. You must have imported the KMs before creating the interface.
    3.4 in IKM put 'create table traget' to 'yes '.
    4 run the interface to load data from SQL to Oracle Server

    Thank you
    Fati

  • How to send the SQL for SQL Server statement and return data without using database connectivity Kit?

    Hi, I tried to figure out how to extract data from my SQL Server databases and reading messages and to do some tests with examples, I can get data connection type in my SQL server, but so far nothing helps.  Is it possible to get data from a SQL Server database without using the database connectivity Toolkit?  and if so, how?  are there whitepapers and/or examples of this?  So far, I can't find something that works.  Thank you.

    Jesse - what is your reason for not using the database connectivity Toolkit? It is by far the best way to recover the data.

  • Migration from SQL Server 2005 to huge data. Taking more than 18 hours...

    Hello

    We are migrate SQL 2005 DB for Oracle 10 g 64 bit 10.2.0.5 server. The source DB sql server has a few tables (< 10) and only a few stored procedure(<5). However a single table of the source is very large, he has 70 million records in it. I started the migration process; He ran up to 18 hours died while I cancelled it. I use SQL Developer 3.1.0.7 with migration online.

    Kindly let me know if I choose offline migration it will reduce the travel time from data. Is there another tool by oracle that can migrate data giant (million documents) quickly. Will there be some configurations in SQL Developer which can Catalysis process?

    Kindly help.

    Best regards!

    Irfan

    Hello Irfan,

    a data movement with 70 million documents online is really not recommended. According to the documentation of SQL Developer:

    "Data online movements are suitable for small data sets, while data offline movements are useful for moving large amounts of data." I wouldn't say 70 million documents is a small set of data.

    Moving data online is just a COPY via JDBC, while moving data offline is using BCP export and import using SQL * Loader. This explains why the movement of offline data is faster.

    Concerning
    Wolfgang

  • ClassCastException JDBC with SQL Server on AppModule r data source

    I run an application ADF 11g (11.1.1.3) on integrated Web Logic Server of JDeveloper. This application was migrated from an application of 10 g and OC4J to Weblogic has left.
    This application includes a project whose business components rely on a SQL Server data source.

    Unfortunately I sporadically get a ClassCastException around the data source

    If I read correctly the output of the server, is to try to reset the data source and calling the SQLBuilder bad implementation, which is originally the ClassCastException.

    Track stack and the server output are below.

    Any ideas?

    < DCJboDataControl > < initializeApplicationModule > [23714] (immediate = oracle.adf.model.bc4j.DataControlFactoryImpl.SyncMode
    < ApplicationPoolImpl > < recycleUnreferencedInstance > [23715] recycling an instance of referenced, available pool
    < DBTransactionImpl > < closeTransaction > [23716] * jdbc connection is closed now * (weblogic.jdbc.wrapper.PoolConnection_weblogic_jdbc_sqlserverbase_ddah@2ed)
    mPCollUsePMgr < DBTransactionImpl > < processConnProperties > [23717] is false
    ViewObjectImpl.mDefaultMaxRowsPerNode < DBTransactionImpl > < processConnProperties > [23718] is 70
    ViewObjectImpl.mDefaultMaxActiveNodes < DBTransactionImpl > < processConnProperties > [23719] is 30
    Reset < ApplicationModuleImpl > < resetState > [23720] AM = ImpAppModule
    Reset < ApplicationModuleImpl > < resetState > [23721] AM = ImpAppModule
    < DBTransactionImpl > < establishNewConnection > [23722] Trying connection: DataSource='weblogic.jdbc.common.internal.RmiDataSource@a7cba9'...
    Instance of module of the dead application < ApplicationPoolImpl > < removeDeadInstance > [23723] has been detected
    < ApplicationPoolImpl > < removeDeadInstance > [23724] instance of the application module has been removed from the pool
    ApplicationPoolImpl.resourceStateChanged < ApplicationPoolImpl > < resourceStateChanged > [23725] was not disclosed partner. Any invoked notification.
    Cache Clearing VO < ViewObjectImpl > < doClearCache > [23726] for ImpLineDetailsView
    < ViewObjectImpl > < clearQueryCollectionCache > [23727] claire QueryCollection in cache for VO ImpLineDetailsView
    Reset < ApplicationModuleImpl > < resetState > [23728] AM = ImpAppModule
    ViewObject < ViewObjectImpl > < closeStatementsResetRowSet > [23729]: [impmodel.vo.ImpLineDetailsView] ImpAppModule.ImpLineDetailsView nearly prepared...
    < ApplicationPoolImpl > < prepareApplicationModule > [23730] an exception has occurred when ordering.
    < ApplicationPoolImpl > < prepareApplicationModule > [23731] java.lang.ClassCastException: weblogic.jdbc.wrapper.PoolConnection_weblogic_jdbc_sqlserverbase_ddah cannot be cast to oracle.jdbc.OracleConnection
    at oracle.jbo.server.OracleSQLBuilderImpl.setSessionTimeZone(OracleSQLBuilderImpl.java:5486)
    at oracle.jbo.server.DBTransactionImpl.refreshConnectionMetadata(DBTransactionImpl.java:5020)
    at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1132)
    at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6372)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:286)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:562)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:410)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8651)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4405)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2391)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2203)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3101)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:512)
    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:855)
    at oracle.adf.model.binding.DCDataControl.setErrorHandler(DCDataControl.java:476)
    at oracle.jbo.uicli.binding.JUApplication.setErrorHandler(JUApplication.java:261)
    at oracle.adf.model.BindingContext.put(BindingContext.java:1230)
    at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:173)
    at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:964)
    at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1210)
    at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1113)
    at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1073)
    at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1085)
    at oracle.adf.model.BindingContext.get(BindingContext.java:1042)
    at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:305)
    at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1486)
    at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1564)
    at oracle.jbo.uicli.binding.JUCtrlActionBinding.getDataControl(JUCtrlActionBinding.java:556)
    at oracle.adf.model.binding.DCInvokeAction.refresh(DCInvokeAction.java:28)
    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3212)
    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2845)
    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:548)
    at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:81)
    to oracle.adf.controller.v2.lifecycle.Lifecycle$ 9.execute(Lifecycle.java:224)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:192)
    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$ 1000 (ADFPhaseListener.java:21)
    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$ 5.before(ADFPhaseListener.java:395)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:60)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
    at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:214)
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:96)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:94)
    at java.security.AccessController.doPrivileged (Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.doIt (WebAppServletContext.java:3684)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3650)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    You may need to try to set the system property Houston. SQLBuilder = SQLServer. More details/code example can be found here - http://www.oracle.com/technetwork/developer-tools/jdev/multidatabaseapp-085183.html

  • How to convert MS SQL Server 2008 Stored Procedures of Oracle 11 g SPs?

    We have an application from MS SQL Server 2008. We want to migrate to Oracle 11 g.

    What is the recommended Oracle method for
    (1) migration of data (Tables, triggers, sequences, views etc..)
    (2) the stored Procedure migration.

    What is the recommended tool or method pls?

    We have 100s of MS Sql Server stored procedures. Then, needing a tool or method. We can rewrite all of them from scratch.

    Hello

    Let me clarify some of the issues that you mention. But I advise you to get some professional help with migration because:

    1. you must understand the architectural differences between SQL Server and Oracle. They are of different databases.
    2. understand data type mappings.
    3. understand the complete migration process. Just using the OTN article as a migration guide won't help because it just shows how use SQL Developer to this task.
    4. understand that 100% of successful Oracle conversion is not possible with all the tools. There will always be gaps, gaps in functionality, bugs etc. So there will be some amount of manual work involved.
    5. There are many other tasks involved in the migration that cannot be accomplished with SQL Developer.

    Get now your questions:

    1. in 3.1, there is migration option for the "capture of database in offline mode". It is under the Tools option. So in 3.1 we do not have a separate tab, called "Migration."
    2. use 3.1 because it is much better than 2.1 in terms of capabilities.
    3 migration Wizard is the easiest way to migrate. Where are you getting confused?
    4 "column data" seems to be a stored procedure in SQL Server. If it is not there in the underlying table, why he uses in the SQL statement in the procedure then? I think that we have a problem of "reserved word" with the name of column "Data". Will have to check that.
    5 VARCHAR (@max) must be mapped to VARCHAR2 (4000) in Oracle. It may be a bug in SQL Developer. So during the mapping of data type in the migration wizard, you can change the default mappings.

    Concerning

    Prakash

  • Database SQL Server (read-only mode) in Oracle SQL Developer

    Hello

    I have connected the database server SQL with Oracle SQL Developer 3.2.10.09, everything looks good except that I can only browse the data, I can not change the data in the tables may not add new or delete lines. Query is also disabled (I got the message: Query Builder is not supported for this connection type.) I used a third of JDBC drivers - jtds - 1.2.6.jar as my connection to SQL server. Is there a way to change the data in the tables?

    Thank you.

    As much as I KNOW edition data in table in the grid are possible with an Oracle database. On MS SQL, you can use update instructions on the worksheet.

    Hope that helps,
    dhalek

  • Migration to SQL SERVER 2008 for questions of Oracle 10 g.

    Hello

    I'm trying to migrate from SQL Server 2008 to Oracle 10 g and I end up with a few problems that I wanted to ask you some info about it.
    First of all, I followed a tutorial
    http://St-curriculum.Oracle.com/OBE/DB/hol08/sqldev_migration/MSSQLServer/migrate_microsoft_sqlserver_otn.htm
    and and in the latest version of Oracle SQL developer, I downloaded, I found not the Output of the Script of Capture of database load option.
    My first question is how can I add either this option or y at - it a new way to load the script to capture?
    Can I use the migration wizard and after all, I had the full message of migrating the application.
    When I tried to open my connectionss, he told me version 11.2 is necessary. Does this mean that developer Oracle SQL 3 only
    perform the migration of oracle 11g? And if I tried the previous versions, it does not support SQL server 2008.
    What should I do in this case?

    Thank you!

    The output of the Script Capture charge of database can be found in the tools of-> Migration section.

    You have already discovered the "create data base Capture Scripts" in tools-> Migration menu and you have run the script that generated the DAT files.
    Now click on tools-> option-> Migration migrate, choose your repository, add a project, and then on the next page you must choose between ONLINE and offline mode. When you use the DAT files, please choose the offline mode and add the * ocp file with the subdirectories that contains the DAT files.

    SQL Developer is able to connect to Oracle 10.2 db as well. Can you please be more specific about the second question and provide more details the steps that you did?

  • Toad Sql - convert several fields of data online - character-by-character

    I recently started working in Oracle TOAD and was given the task of creating a SQL statement that will take eight fields of 250-column of a table and convert them to 2000 lines with line numbers.

    I have no idea how to read character by character (most of the characters being blank).

    How to use a variable which increases the value of a?

    I tied Select substr(myFieldA,varA,1) from myTable

    but he dislikes the variable, also how to make the statement in a loop.

    My result will be similar to:

    0001 THERE

    N 0002

    0003

    0004 ARE...

    0251 N

    0252

    0253. THERE

    Any help will be greatly appreciated

    Hmmm - why you think you should post a TOAD and SQL question if the instance of SQL Developer?

    Mark ANSWER it and repost it in SQL and PL/SQL forum.

  • Mapping of Data Type from SQL Server to Oracle

    I use Oracle 12 c with heterogeneous services connects to SQL server DB. Some of the columns in the SB of SQL Server are defined as 'nvarchar (max). These come to Oracle as columns of type "long". I would like that these are 'varchar2' types in Oracle, so I do not have any restrictions related to the fields of type "long" when using. I can create a view in SQL Server to convert the data type IE. nvarchar (100). What is the highest value that I can use to make the data to display in Oracle as a varchar? BTW, I tried nvarchar (4000), but which showed any longer. I tried nvarchar (1000) and who showed as a varchar.

    The maximum value for an nvarchar2 in Oracle is 2000. Mapping - If the remote column is mapped to an Oracle varchar/nvarchar - depends on the type of data returned by the ODBC driver. When the driver returns SQL_Varchar, then the maximum precision is 4000 and when it will map it to SQL_WVarchar then it's 2000.

    As your Oracle database uses AL32UTF8 as set of characters that the maps to the Oracle long as your SQL Server nvarchar content is stored using characters UCS2 nvarchar (max), you will get the value that is covered by the database Oracle UTF8 character set. So it shouldn't really matter if the returned string is mapped to an Oracle, varchar or nvarchar.

  • How to access a certain date in the date and time field SQL Server

    I have a field named job_date in a table in my database of the 8 SQL Server.

    The data type is datetime.

    Thus, the values for the fields as the 2013-03-11 15:55:52.000 look.

    How to query this field to include only the values of a certain date?

    For example

    < cfquery name = "get_job_name" datasource = 'abc' >

    SELECT FROM job_info job_date WHERE Job_name = March 12, 2013"

    < / cfquery >

    When I query the field now I get NO RECORDS.

    This is because as the fields like this 15:55:52.000 2013-03-11. instead of this March 12, 2013"

    How to access a certain date in the date and time field SQL Server when its formatting as this 15:55:52.000 2013-03-11. ?

    where job_date > = TheDateYouWant

    and job_date<>

    In addition, the format is irrelevent.  The only issue of date formats time is when you want to display.

  • How only migrate data between SQL Server 2008 Oracle 11?

    According to our requirement, we only have to migrate data from a SQL Server database to an existence
    Oracle database user.
    (1) I tried to do with the wizard of Migration SQL Developer 3.0.04, but find a problem.
    My SQL Server database name is SCDS41P2 and my Oracle database user name is CDS41P2;
    When I used SQL Developer move offline data by the Migration Wizard, I found all the oracle user
    name in movedata files who obtained by running the Migration Wizard
    is dbo_SCDS41P2. If the Oracle user name is not the same as my Oracle username existed.
    the data cannot be moved to my user Oracle existed when I run oracle_ctl.bat in the command line window.
    So I had to change the Oracle username in all the movedata files, but it is difficult to change because there are a lot of tables in
    databases. So could you please tell me how to get the movedata files which is the name of user oracle in them my
    WHEREAS Oracle user name?

    (2) I also tried to use the "copy to Oracle" to copy the data to SQL Server database tables
    the user database was Oracle. When you click on 'copy to Oracle', I selected the option 'Include data' and 'replace '.
    But I found some tables cannot be copied, the error info is as below:
    SPSSCMOR_CONTROLTABLE table failed. Message: ORA-00955: name is already used by an existing object

    Could you please tell me how to deal with this kind of mistake?

    Thank you!

    Published by: 870587 on July 6, 2011 02:57

    Hello
    After following with development the following should work too-

    1 use the migration option to capture and convert the SQL * database server
    2. go in SQL * Developer and remove the converted model.
    3. click on the captured model and choose 'convert '.
    4. click Next and you should get a screen with 2 options - "Data Type Mapping" and "Object Naming.
    5. choose "Object Naming" and scroll down the list until you see the name of the user who will be transformed. For example, in my test, I got the names scott_test and dbo_test - where the owners are 'scott' and 'dba' and 'test' was the name of the database.
    6. change the name of oner_database to just owner - scott_test to scott
    7 complete the conversion process and the owners must be created without the name of the database.
    8. you should now be able to generate the SQL * scripts of charger with only the name of the owner in the CTL files.

    Please try this and let us know if it works for you.

    Kind regards
    Mike

  • convert the data in the Format of Date imported from MS SQL Server.

    I imported data from MS SQL Server. The column 'Date' received in digital format as 41017.6361109954. How can I convert Date in Oracle SQL.

    If I import the same data in Excel and you change the Type of column to this day. He passes. But in Oracle, I tried the To_Date function with different parameters, but it did not work.

    Published by: XAVER 22 April 2012 02:31
    select timestamp '1970-01-01 00:00:00' + numtodsinterval(41017.6361109954,'day') from dual;
    
    TIMESTAMP'1970-01-0100:00:00'+NUMTODSINTERVAL(41017.6361109954,'DAY')
    ---------------------------------------------------------------------------
    20-APR-82 03.15.59.990002560 PM
    
    SQL> 
    

    SY.

Maybe you are looking for