XML database error

Create an employee of the table having (dept_id: number, employee_spec: XMLType).
The employee_spec is a diagram with
emp id, name, email, acc_no, Gestionnairecourrierelectronique attributes, to Joning.
Insert 10 tuples in the employee table. Fire the following queries on the XML database.

(a) retrieve the names of employees.
(b) recover the acc_no from employees.
(c) retrieve the names, the acc_no, enamel of employees.
(d) update the record 3rd in the table and displays the name of an employee.
(e) delete 4 th record from the table.

SQL > connect hr/tiger@bom4;
Connected.

SQL > create table employees
() 2
3 dept_id number (8).
employee_spec 4 sys.xmltype
(5);

Table created.


SQL >
SQL > INSERT INTO employee VALUES
() 2
of 3 100.
4 xmltype)
5 ' < employees >
6 < emp id = "1" >
7 < name > buxant gole < / name >
8 < email > [email protected] < / email >
9 < > 111 acc_no < / acc_no >
10 < dateOfJoining > 1994 - 11 - 16 < / dateOfJoining >
11 < / emp >
12 < / employees > '))
13;
XmlType)
*
ERROR on line 4:
ORA-00904: invalid column name


SQL > INSERT INTO employee VALUES
() 2
of 3 100.
4 sys. XMLTYPE ("< employees >
5 < = '1' emp id >
6 < name > buxant gole < / name >
7 < email > [email protected] < / email >
8 < > 111 acc_no < / acc_no >
9 < dateOfJoining > 1994 - 11 - 16 < / dateOfJoining >
10 < / emp >
11 < / employees > '))
12;
sys. XMLTYPE ("< employees >
*
ERROR on line 4:
ORA-22876: this user-defined type is not allowed or it cannot be used in this
framework

Yep, works fine on 10.2...

SQL> ed
Wrote file afiedt.buf

  1  create table employee
  2  (
  3  dept_id number(8),
  4  employee_spec xmltype
  5* )
SQL> /

Table created.

SQL> ed
Wrote file afiedt.buf

  1  INSERT INTO employee VALUES
  2  (
  3  100,
  4  xmltype(
  5  '
  6  
  7  abhijeet gole
  8  [email protected]
  9  111
 10  1994-11-16
 11  
 12* '))
SQL> /

1 row created.

SQL>

What version of SQL * more you use? Ensure that it is up-to-date with the version of database.

Tags: Database

Similar Questions

  • "XML load error: invalid xml declaration ', SV Version 11.1.2.2.300 (Build 070)"

    Hello

    One of our users of Smart View has a new problem with their link of SV.  Woking in an ad hoc network, they changed some descriptions/names defined around Member and then all of a sudden received the error "XML load error: invalid xml declaration" so they were unable to overcome this error - even after completely logging on the company portal and record then back in.  They would get to the point of choosing an application workspace to connect under the table of connections shared for establishing a new ad hoc connection, but then this error still appears.

    Any ideas/suggestions on a solution?

    Thank you!

    Classic mistake with SmartView. The problem is that one last refreshed point of view users are stored in tables. It is a double-edged sword (part Nice is that's effective/downside, it's that sometimes breaks).

    The solution to this problem is remote in the SQL database behind HFM. Expand Databases ""-> HYPHFM (or similar)-> Tables-> find your application_USERPARAMS-> right click and edit top 200 rows. Find that users "USERMBRSEL" and delete the record.

    This should reset the stored view and allow the user to continue normal.

    Confirm this that my diagnosis is correct is to check if this user can access another application with the smartview, because this error is application specific.

  • Components XML database is in a State not VALID, all seeking dba_registry.

    How to make the component XML valid

    Do you have you recently performed an upgrade?
    Upgrade succeeded? No errors?

    Please reffer to metalink note 243554.1 - how to uninstall and reinstall XML Database (XDB).
    If you are using XDB, then you will need to reinstall it.

  • XML Parsing Error: unexpected scanner place State: jar:file:///C:/Program%20Files%20 (x 86) /Mozilla%20Firefox/browser/omni.ja!/chrome/browser/content/browser/ab

    Madam/Sir,

    I log on this site everyday to make a contribution (http://theanimalrescuesite.greatergood.com/clickToGive/home.faces?siteId=3) and during the last three days, I was unable to connect. Today, I get this message: XML parsing error: State unexpected location parser: jar:file:///C:/Program%20Files%20 (x 86) /Mozilla%20Firefox/browser/omni.ja!/chrome/browser/content/browser/abt

    Best regards

    Peter

    What Firefox locale (UI language) do you use?

    Try a clean reinstall and delete the program folder before Firefox to (re) install a new copy of the current version of Firefox.

    If possible to uninstall your current version of Firefox to clean the Windows registry and settings in the security software.

    • Do NOT remove the "personal data" when you uninstall your current version of Firefox, because this will remove all profile folders and you lose personal data such as bookmarks and passwords including data profiles created by other versions of Firefox.

    Delete the program folder Firefox before installing newly downloaded copy of the Firefox installer.

    • (32-bit Windows) "C:\Program Files\Mozilla Firefox\"
    • (Windows 64 bit) "C:\Program Files (x 86) \Mozilla.

    Your bookmarks and other personal data are stored in the Firefox profile folder and will not be affected by a uninstall and (re) install, but do NOT delete personal data when you uninstall Firefox which removes all Firefox profile folders and you lose your data.

  • Error after installing FF34 on FF33: XML Parsing Error: undefined entity WebIDE

    Hello
    After installing FF34 on FF33 I get a window with this message when I close windows firefox closes too:

    XML parsing error: undefined entity
    Location: chrome://browser/content/browser.xul
    Line number 320, column 5: key < = "" command = "tools: WebIDE ' id = 'key_webide' keycode =" & amp; webide.keycode; "p =" ">."
    < / key >

    ^

    What Firefox locale (UI language) do you use?

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem.

    • Put yourself in the DEFAULT theme: Firefox/tools > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe
  • Cannot add a new account to FireFTP. Get &gt; &gt; &gt; XML Parsing Error: undefined entity location: chrome://fireftp/content/accountManager.xul line number 216, column 17:

    I can't add an additional account to FireFTP. I get a yellow box with this title:

    XML parsing error: undefined entity
    Location: chrome://fireftp/content/accountManager.xul
    216, column 17 line number:
    < label of the menu = "" & charsetMenuMore1.label; "accesskey =" & charsetMenuMore1.accesskey; "datasources ="rdf:charset - menu"ref ="NC:BrowserMore1CharsetMenuRoot">

    ^

    Do not understand the problem, can anyone help please?

    Try the FireFTP update to the 2.0.20 latest version.
    An update for Firefox 32 compatibility.
    https://addons.Mozilla.org/en-us/Firefox/addon/FireFTP/

  • Since the update message "XML Parsing Error: undefined entity location: chrome://browser/content/browser.xul 238, column 5 line number:" all - tried help!

    Since an automatic update ran I get the message

    "XML Parsing Error: undefined entity".

    Location: chrome://browser/content/browser.xul

    Number of the line 238, column 5:

    "< broadcaster-^" < br = "" id = "devtoolsMenuBroadcaster_ChromeDebugger" >
    When I try to open Firefox. I had to go back to Internet Explorer - tried all suggested include removing and then reinstalling Firefox, but still not get Firefox to open - help!
    < / diffuser >

    Can you reproduce in Firefox Safe mode?

    It may be an acceleration addon or material affecting (by making the error).

  • Access 2003 - repeated "You cannot make changes to the database" error

    Hey all,.

    Im having a very strange problem with Microsoft Access 2003, we work with the old databases and when we open them by Access 2003 we get the message "you cannot make changes to objects in database" error, which is expected. However, the laptop began to repeat this message repeatedly about 8 times after the first time that you click on it. Its very annoying to have to keep clicking to get rid of the error message. Its a very strange problem, any ideas on how to solve this problem, or even explain what could of happened will be appreciated.

    Thanks in advance

    PS Ce is not an option for updating the database, we work with a program that uses a database of 97 old and if you update the database the program will stop working.

    Hello

    First of all it doesn't seem that it is a Toshiba laptop failure.
    This looks more like a problem of Microsoft.
    I recommend to check the articles in the Microsoft Knowledge base or / and contact Microsoft technical support.

    I studied a bit and found these pages. Maybe you will find useful information.

    http://www.smartcomputing.com/editorial/article.asp?article=articles/WebOnly/TechSupport/420w10/20w01.asp&GUID
    http://support.Microsoft.com/kb/824260/
    http://support.Microsoft.com/?scid=kb;en-us;824278&SPID=2509&SID=98

    Good luck

  • I tried to view my tabs on other computers and received this message: XML Parsing Error: undefined entity location: on: sync-tabs line number 7, column 1: the window id = "tabs-display" ^ How can I fix?

    "Error message has been: XML Parsing Error: undefined entity location: on: sync-tabs line number 7, column 1: window (weeks =" "3 =" "4 =" "5 =" "7 =" "< =" "^ =" "a =" "Add - on. =" "it y =" ' am = "" a = "" and = "" are = "" avg = "" believe = "" time = "" but = "" impossible = "" some = "" computers = "" firefox = "" for = "" I = "" I = "" id = 'tabs-view' in = "" installed.. = "" it = "" months) = "" = "" on. "" "" "" "" = "" or = "" other = "" p = "" paid = "" remember = "" running = "" sometimes = "" sync = "" tabs = "" version = "" look a = "" was = "" we = "" some = "" when = "" windows = "" worked = "" > < / window > "

    Hello!

    Can you give us some details? When this message display? Is in your phone or your computer? What is your language? More information you can give us the best.

    You use the add-on and Firefox 4? If so, I'll ask you to disable and remove the add-on: Sync is now part of the Firefox browser and you don't need the add-on. [https://bugzilla.mozilla.org/show_bug.cgi?id=644894 some users solved this problem by uninstalling the add-on.]
    ]

  • Speed Dial gives me an XML parsing error: no element found

    Have set up the Speed Dial and also set it as homepage. But when I then open Firefox, speed dial does not work and I get:
    XML Parsing Error: no element found
    Have retried reloading Speed Dial twice, and this happens every time. I am running Firefox 3.6.16.

    There is an extension conflict. See this article: blog of Speed Dial on this problem article

  • I get random failures to load a page with the XML parsing error: entity not defined using firefox 4

    This didn't happen with the version 3 x, nor with the previous v4. Using the arrow to the left and clicking on the previous page request usually works ok. It happens several times a day. Full error is

    XML parsing error: undefined entity
    Location: jar:jar:file:///C:/Documents%20and%20Settings/shirley/Application%20Data/Mozilla/Firefox/Profiles/4txi20jj.default/extensions/ [email protected]! /chrome/bandwidthmeter.jar!/content/netError.XHTML

    392, column 33 line number:

    & netOffline.longDesc;

    I am also getting this error and have been able to understand that its caused by the Bandwidth_Meter_and_Diagnostics - 1.2.5.xpi. This deactivation seems to have stopped the error, but is a major nuisance.

  • in the bar of persona, I get a msg with XML Parsing Error start: can a very long message. FireFox 3.6.13

    XML Parsing Error: not blocked cavities symbolic location: chrome://brower/content/brower.xul line number 1, column 13546: TOOLBAR > < COMMANDS >

    If you have installed, disable a toolbar for Amazon, until an updated version is available. In addition, you can disable the toolbar, as it is at the origin of the problems for many users not being able to open new tabs.

  • Multisim database error

    I have a problem running Multisim Power Pro version 10.1 (10.1.357). I get the error 'Could not open database.' created with a previous version of your application After clicking on OK, I get a different error message: "access to the database error. Data are not available". The same error message "cannot access the database" appears for databases of the company and the user as well. Once the completed application loading, I can't place the components because of the issue of the database.

    In the top menu bar, if I go to tools->-> Database Manager database, the application crashes and I have to use Windows Task Manager to close. The event log shows that 'database.dll' is the reason why the multisim.exe watered.

    I am running Windows Vista Ultimate SP1 (32-bit) with full administrator rights. I never installed earlier versions of Multisim on this particular computer before. The strange thing is that the program actually worked the first time I installed it, but I started getting errors after windows update ran. Windows Update shows that only my office 2007 applications have been updated.

    I deleted all the files of database 3 and performed a repair of the application using the installation disc, but that has not solved the problem. I also uninstalled multisim and deleted the folder of the ProgramData directory database but it does not work as well

    Furthermore, I am under Labview 8.5 on this same computer and have no problem with him whatsoever.

    Any help is appreciated.

    After sleepless nights and countless debugging I finally solved my problem with Multisim.

    It turned out that the problem lied in the windows registry. Some of the parameters of register in [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engines\] and [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\ISAM Formats] reduced to nothingness.

    The values of Excel, Exchange, jet 2.x jet 3.x, Lotus, Paradox, Test and xBase ISAM Formats were all empty. Fortunately, I have an another Vista PC which I was able to export the missing values to restore the PC problem. Multisim is now underway!

    BTW, one of the jet 3.x registry values contain 'Win32"="C:\Windows\system32\msrd3x40.dll' which was the main reason why Multisim broke. Multisim could not determine msrd3x40.dll is located in the System32 folder after removing the request of UltraLibrian.

  • XML parsing error. no evidence that that is line 1 during the installation of the audio bible Download Manager

    I try to install the Download Manager audio bible, when this error screen appears.

    XML parsing error. any element that is on line 1

    Hello

    1 did you change on your computer before this problem?

    2. what operating system is installed on your computer?

    What version of the operating system Windows am I running?

    http://Windows.Microsoft.com/en-us/Windows7/help/which-version-of-the-Windows-operating-system-am-i-running

    3. are you using Internet Explorer? If Yes, what version of IE are you using?

    Find out what version of Internet Explorer you are using
    http://Windows.Microsoft.com/en-us/Windows7/find-out-which-version-of-Internet-Explorer-youre-using

    I would say download you the application and install it again and then check.

  • "Backup of database error" message blackBerry Smartphones

    Hello

    I have the version "BOLD" 4.6.0.162 and Desktop Manager version 4.7 working with XP SP3.  In the past, I got my phone from backup.  Until several weeks ago, I am unable to back up my phone and received the message "backup of databases error."  It happens at different stages during the progress of the transfer.

    I followed the suggestions posted by françoys, http://supportforums.blackberry.com/rim/board/message?board.id=Bold&message.id=3676&query.id=57237#M3676, but still no go.

    My questions are:

    1 has any who found the solution yet?

    2. can I still perform the update (System, critical applications software, etc. via Desktop Manager) without losing files data base and music and picture my contact?

    3. is the advanced option in the backup and recovery solution?

    Thank you.

    Ok.  I solved the problem.

    I have 'forward' option of backup and moved the point by point.  There were a few elements indicated errors then I "cleaned" them.  Once all items have been moved, I did regularly back up again.  It worked fine now.

    Hope this might help other who is facing a similar problem.

Maybe you are looking for