Paste #8603: Untitled Paste

Date: 2014/08/19 20:24:05 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13


#[23:32:48 INFO]:  ...remembering this script entry as 'dbExists'! 
#[23:32:48 INFO]: +> Executing 'SQL': sqlid='PerkPoints_query'  action='QUERY'  query='SELECT 
#                   COUNT(*) FROM information_schema.tables WHERE table_schema=PerkPoints' 
#[23:32:48 INFO]:  Running query SELECT COUNT(*) FROM information_schema.tables WHERE 
#                   table_schema=PerkPoints 
#[23:32:48 INFO]:  ERROR! SQL Exception: Unknown column 'PerkPoints' in 'where clause'






    - ^sql id:%db%_query "query:SELECT COUNT(*) FROM information_schema.tables WHERE table_schema=%db%" save:dbExists