예제 #1
0
 def top_ten_query(self, handle_id):
     table_file = os.path.join(os.path.dirname(__file__), '..', '..',
                               'Data', 'database_plans', 'SQLite',
                               'table_names.sql')
     top_ten_query = 'select * from %s limit 10'
     GenericDatabase.top_ten_query(self, handle_id, table_file,
                                   top_ten_query)
예제 #2
0
 def top_ten_query(self, handle_id):
     table_file = os.path.join(os.path.dirname(__file__), '..', '..',
                               'Data', 'database_plans', 'SQL Server',
                               'Survey (Ver 9+)', 'tables.sql')
     top_ten_query = 'select top 10 * from %s'
     GenericDatabase.top_ten_query(self, handle_id, table_file,
                                   top_ten_query)
예제 #3
0
 def top_ten_query(self, handle_id):
     table_query_file = os.path.join(os.path.dirname(__file__), '..', '..',
                                     'Data', 'database_plans', 'oracle',
                                     'survey', 'tables.sql')
     top_ten_query = 'select * from %s where rownum <= 10'
     GenericDatabase.top_ten_query(self, handle_id, table_query_file,
                                   top_ten_query)
예제 #4
0
 def top_ten_query(self, handle_id):
     table_file = os.path.join(os.path.dirname(__file__), '..', '..', 'Data', 'database_plans', 'SQL Server', 'Survey (Ver 9+)', 'tables.sql')
     top_ten_query = 'select top 10 * from %s'
     GenericDatabase.top_ten_query(self, handle_id, table_file, top_ten_query)
예제 #5
0
파일: oracle.py 프로젝트: M31MOTH/fuzzbunch
 def top_ten_query(self, handle_id):
     table_query_file = os.path.join(os.path.dirname(__file__), '..', '..', 'Data', 'database_plans', 'oracle', 'survey', 'tables.sql')
     top_ten_query = 'select * from %s where rownum <= 10'
     GenericDatabase.top_ten_query(self, handle_id, table_query_file, top_ten_query)
예제 #6
0
파일: sqlite.py 프로젝트: M31MOTH/fuzzbunch
 def top_ten_query(self, handle_id):
     table_file = os.path.join(os.path.dirname(__file__), '..', '..', 'Data', 'database_plans', 'SQLite', 'table_names.sql')
     top_ten_query = 'select * from %s limit 10'
     GenericDatabase.top_ten_query(self, handle_id, table_file, top_ten_query)