SQL Queries
SQL Queries
referencing a CLR routine, type, or aggregate. You can nest stored procedures and managed code
references up to 32 levels.
Query in sql that will return the column names for the table?
DELETE
FROM MyTable
WHERE ID NOT IN
(
SELECT MAX(ID)
FROM MyTable
GROUP BY DuplicateColumn1, DuplicateColumn2, DuplicateColumn3)