Posts by Robson Martins Lopes • 1 point
2 posts
-
-4
votes2
answers1017
viewsA: Prevent DROP TABLE
Often those who have advanced knowledge think they no longer need to research! CREATE TRIGGER [Trg_notDropTable] ON DATABASE FOR DROP_TABLE AS BEGIN SET NOCOUNT ON; DECLARE @data XML; DECLARE…
-
-2
votes1
answer119
viewsA: group per SQL query
The correct thing would be for you to have the following structure.. post category post1 categoria1 post1 categoria2 post2 categoria1 post2 categoria3 then you could easily list the distinct…