KAR Sql scripts