Error of date when migrating to SQL Server to Oracle

Hi all

I'm the database migration SQL Server to Oracle.

But the tool I use is not secret the date type GBA, so I'm stuck with tables that have particular date types.

For example: the 'DATECAPTURED' column in the 'SIGNATURE' table in the SQL Server database has values:

15-02-2013 10:03:48.387
15-02-2013 10:01:05.930
15-02-2013 09:59:07.197
15-02-2013 09:50:15.797
15-02-2013 09:39:15.557
15-02-2013 09:37:12.643

Why oracle can be able to accept this type of date format? :( I thought he is more intelligent than SQLserver :)

My solution is to change any date to varchar2 (30).

More bright ideas? while I cannot change data types?

Thank you
zxy

yxes2013 wrote:
Thank you Justin :)

It's just that I have a lot to learn in a fastrack way, I am a very busy person :(

Well, just a piece of advice. If you read the watch (and wait) documentation for the responses on the web and on various forums and try to do all the work, you are probably going to stay busy!

in any case, I'll try another tool like sqldeveloper migration. For now, I have many things to research so I'd settle for the same time, workaround. New test is required for the tool.

Good luck!

I was taking just opportunities here if someone met the same problem as mine ;)

It was not a problem of IMO, but was ignorance. People here know any Timestamp data type for SOME time I think and how, because they read the docs!

Aman...

Tags: Database

Similar Questions

  • Migration from SQL Server to Oracle during 11.1.2.4 upgrade

    Hi all

    To further expand on the title, wanted to check if it is possible to migrate from SQL Server to Oracle, while improving 11.1.2.1 to 11.1.2.4 on brand-new material. There is a change in all the components (s/w, h/w, RDBMS) so I wanted to run this generic statement by the forum to see what the experts think.

    Where in the equation can count us on LCM?

    I know that John Goodwin had already answered a few questions on the same subject for previous versions, but as 11.1.2.4 is a different game... I would be grateful if someone could share their thoughts.

    Thank you!

    If you are installed on hardware costs and migration then it should be independent of the RDBMS. Not to say there is no problems with passing of 11.1.2.1 to 11.1.2.4 (if you use planning, for example, business rules-> Calc Manager) but they certainly should not be linked to the fact you've changed the underlying database.

  • Migration from SQL Server to Oracle database

    I have 2 questions:

    1. we intend to convert our sql server databases oracle OLTP databases. I tried to use SQL Developer to migrate a database of small sql server to oracle (size 5 GB) database. It was fine. When I tried to migrate to a different database (size 90G), it takes too much time. The problem with sql developer is I can not pick and choose tables. 250 paintings, I need to migrate tables abt 80 (the size will be abt 50 G). What is everyone can share their experiences, as appropriate, converting databases of size average sql server for oracle databases? other options?

    2. I intend to convert the sql server ddl to oracle ddl. I have tested bcp out and use sql loader to import the data. Right now I am manually creating the oracle tables sql server tables. I use http://download.oracle.com/docs/cd/E11882_01/gateways.112/e12069/apa.htm#BABCIIDI to convert the code. Are there other ways better to convert sql DDL DDL Oracle Server?

    Thanks in advance

    DDLS must be converted manually. Oracle is not SQL-Server.

    If for example, you have the option of partitioning, you should consider using the partitioning index and when it is possible. Not all tables must be hash tables. Do postpone you creation of segment or not? What type of tablespace? Set yourself free percentages and allows you to manage when the data block is on the free list and how much is reserved in the block of data to update rows in this block?

    There are many considerations to be taken with regard to the physical database design.

    Using BCP and SQL * Loader sound good. SQL * Loader is fast and scalable - use it to load up to 3.6 million lines every 60 seconds. Direct and parallel charges will give the best performance in this regard (assuming that the underlying table structure and use supports this approach).

  • Why do I get an error code 2 when you install sql server 2005 express edition service pack 4

    Microsoft SQL Server 2005 Express Edition Service Pack 4. I tried more than 20 times to install this update, such as requested by windows update. This includes all useful tips/tips in the Help Center. I rebooted / turned off my AVG security / defender of windows while trying to update so I'm now getting a little upset to say the least that nothing works. I get an error code 2, and the product is KB2463332. I'm 66 and not very computer, but I guess that this product has already been downloaded, bu-u-ut he used, I repeat, install it, please - what should I do with this - do I need this product at all - or is their another product that I can use?

    -THX, EJ

    Hi EJ,.
     
    -Are the other updates, complete the installation successfully?
     
    Try to download and install the update manually and check if you can install it successfully.
     
     
    Try the steps listed in the following article and verify.
     
  • Migration from SQL Server to Oracle

    Dear friends,

    I used several different tools as SQL Developer but couldn't really even migrate due to various errors.

    In addition to these tools, there is another way to migrate. I use Oracle 10 g and SQL Server 2005.

    Please advice.

    Thanks in advance.

    With respect,

    Nith

    I tried to follow the procedure in MS SQL Server 2005 to Oracle 11 g Migration using this guide:
    http://www.Oracle.com/technology/OBE/hol08/sqldev_migration/MSSQLServer/migrate_microsoft_sqlserver_otn.htm

    I found that a lot of tables was empty in the target database. Anyone can guide me please the ideal way to migrate data intact of the MSS to Oracle? How about full Convert 5.5 Enterprise and SwisSQL 6.0?

    Concerning
    Jimmy

  • How to migrate from SQL server to oracle 11g

    Hello
    I have a lot of tables in sql server, and I want to connect them in oracle

    Welcome to the forum,

    Hello
    To create a link Oracle with SQL Server follow these steps:
    1. install Oracle ODBC drivers on the server (your Oracle database local) who will have access to the remote SQL Server database by using the database link.

    2. configuration of the ODBC connection on the local Oracle using the Windows ODBC Data Source Administrator database

    3 test pilots to verify ODBC connectivity is made to the SQL Server database.

    4. make sure that your global_names parameter is set to False.

    5. configure Oracle heterogeneous services by creating an initodbc.ora file in the Oracle database.

    7 change the Listener.ora file.

    SID_NAME is the DSN for the remote database.
    ORACLE_HOME is the real path to the file at Oracle.
    PROGRAM says Oracle heterogeneous services.

    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = Cas30C) - enter the DSN on this line
    (ORACLE_HOME = c:\oracle10gdb)--Inscrivez your Oracle home
    (Program = hsodbc)) )

    8. change the Tnsnames.ora file. It's accessed by users Oracle database installation connect for ODBC drivers

    (DESCRIPTION =
    (ADDRESS_LIST =
    (Address = (PROTOCOL = TCP)
    (HOST =
    -(X server)
    (PORT = 1521))) -Enter the port on which the server x installing Oracle
    -is listening
    (CONNECT_DATA = (SID = Cas30c)) - enter the name of the DSN
    (HS = OK)-enter this value. He indicates to Oracle to use transfer services
    )

    9 recharge the listener on a local Oracle database

    10. create a link of database on the local Oracle installation that accesses the heterogeneous connection, which, in turn, connect to SQL Server.

    11 execute SQL Select Server from the Oracle installation using the database link

    Thank you
    BelMan :)

  • 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

  • Planning for SQL server and Oracle db

    Hi friends

    We intend to improve our environment Hyperion of 9.3.3 to 11.1.2.2. and we will go from SQL server as our RDBMS Oracle.

    If we change DBMS, do we have to rebuild the total application or is there an easy way to migrate from sql server to Oracle

    Please suggest

    Thank you

    Upgrade the application to 11.1.2.2 while remaining on the SQL Server, then use LCM to export the application, remove the application, update the data source to point to Oracle, use LCM to import.

    See you soon

    John

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

  • Error occurs when you use SQL Server 2012 assessment vs window detail of the object in window 7 - KERNELBASE.dll exception 0xe0434352

    Hello

    Error occurs when you use SQL Server 2012 assessment vs window detail of the object in window 7.  I use the window of the object but the detail of the objects window arrives and immediately SQL Server stops with the error below and then opens again.  I didn't find any help with this specific error is but suspect there is a problem between SLQ Server 2012 et.NET Framework 4.  Unfortunately, I do not know what it takes in this regard.

    Thanks, Deb

    Event ID: 1000
    Task category: (100)
    Level: error
    Keywords: Classic
    User: n/a
    Computer: Deb - HP
    Description:
    Name of the failing application: Ssms.exe, version: 2011.110.3000.0, time stamp: 0x5081c1cd
    Name of the failed module: KERNELBASE.dll, version: 6.1.7601.18015, time stamp: 0x50b83c8a
    Exception code: 0xe0434352
    Offset: 0x0000c41f
    ID of the process failed: 0x13a8
    Start time of application vulnerabilities: 0x01ce609a6d3db991
    The failing application path: C:\tempSQLWOW\110\Tools\Binn\ManagementStudio\Ssms.exe
    Path of the failing module: C:\Windows\syswow64\KERNELBASE.dll
    Report ID: 1fb1cbfb-cc8e-11e2-b436-abd2bebb3f17

    Hi Claude,.

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the link below.

    http://social.technet.Microsoft.com/forums/en-us/category/SQLServer

    Good day!

    Answer please if you face concerns.

  • 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?

  • 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.

  • Problem with the migration of key primary and foreign from SQL Server to Oracle

    Hi people, I use SQL Developer to migrate Oracle to a SQL database, and I'm stuck with a few questions:

    So far, the worst of them is the fact that I can not migrate the PKs and FKs. After having successfully captured the model DB in SQL Server and Oracle conversion, when the tool generates scripts, all ALTER TABLE queries that add pharmacokinetics and the FKs have their columns duplicate targets.

    for example: when I'm trying to migrate a simple table that contains an Id (PK) and the columns name, the tool generates the following scripts:


    PROMPT create Table TestTable...
    CREATE TABLE TestTable)
    ID NUMBER (10,0) NOT NULL,
    Name VARCHAR2 NOT NULL
    );

    The PROMPT create constraint primary key on the table TestTable PK_TestTable...
    ALTER TABLE TestTable
    ADD CONSTRAINT PK_TestTable PRIMARY KEY
    (
    ID,
    ID
    )
    ENABLE


    Regarding the FKs, the tool duplicates the columns thus:

    ALTER TABLE SomeTable
    ADD CONSTRAINT FK_SomeTable_SomeTable2 FOREIGN KEY
    (
    SomeTable2Id,
    SomeTable2Id
    )
    REFERENCES SomeTable2
    (
    ID,
    ID
    )
    ENABLE
    ;

    Does anyone have an idea on how to solve these problems? I would be very grateful for answers!

    Hi Fernando,

    I was unable to reproduce this problem. My primary / foreign keys when defined using unique columns.

    The PROMPT create constraint primary key on the suppliers table PK_Suppliers...
    ALTER TABLE suppliers
    ADD CONSTRAINT PK_Suppliers PRIMARY KEY
    (
    Vendor No.
    )
    ENABLE
    ;

    I tried a few things like
    capturing twice and rename the two models of the same
    Rename the converted templates
    but without success.
    I think that this problem occurs is in the capture phase or convert.

    (1) you perform the capture online or offline?
    (2) can provide you a DDL together for one of these tables and the indexes to see if I can reproduce?
    (3) made of capture or convert fail or be again at any stage?

    I all else fails I would attempt a capture and convert again using a new repository (create a new schema in Oracle and associate him the migration repository).

    Kind regards
    Dermot
    SQL development team

    Published by: Dermot ONeill on October 22, 2009 12:18

  • Expiration date and time in SQL server 2008 Enterprise Edition

    Please tell me the exact expiration Date and time in SQL Server 2008 Enterprise, and 2008R2 edition?

    Please tell me the exact expiration Date and time in SQL Server 2008 Enterprise, and 2008R2 edition?

    Hello

    Please post this question in the SQL Server forum.

    Category of the SQL Server:

    http://social.technet.Microsoft.com/forums/en-us/category/SQLServer

    Concerning

  • 65 b error code trying to upgrade Microsoft SQL Server 2005 Express Edition Service Pack 4 (KB2463332)

    65 b error code trying to upgrade Microsoft SQL Server 2005 Express Edition Service Pack 4 (KB2463332)

    Hi Auckland_White,

    ·         Did you the latest changes on the computer?

    ·         You are able to install some other updates on the computer?

    ·         You have security software installed on the computer?

    I suggest you try the steps below and check if it helps

    Method 1: If the problem persists, download and save the installation package' Microsoft SQL Server 2005 Service Pack 4 "on your desktop and try to install the same audit and clean boot.

    See the following article in the Microsoft KB for more information on how to solve a problem by performing a clean boot in Windows Vista or Windows 7:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note: Make sure that return you the computer to a normal startup mode once it's done.

    Microsoft SQL Server 2005 Service Pack 4: http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=b953e84f-9307-405e-bceb-47bd345baece

    Method 2: I suggest that reset you the default Windows Update components and check if you can install the update.

    How to reset the Windows Update components?

    http://support.Microsoft.com/kb/971058

    Hope this information is useful.

  • Windows Update failed - error 0 x 80070643 for Microsoft SQL Server 2005 Express Edition Service Pack 4 (KB2463332)

    Original title: Windows Update Failed - need help

    Vista 32 Ultimate with all updates, until this one: update Windows failed: error 0 x 80070643 for Microsoft SQL Server 2005 Express Edition Service Pack 4 (KB2463332). Update has failed repeatedly.  I tried to restart, remove the update (even by deleting the file so it would download it again) and install again.  Nothing has worked.  Error 80070643.  Since it is not Office 2003, the error seems to mean a problem with the Windows .NET framework.  Don't know what that means.

    Looking at KB976982, I tried to fix MSI software update registration corruption issues (whatever that means) by running the automated Fix It by KB971187. Restarted, I tried Windows Update again.  Still didn't update.

    Then, I waited two days and tried again.  Even that did not help.

    I tried bypassing Windows Update simply by downloading and then run the file SQLEXPR32.exe from Microsoft downloads. Did not work at all. I then tried to run it as an administrator (even if it was already an administrator account, with no other account on this computer at all).  He started to run and then gave me the following error message: unable to run the SQL Server System Configuration Checker due configulation WMI on the computer.  Error: 70347 (0x112cb).

    Now I'm really confused.  On the one hand, 80070643 means I probably repair the .NET framework, which certainly, I hate to do because I need several versions of the .NET framework first uninstall and then try to install the compmonents, and I'm afraid something would go wrong.

    On the other hand, the 70347 (0x112cb) error message seems to indicate the problem is completely different and has to do with WMI, which probably has to do with permissions and I have no idea how to solve this problem.  (And why it all of a sudden would be any problem with permissions?)  This computer is not on a corporate network and has only one user account, the administrative account).  I have looked at Services and Applications in computer management, where there are WMI control, but nothing shown that I can possibly change and not the SQL Server Configuration Manager under it, which doesn't seem to have much either.

    Help!  Please...

    And now I also tried to fix it, just in case where, the .NET framework (Panel > programs and features > Microsift.NET framework Client profile 4 > uninstall/change > fix it), and the Windows Update tried again (including reboot).  Still no.  Everything I try, it is not to do nothing, pardon my language.  People smarter than me, pleasehelp!

    Hi stupID_,

    «Error 0 x 80070643 for Microsoft SQL Server 2005 Express Edition Service Pack 4 (KB2463332).» Update has failed repeatedly. »

    As the error relates to SQL, perhaps this forum:

    SQL Installation of Server & upgrade
    http://social.msdn.Microsoft.com/forums/en-us/sqlsetupandupgrade/threads/

    TaurArian [MVP] 07/01/2005-30/06/2011. The information has been provided * being * with no guarantee or warranty. What works for some, may not always work for others.

Maybe you are looking for