Hi
I am trying to delete item type (ItemType_Frugtoggront) and the paragraph that it belongs to
The query below deletes the record fromt the ItemType table, and from the paragraph table
DELETE FROM ItemType_Frugtoggront WHERE Id IN
(SELECT ParagraphItemId FROM Paragraph where ParagraphVersionTimeStamp > DATEADD(d, -30, GETDATE()) and ParagraphItemType='Frugtoggront')
DELETE FROM Paragraph where ParagraphVersionTimeStamp > DATEADD(d, -30, GETDATE()) and ParagraphItemType='Frugtoggront'
But i can still see the paragraph when i go to the page. What am i missing?
/Hans