How can I delete the first 10 rows from a kdb table? I want to delete specifically the first 10 rows returned from:
select [10] from mytable
I tried to use delete with the i index but the count of rows does not decrease:
count mytable
2201784
delete from mytable where i < 10
count mytable
2201784
Also the delete statement returns a number of rows to my Q console, not sure what that is.
count md (2201784i); delete from md where i < 100; count md (2201784i)
. Also the delete statement using thewhere i<100
condition returns rows on my q console. It seems to work like a select statement. – Boelter