Query language for XML that is going to remove use of database

Friends,
I want to know whether my idea is feasible or not.
I want to make a query language similar to SQL for XML which is going to remove the need for database for a large extent.
Their will be queries for making table,extracting data,making foreign key all through XML and no database.
I just want to know that is their any market value for such a project and will it be sellable,so that i can start working on it.

There is no way to judge any future market for such a thing.
As it is, XML is widely abused, having mutated from its original purpose, a markup language readable by both machine and human, to a general data interchange language. It winds up being extremely slow and convoluted, in some cases overwhelming the hardware when a simple and common error occurs, then having to catch up. A big part of this is the silly and redundant method of defining metadata, again and again and again and again.
So what you want to do is create a database which will be highly formatted with redundant information, dynamically. This is silly, why does data need to be stored in a human readable format? It doesn't always even need to be presented in a human readable format! Why the heck would you need to read the bits of an mp4? Steganography?
What you are proposing is the exact opposite of what is needed. What is needed is a way to describe metadata for many different kinds of data, in a manner that can be interpreted by both man and machine at appropriate times, extensible for various paradigms.
What can be sold, on the other hand, is another question entirely, and not technical at all.
First definition of database that pops up during a search: an organized body of related information
Why would you want to get rid of that?

Similar Messages

  • Query language for XML documents

    Which is a better (efficiency in terms of memory management) query language for interacting with XML documents.The query language shouls support 'insert', 'delete', 'update' and 'select' commands. How fast is database as compared to XML ( database being replaced by XML) when only 'insert' n 'select' commands are issued?

    Hi,
    I suggest you use the Sunopsis JDBC for XML driver that will let you perform all kind of SQL statements on your XML files. It is a type 4 driver so it's very use to use. You may have more information and download it here:
    http://www.sunopsis.com/corporate/us/products/jdbcforxml/
    Hope that will help
    Simo Fernandez

  • Do you guys have a replacement type of homepage for Igoogle that is going away?

    Do you guys have a replacement type of homepage for Igoogle that is going away?

    There are lots of replacement pages possible for iGoogle.
    *http://www.techsupportalert.com/content/6-great-alternatives-igoogle.htm
    *http://www.google.com/search?q=igoogle%20home%20page%20firefox

  • Query language for CTXRULE MATCHES

    I am trying to build an alerting application when, on receipt of a new XML document, user's are alerted if the document matches one or more of the profiles that they have defined. I have created a CTXRULE index that does this but only with very simple profiles. For example ABOUT(soccer), which is the example in the Text documentation.
    Is it possible to create more complex queries, for example using WITHIN to only match within defined elements of the XML document. Is there a definition of the query language that can be used with MATCHES and are there any good example?
    Thanks
    Martin Haigh

    Omar,
    Thanks for the reply. I had actually found that document myself but I couldn't get the WITHIN clause to work and that document conflicted with the ORACLE documentation at:
    <a href="http://download-west.oracle.com/docs/cd/B10501_01/text.920/a96517/ind.htm#1010647>  Do you have any examples of using WITHIN?
    Thanks
    Martin                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Query regarding FOR XML PATH

    I have found a script that contains the following:
    stuff(
    select
    ', ' +
    fielda
    from
    tablea
    for
    xml path (''),
    type).value
    'nvarchar(max)')
    ,1,2,
    anotherfield
    This will concatenate field a and the stuff will remove the leading comma.
    I have amended the script to the following and it still works:
    Stuff(
    select
    ', ' +
    fielda
    from
    tablea
    for
    xml path (''))
    ,1,2,
     Afield,
    Please could somebody tell me why the following has been inserted after the
    for xml path ('')
    section
    type).value
    ('.', 'nvarchar(max)')

    Erland - I just did a quick test. The differences weren't as bad as the subtree estimates would have indicated but they weren't exactly close either. The typed version (on average) took just over twice as long to execute.
    Test conditions were as follows:
    AdventureWorks2012 database 
    On average, the non-typed version executed in ~190 ms and the typed version executes in ~405 ms.
    Test bed was the following:
    @@VERSION = 
    Microsoft SQL Server 2012 - 11.0.2218.0 (X64) 
    Jun 12 2012 13:05:25 
    Copyright (c) Microsoft Corporation
    Developer Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: )
    Hardware = 
    Processor: Core i7-4770K @ 3.50GHz (4 physical cores / 8 logical cores)
    Ram: 16.0 GB @ 2400 MHz
    HD: SSD
    Here are the two test scripts that I used... (each run in it own SSMS tab)
    -- Typed version --
    DECLARE @BegDT DATETIME2(7) = SYSDATETIME()
    SELECT
    sod1.SalesOrderID,
    STUFF((
    SELECT ', ' + CAST(sod2.ProductID AS VARCHAR(8))
    FROM Sales.SalesOrderDetail sod2
    WHERE sod1.SalesOrderID = sod2.SalesOrderID
    FOR XML PATH(''), TYPE).value('.', 'varchar(max)'), 1, 2, '') AS csv
    FROM
    Sales.SalesOrderDetail sod1
    GROUP BY
    sod1.SalesOrderID
    SELECT DATEDIFF(ms, @BegDT, SYSDATETIME()) AS ExecTimeMS
    -- Non-typed version --
    DECLARE @BegDT DATETIME2(7) = SYSDATETIME()
    SELECT
    sod1.SalesOrderID,
    STUFF((
    SELECT ', ' + CAST(sod2.ProductID AS VARCHAR(8))
    FROM Sales.SalesOrderDetail sod2
    WHERE sod1.SalesOrderID = sod2.SalesOrderID
    FOR XML PATH('')), 1, 2, '') AS csv
    FROM
    Sales.SalesOrderDetail sod1
    GROUP BY
    sod1.SalesOrderID
    SELECT DATEDIFF(ms, @BegDT, SYSDATETIME()) AS ExecTimeMS
    If you see holes in my test approach, please let me know.
    Thanks,
    Jason
    Jason Long

  • HT201250 Can I partition my external hard drive and use one partion for time machine and the other one for data that i may want to use in different computers?

    I have this doubt. I've just bought an external drive, especifically a Seagate GoFlex Desk 3 tb.
    I want to know if it is recomendable to make a partion exclusively for time machine and let another one so I can put there music, photos, videos, etc that I should need to use or copy to another computer.
    May half and half, 1.5 tb for time machine and 1.5 tb for data.
    I have an internal hard drive of 500 GB (499.25 GB) in my macbook pro.
    Any recommendation?

    As I said, yes. Be sure your Time Machine partition has at least 1 TB for backups.
    1. Open Disk Utility in your Utilities folder.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to two (2). Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed.

  • Query required for xml processing.

    This data is present in clob i need to extract the below mentioned field.
    expected query is
    select
    extractvalue( xmltype(table1.column1), '/UserProfileSnapshot/UserInfo/Attribute[@name="Users.Display Name"]' )
    from table1
    first line is incorrect <?xml version = '1.0' encoding = 'UTF-8'?>
    Can anyone please help me in making a query for this incorrect clob data.
    As we cannot change this first line in data.
    "<?xml version = '1.0' encoding = 'UTF-8'?>
    <UserProfileSnapshot key="224" version="1.0">
    <UserInfo>
    <Attribute name="Users.Display Name">testfuturedate102, Mr. user</Attribute>
    <Attribute name="USR_UDF_HR_ORG_ID">202</Attribute>
    <Attribute name="Users.Xellerate Type">End-User</Attribute>
    <Attribute name="Users.Role">Employee</Attribute>
    <Attribute name="Users.First Name">user</Attribute>
    <Attribute name="Users.Status">Active</Attribute>
    <Attribute name="USR_UDF_LOCATION_ID">1737</Attribute>
    <Attribute name="Users.Provisioned Date">2013-04-23 10:04:48 -0400</Attribute>
    <Attribute name="Title">MR.</Attribute>
    <Attribute name="USR_UDF_LOCATION_CODE">HR- New York</Attribute>
    <Attribute name="Country">US</Attribute>
    <Attribute name="State">NY</Attribute>
    <Attribute name="Users.Password Reset Attempts Counter">0</Attribute>
    <Attribute name="Users.Disable User">0</Attribute>
    <Attribute name="Users.Change Password At Next Logon">1</Attribute>
    <Attribute name="USR_CN_GENERATED">0</Attribute>
    <Attribute name="USR_UDF_EFFECTIVE_START_DATE">2013-03-08 00:00:00 -0500</Attribute>
    <Attribute name="Postal Code">10001</Attribute>
    <Attribute name="Users.Update Date">2013-04-23 10:04:48 -0400</Attribute>
    <Attribute name="Employee Number">2335</Attribute>
    <Attribute name="USR_UDF_DEPARTMENT_NAME">Vision Corporation</Attribute>
    <Attribute name="Users.Last Name">testfuturedate102</Attribute>
    <Attribute name="Users.End Date">4712-12-31 00:00:00 -0500</Attribute>
    <Attribute name="Hire Date">2013-02-28 00:00:00 -0500</Attribute>
    <Attribute name="USR_UDF_PERSON_ID">31967</Attribute>
    <Attribute name="USR_UDF_IS_MANAGER">N</Attribute>
    <Attribute name="Users.Creation Date">2013-04-23 10:04:48 -0400</Attribute>
    <Attribute name="Street">500 Madison Ave</Attribute>
    <Attribute name="Users.User ID">31967</Attribute>
    <Attribute name="USR_UDF_CITY">New York</Attribute>
    <Attribute name="Users.Lock User">0</Attribute>
    <Attribute name="Users.Updated By Login" key="4">OIMINTERNAL</Attribute>
    <Attribute name="Users.Created By Login" key="4">OIMINTERNAL</Attribute>
    <Attribute name="Users.Login Attempts Counter">0</Attribute>
    <Attribute name="Organizations.Organization Name" key="4">Integra</Attribute>
    </UserInfo>
    </UserProfileSnapshot>"

    As said in {thread:id=2545133}, the quotes are certainly not the issue.
    This works fine for me on 11.2.0.2 :
    SQL> insert into table1 (column1)
      2  values (
      3  '<?xml version = ''1.0'' encoding = ''UTF-8''?>
      4  <UserProfileSnapshot key="224" version="1.0">
      5  <UserInfo>
      6  <Attribute name="Users.Display Name">testfuturedate102, Mr. user</Attribute>
      7  <Attribute name="USR_UDF_HR_ORG_ID">202</Attribute>
      8  <Attribute name="Users.Xellerate Type">End-User</Attribute>
      9  <Attribute name="Users.Role">Employee</Attribute>
    10  <Attribute name="Users.First Name">user</Attribute>
    11  <Attribute name="Users.Status">Active</Attribute>
    12  <Attribute name="USR_UDF_LOCATION_ID">1737</Attribute>
    13  <Attribute name="Users.Provisioned Date">2013-04-23 10:04:48 -0400</Attribute>
    14  <Attribute name="Title">MR.</Attribute>
    15  <Attribute name="USR_UDF_LOCATION_CODE">HR- New York</Attribute>
    16  <Attribute name="Country">US</Attribute>
    17  <Attribute name="State">NY</Attribute>
    18  <Attribute name="Users.Password Reset Attempts Counter">0</Attribute>
    19  <Attribute name="Users.Disable User">0</Attribute>
    20  <Attribute name="Users.Change Password At Next Logon">1</Attribute>
    21  <Attribute name="USR_CN_GENERATED">0</Attribute>
    22  <Attribute name="USR_UDF_EFFECTIVE_START_DATE">2013-03-08 00:00:00 -0500</Attribute>
    23  <Attribute name="Postal Code">10001</Attribute>
    24  <Attribute name="Users.Update Date">2013-04-23 10:04:48 -0400</Attribute>
    25  <Attribute name="Employee Number">2335</Attribute>
    26  <Attribute name="USR_UDF_DEPARTMENT_NAME">Vision Corporation</Attribute>
    27  <Attribute name="Users.Last Name">testfuturedate102</Attribute>
    28  <Attribute name="Users.End Date">4712-12-31 00:00:00 -0500</Attribute>
    29  <Attribute name="Hire Date">2013-02-28 00:00:00 -0500</Attribute>
    30  <Attribute name="USR_UDF_PERSON_ID">31967</Attribute>
    31  <Attribute name="USR_UDF_IS_MANAGER">N</Attribute>
    32  <Attribute name="Users.Creation Date">2013-04-23 10:04:48 -0400</Attribute>
    33  <Attribute name="Street">500 Madison Ave</Attribute>
    34  <Attribute name="Users.User ID">31967</Attribute>
    35  <Attribute name="USR_UDF_CITY">New York</Attribute>
    36  <Attribute name="Users.Lock User">0</Attribute>
    37  <Attribute name="Users.Updated By Login" key="4">OIMINTERNAL</Attribute>
    38  <Attribute name="Users.Created By Login" key="4">OIMINTERNAL</Attribute>
    39  <Attribute name="Users.Login Attempts Counter">0</Attribute>
    40  <Attribute name="Organizations.Organization Name" key="4">Integra</Attribute>
    41  </UserInfo>
    42  </UserProfileSnapshot>'
    43  );
    1 row inserted
    SQL>
    SQL> select x.*
      2  from table1 t
      3     , xmltable(
      4         '/UserProfileSnapshot/UserInfo'
      5         passing xmltype(t.column1)
      6         columns userdisplay_name varchar2(30) path 'Attribute[@name="Users.Display Name"]'
      7               , user_role        varchar2(30) path 'Attribute[@name="Users.Role"]'
      8       ) x ;
    USERDISPLAY_NAME               USER_ROLE
    testfuturedate102, Mr. user    Employee

  • Querying EUL for Workbooks That Use Specific Folders

    I have not been able to find the proper setup for this task. In Discoverer Administrator, if I click on a folder|click delete|impact, the workbooks that are displayed do not agree with the workbooks returned if I query the EUL. Does someone have a good, accurate solution to the problem?
    Thanks,
    Jerre

    Jerre,
    Please clarify your question with this additional information:
    In the Confirm Folder Delete dialog, are you choosing "Delete from this Business Area" or "Delete from the End User Layer"? You will only see the workbook dependencies when choosing "Delete from the End User Layer" and then clicking the "Impact" button. Even when deleting a folder from all business areas results in it becoming an orphan folder (and not available to dependent workbooks), the "Impact" button will not show you workbook dependencies if you have "Delete from this Business Area" selected.
    When you say that you are querying the EUL to find dependent workbooks, what query are you actually running? If you are doing this in SQL*PLUS, show the query you are using. If you are querying the EUL using a Discoverer worksheet, show the SQL query behind that. If your query uses EUL5_QPP_STATS it may not be giving you accurate results.
    And finally, which of your two methods produces the correct result?
    See this discussion thread if you haven't already read it:
    "Dependents Tab in DiscovererAdmin using sql on EUL" Re: Recreate Properties>Dependents Tab in DiscovererAdmin using sql on EUL
    and this: Re: How to find the folder for workbooks?
    - Doug

  • Is Apple working on a fix for ios6 that will stop it from using huge data in the iphone 4s?

    When I upgraded my iPhone 4s to ios6, it started using huge amounts of data.  My provider refuses to reimburse me.  Today they told me that Apple has acknowledged the problem and has fixed it in ois6.3.  However, ois6.3 is unavailable for the 4s, and my provider tells me that Apple has not acknowledged that the problem exists in the 4s.  They referred me to Apple.  However, because the phone is off warranty, I will have to pay $35 + tax to talk to an Apple rep--and surely Apple knows the problem extends to the 4s, because it is widely discussed on-line.  I have not seen any reference to whether Apple is working on a fix for the 4s.  Does anyone know?  I can't afford this much longer and am going to have pay a lot of money to switch phones.  And when I switch phones, it won't be an Apple, which will also make me sad--but it is ridiculous for them to produce a problem that is costing so much money and then not to acknowledge it exists.  I am hoping that having addressed it in the 5, they will now turn to the 4s.  Does anyone know?

    Yeah, the 6.0.2 update was rolled out to deal with that issue amongs others. But getting it out for the older models was either not high priority or more complex than they anticipated. So the wait continues till it shows up on the update channel.
    Pestering Apple Support might not get it done quicker, but at least will offer some sort of vicarious revenge and relief.

  • How can I save an image in a pdf that can not be removed using 'Edit Object' feature in Acrobat X?

    I have a pdf that has an image of a seal contained it it. I'd like to send the document out to other people but don't want them to be able to remove the seal using the 'Edit Object' feature under 'Tools' in Adobe Acrobat X. Can someone tell me how to do this please? Thanks in advance!

    Apply a security policy that prevents editing. This is not a 100%
    fool-proof protection, though, but it will work in Acrobat.
    On Mon, Dec 22, 2014 at 10:51 PM, truegrit92 <[email protected]>

  • Pages 5. change languages for different paragraphs?

    In Pages '09 I could change the spell check language for different paragraphs by going to the Inspector, then "text" then "more." That appears to be gone now. Does anyone know how to do it?

    Thanks Rene! That got me thinking that I didn't test spell check with a new document (where I hadn't set the languages before). It looks like Pages 5 detects the language automatically and changes the spell-checker. Check this out:
    I pasted the first three paragraphs from wikipedia articles and then mispelled one word in each paragraph. Pages found the misspelled words but did not underline the rest.
    Then in the last two paragraphs (which I typed), you can see that "gli" was NOT underlined in the Italian sentence but WAS underlined in the English one. I guess this explains why there's no setting for it. It is automatic now.

  • Where can i get good documents for XML

    Hai,
    I am new to XML..I like to know where can i get good documents for XML that can be downloaded.
    regards,
    Mathan
    null

    You can order online from here and here.
    Regards,
    -rh

  • Stored proc,For xml

    Hi!
    I recieve "Unexpected token type" exception when I try to
    retrieve result from an stored procedure resultset and
    while executing Query by "for xml" clause in MS Sql Server.
    Can anybody help me!?

    Thanks very much!
    After your reply I found the problem result myself!
    Your reply invoced my chance routin!

  • German as standard-language for spell check

    How to set german as standard-language for spell check in safari?

    I use Windows, and it is exactly as you said, Sir Hup.
    I made the change, in the drop-down list in the dialog box, in my case from 'English' (which I have to assume is US English) to 'Australian English'.
    The problem I am encountering is that making that change doesn't stick for the browser as a whole, but only for the input box on the tab, the dialog box was opened on.
    How do I get the change to apply for spell checking in the browser as a whole?
    Jenifur Charne

  • Persistence Query language

    hi guys
    I am using persistence query language, I'm trying to delete an entry from the database table. So far I tried 2 approaches
    public void destroy(DeviceType deviceType)
    em.merge(deviceType);
    em.remove(deviceType);
    public void delete(int pk)
    em.createQuery("Delete from DeviceType dt where dt.deviceTypeID = '"+pk+"'");
    both of these methods are not working for me.
    please help

    Hi shim1,
    1. If you're executing destroy in an extended persistence context, em.merge(deviceType) is not needed. In a transaction scoped persistence context, you must change destroy to:
    public void destroy(DeviceType deviceType)
    DeviceType mergedType = em.merge(deviceType);
    em.remove(mergedType);
    Please see chapter 3.2.4.1 of the JPA specification for more information about the merge operation.
    2. Please change the delete method to:
    public void delete(int pk)
    em.createQuery("Delete from DeviceType dt where dt.deviceTypeID = ?1").setParameter(1, new Integer(pk)).executeUpdate();
    }

Maybe you are looking for

  • Issues in FCC

    Hi, I am working on a scenario File to IDOC. I have a CSV source file, so I have usd File content conversion in my sender communication channel. I am unable to convert my file successfully to xml. My Source Structure is like : OrderHeader A B C Item

  • Problem with an Adobe Updater pop up....?

    Hi all,  I have windows XP Home.  When I want to open Adobe PDF files, the first couple of files open ok, but then eventually, the Adobe Reader Updater box opens up telling me that it is downloading an update, but nothing happens, no download takes p

  • VB6 applications crashes when calling C# dll's in production environment

    Hi All, I'm basically .NET developer, not much aware of VB language or VB visual Basic 6.0. We are trying to work out with VB application running/ using C# dll's. The scenario is like VB exe applications using C# dll's and C# dll's are referenced to

  • Use of J1I5- Regester update

    Hello CIN guru's Can anyone explain me the use of T code J1I5- Regester Update in CIN module, i concern is when i have already posted the GR and Excise invoice is it really required to again update the regester. when do we use J1I5. Suggestions worth

  • Sap wms handling units process

    hi Any body tell me the process of  by using  with handling units in sap wms how to configure in the sales process.