shell and bat and db sql