/ Script for SelectTopNRows command from SSMS /
SELECT [ProductID]
where P.ProductId not in (select [ProductID] FROM [dbo].[NB_Store_ProductCategory])
SELECT [ProductID]
,[PortalID]
,[TaxCategoryID]
,[Featured]
,[Archived]
,[CreatedByUser]
,[CreatedDate]
,[IsDeleted]
,[ProductRef]
,[ModifiedDate]
,[IsHidden]
FROM [dbo].[NB_Store_Products] as Pwhere P.ProductId not in (select [ProductID] FROM [dbo].[NB_Store_ProductCategory])