Database Schema from database

I need a little help. I am trying to import a mySQL database to a schema in JDeveloper 10.1.3. I keep getting an error about varchar cannot have parameters. Can somebody shed some light on this issue?
Thanks,
Alley Davis
Dragon Creative Works

Sorry Lisa,
I posted the SQL Scripts Generated by JDeveloper 10.1.2.
Here are the ones from mySQL
Thanks,
Alley
CREATE TABLE CIP (
CIP VARCHAR(50) NOT NULL,
Description VARCHAR(50) NOT NULL,
ECN VARCHAR(50) NOT NULL,
REV VARCHAR(50) NOT NULL,
GOV BIT NOT NULL,
GOVAuth VARCHAR(50) NOT NULL,
LSAComplete DATETIME NOT NULL,
PUBSComplete DATETIME NOT NULL,
Validated BIT NOT NULL,
Canceled BIT NOT NULL,
Overview TEXT NOT NULL,
LSAWriter VARCHAR(50) NOT NULL,
PUBSWriter VARCHAR(50) NOT NULL,
Priority SMALLINT(5) NOT NULL,
KitAvail DATETIME NOT NULL,
KitOrdered DATETIME NOT NULL,
FileName VARCHAR(50) NOT NULL,
AuthFileName VARCHAR(50) NOT NULL,
Hold BIT NOT NULL,
[Delete] BIT NULL,
Released BIT NULL,
PRIMARY KEY(CIP)
CREATE TABLE CIP2Serial (
CIP VARCHAR(50) NOT NULL,
End_SN VARCHAR(50) NOT NULL,
End_PN VARCHAR(50) NOT NULL,
SN VARCHAR(50) NOT NULL,
PN VARCHAR(50) NOT NULL,
End_UID VARCHAR(5) NOT NULL,
NHA_SN VARCHAR(50) NOT NULL,
NHA_PN VARCHAR(50) NOT NULL,
NHA_UID VARCHAR(5) NOT NULL,
UID VARCHAR(5) NOT NULL,
Complete BIT NOT NULL,
DRF VARCHAR(50) NOT NULL,
Status VARCHAR(15) NOT NULL,
Date_In DATETIME NOT NULL,
Date_Completed DATETIME NOT NULL,
[Delete] BIT NULL,
Released BIT NULL,
PRIMARY KEY(CIP, End_SN, End_PN, SN, PN)
CREATE TABLE CIPDetails (
CIP VARCHAR(50) NOT NULL,
PN VARCHAR(50) NOT NULL,
UID VARCHAR(5) NOT NULL,
UIDEndItem VARCHAR(5) NOT NULL,
[Delete] BIT NULL,
Released BIT NULL,
PRIMARY KEY(CIP, PN)
CREATE TABLE CIPReason (
ID INTEGER NOT NULL,
ClosingReason VARCHAR(50) NOT NULL,
[Delete] BIT NULL,
Released BIT NULL,
PRIMARY KEY(ID)
CREATE TABLE Priority (
Priority SMALLINT(5) NOT NULL,
PriorityText CHAR(15) NOT NULL,
[Delete] BIT NULL,
Released BIT NULL,
PRIMARY KEY(Priority)

Similar Messages

  • What is the best way to create a database schema from XML

    What is the best way to create a database schema from XML?
    i have  a complex XML file that I want to create a database from and consistently import new XML files of the same schema type. Currently I have started off by mapping the XSD into Excel and using Mysql for Excel to push into MySQL.
    There must be a more .net microsoft solution for this but I cannot locate the topic and tools by searching. What are the best tools and way to manage this?
    Taking my C# further

    Hi Saythj,
    When mentioning "a database schema from XML", do you mean the
    XML Schema Collections? If that is what you mean, when trying to import XML files of the same schema type, you may take the below approach.
    Create an XML Schema Collection basing on your complex XML, you can find
    many generating tools online to do that.
    Create a Table with the above created schema typed XML column as below.
    CREATE TABLE youTable( Col1 int, Col2 xml (yourXMLSchemaCollection))
    Load your XML files and try to insert the xml content into the table above from C# or some other approaches. The XMLs that can't pass the validation fail inserting into that table.
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • How to generate database schema from CMP?

    I'm using JDeveloper 10g to design J2EE application in the Up-bottom manner. Then I have written UML model with CMP beans and now I would like deploy the model to the database. Is there a wizard to automaticly generate database schema from CMP beans?
    Marek

    Here are some links that might help you:
    The Oracle XML Developer's Kits (XDK) contain the basic building blocks for reading, manipulating, transforming and viewing XML documents. Includes XML Schema Processor: supporting Java, C, and C++, allows use of XML simple and complex datatypes.
    http://otn.oracle.com/tech/xml/xdkhome.html
    Building Server-Side XML Schema Validation
    Discusses how XML Schema can be used within Oracle9i to validate XML documents.
    http://otn.oracle.com/tech/xml/xdk_sample/xdksample_093001.html
    How XML Schemas Simplify Dynamic Content Management
    With XML Schema now a W3C Recommendation, compare Document Type Definitions to XML Schema.
    http://otn.oracle.com/tech/xml/htdocs/SchemDTD.html
    Regards,
    -rh

  • Difference Between Database Schema and Database User Account ??

    First i would like to know what an Oracle Database schema exactly is ?
    And what is it for and also What is it's use ?
    Later the exact "Difference Between Database Schema and Database User Account".
    I googled about it but i'm unable to find out it's The difference,
    Please try to explain in a simple manner........
    Thank you very Much in Advance..........

    user13655582 wrote:
    Greate example. but i would like add one more point..
    a user is a schema and schema is a user. but when this applies to the user that he become a schema, only if he has got some objects. so we can say while creating the user which dosent contain any objects called simple user account but afterwords when he has got an objects then we can say its a schema as the above user has shown you through the exampleIt is just word-play. There is nothing in like a 'status' indicator to say "USER_A is just a user but USER_B has become a schema". Many people use the terms "user" and "schema" interchangeably, and some very good DBAs will insist this is correct. I don't disagree with them even though I usually try to make the distinction.
    In a typical application, all of the objects (tables, procedures, etc) that implement the app will be owned by a "application schema owner" - a user which exists for the sole purpose of owning the schema. Said user will have no privileges at all .. especially not CREATE SESSION. Except for possible maintenance activity no one ever actually connects as this user. User accounts are then given to actual humans who connect with their own accounts. The accounts have the necessary system and object privileges granted to them - via a role. One could also create a special account (let's call it APP_ADMIN) that is used for maintenance and batch operations within the application.

  • How to create the database schema from an existing TimesTen database ?

    Hello everybody,
    I'm a newbie to TimesTen database. Before doing complicated sql queries, I would like to obtain the database schema of TimesTen DB. I'm looking for a way to extract the schema of database (tables, keys, links between tables ...). When I was working on other db like postgreSQL, I was able to obtain the sql script of the database (for exemple, in order to re-create the database in an other server). Some software like PowerAMC was able to built the database model from these scripts.
    Do you know a way to obtain the same with TimesTen database ? Or with an other way ?
    Regards

    Hi,
    Take a look in the docs at ttSchema, this might do the trick.
    http://download.oracle.com/docs/cd/E13085_01/doc/timesten.1121/e13069/util.htm#autoId27
    Tim

  • Upgrade oracle database schema from 10.1.4.3 to 10.1.4.5 BP15

    hi,
    Can anyone please help me in the detailed process for upgradation of schemas from 10.1.4.3 to 10.1.4.5 BP15
    Oracle database 11g
    thanks

    This is the XE forum - is this question related to XE ? if not, pl post in an appropriate forum
    HTH
    Srini

  • Creating xml schema from database attributes

    Hi,
    I am trying to generate dynamic xml schemas from a java program.
    Please suggest me some solutions.
    The scenario is like this.
    The input to the java program is a table[oracle] name
    and based on that table's column headers, i need to define and
    create the xml schema dynamically.
    The purpose is that at a later point of time, i may
    need to copy the content of the database to xml files.
    Please reply with your suggestions.
    Thanks in advance,
    Dilip

    XML Schema itself is a well formed XML document. You can write a small utility class which can do this for you by using any XML API available in Java.
    Thanks,
    Tejas

  • How to Request Database Schema from a Linked DB

    How does one Request Database Schema to be added to your workspace when that Schema is in a linked DB ?

    You can't do that.
    Scott

  • Selecting all user's (scheme) from Database

    Hi,
    I'm trying show all user from my database using this command:
    select username from dba_users;
    It work.. but I'd like see just my user's and not system user like Sys.. System etc.
    Could anyone help me ?
    Yours
    Fernando.

    hum..
    I mean... user like thoses...
    In my Select apear also
    OUTLN
    DBSNMP
    TRACESVR
    PERFSTAT
    To me.. theses are "strange" users. I'd like see just the users that I create...
    do u understand me ?
    I belive exist one field in.. some table to filtre them..
    anyways..
    Thank you by your help.
    Yours
    Fernando.

  • Dblink for database 10G from database 8i

    I have created dblink with this syntax in database( 8i) to connect to database (10G)
    CREATE PUBLIC DATABASE LINK ORCL CONNECT TO SOUTH
    IDENTIFIED BY SOUTH USING 'ORCL';
    Database link created no issue but when I am trying to connect to South schema
    in ORCL database I am getting this error.
    ORA-02085: database link ORCL.US.ORACLE.COM connects to ORCL.REGRESS.RDBMS.DEV.US.ORACLE.COM
    It was working fine when I am connecting to target database 8i.
    Is there any issue of database version or something else?

    Set global_names to false and try again.

  • Workspace to parse SQL statements from multiple database schema's

    Hi ,
    When go through the following link of workspace admin user :
    Home>HTML DB Workspace Administration>Manage Services>Schema Reports>Workspace Schemas there I saw "Your workspace has the privilege to parse SQL statements using the following database schemas. Note that the terms database schema and database user can be used interchangeably.
    " at the right pane.
    So how can i make my workspace to parse SQL statements from multiple database schema's ?That must be listed there .But i have only one schema in view ? Can i make it multiple ?If then How ?
    Anybody have an idea ?
    ROSY

    Assign as many schemas to your workspace as you want using the administration app. Read about it in the doc.
    Scott

  • How to create a link between database schema?

    Hi,
    I have created database link between two database schema (From DBSchema2 i have created database link for DBSchema1). From DBSchema2, i have quried one table (This table is present in DBSchema1). But it throws an error says that Table or View does not exist. Anyone pls tell the detailed way to create database link between schema??
    Thanks,
    Sathish kumar D

    Yes iam trying to Archive
    I said achieve not archive. Anyways so you are trying to archive the data. Can you just detail your requirement ? What exactly do you want ?
    Only few tables will be moved to Archive Schema and other foriegn key tables will have a reference to the Live Schema. So how i can create the link between the Archive Schme to Live schema?
    There is no question of creating database links between 2 schems. It is pure stupidity. If you want to access any object from another schema grant proper privileges and create a synonym for the object. Database links are not meant for this purpose.
    Amardeep Sidhu
    http://www.amardeepsidhu.com

  • Create database tables from an xsd

    Is it possible to generate database table from a given xsd using toplink ?
    I want to use these tables to persist java objects obtained by unmarshalling the xml (corresponding to this xsd).
    Thanks in advance,
    Mahima

    Hello Mahima,
    Although you could use TopLink to generate a database schema from an XSD using a combination of wizards available in the TopLink Workbench, the resulting database schema would probably not be an optimal design. If you're interested we can talk about how to use this approach as a guide.
    Is your main use case the generation of a database schema or the actual movement of database data to/from XML?
    Using a combination of TopLink's object-relational and object-XML support to move data between XML and a relational database is a valid pattern. Refer to the discussion thread below for some approaches at setting up the metadata.
    TopLink-JAXB : Creating and Mapping tables from Toplink-JAXB POJOs.
    -Blaise

  • Create local oracle xe version of production database schema

    Hi,
    I'm not sure whether this is possible but I would like a team to have their own versions of the current live database schema content running on their own local machines using oracle xe. I've done a fair bit of research but cannot for the life of me work out if it's possible. I have no direct access to the live servers except a read only ip address, port, schema username and password so am unable to create directories or database links. What I would like to do is a direct import of all tables on the database schema from the remote server to a local database. The ideal solution is to use the impdp command but I'm unsure of the format of this command when the import is coming from a remote server as I am not allowed to logon to the live server for obvious reasons. If possible I would like to script it so avoid editing tnsnames.ora but if this is unavoidable then I will have to live with this.
    Can I create a database link from my laptop to the remote server and then run the impdp? If so, what would be the format of the command given I have to use the ip address, port etc...
    Sorry if this is a basic question but I would like my team to be completely independant from the network if at all possible.
    Hope someone can help me.
    Gareth

    What I would like to do is a direct import of all tables on the database schema from the remote server to a local database. Of course you know the XE database limits...
    That said, have a look at NETWORK_LINK parameter.

  • Upgrade Database schema of ultralite in iOS

    Hi,
    I am trying upgrade schema of ultralite using sql script file in iOS. I am using the below statement to upgrade schema
    "ALTER DATABASE SCHEMA FROM FILE".
    I was able to upgrade ultralite successfully till iOS 8.1.1. But execution of the above statement is getting failed in iOS 8.2.
    ExecuteStatement return bool value whether success/failure. So,I was unable to get the root cause or error.
    Please help me to solve this issue.
    Thanks,
    Suman

    You can use the ULConnection::GetLastError() to access the error details.
    if( ps->ExecuteStatement() ) {
       const ULError * error = ulconn->GetLastError()
       // get info from the error object to help determine the problem
    The error object will show the SQLCODE and error parms in the debugger or you can implement a more detail error handler using the information accessible from this object.
    If you have question about the error , please post the error details.

Maybe you are looking for

  • My iPod is no longer recognized by my computer

    Hello, I'll try to explain what is happening. When I connect my iPod into the computer it's no longer recognized as a drive. It recharges ok, but I simply can't do anything more. I've tried probably all the articles on Apple site, the only thing I co

  • Please is there anyone who can help me?

    Hi there, A few days ago i wrote a thread in project swing forum about a problem that i have with the JFileChooser and the fact that i am not able to set the focus to a different JComponent... http://forum.java.sun.com/thread.jsp?forum=57&thread=2003

  • Why do i get charged $1.00 to my credit card just for signing up an Apple ID?

    I have to put in my credit card information in order to create my Apple ID so I did. And when i checked my bank account it says "ITUNES MUSIC STORE AUSTRALIA" charged for $1.00. And I'm sure that was for signing up the apple ID because I've never put

  • DBMS_SCHEDULER VS DBMS_JOBS

    Could you tell me anyone and help me DBMS_SCHEDULER VS DBMS_JOBS --I WANT PERFORMANCE WISE DIFFERENT ONLY Regards, Annappan A

  • ATV2 Stuck in updating

    Trying to update. ATV is stuck in updating around 75% phase 1 of 2. I have a 30 Mbps internet connection. Is there anything I can do to get this moving and avoid turning it into a paperweight? Thanks.