Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用 HibernateTemplate() 对象从表中删除前“N”行。如何将其指定给 HibernateTemplate 对象?
delete from table_name WHERE rowid IN (SELECT rowid FROM table_name WHERE rownum <= &no_of_rows_to_keep);