Invention Grant
- Patent Title: Systems, methods, and apparatuses for implementing a BY ORGID command term within a multi-tenant aware structured query language
-
Application No.: US15421036Application Date: 2017-01-31
-
Publication No.: US10649986B2Publication Date: 2020-05-12
- Inventor: Simon Wong , Gary Baker
- Applicant: salesforce.com, inc.
- Applicant Address: US CA San Francisco
- Assignee: salesforce.com, inc.
- Current Assignee: salesforce.com, inc.
- Current Assignee Address: US CA San Francisco
- Agency: Elliot, Ostrander & Preston, P.C.
- Main IPC: G06F16/00
- IPC: G06F16/00 ; G06F16/242

Abstract:
In accordance with disclosed embodiments, there are provided systems, methods, and apparatuses for implementing a BY ORGID command term within a multi-tenant aware structured query language within a computing environment. For instance, such an exemplary system having a processor and a memory therein includes means for operating a multi-tenant database system having customer data stored therein for a plurality of distinct customer organizations; receiving a database query specifying a command term to filter all tables accessed pursuant to execution of the database query by an organization_id parameter corresponding to one of the plurality of distinct customer organizations; parsing the database query to identify the command term specified; parsing the database query to identify any part of the received database query corresponding to one or more tables within the multi-tenant database system; generating a new structured query language statement to execute against the multi-tenant database system in fulfillment of the database query received, in which the new structured query language statement filters every reference to the one or more tables by the organization_id parameter; and executing the new structured query language statement against the multi-tenant database system. Other related embodiments are disclosed.
Public/Granted literature
Information query