Search Results ams_list_queries_all
Overview
The AMS_LIST_QUERIES_ALL table is a core data object within the Oracle E-Business Suite (EBS) Marketing (AMS) module, specifically in versions 12.1.1 and 12.2.2. As documented in the ETRM, its primary function is to store the predefined criteria for list creation. This table acts as the central repository for saved query definitions that marketing users leverage to segment and target customers, prospects, or other entities for campaigns, communications, and analytics. Its role is foundational to the list management and audience targeting capabilities of Oracle Marketing, enabling the systematic and reusable definition of target populations based on complex business rules and attribute filters.
Key Information Stored
The table's structure is designed to persist the essential components of a saved list query. The primary key column, LIST_QUERY_ID, uniquely identifies each predefined criteria set. While the full column list is not detailed in the provided excerpt, based on its described purpose, the table typically stores metadata such as the query name, description, creation date, last update date, and the user who created it. Crucially, it stores the structured definition of the selection criteria itself, which may include references to database views, logical conditions, joined attributes, and sorting instructions. This allows the marketing application to reconstruct and execute the segmentation logic on demand without requiring users to re-specify complex filters manually.
Common Use Cases and Queries
The primary use case is the creation and execution of targeted marketing lists. A common operational flow involves a user creating a list within the AMS application interface, which results in an INSERT into this table. Subsequent list refreshes or campaign launches will query this table to retrieve the criteria definition for execution. From a reporting and administrative perspective, common SQL queries might include auditing all saved queries in the system or identifying queries created by a specific user. A sample query pattern would be: SELECT list_query_id, name, creation_date, last_update_date FROM ams_list_queries_all WHERE created_by = :user_id ORDER BY creation_date DESC;. Data warehouse extracts for marketing performance analysis may also join this table to list execution history tables to correlate list criteria with campaign outcomes.
Related Objects
As per the documented relationship data, AMS_LIST_QUERIES_ALL has defined foreign key dependencies. The table's primary key, LIST_QUERY_ID, is referenced by at least one other critical table in the AMS schema:
- AMS_LIST_SELECT_ACTIONS: This table references AMS_LIST_QUERIES_ALL via the foreign key column
INCL_OBJECT_ID. This relationship suggests that saved list queries (LIST_QUERY_ID) are used as inclusion rules or selection steps within broader list generation or campaign action workflows. A typical join for analysis would be:SELECT * FROM ams_list_queries_all q, ams_list_select_actions a WHERE q.list_query_id = a.incl_object_id.
-
Table: AMS_LIST_QUERIES_ALL
12.1.1
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_LIST_QUERIES_ALL, object_name:AMS_LIST_QUERIES_ALL, status:VALID, product: AMS - Marketing , description: This table stores the predefined criteria for list creation. , implementation_dba_data: AMS.AMS_LIST_QUERIES_ALL ,
-
Table: AMS_LIST_QUERIES_ALL
12.2.2
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_LIST_QUERIES_ALL, object_name:AMS_LIST_QUERIES_ALL, status:VALID, product: AMS - Marketing , description: This table stores the predefined criteria for list creation. , implementation_dba_data: AMS.AMS_LIST_QUERIES_ALL ,
-
APPS.AMS_ACT_LIST_PVT dependencies on AMS_LIST_QUERIES_ALL
12.1.1
-
APPS.AMS_CELL_PVT dependencies on AMS_LIST_QUERIES_ALL
12.1.1
-
APPS.AMS_LIST_QUERY_PVT dependencies on AMS_LIST_QUERIES_ALL
12.1.1
-
APPS.AMS_LISTGENERATION_PKG dependencies on AMS_LIST_QUERIES_ALL
12.1.1
-
APPS.AMS_ACT_LIST_PVT dependencies on AMS_LIST_QUERIES_ALL
12.2.2
-
APPS.AMS_LIST_QUERIES_NEW_PKG dependencies on AMS_LIST_QUERIES_ALL
12.2.2
-
APPS.BIM_I_SGMT_ACT_FACTS_PKG dependencies on AMS_LIST_QUERIES_ALL
12.1.1
-
APPS.AMS_LIST_QUERY_PVT dependencies on AMS_LIST_QUERIES_ALL
12.2.2
-
APPS.BIM_SEGMENT_DENORM_PKG dependencies on AMS_LIST_QUERIES_ALL
12.1.1
-
APPS.AMS_LIST_QUERIES_NEW_PKG dependencies on AMS_LIST_QUERIES_ALL
12.1.1
-
APPS.BIM_I_SGMT_CUST_FACTS_PKG dependencies on AMS_LIST_QUERIES_ALL
12.1.1
-
APPS.AMS_LIST_QUERIES_PKG dependencies on AMS_LIST_QUERIES_ALL
12.1.1
-
APPS.AMS_LIST_RUNNING_TOTAL_PVT dependencies on AMS_LIST_QUERIES_ALL
12.2.2
-
APPS.AMS_CELL_PVT dependencies on AMS_LIST_QUERIES_ALL
12.2.2
-
APPS.BIM_I_SGMT_FACTS_PKG dependencies on AMS_LIST_QUERIES_ALL
12.1.1
-
APPS.AMS_LIST_RUNNING_TOTAL_PVT dependencies on AMS_LIST_QUERIES_ALL
12.1.1
-
APPS.AMS_LIST_QUERIES_PKG dependencies on AMS_LIST_QUERIES_ALL
12.2.2
-
APPS.AMS_LISTGENERATION_PKG dependencies on AMS_LIST_QUERIES_ALL
12.2.2
-
APPS.AMS_LIST_QUERY_PVT SQL Statements
12.1.1
-
APPS.AMS_LIST_QUERY_PVT SQL Statements
12.2.2
-
APPS.AMS_LIST_QUERIES_NEW_PKG dependencies on AMS_LIST_QUERIES_ALL_S
12.1.1
-
APPS.AMS_LIST_QUERIES_NEW_PKG dependencies on AMS_LIST_QUERIES_ALL_S
12.2.2
-
VIEW: AMS.AMS_LIST_QUERIES_ALL#
12.2.2
owner:AMS, object_type:VIEW, object_name:AMS_LIST_QUERIES_ALL#, status:VALID,
-
TRIGGER: APPS.AMS_LIST_QUERIES_ALL+
12.2.2
owner:APPS, object_type:TRIGGER, object_name:AMS_LIST_QUERIES_ALL+, status:VALID,
-
APPS.AMS_LIST_QUERY_PVT dependencies on DUAL
12.1.1
-
SYNONYM: APPS.AMS_LIST_QUERIES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AMS_LIST_QUERIES_ALL, status:VALID,
-
VIEW: APPS.AMS_CELLS_SEL_ALL_V
12.2.2
-
APPS.AMS_LIST_QUERY_PVT dependencies on AMS_LIST_QUERIES_ALL_S
12.2.2
-
APPS.AMS_LIST_QUERY_PVT dependencies on DUAL
12.2.2
-
VIEW: APPS.AMS_CELLS_SEL_ALL_V
12.1.1
-
APPS.BIM_SEGMENT_DENORM_PKG dependencies on AMS_CELLS_ALL_B
12.1.1
-
APPS.AMS_LIST_QUERY_PVT dependencies on AMS_LIST_QUERIES_ALL_S
12.1.1
-
SYNONYM: APPS.AMS_LIST_QUERIES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMS_LIST_QUERIES_ALL, status:VALID,
-
TRIGGER: APPS.AMS_LIST_QUERIES_ALL+
12.2.2
-
APPS.BIM_I_SGMT_ACT_FACTS_PKG SQL Statements
12.1.1
-
APPS.AMS_LIST_QUERIES_NEW_PKG SQL Statements
12.1.1
-
VIEW: APPS.AMS_LIST_QUERIES_VL
12.2.2
-
VIEW: APPS.AMS_LIST_QUERIES_VL
12.1.1
-
APPS.AMS_LIST_QUERIES_NEW_PKG SQL Statements
12.2.2
-
APPS.AMS_LIST_QUERIES_PKG SQL Statements
12.1.1
-
VIEW: AMS.AMS_LIST_QUERIES_ALL#
12.2.2
-
APPS.AMS_LIST_QUERIES_PKG SQL Statements
12.2.2
-
APPS.AMS_LIST_RUNNING_TOTAL_PVT dependencies on AMS_ATTB_LOV_B
12.1.1
-
APPS.BIM_I_SGMT_CUST_FACTS_PKG SQL Statements
12.1.1
-
View: AMS_CELLS_SEL_ALL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_CELLS_SEL_ALL_V, object_name:AMS_CELLS_SEL_ALL_V, status:VALID, product: AMS - Marketing , description: Segment selection view definition , implementation_dba_data: APPS.AMS_CELLS_SEL_ALL_V ,
-
View: AMS_CELLS_SEL_ALL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_CELLS_SEL_ALL_V, object_name:AMS_CELLS_SEL_ALL_V, status:VALID, product: AMS - Marketing , description: Segment selection view definition , implementation_dba_data: APPS.AMS_CELLS_SEL_ALL_V ,
-
APPS.AMS_LIST_RUNNING_TOTAL_PVT dependencies on AMS_ATTB_LOV_B
12.2.2
-
FUNCTION: APPS.AMS_LIST_QUERIES_ALL=
12.2.2