Need to extract .sql files

Hi,

I am trying to extract all .sql files present in a particular directory and its sub directories. How can i do this using shell script or awk?

any help would be earnestly appreciated.

thanks.

find can do the job pretty well

find . -type f -name "*.sql" -print