How could we read the XML data from a table using BODS.

Hi Guys,
My requirement is , As the OLTP system  consists of a table called person which consists of a column demographics. so how could i read this XML data which is in one column of an SQL table called persons. As this XML data will populate the remaining fields in my target using BODS.
Regards,
Amjad.

Hi Amjad,
I am afraid there ain't any direct method to extract XML field from a data base.
Indirect way could be converting the whole table (instead of one field) into XML format and then extract one field from it!!
Regards,
Mubashir Hussain

Similar Messages

  • How can i extract the particular data from Base tables

    Hi
    I have some Base R/3- Tables . I need to exact the data from these base tables.
    But i need to select some type of datarecords(eg: select Material Documents from MSEG and MKPF tables based on movement types 261,262).
    Something like that . So how can i select the particular category datarecords from base tables. Anyway im going to create the Custom DataSource.
    So please let me know . how can i extarct tha particular data from base tables
    kumar

    Hi Venkat
    See i have some 5-tables . I need to extarct from these tables.
    first i need to extract the data from one table fully.
    Then i need to extarct the data from second table based on profict centers, company codes of first table.
    Then i need to extract the data from third table based on profict centers of first table and movement type = 2p,2n,2s condition.
    So how can i extarct like this data from multiple tables.
    Please let me know
    kumar

  • How can I read the trace data from Agilent(HP​)8510C in C++ using NI488.2 and PCI-GPIB ?

    Hello! I am trying to develop an application in C++ for measurements with Agilent(HP) 8510C network analyser using NI488.2 and National Instrument's PCI-GPIB card. In HPBASIC the trace data is read using OUTPDATA command which contains PREAMBLE, SIZE and then the data string in real and imaginary pair for the required points. The ibrd function gives data only for one point. Kindly guide me how I can read the whole trace and and separate out the real and imaginary data values. Regards, kapil

    Hey Kapil,
    It seems that in HPBASIC you were using an instrument driver for the 8510C. OUTPDATA is not a native HPBASIC function. National Instrument has similar instrument drivers for LabVIEW and CVI.
    http://zone.ni.com/idnet97.nsf/9b2b33e1993d8777862​56436006ec498/7b235254f3881ddb862568ab005fbd2e?Ope​nDocument
    http://zone.ni.com/idnet97.nsf/9b2b33e1993d8777862​56436006ec498/24ca7db880ab78ae862568ab005fbc0f?Ope​nDocument
    For example in the CVI instrument driver you will find a source file called hp8510.c. In the source code you will find a function called hp8510c_dataInRaw that sounds similar to the function that you described.
    Note that this example is designed for CVI, but it is possible that you could extract the information you need for C++. If
    you had a copy of CVI you could just add the files downloaded from the instrument driver to a project and then compile and run the project. It already contains a ready to run example that allows you to capture data and use your instrument.
    If you want try CVI you can download an evaluation copy on-line at http://ni.com/lwcvi/launch.htm.
    I hope this helps out,
    JoshuaP
    National Instruments

  • How to retrive the blob data from a table using sql query

    Hi gurus,
    I have a table which has " BLOB "content in a column .I want to view the data From BLOB column using sql query .It would be helpfull If some one share their idea.
    Regards,
    vardhani.

    You can use data templates.
    See this: http://blogs.oracle.com/xmlpublisher/entry/blob_clob_raw_and_looooong
    http://blogs.oracle.com/xmlpublisher/entry/inserting_blobs_into_your_repo
    Thanks,
    Bipuser

  • Alternative manner against subquery to read the first date from a table

    Hi,
    in order to improve the query performance, f.e. is it possible to re-write this query with a subquery:
    SELECT OrderId, Customerid,
    (SELECT TOP 1 Address
    FROM Customers
    WHERE CustomerId = Orders.CustomerId and Effective_Begin_Date <= Orders.OrderDate
    ORDER BY Effective_Begin_Date desc) as CustomerAddress
    FROM Orders
    by using a Join?
    Many thanks
    P.S.: this is an example and not a real working case.

    To be honest, I think you'd better be served with a view that calculated the begin and end date for a customers address, and then used that to join to in your queries.
    DECLARE @orders TABLE (orderID INT IDENTITY, customerID INT, orderDate DATE)
    DECLARE @customers TABLE (customerID INT, address INT, effective_Begin_Date DATE)
    INSERT INTO @customers (customerID, address, effective_Begin_Date) VALUES (1, 1, '2015-01-01'),(2, 2, '2015-02-01'),(3, 3, '2015-02-02'), (1, 4, '2015-02-01')
    INSERT INTO @orders (customerID, orderDate) VALUES (1, '2015-01-01'),(2, '2015-02-01'),(2, '2015-02-01'),(2, '2015-02-02'),(3, '2015-01-01'),(3, '2015-02-02'),(1, '2015-02-05')
    ;WITH customerAddress AS (
    SELECT c1.customerID, c1.effective_Begin_Date, DATEADD(DAY,-1,c2.effective_Begin_Date) AS effective_End_Date, c1.address
    FROM @customers c1
    LEFT OUTER JOIN @customers c2
    ON c1.customerID = c2.customerID
    AND c2.effective_Begin_Date = (SELECT MIN(effective_Begin_Date) FROM @customers WHERE customerID = c1.customerID and effective_Begin_Date > c1.effective_Begin_Date)
    SELECT orderID, c1.customerID, ca.address, ' ', *
    FROM @customers c1
    INNER JOIN customerAddress ca
    ON c1.customerID = ca.customerID
    AND c1.address = ca.address
    LEFT OUTER JOIN @orders o
    ON c1.customerID = o.customerID
    AND o.orderDate BETWEEN ca.effective_Begin_Date AND COALESCE(ca.effective_End_Date,CURRENT_TIMESTAMP)
    ORDER BY c1.customerID, o.orderID
    SELECT OrderId, Customerid,
    (SELECT TOP 1 Address
    FROM @Customers
    WHERE CustomerId = o.CustomerId
    AND Effective_Begin_Date <= o.OrderDate
    ORDER BY Effective_Begin_Date desc) AS CustomerAddress
    FROM @Orders o
    I've mocked up your customer and order tables here, and used a CTE in place of a view. There's a couple of reasons to go this route, but the primary one is once the view is created you have one object thats controling the logic - one place to troubleshoot,
    one place to change. 

  • How can I read the serial data from my mouse on com 1?

    I just started using LABView so please have patience with me!
    An error message says the resource is valid but VISA can not open a session with the device, in this case a Roller ball cannected to the comm port. Obviously windows is already using this device, I don't want to over ride it just monitor it.

    If you are using LV 7 the attached VI demonstates how to use the new functions that are now included with LV.
    I just stumbled across these earlier today and they worked right out of the box.
    Have fun,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    mouse_position.vi ‏90 KB

  • I'm trying to read some XML data from temperature logger over my network. I'm using LabView version 2009 sp1. I'm using the URL Get Document Vi. It works fine when using Internet sites like google or foxnews etc...

    I'm trying to read some XML data from temperature logger over my network.  I'm using LabView version 2009 sp1.  I'm using the URL Get Document Vi.  It works fine when using Internet sites like google or foxnews etc...
    When I use it with my temperature logger most of the time I get an Error 66...but some times it does work and actually retrieves the document. 
    I can use the same address "http://172.22.21.68/XMLfeed.rb" (Internet Explorer or Google Chrome) in my browser and get a response every time.  When accessing from my browser the server in the temperature logger does take around 6 seconds to respond, but it does respond every time. 
    Is the URL Get Document Vi exceeding a timeout?  If so, where can I set it to wait longer?
    Attachments:
    Error 66.jpg ‏183 KB

    It looks like the TCP Buffered Read has a 2.5 sec timeout, I believe that is where I had trouble as well.  Try creating your own URL Get HTTP Doc vi in which you call URL Get Document in normal mode, with an appropriate number of characters to fetch (enough characters so that you capture all the important data in the XML file).
    Attachments:
    ex1.PNG ‏33 KB

  • How we can populate the form data from 2D barcode

    Hi All,
    Can anyone tell me how we can populate the form data from 2D barcode, will this can be done through script(javascript)?.
    Thanks & Regards,
    Faisal Afzal

    I was hoping someone could put me in the right direction here. I am basically doing the same . I am decodeing the information stored in a 2D Bar code and sending this information to an XML file, then I am trying to combine that xml file with a blank PDF template but the process is failing beacuse there are some additional tag fields the XML data from the  Decode->Extract XML process.
    The XML file from the decode process gives the structure below..notice therer some extra tags (lines 2- 4)
    <?xml version="1.0" encoding="UTF-8"?>
    <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">
    <xfa:datasets>
    <xfa:data>
    <form1>
    The XML structure that is expected by the PDF template is as follows
    <?xml version="1.0" encoding="UTF-8"?>
    <form1>
    So the xml output of the Decode barcode + Extract XML process has three extra lines of tag. Is there a way I could use a process within liveCycle to clean out those three lines in real-time before sending the xml to be recombined with the PDF template.
    Thanks

  • How can I get the XML structure from a flat structure?

    Hi all,
    in my XI SP 12 I use a JMS adapter to read information using the WebSphereMQ transport protocol.
    The structure that I receive have this format:
    <Name_A.KeyFieldValue><Name_A.fieldName_A1_Value>...<Name_A.fieldName_AN_Value>
    <NumberRecordType_B><NumberRecordType_c>
    <Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value>
    <Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value>
    <Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>
    <Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>
    the problem is that in this structure each line is not separated by a carriage return or a comma, I have all the information in a single line:
    <Name_A.KeyFieldValue><Name_A.fieldName_A1_Value>...<Name_A.fieldName_AN_Value><NumberRecordType_B><NumberRecordType_c><Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value>...<Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value><Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>...<Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>
    and the customer don't want to insert a line separator.
    Then, the question is:
    How can I get the XML structure from this structure?
    If possible, I don't want to develop new Module and add it in the JMS Module Sequence.
    PS I have already read the article "How to Use the Content Conversion Module with the XI 3 J2EE JMS Adapter.pdf" and it doesn't seem to help me.
    Best Regards,
    Paolo

    To get context parameters from your web.xml file you can simply get the ActionServlet object from an implementing action object class. In the perform (or execute) method make the following call.
    ServletContext context = getServlet().getServletContext();
    String tempContextVar =
    context.getInitParameter("<your context param >");

  • How can I restore the game data from an old ipod touch to a new one?

    How can I restore the game data from an old ipod touch to a new one?

    Restore it from the backup of the old ipod.

  • How to delete the duplicate data  from PSA Table

    Dear All,
    How to delete the duplicate data  from PSA Table, I have the purchase cube and I am getting the data from Item data source.
    In PSA table, I found the some cancellation records for that particular records quantity  would be negative for the same record value would be positive.
    Due to this reason the quantity is updated to target but the values would summarized and got  the summarized value  of all normal and cancellation .
    Please let me know the solution how to delete the data while updating to the target.
    Thanks
    Regards,
    Sai

    Hi,
    in deleting the records in PSA table difficult and how many you will the delete.
    you can achieve the different ways.
    1. creating the DSO maintain the some key fields it will overwrite the based on key fields.
    2. you can write the ABAP logic deleting the duplicate records at info package level check with the your ABAPer.
    3.you can restrict the cancellation records at query level.
    Thanks,
    Phani.

  • How could I get the Finish10 value from MS Project2010 Server_Reporting database

    I am trying to get the finish10 data from project server using SQL.
    But it seems the finish10 column is not in MSP_EpmAssignment_Userview or MSP_EpmTask_Userview.
    So could you please help me to find it?
    Thanks.

    Hi,
    try to extract information from MSP_EpmTaskBaseline.
    This is Sql query
    SELECT MSP_EpmTask_UserView.TaskName, MSP_EpmTaskBaseline.TaskBaselineFinishDate, MSP_EpmTaskBaseline.TaskBaselineStartDate,
    MSP_EpmTaskBaseline.BaselineNumber
    FROM MSP_EpmTaskBaseline INNER JOIN
    MSP_EpmTask_UserView ON MSP_EpmTaskBaseline.TaskUID = MSP_EpmTask_UserView.TaskUID
    WHERE (MSP_EpmTaskBaseline.BaselineNumber = 10)
    if doesn't work try to rebuild your reporting database.
    Hope this help you.
    Jalal Blali MCTS, MCITP
    Thanks for the help, but I'm trying to extract columns named [finish10], not [baseline1 ~10 finish].

  • How can I read the trace data into LabVIEW for E5071B

    HI 
    I am setting up the measurement using vector network analyzer (VNA) E5071B controlled by NI 488.2. How can I read the trace data into LabVIEW and display on the graph? If anyone having an idea or know well about this process please give me the suggestion, I will much appreciate it.
    Many Thanks

    You want to start with the driver
     In case you do not know it, you can do the driver search in LabVIEW from Tools>Instrumentation>Find Instrument Drivers. You might also want to bookmark the Instrument Driver Network for information on what a driver is and how to use it.

  • "Could not get the audio data from the file" error

    Hi
    I get a lot of "Could not get the audio data from the file" errors when opening a project. Sometimes they crash Premiere Pro CC 7.01 (Mac). But if not Premiere works as usual, with the audio.
    I tried to convert the audio files (coming from Audition) from 32 to 16 bit. It worked while opening a project once, but not the following times.
    Where can it come from ?
    Edit: I also get this error when importing audio: "Error: Premiere Pro version 7.0 is not compatible with the Premiere Pro Plug-in version 5.7.4". Maybe it is connected.

    Got it! It was the Smartsound plugin making trouble. Got rid of it and no more errors.

  • How to select data from a table using a date field in the where condition?

    How to select data from a table using a date field in the where condition?
    For eg:
    data itab like equk occurs 0 with header line.
    select * from equk into table itab where werks = 'C001'
                                                      and bdatu = '31129999'.
    thanks.

    Hi Ramesh,
    Specify the date format as YYYYMMDD in where condition.
    Dates are internally stored in SAP as YYYYMMDD only.
    Change your date format in WHERE condition as follows.
    data itab like equk occurs 0 with header line.
    select * from equk into table itab where werks = 'C001'
    and bdatu = <b>'99991231'.</b>
    I doubt check your data base table EQUK on this date for the existince of data.
    Otherwise, just change the conidition on BDATU like below to see all entries prior to this date.
    data itab like equk occurs 0 with header line.
    select * from equk into table itab where werks = 'C001'
    and <b> bdatu <= '99991231'.</b>
    Thanks,
    Vinay
    Thanks,
    Vinay

Maybe you are looking for

  • Blue Screen Mayhem....Can someone help me please.

    Thanks for all the advice, Now for a conundrum that is linked (I bealive) to the IRQL....Blue Screen Stop Error. as a reminder the system hardwear setup at current is this: 1) 1x VData 333mhz PC2700 256mb 2.5v Ram (installed in slot one) 2) 1800+ AMD

  • Using Flex Code in Flash

    Hi everyone, I really hope you can help me with this. Here's my situation... I've developed a flex application that connects to another java application using "BlazeDS". It works great!! The reason why I did this is because I'm developing (along with

  • Prob in populating the current date in drop down

    I want to get the current date into a drop down list. There are three drop down. 1.Month 2. Day 3. Year. If anytime the page loads there should be current date in the drop down list. and if any one wants to change he can change the date accordingly.

  • Size of Photoshop files for FC.

    Greetings. I am scanning some photos that I am going to use to make a slide show in FC. I will probably be doing a lot of panning and zoom-ins very close. These will all be either .psd or tiff files. My thinking is that a PS image around 4000x2600 @

  • How do I add an attachment to an email?

    How do I add an attachment to an email?