Migration Workbench is messing up data in converted from SQL Server image fields.

I am working on porting a SQL Server 7 database to Oracle 8i (8.1.6 release 2). In the SQL Server database I have several tables that contain image fields that hold binary data (like Word documents, and other files). When I port the database to Oracle, the data in these fields gets garbled (the resultant records contain the correct amount of data (bytes), yet the data is different). Data in image fields that contain text oriented data ports correctly (i.e. if you just saved a long string in the field). Has anyone else posted a similar problem? Is there a workaround here to get the data stored in these image fields to port correctly?

The thing is DDL of SQL Server and Oracle are quite different, without the help of MW from SQL Developer. You can't convert SQL server version of DDL to Oracle version. Of course you can accomplish the same thing using other tools like ERwin and Visio. Since SQL Developer is free why bother?

Similar Messages

  • How to convert from SQL Server table to Flat file (txt file)

    I need To ask question how convert from SQL Server table to Flat file txt file

    Hi
    1. Import/Export wizened
    2. Bcp utility
    3. SSIS 
    1.Import/Export Wizard
    First and very manual technique is the import wizard.  This is great for ad-hoc and just to slam it in tasks.
    In SSMS right click the database you want to import into.  Scroll to Tasks and select Import Data…
    For the data source we want out zips.txt file.  Browse for it and select it.  You should notice the wizard tries to fill in the blanks for you.  One key thing here with this file I picked is there are “ “ qualifiers.  So we need to make
    sure we add “ into the text qualifier field.   The wizard will not do this for you.
    Go through the remaining pages to view everything.  No further changes should be needed though
    Hit next after checking the pages out and select your destination.  This in our case will be DBA.dbo.zips.
    Following the destination step, go into the edit mappings section to ensure we look good on the types and counts.
    Hit next and then finish.  Once completed you will see the count of rows transferred and the success or failure rate
    Import wizard completed and you have the data!
    bcp utility
    Method two is bcp with a format file http://msdn.microsoft.com/en-us/library/ms162802.aspx
    This is probably going to win for speed on most occasions but is limited to the formatting of the file being imported.  For this file it actually works well with a small format file to show the contents and mappings to SQL Server.
    To create a format file all we really need is the type and the count of columns for the most basic files.  In our case the qualifier makes it a bit difficult but there is a trick to ignoring them.  The trick is to basically throw a field into the
    format file that will reference it but basically ignore it in the import process.
    Given that our format file in this case would appear like this
    9.0
    9
    1 SQLCHAR 0 0 """ 0 dummy1 ""
    2 SQLCHAR 0 50 "","" 1 Field1 ""
    3 SQLCHAR 0 50 "","" 2 Field2 ""
    4 SQLCHAR 0 50 "","" 3 Field3 ""
    5 SQLCHAR 0 50 ""," 4 Field4 ""
    6 SQLCHAR 0 50 "," 5 Field5 ""
    7 SQLCHAR 0 50 "," 6 Field6 ""
    8 SQLCHAR 0 50 "," 7 Field7 ""
    9 SQLCHAR 0 50 "n" 8 Field8 ""
    The bcp call would be as follows
    C:Program FilesMicrosoft SQL Server90ToolsBinn>bcp DBA..zips in “C:zips.txt” -f “c:zip_format_file.txt” -S LKFW0133 -T
    Given a successful run you should see this in command prompt after executing the statement
    Starting copy...
    1000 rows sent to SQL Server. Total sent: 1000
    1000 rows sent to SQL Server. Total sent: 2000
    1000 rows sent to SQL Server. Total sent: 3000
    1000 rows sent to SQL Server. Total sent: 4000
    1000 rows sent to SQL Server. Total sent: 5000
    1000 rows sent to SQL Server. Total sent: 6000
    1000 rows sent to SQL Server. Total sent: 7000
    1000 rows sent to SQL Server. Total sent: 8000
    1000 rows sent to SQL Server. Total sent: 9000
    1000 rows sent to SQL Server. Total sent: 10000
    1000 rows sent to SQL Server. Total sent: 11000
    1000 rows sent to SQL Server. Total sent: 12000
    1000 rows sent to SQL Server. Total sent: 13000
    1000 rows sent to SQL Server. Total sent: 14000
    1000 rows sent to SQL Server. Total sent: 15000
    1000 rows sent to SQL Server. Total sent: 16000
    1000 rows sent to SQL Server. Total sent: 17000
    1000 rows sent to SQL Server. Total sent: 18000
    1000 rows sent to SQL Server. Total sent: 19000
    1000 rows sent to SQL Server. Total sent: 20000
    1000 rows sent to SQL Server. Total sent: 21000
    1000 rows sent to SQL Server. Total sent: 22000
    1000 rows sent to SQL Server. Total sent: 23000
    1000 rows sent to SQL Server. Total sent: 24000
    1000 rows sent to SQL Server. Total sent: 25000
    1000 rows sent to SQL Server. Total sent: 26000
    1000 rows sent to SQL Server. Total sent: 27000
    1000 rows sent to SQL Server. Total sent: 28000
    1000 rows sent to SQL Server. Total sent: 29000
    bcp import completed!
    BULK INSERT
    Next, we have BULK INSERT given the same format file from bcp
    CREATE TABLE zips (
    Col1 nvarchar(50),
    Col2 nvarchar(50),
    Col3 nvarchar(50),
    Col4 nvarchar(50),
    Col5 nvarchar(50),
    Col6 nvarchar(50),
    Col7 nvarchar(50),
    Col8 nvarchar(50)
    GO
    INSERT INTO zips
    SELECT *
    FROM OPENROWSET(BULK 'C:Documents and SettingstkruegerMy Documentsblogcenzuszipcodeszips.txt',
    FORMATFILE='C:Documents and SettingstkruegerMy Documentsblogzip_format_file.txt'
    ) as t1 ;
    GO
    That was simple enough given the work on the format file that we already did.  Bulk insert isn’t as fast as bcp but gives you some freedom from within TSQL and SSMS to add functionality to the import.
    SSIS
    Next is my favorite playground in SSIS
    We can do many methods in SSIS to get data from point A, to point B.  I’ll show you data flow task and the SSIS version of BULK INSERT
    First create a new integrated services project.
    Create a new flat file connection by right clicking the connection managers area.  This will be used in both methods
    Bulk insert
    You can use format file here as well which is beneficial to moving methods around.  This essentially is calling the same processes with format file usage.  Drag over a bulk insert task and double click it to go into the editor.
    Fill in the information starting with connection.  This will populate much as the wizard did.
    Example of format file usage
    Or specify your own details
    Execute this and again, we have some data
    Data Flow method
    Bring over a data flow task and double click it to go into the data flow tab.
    Bring over a flat file source and SQL Server destination.  Edit the flat file source to use the connection manager “The file” we already created.  Connect the two once they are there
    Double click the SQL Server Destination task to open the editor.  Enter in the connection manager information and select the table to import into.
    Go into the mappings and connect the dots per say
    Typical issue of type conversions is Unicode to non-unicode.
    We fix this with a Data conversion or explicit conversion in the editor.  Data conversion tasks are usually the route I take.  Drag over a data conversation task and place it between the connection from the flat file source to the SQL Server destination.
    New look in the mappings
    And after execution…
    SqlBulkCopy Method
    Sense we’re in the SSIS package we can use that awesome “script task” to show SlqBulkCopy.  Not only fast but also handy for those really “unique” file formats we receive so often
    Bring over a script task into the control flow
    Double click the task and go to the script page.  Click the Design script to open up the code behind
    Ref.
    Ahsan Kabir Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread. http://www.aktechforum.blogspot.com/

  • Convert MS SQL server image data type into oracle clob

    Hi all! I'm tryng to access to Microsoft SQL server with Oracle via ODBC. Oracle is not able to use the image data type of Microsoft SQL server. Do you know a way to convert this data type in an oracle format? The explicit casting converts image to long raw, but after the conversion Oracle is not able to manage these data type. Thank you very much!
    Stefano.

    Hi you might want to post your question in General Forum.
    General Database Discussions
    There's very few users visit this forum.

  • Error in Oracle 10 Procedure - converted from SQL Server

    I have converted the folowing script from SQL Server proc to Oracle Proc; it compiles with a warning "30 Hint: Comparision with NULL in 'sp_MyEmployee'"
    When this proc is executed; it generates an error "ORA-00900: invalid SQL statement"
    Please help!
    CREATE OR REPLACE PROCEDURE osp_DMEmployee(v_ahRole IN VARCHAR2 DEFAULT null,
                        v_Exclusion IN varchar2 DEFAULT null) as
    v_MyString varchar2(32767);
    v_spot NUMBER(5,0);
    v_str varchar2(8000);
    v_email varchar2(5000);
    SWV_Exclusion varchar2(5000);
    BEGIN
    SWV_Exclusion := v_Exclusion;
    v_MyString := 'SQLWAYS_EVAL# exprsnlid, dmdescription, dmregion, dmfieldloc, dmbusentity,
                                  dmemployeenum, dmusername, dmtitle, dmemail, ahrole
                             FROM dm_Employee WHERE dmEmail is NOT NULL';
    if v_ahRole is not NULL then
    IF v_ahRole = 'PLANNER' then
    v_MyString := v_MyString || 'SQLWAYS_EVAL# AND (DMTitle like ''%Coord%'' OR DMTitle like ''%Planner%'' OR DMTitle like ''%Svc Leader%'') ';
    end if;
    IF v_ahRole = 'TECHNICIAN' then
    v_MyString := v_MyString || 'SQLWAYS_EVAL# ''' || v_ahRole || 'SQLWAYS_EVAL# is NOT NULL ';
    end if;
    IF v_ahRole = 'SUPERVISOR' then
    v_MyString := v_MyString || 'SQLWAYS_EVAL# ''' || v_ahRole || 'SQLWAYS_EVAL# is NOT NULL ';
    end if;
    end if;     
    IF SWV_Exclusion is NOT NULL then
    /* WHILE SUBSTR(CAST(SWV_Exclusion AS VARCHAR2),1,4000) <> '' LOOP */
    WHILE SWV_Exclusion <> '' LOOP
    v_spot := instr(SWV_Exclusion,',');
    IF v_spot > 0 then
    v_str := SUBSTR(SWV_Exclusion,1,v_spot -1);
    SWV_Exclusion := SUBSTR(SWV_Exclusion,-(LENGTH(SWV_Exclusion) -v_spot));
    ELSE
    v_str := SWV_Exclusion;
    SWV_Exclusion := '';
    end if;
    IF v_email is NOT NULL then
    v_email := v_email || ',' || ' ''' || SUBSTR(v_str,1,100) || ''' ';
    ELSE
    v_email := ' ''' || SUBSTR(v_str,1,100) || ''' ';
    end if;
    END LOOP;
    end if;
    v_MyString := v_MyString || 'SQLWAYS_EVAL# IN (' || v_email || ')';
    v_MyString := v_MyString || 'SQLWAYS_EVAL# ail';
    DBMS_OUTPUT.PUT_LINE(SUBSTR(v_MyString,1,250));
    EXECUTE IMMEDIATE v_MyString;
    RETURN;
    END;

    1) When discussing an error, please copy the actual error message. Usually you will get a line number to assist investigation;
    2) Please refer to the FAQ (upper right corner of page) to show how to preserve code and make your question more readable;
    3) Please ask the question in a forum that deals with the topic - such as "Database - General" (look for "Forum Home" link at top left of page)
    4) Please note that the title of this forum is "Community Feedback and Suggestions (Do Not Post Product-Related Questions Here)"
    (And ... did you display the SQL that you were attempting to execute. Execute Immediate is a last resort style of programming - not nice for most Oracle apps.)

  • Data Type Mapping from SQL server to Oracle

    I am using Oracle 12c with heterogenous services connecting to SQL server DB. Some of the columns in the SQL server SB are defined as 'nvarchar(max)'. These are coming over to Oracle as 'long' type columns. I would like these to be 'varchar2' types in Oracle so I do not have any of the restrictions related to 'long' type fields when using. I can create a view in SQlServer to convert the data type ie. nvarchar(100). What is the highest value I can use to make the data show in Oracle as varchar? BTW  I tried nvarchar(4000) but that still showed as long. I tried nvarchar(1000), and that did show as varchar.

    The maximum value for a nvarchar2 in Oracle is 2000. The mapping -if the remote column is mapped to an Oracle varchar/nvarchar- depends on the data type 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 is 2000.
    As your Oracle database uses AL32UTF8 as character set you will get the nvarchar(max) mapped to Oracle longs as the content of your SQL Server nvarchar is stored using UCS2 character set which is covered by the Oracle database charset UTF8. So it shouldn't really matter if the returned string is mapped to an Oracle varchar or nvarchar.

  • Can not extract data into BW from SQL SERVER

    Dear All,
      I meet a problem to extract data from database(MS SQL Server 2000(sp3)) into BW now and can not extract data into BW ODS, even PSA, In the monitor, display yellow light(0 from 0 record), detail message just display message "data request arranged" "confirmed with: confirmation" in requests(message) step; "missing message: request received" in extract (message)  step; "no data" in processing(data packet) step and so on. but in fact, there are two records in my database test table and DB connection is OK. Even I can extract data from another test oracle database into BW ODS successfully.
       Our BW system has two BW applicaton server and use oracle database. the one application server locates on IBM AIX host. the another one locates on one NT server. the application server on NT server is used for data extration from MS SQL SERVER  database into BW oracle database. and MS SQL SERVER and NT platform application server locate on same one host. DBSL was installed on the NT application server already. and DB connector also was created successfully for MS SQL SERVER and datasource also was generated. DBSL type is Kernel640-WIN-IA32bit-unicode. my BW system is ECC5.0/UNICODE/ORACLE. all table/view/field name of MS SQL server is upcase and have not any specific character. for example: ZDEMO etc.
    wait your help.
    Thanks in advance.
    Billy

    Hi  Ravi,
    Could you help me to get knowledge about the followings:
    approximately how many records    extracting and transfering  from SAP R/3 to BIW  in an organisation. for that how much time  will take .
    How to extract data from  two are three source system  to BIW. Kindly help me with step by step explanation .If any screen shots with documents pls fwd to my ID. "[email protected]"
    Your help highly appreciated.
    Thanks.
    Hema

  • Convert from SQL server to Oracle?

    How do I do this query in Oracle?
    In SQL Server, it looks like this.
    select
    SELECT top 1 t1.mpm
    FROM TblMtk T1
    where t1.wc = '34819'
    and t1.ValidFrom <= '2012-09-12'
    order by t1.ValidFrom desc
    ) R1
    SELECT top 1 t2.mpm
    FROM TblMtk T2
    where t2.wc = '34819'
    order by t2.ValidFrom desc) R2

    A follow-up question ...
    If the table tblmtk for example, there are three rows like this:
    WC        MPM        Valid_from
    34819     1          2010-06-01
    34819     2.5        2011-01-01
    34819     1.5        2012-01-01If the value is outside of the validity period (valid_from) shall it take the last valid_from value. How?
    select max(MPM) keep(dense_rank first order by case when valid_from  <= '2007-05-10' then valid_from else null end desc nulls last) r1
      from tblmtk
    where wc = '34819'I want the result to look like this:
    R1= 1.5
    But now I get R = 2.5

  • Migration from SQL Server 2008 to Oracle 11g

    Hi there,
    I have a quick question, Anyone who have experienced to migration procedures,function from SQL Server 2008 to 11g R2. Is it possible? I migrated tables and views through Oracle heterogenious servinces but I am not sure about the fucntions and procedures.
    Any help would be appreciated.
    Warm regards,

    Automated conversions are possible. After these conversions the system will pretty much run. However, and it can be a pretty big HOWEVER, performance could well take a hit - which the uninitiated or SQL Server acolytes will seek to blame on Oracle not being very good. This is not actually the case.
    You could be in for a major review and rewrite. Besides the syntax differences in the procedural languages, there is a huge - like really huge - difference in transaction control, isolation, and read consistency. Basically, keep in mind that Oracle reads do not block writes, writes do not block reads, and there are no dirty reads. Writes only block other writes. Thus, no coding 'tricks' are needed to get around these blockers. Oracle has global temporary tables that are generally used to help out those converting from SQL Server. In actuality, then are mostly not needed as you can almost always do your work in one SQL statement.
    Read the concepts guide from cover to cover, then do it again, then start looking at what you need to do to convert your procedural code.

  • Migration from SQL SERVER 7.0 to oracle 8i (8.1.7)

    Does any one have experience in migrating SQL SERVER 7.0 database to Oracle 8.1.7?

    Hi,
    U can convert from sql server to Oracle 8 but u've to look after the stored procedures in mssql server. If the stored procedures contains any temporary table concepts and resultset then some manual changes are required.
    Thanx,
    Durai.
    null

  • Migration from SQL Server 7.0 to Oracle 8.0.5

    Can we migrate from SQL Server 7.0 to Oracle 8.0.5 directly without being converted to Oracle 8i objects

    Hi,
    U can convert from sql server to Oracle 8 but u've to look after the stored procedures in mssql server. If the stored procedures contains any temporary table concepts and resultset then some manual changes are required.
    Thanx,
    Durai.
    null

  • How can I migrate data from SQL Server 6,5 to Oracle 8?

    We have a web site based on Microsoft SQL Server 6.5.Now we plan
    to migrate the database to Oracle 8.
    We have redesigned the tables structure and created tables under
    Oracle 8, so we only need to migrate data from SQL Server.
    We've exported data from SQL Server to text files.
    How can we import data from files and restore to Oracle tables.
    Is there a solution which let us to import data for particular
    table columns,not all columns?
    We'll be appreciated if somene can give suggestions.
    Regards
    Michael
    null

    Thank you for your reply.
    I'll try the Oracle sqlloader utility first.
    Regards
    Micahel
    Oracle Migration Workbench Team wrote:
    : Michael,
    : Oracle sqlloader is user for this sort of operation, see
    : Oracle8i Utilities
    : Release 8.1.5
    : A67792-01
    : available online through Oracle Technology Network.
    : The Oracle Migration Workbench can be used to create bcp and
    : sqlloader scripts, though since you have altered the schema
    these
    : scripts would need to be altered by hand after generation.
    : Some thought has been put into redesigning table structures in
    : the Oracle Migration Workbench, but currently it looks like
    this
    : reengineering will be left to be done by other tools, eg
    Oracle
    : Designer, once the SQLServer database has been duplicated with
    as
    : little change as possible onto Oracle.
    : Hope that helps,
    : Turloch
    : Oracle Migration Workbench Team
    : Michael (guest) wrote:
    : : We have a web site based on Microsoft SQL Server 6.5.Now we
    : plan
    : : to migrate the database to Oracle 8.
    : : We have redesigned the tables structure and created tables
    : under
    : : Oracle 8, so we only need to migrate data from SQL Server.
    : : We've exported data from SQL Server to text files.
    : : How can we import data from files and restore to Oracle
    tables.
    : : Is there a solution which let us to import data for
    particular
    : : table columns,not all columns?
    : : We'll be appreciated if somene can give suggestions.
    : : Regards
    : : Michael
    : Oracle Technology Network
    : http://technet.oracle.com
    null

  • 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

  • Data migration from SQL Server 6.5

    Hi,
    I would like to migrate data from SQL Server 6.5 to Oracle
    8.0.5. I can create flat files using the BCP utility in SQL
    Server, but how do I get my Oracle db to recognize the same?
    Please help.
    Regards
    Urmi
    null

    sohail rana (guest) wrote:
    : Hi Urmi,
    : Could you please let me know the first step how from where you
    : can use BCP utility in SQL Server so that you can get the flat
    : file. I have one assignment to do migration.
    : Please help
    : regards
    : Sohail rana
    : Urmi (guest) wrote:
    : : Hi,
    : : I would like to migrate data from SQL Server 6.5 to Oracle
    : : 8.0.5. I can create flat files using the BCP utility in SQL
    : : Server, but how do I get my Oracle db to recognize the same?
    : : Please help.
    : : Regards
    : : Urmi
    There is a new feature in version 1.2.1 of the migration
    workbench that will generate the BCP and SQL Loader scripts for
    you.
    Right mouse click on the 'Tables' component group in the Oracle
    Model UI tree and click 'Generate Data Migrate Script...'.
    This will place the scripts in the Log directory you have
    specified in the Tools -> Options menu. Go to the Logging tab and
    enter a valid value for 'Log file directory'.
    The data move scripts will be located in the 'Log file
    directory'\SQLServer6 directory.
    null

  • Reg. Migrating data from SQL Server 2000 to Oracle

    Hi All,
    I need to migrate a same data from SQL Server 2000 to Oracle 9i.In sql server Export option is there, but the problem is some 30 tables have More than one LONG datatype column in a table. That's why oracle not allow to import.
    Could you guys find any tool for the same.
    Please do the needful.
    Thanks & Regards,
    Prathap

    hi dermot,
    it's very urgent now. Can you please give any solution for this.
    and also i tried the SQL developer tool. But i got an below error,
    Error starting at line 2 in command:
    CREATE USER dbo_testdatalatest IDENTIFIED BY dbo_testdatalatest DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP
    Error at Command Line:2 Column:45
    Error report:
    SQL Error: ORA-01031: insufficient privileges
    01031. 00000 - "insufficient privileges"
    *Cause:    An attempt was made to change the current username or password
    without the appropriate privilege. This error also occurs if
    attempting to install a database without the necessary operating
    system privileges.
    When Trusted Oracle is configure in DBMS MAC, this error may occur
    if the user was granted the necessary privilege at a higher label
    than the current login.
    *Action:   Ask the database administrator to perform the operation or grant
    the required privileges.
    For Trusted Oracle users getting this error although granted the
    the appropriate privilege at a higher label, ask the database
    administrator to regrant the privilege at the appropriate label.
    Error starting at line 3 in command:
    GRANT CREATE SESSION, RESOURCE, CREATE VIEW TO dbo_testdatalatest
    Error report:
    SQL Error: ORA-01031: insufficient privileges
    01031. 00000 - "insufficient privileges"
    *Cause:    An attempt was made to change the current username or password
    without the appropriate privilege. This error also occurs if
    attempting to install a database without the necessary operating
    system privileges.
    When Trusted Oracle is configure in DBMS MAC, this error may occur
    if the user was granted the necessary privilege at a higher label
    than the current login.
    *Action:   Ask the database administrator to perform the operation or grant
    the required privileges.
    For Trusted Oracle users getting this error although granted the
    the appropriate privilege at a higher label, ask the database
    administrator to regrant the privilege at the appropriate label.
    Error starting at line 4 in command:
    CREATE USER epm_testdatalatest IDENTIFIED BY epm_testdatalatest DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP
    Error at Command Line:4 Column:45
    Error report:
    SQL Error: ORA-01031: insufficient privileges
    01031. 00000 - "insufficient privileges"
    *Cause:    An attempt was made to change the current username or password
    without the appropriate privilege. This error also occurs if
    attempting to install a database without the necessary operating
    system privileges.
    When Trusted Oracle is configure in DBMS MAC, this error may occur
    if the user was granted the necessary privilege at a higher label
    than the current login.
    *Action:   Ask the database administrator to perform the operation or grant
    the required privileges.
    For Trusted Oracle users getting this error although granted the
    the appropriate privilege at a higher label, ask the database
    administrator to regrant the privilege at the appropriate label.
    Error starting at line 5 in command:
    GRANT CREATE SESSION, RESOURCE, CREATE VIEW TO epm_testdatalatest
    Error report:
    SQL Error: ORA-01031: insufficient privileges
    01031. 00000 - "insufficient privileges"
    *Cause:    An attempt was made to change the current username or password
    without the appropriate privilege. This error also occurs if
    attempting to install a database without the necessary operating
    system privileges.
    When Trusted Oracle is configure in DBMS MAC, this error may occur
    if the user was granted the necessary privilege at a higher label
    than the current login.
    *Action:   Ask the database administrator to perform the operation or grant
    the required privileges.
    For Trusted Oracle users getting this error although granted the
    the appropriate privilege at a higher label, ask the database
    administrator to regrant the privilege at the appropriate label.
    Error starting at line 6 in command:
    CREATE USER lportal_testdatalatest IDENTIFIED BY lportal_testdatalatest DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP
    Error at Command Line:6 Column:49
    Error report:
    SQL Error: ORA-01031: insufficient privileges
    01031. 00000 - "insufficient privileges"
    *Cause:    An attempt was made to change the current username or password
    without the appropriate privilege. This error also occurs if
    attempting to install a database without the necessary operating
    system privileges.
    When Trusted Oracle is configure in DBMS MAC, this error may occur
    if the user was granted the necessary privilege at a higher label
    than the current login.
    *Action:   Ask the database administrator to perform the operation or grant
    the required privileges.
    For Trusted Oracle users getting this error although granted the
    the appropriate privilege at a higher label, ask the database
    administrator to regrant the privilege at the appropriate label.
    Error starting at line 7 in command:
    GRANT CREATE SESSION, RESOURCE, CREATE VIEW TO lportal_testdatalatest
    Error report:
    SQL Error: ORA-01031: insufficient privileges
    01031. 00000 - "insufficient privileges"
    *Cause:    An attempt was made to change the current username or password
    without the appropriate privilege. This error also occurs if
    attempting to install a database without the necessary operating
    system privileges.
    When Trusted Oracle is configure in DBMS MAC, this error may occur
    if the user was granted the necessary privilege at a higher label
    than the current login.
    *Action:   Ask the database administrator to perform the operation or grant
    the required privileges.
    For Trusted Oracle users getting this error although granted the
    the appropriate privilege at a higher label, ask the database
    administrator to regrant the privilege at the appropriate label.
    Error starting at line 8 in command:
    connect dbo_testdatalatest/dbo_testdatalatest;
    Error report:
    Connection Failed
    Commit
    Regards,
    Prathap.R

  • Data Migration from SQL server best option

    Hi all,
    I am importing data from SQL server to oracle server, both of them are on different machines. I had suggested DTS to be most viable option to do so, the SQL server team needs to know why DTS, here are the other options that i am aware of
    1) Flat files ---delimited flat files data can be loaded into tables using external table since we have oracle 9i
    2) using generic connectivity, but it requires changes in configuration files which our dba doesnt apporve , since he says that wud be lot of monitoring and maintenance when there are database upgrades
    3) DBlink-- i dont know whether dblink works for oracle to sql server, i think it doesnt work?? correct me if am wrong
    and the last is DTS
    it wud be of great help if i could know that in such a scenario how good is DTS compared to other options in terms of speed, maintenance and monitoring, also if there are any other options to import the data.
    the volume of data is large abt 500000 one time load and then abt 8000 records on a daily basis
    thanks
    abhishek

    2 & 3 are really the same thing. Generic Connectivity allows you to create a database link from Oracle to SQL Server.
    SQL Server also has the concept of a linked server that is analgous to Generic Connectivity that would allow you to connect from SQL Server to Oracle and push the changes over.
    There are a variety of other ETL tools out there that can handle this sort of thing (Oracle's is Oracle Warehouse Builder (OWB)) in addition to DTS as well.
    Personally, I would prefer Generic Connectivity, but that's just me. At one client site, we pull millions of records out of a DB2 database every night and haven't had any issues related to the stability of Generic Connectivity. Realistically, migrating 8000 rows a night is going to be pretty easy no matter what route you take, so it really comes down to what standards your organization has for data transfer and what sort of skillset the developers are going to have.
    Justin

Maybe you are looking for

  • Print to Video - not working as expected

    I'm trying to the Print to Video command to record my project on DV tape. I'm using firewire for computer to camera connection. My MAC firewire port is configured for my camera model - SONY DRV-TRV-900. My Sequence and Capture presets are the same: D

  • Acrobat Pro 9.4.5 crashes when merging files

    Is anyone else experiencing this? Adobe Acrobat Pro 9.4.5 works for while when merging files into a single PDF but then starts crashing when saving the mreged file. (MacBook Air, 10.6.7)

  • Live Type Not Opening

    I have FCE 4 and Live Type came with the program. Every time I try to open Live Type I get an error message. I have tried to reinstall it 3x and no luck. Each time my computer says the installation was successful. Below is the error message: An unexp

  • Event Wait Streams AQ

    Dear Sir, we have oracle database 10.2.0.5 with operation system linux OEL5, we are not using Advanced Queuing, so why we have the following wait ?!! SELECT event, state, COUNT(*) AS cnt, sum(seconds_in_wait) AS wait_in_seconds FROM v$session_wait WH

  • Attempting to verify a digital signature in JSSE

    Situation: In a nutshell I cannot get signature verification to work, and I'm not sure what I'm doing wrong. Background: I'm trying to recreate functionality in Java that currently exists in C/C++, using the OpenSSL vxcrypto library. I've written cod