awk Line Range

awk 'NR>=16224&&NR<=16482' in.sql > out.sql
Sven