'How can I delete n rows from a table using ctid?
I have a table with no primary key, just two columns with random varchar(100) values(cannot be sorted or used as a limit value). Is there a way to delete first n rows using ctid? I imagine something like:
DELETE FROM my_table
Where {my_table.ctid < '(0,10000)'}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
