Skip to content

Commit 0624a85

Browse files
author
Adam Robbins-Pianka
committed
Uppercase portions of SQL commands
1 parent 58b3d37 commit 0624a85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qiita_db/util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,8 +476,8 @@ def get_processed_params_tables():
476476
-------
477477
list of str
478478
"""
479-
sql = ("select * from information_schema.tables where table_schema = "
480-
"'qiita' and substr(table_name, 1, 17) = 'processed_params_'")
479+
sql = ("SELECT * FROM information_schema.tables WHERE table_schema = "
480+
"'qiita' AND SUBSTR(table_name, 1, 17) = 'processed_params_'")
481481

482482
conn = SQLConnectionHandler()
483483
return [x[2] for x in conn.execute_fetchall(sql)]

0 commit comments

Comments
 (0)