SQL Profile On Auth
SQL Profile On Auth
SQL Profile On Auth
NO SQL_PROFILE_NAME
1 profile_wcs02
SQL_ID
5jpjcvyuxj1qz
PLAN_HASH_VALUE
2250440640
2 SYS_SQLPROF_014a6d7090a40000
3 SYS_SQLPROF_01534029ff3b0000
4 SYS_SQLPROF_0144fc29657d0000
2374075796
SQL ID doesnt exists
5 WCS_Endeca_4xj6y9pbmm0mh
6 WCS_Endeca_garbnc26kgu13
7 WCS_Endeca_bj6bqhn7703qz
8 WCS_Endeca_77jsxhp7zacvw
9 WCS_Endeca_dtfrktqgm10bz
SQL_QUERY
select xp.IS_STANDARD,xp.PRODUCT_PARTNUMBER,xp.FEATURE_CALLOUT_TEXT,xp.PRODUCT_ID,xp.PRODUCT_NAME,xp
.MODEL_PARENT_IMAGE,xp.CUTOUT_PARENT_IMAGE,xp.CATGROUP_DETAILS,xp.LEAD_TIME,xp.PRODUCT_TYPE_PROPERTY
,xp.AVERAGE_PRODUCT_RATING,xp.NUMBER_OF_PRODUCT_RATINGS,xp.INNOVATION2,xp.INNOVATION3,xp.INNOVATION4
,xp.INNOVATION5,xp.INNOVATION6,xp.NEW_INDICATOR_FLG,xp.ECOMEXCLUSIVE,xp.DELIVERY_SERVICES_AVAILABLE,
xp.SLEEVE_SHAPE,xp.NECK_SHAPE,xp.WIRED_OR_NON_WIRED,xp.PADDED_OR_NON_PADDED,xp.COUNTRY_OF_ORIGIN,xp.
AGE_RANGE,xp.BRAND,xp.FIT,xp.AWARD_IMAGE,xp.VOLUME,xp.BOUQUET_INCLUDES,xp.DISPLAY_PACK_QUANTITY,xp.R
EGION,xp.GRAPE_VARIETY,xp.ALCOHOL_CONTENT,xp.WINE_TASTE,xp.STYLE,xp.GOES_WELL_WITH,xp.PACKAGING_DETA
ILS,xp.SUITABILITY_CATEGORY,xp.EVENT_TYPE,xp.MATERIAL, xp.FEATURE_ON_TV_ADVERTISED, xp.RECIPIENT, xp
.CATALOG_ID, xp.STORE_ID, xp.LANGUAGE_ID, xp.WINETYPE, xp.CHARACTER, xp.COOKINGTYPE, xp.COLLAR, xp.C
UFF, xp.DENIER, xp.DESIGNER, xp.FILLING, xp.FINISH, xp.GENDER, xp.HEELHEIGHT, xp.INGREDIENT, xp.ROOM
, xp.SKINTYPE, xp.TOG, xp.SERVINGS, xp.PRICE_FROM, xp.PRICE_TO, xp.PRODUCT_YOU_SAVE, xp.PRODUCT_PRIC
E_MESSAGE_FLAG, xp.LANGUAGE, xp.THEME, xp.DIETSUITABILITY, xp.CAREINSTRUCTION, xp.HEELTYPE, xp.SPECI
ALCOLOUR, xp.FURNITURECOLLECTION, xp.HOMEMATERIAL, xp.FACETBRAND, xp.PACKSIZE, xp.PRICEPERUNIT, xp.W
ASPRICE, xp.WASWASPRICE, xp.PROMO_PRICE_FROM, xp.PROMO_PRICE_TO, xp.PRODUCT_ORIGINAL_PRICE, xp.AVALA
BILITY, xp.PLP_LIVE_VIEW, xp.TEMPLATE_ID, xp.MFPARTNUMBER, xp.IS_OUTFIT, xp.ADMIN_DESC, xp.WINE_CASE
_CONTENT, xp.KEYWORD, xp.CATEGORY_SEQUENCE_SORT, xp.CATENTRY_SEO_URL, xp.PRODUCT_DEFINITION, xp.BIGA
NDTALL, colorCountQueryAuth.colour_count_auth,colorCountQueryLive.colour_count_live, bestSellerQuery
.total_quantity from XENDECAPRODUCTVIEW xp, (SELECT product_id , SUM (BESTSELLER) as total_quantity
FROM XENDECASKUVIEW group by product_id) bestSellerQuery, (select product_id, count(distinct colour
)AS colour_count_auth from XENDECASKUVIEW group by product_id having count(distinct colour) > :"SYS_
B_0") colorCountQueryAuth,(select product_id, count(distinct colour)AS colour_count_live from XENDEC
ASKUVIEW WHERE SKU_PLP_LIVE_VIEW = :"SYS_B_1" group by product_id having count(distinct colour) > :"
SYS_B_2") colorCountQueryLive where xp.product_id = bestSellerQuery.product_id(+) AND xp.product_id
= colorCountQueryAuth.product_id(+) AND xp.product_id = colorCountQueryLive.product_id(+)
select xp.IS_STANDARD,xp.PRODUCT_PARTNUMBER,xp.FEATURE_CALLOUT_TEXT,xp.PRODUCT_ID,xp.PRODUCT_NAME,xp
.MODEL_PARENT_IMAGE,xp.CUTOUT_PARENT_IMAGE,xp.CATGROUP_DETAILS,xp.LEAD_TIME,xp.PRODUCT_TYPE_PROPERTY
,xp.AVERAGE_PRODUCT_RATING,xp.NUMBER_OF_PRODUCT_RATINGS,xp.INNOVATION2,xp.INNOVATION3,xp.INNOVATION4
,xp.INNOVATION5,xp.INNOVATION6,xp.NEW_INDICATOR_FLG,xp.ECOMEXCLUSIVE,xp.DELIVERY_SERVICES_AVAILABLE,
xp.SLEEVE_SHAPE,xp.NECK_SHAPE,xp.WIRED_OR_NON_WIRED,xp.PADDED_OR_NON_PADDED,xp.COUNTRY_OF_ORIGIN,xp.
AGE_RANGE,xp.BRAND,xp.FIT,xp.AWARD_IMAGE,xp.AWARD_URL,xp.AWARD_ALTTEXT,xp.VOLUME,xp.BOUQUET_INCLUDES
,xp.DISPLAY_PACK_QUANTITY,xp.REGION,xp.GRAPE_VARIETY,xp.ALCOHOL_CONTENT,xp.WINE_TASTE,xp.STYLE,xp.GO
ES_WELL_WITH,xp.PACKAGING_DETAILS,xp.SUITABILITY_CATEGORY,xp.EVENT_TYPE,xp.MATERIAL, xp.FEATURE_ON_T
V_ADVERTISED, xp.RECIPIENT, xp.CATALOG_ID, xp.STORE_ID, xp.LANGUAGE_ID, xp.WINETYPE, xp.CHARACTER, x
p.COOKINGTYPE, xp.COLLAR, xp.CUFF, xp.DENIER, xp.DESIGNER, xp.FILLING, xp.FINISH, xp.GENDER, xp.HEEL
HEIGHT, xp.INGREDIENT, xp.ROOM, xp.SKINTYPE, xp.TOG, xp.SERVINGS, xp.PRICE_FROM, xp.PRICE_TO, xp.PRO
DUCT_YOU_SAVE, xp.PRODUCT_PRICE_MESSAGE_FLAG, xp.LANGUAGE, xp.THEME, xp.DIETSUITABILITY, xp.CAREINST
RUCTION, xp.HEELTYPE, xp.SPECIALCOLOUR, xp.FURNITURECOLLECTION, xp.HOMEMATERIAL, xp.FACETBRAND, xp.P
ACKSIZE, xp.PRICEPERUNIT, xp.WASPRICE, xp.WASWASPRICE, xp.PROMO_PRICE_FROM, xp.PROMO_PRICE_TO, xp.PR
ODUCT_ORIGINAL_PRICE, xp.AVALABILITY, xp.PLP_LIVE_VIEW, xp.TEMPLATE_ID, xp.MFPARTNUMBER, xp.IS_OUTFI
T, xp.ADMIN_DESC, xp.WINE_CASE_CONTENT, xp.KEYWORD, xp.CATEGORY_SEQUENCE_SORT, xp.CATENTRY_SEO_URL,
xp.PRODUCT_DEFINITION, xp.BIGANDTALL, colorCountQueryAuth.colour_count_auth,colorCountQueryLive.colo
ur_count_live, bestSellerQuery.total_quantity from XENDECAPRODUCTVIEW xp, (SELECT product_id , SUM (
BESTSELLER) as total_quantity FROM XENDECASKUVIEW group by product_id) bestSellerQuery, (select pro
duct_id, count(distinct colour)AS colour_count_auth from XENDECASKUVIEW group by product_id having c
ount(distinct colour) > :"SYS_B_0") colorCountQueryAuth,(select product_id, count(distinct colour)AS
colour_count_live from XENDECASKUVIEW WHERE SKU_PLP_LIVE_VIEW = :"SYS_B_1" group by product_id havi
ng count(distinct colour) > :"SYS_B_2") colorCountQueryLive where xp.product_id = bestSellerQuery.p
roduct_id(+) AND xp.product_id = colorCountQueryAuth.product_id(+) AND xp.product_id = colorCountQue
ryLive.product_id(+)
select s.SKU_ID,s.SKU_PARTNUMBER,s.MFPARTNUMBER,s.PRODUCT_ID,s.PRODUCT_ID||:"SYS_B_0"||s.SKU_ID AS P
RODUCT_SKU_ID,s.MODEL_SWATCH_IMAGE,s.CUTOUT_SWATCH_IMAGE, s.SWATCH_IMG, s.PRICE, s.PRICE_MSG_FLAG_IT
EM, s.COLOUR, s.COLOUR_GROUP, s.COLOUR_GROUP2, s.PRIMARY_SIZE_DESCRIPTION, s.SECONDARY_SIZE_DESCRIPT
ION, s.ALTERNATE_SIZE_DESCRIPTION, CASE WHEN s.SECONDARY_SIZE_DESCRIPTION IS NULL THEN s.PRIMARY_SIZ
E_DESCRIPTION else s.PRIMARY_SIZE_DESCRIPTION||:"SYS_B_1"||s.SECONDARY_SIZE_DESCRIPTION END SIZE_DES
CRIPTION, CASE WHEN s.SECONDARY_SIZE_DESCRIPTION IS NULL THEN s.PRIMARY_SIZE_DESCRIPTION else s.PRIM
ARY_SIZE_DESCRIPTION||:"SYS_B_2"||s.SECONDARY_SIZE_DESCRIPTION END SIZE_SEARCHABLE, s.CATALOG_ID, s.
STORE_ID, s.LANGUAGE_ID, s.DESIGN, s.MADEOF, s.GLASSNUMBER, s.LANGUAGE, s.OFFER_FACET, s.sku_plp_liv
e_view, s.AVALABILITY AS SKU_AVALABILITY, s.STROKEID, s.NEW_INDICATOR_FLG AS SKU_NEW_INDICATOR_FLG f
rom XENDECASKUVIEW s
select s.SKU_ID,s.SKU_PARTNUMBER,s.MFPARTNUMBER,s.PRODUCT_ID,s.PRODUCT_ID||:"SYS_B_0"||s.SKU_ID AS P
RODUCT_SKU_ID,s.MODEL_SWATCH_IMAGE,s.CUTOUT_SWATCH_IMAGE, s.SWATCH_IMG, s.PRICE, s.COLOUR, s.COLOUR_
GROUP, s.COLOUR_GROUP2, s.PRIMARY_SIZE_DESCRIPTION, s.SECONDARY_SIZE_DESCRIPTION, s.ALTERNATE_SIZE_D
ESCRIPTION, CASE WHEN s.SECONDARY_SIZE_DESCRIPTION IS NULL THEN s.PRIMARY_SIZE_DESCRIPTION else s.PR
IMARY_SIZE_DESCRIPTION||:"SYS_B_1"||s.SECONDARY_SIZE_DESCRIPTION END SIZE_DESCRIPTION, CASE WHEN s.S
ECONDARY_SIZE_DESCRIPTION IS NULL THEN s.PRIMARY_SIZE_DESCRIPTION else s.PRIMARY_SIZE_DESCRIPTION||:
"SYS_B_2"||s.SECONDARY_SIZE_DESCRIPTION END SIZE_SEARCHABLE, s.CATALOG_ID, s.STORE_ID, s.LANGUAGE_ID
, s.DESIGN, s.MADEOF, s.GLASSNUMBER, s.LANGUAGE, s.OFFER_FACET, s.sku_plp_live_view, s.AVALABILITY A
S SKU_AVALABILITY, s.STROKEID, s.PRICE_MSG_FLAG_ITEM, s.NEW_INDICATOR_FLG AS SKU_NEW_INDICATOR_FLG f
rom XENDECASKUVIEW s
CREATED
STATUS
10-MAY-13 09.23.46.000000 AM
ENABLED
TASK_ID
15056
21-DEC-14 03.21.41.000000 PM
ENABLED
72957
04-MAR-16 05.46.47.000000 AM
26-MAR-14 02.12.55.000000 AM
ENABLED
ENABLED
115394
46206
01-OCT-15 10.58.33.000000 AM
ENABLED
100408
01-OCT-15 10.58.45.000000 AM
ENABLED
100409
01-OCT-15 10.58.51.000000 AM
ENABLED
100410
01-OCT-15 10.58.57.000000 AM
ENABLED
100411
01-OCT-15 10.59.05.000000 AM
ENABLED
100432
DESCRIPTION