• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

HPros
#1 Posted : Wednesday, February 13, 2008 4:14:23 PM(UTC)
HPros

Rank: Member

Joined: 1/30/2008(UTC)
Posts: 215

Is there an easy way to find orphan products that are not assigned to categories? Is there an easy way to create a report that would do this?




promomanagers
CorneliuTusnea
#2 Posted : Wednesday, February 13, 2008 10:15:55 PM(UTC)
CorneliuTusnea

Rank: Member

Joined: 8/17/2006(UTC)
Posts: 681

Try this:
select ProductName, PC.CategoryId from bvc_Product P
left join dbo.bvc_ProductXCategory PC on P.bvin = PC.ProductId
where PC.CategoryId is null
order by categoryid
http://www.bestgames.com.au
http://www.bestchess.com.au



BV Product Links, Details and Signatures: Improve your customer experience:

http://www.acorns.com.au/projects/bv/quicklink/

HPros
#3 Posted : Thursday, February 14, 2008 7:03:14 PM(UTC)
HPros

Rank: Member

Joined: 1/30/2008(UTC)
Posts: 215

Corneliu, would I just run that as a query?
CorneliuTusnea
#4 Posted : Friday, February 15, 2008 7:34:25 AM(UTC)
CorneliuTusnea

Rank: Member

Joined: 8/17/2006(UTC)
Posts: 681

Yes, run that in SQL and you get the product names that have no categories assigned to them.
Regards,
Corneliu.
http://www.bestgames.com.au
http://www.bestchess.com.au



BV Product Links, Details and Signatures: Improve your customer experience:

http://www.acorns.com.au/projects/bv/quicklink/

HPros
#5 Posted : Friday, February 15, 2008 10:45:42 AM(UTC)
HPros

Rank: Member

Joined: 1/30/2008(UTC)
Posts: 215

Huge, works great and once again you are an awesome resource Corneliu.

Our orphan rate was under 2%, but that's 2% that had little chance of staying indexed.
CorneliuTusnea
#6 Posted : Monday, February 18, 2008 1:28:19 AM(UTC)
CorneliuTusnea

Rank: Member

Joined: 8/17/2006(UTC)
Posts: 681

Thanks HPros,
I was thinking about asking for salary from BVC for offering support :) hehehe
Regads,
Corneliu.
http://www.bestgames.com.au
http://www.bestchess.com.au



BV Product Links, Details and Signatures: Improve your customer experience:

http://www.acorns.com.au/projects/bv/quicklink/

Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012