Migration Index from Oracle.

Hi,
I want to convert the below mentioned index from oracle  to SQL Server.
create index IDX_XXX on ASSETTABLE (TRUNC(TIME_STAMP), ASSET_ID)
I try to use CAST function instead of
Trunc, but it shows Error. Please Provide a solution for me.
Balakrishnan APD

Perhaps you should hire a consultant.  Your questions assumes that the people who frequent this forum know Oracle functionality and PL-SQL - which isn't very likely.  You might be more likely to receive useful responses if you can at least identify
what TRUNC does and what datatypes are involved.  I will also suggest that you reconsider some basic assumptions that you may have made - specifically that you can translate on a 1-for-1 basis every feature / code snippet in Oracle to a similar feature
in SQL Server.  It may be that you need to modify your schema to achieve a similar implementation (or perhaps maybe you don't need a particular feature/implementation at all).  I also suggest that you avoid using reserved words (or ones very
similar to reserved words) as identifiers - specifically "TIME_STAMP").  If you haven't yet, you should read the documentation regarding the timestamp datatype just to make sure that you understand what that datatype is - there might be a surprise waiting
for you.

Similar Messages

  • Migrating menues from oracle 11i to R12

    Hi all,
    I have to migrate Menus from Oracle 11i to R12, this can be done using FND_LOAD, but we have to migrate it using API's. Please suggest me the API name and approach. Currently I am investigating on fnd_menus_pkg.load_row and fnd_menu_entries_pkg.load_row . Please let mw know if these are the correct API's to migrate Menus. Any help is appreciated.

    If the version of $FND_TOP/patch/115/import/afsload.lct and the table structure is identical on both instances, you may use FNDLOAD for your custom menus. However, I would not recommend using FNDLOAD or any API between different application releases.
    How To Download a Parent Menu and Submenus [ID 369421.1]
    Replicating Custom Menu [ID 839879.1]
    Thanks,
    Hussein

  • Migrating data from Oracle 9i to SQL Server 2005

    I am new to both. I need to first migrate data from oracle to sql server. After this I need to create a daily nightly batch process to insert new records from oracle to sql server into that table.
    As my knowledge in SQL server is zero. Can somebody help me how I can accomplish this.
    Somebody told me that I can use sql server import/export to do initial data dump into sql server and after that I can create a link in in oracle to do new iserts for new records. does any one have some example on this. I will really apprecite this if someone can give me step by step example. Thanks

    I have been to SQL Server training, but my SQL server databases are off the shelf system, so I don't have to muck with them. Anyway, Sql Server is just MS Access on steroids, so some of the same concepts apply. You need to create an external table links to oracle. The following tidbits I found by googling might help you.
    http://www.sqlmag.com/Article/ArticleID/22264/sql_server_22264.html
    http://www.lazydba.com/sql/1__152.html
    http://www.sswug.org/see/35034
    http://decipherinfosys.wordpress.com/2007/07/16/linked-servers-in-sql-server/
    Some of the above require subscriptions (free and or paid). Hope this helps.

  • SSMA for migrating table from oracle to Sql server

    Hi All,
    I wanted to replicate oracle huge table to sql server and i am using SSMA.its helpful and fast but can we replicate the table to different name using SSMA.for example i have a table TEST and i wanted to replicate it to SQL_TEST.Can it be possible
    using SSMA.
    Kindly help me out 

    Hi All,
    I wanted to replicate oracle huge table to sql server and i am using SSMA.its helpful and fast but can we replicate the table to different name using SSMA.for example i have a table TEST and i wanted to replicate it to SQL_TEST.Can it be possible
    using SSMA.
    Kindly help me out 
    Hello,
    Same question has  already been asked by you in below thead. Why you created duplicate thread ?  please avoid this practice or your thread will be marked ass Spam
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/abcdfb1b-c617-453f-828d-c8e4ec266c78/ssma-for-migrating-table-from-oracle-to-sql-server?forum=sqlintegrationservices
    Moderators plz merge this thread.
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Migrating data from oracle to sql server

    I have two databases(Oracle and Sql Server) in my company.
    I want to migrate some data on daily basis from Oracle to Sql Server.
    what are the best methodologies used to perform this task?
    Can we schedule this task on daily basis?
    please help me guys

    Salma,
    First and foremost, you need to understand that there are architectural difference between Oracle and SQL Server (with the major one being the difference between Oracle's PL/SQL and Microsoft's Transact-SQL) thus, it will not be an easy task to migrate data from Oracle Database to SQL Server. As far as the use of tools is concerned, you can utilize the following tools (third party tools not recommended) to achieve this:
    Microsoft SQL Server Migration Assistant (Oracle to SQL)
    http://www.microsoft.com/sqlserver/2005/en/us/migration-oracle.aspx
    Oracle SQL Developer Migration Workbench (SQL to Oracle)
    http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html
    But before proceeding with anything, I would recommend you to read through the following post as it lists down the primary compatibility resources and migration guidelines:
    Migrating from Oracle to SQL Server
    http://vyaskn.tripod.com/oracle_sql_server_differences_equivalents.htm
    Hope this helps.
    Regards,
    Naveed.

  • Migrating Database from Oracle 8.0.5 for NT to Oracle 8.1.7 for Unix.

    Hello!
    Please help me in Migrating Database(Including Data,Stored
    Procdures, Views, Indexes,Forms, Triggers etc.) from Oracle 8.0.5 for NT to Oracle 8.1.7 for Unix.

    Check the installation option that you chose.
    Not all of the options will install a database.
    P.S.
    I have a similar problem on NT.
    Where I am able to access the database after the 8i Enterprise
    Install. I can not access the database from a Developer or
    Designer Installation. I am trying to run these tools locally.
    How do I configure NET8 to access the local 8i Database?
    Any ideas??
    Regards, Jim
    Emeka (guest) wrote:
    : I just installed the Oracle 8 Enterprise Edition for windows NT
    : and i can't find the Oracle database to support the tables.
    Also
    : the username and password of scott and tiger didn't work for
    the
    : SQL Plus.ERROR' ORA-12203: TNS: unable to connect to
    destination'
    : was the message when i try getting into SQL. Could someone
    please
    : tell me how to install the database and how to get the user
    name
    : and password for the SQL Plus.
    null

  • How to migrate data from oracle 9i database to new machine 11gr2 RAC ASM

    Hi Expert
    I need your expertise to advise me what is the best method to move data from oracle 9i database to new machine running oracle 11r2 RAC database with ASM.
    Currently my production server running on HPUX ORACLE 9I database with normal file system. My new server is running SUN SOLARIS SPACR 64 bit ORACLE 11gr2 RAC with ASM. What is best method to move data over so it will be consistent. Any guide can refer.
    Regard
    William

    Hi William,
    See the note in metalink Migration of Oracle Database Instances Across OS Platforms [ID 733205.1] to saw the Endian Format of your OS. If is the same you can use the RMAN to convert the database to another OS, if not the only option is using export/import (Transportable Tablespaces).
    To upgrade from 9i to 11g, see the note 837570.1 - Complete Checklist for Manual Upgrades to 11gR2.
    To migrate your FS to ASM the only way is using RMAN, so see the note - How to move a datafile from a file system to ASM [ID 390274.1].
    Hope this help you.
    Best Regards,
    Ruben Morais

  • Runnig forms in oracle 10g after  migrating them from oracle 6i

    Guyz ....i have developed forms in oracle 6i and when i presented them to the my manager he says that he wants them to be web based.....arghhhh.!!!!!! shud have told me at the beginning itself....anyways i downloaded the forms 10g from oracle website and migrates my forms from 6i to 10g ....
    1.The forms are getting compiled and i can run them on my laptop.. i wanna noe whats the procedure to run them on other system .....the port number is 8889
    I mean running them on a web on some other LP or system.???
    2.And my 2nd problem is that ...The records are not being saved in 10g as in 6i. I created the forms in 6i using the data block wizard and set the block accordingly as told by u people in this forum

    Look at the existing formsweb.cfg configuration file located in your <DEVSUITE_HOME>/forms/server folder. It allows you to create different sections to start your Forms applications.
    For instance, if you create a application_1 section, give this name in your URL.
    Francois

  • Link/checklist for migrating applications from Oracle 9i to Oracle 11g?Help

    Hi all,
    We need to perform an impact analysis on migratiing an application from Oracle 9i to Oracle 11g. Does any of you have a detailed checklist to follow, in terms of queries, PL/SQL statements, optimizer etc. etc., when attempting this migration. We require something more specific from the application point of view rather than a DBA point of view.
    Additionally, we have queries written extensively with rule hints. Should there be a special consideration for the same since now we are moving to CBO in 11g
    Even if any one has a link, that would help. Thank you so much!

    Hi Nikhil,
    Thanks Xaheer,You're welcome :)
    I'm going through the link: http://download.oracle.com/docs/cd/E11882_01/server.112/e10819/toc.htm
    But it still mentions stuff from a DBA angle. I need from an application angle.
    Do I need to change my queries taht are current written with RBO? Do I need to change Pl/SQL blocks ?Please refer tech below notes:
    *1)TROUBLESHOOTING: Server Upgrade Results in Slow Query Performance -- 160089.1*
    *2)TESTING SQL PERFORMANCE IMPACT OF AN ORACLE 9i TO ORACLE DATABASE 10g RELEASE 2 UPGRADE WITH SQL PERFORMANCE ANALYZER -- 562899.1*
    Before upgrading your production database, please perform upgrade of test database and do complete testing.
    Hope helps
    Regards,
    X A H E E R

  • Migrate schema from oracle to access

    Hello everybody !
    i need to migrate the schema(only tables) from an oracle db to access.
    the migration workbench can do that ?
    thank you regards.

    No, it can't.
    I think you are on the wrong forum. Also think that nobody ever from Oracle will invest time in developing something for helping users to migrate FROM oracle....
    Try Microsoft's forum ;)

  • How to migrate files from "ORACLE EPM 11" to OBIEE 10g / 11g

    Hi
    We are moving from ORACLE EPM 11 to OBIEE 10g or 11g .
    Can anyone suggest me how to migrate the files from ORACLE EPM11 to OBIEE 10g ?
    Regards
    Vinod.

    It would be a good idea to specify the version you are using.
    The general plan can be the following:
    A. On source db:
    1. Generate scripts for the tablespaces where the schema you want to export has segments (again use toad or ther tools)
    2.Generate scripts for the schema you want to export (use toad, dbms_metadata or other tools)
    3. Generate scripts for system grants, system roles, privileges you have on objects owned by sys, system, quotas on tablespaces
    4. If the schema has grants on sys objects that are not part of the default oracle install but were created later and are specific to that particular db (not a good practice, but it can hapen) and your application is dependent on them, generate scripts for them also (I have come across types owned by sys, when migrating an application with Websphere AS)
    5. export schema using exp owner=<SCHEMA_NAME>
    6. generate scripts for public synonyms and grants to public on object schema
    B. On target db.
    1. create tablespaces with generated scripts from A.1.
    2. create schema with generated scripts from A.2.
    3. grant all privileges from A.3.
    4. if non default objects on sys needed, create them with scripts from A.4., grant privileges on these objects
    5. imp with option fromuser=<SCHEMA_NAME> touser=<SCHEMA_NAME>
    6. create public synonyms, grants from A.6.
    7. check jobs - if you import with sys or system user, jobs will be imported under this users; drop jobs nad recreate jobs under your schema
    I hope I haven't forget anything and this helps...
    Ioan
    Edited by: ioan on 6.10.2008 13:00

  • Migration problems from Oracle 10gAS R1-R2.

    We moved from Oracle 10gAS R1 to 10gAS R2. So i had to re-compile my code in Oracle forms to deploy them. I was successful in moving all files except for one.WHenever i try to run this file (after compilation in R2) i am receiving the foll error.
    I checked the whole code in that file, it has no refernce to the old servers..everything was updated. I am sure this error is due to the file and nothing related to my configuration files in the AS. This is because other forms (using webutil) works fine except for this form. How do i get around this, the logs and error messages dont really help.
    6/05/25 16:29:12 formsweb: Forms session <103> aborted: unable to communicate with runtime process.
    06/05/25 16:29:12 formsweb: Forms session <103> exception stack trace:
    java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(SocketInputStream.java:168)
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
    at java.io.DataInputStream.readLine(DataInputStream.java:562)
    at oracle.forms.net.HTTPHeaderTool.parseResponseHeader(Unknown Source)
    at oracle.forms.servlet.ListenerServlet.forwardResponseFromRunform(Unknown Source)
    at oracle.forms.servlet.ListenerServlet.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)

    Hi,
    I have a similiar problem here while migrating from jboss 3.04 to oc4j 9.0.4. I get the same error message: invalid column identifier.
    What do I have?
    A small web application with jsp and struts, some session beans, some entity beans with relations, some finder methods (EJB-QL), separate FK-classes, CMP and CMR.
    I checked all my identifiers and they are correct. Now I tracked down the problem to the following:
    When I deploy the ear file to oc4j, then the container takes my orion-ejb-jar.xml and generates its own one for runtime. In this generated new file you can see the queries (select statements) which the container will use. Unfortunately, some of these selects use a WRONG identifier...
    Let's say a field is named "homeStation_implName". Then you find two occurences of this field name in a select: one is correct with "homeStation_implName", but the other one is WRONG with "homeStation_".
    And that's what causes the "invalid column identifier" error message.
    As a workaround, I tried to modify the generated orion-ejb-jar.xml to use consistently the field name "homeStation_". But after restarting the server, my modificatons are gone again...
    Do you have any idea, what problem this could be?
    Any workaround I could use?
    Thanks,
    Torsten

  • Regarding BW migration project from Oracle Tables

    hai
    please can anyone explain these following thing.
    I have data in Oracle tables .
    1) How to prepare the Business Blue Print Phase for this project.
    2) How to model the data design documents.
    3) How to search the Business Content .
    4) How to extract the data from Oracle table
    5) How to map the fields of oracle tables to Infoobjects
    6) can i use Business Content Objects(Infosource, ODS, 
       Infocube, Infoobjects)
    Please explain and send documents to [email protected]
    I will assign the points
    Thanks Alot
    bye
    mohammed

    Hi,
    I hope the following link may sort out few of your questions:
    http://help.sap.com/saphelp_nw04/helpdata/en/58/54f9c1562d104c9465dabd816f3f24/frameset.htm
    And definately you can use standard ODS or Cube if it suitable to you.
    With rgds,
    Anil Kumar Sharma .P

  • Recommended migration path from Oracle EBS 11i to R12

    I need to migrate full EBS version 11i from AIX 5.2 platform to R12 Linux on Fujitsu simens platform . How could I perform it kindly suggest.?

    user1067720 wrote:
    I need to migrate full EBS version 11i from AIX 5.2 platform to R12 Linux on Fujitsu simens platform . How could I perform it kindly suggest.?
    I believe the best approach would be:
    1. Migrate your existing database ONLY to the new servers.
    Using Oracle EBS with a Split Configuration Database Tier on 11gR2 (Doc ID 946413.1)
    Export/import notes on Applications 11i Database 11g (Doc ID 557738.1)
    New Source Databases Added for Transportable Tablespaces + EBS 11i
    https://blogs.oracle.com/stevenChan/entry/new_source_databases_added_for
    2. Lay down R12 software on the new servers and Upgrade from 11i to R12:
    Oracle E-Business Suite Installation Guide Using Rapid Install
    http://docs.oracle.com/cd/E18727_01/doc.121/e12842/toc.htm
    Oracle E-Business Suite Upgrade Guide Release 11i to 12.1
    http://docs.oracle.com/cd/E18727_01/doc.121/e16342/toc.htm
    Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86-64 (Doc ID 761566.1)
    Oracle E-Business Suite Upgrades and Platform Migration (Doc ID 1377213.1)
    Database Preparation Guidelines for an E-Business Suite Release 12.1 Upgrade (Doc ID 761570.1)
    3. Upgrade to 12.1.3
    Oracle E-Business Suite Release 12.1.3 Now Available
    https://blogs.oracle.com/stevenChan/entry/ebs_1213_available
    Thanks,
    Hussein

  • Migrating application from Oracle APEX to JAVA

    We are one of the groups inside oracle. We have an application developed in Oracle APEX. Now we would like to migrate/implement with JAVA. I have idea about APEX development and hosting. Can anyone help me to list out required software/hardware/server/tool/storage to develop as well as host Application by using java.
    Any help is appreciated.
    Thanks.
    Akie.

    This message is from Developer Forum in OTN Oracle.
    ... "There are no plans at Oracle to stop support for Oracle Forms.
    However you should note that support for client-server deployment does have a dead-line (January 05 with extended support until January 08).
    The Web deployment of Forms has no de-support plan for it. We are actually working on the features for the next releases of Oracle Forms right now. "
    As you can see support for Oracle Forms with Clien/Server arquitecture will be finished on January/05 because they are moving to Web Development.
    Additionally they want to mature their JDeveloper until reaches an full integrated tool for Web Development and they are in a good path.
    Thank you my friends

Maybe you are looking for

  • Slow iMac Recommendations

    I have a 27" iMac from 2011.  It has been sluggish for some time, not sure if more so after upgrading to Yosemite.  I took it into an Apple store 2 months ago and had them run their full diagnostics over night on it since I was the end of my applecar

  • How to change directory in Terminal (ex. cd System HD)

    hi how to change directory in Terminal (ex. cd System HD) i wrote cd system hd, which did not work. Terminal understood it as cd system. is there some character to write a "space" between words? thanks

  • Does the G31M3 V2 offer ACHI mode?

    I am running a G31M3 V2 mobo with BIOS v1.5 and have one hard drive connected to the first SATA port and an external drive connected to the second SATA port via an eSATA connector bracket. For the life of me I can't find the "ACHI" choice for disk co

  • Disk utility will not remove OS X Mavericks?

    Recently upgrade to OS X Mavericks from Snow Leopard, because Mavericks stated that Safari would be much faster, but lost all of my previous saved photos, my iPhoto app that came with my original OS X version 10.5.6., my small 80GB external hard driv

  • Use of Supporting Detail & Offline Forms

    I have two questions: 1) What is the benefit of the supporting detail feature to business users? 2) What is the benefit of working offline? I know this might sound stupid, but I was just wondering if the system is expected to be up all the time, what