sql:="SELECT 1 FROM "+db.Quote("INFORMATION_SCHEMA")+"."+db.Quote("STATISTICS")+" WHERE "+db.Quote("TABLE_SCHEMA")+" = DATABASE() AND "+db.Quote("TABLE_NAME")+"=? AND "+db.Quote("INDEX_NAME")+"=?"
sql:="SELECT 1 FROM "+db.Quote("INFORMATION_SCHEMA")+"."+db.Quote("COLUMNS")+" WHERE "+db.Quote("TABLE_SCHEMA")+" = DATABASE() AND "+db.Quote("TABLE_NAME")+"=? AND "+db.Quote("COLUMN_NAME")+"=?"