throw'You cannot change the delimier in server mode. This happens because SQL Workbench does now know another delimiter during console mode. You can only change the delimiter in batch mode (see the documentation). So, if you want to change the delimiter, please open the buffer in batch mode. '
sw#display_error('You cannot change the delimier in server mode. This happens because SQL Workbench does now know another delimiter during console mode. You can only change the delimiter in batch mode (see the documentation). So, if you want to change the delimiter, please open the buffer in batch mode.')
let procedures ={'title':'Procedures','shortcut':'P','command':'WbListProcs;','panels':[sw_sql_source_proc]}
let triggers ={'title':'Triggers','shortcut':'T','command':'WbListTriggers;','panels':[sw_sql_source_triggers]}
let schemas ={'title':'Show schemas','shortcut':'M','command':'wblistschemas;','panels':[{'title':'Select schema','shortcut':'H','command':"set search_path to %object%;"},{'title':'Select *','shortcut':'A','command':"set search_path to '*.*'"}]}
let oracle_dblinks ={'title':'DB Links','shortcut':'L','command':'select db_link, username, created from user_db_links;','panels':[{'title':'Show the host','shortcut':'H','command':"select host from user_db_links where db_link = '%object%'"}]}
let oracle_jobs ={'title':'User Jobs','shortcut':'J','command':'select job_name, job_creator, start_date, repeat_interval from user_scheduler_jobs','panels':[{'title':'Job source','shortcut':'S','command':"select job_action from user_scheduler_jobs where job_name = '%object%'",'hide_header':1,'filetype':'sql'}]}
let oracle_packages ={'title':'Packages','shortcut':'K','command':"select OBJECT_NAME, OBJECT_TYPE, STATUS from user_objects where object_type in ('PACKAGE');",'panels':[{'title':'SQL Source','shortcut':'S','command':"wbprocsource %object%",'filetype':'sql'},{'title':'Compile','shortcut':'E','command':'alter package %object% compile package'}]}
let oracle_schemas ={'title':'Show schemas','shortcut':'M','command':'wblistschemas;','panels':[{'title':'Select schema','shortcut':'H','command':"alter session set current_schema = %object%;"}]}