how to run sql query on radius startup