Invention Grant
- Patent Title: Customize column sequence in projection list of select queries
-
Application No.: US15620994Application Date: 2017-06-13
-
Publication No.: US10025818B2Publication Date: 2018-07-17
- Inventor: Kiran Challapalli , Vaibhav S. Dantale
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agent Edward J. Wixted, III
- Main IPC: G06F17/30
- IPC: G06F17/30

Abstract:
In an approach for manipulating columns in a projection list in a database result set, a processor receives a database request having a projection operation for a plurality of columns in one or more tables, wherein the projection operation comprises a SELECT statement having a column list that includes having (a) a shorthand that specifies the plurality of columns and (b) a column sequence clause that specifies a column name from the plurality of columns and a resulting column position. A processor retrieves data records having the plurality of columns including the specified column name and the resulting column position. A processor generates a result set comprised of the data records having the plurality of columns, such that for the result set, values within the specified column name are inserted into the result set at the resulting column position.
Public/Granted literature
- US20170277749A1 CUSTOMIZE COLUMN SEQUENCE IN PROJECTION LIST OF SELECT QUERIES Public/Granted day:2017-09-28
Information query