All MY Dear Solve This  Problem because Its Urgent

Hi dear
i want to Execute this procedure Exec Sp_Xml_PrepareDocument @hDoc Output, @XMLText
Actully i done this think in SQL so if any way to this think in Oracle 9i which is given bellow.
CREATE Procedure usp_LeadUpload
          @XMLText     Text,
          @UserId          Varchar(20) = Null,
          @ProductId     int
As
     Declare @hDoc Int, @Error Int
     Set @Error = 0
     Begin Transaction
     --// Prepared XML Document. //--
     Exec Sp_Xml_PrepareDocument @hDoc Output, @XMLText
     Set @Error = @@Error If @Error <> 0 GoTo ErrorHandler
     Declare @tblLeadTemp Table
          isrno varchar(100) null,CustomerName varchar(50)null,PhoneNo varchar(100)null,
          Area varchar(100)null,UpLoadMonth varchar(100)null,UpLoadYear varchar(50)null,UpLoadWeek varchar(50)null,
          USMName varchar(100)null,USMId varchar(100) null
     Insert Into
          @tblLeadTemp
     Select
     From
          OpenXML (@hDoc, '/NewDataSet/Table', 2) --// 2 specifies Use the element-centric mapping. 1 is for attribute-centric mapping //--
     With
          SERIALNUMBER varchar(100),CUSTOMERNAME varchar(50),PHONENO varchar(100),
          AREA varchar(100),UPLOADMONTH varchar(100),UPLOADYEAR varchar(50),UPLOADWEEK varchar(50),
          USMNAME varchar(100),USMID varchar(100)
          )

does ur XML document / data is in table? If yes, then u can do like to read the available data:
drop table xml_table;
create table xml_table(id number, xml_data xmltype)
insert into xml_table values(1, xmltype
('<?xml version="1.0" encoding="ISO-8859-1"?>
<Snapshot Name="Current Version" xmlns:xlink="http://www.w3.org/1999/xlink">
<client>
<id>1</id>
<name>XYZ</name>
</client>
</Snapshot>'));
select extractValue(value(x), '/client/id') client_id ,
extractValue(value(x), '/client/name') client_name
from xml_table x ;
tell me, if i m wrong,
Mahesh
Message was edited by:
Mahesh Bote

Similar Messages

  • HT4970 I bought a printer Polaroid POGO, MINI PRINTER. I can not connect it via Bluetooth with my iPhone 4. Is there an app to solve this problem, because I'm Judicial Medical Expert, and I need this tool for quick things. grateful

    I bought a printer Polaroid POGO, MINI PRINTER. I can not connect it via Bluetooth with my iPhone 4. Is there an app to solve this problem, because I'm Judicial Medical Expert, and I need this tool for quick things. grateful
    Max Cavichini
    Medical Legal Expert
    Problem ipad and i phone

    This has never been a feature of iphone,ipod touch or ipad.

  • After I upgraded to ios6 , my iPad gmail was something wrong because it always hang and switch off the App automatically . It is very irritating . Please let me know how to solve this problem because I have to read my email everyday . Thanks .

    After I upgraded to ios6 , my iPad gmail was something wrong because it always hang and switch off the App automatically . It is very irritating . Please let me know how to solve this problem because I have to read my email everyday . Thanks .

    Double tap Home button, delete Mail from multitask-bar.
    Do a reset (Hold Sleep/Wake and Home buttons about 10 secs or more till Apple logo appears, ignore the Slide to Power Off that appears)
    Note: You will not lose any data.

  • I have a iPhone 5.  In usage, it says i have 2.1 gigs used because of photos and camera.  I have deleted all my photos via iPhoto and now reset the phone back to factory settings in order to try to solve this problem, to no avail. Help!

    I have a iPhone 5.  In usage, it says i have 2.1 gigs used because of photos and camera.  I have deleted all my photos via iPhoto and now reset the phone back to factory settings in order to try to solve this problem, to no avail.   Both iTunes  and the phone say that 2.1 gigs are being used, even though the phone now has nothing on it.  What is going on?

    Yeah it works fine over wifi the problem is when I try to use it over my 3G. It's really stressing me out now.

  • When I close my iPhone and I want to open it to use it again, the opening process takes more than an hour, I regretted to buy the iPhone because of this problem that you do not suffer at all with Nokia,how I can solve this problem?

    When I close my iPhone and I want to open it to use it again, the opening process takes more than an hour, I regretted to buy the iPhone because of this problem that you do not suffer at all with Nokia,how I can solve this problem?

    mostafa182 wrote:
    ... how I can solve this problem?
    The Basic Troubleshooting Steps are:
    Restart... Reset... Restore from Backup...  Restore as New...
    Restart / Reset
    http://support.apple.com/kb/ht1430
    Backing up, Updating and Restoring
    http://support.apple.com/kb/HT1414
    If you try all these steps and you still have issues... Then a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step...
    Be sure to make an appointment first...

  • In IOS7 none of my YouTube movies show up on my site build with iWeb and its YouTube widget. On an iPad running IOS6 the site still works fine, and all movies play well. What is going on,and what can I do to solve this problem ???

    In IOS7 none of my YouTube movies show up on my site build with iWeb and its YouTube widget. On an iPad running IOS6 the site still works fine, and all movies play well. What is going on,and what can I do to solve this problem ???

    It's only Safari/iOS7. Chrome iOS7 works fine.
    Solution?
    Go to YT and grab the code.
    Paste it in a HTML Snippet.

  • When i login to update my existing apps, the login window shows the wrong apple id. and it's all prayed out, i can't change it. how do i solve this problem?

    When I login to update my existing apps, the login window shows the wrong apple id. i cannot change it because it is all grayed out. how do i solve this problem?

    Content and Apple IDs -
    Content is forever tied to the Apple ID that bought it. Apple does not transfer content from one Apple ID to another. Apple does not merge Apple IDs. You will never be able to access your content bought with one Apple ID with a new Apple ID.

  • My daughter has 2 websites she can not fully access because the iPad won't download updates for Adobe. What is Apple doing to solve this problem?

    My daughter has 2 websites she can not fully access because the iPad won't download updates for Adobe. What is Apple doing to solve this problem?

    Flash has been used for more than just displaying videos. The Vote choice your daughter found is one of those flash type sites that will not display on iOS devices. There are now over 100 million iPads, and who knows how many more iPhones out there. Developers who want their content to display on all these devices will have to move away from the old Flash technology.
    There were some version of Flash that ran on other brands of tablets. But Adobe has stopped all development of Flash for all mobile devices. As time goes on and mobile operating systems evolve the no Apple devices will lose their ability to run Flash too. Web developers need to move on to cleaner, more efficient types of programming.

  • HT1212 My Ipad mini disabled because i forget the password. How I can solve this problem?

    My Ipad mini disabled because i forget the password. How can I solve this problem?

    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    Saw this solution on another post about an iPad in a school enviroment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • My dvd player will not let me change regions, it just quits when i do, now its stuck on region 1. Any thoughts how i can solve this problem or get round it in some way?

    My dvd player will not let me change regions, it says i have one more chance to change it, then it just quits when i do, now its stuck on region 1. Any thoughts how i can solve this problem or get round it in some way?

    Usually if you have some kind of hardware failure there is some beeping during POST or most motherboards now have LED indicators to produce and error message based on the type of failure
    So if its bad memory, not place properly, mismatched, processor not inserted properly, mismatched voltage or voltage connector not present etc it beeps or generates the error id.
    Power supplies can be tested for failure. There are some walk throughs for testing just them with a switch, paperclip or a jumper (I'd suggest not doing this if you are not familiar with the dangers of electricity).
    Memory can be tested with memory diagnostics programs like Memtest+
    Processors can overheat if the proper precautions have not been taken usually you will get a POST beep or error code for that.
    If the motherboard has no response then do the basics first:
    Check power connectors and power supply. Once you determine that is not the case move on to other items like graphics cards in all the way or memory.

  • When I try to activate my home sharing on iTune I get this error message."home sharing could not be activated because an error occurred(-2146762487)"  .How can I solve this problem?

    When I try to activate my home sharing on iTune I get this error message."home sharing could not be activated because an error occurred(-2146762487)"  .How can I solve this problem?

    I have a brand new iMac with all the newest updates etc etc, Safari logs me in without any problem but iTunes etc is just not working.. and I have the same message...Any ideas how to resolve this?
    "Home Sharing could not be activated because an error occurred (5506)."

  • HT201210 i have a problem with my iphone 4s when i update the system its giving me error 36 ? and the phone docent want to open! any one please know who to solve this problem

    I cant open or upate my iphone 4s because its give me message erorr 36, please any one know what dose it mean erorr 36 and who i solve this problem.

    Hi mohamed00,
    Thanks for visiting Apple Support Communities.
    I recommend following the method below if you are not able to restore your iPhone and see an "error 36:"
    Resolve specific iTunes update and restore errors
    http://support.apple.com/kb/TS3694
    Check for hardware issues
    Try to restore your iOS device two more times while connected with a cable, computer, and network you know are good. Also, confirm your security software and settings are allowing communication between your device and update servers. If you still see the alert when you update or restore, contact Apple support.
    Common errors: 1, 10-47, 1002, 1011, 1012, 1014, 1000-1020.
    Cheers,
    Jeremy

  • HT201401 When I receive a call my ring tone only sounds 40 seconds or less and then  stops and disconnects the call. What can I do to solve this problem?. I lost a lot of calls because of that.

    When I receive a call my ring tone only sounds 40 seconds or less and then  stops and disconnects the call. What can I do to solve this problem?. I lost a lot of calls because of that.

    Ring duration & voicemail are all controlled by your carrier. Your issue seems to be voicemail...doesn't appear to be setup on your phone. I'm not aware of any carrier that permits a cell phone to ring longer than 30 ~ 40 seconds, so that appears to be normal. Contact your carrier as it looks like your issue is voicemail.

  • TS1559 Because the company does not solve this problem?

    Because the company does not solve this problem?
    My iphone 4s has 14 months of use, this new and does not work!
    So I want a "smartphone" that does not work?
    Here in Brazil, to exchange charged me around 400 dollars. I have not changed because I can not, I paid the apple store around 1,360 dollares and does not work?
    I am very disappointed with the apple!

    Thanks Michael,
    I take the device into Apple and they said that if I pay $ 400 they give me a new one.
    I personally think this is absurd considering that I paid so dearly,
    but in the end, I am very disappointed.
    Probably my first and last iPhone.

  • I recieve SMS and i hear established melody and I do't hear the person on all over SMS. How to solve this problem?

    Problem with an incoming message. For example, during my conversation the second line receives a call, I hear the sound in dynamics such as "piiiip piiiip," but when in this situation I recieve SMS and i hear established melody and I do't hear the person on all over SMS. How to solve this problem? Perhaps someone tell me? save in advance

    Not Charge
    - See:     
    iPod touch: Hardware troubleshooting
    iPhone and iPod touch: Charging the battery
    - Try another cable. The cable for 5G iPod (lightning connector) seems to be more prone to failure than the older cable.
    - Try another charging source
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar

Maybe you are looking for

  • I downloaded 4.0.1 and lost all my Yahoo toolbar apps but still have the Yahoo search bar. How can I get the apps back? Refreshing the "gear" does nothing.

    I have Windows XP and downloaded Firefox 4.0.1. After it was installed 5/7/11, I noticed all my Yahoo search bar apps were missing. Rebooting did not help. Neither did the "gear" on the toolbar next to the yellow Yahoo search box. Internet Explorer b

  • Sequence of Methods Calls

    Hi I still need more clarity on sequence of method calls. I have 2 views within an Application which uses a component controller. I have mapped the I/O plugs to navigate from View 1 to View 2. User clicks on a button on view 1 and navigates to View 2

  • How do i edit numbered lists?

    I often use the numbered list option from the toolbar when composing an email. How do I 1. edit size and font of numbers inserted when using this function? 2. create a line spacing between numbered items? Thank you gom

  • IMac combo drive extremely loud out of the box

    Well our new iMac 17" just arrived and it is gorgeous. When I put in the CD to install Office there was this VERY loud whirring that didn't stop until I completed the installation and removed the CD. I put in another CD and it did this for several se

  • InDesign CC data merge is slow and crashes

    Is there a way to create a data merge in Indesign for a large number of records, and not have it freeze?  I am on PC, using a new computer. I tried reducing the data source to just 6 columns and 5 rows as a test, but it still got hung up. I tried unc