add exception of SQL cmd