SQL Server migration object renamin

The situation I encounter is the migration of a SQL Server database to 10 g 2. The barrier, I'm trying to deal with, it is that a lot of names stored procedure SQL Server 900 + exceed the limit of 30 characters Oracle. Much it exceed 10 to 15 characters, and the last several characters are the part of the name that identifies only to identify and differentiate between other procedures with similar names. If I make the standard migration, many new names is shortened and have some arbitrary ending, such that I can't tell what new procedure migrated corresponds to a particular procedure from source.

Rename procedures in the SQL Server would be ideal, but MS indicates that it is a bad idea (Nice, huh?) and I don't have sufficient privileges on this diagram to do anyway, so that the attractive option is unfortunately not available.

With the large number of necessary procedures, tried to automating the process of name change using a java application (mine) to change the names in the schema captured in the migration repository before generating the Oracle model. I proceeded to change the NAME column, change the CLOB in the NATIVE_SQL column, replacing the old names by the new MD_STORED_PROGRAMS table. Unfortunately, when I then try to build the model of the Oracle of this "corrected" scheme, I get errors like "create procedure < proc_name > error: unexpected end of line subtree column 0 0" for each proc which I changed the data. " It seems that it is looking for another place and find the original name and launch a mistake if it believes that it does not have the new name I gave him in the process of automated renaming.

I hope that someone else knows what other tables I need to change to fix the names, or in a different way or better for this task.

Thank you!

Hello

It sounds like an "interesting" problem I'll try that. I hope I can find a solution or workaround for this problem.

I will return to you as soon as possible.

Best regards
Wolfgang

Tags: Database

Similar Questions

  • SQL server system objects

    Does anyone know how to hide the SQL Server system objects in the dialog of the command > > database items > > stored procedures. Using SQL Server Management Studio Express, it is possible to hide the view system objects, but they are not hidden in DW8.0.2. Similarly, in DW when clicking on a link in the Application > > Databses Panel, then click on view (on a db SQL Server) in addition to the views that I have created all the system objects are too visible.

    Thank you

    Revoke or deny EXECUTE permission on the stored procedures to the user
    connect you like in your connection string.
    For tables and views, revoke or deny the SELECT for the same authorization
    user.

    'cc dw8' wrote in message
    News:esk62m$6Cr$1@forums. Macromedia.com...
    > Is - anyone know how to hide the SQL Server system objects in the command
    > dialogue
    > Database items > Stored Procedures. Using SQL Server Management Studio
    > Express, it is possible to hide the objects view however system that they
    > are
    > not hidden in DW8.0.2. Similarly, in DW when clicking on a link in
    > the
    > Application > Databses Panel, then click on view (on a SQL Server db)
    > in
    > more opinions that I have created all the system objects are visible
    > too.
    >
    > Thank you
    >

  • SQL Server Migration

    Door online migration of MS-SQLServer everything works fine, except when the new user oracle of target is created there quota 0.

    Migration task seems to stop there until manually grant quotas on its default tablespace. Then the task continues and succeeds eventually.

    I use SQLDeveloper 4.0.0.13 build HAND - 13.80

    Maybe it is already addressed in a later version?

    Hi Dan,.

    The option is not very obvious, but it is mentioned in the documentation available in the User Guide.  You remember!

    Glad you like the product and could you also mark the thread as "answered"?

    Kind regards

    Mike

  • Oracle - SSMA.licence for Oracle to SQL Server Migration Assistant

    I can't download the license file, probably due to firewall, political settings, IE etc.

    Is there another way?

    Andy, one of the developers of my Microsoft sent using a contact of a forum address specialized - they reported an ongoing "maintenance" with the site and sent us the key directly.  This works.

    The real email address that he used is not in my mail to copy, but the friendly display name is 'SSMA for access' - I imagine that in a forum search will yield results.  If not, repost and I'll try and find.

    Congratulations to all,

    Mike

  • Data migration from Oracle to SQL Server

    Hello

    I have the Oracle database in one or several table, I also blob data, i.e. images are stored, now I want to move that data to the sql server database, which is the best way to do this?

    I would like to test for a migration of the table that contains the image data in the Oracle database and invade the SQL Server table.

    How to test for an Oracle table data to SQL Server migration?

    But the first thing I want to confirm is that if the Image from Oracle DB to SQL Server DB data are possible? is there something must be supported during the migration?

    Thanks in advance.

    Kind regards

    Vishal

    Published by: 968331 on October 31, 2012 02:31

    I think that it is supported. The equivalent data type in sql server is IMAGE/varbinary (max)

    See the bottom of the article for the mapping of data types:

    http://weblogs.sqlteam.com/jamesw/archive/2010/07/28/datatypes-translation-between-Oracle-and-SQL-Server-part-1.aspx

  • Migration DB in SQL Server and Oracle DB - probably EASY answer

    I finished the tutorial on the DB in SQL Server migration to Oracle. When I try on my own database, all migrated well except something that contains a datetime value. When I run the oracle_ctl.bat file and display all of the log files, I see Record 1: rejected - error on the DBO_RIVERSIDEDB_NCWCD_TEST table. TS6HOUR_TAIN, Date_Time column.
    ORA-01843: invalid month. What I have to change the first line of all files NLS_DATE_FORMAT = my JJ YYYY HH:mi:ssAM? In the .dat file that is created from the unload_script.bat, the data start 1275 < EOFD > 00:00:00.000 2007-05-11 < EOFD > 74.900000000000006 < EOFD > < EOFD > < EORD > < EOFD > 1275. So my question is on the date_format - which is the same for all the databases SQL Server or I need to get something on MY database? I'm definitely a beginner so this is probably a super easy question. Thanks much for any help!

    Hello

    You don't need to modify your file of any control of batch file and it will be referrring to format in the oracle database. If you can post your Date_Time channel or follow the example I posted earlier, then it will help you better.

    Concerning

  • ORACLE to SQl server dblink not working not not using DG4ODBC

    Hello

    Please help relsove below question

    Oracle version: 10.2.0.4.0
    AIX: 5.3
    Gateway: 11.2
    SQl server 2005

    I installed the gateway on the SQl Server machine.

    I am faced with error below


    ERROR on line 1:
    ORA-00942: table or view does not exist
    [Microsoft] [ODBC SQL Server driver] [SQL Server] Incorrect object name
    'TBL_ARL_CRMUSERS '. {42S 02, NativeErr = 208} [Microsoft] [ODBC SQL Server
    Instructions driver] [SQL Server] could not be prepared. {NativeErr 42000, 8180 =}
    ORA-02063: preceding 2 lines of ODS


    Help, please

    Hello
    SQL * database server that connects DG4ODBC is defined in the system DSN created which is then specified in the parameter.

    HS_FDS_CONNECT_INFO

    When you set up the system DSN, you choose the database to which you are connecting.

    Kind regards
    Mike

  • 4.1 ai2 Migration for SQL Server: cannot change the schema name?

    I'm trying to convert a SQL Server database to Oracle.

    As I wanted to insert into an existing (with not the same name on SQL Server) schema, I followed this guideline:

    A SQL Developer... @dermotoneill: migrate existing users of Oracle

    I first picked up the source and then tried to convert the designation.

    but there is no tab:

    Migrate_missing_naming.jpg

    (you can see it's really show the previously entered data as I can choose the check box 'Show only data types used in the source model')

    Is there a new path now how to map the schema?

    Thank you

    Martin

    Hi Martin,

    This page of naming of the object has been removed from the migration wizard.

    The feature is now available in the migration of object report.

    It's easier to work with the report that you can filter and order objects according to your needs.

    In this case, you can simply show the OBJECT_TYPE = 'SCHEMA '.

    The steps are so.

    (1) capture and convert you data source

    (2) open the report of the object (left click on the node "Convert database objects") and change the SCHEMA TARGET_OBJECT_NAME objects in your name of the desired target. Commit the changes.

    Translate 3) and generate the Oracle database (right-click on the node "Convert database objects")

    Kind regards

    Dermot.

    SQL development team.

  • 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

  • Migration sql server 2000 for oracle 9i

    Hello

    I migrate from sql server 2000 to oracle 9i

    When I capture Microsoft Sql Server, it gives an error
    oracle.dbtools.metadata.persistence.PersistenceException: ORA-04098: trigger ' MIGRATION. MD_PROJECTS_TRG' is invalid and does not re-validation
    I try again and it starts but it's not to stop until clicking on cancel or close

    What's the harm?

    Thank you

    Hello
    You hit a known issue using a repository created in 9.2.
    To show that this is the case do the following-

    SQL > alter trigger compilation MD_PROJECTS_TRG.

    WARNING: Trigger modified with compilation errors.

    SQL > show errors
    Errors for MD_PROJECTS_TRG TRIGGER:

    LINE/COL ERROR
    -------- -----------------------------------------------------------------
    3/9 PL/SQL: statement ignored
    3/20 PLS-00905: object MIGREP. MD_META is not valid

    Compilation md_meta-

    SQL > alter compilation package md_meta;

    WARNING: The package has been modified with compilation errors.

    SQL > show errors
    PACKAGE MD_META for errors:

    LINE/COL ERROR
    -------- -----------------------------------------------------------------
    0/0 PLS-00908: the stored format of MD_META is not supported by this
    Release

    21/4 PLS-00114: identifier 'PUTBAIFZKA3IHSJ5AC4ZXWYAWG41KN' too long
    21/4 PLS-00707: construction not taken in charge or internal error [2702]
    SQL >
    ==

    If you get this, so the only alternative is to create the SQL * Developer repository in a database of 10.2.

    Kind regards
    Mike

  • Problem with SQL Server 2008 migration

    Hello

    I am having trouble capturing SQL Server (Express 2008) tables/views/data for Migration to Oracle 11. I was able to connect to the source (SQL Server 2008 Express) and databases of destination (Oracle 11) on the same server (Windows Vista 32 bit). However, when I select objects SQl server (tables or views) and click on "Capture Microsoft SQL Server" or "Table of Capture" etc, nothing happens... No message and the tool is just sitting there. The models 'captured' is empty... Could someone please help? Where can I find the error logs? I followed the instructions as described in the help text and also found that some other people were able to run on SQL Server. I wonder what might be different about my situation.

    Thank you!

    BK

    Hello

    SQL Developer Migration Workbench does not yet support the migration to SQL Server 2008.

    See http://www.oracle.com/technology/tech/migration/workbench/pdf/migrationdatasheet_15.pdf

    This data sheet lists only the versions of SQL Server 7.0, 2000 and 2005.

    Maybe the next Metalink note allows more:

    Note 393760.1: how to migrate databases non-Oracle, for which an Option of Migration Workbench is not available

    Kind regards
    Wolfgang

  • 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 of data from mysql to sql server

    Hi all

    I would like to import the database MySQL in SQL Server 2008 and export MySQL database into a ".sql" file to import data in SQL Server.

    Whenever I try to import data from MySQL, I get the error attached like a screenshot below.

    Please let me know what can be done and how can I import data with all the tables in the order.

    Kind regards

    Shiva

    Please check this answer of the dev, unfortunately migration of Foglight backend database between different types of databases only is not supported

    http://en.community.Dell.com/TechCenter/performance-monitoring/Foglight-administrators/f/4788/t/19559675.aspx#78924

    There are solutions to help you get the same types of a Foglight backend databases

    https://support.quest.com/SolutionDetail.aspx?ID=SOL42249

    Golan

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

  • Error with SQL server 2008 for migration of ODI 10 ODI 11 g g

    Hello

    I'm migrating ODI 10 g, 11 g with the Assistant provided by Oracle , but each time, I get the following message:

    [ODI] [INCIDENT_ERROR] [UPGCMP-00338] [update. Repository working ODI ODI] 'ODI_WORK' uses JDBC Driver "com.microsoft.sqlserver.jdbc.SQLServerDriver".

    [ODI] [INCIDENT_ERROR] [update. ODI] Cause: ODI work Repositoriry don't use default JDBC driver. Action: Please update connection ODI repository work to use default JDBC driver

    No idea how I could fix it?

    Concerning

    Jean

    Try user weblogic sql server driver

    Driver name: weblogic.jdbc.sqlserver.SQLServerDriver

    URL: jdbc:weblogic:sqlserver://hostname:port: [; property = value [,...]]

    The driver lib:wlsqlserver.jar

Maybe you are looking for