DB/Commands: remove database name from previous sql