diff --git a/transport/sql/common.py b/transport/sql/common.py index 38ebfed..767d922 100644 --- a/transport/sql/common.py +++ b/transport/sql/common.py @@ -64,7 +64,7 @@ class Base: @TODO: Execution of stored procedures """ - if sql.lower().startswith('select') or sql.lower().startswith('with') : + if sql.strip().lower().startswith('select') or sql.strip().lower().startswith('with') : return pd.read_sql(sql,self._engine) else: