Hi everyone
I need some help with a delete query. Basically one of our applications uses an access database to run its reports off. The database is only a temporary one that gets populated on the fly.
I'm looking to be able to run a query like
delete from table
where tablerow not in
(select top 16000 tablerows from table)
There isn't a primary key on the table as it is just a dump of data.
Is this even possible?
Transcend
![[gorgeous] [gorgeous] [gorgeous]](/data/assets/smilies/gorgeous.gif)
I need some help with a delete query. Basically one of our applications uses an access database to run its reports off. The database is only a temporary one that gets populated on the fly.
I'm looking to be able to run a query like
delete from table
where tablerow not in
(select top 16000 tablerows from table)
There isn't a primary key on the table as it is just a dump of data.
Is this even possible?
Transcend
![[gorgeous] [gorgeous] [gorgeous]](/data/assets/smilies/gorgeous.gif)