| query | ||
|---|---|---|
| Img2ContentPath | Img2_contentPath | |
| 1 | http://doclibrary.com/MFR26/PRD/GS1_10051500069612_PRODUCT_IMG2_10051500069612_C1C1_S01_JPG_50.JPG | http://doclibrary.com/MFR26/PRD/GS1_10051500069612_PRODUCT_IMG2_10051500069612_C1C1_S01_JPG_50.JPG |
| query | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| RESULTSET |
|
||||||||||
| CACHED | false | ||||||||||
| EXECUTIONTIME | 36 | ||||||||||
| SQL | SELECT cImg2.imgPath + cImg2.ImgName + '_50' + cImg2.ImgExt AS Img2ContentPath FROM tbl_PRD_ProductImages p with (nolock) LEFT OUTER JOIN qry_ContentLookup cImg2 with (nolock) ON (p.Img2_ContentID = cImg2.contentid) WHERE p.FSL_TableCode = ? AND p.OwnerID = ? AND p.CatalogLevel = ? AND p.Code = ?; | ||||||||||
| SQLPARAMETERS |
|
||||||||||
| query | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| Img2ContentPath | Img2_FileExt | Img2_FileSize | Img2_comment | Img2_contentId | Img2_contentPath | Img2_uploadDate | imageCode | imageURL | |
| 1 | http://doclibrary.com/MFR26/PRD/GS1_10051500069612_PRODUCT_IMG2_10051500069612_C1C1_S01_JPG_50.JPG | .JPG | 228115 | GS1 PRODUCT IMAGE | 30184447 | http://doclibrary.com/MFR26/PRD/GS1_10051500069612_PRODUCT_IMG2_10051500069612_C1C1_S01_JPG_50.JPG | 2026-04-10 09:35:45.0 | Img2 | http://doclibrary.com/MFR26/PRD/GS1_10051500069612_PRODUCT_IMG2_10051500069612_C1C1_S01_JPG_50.JPG |
| query | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RESULTSET |
|
||||||||||||||
| CACHED | false | ||||||||||||||
| EXECUTIONTIME | 14 | ||||||||||||||
| SQL | SELECT c.imgPath + fc.fileName AS imageURL , i.Img2_FileSize, i.Img2_FileExt, i.Img2_UploadDate, i.Img2_ContentID, i.Img2_Comment FROM tbl_PRD_ProductImages i with (nolock) INNER JOIN qry_ContentLookup c with (nolock) ON i.Img2_ContentID = c.ContentID INNER JOIN tbl_FSC_Content fc with (nolock) ON fc.contentId = c.contentId WHERE i.FSL_TableCode = ? AND i.OwnerID = 26 AND i.Code = '5150006961' AND i.CatalogLevel = 'SKU' | ||||||||||||||
| SQLPARAMETERS |
|
||||||||||||||
| query | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RESULTSET |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CACHED | false | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| EXECUTIONTIME | 49 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SQL | select case when i.imageCode = 'IMG1' then 10 when i.imageCode = 'IMG2' then 20 when i.imageCode = 'IMG3' then 30 when i.imageCode = 'IMG4' then 40 when i.imageCode = 'IMG5' then 50 when i.imageCode = 'IMG6' then 60 when i.imageCode = 'IMG7' then 70 when i.imageCode = 'IMG8' then 80 when i.imageCode = 'IMG9' then 90 when i.imageCode = 'IMG10' then 100 when i.imageCode = 'LABEL' then 45 when i.imageCode = 'MSTRPKG' then 50 when i.imageCode = 'UNITPKG' then 60 when i.imageCode = 'SUBPKG' then 70 when i.imageCode = 'OUTOFPACKAGE' then 80 else 200 end as sortRank, i.linkType as level, case when i.imageCode = 'MSTRPKG' then 'MSTR' when i.imageCode = 'SUBPKG' then 'SUB' when i.imageCode = 'UNITPKG' then 'UNIT' when i.imageCode = 'LABEL' then 'LBL' when i.imageCode = 'OUTOFPACKAGE' then 'OUTOFBOX' else upper( i.imageCode ) end as imgType, i.contentId, 'http://doclibrary.com/' + c.mainFolder + '/' + c.subFolder + '/' + c.fileName as imageURL, i.comment as imgCaption, fileContentHash, providerurl from tbl_PRD_Images i with (nolock) inner join tbl_PRD_SKus s with (nolock) on s.skuId = i.linkId and s.ownerId = i.ownerId and s.fsl_tablecode = i.ownerType and s.sku = ? inner join tbl_FSC_Content c with (nolock) on c.contentId = i.contentId where i.ownerId = ? and i.ownerType = ? and i.linkType = ? and i.fileExt in ( ?,?,?,?,?,?,? ) and i.imageCode in ( ?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,? ) order by sortRank | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SQLPARAMETERS |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| query | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RESULTSET |
|
||||||||||||||
| CACHED | false | ||||||||||||||
| EXECUTIONTIME | 263 | ||||||||||||||
| SQL | select 10 as sortrank, 'SKU' as level, 'IMG1' as imgtype, Img1_ContentID as contentid, cl.imgPath + c.fileName AS imageURL, Img1_Comment as imgCaption from tbl_PRD_ProductImages prd inner join qry_ContentLookup cl with (nolock) on prd.Img1_ContentID = cl.ContentID and cl.ContentID <> 755 and cl.ImgExt in ( '.jpg','.jpeg','.png','.gif','.tif','tiff','.bmp' ) inner join tbl_FSC_Content c on c.contentId = cl.contentId where CatalogLevel = 'sku' and Code = '5150006961' and ownerid = 26 and fsl_tablecode = 'MFR' union select 20 as sortrank, 'SKU' as level, 'IMG2' as imgtype, Img2_ContentID as contentid, cl.imgPath + c.fileName AS imageURL, Img2_Comment as imgCaption from tbl_PRD_ProductImages prd with (nolock) inner join qry_ContentLookup cl on prd.Img2_ContentID = cl.ContentID and cl.ContentID <> 755 and cl.ImgExt in ( '.jpg','.jpeg','.png','.gif','.tif','tiff','.bmp' ) inner join tbl_FSC_Content c on c.contentId = cl.contentId where CatalogLevel = 'sku' and Code = '5150006961' and ownerid = 26 and fsl_tablecode = 'MFR' union select 30 as sortrank, 'SKU' as level, 'IMG3' as imgtype, Img3_ContentID as contentid, cl.imgPath + c.fileName AS imageURL, Img3_Comment as imgCaption from tbl_PRD_ProductImages prd with (nolock) inner join qry_ContentLookup cl on prd.Img3_ContentID = cl.ContentID and cl.ContentID <> 755 and cl.ImgExt in ( '.jpg','.jpeg','.png','.gif','.tif','tiff','.bmp' ) inner join tbl_FSC_Content c on c.contentId = cl.contentId where CatalogLevel = 'sku' and Code = '5150006961' and ownerid = 26 and fsl_tablecode = 'MFR' union select 40 as sortrank, 'SKU' as level, 'IMG4' as imgtype, Img4_ContentID as contentid, cl.imgPath + c.fileName AS imageURL, Img4_Comment as imgCaption from tbl_PRD_ProductImages prd with (nolock) inner join qry_ContentLookup cl on prd.Img4_ContentID = cl.ContentID and cl.ContentID <> 755 and cl.ImgExt in ( '.jpg','.jpeg','.png','.gif','.tif','tiff','.bmp' ) inner join tbl_FSC_Content c on c.contentId = cl.contentId where CatalogLevel = 'sku' and Code = '5150006961' and ownerid = 26 and fsl_tablecode = 'MFR' union select 50 as sortrank, 'SKU' as level, 'IMG5' as imgtype, Img5_ContentID as contentid, cl.imgPath + c.fileName AS imageURL, Img5_Comment as imgCaption from tbl_PRD_ProductImages prd with (nolock) inner join qry_ContentLookup cl on prd.Img5_ContentID = cl.ContentID and cl.ContentID <> 755 and cl.ImgExt in ( '.jpg','.jpeg','.png','.gif','.tif','tiff','.bmp' ) inner join tbl_FSC_Content c on c.contentId = cl.contentId where CatalogLevel = 'sku' and Code = '5150006961' and ownerid = 26 and fsl_tablecode = 'MFR' union select 60 as sortrank, 'SKU' as level, 'IMG6' as imgtype, Img6_ContentID as contentid, cl.imgPath + c.fileName AS imageURL, Img6_Comment as imgCaption from tbl_PRD_ProductImages prd with (nolock) inner join qry_ContentLookup cl on prd.Img6_ContentID = cl.ContentID and cl.ContentID <> 755 and cl.ImgExt in ( '.jpg','.jpeg','.png','.gif','.tif','tiff','.bmp' ) inner join tbl_FSC_Content c on c.contentId = cl.contentId where CatalogLevel = 'sku' and Code = '5150006961' and ownerid = 26 and fsl_tablecode = 'MFR' union select 70 as sortrank, 'SKU' as level, 'IMG7' as imgtype, Img7_ContentID as contentid, cl.imgPath + c.fileName AS imageURL, Img7_Comment as imgCaption from tbl_PRD_ProductImages prd with (nolock) inner join qry_ContentLookup cl on prd.Img7_ContentID = cl.ContentID and cl.ContentID <> 755 and cl.ImgExt in ( '.jpg','.jpeg','.png','.gif','.tif','tiff','.bmp' ) inner join tbl_FSC_Content c on c.contentId = cl.contentId where CatalogLevel = 'sku' and Code = '5150006961' and ownerid = 26 and fsl_tablecode = 'MFR' union select 80 as sortrank, 'SKU' as level, 'IMG8' as imgtype, Img8_ContentID as contentid, cl.imgPath + c.fileName AS imageURL, Img8_Comment as imgCaption from tbl_PRD_ProductImages prd with (nolock) inner join qry_ContentLookup cl on prd.Img8_ContentID = cl.ContentID and cl.ContentID <> 755 and cl.ImgExt in ( '.jpg','.jpeg','.png','.gif','.tif','tiff','.bmp' ) inner join tbl_FSC_Content c on c.contentId = cl.contentId where CatalogLevel = 'sku' and Code = '5150006961' and ownerid = 26 and fsl_tablecode = 'MFR' union select 90 as sortrank, 'SKU' as level, 'IMG9' as imgtype, Img9_ContentID as contentid, cl.imgPath + c.fileName AS imageURL, Img9_Comment as imgCaption from tbl_PRD_ProductImages prd with (nolock) inner join qry_ContentLookup cl on prd.Img9_ContentID = cl.ContentID and cl.ContentID <> 755 and cl.ImgExt in ( '.jpg','.jpeg','.png','.gif','.tif','tiff','.bmp' ) inner join tbl_FSC_Content c on c.contentId = cl.contentId where CatalogLevel = 'sku' and Code = '5150006961' and ownerid = 26 and fsl_tablecode = 'MFR' union select 100 as sortrank, 'SKU' as level, 'IMG10' as imgtype, Img10_ContentID as contentid, cl.imgPath + c.fileName AS imageURL, Img10_Comment as imgCaption from tbl_PRD_ProductImages prd with (nolock) inner join qry_ContentLookup cl on prd.Img10_ContentID = cl.ContentID and cl.ContentID <> 755 and cl.ImgExt in ( '.jpg','.jpeg','.png','.gif','.tif','tiff','.bmp' ) inner join tbl_FSC_Content c on c.contentId = cl.contentId where CatalogLevel = 'sku' and Code = '5150006961' and ownerid = 26 and fsl_tablecode = 'MFR' union select 45 as sortrank, 'SKU' as level, 'LBL' as imgtype, Label_ContentID as contentid, cl.imgPath + c.fileName AS imageURL, Label_Comment as imgCaption from tbl_PRD_ProductImages prd with (nolock) inner join qry_ContentLookup cl on prd.Label_ContentID = cl.ContentID and cl.ContentID <> 755 and cl.ImgExt in ( '.jpg','.jpeg','.png','.gif','.tif','tiff','.bmp' ) inner join tbl_FSC_Content c on c.contentId = cl.contentId where CatalogLevel = 'sku' and Code = '5150006961' and ownerid = 26 and fsl_tablecode = 'MFR' union select 50 as sortrank, 'SKU' as level, 'MSTR' as imgtype, MstrPkg_ContentID as contentid, cl.imgPath + c.fileName AS imageURL, MstrPkg_Comment as imgCaption from tbl_PRD_ProductImages prd with (nolock) inner join qry_ContentLookup cl on prd.MstrPkg_ContentID = cl.ContentID and cl.ContentID <> 755 and cl.ImgExt in ( '.jpg','.jpeg','.png','.gif','.tif','tiff','.bmp' ) inner join tbl_FSC_Content c on c.contentId = cl.contentId where CatalogLevel = 'sku' and Code = '5150006961' and ownerid = 26 and fsl_tablecode = 'MFR' union select 60 as sortrank, 'SKU' as level, 'UNIT' as imgtype, UnitPkg_ContentID as contentid, cl.imgPath + c.fileName AS imageURL, UnitPkg_Comment as imgCaption from tbl_PRD_ProductImages prd with (nolock) inner join qry_ContentLookup cl on prd.UnitPkg_ContentID = cl.ContentID and cl.ContentID <> 755 and cl.ImgExt in ( '.jpg','.jpeg','.png','.gif','.tif','tiff','.bmp' ) inner join tbl_FSC_Content c on c.contentId = cl.contentId where CatalogLevel = 'sku' and Code = '5150006961' and ownerid = 26 and fsl_tablecode = 'MFR' union select 70 as sortrank, 'SKU' as level, 'SUB' as imgtype, SubPkg_ContentID as contentid, cl.imgPath + c.fileName AS imageURL, SubPkg_Comment as imgCaption from tbl_PRD_ProductImages prd with (nolock) inner join qry_ContentLookup cl on prd.SubPkg_ContentID = cl.ContentID and cl.ContentID <> 755 and cl.ImgExt in ( '.jpg','.jpeg','.png','.gif','.tif','tiff','.bmp' ) inner join tbl_FSC_Content c on c.contentId = cl.contentId where CatalogLevel = 'sku' and Code = '5150006961' and ownerid = 26 and fsl_tablecode = 'MFR' union select 80 as sortrank, 'SKU' as level, 'OUTOFBOX' as imgtype, SubPkg_ContentID as contentid, cl.imgPath + c.fileName AS imageURL, SubPkg_Comment as imgCaption from tbl_PRD_ProductImages prd with (nolock) inner join qry_ContentLookup cl on prd.OutOfPackage_ContentID = cl.ContentID and cl.ContentID <> 755 and cl.ImgExt in ( '.jpg','.jpeg','.png','.gif','.tif','tiff','.bmp' ) inner join tbl_FSC_Content c on c.contentId = cl.contentId where CatalogLevel = 'sku' and Code = '5150006961' and ownerid = 26 and fsl_tablecode = 'MFR' order by sortrank | ||||||||||||||
| query | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RESULTSET |
|
|||||||||||||||||||||||||
| CACHED | false | |||||||||||||||||||||||||
| EXECUTIONTIME | 80 | |||||||||||||||||||||||||
| SQL | SELECT distinct p.prodID, p.shortDesc , coalesce( ( select top 1 'http://doclibrary.com/' + c.mainFolder + '/' + c.subFolder + '/' + c.fileName from tbl_PRD_Images i with (nolock) inner join tbl_FSC_Content c with (nolock) on c.contentId = i.contentId where i.linkId = p.prodId and i.linkType = 'PRD' and i.imageCode = 'IMG1' and i.ownerId = p.ownerId and i.ownerType = p.fsl_tablecode order by i.uploadDate ), 'http://doclibrary.com/generic/UTL/clearpixel.gif' ) as imgURL , ( select top 1 i.comment from tbl_PRD_Images i with (nolock) where i.linkId = p.prodId and i.linkType = 'PRD' and i.imageCode = 'IMG1' and i.ownerId = p.ownerId and i.ownerType = p.fsl_tablecode order by i.uploadDate ) as imgComments FROM tbl_PRD_Products p , tbl_PRD_SKUs s LEFT OUTER JOIN tbl_PRD_CustomerSkus cs ON s.sku = cs.sku AND cs.LinkType = 'sku' AND cs.OwnerID = 26 AND cs.FSL_TableCode = 'MFR' WHERE p.OwnerID = 26 AND p.FSL_TableCode = 'MFR' AND p.unpublishDate >= {d '2026-04-17'} AND p.inactive = 0 AND {d '2026-04-17'} >= p.publishdate AND p.ProdID = s.ProdID AND s.OwnerID = 26 AND s.FSL_TableCode = 'MFR' AND s.inactive = '0' AND s.discontinued = 'N' AND (s.unpublishDate >= {d '2026-04-17'} AND {d '2026-04-17'} >= s.publishdate) AND (rtrim(s.PrivateLabelType) = '' OR s.PrivateLabelType IS NULL OR s.PrivateLabelType = 'MFR') AND (p.product LIKE ? OR p.shortdesc LIKE ? OR p.longdesc LIKE ? OR s.sku LIKE ? OR s.skuDesc LIKE ? OR cs.customerSku LIKE ? ) ORDER BY p.shortDesc | |||||||||||||||||||||||||
| SQLPARAMETERS |
|
|||||||||||||||||||||||||
| query | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RESULTSET |
|
||||||||||||||||||||
| CACHED | false | ||||||||||||||||||||
| EXECUTIONTIME | 90 | ||||||||||||||||||||
| SQL | SELECT distinct p.prodID, p.shortDesc , imgURL = (SELECT TOP 1 c.imgPath + c.ImgName + '_100' + c.ImgExt AS imageURL FROM tbl_PRD_ProductImages i inner join qry_ContentLookup c ON i.Img1_ContentID = c.ContentID WHERE i.OwnerID = 26 AND i.FSL_TableCode = 'MFR' AND i.Code = p.product AND i.CatalogLevel = 'PRD' ORDER BY i.Img1_UploadDate) FROM tbl_PRD_Products p , tbl_PRD_SKUs s LEFT OUTER JOIN tbl_PRD_CustomerSkus cs ON s.sku = cs.sku AND cs.LinkType = 'sku' AND cs.OwnerID = 26 AND cs.FSL_TableCode = 'MFR' WHERE p.OwnerID = 26 AND p.FSL_TableCode = 'MFR' AND p.unpublishDate >= {d '2026-04-17'} AND p.inactive = 0 AND {d '2026-04-17'} >= p.publishdate AND p.ProdID = s.ProdID AND s.OwnerID = 26 AND s.FSL_TableCode = 'MFR' AND s.inactive = '0' AND s.discontinued = 'N' AND (s.unpublishDate >= {d '2026-04-17'} AND {d '2026-04-17'} >= s.publishdate) AND (rtrim(s.PrivateLabelType) = '' OR s.PrivateLabelType IS NULL OR s.PrivateLabelType = 'MFR') AND (p.product LIKE ? OR p.shortdesc LIKE ? OR p.longdesc LIKE ? OR s.sku LIKE ? OR s.skuDesc LIKE ? OR cs.customerSku LIKE ? ) ORDER BY p.shortDesc | ||||||||||||||||||||
| SQLPARAMETERS |
|
||||||||||||||||||||
| query | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RESULTSET |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CACHED | false | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| EXECUTIONTIME | 148 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SQL | SELECT s.skuid, s.sku, s.MaxOrderQty, s.skudesc , case when c.contentId is not null then 'http://doclibrary.com/' + c.mainFolder + '/' + c.subFolder + '/' + c.fileName else null end as imgURL , c.contentId as PRD_ContentId FROM tbl_PRD_Skus s LEFT OUTER JOIN tbl_PRD_CustomerSkus cs ON s.sku = cs.sku AND cs.LinkType = 'sku' AND cs.OwnerID = 26 AND cs.FSL_TableCode = 'MFR' left outer join tbl_PRD_Images i with (nolock) on i.linkId = s.skuId and i.linkType = 'SKU' and i.imageCode = 'IMG1' and i.ownerId = s.ownerId and i.ownertype = s.fsl_tablecode left outer join tbl_FSC_Content c with (nolock) on c.contentId = i.contentId WHERE s.OwnerID = ? AND s.FSL_TableCode = ? AND s.inactive = '0' AND s.ProdID = ? AND (rtrim(s.PrivateLabelType) = '' OR s.PrivateLabelType IS NULL OR s.PrivateLabelType = 'MFR') AND (s.sku LIKE ? OR s.skudesc LIKE ? OR cs.customerSku LIKE ? ) and s.discontinued = 'N' ORDER BY s.sortrank, s.sku, s.skuDesc | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SQLPARAMETERS |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| query | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RESULTSET |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CACHED | false | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| EXECUTIONTIME | 259 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SQL | SELECT s.skuid, s.sku, s.MaxOrderQty, s.skudesc , imgURL = COALESCE((SELECT top 1 c.imgPath + c.ImgName + '__100' + c.ImgExt AS imageURL),'') , i.Img1_ContentID as PRD_ContentID FROM tbl_PRD_Skus s LEFT OUTER JOIN tbl_PRD_CustomerSkus cs ON s.sku = cs.sku AND cs.LinkType = 'sku' AND cs.OwnerID = 26 AND cs.FSL_TableCode = 'MFR' LEFT OUTER JOIN tbl_PRD_ProductImages i ON i.OwnerID = ? AND i.FSL_TableCode = ? AND i.linkID = s.skuid AND i.CatalogLevel = 'SKU' LEFT OUTER JOIN qry_ContentLookup c ON i.Img1_ContentID = c.ContentID WHERE s.OwnerID = ? AND s.FSL_TableCode = ? AND s.inactive = '0' AND s.ProdID = ? AND (rtrim(s.PrivateLabelType) = '' OR s.PrivateLabelType IS NULL OR s.PrivateLabelType = 'MFR') AND (s.sku LIKE ? OR s.skudesc LIKE ? OR cs.customerSku LIKE ? ) and s.discontinued = 'N' ORDER BY s.sortrank, s.sku, s.skuDesc | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SQLPARAMETERS |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| query | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RESULTSET |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CACHED | false | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| EXECUTIONTIME | 40 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SQL | SELECT s.skuid, s.sku, s.skuDesc , c.category , coalesce( IMG1.imgPath, 'http://doclibrary.com/generic/UTL/' ) as imgPath , coalesce( IMG1.imgName, 'clearpixel' ) as imgName , coalesce( IMG1.imgExt, '.gif' ) as imgExt , coalesce( IMG1.contentPath, 'http://doclibrary.com/generic/UTL/clearpixel.gif' ) as IMG1ContentPath , IMG1.IMG1_fileSize , IMG1.IMG1_fileExt , IMG1.IMG1_uploadDate , IMG1.IMG1_contentId , IMG1.IMG1_comment , coalesce( IMG2.imgPath, 'http://doclibrary.com/generic/UTL/' ) as imgPath , coalesce( IMG2.imgName, 'clearpixel' ) as imgName , coalesce( IMG2.imgExt, '.gif' ) as imgExt , coalesce( IMG2.contentPath, 'http://doclibrary.com/generic/UTL/clearpixel.gif' ) as IMG2ContentPath , IMG2.IMG2_fileSize , IMG2.IMG2_fileExt , IMG2.IMG2_uploadDate , IMG2.IMG2_contentId , IMG2.IMG2_comment FROM tbl_PRD_Skus s with (nolock) left outer join ( select i_IMG1.ownerId as ownerId, i_IMG1.ownerType as ownerType, i_IMG1.linkId as skuId, 'http://doclibrary.com/' + c_IMG1.mainFolder + '/' + c_IMG1.subFolder + '/' as imgPath, left( c_IMG1.fileName, len( c_IMG1.fileName ) - len ( i_IMG1.fileExt ) ) as imgName, i_IMG1.fileExt as imgExt, 'http://doclibrary.com/' + c_IMG1.mainFolder + '/' + c_IMG1.subFolder + '/' + left( c_IMG1.fileName, len( c_IMG1.fileName ) - len ( i_IMG1.fileExt ) ) + '_100' + i_IMG1.fileExt as contentPath ,i_IMG1.fileExt as IMG1_fileExt ,i_IMG1.fileSize as IMG1_fileSize ,i_IMG1.contentId as IMG1_contentId ,i_IMG1.uploadDate as IMG1_uploadDate ,i_IMG1.comment as IMG1_comment from tbl_PRD_Images as i_IMG1 with (nolock) inner join tbl_FSC_Content as c_IMG1 with (nolock) on c_IMG1.contentId = i_IMG1.contentId where i_IMG1.linkType = 'SKU' and i_IMG1.imageCode = ? ) as IMG1 on IMG1.skuId = s.skuId and IMG1.ownerId = s.ownerId and IMG1.ownerType = s.fsl_tablecode left outer join ( select i_IMG2.ownerId as ownerId, i_IMG2.ownerType as ownerType, i_IMG2.linkId as skuId, 'http://doclibrary.com/' + c_IMG2.mainFolder + '/' + c_IMG2.subFolder + '/' as imgPath, left( c_IMG2.fileName, len( c_IMG2.fileName ) - len ( i_IMG2.fileExt ) ) as imgName, i_IMG2.fileExt as imgExt, 'http://doclibrary.com/' + c_IMG2.mainFolder + '/' + c_IMG2.subFolder + '/' + left( c_IMG2.fileName, len( c_IMG2.fileName ) - len ( i_IMG2.fileExt ) ) + '_100' + i_IMG2.fileExt as contentPath ,i_IMG2.fileExt as IMG2_fileExt ,i_IMG2.fileSize as IMG2_fileSize ,i_IMG2.contentId as IMG2_contentId ,i_IMG2.uploadDate as IMG2_uploadDate ,i_IMG2.comment as IMG2_comment from tbl_PRD_Images as i_IMG2 with (nolock) inner join tbl_FSC_Content as c_IMG2 with (nolock) on c_IMG2.contentId = i_IMG2.contentId where i_IMG2.linkType = 'SKU' and i_IMG2.imageCode = ? ) as IMG2 on IMG2.skuId = s.skuId and IMG2.ownerId = s.ownerId and IMG2.ownerType = s.fsl_tablecode , tbl_PRD_Products p , tbl_PRD_Categories c WHERE s.OwnerID = ? AND s.FSL_TableCode = ? AND s.inactive = 0 AND s.sku = ? AND s.prodid = p.prodid AND p.categoryid = c.categoryid AND (s.unpublishDate >= {d '2026-04-17'} AND {d '2026-04-17'} >= s.publishdate) Order By s.skuDesc; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SQLPARAMETERS |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| query | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RESULTSET |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CACHED | false | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| EXECUTIONTIME | 41 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SQL | SELECT s.skuid, s.sku, s.skuDesc , c.category , cImg1.imgPath, cImg1.ImgName, cImg1.ImgExt , cImg1.imgPath + cImg1.ImgName + '_100' + cImg1.ImgExt AS Img1ContentPath , s_img.Img1_FileSize, s_img.Img1_FileExt, s_img.Img1_UploadDate, s_img.Img1_ContentID, s_img.Img1_Comment , cImg2.imgPath, cImg2.ImgName, cImg2.ImgExt , cImg2.imgPath + cImg2.ImgName + '_100' + cImg2.ImgExt AS Img2ContentPath , s_img.Img2_FileSize, s_img.Img2_FileExt, s_img.Img2_UploadDate, s_img.Img2_ContentID, s_img.Img2_Comment FROM tbl_PRD_Skus s with (nolock) LEFT OUTER JOIN tbl_PRD_ProductImages s_img with (nolock) ON (s.skuId = s_img.linkID AND s_img.CatalogLevel = ? AND s_img.OwnerID = ? AND s_img.FSL_TableCode = ?) LEFT OUTER JOIN qry_ContentLookup cImg1 with (nolock) ON (s_img.Img1_ContentID = cImg1.contentid) LEFT OUTER JOIN qry_ContentLookup cImg2 with (nolock) ON (s_img.Img2_ContentID = cImg2.contentid) , tbl_PRD_Products p , tbl_PRD_Categories c WHERE s.OwnerID = ? AND s.FSL_TableCode = ? AND s.inactive = 0 AND s.sku = ? AND s.prodid = p.prodid AND p.categoryid = c.categoryid AND (s.unpublishDate >= {d '2026-04-17'} AND {d '2026-04-17'} >= s.publishdate) Order By s.skuDesc; | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SQLPARAMETERS |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||