Write instruction datasource for database write procedure
AssigneeInternational Business Machines Corporation
InventorCharles Matula
Life of this patent
Estimating the term…
Abstract
A computer implemented system and method enables an application that only has the ability to request Structured Query Language (SQL) database read to effect a write to a SQL database is disclosed.
Claims14
A computer implemented system for enabling an application that only has the ability to request Structured Query Language (SQL) database reads, and has no ability to issue SQL database writes, to effect a SQL database write, the system comprising:
- a computer processor;
- a SQL database;
- at least one write operation data source, having at least one pre-coded stored write operation therein stored at a location in the SQL database such that it is accessible, via a read request, to the application that only has the ability to request SQL database reads, the write operation data source containing a pre-coded stored write operation that will effect a write to the SQL database based upon one or more arguments contained within a request to read the location of the write operation data source;
- memory comprising program instructions executable by the computer processor to:
- receive a specific read request including at least one argument from the application, the specific read request calling for reading the location in the SQL database of the write operation data source, and
- cause the SQL database to
- i) parse the at least one argument from the read request for use in performing a write operation on the database, and
- ii) write to the SQL database based upon the at least one argument and the pre-coded stored write operation in the write operation data source.
A computer implemented method for enabling an application that only has the ability to request Structured Query Language (SQL) database reads, and has no ability to issue SQL database writes, to effect a SQL database write, the method comprising:
- storing a data source in a SQL database, the data source being at a location accessible to the application that only has the ability to request SQL database reads, via a read request including at least one argument, the data source having at least one pre-coded stored write operation stored therein which, when executed, will parse the at least one argument from the read request and write to the database based upon the at least one argument;
- receiving request from the application to read the location of the data source;
- parsing, using a processor, the at least one argument from the received request to read;
- and
- executing, using the processor, the at least one pre-coded stored write operation in response to the request from the application such that, the read operation will cause the database to use the at least one argument and execute the pre-coded stored write operation to effect a write to the SQL database.
Dependencies are inferred from the claim text.