Re: Virtual Columns and Import/Export

Edited by the moderator:
This question was moved to a new thread since the last thread was over 1 year old. The basic question is:
table has virtual columns based on a schema function but tables are created before the function. Is there a solution for this:
end edit:
I've encountered the same issue. Does anyone know there is a solution to this yet?
Thanks,
Dave
Edited by: Dean Gagne on Sep 12, 2012 4:02 PM

I branched to a new thread since that thread was over a year old.
Anyway, I would contact Oracle Support to see if there is a fix for this for the version of Oracle that you are using. This has been fixed and backported, but I don't know if that it was backported to your version or not.
The real problem is that the virtual column needed to be created when the table was created, but the function was not imported yet. As a work-around you could create the schema and then just import the functions first. Not ideal, but it may get you past this issue for now.
The right way is to get a patch.
Dean

Similar Messages

  • Virtual column and partition exchange load

    Hi All,
    Can someone tell me that if i have a virtual column on a table in 11g then can we load the data as partition exchange loading into the table.
    Thanks & Regards,
    Ankit Rana

    Hemant K Chitale wrote:
    Why not run a simple test with a dummy table, a few columns (plus a virtual column) and a few partitions ?
    Excellent suggestion.
    Shouldn't take more than about 30 minutes to create a test case - and if it takes more than 30 minutes the OP needs the practice anyway to get a better feel for the technology.
    Hint to OP: make sure you put some data in the "incoming" table, make sure you put some data in the "non-exchanged" partitions, remember to include a unique/pk constraint if you're expecting one on production, and run with sql_trace enabled to see what's happening in the background.
    Regards
    Jonathan Lewis

  • Questions on Subviews and Import/Export in Data Modeler v3 EA1.

    I have a few questions about the capabilities of Data Modeler v3 EA1:
    1) Is it possible to rename subviews? Would like more meaningful names then Relational_x - Subview_x.
    2) Is it possible to save documents at subview level?
    3) Is it possible to import/export subsets of data?
    4) Having problems importing Erwin 7 .xml file, is there known problems with this import?
    Judy

    Hi Judy,
    1) To rename a subview just right click on it in the browser tree and select "Properties". In the properties dialog change the name and click OK button.
    2) You can save a subview as new Data Modeler design - from the File menu select Export -> To Data Modeling Design. In the newly opened dialog select the subview you want to export and click OK button.
    3) After saving a subview as new design (see answer #2) it can be imported in some other design (File -> Import -> Data Modeler Design).
    4) What kind of problems do you have with import of Erwin 7.* xml file?
    Regards,
    Ivan

  • Is there a note app that features encryption, folders, backup, and import/export?

    Hi friends,
    I have been searching for a month for a Notetaking app for the iphone which has these attributes:
    able to import/export notes from some form of text file suchas csv. I need to bring over a large number of notes from my android phone. I can perl-script and should be able to massage my data into any format requiredby any text-based importer. I would expect this feature to be based either on itunes or a proprietary sync program on a Mac.
    encryption (not just a password), preferably AES-256 bit orhigher
    features categories, tags, or folders (any one of these isfine)
    able to backup and restore notes in encrypted form, in caseof loss of device
    You would think this is a very basic set of features, but I have notbeen able to find anything on the App store that includes all of thesefeatures. If you know of any such app, please let me know.
    Thanks a lot!

    There should be some utilities that might do that on macupdate.com if you search around in there. It could be done as a macro action in Photoshop, but that's an expensive solution for this. VueScan could also potentially do it, but is also not cheap.
    Also, some of the utilities that come bundled with scanners may be able to do this, but only when running the scanner they came with.
    Definitely the features exist on the Mac like auto-recognition of multiple images on a page, auto-rotation, auto-levels, PDF export etc. You just need to find them in the right combination in the right app.

  • SFTP functionnality and import/export from unix/linux side

    Hi,
    With the new release, can you add two importants functionnalities :
    - Add sFTP with FTP, Email, Unmanaged disk because some customers like me want security. Normally, it's not very complicated because Apache-commons-vfs.jar can use all of this (with jsch.jar).
    - Add possibility to import and export universes/documents from/to CMS on file system with SDK.
    Thank you
    It's a big work.
    gilles

    Thanks for the feedback, I'll forward it to the Product team.
    Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/robhorne</a>

  • After client copy and import export, WebUI not functioning

    Hi Experts,
    We have copied the client MKH300 into the client MKH305. The client
    copy was performed using SAP_ALL authorization.
    After the client copy a client compare was performed and several
    differences were discovered. BDLS was run and a custom program was run
    to copy custom tables from MKH300 to MKH305. This program has been run
    in several other client copy cases and there is no issue with it.
    When logging into the WebUI in client MKH305 an error message is
    displayed in the application log:
    "An exception has occurred during program processing"
    (Please see attached screen shot)
    When looking into the details the following text is shown:
    Diagnosis
    An exception occurred during request processing. This was handled
    centrally. It changed the program flow and the result of the request
    probably contains errors.
    Procedure
    Contact your system administrator.
    Procedure for System Administration
    Activate checkpoint group BSP_WD_EXCEPTION_DISPLAY. To do this, use
    transaction SAAB. If the error recurs, further details are displayed.
    When the check point group was activated there was no more information.
    The links in the Homepage are not correct even though the business
    roles, config keys etc look the same between the clients.
    Much customization seems lost for the WebUI although when comparing the
    two clients' customization for the WebUI they seem identical.
    The client MKH300 works fine so the intention was that MKH305 should be
    an exact copy of that client, but that did not happen.
    Could you please help me out.
    Thanks!
    Nagaraju

    they are included in the xe server install ...you could try copying the executables but maybe that wont work if all the libraries arent present
    failing that install the regular oracle client

  • Export and import a table data

    Hi All,
    There is table abc which is having appprox 40lak records without partitions(and have dmp of this data). Due to space constraints I want to compress the data and put it in archive schema.
    My question is:
    1) Can we import the data into other schema(say: archive schema) in compressed mode. If so could you please let me know the syntax for that.
    2) Can we import the data into some temporary table(say: temp) in same schema?
    3) And if any blob column exists in table then can we import the data without this blob column data.(Supposing the export dump has the blob data).
    Is it possible, or whould we export without this blob column and import this to other table?
    Please help me out.
    Edited by: user11942774 on 4 Dec, 2011 10:33 PM

    Thanks Mahir,
    Could you please let me know the syntax or with any examples if possible.
    is it possible to drop any column say blob column after the table is in compressed mode?
    Edited by: user11942774 on 4 Dec, 2011 10:53 PM
    Edited by: user11942774 on 4 Dec, 2011 10:54 PM

  • Getting problem in Import/export of data

    Hi,
    I have just cloned my database to an another machine. Everything is ok with the database.But when I try to import/export the data from that new database I get these error messages,
    Exp 00056 - Oracle error 1403 encountered
    ORA-01403 - No data found
    Exp - 00000 - Export terminated unsuccessfully
    santosh
    [email protected]

    hi
    Examples of Using Different Releases of Export and Import
    Table 19-7 shows some examples of which Export and Import releases to use when moving data between different releases of the Oracle database.
    Table 19-7 Using Different Releases of Export and Import
    Export from->Import to Use Export Release Use Import Release
    8.1.6 -> 8.1.6 8.1.6 8.1.6
    8.1.5 -> 8.0.6 8.0.6 8.0.6
    8.1.7 -> 8.1.6 8.1.6 8.1.6
    9.0.1 -> 8.1.6 8.1.6 8.1.6
    9.0.1 -> 9.0.2 9.0.1 9.0.2
    9.0.2 -> 10.1.0 9.0.2 10.1.0
    10.1.0 -> 9.0.2 9.0.2 9.0.2
    Restrictions When Using Different Releases and Versions of Export and Import
    The following restrictions apply when you are using different releases of Export and Import:
    1.Export dump files can be read only by the Import utility because they are stored in a special binary format.
    2.Any export dump file can be imported into a later release of the Oracle database.
    3.The Import utility cannot read export dump files created by the Export utility of a later maintenance release or version. For example, a release 9.2 export dump file cannot be imported by a release 9.0.1 Import utility.
    4.Whenever a lower version of the Export utility runs with a later version of the Oracle database, categories of database objects that did not exist in the earlier version are excluded from the export.
    5.Export files generated by Oracle9i Export, either direct path or conventional path, are incompatible with earlier releases of Import and can be imported only with Oracle9i Import. When backward compatibility is an issue, use the earlier release or version of the Export utility against the Oracle9i database.
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm#i1013164i hope it will help u.
    regards
    Mohammadi52
    Message was edited by:
    Mohammadi52

  • SQL Exoress 2008 import export Wizard wont import Access 2003 mdb to SQL 2008 DB

    Just installed SQL Express with Tools, including SSME and Import Export Wizard.
    Attempted to transfer Access 2003 DB tables from an mdb file to a SQL 2008 Express DB.
    I can view the data in the tables in Access, however, when I tell it to  do the deed, it begins the process and then errors out with a Error 0xc020801c:
    "TITLE: SQL Server Import and Export Wizard
    Could not connect source component.
    Error 0xc020801c: Source - ParentingStats [1]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "SourceConnectionOLEDB" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.
    ADDITIONAL INFORMATION:
    Exception from HRESULT: 0xC020801C (Microsoft.SqlServer.DTSPipelineWrap)"
    I am unable to find anything that translates this into something mere mortals can deal with.  This is repeatable.
    Steps in the wizard:
    1.  Source: Data Source selected is "Microsoft Access".  The filename is correct.  The username is correct.  The password is blank (there is no password in the Access db).  Clicking on the "Advanced..." button, I get the opportunity to "Test Connection".  I test the connection and the test is successful.
    2.  Destination: I select my server name and the SQL Native Client, select Windows Authentication, and Select my SQL 2008 Express db from the dropdown list.
    3.  Specify Tabloe Copy or Query: I select Table copy
    4.  Select Table or Views: I check the tables I want to copy and successfully preview the data in each table that I checked.  I click on "Edit Mappings ..." and verify that I want to create a new table for each checked table.
    5.  Run package: I accept the pre-checked "Run Immediately" and click the NEXT button
    6.  I get the following:
    "Source Location : C:\Users\wb5rvz\Documents\StatisticsApp_V3_69.mdb
    Source Provider : Microsoft.Jet.OLEDB.4.0
    Destination Location : SHACK_PC\SQLEXPRESS
    Destination Provider : SQLNCLI
    Copy rows from `ParentingStats` to [dbo].[ParentingStats]
    The new target table will be created.
    Copy rows from `Statistics` to [dbo].[Statistics]
    The new target table will be created.
    Copy rows from `StatsSummary` to [dbo].[StatsSummary]
    The new target table will be created.
    Copy rows from `Volunteers_Confidential` to [dbo].[Volunteers_Confidential]
    The new target table will be created.
    Copy rows from `YearMonthTbl` to [dbo].[YearMonthTbl]
    The new target table will be created.
    The package will not be saved.
    The package will be run immediately.
    Provider mapping file : c:\Program Files\Microsoft SQL Server\100\DTS\MappingFiles\JetToMSSql9.xml"
    7.  I click the FINISH button and I get
    "Initializing Data Tasks .... Success"
    "Initializing Connections ...Success"
    "Setting SQL Commend ....20% Compoete"
    "Setting Source Connection ...Error (and an error link)"
    (All following tasks were "Stopped"
    Error detail is:
    ===================================
    Could not connect source component.
    Error 0xc020801c: Source - ParentingStats [1]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "SourceConnectionOLEDB" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.
     (SQL Server Import and Export Wizard)
    ===================================
    Exception from HRESULT: 0xC020801C (Microsoft.SqlServer.DTSPipelineWrap)
    Program Location:
       at Microsoft.SqlServer.Dts.Pipeline.Wrapper.CManagedComponentWrapperClass.AcquireConnections(Object pTransaction)
       at Microsoft.SqlServer.Dts.DtsWizard.Execute.SetSourceConnection(Exception& ex, TransformInfo ti)
    OS is Vista Home Premium SP1 (32 bit)
    Processor = Intel core 2 duo E7200 @ 2.5 GHz
    SQL Server Software was just downloaded yesterday, so it is whatever is current on the download site:
    SQL Express with Tools
    So, how do I get this transform to work?  I do not have nor do I want/afford to put Access 2003 on this machine.
    Thanks
    RRR

    I had this similar problem - 32-bit SQL Server 2005 trying to import tables from Access 2000 .mdb file, same error:
    Error 0xc020801c: Source - ParentingStats [1]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "SourceConnectionOLEDB" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.
     (SQL Server Import and Export Wizard)
    ===================================
    Exception from HRESULT: 0xC020801C (Microsoft.SqlServer.DTSPipelineWrap)
    I know you said you clicked "Advanced..." and Test Connection when you chose your Access database - but that is what resolved the error for me.  I chose my .mdb file, username is admin, password is blank, but if I don't click the Advanced button and test the connection before continuing on, the import fails with above error message.  Go figure, since the username/blank password is correct. 
    FWIW, sorry if that doesn't help you though.

  • Exp and import

    Hi,
    I have two databases
    1. 10g on RHEL 4 (64 bit)
    2. 9i on RHEL (32 bit)
    I have a requirement to export from 10g and import it in 9i. Is that possible?

    Table 19-7 Using Different Releases of Export and Import
    Export from->Import to Use Export Release Use Import Release
    9.0.2 -> 10.1.0 9.0.2 10.1.0
    10.1.0 -> 9.0.2 9.0.2 9.0.2 [http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm#i1013164]
    Use 9i exp release to export from 10g and import into 9i database.

  • Commodity code and import code no

    hi SAP SD guys,
                                can any body explains about commodity codes and import
    codes number? for what purpose it is used?

    when trading internationally, then you need to find the correct commodity code for your goods , so you can fill out the customs paperwork accuratly. the code is minimum 8digit, but can be more. depending on the code you can lookup duty rates and import export restrictions.
    commodity code and import code no and HTS harmonized tariff schedule is basically the same and captured in just one single field in SAP. It is used as well for European trade statistics such as Intrastat and extrastat.

  • Oracle data pump vs import/export utility

    Hello all,
    What is the difference between Oracle Data Pump and Import/Export utility? which on is the faster?

    Handle:      user9362044
    Status Level:      Newbie
    Registered:      Jan 26, 2011
    Total Posts:      31
    Total Questions:      11 (7 unresolved)
    so many questions & so few answers.
    What is the difference between Oracle Data Pump and Import/Export utility?unwilling or incapable to Read The Fine Manual yourself?
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/toc.htm

  • Exporting and Importing Virtual servers with Windows 2012 R2 Hyper V

    Hi
    We are looking for various options / best practice in exporting and importing VSs between Windows 2012 R2 servers. Live migration we tested between servers in same VLAN and it's fine, but some servers are in different VLAN and hardware firewall is there
    in between. So we exported the VS and while importing it, there is no option to export each Virtual disk to separate partitions / LUNs. Is it fine to create a new VS in the new server and just copy the VDs from the other HV host server, or exporting and importing
    is the only proper method?
    Thanks in advance
    LMS

    Hi Laljeev,
    Please allow me to state my understanding of the two methods :
    1.when you want to copy vhd you may need to shutdown the VM , further more if there is some snapshots I think it will be a  trouble .
    2.  "export" you still need to shutdown VM but it doesn't have the trouble with snapshots .
    The other way I will use is , "move"  all of the VM's data to external disk then import it into destination hyper-v server (it can decrease the off-line time of VMs).
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.
    Elton, in Windows Server 2012 R2, we do not need to show down the VM to export it via the Hyper-V Manager GUI or Powershell...
    Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) _________________________________________________________________________________
    Powershell: Learn it before it's an emergency http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx

  • SQL Developer 2.1: Problem exporting and importing unit tests

    Hi,
    I have created several unit tests on functions that are within packages. I wanted to export these from one unit test repository into another repository on a different database. The export and import work fine, but when running the tests on the imported version, there are lots of ORA-06550 errors. When debugging this, the function name is missing in the call, i.e. it is attempting <SCHEMA>.<PACKAGE> (parameters) instead of <SCHEMA>.<PACKAGE>.<FUNCTION> (parameters).
    Looking in the unit test repository itself, it appears that the OBJECT_CALL column in the UT_TEST table is null - if I populate this with the name of the function, then everything works fine. Therefore, this seems to be a bug with export and import, and it is not including this in the XML. The same problem happens whether I export a single unit test or a suite of tests. Can you please confirm whether this is a bug or whether I am doing something wrong?
    Thanks,
    Pierre.

    Hi Pierre,
    Thanks for pointing this out. Unfortunately, it is a bug on our side and you have found the (ugly) "work-around".
    Bug 9236694 - 2.1: OTN: UT_TEST.OBJECT_CALL COLUMN NOT EXPORTED/IMPORTED
    Brian Jeffries
    SQL Developer Team

  • Exporting and Importing Large data set of approx 300,000 rows

    Hi,
    I have a table in db 1(approx 10 columns) and want to copy all the rows(approx. 300,000) from this table with a simple where clause to the same db table in db 2. Both databases are on unix.
    I am executing this from a laptop with windows XP remotely connected to my office network.
    Could someone let me know what is the best way to do this.
    Thanks

    331991 wrote:
    Thanks for the detailed instructions. I however have some limitations:
    1. Both schemas(from and to) are on the same database server. I am the schema owner for both the schemas A logical impossibility in Oracle. A schema is defined by its owner, therefor you cannot have two schemas owned by the same owner. SCHEMA1 is, by definition, owned by user SCHEMA1. And SCHEMA2 is, by definition, owned by user SCHEMA2.
    but don't have rights to create dir's on the server.Then it is of no value to create a directory object in the database. The database's directory object is nothing but an alias to refer to an actual, existing directory on the host server.
    2. I don't want to copy all data from db1 to db2. I want to copy data where id > 5000 in the id column. Also in table in db1 has 10 columns and table in db2 has 15 columns with 10 from db1 with same data types and 5 more .
    How can I export the data to my laptop from db1 and then import into db2 in this scenario?
    You don't. Create a dblink and copy the data directly from the source to the target:
    INSERT INTO TARGET_TABLE VALUES
      (SELECT COLA, COLB, COLC, NULL, NULL, NULL, SYSDATE
       FROM SOURCE_TABLE@SOURCE_LINK
       WHERE ID > 5000);
    Also I am using Oracle 10G.
    Thanks

Maybe you are looking for

  • NON-COMPLIANT: ..oraInst.loc doesn't point to inventory inside ORACLE_HOME

    Hello Gurus: I have just migrated and upgraded EBS 11i to 12.1.1 and now having trouble with the oraInventory setup. I have the three $ORACLE_HOMEs for 11.2.0 rdbms, 10.1.2 & 10.1.3 for the apps. cat /etc/oraInst.loc inventory_loc=/etc/oraInventory i

  • Mac Mini or MBP??

    I am i a postion where i need a potable mac that I can take home at night for securiy reasons. I am a graphic designer and use all te usual Adobe apps. Wondering if a Mac Mini Intel Core i5, 2.3GHz, 2GB RAM or a Mac Book Pro would be best. The cost o

  • FI/ABAP

    how to do customer aging analysis in abap. what r the fields to be used and what is the logic. Ols help me.

  • Document Text Customization

    When you post an FI document you have an option from the menu to go to "Extras" ==> "Document Texts" to enter in a free text field for the FI document.  I believe this functionality is primarily used for AP but we wish to configure this for GL postin

  • Camera and flashlight does not work

    My camera and flashlight will not work after the ios 7 upgrade. I have rebootd and completely wiped out my iPhone and still no camera or flashlight. I have seen where others are having the same problem but no answers.