{ // 获取包含Hugging Face文本的span元素 const spans = link.querySelectorAll('span.whitespace-nowrap, span.hidden.whitespace-nowrap'); spans.forEach(span => { if (span.textContent && span.textContent.trim().match(/Hugging\s*Face/i)) { span.textContent = 'AI快站'; } }); }); // 替换logo图片的alt属性 document.querySelectorAll('img[alt*="Hugging"], img[alt*="Face"]').forEach(img => { if (img.alt.match(/Hugging\s*Face/i)) { img.alt = 'AI快站 logo'; } }); } // 替换导航栏中的链接 function replaceNavigationLinks() { // 已替换标记,防止重复运行 if (window._navLinksReplaced) { return; } // 已经替换过的链接集合,防止重复替换 const replacedLinks = new Set(); // 只在导航栏区域查找和替换链接 const headerArea = document.querySelector('header') || document.querySelector('nav'); if (!headerArea) { return; } // 在导航区域内查找链接 const navLinks = headerArea.querySelectorAll('a'); navLinks.forEach(link => { // 如果已经替换过,跳过 if (replacedLinks.has(link)) return; const linkText = link.textContent.trim(); const linkHref = link.getAttribute('href') || ''; // 替换Spaces链接 - 仅替换一次 if ( (linkHref.includes('/spaces') || linkHref === '/spaces' || linkText === 'Spaces' || linkText.match(/^s*Spacess*$/i)) && linkText !== 'PDF TO Markdown' && linkText !== 'PDF TO Markdown' ) { link.textContent = 'PDF TO Markdown'; link.href = 'https://fast360.xyz'; link.setAttribute('target', '_blank'); link.setAttribute('rel', 'noopener noreferrer'); replacedLinks.add(link); } // 删除Posts链接 else if ( (linkHref.includes('/posts') || linkHref === '/posts' || linkText === 'Posts' || linkText.match(/^s*Postss*$/i)) ) { if (link.parentNode) { link.parentNode.removeChild(link); } replacedLinks.add(link); } // 替换Docs链接 - 仅替换一次 else if ( (linkHref.includes('/docs') || linkHref === '/docs' || linkText === 'Docs' || linkText.match(/^s*Docss*$/i)) && linkText !== 'Voice Cloning' ) { link.textContent = 'Voice Cloning'; link.href = 'https://vibevoice.info/'; replacedLinks.add(link); } // 删除Enterprise链接 else if ( (linkHref.includes('/enterprise') || linkHref === '/enterprise' || linkText === 'Enterprise' || linkText.match(/^s*Enterprises*$/i)) ) { if (link.parentNode) { link.parentNode.removeChild(link); } replacedLinks.add(link); } }); // 查找可能嵌套的Spaces和Posts文本 const textNodes = []; function findTextNodes(element) { if (element.nodeType === Node.TEXT_NODE) { const text = element.textContent.trim(); if (text === 'Spaces' || text === 'Posts' || text === 'Enterprise') { textNodes.push(element); } } else { for (const child of element.childNodes) { findTextNodes(child); } } } // 只在导航区域内查找文本节点 findTextNodes(headerArea); // 替换找到的文本节点 textNodes.forEach(node => { const text = node.textContent.trim(); if (text === 'Spaces') { node.textContent = node.textContent.replace(/Spaces/g, 'PDF TO Markdown'); } else if (text === 'Posts') { // 删除Posts文本节点 if (node.parentNode) { node.parentNode.removeChild(node); } } else if (text === 'Enterprise') { // 删除Enterprise文本节点 if (node.parentNode) { node.parentNode.removeChild(node); } } }); // 标记已替换完成 window._navLinksReplaced = true; } // 替换代码区域中的域名 function replaceCodeDomains() { // 特别处理span.hljs-string和span.njs-string元素 document.querySelectorAll('span.hljs-string, span.njs-string, span[class*="hljs-string"], span[class*="njs-string"]').forEach(span => { if (span.textContent && span.textContent.includes('huggingface.co')) { span.textContent = span.textContent.replace(/huggingface.co/g, 'aifasthub.com'); } }); // 替换hljs-string类的span中的域名(移除多余的转义符号) document.querySelectorAll('span.hljs-string, span[class*="hljs-string"]').forEach(span => { if (span.textContent && span.textContent.includes('huggingface.co')) { span.textContent = span.textContent.replace(/huggingface.co/g, 'aifasthub.com'); } }); // 替换pre和code标签中包含git clone命令的域名 document.querySelectorAll('pre, code').forEach(element => { if (element.textContent && element.textContent.includes('git clone')) { const text = element.innerHTML; if (text.includes('huggingface.co')) { element.innerHTML = text.replace(/huggingface.co/g, 'aifasthub.com'); } } }); // 处理特定的命令行示例 document.querySelectorAll('pre, code').forEach(element => { const text = element.innerHTML; if (text.includes('huggingface.co')) { // 针对git clone命令的专门处理 if (text.includes('git clone') || text.includes('GIT_LFS_SKIP_SMUDGE=1')) { element.innerHTML = text.replace(/huggingface.co/g, 'aifasthub.com'); } } }); // 特别处理模型下载页面上的代码片段 document.querySelectorAll('.flex.border-t, .svelte_hydrator, .inline-block').forEach(container => { const content = container.innerHTML; if (content && content.includes('huggingface.co')) { container.innerHTML = content.replace(/huggingface.co/g, 'aifasthub.com'); } }); // 特别处理模型仓库克隆对话框中的代码片段 try { // 查找包含"Clone this model repository"标题的对话框 const cloneDialog = document.querySelector('.svelte_hydration_boundary, [data-target="MainHeader"]'); if (cloneDialog) { // 查找对话框中所有的代码片段和命令示例 const codeElements = cloneDialog.querySelectorAll('pre, code, span'); codeElements.forEach(element => { if (element.textContent && element.textContent.includes('huggingface.co')) { if (element.innerHTML.includes('huggingface.co')) { element.innerHTML = element.innerHTML.replace(/huggingface.co/g, 'aifasthub.com'); } else { element.textContent = element.textContent.replace(/huggingface.co/g, 'aifasthub.com'); } } }); } // 更精确地定位克隆命令中的域名 document.querySelectorAll('[data-target]').forEach(container => { const codeBlocks = container.querySelectorAll('pre, code, span.hljs-string'); codeBlocks.forEach(block => { if (block.textContent && block.textContent.includes('huggingface.co')) { if (block.innerHTML.includes('huggingface.co')) { block.innerHTML = block.innerHTML.replace(/huggingface.co/g, 'aifasthub.com'); } else { block.textContent = block.textContent.replace(/huggingface.co/g, 'aifasthub.com'); } } }); }); } catch (e) { // 错误处理但不打印日志 } } // 当DOM加载完成后执行替换 if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', () => { replaceHeaderBranding(); replaceNavigationLinks(); replaceCodeDomains(); // 只在必要时执行替换 - 3秒后再次检查 setTimeout(() => { if (!window._navLinksReplaced) { console.log('[Client] 3秒后重新检查导航链接'); replaceNavigationLinks(); } }, 3000); }); } else { replaceHeaderBranding(); replaceNavigationLinks(); replaceCodeDomains(); // 只在必要时执行替换 - 3秒后再次检查 setTimeout(() => { if (!window._navLinksReplaced) { console.log('[Client] 3秒后重新检查导航链接'); replaceNavigationLinks(); } }, 3000); } // 增加一个MutationObserver来处理可能的动态元素加载 const observer = new MutationObserver(mutations => { // 检查是否导航区域有变化 const hasNavChanges = mutations.some(mutation => { // 检查是否存在header或nav元素变化 return Array.from(mutation.addedNodes).some(node => { if (node.nodeType === Node.ELEMENT_NODE) { // 检查是否是导航元素或其子元素 if (node.tagName === 'HEADER' || node.tagName === 'NAV' || node.querySelector('header, nav')) { return true; } // 检查是否在导航元素内部 let parent = node.parentElement; while (parent) { if (parent.tagName === 'HEADER' || parent.tagName === 'NAV') { return true; } parent = parent.parentElement; } } return false; }); }); // 只在导航区域有变化时执行替换 if (hasNavChanges) { // 重置替换状态,允许再次替换 window._navLinksReplaced = false; replaceHeaderBranding(); replaceNavigationLinks(); } }); // 开始观察document.body的变化,包括子节点 if (document.body) { observer.observe(document.body, { childList: true, subtree: true }); } else { document.addEventListener('DOMContentLoaded', () => { observer.observe(document.body, { childList: true, subtree: true }); }); } })(); ',\n''))\n,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
',\n'
',\n'
',\n'
',\n' ',\n'
',\n'
',\n'
',\n'

#SUCCESS_MESSAGE#

',\n'
',\n'
',\n'
',\n' ',\n'
',\n'
',\n'
',\n'
'))\n,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
',\n'
',\n'
',\n'
',\n' ',\n'
',\n'
',\n'
',\n' #MESSAGE#',\n'
',\n'
',\n'
',\n' ',\n'
',\n'
',\n'
',\n'
'))\n,p_navigation_bar=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
  • ',\n' ',\n' ',\n' &APP_USER.',\n' ',\n'
  • #BAR_BODY#',\n'
'))\n,p_navbar_entry=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n' ',\n' ',\n' #TEXT#',\n' ',\n'
  • '))\n,p_region_table_cattributes=>' summary=\"\" cellpadding=\"0\" border=\"0\" cellspacing=\"0\" width=\"100%\"'\n,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01'\n,p_theme_class_id=>17\n,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'

    #MESSAGE#

    ',\n'

    #ADDITIONAL_INFO#

    ',\n'
    #TECHNICAL_INFO#
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    '))\n,p_grid_type=>'FIXED'\n,p_grid_max_columns=>12\n,p_grid_always_use_max_columns=>true\n,p_grid_has_column_span=>true\n,p_grid_always_emit=>true\n,p_grid_emit_empty_leading_cols=>true\n,p_grid_emit_empty_trail_cols=>false\n,p_grid_default_label_col_span=>2\n,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#ROWS#',\n'
    '))\n,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#COLUMNS#',\n'
    '))\n,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#CONTENT#',\n'
    '))\n,p_grid_first_column_attributes=>'alpha'\n,p_grid_last_column_attributes=>'omega'\n,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);'\n,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);'\n,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);'\n,p_dialog_browser_frame=>'MODAL'\n,p_reference_id=>2525196570560608698\n,p_translate_this_template=>'N'\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689454772926258680)\n,p_page_template_id=>wwv_flow_api.id(55689454689093258679)\n,p_name=>'Content Body'\n,p_placeholder=>'BODY'\n,p_has_grid_support=>true\n,p_glv_new_row=>false\n,p_max_fixed_grid_columns=>8\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689454811933258681)\n,p_page_template_id=>wwv_flow_api.id(55689454689093258679)\n,p_name=>'Breadcrumb Bar'\n,p_placeholder=>'REGION_POSITION_01'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689454915078258681)\n,p_page_template_id=>wwv_flow_api.id(55689454689093258679)\n,p_name=>'Left Column'\n,p_placeholder=>'REGION_POSITION_02'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n,p_max_fixed_grid_columns=>4\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689455038182258681)\n,p_page_template_id=>wwv_flow_api.id(55689454689093258679)\n,p_name=>'Inline Dialogs'\n,p_placeholder=>'REGION_POSITION_04'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n,p_max_fixed_grid_columns=>12\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689455154708258681)\n,p_page_template_id=>wwv_flow_api.id(55689454689093258679)\n,p_name=>'Footer'\n,p_placeholder=>'REGION_POSITION_05'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n,p_max_fixed_grid_columns=>8\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689455269225258681)\n,p_page_template_id=>wwv_flow_api.id(55689454689093258679)\n,p_name=>'Page Navigation'\n,p_placeholder=>'REGION_POSITION_06'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689455310879258681)\n,p_page_template_id=>wwv_flow_api.id(55689454689093258679)\n,p_name=>'Page Header'\n,p_placeholder=>'REGION_POSITION_07'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689455403108258682)\n,p_page_template_id=>wwv_flow_api.id(55689454689093258679)\n,p_name=>'Before Navigation Bar'\n,p_placeholder=>'REGION_POSITION_08'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/page/left_and_right_side_columns\nbegin\nwwv_flow_api.create_template(\n p_id=>wwv_flow_api.id(55689455520543258682)\n,p_theme_id=>42\n,p_name=>'Left and Right Side Columns'\n,p_internal_name=>'LEFT_AND_RIGHT_SIDE_COLUMNS'\n,p_is_popup=>false\n,p_javascript_code_onload=>'apex.theme42.initializePage.bothSideCols();'\n,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n'',\n'',\n' ',\n' ',\n' #TITLE#',\n' #APEX_CSS#',\n' #THEME_CSS#',\n' #TEMPLATE_CSS#',\n' #THEME_STYLE_CSS#',\n' #APPLICATION_CSS#',\n' #PAGE_CSS#',\n' #FAVICONS#',\n' #HEAD#',\n' ',\n'',\n'',\n'#FORM_OPEN#',\n'
    ',\n' #REGION_POSITION_07#',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n' #LOGO#',\n'
    ',\n'
    ',\n' #NAVIGATION_BAR#',\n'
    ',\n'
    ',\n'
    ',\n' #TOP_GLOBAL_NAVIGATION_LIST#',\n' #REGION_POSITION_06#',\n'
    ',\n'
    '))\n,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#SIDE_GLOBAL_NAVIGATION_LIST#',\n'
    ',\n'
    ',\n' #REGION_POSITION_01#',\n'
    ',\n'
    ',\n' #REGION_POSITION_02#',\n'
    ',\n'
    ',\n' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#',\n'
    ',\n' #BODY#',\n'
    ',\n'
    ',\n' ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n' #REGION_POSITION_03#',\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n' #REGION_POSITION_04#',\n'
    '))\n,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'#FORM_CLOSE#',\n'#DEVELOPER_TOOLBAR#',\n'#APEX_JAVASCRIPT#',\n'#GENERATED_CSS#',\n'#THEME_JAVASCRIPT#',\n'#TEMPLATE_JAVASCRIPT#',\n'#APPLICATION_JAVASCRIPT#',\n'#PAGE_JAVASCRIPT# ',\n'#GENERATED_JAVASCRIPT#',\n'',\n''))\n,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'

    #SUCCESS_MESSAGE#

    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'
    '))\n,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n' #MESSAGE#',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'
    '))\n,p_navigation_bar=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
      ',\n'
    • ',\n' ',\n' ',\n' &APP_USER.',\n' ',\n'
    • #BAR_BODY#',\n'
    '))\n,p_navbar_entry=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n' ',\n' ',\n' #TEXT#',\n' ',\n'
  • '))\n,p_region_table_cattributes=>' summary=\"\" cellpadding=\"0\" border=\"0\" cellspacing=\"0\" width=\"100%\"'\n,p_sidebar_def_reg_pos=>'REGION_POSITION_03'\n,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01'\n,p_theme_class_id=>17\n,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'

    #MESSAGE#

    ',\n'

    #ADDITIONAL_INFO#

    ',\n'
    #TECHNICAL_INFO#
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    '))\n,p_grid_type=>'FIXED'\n,p_grid_max_columns=>12\n,p_grid_always_use_max_columns=>true\n,p_grid_has_column_span=>true\n,p_grid_always_emit=>false\n,p_grid_emit_empty_leading_cols=>true\n,p_grid_emit_empty_trail_cols=>false\n,p_grid_default_label_col_span=>2\n,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#ROWS#',\n'
    '))\n,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#COLUMNS#',\n'
    '))\n,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#CONTENT#',\n'
    '))\n,p_grid_first_column_attributes=>'alpha'\n,p_grid_last_column_attributes=>'omega'\n,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);'\n,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);'\n,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);'\n,p_dialog_browser_frame=>'MODAL'\n,p_reference_id=>2525203692562657055\n,p_translate_this_template=>'N'\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689455611764258682)\n,p_page_template_id=>wwv_flow_api.id(55689455520543258682)\n,p_name=>'Content Body'\n,p_placeholder=>'BODY'\n,p_has_grid_support=>true\n,p_glv_new_row=>false\n,p_max_fixed_grid_columns=>6\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689455797107258682)\n,p_page_template_id=>wwv_flow_api.id(55689455520543258682)\n,p_name=>'Breadcrumb Bar'\n,p_placeholder=>'REGION_POSITION_01'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689455824656258682)\n,p_page_template_id=>wwv_flow_api.id(55689455520543258682)\n,p_name=>'Left Column'\n,p_placeholder=>'REGION_POSITION_02'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n,p_max_fixed_grid_columns=>3\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689455915744258682)\n,p_page_template_id=>wwv_flow_api.id(55689455520543258682)\n,p_name=>'Right Column'\n,p_placeholder=>'REGION_POSITION_03'\n,p_has_grid_support=>false\n,p_glv_new_row=>false\n,p_max_fixed_grid_columns=>3\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689456048963258682)\n,p_page_template_id=>wwv_flow_api.id(55689455520543258682)\n,p_name=>'Inline Dialogs'\n,p_placeholder=>'REGION_POSITION_04'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n,p_max_fixed_grid_columns=>12\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689456103072258682)\n,p_page_template_id=>wwv_flow_api.id(55689455520543258682)\n,p_name=>'Footer'\n,p_placeholder=>'REGION_POSITION_05'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n,p_max_fixed_grid_columns=>6\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689456236571258682)\n,p_page_template_id=>wwv_flow_api.id(55689455520543258682)\n,p_name=>'Page Navigation'\n,p_placeholder=>'REGION_POSITION_06'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689456343215258682)\n,p_page_template_id=>wwv_flow_api.id(55689455520543258682)\n,p_name=>'Page Header'\n,p_placeholder=>'REGION_POSITION_07'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689456453167258682)\n,p_page_template_id=>wwv_flow_api.id(55689455520543258682)\n,p_name=>'Before Navigation Bar'\n,p_placeholder=>'REGION_POSITION_08'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/page/login\nbegin\nwwv_flow_api.create_template(\n p_id=>wwv_flow_api.id(55689456536805258683)\n,p_theme_id=>42\n,p_name=>'Login'\n,p_internal_name=>'LOGIN'\n,p_is_popup=>false\n,p_javascript_code_onload=>'apex.theme42.initializePage.appLogin();'\n,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n'',\n'',\n' ',\n' ',\n' #TITLE#',\n' #APEX_CSS#',\n' #THEME_CSS#',\n' #TEMPLATE_CSS#',\n' #THEME_STYLE_CSS#',\n' #APPLICATION_CSS#',\n' #PAGE_CSS#',\n' #FAVICONS#',\n' #HEAD#',\n' ',\n'',\n'',\n'#FORM_OPEN#'))\n,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n' #REGION_POSITION_01#',\n' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    '))\n,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'#FORM_CLOSE#',\n'#DEVELOPER_TOOLBAR#',\n'#APEX_JAVASCRIPT#',\n'#GENERATED_CSS#',\n'#THEME_JAVASCRIPT#',\n'#TEMPLATE_JAVASCRIPT#',\n'#APPLICATION_JAVASCRIPT#',\n'#PAGE_JAVASCRIPT# ',\n'#GENERATED_JAVASCRIPT#',\n'',\n''))\n,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'

    #SUCCESS_MESSAGE#

    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'
    '))\n,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n' #MESSAGE#',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'
    '))\n,p_region_table_cattributes=>' summary=\"\" cellpadding=\"0\" border=\"0\" cellspacing=\"0\" width=\"100%\"'\n,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01'\n,p_theme_class_id=>6\n,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'

    #MESSAGE#

    ',\n'

    #ADDITIONAL_INFO#

    ',\n'
    #TECHNICAL_INFO#
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    '))\n,p_grid_type=>'FIXED'\n,p_grid_max_columns=>12\n,p_grid_always_use_max_columns=>true\n,p_grid_has_column_span=>true\n,p_grid_always_emit=>true\n,p_grid_emit_empty_leading_cols=>true\n,p_grid_emit_empty_trail_cols=>false\n,p_grid_default_label_col_span=>2\n,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#ROWS#',\n'
    '))\n,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#COLUMNS#',\n'
    '))\n,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#CONTENT#',\n'
    '))\n,p_grid_first_column_attributes=>'alpha'\n,p_grid_last_column_attributes=>'omega'\n,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);'\n,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);'\n,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);'\n,p_dialog_browser_frame=>'MODAL'\n,p_reference_id=>2099711150063350616\n,p_translate_this_template=>'N'\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689456644835258683)\n,p_page_template_id=>wwv_flow_api.id(55689456536805258683)\n,p_name=>'Content Body'\n,p_placeholder=>'BODY'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n,p_max_fixed_grid_columns=>12\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689456714793258683)\n,p_page_template_id=>wwv_flow_api.id(55689456536805258683)\n,p_name=>'Body Header'\n,p_placeholder=>'REGION_POSITION_01'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/page/master_detail\nbegin\nwwv_flow_api.create_template(\n p_id=>wwv_flow_api.id(55689456865710258683)\n,p_theme_id=>42\n,p_name=>'Marquee'\n,p_internal_name=>'MASTER_DETAIL'\n,p_is_popup=>false\n,p_javascript_code_onload=>'apex.theme42.initializePage.masterDetail();'\n,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n'',\n'',\n' ',\n' ',\n' #TITLE#',\n' #APEX_CSS#',\n' #THEME_CSS#',\n' #TEMPLATE_CSS#',\n' #THEME_STYLE_CSS#',\n' #APPLICATION_CSS#',\n' #PAGE_CSS#',\n' #FAVICONS#',\n' #HEAD#',\n' ',\n'',\n'',\n'#FORM_OPEN#',\n'
    ',\n' #REGION_POSITION_07#',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n' #LOGO#',\n'
    ',\n'
    ',\n' #NAVIGATION_BAR#',\n'
    ',\n'
    ',\n'
    ',\n' #TOP_GLOBAL_NAVIGATION_LIST#',\n' #REGION_POSITION_06#',\n'
    ',\n'
    '))\n,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#SIDE_GLOBAL_NAVIGATION_LIST#',\n'
    ',\n'
    ',\n' #REGION_POSITION_01#',\n'
    ',\n'
    ',\n' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#',\n'
    ',\n' #REGION_POSITION_02#',\n'
    ',\n'
    ',\n' #BODY#',\n'
    ',\n'
    ',\n' ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n' #REGION_POSITION_03#',\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n' #REGION_POSITION_04#',\n'
    '))\n,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'#FORM_CLOSE#',\n'#DEVELOPER_TOOLBAR#',\n'#APEX_JAVASCRIPT#',\n'#GENERATED_CSS#',\n'#THEME_JAVASCRIPT#',\n'#TEMPLATE_JAVASCRIPT#',\n'#APPLICATION_JAVASCRIPT#',\n'#PAGE_JAVASCRIPT# ',\n'#GENERATED_JAVASCRIPT#',\n'',\n''))\n,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'

    #SUCCESS_MESSAGE#

    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'
    '))\n,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n' #MESSAGE#',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'
    '))\n,p_navigation_bar=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
      ',\n'
    • ',\n' ',\n' ',\n' &APP_USER.',\n' ',\n'
    • #BAR_BODY#',\n'
    '))\n,p_navbar_entry=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n' ',\n' ',\n' #TEXT#',\n' ',\n'
  • '))\n,p_region_table_cattributes=>' summary=\"\" cellpadding=\"0\" border=\"0\" cellspacing=\"0\" width=\"100%\"'\n,p_sidebar_def_reg_pos=>'REGION_POSITION_03'\n,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01'\n,p_theme_class_id=>17\n,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'

    #MESSAGE#

    ',\n'

    #ADDITIONAL_INFO#

    ',\n'
    #TECHNICAL_INFO#
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    '))\n,p_grid_type=>'FIXED'\n,p_grid_max_columns=>12\n,p_grid_always_use_max_columns=>true\n,p_grid_has_column_span=>true\n,p_grid_always_emit=>true\n,p_grid_emit_empty_leading_cols=>true\n,p_grid_emit_empty_trail_cols=>false\n,p_grid_default_label_col_span=>2\n,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#ROWS#',\n'
    '))\n,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#COLUMNS#',\n'
    '))\n,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#CONTENT#',\n'
    '))\n,p_grid_first_column_attributes=>'alpha'\n,p_grid_last_column_attributes=>'omega'\n,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);'\n,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);'\n,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);'\n,p_dialog_browser_frame=>'MODAL'\n,p_reference_id=>1996914646461572319\n,p_translate_this_template=>'N'\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689456956555258683)\n,p_page_template_id=>wwv_flow_api.id(55689456865710258683)\n,p_name=>'Content Body'\n,p_placeholder=>'BODY'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n,p_max_fixed_grid_columns=>8\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689457087903258683)\n,p_page_template_id=>wwv_flow_api.id(55689456865710258683)\n,p_name=>'Breadcrumb Bar'\n,p_placeholder=>'REGION_POSITION_01'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689457179613258683)\n,p_page_template_id=>wwv_flow_api.id(55689456865710258683)\n,p_name=>'Master Detail'\n,p_placeholder=>'REGION_POSITION_02'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689457216267258683)\n,p_page_template_id=>wwv_flow_api.id(55689456865710258683)\n,p_name=>'Right Side Column'\n,p_placeholder=>'REGION_POSITION_03'\n,p_has_grid_support=>false\n,p_glv_new_row=>false\n,p_max_fixed_grid_columns=>4\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689457319015258683)\n,p_page_template_id=>wwv_flow_api.id(55689456865710258683)\n,p_name=>'Inline Dialogs'\n,p_placeholder=>'REGION_POSITION_04'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n,p_max_fixed_grid_columns=>12\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689457431992258683)\n,p_page_template_id=>wwv_flow_api.id(55689456865710258683)\n,p_name=>'Footer'\n,p_placeholder=>'REGION_POSITION_05'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n,p_max_fixed_grid_columns=>8\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689457582770258683)\n,p_page_template_id=>wwv_flow_api.id(55689456865710258683)\n,p_name=>'Page Navigation'\n,p_placeholder=>'REGION_POSITION_06'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689457693052258683)\n,p_page_template_id=>wwv_flow_api.id(55689456865710258683)\n,p_name=>'Page Header'\n,p_placeholder=>'REGION_POSITION_07'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689457744707258683)\n,p_page_template_id=>wwv_flow_api.id(55689456865710258683)\n,p_name=>'Before Navigation Bar'\n,p_placeholder=>'REGION_POSITION_08'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/page/minimal_no_navigation\nbegin\nwwv_flow_api.create_template(\n p_id=>wwv_flow_api.id(55689457861245258684)\n,p_theme_id=>42\n,p_name=>'Minimal (No Navigation)'\n,p_internal_name=>'MINIMAL_NO_NAVIGATION'\n,p_is_popup=>false\n,p_javascript_code_onload=>'apex.theme42.initializePage.noSideCol();'\n,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n'',\n'',\n' ',\n' ',\n' #TITLE#',\n' #APEX_CSS#',\n' #THEME_CSS#',\n' #TEMPLATE_CSS#',\n' #THEME_STYLE_CSS#',\n' #APPLICATION_CSS#',\n' #PAGE_CSS# ',\n' #FAVICONS#',\n' #HEAD#',\n' ',\n'',\n'',\n'#FORM_OPEN#',\n'
    ',\n' #REGION_POSITION_07#',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n' #LOGO#',\n'
    ',\n'
    ',\n' #NAVIGATION_BAR#',\n'
    ',\n'
    ',\n'
    ',\n' '))\n,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n' #REGION_POSITION_01#',\n'
    ',\n'
    ',\n' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#',\n'
    ',\n' #BODY#',\n'
    ',\n'
    ',\n' ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n' #REGION_POSITION_04#',\n'
    '))\n,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'#FORM_CLOSE#',\n'#DEVELOPER_TOOLBAR#',\n'#APEX_JAVASCRIPT#',\n'#GENERATED_CSS#',\n'#THEME_JAVASCRIPT#',\n'#TEMPLATE_JAVASCRIPT#',\n'#APPLICATION_JAVASCRIPT#',\n'#PAGE_JAVASCRIPT# ',\n'#GENERATED_JAVASCRIPT#',\n'',\n'',\n''))\n,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'

    #SUCCESS_MESSAGE#

    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'
    '))\n,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n' #MESSAGE#',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'
    '))\n,p_navigation_bar=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
      ',\n'
    • ',\n' ',\n' ',\n' &APP_USER.',\n' ',\n'
    • #BAR_BODY#',\n'
    '))\n,p_navbar_entry=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n' ',\n' ',\n' #TEXT#',\n' ',\n'
  • '))\n,p_region_table_cattributes=>' summary=\"\" cellpadding=\"0\" border=\"0\" cellspacing=\"0\" width=\"100%\"'\n,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01'\n,p_theme_class_id=>4\n,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'

    #MESSAGE#

    ',\n'

    #ADDITIONAL_INFO#

    ',\n'
    #TECHNICAL_INFO#
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    '))\n,p_grid_type=>'FIXED'\n,p_grid_max_columns=>12\n,p_grid_always_use_max_columns=>true\n,p_grid_has_column_span=>true\n,p_grid_always_emit=>true\n,p_grid_emit_empty_leading_cols=>true\n,p_grid_emit_empty_trail_cols=>false\n,p_grid_default_label_col_span=>2\n,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#ROWS#',\n'
    '))\n,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#COLUMNS#',\n'
    '))\n,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#CONTENT#',\n'
    '))\n,p_grid_first_column_attributes=>'alpha'\n,p_grid_last_column_attributes=>'omega'\n,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);'\n,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);'\n,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);'\n,p_dialog_browser_frame=>'MODAL'\n,p_reference_id=>2977628563533209425\n,p_translate_this_template=>'N'\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689457902746258684)\n,p_page_template_id=>wwv_flow_api.id(55689457861245258684)\n,p_name=>'Content Body'\n,p_placeholder=>'BODY'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n,p_max_fixed_grid_columns=>12\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689458039092258684)\n,p_page_template_id=>wwv_flow_api.id(55689457861245258684)\n,p_name=>'Breadcrumb Bar'\n,p_placeholder=>'REGION_POSITION_01'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689458199286258684)\n,p_page_template_id=>wwv_flow_api.id(55689457861245258684)\n,p_name=>'Inline Dialogs'\n,p_placeholder=>'REGION_POSITION_04'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n,p_max_fixed_grid_columns=>12\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689458202681258684)\n,p_page_template_id=>wwv_flow_api.id(55689457861245258684)\n,p_name=>'Footer'\n,p_placeholder=>'REGION_POSITION_05'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n,p_max_fixed_grid_columns=>12\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689458372172258684)\n,p_page_template_id=>wwv_flow_api.id(55689457861245258684)\n,p_name=>'Page Navigation'\n,p_placeholder=>'REGION_POSITION_06'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689458451714258684)\n,p_page_template_id=>wwv_flow_api.id(55689457861245258684)\n,p_name=>'Page Header'\n,p_placeholder=>'REGION_POSITION_07'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689458597474258684)\n,p_page_template_id=>wwv_flow_api.id(55689457861245258684)\n,p_name=>'Before Navigation Bar'\n,p_placeholder=>'REGION_POSITION_08'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/page/modal_dialog\nbegin\nwwv_flow_api.create_template(\n p_id=>wwv_flow_api.id(55689458617899258684)\n,p_theme_id=>42\n,p_name=>'Modal Dialog'\n,p_internal_name=>'MODAL_DIALOG'\n,p_is_popup=>true\n,p_javascript_code_onload=>'apex.theme42.initializePage.modalDialog();'\n,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n'',\n'',\n' ',\n' ',\n' #TITLE#',\n' #APEX_CSS#',\n' #THEME_CSS#',\n' #TEMPLATE_CSS#',\n' #THEME_STYLE_CSS#',\n' #APPLICATION_CSS#',\n' #PAGE_CSS#',\n' #FAVICONS#',\n' #HEAD#',\n' ',\n'',\n'',\n'#FORM_OPEN#'))\n,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    #REGION_POSITION_01#
    ',\n'
    ',\n'
    ',\n' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#',\n' #BODY#',\n'
    ',\n'
    ',\n'
    #REGION_POSITION_03#
    ',\n'
    '))\n,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'#FORM_CLOSE#',\n'#DEVELOPER_TOOLBAR#',\n'#APEX_JAVASCRIPT#',\n'#GENERATED_CSS#',\n'#THEME_JAVASCRIPT#',\n'#TEMPLATE_JAVASCRIPT#',\n'#APPLICATION_JAVASCRIPT#',\n'#PAGE_JAVASCRIPT# ',\n'#GENERATED_JAVASCRIPT#',\n'',\n''))\n,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'

    #SUCCESS_MESSAGE#

    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'
    '))\n,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n' #MESSAGE#',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'
    '))\n,p_region_table_cattributes=>' summary=\"\" cellpadding=\"0\" border=\"0\" cellspacing=\"0\" width=\"100%\"'\n,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01'\n,p_theme_class_id=>3\n,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'

    #MESSAGE#

    ',\n'

    #ADDITIONAL_INFO#

    ',\n'
    #TECHNICAL_INFO#
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    '))\n,p_grid_type=>'FIXED'\n,p_grid_max_columns=>12\n,p_grid_always_use_max_columns=>true\n,p_grid_has_column_span=>true\n,p_grid_always_emit=>true\n,p_grid_emit_empty_leading_cols=>true\n,p_grid_emit_empty_trail_cols=>false\n,p_grid_default_label_col_span=>2\n,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#ROWS#',\n'
    '))\n,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#COLUMNS#',\n'
    '))\n,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#CONTENT#',\n'
    '))\n,p_grid_first_column_attributes=>'alpha'\n,p_grid_last_column_attributes=>'omega'\n,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},''t-Dialog-page--standard ''+#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);'\n,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);'\n,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);'\n,p_dialog_height=>'auto'\n,p_dialog_width=>'720'\n,p_dialog_max_width=>'960'\n,p_dialog_browser_frame=>'MODAL'\n,p_reference_id=>2098960803539086924\n,p_translate_this_template=>'N'\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689458735660258684)\n,p_page_template_id=>wwv_flow_api.id(55689458617899258684)\n,p_name=>'Content Body'\n,p_placeholder=>'BODY'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n,p_max_fixed_grid_columns=>12\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689458835550258684)\n,p_page_template_id=>wwv_flow_api.id(55689458617899258684)\n,p_name=>'Dialog Header'\n,p_placeholder=>'REGION_POSITION_01'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689458988630258684)\n,p_page_template_id=>wwv_flow_api.id(55689458617899258684)\n,p_name=>'Dialog Footer'\n,p_placeholder=>'REGION_POSITION_03'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/page/right_side_column\nbegin\nwwv_flow_api.create_template(\n p_id=>wwv_flow_api.id(55689459137673258685)\n,p_theme_id=>42\n,p_name=>'Right Side Column'\n,p_internal_name=>'RIGHT_SIDE_COLUMN'\n,p_is_popup=>false\n,p_javascript_code_onload=>'apex.theme42.initializePage.rightSideCol();'\n,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n'',\n'',\n' ',\n' ',\n' #TITLE#',\n' #APEX_CSS#',\n' #THEME_CSS#',\n' #TEMPLATE_CSS#',\n' #THEME_STYLE_CSS#',\n' #APPLICATION_CSS#',\n' #PAGE_CSS#',\n' #FAVICONS#',\n' #HEAD#',\n' ',\n'',\n'',\n'#FORM_OPEN#',\n'
    ',\n' #REGION_POSITION_07#',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n' #LOGO#',\n'
    ',\n'
    ',\n' #NAVIGATION_BAR#',\n'
    ',\n'
    ',\n'
    ',\n' #TOP_GLOBAL_NAVIGATION_LIST#',\n' #REGION_POSITION_06#',\n'
    ',\n'
    '))\n,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#SIDE_GLOBAL_NAVIGATION_LIST#',\n'
    ',\n'
    ',\n' #REGION_POSITION_01#',\n'
    ',\n'
    ',\n' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#',\n'
    ',\n' #BODY#',\n'
    ',\n'
    ',\n' ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n' #REGION_POSITION_03#',\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n' #REGION_POSITION_04#',\n'
    '))\n,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'#FORM_CLOSE#',\n'#DEVELOPER_TOOLBAR#',\n'#APEX_JAVASCRIPT#',\n'#GENERATED_CSS#',\n'#THEME_JAVASCRIPT#',\n'#TEMPLATE_JAVASCRIPT#',\n'#APPLICATION_JAVASCRIPT#',\n'#PAGE_JAVASCRIPT# ',\n'#GENERATED_JAVASCRIPT#',\n'',\n''))\n,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'

    #SUCCESS_MESSAGE#

    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'
    '))\n,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n' #MESSAGE#',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'
    '))\n,p_navigation_bar=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
      ',\n'
    • ',\n' ',\n' ',\n' &APP_USER.',\n' ',\n'
    • #BAR_BODY#',\n'
    '))\n,p_navbar_entry=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n' ',\n' ',\n' #TEXT#',\n' ',\n'
  • '))\n,p_region_table_cattributes=>' summary=\"\" cellpadding=\"0\" border=\"0\" cellspacing=\"0\" width=\"100%\"'\n,p_sidebar_def_reg_pos=>'REGION_POSITION_03'\n,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01'\n,p_theme_class_id=>17\n,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'

    #MESSAGE#

    ',\n'

    #ADDITIONAL_INFO#

    ',\n'
    #TECHNICAL_INFO#
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    '))\n,p_grid_type=>'FIXED'\n,p_grid_max_columns=>12\n,p_grid_always_use_max_columns=>true\n,p_grid_has_column_span=>true\n,p_grid_always_emit=>false\n,p_grid_emit_empty_leading_cols=>true\n,p_grid_emit_empty_trail_cols=>false\n,p_grid_default_label_col_span=>2\n,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#ROWS#',\n'
    '))\n,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#COLUMNS#',\n'
    '))\n,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#CONTENT#',\n'
    '))\n,p_grid_first_column_attributes=>'alpha'\n,p_grid_last_column_attributes=>'omega'\n,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);'\n,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);'\n,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);'\n,p_dialog_browser_frame=>'MODAL'\n,p_reference_id=>2525200116240651575\n,p_translate_this_template=>'N'\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689459242118258686)\n,p_page_template_id=>wwv_flow_api.id(55689459137673258685)\n,p_name=>'Content Body'\n,p_placeholder=>'BODY'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n,p_max_fixed_grid_columns=>8\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689459338547258686)\n,p_page_template_id=>wwv_flow_api.id(55689459137673258685)\n,p_name=>'Breadcrumb Bar'\n,p_placeholder=>'REGION_POSITION_01'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689459457237258686)\n,p_page_template_id=>wwv_flow_api.id(55689459137673258685)\n,p_name=>'Right Column'\n,p_placeholder=>'REGION_POSITION_03'\n,p_has_grid_support=>false\n,p_glv_new_row=>false\n,p_max_fixed_grid_columns=>4\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689459551286258686)\n,p_page_template_id=>wwv_flow_api.id(55689459137673258685)\n,p_name=>'Inline Dialogs'\n,p_placeholder=>'REGION_POSITION_04'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n,p_max_fixed_grid_columns=>12\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689459636284258686)\n,p_page_template_id=>wwv_flow_api.id(55689459137673258685)\n,p_name=>'Footer'\n,p_placeholder=>'REGION_POSITION_05'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n,p_max_fixed_grid_columns=>8\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689459735533258686)\n,p_page_template_id=>wwv_flow_api.id(55689459137673258685)\n,p_name=>'Page Navigation'\n,p_placeholder=>'REGION_POSITION_06'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689459818833258686)\n,p_page_template_id=>wwv_flow_api.id(55689459137673258685)\n,p_name=>'Page Header'\n,p_placeholder=>'REGION_POSITION_07'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689459967232258686)\n,p_page_template_id=>wwv_flow_api.id(55689459137673258685)\n,p_name=>'Before Navigation Bar'\n,p_placeholder=>'REGION_POSITION_08'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/page/standard\nbegin\nwwv_flow_api.create_template(\n p_id=>wwv_flow_api.id(55689460020110258686)\n,p_theme_id=>42\n,p_name=>'Standard'\n,p_internal_name=>'STANDARD'\n,p_is_popup=>false\n,p_javascript_code_onload=>'apex.theme42.initializePage.noSideCol();'\n,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n'',\n'',\n' ',\n' ',\n' #TITLE#',\n' #APEX_CSS#',\n' #THEME_CSS#',\n' #TEMPLATE_CSS#',\n' #THEME_STYLE_CSS#',\n' #APPLICATION_CSS#',\n' #PAGE_CSS# ',\n' #FAVICONS#',\n' #HEAD#',\n' ',\n'',\n'',\n'#FORM_OPEN#',\n'
    ',\n' #REGION_POSITION_07#',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n' #LOGO#',\n'
    ',\n'
    ',\n' #NAVIGATION_BAR#',\n'
    ',\n'
    ',\n'
    ',\n' #TOP_GLOBAL_NAVIGATION_LIST#',\n' #REGION_POSITION_06#',\n'
    ',\n'
    ',\n' '))\n,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n' #SIDE_GLOBAL_NAVIGATION_LIST#',\n'
    ',\n'
    ',\n' #REGION_POSITION_01#',\n'
    ',\n'
    ',\n' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#',\n'
    ',\n' #BODY#',\n'
    ',\n'
    ',\n' ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n' #REGION_POSITION_04#',\n'
    '))\n,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'#FORM_CLOSE#',\n'#DEVELOPER_TOOLBAR#',\n'#APEX_JAVASCRIPT#',\n'#GENERATED_CSS#',\n'#THEME_JAVASCRIPT#',\n'#TEMPLATE_JAVASCRIPT#',\n'#APPLICATION_JAVASCRIPT#',\n'#PAGE_JAVASCRIPT# ',\n'#GENERATED_JAVASCRIPT#',\n'',\n'',\n''))\n,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'

    #SUCCESS_MESSAGE#

    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'
    '))\n,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n' #MESSAGE#',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'
    '))\n,p_navigation_bar=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
      ',\n'
    • ',\n' ',\n' ',\n' &APP_USER.',\n' ',\n'
    • #BAR_BODY#',\n'
    '))\n,p_navbar_entry=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n' ',\n' ',\n' #TEXT#',\n' ',\n'
  • '))\n,p_region_table_cattributes=>' summary=\"\" cellpadding=\"0\" border=\"0\" cellspacing=\"0\" width=\"100%\"'\n,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01'\n,p_theme_class_id=>1\n,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'

    #MESSAGE#

    ',\n'

    #ADDITIONAL_INFO#

    ',\n'
    #TECHNICAL_INFO#
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    '))\n,p_grid_type=>'FIXED'\n,p_grid_max_columns=>12\n,p_grid_always_use_max_columns=>true\n,p_grid_has_column_span=>true\n,p_grid_always_emit=>true\n,p_grid_emit_empty_leading_cols=>true\n,p_grid_emit_empty_trail_cols=>false\n,p_grid_default_label_col_span=>2\n,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#ROWS#',\n'
    '))\n,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#COLUMNS#',\n'
    '))\n,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#CONTENT#',\n'
    '))\n,p_grid_first_column_attributes=>'alpha'\n,p_grid_last_column_attributes=>'omega'\n,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);'\n,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);'\n,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);'\n,p_dialog_browser_frame=>'MODAL'\n,p_reference_id=>4070909157481059304\n,p_translate_this_template=>'N'\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689460153850258686)\n,p_page_template_id=>wwv_flow_api.id(55689460020110258686)\n,p_name=>'Content Body'\n,p_placeholder=>'BODY'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n,p_max_fixed_grid_columns=>12\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689460206052258686)\n,p_page_template_id=>wwv_flow_api.id(55689460020110258686)\n,p_name=>'Breadcrumb Bar'\n,p_placeholder=>'REGION_POSITION_01'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689460376340258686)\n,p_page_template_id=>wwv_flow_api.id(55689460020110258686)\n,p_name=>'Inline Dialogs'\n,p_placeholder=>'REGION_POSITION_04'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n,p_max_fixed_grid_columns=>12\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689460450145258686)\n,p_page_template_id=>wwv_flow_api.id(55689460020110258686)\n,p_name=>'Footer'\n,p_placeholder=>'REGION_POSITION_05'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n,p_max_fixed_grid_columns=>12\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689460568556258686)\n,p_page_template_id=>wwv_flow_api.id(55689460020110258686)\n,p_name=>'Page Navigation'\n,p_placeholder=>'REGION_POSITION_06'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689460620926258686)\n,p_page_template_id=>wwv_flow_api.id(55689460020110258686)\n,p_name=>'Page Header'\n,p_placeholder=>'REGION_POSITION_07'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689460724282258686)\n,p_page_template_id=>wwv_flow_api.id(55689460020110258686)\n,p_name=>'Before Navigation Bar'\n,p_placeholder=>'REGION_POSITION_08'\n,p_has_grid_support=>false\n,p_glv_new_row=>false\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/page/wizard_modal_dialog\nbegin\nwwv_flow_api.create_template(\n p_id=>wwv_flow_api.id(55689460839149258686)\n,p_theme_id=>42\n,p_name=>'Wizard Modal Dialog'\n,p_internal_name=>'WIZARD_MODAL_DIALOG'\n,p_is_popup=>true\n,p_javascript_code_onload=>'apex.theme42.initializePage.wizardModal();'\n,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n'',\n'',\n' ',\n' ',\n' #TITLE#',\n' #APEX_CSS#',\n' #THEME_CSS#',\n' #TEMPLATE_CSS#',\n' #THEME_STYLE_CSS#',\n' #APPLICATION_CSS#',\n' #PAGE_CSS#',\n' #FAVICONS#',\n' #HEAD#',\n' ',\n'',\n'',\n'#FORM_OPEN#'))\n,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    #REGION_POSITION_01#
    ',\n'
    ',\n'
    ',\n' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#',\n' #BODY#',\n'
    ',\n'
    ',\n'
    #REGION_POSITION_03#
    ',\n'
    '))\n,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'#FORM_CLOSE#',\n'#DEVELOPER_TOOLBAR#',\n'#APEX_JAVASCRIPT#',\n'#GENERATED_CSS#',\n'#THEME_JAVASCRIPT#',\n'#TEMPLATE_JAVASCRIPT#',\n'#APPLICATION_JAVASCRIPT#',\n'#PAGE_JAVASCRIPT# ',\n'#GENERATED_JAVASCRIPT#',\n'',\n''))\n,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'

    #SUCCESS_MESSAGE#

    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'
    '))\n,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n' #MESSAGE#',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'
    '))\n,p_region_table_cattributes=>' summary=\"\" cellpadding=\"0\" border=\"0\" cellspacing=\"0\" width=\"100%\"'\n,p_theme_class_id=>3\n,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'

    #MESSAGE#

    ',\n'

    #ADDITIONAL_INFO#

    ',\n'
    #TECHNICAL_INFO#
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    '))\n,p_grid_type=>'FIXED'\n,p_grid_max_columns=>12\n,p_grid_always_use_max_columns=>true\n,p_grid_has_column_span=>true\n,p_grid_always_emit=>true\n,p_grid_emit_empty_leading_cols=>true\n,p_grid_emit_empty_trail_cols=>false\n,p_grid_default_label_col_span=>2\n,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#ROWS#',\n'
    '))\n,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#COLUMNS#',\n'
    '))\n,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#CONTENT#',\n'
    '))\n,p_grid_first_column_attributes=>'alpha'\n,p_grid_last_column_attributes=>'omega'\n,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},''t-Dialog-page--wizard ''+#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);'\n,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);'\n,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);'\n,p_dialog_height=>'auto'\n,p_dialog_width=>'720'\n,p_dialog_max_width=>'960'\n,p_dialog_browser_frame=>'MODAL'\n,p_reference_id=>2120348229686426515\n,p_translate_this_template=>'N'\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689460970932258687)\n,p_page_template_id=>wwv_flow_api.id(55689460839149258686)\n,p_name=>'Wizard Body'\n,p_placeholder=>'BODY'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n,p_max_fixed_grid_columns=>12\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689461027245258687)\n,p_page_template_id=>wwv_flow_api.id(55689460839149258686)\n,p_name=>'Wizard Progress Bar'\n,p_placeholder=>'REGION_POSITION_01'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nwwv_flow_api.create_page_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689461127563258687)\n,p_page_template_id=>wwv_flow_api.id(55689460839149258686)\n,p_name=>'Wizard Buttons'\n,p_placeholder=>'REGION_POSITION_03'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/button/icon\nbegin\nwwv_flow_api.create_button_templates(\n p_id=>wwv_flow_api.id(55689495826812258722)\n,p_template_name=>'Icon'\n,p_internal_name=>'ICON'\n,p_template=>''\n,p_hot_template=>''\n,p_reference_id=>2347660919680321258\n,p_translate_this_template=>'N'\n,p_theme_class_id=>5\n,p_theme_id=>42\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/button/text\nbegin\nwwv_flow_api.create_button_templates(\n p_id=>wwv_flow_api.id(55689495911882258722)\n,p_template_name=>'Text'\n,p_internal_name=>'TEXT'\n,p_template=>''\n,p_hot_template=>''\n,p_reference_id=>4070916158035059322\n,p_translate_this_template=>'N'\n,p_theme_class_id=>1\n,p_theme_id=>42\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/button/text_with_icon\nbegin\nwwv_flow_api.create_button_templates(\n p_id=>wwv_flow_api.id(55689496010438258723)\n,p_template_name=>'Text with Icon'\n,p_internal_name=>'TEXT_WITH_ICON'\n,p_template=>''\n,p_hot_template=>''\n,p_reference_id=>2081382742158699622\n,p_translate_this_template=>'N'\n,p_theme_class_id=>4\n,p_preset_template_options=>'t-Button--iconRight'\n,p_theme_id=>42\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/region/alert\nbegin\nwwv_flow_api.create_plug_template(\n p_id=>wwv_flow_api.id(55689461335851258687)\n,p_layout=>'TABLE'\n,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'

    #TITLE#

    ',\n'
    ',\n'
    #BODY#
    ',\n'
    ',\n'
    #PREVIOUS##CLOSE##CREATE##NEXT#
    ',\n'
    ',\n'
    '))\n,p_page_plug_template_name=>'Alert'\n,p_internal_name=>'ALERT'\n,p_plug_table_bgcolor=>'#ffffff'\n,p_theme_id=>42\n,p_theme_class_id=>21\n,p_preset_template_options=>'t-Alert--horizontal:t-Alert--defaultIcons:t-Alert--warning'\n,p_plug_heading_bgcolor=>'#ffffff'\n,p_plug_font_size=>'-1'\n,p_default_label_alignment=>'RIGHT'\n,p_default_field_alignment=>'LEFT'\n,p_reference_id=>2039236646100190748\n,p_translate_this_template=>'N'\n,p_template_comment=>'Red Theme'\n);\nwwv_flow_api.create_plug_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689461462168258688)\n,p_plug_template_id=>wwv_flow_api.id(55689461335851258687)\n,p_name=>'Region Body'\n,p_placeholder=>'BODY'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n,p_max_fixed_grid_columns=>12\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/region/blank_with_attributes\nbegin\nwwv_flow_api.create_plug_template(\n p_id=>wwv_flow_api.id(55689463106891258691)\n,p_layout=>'TABLE'\n,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#PREVIOUS##BODY##SUB_REGIONS##NEXT#',\n'
    '))\n,p_page_plug_template_name=>'Blank with Attributes'\n,p_internal_name=>'BLANK_WITH_ATTRIBUTES'\n,p_theme_id=>42\n,p_theme_class_id=>7\n,p_default_label_alignment=>'RIGHT'\n,p_default_field_alignment=>'LEFT'\n,p_reference_id=>4499993862448380551\n,p_translate_this_template=>'N'\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/region/blank_with_attributes_no_grid\nbegin\nwwv_flow_api.create_plug_template(\n p_id=>wwv_flow_api.id(55689463243859258691)\n,p_layout=>'TABLE'\n,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#PREVIOUS##BODY##SUB_REGIONS##NEXT#',\n'
    '))\n,p_page_plug_template_name=>'Blank with Attributes (No Grid)'\n,p_internal_name=>'BLANK_WITH_ATTRIBUTES_NO_GRID'\n,p_theme_id=>42\n,p_theme_class_id=>7\n,p_default_label_alignment=>'RIGHT'\n,p_default_field_alignment=>'LEFT'\n,p_reference_id=>3369790999010910123\n,p_translate_this_template=>'N'\n);\nwwv_flow_api.create_plug_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689463310260258691)\n,p_plug_template_id=>wwv_flow_api.id(55689463243859258691)\n,p_name=>'Body'\n,p_placeholder=>'BODY'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nwwv_flow_api.create_plug_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689463462214258691)\n,p_plug_template_id=>wwv_flow_api.id(55689463243859258691)\n,p_name=>'Sub Regions'\n,p_placeholder=>'SUB_REGIONS'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/region/buttons_container\nbegin\nwwv_flow_api.create_plug_template(\n p_id=>wwv_flow_api.id(55689463500379258691)\n,p_layout=>'TABLE'\n,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    #PREVIOUS##CLOSE##DELETE#
    ',\n'
    ',\n'

    #TITLE#

    ',\n' #BODY#',\n'
    #CHANGE#
    ',\n'
    ',\n'
    #EDIT##CREATE##NEXT#
    ',\n'
    ',\n'
    '))\n,p_page_plug_template_name=>'Buttons Container'\n,p_internal_name=>'BUTTONS_CONTAINER'\n,p_plug_table_bgcolor=>'#ffffff'\n,p_theme_id=>42\n,p_theme_class_id=>17\n,p_plug_heading_bgcolor=>'#ffffff'\n,p_plug_font_size=>'-1'\n,p_default_label_alignment=>'RIGHT'\n,p_default_field_alignment=>'LEFT'\n,p_reference_id=>2124982336649579661\n,p_translate_this_template=>'N'\n,p_template_comment=>'Red Theme'\n);\nwwv_flow_api.create_plug_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689463621182258691)\n,p_plug_template_id=>wwv_flow_api.id(55689463500379258691)\n,p_name=>'Region Body'\n,p_placeholder=>'BODY'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n,p_max_fixed_grid_columns=>12\n);\nwwv_flow_api.create_plug_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689463722475258692)\n,p_plug_template_id=>wwv_flow_api.id(55689463500379258691)\n,p_name=>'Sub Regions'\n,p_placeholder=>'SUB_REGIONS'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n,p_max_fixed_grid_columns=>12\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/region/carousel_container\nbegin\nwwv_flow_api.create_plug_template(\n p_id=>wwv_flow_api.id(55689464420429258692)\n,p_layout=>'TABLE'\n,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n'

    #TITLE#

    ',\n'
    ',\n'
    #COPY##EDIT#
    ',\n'
    ',\n'
    ',\n'
    ',\n'
    #PREVIOUS#
    ',\n'
    #NEXT#
    ',\n'
    ',\n'
    ',\n' #BODY#',\n'
    ',\n' #SUB_REGIONS#',\n'
    ',\n'
    ',\n'
    ',\n'
    #CLOSE##HELP#
    ',\n'
    #DELETE##CHANGE##CREATE#
    ',\n'
    ',\n'
    ',\n'
    '))\n,p_sub_plug_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n' #SUB_REGION#',\n'
    '))\n,p_page_plug_template_name=>'Carousel Container'\n,p_internal_name=>'CAROUSEL_CONTAINER'\n,p_javascript_file_urls=>'#IMAGE_PREFIX#plugins/com.oracle.apex.carousel/1.1/com.oracle.apex.carousel#MIN#.js?v=#APEX_VERSION#'\n,p_plug_table_bgcolor=>'#ffffff'\n,p_theme_id=>42\n,p_theme_class_id=>5\n,p_default_template_options=>'t-Region--showCarouselControls'\n,p_preset_template_options=>'t-Region--hiddenOverflow'\n,p_plug_heading_bgcolor=>'#ffffff'\n,p_plug_font_size=>'-1'\n,p_default_label_alignment=>'RIGHT'\n,p_default_field_alignment=>'LEFT'\n,p_reference_id=>2865840475322558786\n,p_translate_this_template=>'N'\n);\nwwv_flow_api.create_plug_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689464525950258692)\n,p_plug_template_id=>wwv_flow_api.id(55689464420429258692)\n,p_name=>'Region Body'\n,p_placeholder=>'BODY'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n,p_max_fixed_grid_columns=>12\n);\nwwv_flow_api.create_plug_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689464602038258692)\n,p_plug_template_id=>wwv_flow_api.id(55689464420429258692)\n,p_name=>'Slides'\n,p_placeholder=>'SUB_REGIONS'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n,p_max_fixed_grid_columns=>12\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/region/collapsible\nbegin\nwwv_flow_api.create_plug_template(\n p_id=>wwv_flow_api.id(55689467856975258694)\n,p_layout=>'TABLE'\n,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'

    #TITLE#

    ',\n'
    ',\n'
    #EDIT#
    ',\n'
    ',\n'
    ',\n'
    ',\n'
    #CLOSE#
    ',\n'
    #CREATE#
    ',\n'
    ',\n'
    ',\n' #COPY#',\n' #BODY#',\n' #SUB_REGIONS#',\n' #CHANGE#',\n'
    ',\n'
    ',\n'
    #PREVIOUS#
    ',\n'
    #NEXT#
    ',\n'
    ',\n'
    ',\n'
    '))\n,p_page_plug_template_name=>'Collapsible'\n,p_internal_name=>'COLLAPSIBLE'\n,p_plug_table_bgcolor=>'#ffffff'\n,p_theme_id=>42\n,p_theme_class_id=>1\n,p_preset_template_options=>'is-expanded:t-Region--scrollBody'\n,p_plug_heading_bgcolor=>'#ffffff'\n,p_plug_font_size=>'-1'\n,p_default_label_alignment=>'RIGHT'\n,p_default_field_alignment=>'LEFT'\n,p_reference_id=>2662888092628347716\n,p_translate_this_template=>'N'\n,p_template_comment=>'Red Theme'\n);\nwwv_flow_api.create_plug_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689467962158258694)\n,p_plug_template_id=>wwv_flow_api.id(55689467856975258694)\n,p_name=>'Region Body'\n,p_placeholder=>'BODY'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n,p_max_fixed_grid_columns=>12\n);\nwwv_flow_api.create_plug_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689468004192258694)\n,p_plug_template_id=>wwv_flow_api.id(55689467856975258694)\n,p_name=>'Sub Regions'\n,p_placeholder=>'SUB_REGIONS'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n,p_max_fixed_grid_columns=>12\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/region/content_block\nbegin\nwwv_flow_api.create_plug_template(\n p_id=>wwv_flow_api.id(55689470075307258696)\n,p_layout=>'TABLE'\n,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'

    #TITLE#

    ',\n'
    #BODY#
    ',\n'
    #PREVIOUS##NEXT#
    ',\n'
    '))\n,p_page_plug_template_name=>'Content Block'\n,p_internal_name=>'CONTENT_BLOCK'\n,p_theme_id=>42\n,p_theme_class_id=>21\n,p_preset_template_options=>'t-ContentBlock--h1'\n,p_default_label_alignment=>'RIGHT'\n,p_default_field_alignment=>'LEFT'\n,p_reference_id=>2320668864738842174\n,p_translate_this_template=>'N'\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/region/hero\nbegin\nwwv_flow_api.create_plug_template(\n p_id=>wwv_flow_api.id(55689470985259258697)\n,p_layout=>'TABLE'\n,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n'

    #TITLE#

    ',\n' #BODY#',\n'
    ',\n'
    #SUB_REGIONS#
    #NEXT#
    ',\n'
    ',\n'
    '))\n,p_page_plug_template_name=>'Hero'\n,p_internal_name=>'HERO'\n,p_theme_id=>42\n,p_theme_class_id=>22\n,p_default_label_alignment=>'RIGHT'\n,p_default_field_alignment=>'LEFT'\n,p_reference_id=>2672571031438297268\n,p_translate_this_template=>'N'\n);\nwwv_flow_api.create_plug_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689471002638258697)\n,p_plug_template_id=>wwv_flow_api.id(55689470985259258697)\n,p_name=>'Region Body'\n,p_placeholder=>'#BODY#'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/region/inline_dialog\nbegin\nwwv_flow_api.create_plug_template(\n p_id=>wwv_flow_api.id(55689471612158258697)\n,p_layout=>'TABLE'\n,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n'
    #BODY#
    ',\n'
    ',\n'
    ',\n'
    ',\n'
    #PREVIOUS##DELETE##CLOSE#
    ',\n'
    #EDIT##CREATE##NEXT#
    ',\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n'
    '))\n,p_page_plug_template_name=>'Inline Dialog'\n,p_internal_name=>'INLINE_DIALOG'\n,p_theme_id=>42\n,p_theme_class_id=>24\n,p_default_template_options=>'js-modal:js-draggable:js-resizable'\n,p_preset_template_options=>'js-dialog-size600x400'\n,p_default_label_alignment=>'RIGHT'\n,p_default_field_alignment=>'LEFT'\n,p_reference_id=>2671226943886536762\n,p_translate_this_template=>'N'\n);\nwwv_flow_api.create_plug_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689471741185258698)\n,p_plug_template_id=>wwv_flow_api.id(55689471612158258697)\n,p_name=>'Region Body'\n,p_placeholder=>'BODY'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/region/interactive_report\nbegin\nwwv_flow_api.create_plug_template(\n p_id=>wwv_flow_api.id(55689472642365258698)\n,p_layout=>'TABLE'\n,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'

    #TITLE#

    ',\n'#PREVIOUS##BODY##SUB_REGIONS##NEXT#',\n'
    '))\n,p_page_plug_template_name=>'Interactive Report'\n,p_internal_name=>'INTERACTIVE_REPORT'\n,p_theme_id=>42\n,p_theme_class_id=>9\n,p_default_label_alignment=>'RIGHT'\n,p_default_field_alignment=>'LEFT'\n,p_reference_id=>2099079838218790610\n,p_translate_this_template=>'N'\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/region/login\nbegin\nwwv_flow_api.create_plug_template(\n p_id=>wwv_flow_api.id(55689472900365258698)\n,p_layout=>'TABLE'\n,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n''))\n,p_page_plug_template_name=>'Login'\n,p_internal_name=>'LOGIN'\n,p_theme_id=>42\n,p_theme_class_id=>23\n,p_default_label_alignment=>'RIGHT'\n,p_default_field_alignment=>'LEFT'\n,p_reference_id=>2672711194551076376\n,p_translate_this_template=>'N'\n);\nwwv_flow_api.create_plug_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689473064892258698)\n,p_plug_template_id=>wwv_flow_api.id(55689472900365258698)\n,p_name=>'Content Body'\n,p_placeholder=>'BODY'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/region/standard\nbegin\nwwv_flow_api.create_plug_template(\n p_id=>wwv_flow_api.id(55689473177657258698)\n,p_layout=>'TABLE'\n,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n'

    #TITLE#

    ',\n'
    ',\n'
    #COPY##EDIT#
    ',\n'
    ',\n'
    ',\n'
    ',\n'
    #PREVIOUS#
    ',\n'
    #NEXT#
    ',\n'
    ',\n'
    ',\n' #BODY#',\n' #SUB_REGIONS#',\n'
    ',\n'
    ',\n'
    #CLOSE##HELP#
    ',\n'
    #DELETE##CHANGE##CREATE#
    ',\n'
    ',\n'
    ',\n'
    ',\n''))\n,p_page_plug_template_name=>'Standard'\n,p_internal_name=>'STANDARD'\n,p_plug_table_bgcolor=>'#ffffff'\n,p_theme_id=>42\n,p_theme_class_id=>8\n,p_preset_template_options=>'t-Region--scrollBody'\n,p_plug_heading_bgcolor=>'#ffffff'\n,p_plug_font_size=>'-1'\n,p_default_label_alignment=>'RIGHT'\n,p_default_field_alignment=>'LEFT'\n,p_reference_id=>4070912133526059312\n,p_translate_this_template=>'N'\n);\nwwv_flow_api.create_plug_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689473283142258699)\n,p_plug_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_name=>'Region Body'\n,p_placeholder=>'BODY'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n,p_max_fixed_grid_columns=>12\n);\nwwv_flow_api.create_plug_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689473344507258699)\n,p_plug_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_name=>'Sub Regions'\n,p_placeholder=>'SUB_REGIONS'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n,p_max_fixed_grid_columns=>12\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/region/tabs_container\nbegin\nwwv_flow_api.create_plug_template(\n p_id=>wwv_flow_api.id(55689476396128258701)\n,p_layout=>'TABLE'\n,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n' #BODY#',\n'
    ',\n' #SUB_REGIONS#',\n'
    ',\n'
    '))\n,p_sub_plug_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n' #SUB_REGION#',\n'
    '))\n,p_page_plug_template_name=>'Tabs Container'\n,p_internal_name=>'TABS_CONTAINER'\n,p_theme_id=>42\n,p_theme_class_id=>5\n,p_preset_template_options=>'t-TabsRegion-mod--simple'\n,p_default_label_alignment=>'RIGHT'\n,p_default_field_alignment=>'LEFT'\n,p_reference_id=>3221725015618492759\n,p_translate_this_template=>'N'\n);\nwwv_flow_api.create_plug_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689476466677258702)\n,p_plug_template_id=>wwv_flow_api.id(55689476396128258701)\n,p_name=>'Region Body'\n,p_placeholder=>'BODY'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n);\nwwv_flow_api.create_plug_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689476593885258702)\n,p_plug_template_id=>wwv_flow_api.id(55689476396128258701)\n,p_name=>'Tabs'\n,p_placeholder=>'SUB_REGIONS'\n,p_has_grid_support=>false\n,p_glv_new_row=>true\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/region/title_bar\nbegin\nwwv_flow_api.create_plug_template(\n p_id=>wwv_flow_api.id(55689477573158258703)\n,p_layout=>'TABLE'\n,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n' #BODY#',\n'
    ',\n'
    ',\n'

    #TITLE#

    ',\n'
    ',\n'
    ',\n'
    #PREVIOUS##CLOSE##DELETE##HELP##CHANGE##EDIT##COPY##CREATE##NEXT#
    ',\n'
    '))\n,p_page_plug_template_name=>'Title Bar'\n,p_internal_name=>'TITLE_BAR'\n,p_theme_id=>42\n,p_theme_class_id=>6\n,p_default_template_options=>'t-BreadcrumbRegion--showBreadcrumb'\n,p_preset_template_options=>'t-BreadcrumbRegion--useBreadcrumbTitle'\n,p_default_label_alignment=>'RIGHT'\n,p_default_field_alignment=>'LEFT'\n,p_reference_id=>2530016523834132090\n,p_translate_this_template=>'N'\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/region/wizard_container\nbegin\nwwv_flow_api.create_plug_template(\n p_id=>wwv_flow_api.id(55689477921324258703)\n,p_layout=>'TABLE'\n,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'

    #TITLE#

    ',\n'
    ',\n'
    #PREVIOUS##CLOSE#
    ',\n'
    ',\n' #BODY#',\n'
    ',\n'
    #NEXT#
    ',\n'
    ',\n'
    ',\n'
    ',\n' #SUB_REGIONS#',\n'
    ',\n'
    '))\n,p_page_plug_template_name=>'Wizard Container'\n,p_internal_name=>'WIZARD_CONTAINER'\n,p_theme_id=>42\n,p_theme_class_id=>8\n,p_preset_template_options=>'t-Wizard--hideStepsXSmall'\n,p_default_label_alignment=>'RIGHT'\n,p_default_field_alignment=>'LEFT'\n,p_reference_id=>2117602213152591491\n,p_translate_this_template=>'N'\n);\nwwv_flow_api.create_plug_tmpl_display_point(\n p_id=>wwv_flow_api.id(55689478032603258703)\n,p_plug_template_id=>wwv_flow_api.id(55689477921324258703)\n,p_name=>'Wizard Sub Regions'\n,p_placeholder=>'SUB_REGIONS'\n,p_has_grid_support=>true\n,p_glv_new_row=>true\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/list/badge_list\nbegin\nwwv_flow_api.create_list_template(\n p_id=>wwv_flow_api.id(55689486519141258712)\n,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n' #TEXT#',\n' #A01#',\n'
  • ',\n''))\n,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n' #TEXT#',\n' #A01#',\n'
  • ',\n''))\n,p_list_template_name=>'Badge List'\n,p_internal_name=>'BADGE_LIST'\n,p_theme_id=>42\n,p_theme_class_id=>3\n,p_list_template_before_rows=>'
      '\n,p_list_template_after_rows=>'
    '\n,p_a01_label=>'Value'\n,p_a02_label=>'List item CSS Classes'\n,p_a03_label=>'Link Attributes'\n,p_reference_id=>2062482847268086664\n,p_list_template_comment=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'A01: Large Number',\n'A02: List Item Classes',\n'A03: Link Attributes'))\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/list/cards\nbegin\nwwv_flow_api.create_list_template(\n p_id=>wwv_flow_api.id(55689488267663258714)\n,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n' ',\n'
  • '))\n,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n' ',\n'
  • '))\n,p_list_template_name=>'Cards'\n,p_internal_name=>'CARDS'\n,p_theme_id=>42\n,p_theme_class_id=>4\n,p_preset_template_options=>'t-Cards--animColorFill:t-Cards--3cols:t-Cards--featured'\n,p_list_template_before_rows=>'
      '\n,p_list_template_after_rows=>'
    '\n,p_a01_label=>'Description'\n,p_a02_label=>'Secondary Information'\n,p_a03_label=>'Initials'\n,p_a04_label=>'List Item CSS Classes'\n,p_a05_label=>'Link Attributes'\n,p_a06_label=>'Card Color Class'\n,p_reference_id=>2885322685880632508\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/list/links_list\nbegin\nwwv_flow_api.create_list_template(\n p_id=>wwv_flow_api.id(55689490661138258716)\n,p_list_template_current=>''\n,p_list_template_noncurrent=>''\n,p_list_template_name=>'Links List'\n,p_internal_name=>'LINKS_LIST'\n,p_theme_id=>42\n,p_theme_class_id=>18\n,p_list_template_before_rows=>''\n,p_before_sub_list=>''\n,p_sub_list_item_current=>''\n,p_sub_list_item_noncurrent=>''\n,p_item_templ_curr_w_child=>''\n,p_item_templ_noncurr_w_child=>''\n,p_a01_label=>'Badge Value'\n,p_a02_label=>'Link Attributes'\n,p_a03_label=>'List Item CSS Classes'\n,p_reference_id=>4070914341144059318\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/list/media_list\nbegin\nwwv_flow_api.create_list_template(\n p_id=>wwv_flow_api.id(55689491419617258716)\n,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n' ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'

    #TEXT#

    ',\n'

    #A01#

    ',\n'
    ',\n'
    ',\n' #A02#',\n'
    ',\n'
    ',\n'
  • '))\n,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n' ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'

    #TEXT#

    ',\n'

    #A01#

    ',\n'
    ',\n'
    ',\n' #A02#',\n'
    ',\n'
    ',\n'
  • '))\n,p_list_template_name=>'Media List'\n,p_internal_name=>'MEDIA_LIST'\n,p_theme_id=>42\n,p_theme_class_id=>5\n,p_default_template_options=>'t-MediaList--showIcons:t-MediaList--showDesc'\n,p_list_template_before_rows=>'
      '\n,p_list_template_after_rows=>'
    '\n,p_a01_label=>'Description'\n,p_a02_label=>'Badge Value'\n,p_a03_label=>'Link Attributes'\n,p_a04_label=>'List Item CSS Classes'\n,p_a05_label=>'Link Class'\n,p_a06_label=>'Icon Color Class'\n,p_reference_id=>2066548068783481421\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/list/menu_bar\nbegin\nwwv_flow_api.create_list_template(\n p_id=>wwv_flow_api.id(55689492606564258718)\n,p_list_template_current=>'
  • #TEXT_ESC_SC#
  • '\n,p_list_template_noncurrent=>'
  • #TEXT_ESC_SC#
  • '\n,p_list_template_name=>'Menu Bar'\n,p_internal_name=>'MENU_BAR'\n,p_javascript_code_onload=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'var e = apex.jQuery(\"##PARENT_STATIC_ID#_menubar\", apex.gPageContext$);',\n'if (e.hasClass(\"js-addActions\")) {',\n' apex.actions.addFromMarkup( e );',\n'}',\n'e.menu({',\n' behaveLikeTabs: e.hasClass(\"js-tabLike\"),',\n' menubarShowSubMenuIcon: e.hasClass(\"js-showSubMenuIcons\") || null,',\n' iconType: ''fa'',',\n' slide: e.hasClass(\"js-slide\"),',\n' menubar: true,',\n' menubarOverflow: true',\n'});'))\n,p_theme_id=>42\n,p_theme_class_id=>20\n,p_default_template_options=>'js-showSubMenuIcons'\n,p_list_template_before_rows=>'
      '\n,p_list_template_after_rows=>'
    '\n,p_before_sub_list=>'
      '\n,p_after_sub_list=>'
    '\n,p_sub_list_item_current=>'
  • #TEXT_ESC_SC#
  • '\n,p_sub_list_item_noncurrent=>'
  • #TEXT_ESC_SC#
  • '\n,p_item_templ_curr_w_child=>'
  • #TEXT_ESC_SC#'\n,p_item_templ_noncurr_w_child=>'
  • #TEXT_ESC_SC#'\n,p_sub_templ_curr_w_child=>'
  • #TEXT_ESC_SC#'\n,p_sub_templ_noncurr_w_child=>'
  • #TEXT_ESC_SC#'\n,p_reference_id=>2008709236185638887\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/list/menu_popup\nbegin\nwwv_flow_api.create_list_template(\n p_id=>wwv_flow_api.id(55689493148595258718)\n,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • #TEXT_ESC_SC#
  • ',\n''))\n,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • #TEXT_ESC_SC#
  • ',\n''))\n,p_list_template_name=>'Menu Popup'\n,p_internal_name=>'MENU_POPUP'\n,p_javascript_code_onload=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'var e = apex.jQuery(\"##PARENT_STATIC_ID#_menu\", apex.gPageContext$);',\n'if (e.hasClass(\"js-addActions\")) {',\n' apex.actions.addFromMarkup( e );',\n'}',\n'e.menu({ slide: e.hasClass(\"js-slide\")});'))\n,p_theme_id=>42\n,p_theme_class_id=>20\n,p_list_template_before_rows=>'
      '\n,p_list_template_after_rows=>'
    '\n,p_before_sub_list=>'
      '\n,p_after_sub_list=>'
    '\n,p_sub_list_item_current=>'
  • #TEXT_ESC_SC#
  • '\n,p_sub_list_item_noncurrent=>'
  • #TEXT_ESC_SC#
  • '\n,p_item_templ_curr_w_child=>'
  • #TEXT_ESC_SC#'\n,p_item_templ_noncurr_w_child=>'
  • #TEXT_ESC_SC#'\n,p_sub_templ_curr_w_child=>'
  • #TEXT_ESC_SC#'\n,p_sub_templ_noncurr_w_child=>'
  • #TEXT_ESC_SC#'\n,p_a01_label=>'Data ID'\n,p_a02_label=>'Disabled (True/False)'\n,p_a03_label=>'Hidden (True/False)'\n,p_a04_label=>'Title Attribute'\n,p_a05_label=>'Shortcut'\n,p_reference_id=>3492264004432431646\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/list/navigation_bar\nbegin\nwwv_flow_api.create_list_template(\n p_id=>wwv_flow_api.id(55689493206997258718)\n,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n' ',\n' #TEXT_ESC_SC##A01#',\n' ',\n'
  • '))\n,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n' ',\n' #TEXT_ESC_SC##A01#',\n' ',\n'
  • '))\n,p_list_template_name=>'Navigation Bar'\n,p_internal_name=>'NAVIGATION_BAR'\n,p_theme_id=>42\n,p_theme_class_id=>20\n,p_list_template_before_rows=>'
      '\n,p_list_template_after_rows=>'
    '\n,p_before_sub_list=>'
      '\n,p_after_sub_list=>'
    '\n,p_sub_list_item_current=>'
  • #TEXT_ESC_SC#
  • '\n,p_sub_list_item_noncurrent=>'
  • #TEXT_ESC_SC#
  • '\n,p_item_templ_curr_w_child=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n' '))\n,p_item_templ_noncurr_w_child=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n' '))\n,p_sub_templ_curr_w_child=>'
  • #TEXT_ESC_SC#
  • '\n,p_sub_templ_noncurr_w_child=>'
  • #TEXT_ESC_SC#
  • '\n,p_a01_label=>'Badge Value'\n,p_a02_label=>'List Item CSS Classes'\n,p_reference_id=>2846096252961119197\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/list/side_navigation_menu\nbegin\nwwv_flow_api.create_list_template(\n p_id=>wwv_flow_api.id(55689493388841258719)\n,p_list_template_current=>'
  • #TEXT_ESC_SC#
  • '\n,p_list_template_noncurrent=>'
  • #TEXT_ESC_SC#
  • '\n,p_list_template_name=>'Side Navigation Menu'\n,p_internal_name=>'SIDE_NAVIGATION_MENU'\n,p_javascript_file_urls=>'#IMAGE_PREFIX#libraries/apex/#MIN_DIRECTORY#widget.treeView#MIN#.js?v=#APEX_VERSION#'\n,p_javascript_code_onload=>'apex.jQuery(''body'').addClass(''t-PageBody--leftNav'');'\n,p_theme_id=>42\n,p_theme_class_id=>19\n,p_list_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
      '))\n,p_list_template_after_rows=>'
    '\n,p_before_sub_list=>'
      '\n,p_after_sub_list=>'
    '\n,p_sub_list_item_current=>'
  • #TEXT_ESC_SC#
  • '\n,p_sub_list_item_noncurrent=>'
  • #TEXT_ESC_SC#
  • '\n,p_item_templ_curr_w_child=>'
  • #TEXT_ESC_SC#'\n,p_item_templ_noncurr_w_child=>'
  • #TEXT_ESC_SC#'\n,p_sub_templ_curr_w_child=>'
  • #TEXT_ESC_SC#'\n,p_sub_templ_noncurr_w_child=>'
  • #TEXT_ESC_SC#'\n,p_a01_label=>'ID Attribute'\n,p_a02_label=>'Disabled True/False'\n,p_a04_label=>'Title'\n,p_reference_id=>2466292414354694776\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/list/tabs\nbegin\nwwv_flow_api.create_list_template(\n p_id=>wwv_flow_api.id(55689493437009258719)\n,p_list_template_current=>'
  • #TEXT#
  • '\n,p_list_template_noncurrent=>'
  • #TEXT#
  • '\n,p_list_template_name=>'Tabs'\n,p_internal_name=>'TABS'\n,p_theme_id=>42\n,p_theme_class_id=>7\n,p_preset_template_options=>'t-Tabs--simple'\n,p_list_template_before_rows=>'
      '\n,p_list_template_after_rows=>'
    '\n,p_reference_id=>3288206686691809997\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/list/top_navigation_menu\nbegin\nwwv_flow_api.create_list_template(\n p_id=>wwv_flow_api.id(55689494277853258719)\n,p_list_template_current=>'
  • #TEXT_ESC_SC#
  • '\n,p_list_template_noncurrent=>'
  • #TEXT_ESC_SC#
  • '\n,p_list_template_name=>'Top Navigation Menu'\n,p_internal_name=>'TOP_NAVIGATION_MENU'\n,p_javascript_code_onload=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'var e = apex.jQuery(\"##PARENT_STATIC_ID#_menubar\", apex.gPageContext$);',\n'if (e.hasClass(\"js-addActions\")) {',\n' if ( apex.actions ) {',\n' apex.actions.addFromMarkup( e );',\n' } else {',\n' apex.debug.warn(\"Include actions.js to support menu shortcuts\");',\n' }',\n'}',\n'e.menu({',\n' behaveLikeTabs: e.hasClass(\"js-tabLike\"),',\n' menubarShowSubMenuIcon: e.hasClass(\"js-showSubMenuIcons\") || null,',\n' slide: e.hasClass(\"js-slide\"),',\n' menubar: true,',\n' menubarOverflow: true',\n'});'))\n,p_theme_id=>42\n,p_theme_class_id=>20\n,p_default_template_options=>'js-tabLike'\n,p_list_template_before_rows=>'
      '\n,p_list_template_after_rows=>'
    '\n,p_before_sub_list=>'
      '\n,p_after_sub_list=>'
    '\n,p_sub_list_item_current=>'
  • #TEXT_ESC_SC#
  • '\n,p_sub_list_item_noncurrent=>'
  • #TEXT_ESC_SC#
  • '\n,p_item_templ_curr_w_child=>'
  • #TEXT_ESC_SC#'\n,p_item_templ_noncurr_w_child=>'
  • #TEXT_ESC_SC#'\n,p_sub_templ_curr_w_child=>'
  • #TEXT_ESC_SC#'\n,p_sub_templ_noncurr_w_child=>'
  • #TEXT_ESC_SC#'\n,p_a01_label=>'ID Attribute'\n,p_a02_label=>'Disabled True / False'\n,p_a03_label=>'Hide'\n,p_a04_label=>'Title Attribute'\n,p_a05_label=>'Shortcut Key'\n,p_reference_id=>2525307901300239072\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/list/wizard_progress\nbegin\nwwv_flow_api.create_list_template(\n p_id=>wwv_flow_api.id(55689494753681258720)\n,p_list_template_current=>'
  • #TEXT#
  • '\n,p_list_template_noncurrent=>'
  • #TEXT#
  • '\n,p_list_template_name=>'Wizard Progress'\n,p_internal_name=>'WIZARD_PROGRESS'\n,p_javascript_code_onload=>'apex.theme.initWizardProgressBar();'\n,p_theme_id=>42\n,p_theme_class_id=>17\n,p_preset_template_options=>'t-WizardSteps--displayLabels'\n,p_list_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'

    #CURRENT_PROGRESS#

    ',\n'
      '))\n,p_list_template_after_rows=>'
    '\n,p_reference_id=>2008702338707394488\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/report/alerts\nbegin\nwwv_flow_api.create_row_template(\n p_id=>wwv_flow_api.id(55689478534313258705)\n,p_row_template_name=>'Alerts'\n,p_internal_name=>'ALERTS'\n,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'

    #ALERT_TITLE#

    ',\n'
    ',\n'
    ',\n' #ALERT_DESC#',\n'
    ',\n'
    ',\n'
    ',\n' #ALERT_ACTION#',\n'
    ',\n'
    ',\n'
    '))\n,p_row_template_before_rows=>'
    '\n,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#PAGINATION#
    '))\n,p_row_template_type=>'NAMED_COLUMNS'\n,p_row_template_display_cond1=>'0'\n,p_row_template_display_cond2=>'0'\n,p_row_template_display_cond3=>'0'\n,p_row_template_display_cond4=>'0'\n,p_pagination_template=>'#TEXT#'\n,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT#',\n''))\n,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS#',\n''))\n,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT_SET#',\n''))\n,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS_SET#',\n''))\n,p_theme_id=>42\n,p_theme_class_id=>14\n,p_reference_id=>2881456138952347027\n,p_translate_this_template=>'N'\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/report/badge_list\nbegin\nwwv_flow_api.create_row_template(\n p_id=>wwv_flow_api.id(55689478673498258705)\n,p_row_template_name=>'Badge List'\n,p_internal_name=>'BADGE_LIST'\n,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n' #COLUMN_HEADER#',\n' #COLUMN_VALUE#',\n'
  • '))\n,p_row_template_before_rows=>'
      '\n,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#PAGINATION#
    '))\n,p_row_template_type=>'GENERIC_COLUMNS'\n,p_row_template_display_cond1=>'0'\n,p_row_template_display_cond2=>'0'\n,p_row_template_display_cond3=>'0'\n,p_row_template_display_cond4=>'0'\n,p_pagination_template=>'#TEXT#'\n,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT#',\n''))\n,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS#',\n''))\n,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT_SET#',\n''))\n,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS_SET#',\n''))\n,p_theme_id=>42\n,p_theme_class_id=>6\n,p_default_template_options=>'t-BadgeList--responsive'\n,p_preset_template_options=>'t-BadgeList--large:t-BadgeList--fixed'\n,p_reference_id=>2103197159775914759\n,p_translate_this_template=>'N'\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/report/cards\nbegin\nwwv_flow_api.create_row_template(\n p_id=>wwv_flow_api.id(55689480336426258706)\n,p_row_template_name=>'Cards'\n,p_internal_name=>'CARDS'\n,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n' ',\n'
  • '))\n,p_row_template_condition1=>':CARD_LINK is not null'\n,p_row_template2=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n'
    ',\n'
    ',\n'
    #CARD_INITIALS#
    ',\n'

    #CARD_TITLE#

    ',\n'
    ',\n'
    #CARD_TEXT#
    ',\n'
    #CARD_SUBTEXT#
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
  • '))\n,p_row_template_before_rows=>'
      '\n,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#PAGINATION#
    '))\n,p_row_template_type=>'NAMED_COLUMNS'\n,p_row_template_display_cond1=>'NOT_CONDITIONAL'\n,p_row_template_display_cond2=>'0'\n,p_row_template_display_cond3=>'0'\n,p_row_template_display_cond4=>'NOT_CONDITIONAL'\n,p_pagination_template=>'#TEXT#'\n,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT#',\n''))\n,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS#',\n''))\n,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT_SET#',\n''))\n,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS_SET#',\n''))\n,p_theme_id=>42\n,p_theme_class_id=>7\n,p_preset_template_options=>'t-Cards--animColorFill:t-Cards--3cols:t-Cards--featured'\n,p_reference_id=>2973535649510699732\n,p_translate_this_template=>'N'\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/report/comments\nbegin\nwwv_flow_api.create_row_template(\n p_id=>wwv_flow_api.id(55689482654924258709)\n,p_row_template_name=>'Comments'\n,p_internal_name=>'COMMENTS'\n,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n'
    ',\n'
    #USER_ICON#
    ',\n'
    ',\n'
    ',\n'
    ',\n' #USER_NAME# · #COMMENT_DATE# #ACTIONS#',\n'
    ',\n'
    ',\n' #COMMENT_TEXT##ATTRIBUTE_1##ATTRIBUTE_2##ATTRIBUTE_3##ATTRIBUTE_4#',\n'
    ',\n'
    ',\n'
  • '))\n,p_row_template_before_rows=>'
      '\n,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#PAGINATION#
    '))\n,p_row_template_type=>'NAMED_COLUMNS'\n,p_row_template_display_cond1=>'0'\n,p_row_template_display_cond2=>'NOT_CONDITIONAL'\n,p_row_template_display_cond3=>'0'\n,p_row_template_display_cond4=>'0'\n,p_pagination_template=>'#TEXT#'\n,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT#',\n''))\n,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS#',\n''))\n,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT_SET#',\n'',\n''))\n,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS_SET#',\n''))\n,p_theme_id=>42\n,p_theme_class_id=>7\n,p_preset_template_options=>'t-Comments--chat'\n,p_reference_id=>2611722012730764232\n,p_translate_this_template=>'N'\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/report/search_results\nbegin\nwwv_flow_api.create_row_template(\n p_id=>wwv_flow_api.id(55689483071227258709)\n,p_row_template_name=>'Search Results'\n,p_internal_name=>'SEARCH_RESULTS'\n,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n'

    #SEARCH_TITLE#

    ',\n'
    ',\n'

    #SEARCH_DESC#

    ',\n' #LABEL_01#: #VALUE_01#',\n'
    ',\n'
  • '))\n,p_row_template_condition1=>':LABEL_02 is null'\n,p_row_template2=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n'

    #SEARCH_TITLE#

    ',\n'
    ',\n'

    #SEARCH_DESC#

    ',\n' #LABEL_01#: #VALUE_01#',\n' #LABEL_02#: #VALUE_02#',\n'
    ',\n'
  • '))\n,p_row_template_condition2=>':LABEL_03 is null'\n,p_row_template3=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n'

    #SEARCH_TITLE#

    ',\n'
    ',\n'

    #SEARCH_DESC#

    ',\n' #LABEL_01#: #VALUE_01#',\n' #LABEL_02#: #VALUE_02#',\n' #LABEL_03#: #VALUE_03#',\n'
    ',\n'
  • '))\n,p_row_template_condition3=>':LABEL_04 is null'\n,p_row_template4=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n'

    #SEARCH_TITLE#

    ',\n'
    ',\n'

    #SEARCH_DESC#

    ',\n' #LABEL_01#: #VALUE_01#',\n' #LABEL_02#: #VALUE_02#',\n' #LABEL_03#: #VALUE_03#',\n' #LABEL_04#: #VALUE_04#',\n'
    ',\n'
  • '))\n,p_row_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
      '))\n,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#PAGINATION#
    ',\n'
    '))\n,p_row_template_type=>'NAMED_COLUMNS'\n,p_row_template_display_cond1=>'NOT_CONDITIONAL'\n,p_row_template_display_cond2=>'NOT_CONDITIONAL'\n,p_row_template_display_cond3=>'NOT_CONDITIONAL'\n,p_row_template_display_cond4=>'NOT_CONDITIONAL'\n,p_pagination_template=>'#TEXT#'\n,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT#',\n''))\n,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS#',\n''))\n,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT_SET#',\n''))\n,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS_SET#',\n''))\n,p_theme_id=>42\n,p_theme_class_id=>1\n,p_reference_id=>4070913431524059316\n,p_translate_this_template=>'N'\n,p_row_template_comment=>' (SELECT link_text, link_target, detail1, detail2, last_modified)'\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/report/standard\nbegin\nwwv_flow_api.create_row_template(\n p_id=>wwv_flow_api.id(55689483178799258709)\n,p_row_template_name=>'Standard'\n,p_internal_name=>'STANDARD'\n,p_row_template1=>'#COLUMN_VALUE#'\n,p_row_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n' #TOP_PAGINATION#
    ',\n'
    ',\n' '))\n,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(\n' ',\n'
    ',\n'
    ',\n'
    #EXTERNAL_LINK##CSV_LINK#
    ',\n' #PAGINATION#
    ',\n'
    ',\n'
    '))\n,p_row_template_type=>'GENERIC_COLUMNS'\n,p_before_column_heading=>''\n,p_column_heading_template=>'#COLUMN_HEADER#'\n,p_after_column_heading=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n''))\n,p_row_template_display_cond1=>'0'\n,p_row_template_display_cond2=>'0'\n,p_row_template_display_cond3=>'0'\n,p_row_template_display_cond4=>'0'\n,p_pagination_template=>'#TEXT#'\n,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT#',\n''))\n,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS#',\n''))\n,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT_SET#',\n''))\n,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS_SET#',\n''))\n,p_theme_id=>42\n,p_theme_class_id=>4\n,p_preset_template_options=>'t-Report--altRowsDefault:t-Report--rowHighlight'\n,p_reference_id=>2537207537838287671\n,p_translate_this_template=>'N'\n);\nbegin\nwwv_flow_api.create_row_template_patch(\n p_id=>wwv_flow_api.id(55689483178799258709)\n,p_row_template_before_first=>''\n,p_row_template_after_last=>''\n);\nexception when others then null;\nend;\nend;\n/\nprompt --application/shared_components/user_interface/templates/report/timeline\nbegin\nwwv_flow_api.create_row_template(\n p_id=>wwv_flow_api.id(55689484460656258710)\n,p_row_template_name=>'Timeline'\n,p_internal_name=>'TIMELINE'\n,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n'
    ',\n'
    ',\n'
    ',\n' #USER_AVATAR#',\n'
    ',\n'
    ',\n' #USER_NAME#',\n' #EVENT_DATE#',\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n' #EVENT_TYPE#',\n'
    ',\n'
    ',\n'
    ',\n'

    #EVENT_TITLE#

    ',\n'

    #EVENT_DESC#

    ',\n'
    ',\n'
    ',\n'
    ',\n'
  • '))\n,p_row_template_condition1=>':EVENT_LINK is null'\n,p_row_template2=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n' ',\n'
    ',\n'
    ',\n' #USER_AVATAR#',\n'
    ',\n'
    ',\n' #USER_NAME#',\n' #EVENT_DATE#',\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n' #EVENT_TYPE#',\n'
    ',\n'
    ',\n'
    ',\n'

    #EVENT_TITLE#

    ',\n'

    #EVENT_DESC#

    ',\n'
    ',\n'
    ',\n'
    ',\n'
  • '))\n,p_row_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
      ',\n''))\n,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#PAGINATION#
    '))\n,p_row_template_type=>'NAMED_COLUMNS'\n,p_row_template_display_cond1=>'NOT_CONDITIONAL'\n,p_row_template_display_cond2=>'0'\n,p_row_template_display_cond3=>'0'\n,p_row_template_display_cond4=>'NOT_CONDITIONAL'\n,p_pagination_template=>'#TEXT#'\n,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT#',\n''))\n,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS#',\n''))\n,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT_SET#',\n''))\n,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS_SET#',\n''))\n,p_theme_id=>42\n,p_theme_class_id=>7\n,p_reference_id=>1513373588340069864\n,p_translate_this_template=>'N'\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/report/value_attribute_pairs_column\nbegin\nwwv_flow_api.create_row_template(\n p_id=>wwv_flow_api.id(55689484670002258710)\n,p_row_template_name=>'Value Attribute Pairs - Column'\n,p_internal_name=>'VALUE_ATTRIBUTE_PAIRS_COLUMN'\n,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n' #COLUMN_HEADER#',\n'
    ',\n'
    ',\n' #COLUMN_VALUE#',\n'
    '))\n,p_row_template_before_rows=>'
    '\n,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#PAGINATION#
    '))\n,p_row_template_type=>'GENERIC_COLUMNS'\n,p_row_template_display_cond1=>'0'\n,p_row_template_display_cond2=>'0'\n,p_row_template_display_cond3=>'0'\n,p_row_template_display_cond4=>'0'\n,p_pagination_template=>'#TEXT#'\n,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT#',\n''))\n,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS#',\n''))\n,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT_SET#',\n''))\n,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS_SET#',\n''))\n,p_theme_id=>42\n,p_theme_class_id=>6\n,p_preset_template_options=>'t-AVPList--leftAligned'\n,p_reference_id=>2099068636272681754\n,p_translate_this_template=>'N'\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/report/value_attribute_pairs_row\nbegin\nwwv_flow_api.create_row_template(\n p_id=>wwv_flow_api.id(55689485634595258711)\n,p_row_template_name=>'Value Attribute Pairs - Row'\n,p_internal_name=>'VALUE_ATTRIBUTE_PAIRS_ROW'\n,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n' #1#',\n'
    ',\n'
    ',\n' #2#',\n'
    '))\n,p_row_template_before_rows=>'
    '\n,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#PAGINATION#
    '))\n,p_row_template_type=>'NAMED_COLUMNS'\n,p_row_template_display_cond1=>'0'\n,p_row_template_display_cond2=>'0'\n,p_row_template_display_cond3=>'0'\n,p_row_template_display_cond4=>'0'\n,p_pagination_template=>'#TEXT#'\n,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT#',\n''))\n,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS#',\n''))\n,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT_SET#',\n''))\n,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS_SET#',\n''))\n,p_theme_id=>42\n,p_theme_class_id=>7\n,p_preset_template_options=>'t-AVPList--leftAligned'\n,p_reference_id=>2099068321678681753\n,p_translate_this_template=>'N'\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/report/value_attribute_pairs_column_ali\nbegin\nwwv_flow_api.create_row_template(\n p_id=>wwv_flow_api.id(55693439011091522468)\n,p_row_template_name=>'Value Attribute Pairs - Column _ali'\n,p_internal_name=>'VALUE_ATTRIBUTE_PAIRS_-_COLUMN__ALI'\n,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n' #COLUMN_HEADER#',\n'
    ',\n'
    ',\n' #COLUMN_VALUE#',\n'
    '))\n,p_row_template_before_rows=>'
    '\n,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n'
    ',\n'',\n'#PAGINATION#
    '))\n,p_row_template_type=>'GENERIC_COLUMNS'\n,p_row_template_display_cond1=>'0'\n,p_row_template_display_cond2=>'0'\n,p_row_template_display_cond3=>'0'\n,p_row_template_display_cond4=>'0'\n,p_pagination_template=>'#TEXT#'\n,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT#',\n''))\n,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS#',\n''))\n,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT_SET#',\n''))\n,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS_SET#',\n''))\n,p_theme_id=>42\n,p_theme_class_id=>6\n,p_preset_template_options=>'t-AVPList--leftAligned'\n);\nbegin\nwwv_flow_api.create_row_template_patch(\n p_id=>wwv_flow_api.id(55693439011091522468)\n,p_row_template_after_last=>'
    '\n);\nexception when others then null;\nend;\nend;\n/\nprompt --application/shared_components/user_interface/templates/report/value_attribute_pairs_row_ali\nbegin\nwwv_flow_api.create_row_template(\n p_id=>wwv_flow_api.id(55905964705647512565)\n,p_row_template_name=>'Value Attribute Pairs - Row ali'\n,p_internal_name=>'VALUE_ATTRIBUTE_PAIRS_-_ROW_ALI'\n,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n' #1#',\n'
    ',\n'
    ',\n' #2#',\n'
    ',\n'
    ',\n' #1#',\n'
    ',\n'
    ',\n' #3#',\n'
    ',\n'
    ',\n' #1#',\n'
    ',\n'
    ',\n' #4#',\n'
    ',\n''))\n,p_row_template_before_rows=>'
    '\n,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#PAGINATION#
    '))\n,p_row_template_type=>'NAMED_COLUMNS'\n,p_row_template_display_cond1=>'0'\n,p_row_template_display_cond2=>'0'\n,p_row_template_display_cond3=>'0'\n,p_row_template_display_cond4=>'0'\n,p_pagination_template=>'#TEXT#'\n,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT#',\n''))\n,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS#',\n''))\n,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT_SET#',\n''))\n,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS_SET#',\n''))\n,p_theme_id=>42\n,p_theme_class_id=>7\n,p_preset_template_options=>'t-AVPList--leftAligned'\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/report/timeline_ali\nbegin\nwwv_flow_api.create_row_template(\n p_id=>wwv_flow_api.id(55911169741861327352)\n,p_row_template_name=>'Timeline ali'\n,p_internal_name=>'TIMELINE_ALI'\n,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n'
    ',\n'
    ',\n'
    ',\n' #USER_AVATAR#',\n'
    ',\n'
    ',\n' #USER_NAME#',\n' #EVENT_DATE#',\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n' #EVENT_TYPE#',\n'
    ',\n'
    ',\n'
    ',\n'

    #EVENT_TITLE#

    ',\n'

    #EVENT_DESC#

    ',\n'
    ',\n'
    ',\n'
    ',\n'
  • '))\n,p_row_template_condition1=>':EVENT_LINK is null'\n,p_row_template2=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n' ',\n'
    ',\n'
    ',\n' #USER_AVATAR#',\n'
    ',\n'
    ',\n' #USER_NAME#',\n' #EVENT_DATE#',\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n'
    ',\n' ',\n' #EVENT_TYPE#',\n'
    ',\n'
    ',\n'
    ',\n'

    #EVENT_TITLE#

    ',\n'

    #EVENT_DESC#

    ',\n'
    ',\n'
    ',\n'
    ',\n'
  • '))\n,p_row_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
      ',\n''))\n,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#PAGINATION#
    '))\n,p_row_template_type=>'NAMED_COLUMNS'\n,p_row_template_display_cond1=>'NOT_CONDITIONAL'\n,p_row_template_display_cond2=>'0'\n,p_row_template_display_cond3=>'0'\n,p_row_template_display_cond4=>'NOT_CONDITIONAL'\n,p_pagination_template=>'#TEXT#'\n,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT#',\n''))\n,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS#',\n''))\n,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT_SET#',\n''))\n,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS_SET#',\n''))\n,p_theme_id=>42\n,p_theme_class_id=>7\n,p_translate_this_template=>'N'\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/report/search_results_ali\nbegin\nwwv_flow_api.create_row_template(\n p_id=>wwv_flow_api.id(55922354268516630598)\n,p_row_template_name=>'Search Results ali'\n,p_internal_name=>'SEARCH_RESULTS_ALI'\n,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n'

    #SEARCH_TITLE#

    ',\n'
    ',\n'

    #SEARCH_DESC#

    ',\n' #LABEL_01#: #VALUE_01#',\n'
    ',\n'
  • '))\n,p_row_template_condition1=>':LABEL_02 is null'\n,p_row_template2=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n'

    #SEARCH_TITLE#

    ',\n'
    ',\n'

    #SEARCH_DESC#

    ',\n' #LABEL_01#: #VALUE_01#',\n' #LABEL_02#: #VALUE_02#',\n'
    ',\n'
  • '))\n,p_row_template_condition2=>':LABEL_03 is null'\n,p_row_template3=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n'

    #SEARCH_TITLE#

    ',\n'
    ',\n'

    #SEARCH_DESC#

    ',\n' #LABEL_01#: #VALUE_01#',\n' #LABEL_02#: #VALUE_02#',\n' #LABEL_03#: #VALUE_03#',\n'
    ',\n'
  • '))\n,p_row_template_condition3=>':LABEL_04 is null'\n,p_row_template4=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n'

    #SEARCH_TITLE#

    ',\n'
    ',\n'

    #SEARCH_DESC#

    ',\n' #LABEL_01#: #VALUE_01#',\n' #LABEL_02#: #VALUE_02#',\n' #LABEL_03#: #VALUE_03#',\n' #LABEL_04#: #VALUE_04#',\n'
    ',\n'
  • '))\n,p_row_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
      '))\n,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#PAGINATION#
    ',\n'
    '))\n,p_row_template_type=>'NAMED_COLUMNS'\n,p_row_template_display_cond1=>'NOT_CONDITIONAL'\n,p_row_template_display_cond2=>'NOT_CONDITIONAL'\n,p_row_template_display_cond3=>'NOT_CONDITIONAL'\n,p_row_template_display_cond4=>'NOT_CONDITIONAL'\n,p_pagination_template=>'#TEXT#'\n,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT#',\n''))\n,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS#',\n''))\n,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT_SET#',\n''))\n,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS_SET#',\n''))\n,p_theme_id=>42\n,p_theme_class_id=>1\n,p_translate_this_template=>'N'\n,p_row_template_comment=>' (SELECT link_text, link_target, detail1, detail2, last_modified)'\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/report/comments_ai\nbegin\nwwv_flow_api.create_row_template(\n p_id=>wwv_flow_api.id(55922557049686632089)\n,p_row_template_name=>'Comments ai'\n,p_internal_name=>'COMMENTS_AI'\n,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n'
    ',\n'
    #USER_ICON#
    ',\n'
    ',\n'
    ',\n'
    ',\n' #USER_NAME# · #COMMENT_DATE# #ACTIONS#',\n'
    ',\n'
    ',\n' #COMMENT_TEXT##ATTRIBUTE_1##ATTRIBUTE_2##ATTRIBUTE_3##ATTRIBUTE_4#',\n'
    ',\n'
    ',\n'
  • '))\n,p_row_template_before_rows=>'
      '\n,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#PAGINATION#
    '))\n,p_row_template_type=>'NAMED_COLUMNS'\n,p_row_template_display_cond1=>'0'\n,p_row_template_display_cond2=>'NOT_CONDITIONAL'\n,p_row_template_display_cond3=>'0'\n,p_row_template_display_cond4=>'0'\n,p_pagination_template=>'#TEXT#'\n,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT#',\n''))\n,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS#',\n''))\n,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT_SET#',\n'',\n''))\n,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS_SET#',\n''))\n,p_theme_id=>42\n,p_theme_class_id=>7\n,p_preset_template_options=>'t-Comments--chat'\n,p_translate_this_template=>'N'\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/report/cards_ali\nbegin\nwwv_flow_api.create_row_template(\n p_id=>wwv_flow_api.id(55923070163834413654)\n,p_row_template_name=>'Cards ali'\n,p_internal_name=>'CARDS_ALI'\n,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n' ',\n'
  • '))\n,p_row_template_condition1=>':CARD_LINK is not null'\n,p_row_template2=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n'
    ',\n'
    ',\n'
    #CARD_INITIALS#
    ',\n'

    #CARD_TITLE#

    ',\n'
    ',\n'
    #CARD_TEXT#
    ',\n'
    #CARD_SUBTEXT#
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
  • '))\n,p_row_template_before_rows=>'
      '\n,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#PAGINATION#
    '))\n,p_row_template_type=>'NAMED_COLUMNS'\n,p_row_template_display_cond1=>'NOT_CONDITIONAL'\n,p_row_template_display_cond2=>'0'\n,p_row_template_display_cond3=>'0'\n,p_row_template_display_cond4=>'NOT_CONDITIONAL'\n,p_pagination_template=>'#TEXT#'\n,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT#',\n''))\n,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS#',\n''))\n,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT_SET#',\n''))\n,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS_SET#',\n''))\n,p_theme_id=>42\n,p_theme_class_id=>7\n,p_preset_template_options=>'t-Cards--animColorFill:t-Cards--3cols:t-Cards--featured'\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/report/badge_list_ali\nbegin\nwwv_flow_api.create_row_template(\n p_id=>wwv_flow_api.id(55923419440928416640)\n,p_row_template_name=>'Badge List Ali'\n,p_internal_name=>'BADGE_LIST_ALI'\n,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n' #COLUMN_HEADER#',\n' #COLUMN_VALUE#',\n'
  • ',\n''))\n,p_row_template_before_rows=>'
      '\n,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#PAGINATION#
    '))\n,p_row_template_type=>'GENERIC_COLUMNS'\n,p_row_template_display_cond1=>'0'\n,p_row_template_display_cond2=>'0'\n,p_row_template_display_cond3=>'0'\n,p_row_template_display_cond4=>'0'\n,p_pagination_template=>'#TEXT#'\n,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT#',\n''))\n,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS#',\n''))\n,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT_SET#',\n''))\n,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS_SET#',\n''))\n,p_theme_id=>42\n,p_theme_class_id=>6\n,p_default_template_options=>'t-BadgeList--responsive'\n,p_preset_template_options=>'t-BadgeList--large:t-BadgeList--fixed'\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/report/alerts_ali\nbegin\nwwv_flow_api.create_row_template(\n p_id=>wwv_flow_api.id(55923564898923639408)\n,p_row_template_name=>'Alerts ali'\n,p_internal_name=>'ALERTS_ALI'\n,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n'
    ',\n' ',\n'
    ',\n'
    ',\n'
    ',\n'

    #ALERT_TITLE#

    ',\n'
    ',\n'
    ',\n' #ALERT_DESC#',\n'
    ',\n'
    ',\n'
    ',\n' #ALERT_ACTION#',\n'
    ',\n'
    ',\n'
    '))\n,p_row_template_before_rows=>'
    '\n,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#PAGINATION#
    '))\n,p_row_template_type=>'NAMED_COLUMNS'\n,p_row_template_display_cond1=>'0'\n,p_row_template_display_cond2=>'0'\n,p_row_template_display_cond3=>'0'\n,p_row_template_display_cond4=>'0'\n,p_pagination_template=>'#TEXT#'\n,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT#',\n''))\n,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS#',\n''))\n,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT_SET#',\n''))\n,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS_SET#',\n''))\n,p_theme_id=>42\n,p_theme_class_id=>14\n,p_translate_this_template=>'N'\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/report/pricing\nbegin\nwwv_flow_api.create_row_template(\n p_id=>wwv_flow_api.id(56210270446698389648)\n,p_row_template_name=>'Pricing'\n,p_internal_name=>'PRICING'\n,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n'
    ',\n'
    #NAME#
    ',\n'
    $ #PRICE#
    ',\n'
    #DESCRIPTION#
    ',\n'
    #AVAIL#
    ',\n'
    10 Domains
    ',\n'
    1GB Bandwidth
    ',\n'
    #LINK#
    ',\n'
    ',\n'
  • '))\n,p_row_template_condition1=>':CARD_LINK is not null'\n,p_row_template2=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n'
    ',\n'
    #NAME#
    ',\n'
    $ #PRICE#
    ',\n'
    #DESCRIPTION#
    ',\n'
    #AVAIL#
    ',\n'
    10 Domains
    ',\n'
    1GB Bandwidth
    ',\n'
    #LINK#
    ',\n'
    ',\n'
  • '))\n,p_row_template_before_rows=>'
      '\n,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#PAGINATION#
    '))\n,p_row_template_type=>'NAMED_COLUMNS'\n,p_row_template_display_cond1=>'NOT_CONDITIONAL'\n,p_row_template_display_cond2=>'0'\n,p_row_template_display_cond3=>'0'\n,p_row_template_display_cond4=>'NOT_CONDITIONAL'\n,p_pagination_template=>'#TEXT#'\n,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT#',\n''))\n,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS#',\n''))\n,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT_SET#',\n''))\n,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS_SET#',\n''))\n,p_theme_id=>42\n,p_theme_class_id=>7\n,p_preset_template_options=>'t-Cards--animColorFill:t-Cards--3cols:t-Cards--featured'\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/report/pricing_2\nbegin\nwwv_flow_api.create_row_template(\n p_id=>wwv_flow_api.id(56722900093109423709)\n,p_row_template_name=>'Pricing_2'\n,p_internal_name=>'PRICING_2'\n,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
      ',\n'
    • #NAME#
    • ',\n'
    • $ #PRICE#
    • ',\n'
    • #DESCRIPTION#
    • ',\n'
    • #AVAIL#
    • ',\n'
    • 10 Domains
    • ',\n'
    • 1GB Bandwidth
    • ',\n'
    • #LINK#
    • ',\n'
    ',\n'
    '))\n,p_row_template_condition1=>':CARD_LINK is not null'\n,p_row_template2=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
      ',\n'
    • #NAME#
    • ',\n'
    • $ #PRICE#
    • ',\n'
    • #DESCRIPTION#
    • ',\n'
    • #AVAIL#
    • ',\n'
    • 10 Domains
    • ',\n'
    • 1GB Bandwidth
    • ',\n'
    • #LINK#
    • ',\n'
    ',\n'
    '))\n,p_row_template_before_rows=>'
      '\n,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#PAGINATION#
    '))\n,p_row_template_type=>'NAMED_COLUMNS'\n,p_row_template_display_cond1=>'NOT_CONDITIONAL'\n,p_row_template_display_cond2=>'0'\n,p_row_template_display_cond3=>'0'\n,p_row_template_display_cond4=>'NOT_CONDITIONAL'\n,p_pagination_template=>'#TEXT#'\n,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT#',\n''))\n,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS#',\n''))\n,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_NEXT_SET#',\n''))\n,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #PAGINATION_PREVIOUS_SET#',\n''))\n,p_theme_id=>42\n,p_theme_class_id=>7\n,p_preset_template_options=>'t-Cards--animColorFill:t-Cards--3cols:t-Cards--featured'\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/label/hidden\nbegin\nwwv_flow_api.create_field_template(\n p_id=>wwv_flow_api.id(55689495355838258720)\n,p_template_name=>'Hidden'\n,p_internal_name=>'HIDDEN'\n,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'',\n'
    '))\n,p_before_item=>'
    '\n,p_after_item=>'
    '\n,p_item_pre_text=>'#CURRENT_ITEM_PRE_TEXT#'\n,p_item_post_text=>'#CURRENT_ITEM_POST_TEXT#'\n,p_before_element=>'
    #ITEM_PRE_TEXT#'\n,p_after_element=>'#ITEM_POST_TEXT##HELP_TEMPLATE#
    #INLINE_HELP_TEMPLATE##ERROR_TEMPLATE#
    '\n,p_help_link=>''\n,p_inline_help_text=>'#CURRENT_ITEM_INLINE_HELP_TEXT#'\n,p_error_template=>'#ERROR_MESSAGE#'\n,p_theme_id=>42\n,p_theme_class_id=>13\n,p_reference_id=>2039339104148359505\n,p_translate_this_template=>'N'\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/label/optional\nbegin\nwwv_flow_api.create_field_template(\n p_id=>wwv_flow_api.id(55689495400300258721)\n,p_template_name=>'Optional'\n,p_internal_name=>'OPTIONAL'\n,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'',\n'
    ',\n''))\n,p_before_item=>'
    '\n,p_after_item=>'
    '\n,p_item_pre_text=>'#CURRENT_ITEM_PRE_TEXT#'\n,p_item_post_text=>'#CURRENT_ITEM_POST_TEXT#'\n,p_before_element=>'
    #ITEM_PRE_TEXT#'\n,p_after_element=>'#ITEM_POST_TEXT##HELP_TEMPLATE#
    #INLINE_HELP_TEMPLATE##ERROR_TEMPLATE#
    '\n,p_help_link=>''\n,p_inline_help_text=>'#CURRENT_ITEM_INLINE_HELP_TEXT#'\n,p_error_template=>'#ERROR_MESSAGE#'\n,p_theme_id=>42\n,p_theme_class_id=>3\n,p_reference_id=>2317154212072806530\n,p_translate_this_template=>'N'\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/label/optional_above\nbegin\nwwv_flow_api.create_field_template(\n p_id=>wwv_flow_api.id(55689495561609258721)\n,p_template_name=>'Optional - Above'\n,p_internal_name=>'OPTIONAL_ABOVE'\n,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'#HELP_TEMPLATE#',\n'
    '))\n,p_before_item=>'
    '\n,p_after_item=>'
    '\n,p_item_pre_text=>'#CURRENT_ITEM_PRE_TEXT#'\n,p_item_post_text=>'#CURRENT_ITEM_POST_TEXT#'\n,p_before_element=>'
    #ITEM_PRE_TEXT#'\n,p_after_element=>'#ITEM_POST_TEXT#
    #INLINE_HELP_TEMPLATE##ERROR_TEMPLATE#
    '\n,p_help_link=>''\n,p_inline_help_text=>'#CURRENT_ITEM_INLINE_HELP_TEXT#'\n,p_error_template=>'#ERROR_MESSAGE#'\n,p_theme_id=>42\n,p_theme_class_id=>3\n,p_reference_id=>3030114864004968404\n,p_translate_this_template=>'N'\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/label/required\nbegin\nwwv_flow_api.create_field_template(\n p_id=>wwv_flow_api.id(55689495677984258721)\n,p_template_name=>'Required'\n,p_internal_name=>'REQUIRED'\n,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n' ',\n'
    '))\n,p_before_item=>'
    '\n,p_after_item=>'
    '\n,p_item_pre_text=>'#CURRENT_ITEM_PRE_TEXT#'\n,p_item_post_text=>'#CURRENT_ITEM_POST_TEXT#'\n,p_before_element=>'
    #ITEM_PRE_TEXT#'\n,p_after_element=>'#ITEM_POST_TEXT##HELP_TEMPLATE#
    #INLINE_HELP_TEMPLATE##ERROR_TEMPLATE#
    '\n,p_help_link=>''\n,p_inline_help_text=>'#CURRENT_ITEM_INLINE_HELP_TEXT#'\n,p_error_template=>'#ERROR_MESSAGE#'\n,p_theme_id=>42\n,p_theme_class_id=>4\n,p_reference_id=>2525313812251712801\n,p_translate_this_template=>'N'\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/label/required_above\nbegin\nwwv_flow_api.create_field_template(\n p_id=>wwv_flow_api.id(55689495739602258721)\n,p_template_name=>'Required - Above'\n,p_internal_name=>'REQUIRED_ABOVE'\n,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n' #HELP_TEMPLATE#',\n'
    '))\n,p_before_item=>'
    '\n,p_after_item=>'
    '\n,p_item_pre_text=>'#CURRENT_ITEM_PRE_TEXT#'\n,p_item_post_text=>'#CURRENT_ITEM_POST_TEXT#'\n,p_before_element=>'
    #ITEM_PRE_TEXT#'\n,p_after_element=>'#ITEM_POST_TEXT#
    #INLINE_HELP_TEMPLATE##ERROR_TEMPLATE#
    '\n,p_help_link=>''\n,p_inline_help_text=>'#CURRENT_ITEM_INLINE_HELP_TEXT#'\n,p_error_template=>'#ERROR_MESSAGE#'\n,p_theme_id=>42\n,p_theme_class_id=>4\n,p_reference_id=>3030115129444970113\n,p_translate_this_template=>'N'\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/breadcrumb/breadcrumb\nbegin\nwwv_flow_api.create_menu_template(\n p_id=>wwv_flow_api.id(55689496492117258723)\n,p_name=>'Breadcrumb'\n,p_internal_name=>'BREADCRUMB'\n,p_before_first=>'
      '\n,p_current_page_option=>'
    • #NAME#

    • '\n,p_non_current_page_option=>'
    • #NAME#
    • '\n,p_after_last=>'
    '\n,p_max_levels=>6\n,p_start_with_node=>'PARENT_TO_LEAF'\n,p_theme_id=>42\n,p_theme_class_id=>1\n,p_reference_id=>4070916542570059325\n,p_translate_this_template=>'N'\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/popuplov\nbegin\nwwv_flow_api.create_popup_lov_template(\n p_id=>wwv_flow_api.id(55689496685973258725)\n,p_page_name=>'winlov'\n,p_page_title=>'Search Dialog'\n,p_page_html_head=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n'',\n'',\n'#TITLE#',\n'#APEX_CSS#',\n'#THEME_CSS#',\n'#THEME_STYLE_CSS#',\n'#FAVICONS#',\n'#APEX_JAVASCRIPT#',\n'#THEME_JAVASCRIPT#',\n'',\n''))\n,p_page_body_attr=>'onload=\"first_field()\" class=\"t-Page t-Page--popupLOV\"'\n,p_before_field_text=>'
    '\n,p_filter_width=>'20'\n,p_filter_max_width=>'100'\n,p_filter_text_attr=>'class=\"t-Form-field t-Form-searchField\"'\n,p_find_button_text=>'Search'\n,p_find_button_attr=>'class=\"t-Button t-Button--hot t-Button--padLeft\"'\n,p_close_button_text=>'Close'\n,p_close_button_attr=>'class=\"t-Button u-pullRight\"'\n,p_next_button_text=>'Next >'\n,p_next_button_attr=>'class=\"t-Button t-PopupLOV-button\"'\n,p_prev_button_text=>'< Previous'\n,p_prev_button_attr=>'class=\"t-Button t-PopupLOV-button\"'\n,p_after_field_text=>'
    '\n,p_scrollbars=>'1'\n,p_resizable=>'1'\n,p_width=>'380'\n,p_height=>'380'\n,p_result_row_x_of_y=>'
    Row(s) #FIRST_ROW# - #LAST_ROW#
    '\n,p_result_rows_per_pg=>100\n,p_before_result_set=>'
    '\n,p_theme_id=>42\n,p_theme_class_id=>1\n,p_reference_id=>2885398517835871876\n,p_translate_this_template=>'N'\n,p_after_result_set=>'
    '\n);\nend;\n/\nprompt --application/shared_components/user_interface/templates/calendar/calendar\nbegin\nwwv_flow_api.create_calendar_template(\n p_id=>wwv_flow_api.id(55689496599884258724)\n,p_cal_template_name=>'Calendar'\n,p_internal_name=>'CALENDAR'\n,p_day_of_week_format=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #IDAY#',\n' #IDY#',\n''))\n,p_month_title_format=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'

    #IMONTH# #YYYY#

    '))\n,p_month_open_format=>''\n,p_month_close_format=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    ',\n''))\n,p_day_title_format=>'#DD#'\n,p_day_open_format=>'#TITLE_FORMAT#
    #DATA#
    '\n,p_day_close_format=>''\n,p_today_open_format=>'#TITLE_FORMAT#
    #DATA#
    '\n,p_weekend_title_format=>'#DD#'\n,p_weekend_open_format=>'#TITLE_FORMAT#
    #DATA#
    '\n,p_weekend_close_format=>''\n,p_nonday_title_format=>'#DD#'\n,p_nonday_open_format=>''\n,p_nonday_close_format=>''\n,p_week_open_format=>''\n,p_week_close_format=>' '\n,p_daily_title_format=>''\n,p_daily_close_format=>''\n,p_weekly_title_format=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'

    #WTITLE#

    '))\n,p_weekly_day_of_week_format=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    '))\n,p_weekly_month_open_format=>'
    #IMONTH# #DD#, #YYYY#
    '\n,p_daily_open_format=>'
    ',\n' #DD# #IDAY#',\n' #DD# #IDY#',\n'
    '\n,p_weekly_month_close_format=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    '))\n,p_weekly_day_open_format=>'
    '\n,p_weekly_day_close_format=>'
    '\n,p_weekly_today_open_format=>'
    '\n,p_weekly_weekend_open_format=>'
    '\n,p_weekly_weekend_close_format=>'
    '\n,p_weekly_time_open_format=>''\n,p_weekly_time_close_format=>''\n,p_weekly_time_title_format=>'#TIME#'\n,p_weekly_hour_open_format=>''\n,p_weekly_hour_close_format=>''\n,p_daily_day_of_week_format=>'#IDAY#'\n,p_daily_month_title_format=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'

    #IMONTH# #DD#, #YYYY#

    '))\n,p_daily_month_open_format=>''\n,p_daily_month_close_format=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    '))\n,p_daily_day_open_format=>'
    '\n,p_daily_day_close_format=>'
    '\n,p_daily_today_open_format=>'
    '\n,p_daily_time_open_format=>''\n,p_daily_time_close_format=>''\n,p_daily_time_title_format=>'#TIME#'\n,p_daily_hour_open_format=>''\n,p_daily_hour_close_format=>''\n,p_cust_month_title_format=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'

    #IMONTH# #YYYY#

    '))\n,p_cust_day_of_week_format=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #IDAY#',\n' #IDY#',\n''))\n,p_cust_month_open_format=>''\n,p_cust_month_close_format=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    '))\n,p_cust_week_open_format=>''\n,p_cust_week_close_format=>' '\n,p_cust_day_title_format=>'#DD#'\n,p_cust_day_open_format=>''\n,p_cust_day_close_format=>''\n,p_cust_today_open_format=>''\n,p_cust_nonday_title_format=>'#DD#'\n,p_cust_nonday_open_format=>''\n,p_cust_nonday_close_format=>''\n,p_cust_weekend_title_format=>'#DD#'\n,p_cust_weekend_open_format=>''\n,p_cust_weekend_close_format=>''\n,p_cust_hour_open_format=>''\n,p_cust_hour_close_format=>''\n,p_cust_time_title_format=>'#TIME#'\n,p_cust_time_open_format=>''\n,p_cust_time_close_format=>''\n,p_cust_wk_month_title_format=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'

    #WTITLE#

    '))\n,p_cust_wk_day_of_week_format=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'',\n' #DD# #IDAY#',\n' #DD# #IDY#',\n''))\n,p_cust_wk_month_open_format=>''\n,p_cust_wk_month_close_format=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    '))\n,p_cust_wk_week_open_format=>''\n,p_cust_wk_week_close_format=>' '\n,p_cust_wk_day_open_format=>'
    '\n,p_cust_wk_day_close_format=>'
    '\n,p_cust_wk_today_open_format=>'
    '\n,p_cust_wk_weekend_open_format=>''\n,p_cust_wk_weekend_close_format=>''\n,p_agenda_format=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
    ',\n'
    #IMONTH# #YYYY#
    ',\n'
      ',\n' #DAYS#',\n'
    ',\n'
    '))\n,p_agenda_past_day_format=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n' #IDAY##IMONTH# #DD#',\n'
  • '))\n,p_agenda_today_day_format=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n' #IDAY##IMONTH# #DD#',\n'
  • '))\n,p_agenda_future_day_format=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'
  • ',\n' #IDAY##IMONTH# #DD#',\n'
  • '))\n,p_agenda_past_entry_format=>'
  • #DATA#
  • '\n,p_agenda_today_entry_format=>'
  • #DATA#
  • '\n,p_agenda_future_entry_format=>'
  • #DATA#
  • '\n,p_month_data_format=>'#DAYS#'\n,p_month_data_entry_format=>'#DATA#'\n,p_theme_id=>42\n,p_theme_class_id=>1\n,p_reference_id=>4070916747979059326\n);\nend;\n/\nprompt --application/shared_components/user_interface/themes\nbegin\nwwv_flow_api.create_theme(\n p_id=>wwv_flow_api.id(55689497233401258727)\n,p_theme_id=>42\n,p_theme_name=>'Universal Theme'\n,p_theme_internal_name=>'UNIVERSAL_THEME'\n,p_ui_type_name=>'DESKTOP'\n,p_navigation_type=>'L'\n,p_nav_bar_type=>'LIST'\n,p_reference_id=>4070917134413059350\n,p_is_locked=>false\n,p_default_page_template=>wwv_flow_api.id(55689460020110258686)\n,p_default_dialog_template=>wwv_flow_api.id(55689458617899258684)\n,p_error_template=>wwv_flow_api.id(55689456536805258683)\n,p_printer_friendly_template=>wwv_flow_api.id(55689460020110258686)\n,p_breadcrumb_display_point=>'REGION_POSITION_01'\n,p_sidebar_display_point=>'REGION_POSITION_02'\n,p_login_template=>wwv_flow_api.id(55689456536805258683)\n,p_default_button_template=>wwv_flow_api.id(55689495911882258722)\n,p_default_region_template=>wwv_flow_api.id(55689473177657258698)\n,p_default_chart_template=>wwv_flow_api.id(55689473177657258698)\n,p_default_form_template=>wwv_flow_api.id(55689473177657258698)\n,p_default_reportr_template=>wwv_flow_api.id(55689473177657258698)\n,p_default_tabform_template=>wwv_flow_api.id(55689473177657258698)\n,p_default_wizard_template=>wwv_flow_api.id(55689473177657258698)\n,p_default_menur_template=>wwv_flow_api.id(55689477573158258703)\n,p_default_listr_template=>wwv_flow_api.id(55689473177657258698)\n,p_default_irr_template=>wwv_flow_api.id(55689472642365258698)\n,p_default_report_template=>wwv_flow_api.id(55689483178799258709)\n,p_default_label_template=>wwv_flow_api.id(55689495400300258721)\n,p_default_menu_template=>wwv_flow_api.id(55689496492117258723)\n,p_default_calendar_template=>wwv_flow_api.id(55689496599884258724)\n,p_default_list_template=>wwv_flow_api.id(55689490661138258716)\n,p_default_nav_list_template=>wwv_flow_api.id(55689494277853258719)\n,p_default_top_nav_list_temp=>wwv_flow_api.id(55689494277853258719)\n,p_default_side_nav_list_temp=>wwv_flow_api.id(55689493388841258719)\n,p_default_nav_list_position=>'SIDE'\n,p_default_dialogbtnr_template=>wwv_flow_api.id(55689463500379258691)\n,p_default_dialogr_template=>wwv_flow_api.id(55689463106891258691)\n,p_default_option_label=>wwv_flow_api.id(55689495400300258721)\n,p_default_required_label=>wwv_flow_api.id(55689495677984258721)\n,p_default_page_transition=>'NONE'\n,p_default_popup_transition=>'NONE'\n,p_default_navbar_list_template=>wwv_flow_api.id(55689493206997258718)\n,p_file_prefix => nvl(wwv_flow_application_install.get_static_theme_file_prefix(42),'#IMAGE_PREFIX#themes/theme_42/1.1/')\n,p_files_version=>62\n,p_icon_library=>'FONTAPEX'\n,p_javascript_file_urls=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'#HAMMERJS_URL#',\n'#IMAGE_PREFIX#libraries/apex/#MIN_DIRECTORY#widget.apexTabs#MIN#.js?v=#APEX_VERSION#',\n'#IMAGE_PREFIX#libraries/apex/#MIN_DIRECTORY#widget.stickyWidget#MIN#.js?v=#APEX_VERSION#',\n'#IMAGE_PREFIX#libraries/apex/#MIN_DIRECTORY#widget.stickyTableHeader#MIN#.js?v=#APEX_VERSION#',\n'#THEME_IMAGES#js/modernizr-custom#MIN#.js?v=#APEX_VERSION#',\n'#THEME_IMAGES#js/theme42#MIN#.js?v=#APEX_VERSION#'))\n,p_css_file_urls=>'#THEME_IMAGES#css/Core#MIN#.css?v=#APEX_VERSION#'\n);\nend;\n/\nprompt --application/shared_components/user_interface/theme_style\nbegin\nwwv_flow_api.create_theme_style(\n p_id=>wwv_flow_api.id(55689496765232258726)\n,p_theme_id=>42\n,p_name=>'Vista'\n,p_css_file_urls=>'#THEME_IMAGES#css/Vista#MIN#.css?v=#APEX_VERSION#'\n,p_is_current=>false\n,p_is_public=>true\n,p_is_accessible=>false\n,p_theme_roller_read_only=>true\n,p_reference_id=>4007676303523989775\n);\nwwv_flow_api.create_theme_style(\n p_id=>wwv_flow_api.id(55689496850870258726)\n,p_theme_id=>42\n,p_name=>'Vita'\n,p_is_current=>true\n,p_is_public=>true\n,p_is_accessible=>true\n,p_theme_roller_input_file_urls=>'#THEME_IMAGES#less/theme/Vita.less'\n,p_theme_roller_output_file_url=>'#THEME_IMAGES#css/Vita#MIN#.css?v=#APEX_VERSION#'\n,p_theme_roller_read_only=>true\n,p_reference_id=>2719875314571594493\n);\nwwv_flow_api.create_theme_style(\n p_id=>wwv_flow_api.id(55689496950490258726)\n,p_theme_id=>42\n,p_name=>'Vita - Dark'\n,p_is_current=>false\n,p_is_public=>true\n,p_is_accessible=>false\n,p_theme_roller_input_file_urls=>'#THEME_IMAGES#less/theme/Vita-Dark.less'\n,p_theme_roller_output_file_url=>'#THEME_IMAGES#css/Vita-Dark#MIN#.css?v=#APEX_VERSION#'\n,p_theme_roller_read_only=>true\n,p_reference_id=>3543348412015319650\n);\nwwv_flow_api.create_theme_style(\n p_id=>wwv_flow_api.id(55689497090717258726)\n,p_theme_id=>42\n,p_name=>'Vita - Red'\n,p_is_current=>false\n,p_is_public=>true\n,p_is_accessible=>false\n,p_theme_roller_input_file_urls=>'#THEME_IMAGES#less/theme/Vita-Red.less'\n,p_theme_roller_output_file_url=>'#THEME_IMAGES#css/Vita-Red#MIN#.css?v=#APEX_VERSION#'\n,p_theme_roller_read_only=>true\n,p_reference_id=>1938457712423918173\n);\nwwv_flow_api.create_theme_style(\n p_id=>wwv_flow_api.id(55689497107417258726)\n,p_theme_id=>42\n,p_name=>'Vita - Slate'\n,p_is_current=>false\n,p_is_public=>true\n,p_is_accessible=>false\n,p_theme_roller_input_file_urls=>'#THEME_IMAGES#less/theme/Vita-Slate.less'\n,p_theme_roller_config=>'{\"customCSS\":\"\",\"vars\":{\"@g_Accent-BG\":\"#505f6d\",\"@g_Accent-OG\":\"#ececec\",\"@g_Body-Title-BG\":\"#dee1e4\",\"@l_Link-Base\":\"#337ac0\",\"@g_Body-BG\":\"#f5f5f5\"}}'\n,p_theme_roller_output_file_url=>'#THEME_IMAGES#css/Vita-Slate#MIN#.css?v=#APEX_VERSION#'\n,p_theme_roller_read_only=>true\n,p_reference_id=>3291983347983194966\n);\nend;\n/\nprompt --application/shared_components/user_interface/theme_files\nbegin\nnull;\nend;\n/\nprompt --application/shared_components/user_interface/theme_display_points\nbegin\nnull;\nend;\n/\nprompt --application/shared_components/user_interface/template_opt_groups\nbegin\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689461674390258689)\n,p_theme_id=>42\n,p_name=>'ALERT_TYPE'\n,p_display_name=>'Alert Type'\n,p_display_sequence=>3\n,p_template_types=>'REGION'\n,p_help_text=>'Sets the type of alert which can be used to determine the icon, icon color, and the background color.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689461889845258690)\n,p_theme_id=>42\n,p_name=>'ALERT_TITLE'\n,p_display_name=>'Alert Title'\n,p_display_sequence=>40\n,p_template_types=>'REGION'\n,p_help_text=>'Determines how the title of the alert is displayed.'\n,p_null_text=>'Visible - Default'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689462196078258690)\n,p_theme_id=>42\n,p_name=>'ALERT_ICONS'\n,p_display_name=>'Alert Icons'\n,p_display_sequence=>2\n,p_template_types=>'REGION'\n,p_help_text=>'Sets how icons are handled for the Alert Region.'\n,p_null_text=>'Default'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689462344228258690)\n,p_theme_id=>42\n,p_name=>'ALERT_DISPLAY'\n,p_display_name=>'Alert Display'\n,p_display_sequence=>1\n,p_template_types=>'REGION'\n,p_help_text=>'Sets the layout of the Alert Region.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689463846850258692)\n,p_theme_id=>42\n,p_name=>'STYLE'\n,p_display_name=>'Style'\n,p_display_sequence=>40\n,p_template_types=>'REGION'\n,p_help_text=>'Determines how the region is styled. Use the \"Remove Borders\" template option to remove the region''s borders and shadows.'\n,p_null_text=>'Default'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689464038863258692)\n,p_theme_id=>42\n,p_name=>'BODY_PADDING'\n,p_display_name=>'Body Padding'\n,p_display_sequence=>1\n,p_template_types=>'REGION'\n,p_help_text=>'Sets the Region Body padding for the region.'\n,p_null_text=>'Default'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689464739872258692)\n,p_theme_id=>42\n,p_name=>'TIMER'\n,p_display_name=>'Timer'\n,p_display_sequence=>2\n,p_template_types=>'REGION'\n,p_help_text=>'Sets the timer for when to automatically navigate to the next region within the Carousel Region.'\n,p_null_text=>'No Timer'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689465110146258693)\n,p_theme_id=>42\n,p_name=>'BODY_HEIGHT'\n,p_display_name=>'Body Height'\n,p_display_sequence=>10\n,p_template_types=>'REGION'\n,p_help_text=>'Sets the Region Body height. You can also specify a custom height by modifying the Region''s CSS Classes and using the height helper classes \"i-hXXX\" where XXX is any increment of 10 from 100 to 800.'\n,p_null_text=>'Auto - Default'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689465760057258693)\n,p_theme_id=>42\n,p_name=>'ACCENT'\n,p_display_name=>'Accent'\n,p_display_sequence=>30\n,p_template_types=>'REGION'\n,p_help_text=>'Set the Region''s accent. This accent corresponds to a Theme-Rollable color and sets the background of the Region''s Header.'\n,p_null_text=>'Default'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689466314763258693)\n,p_theme_id=>42\n,p_name=>'HEADER'\n,p_display_name=>'Header'\n,p_display_sequence=>20\n,p_template_types=>'REGION'\n,p_help_text=>'Determines the display of the Region Header which also contains the Region Title.'\n,p_null_text=>'Visible - Default'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689466533997258693)\n,p_theme_id=>42\n,p_name=>'BODY_OVERFLOW'\n,p_display_name=>'Body Overflow'\n,p_display_sequence=>1\n,p_template_types=>'REGION'\n,p_help_text=>'Determines the scroll behavior when the region contents are larger than their container.'\n,p_is_advanced=>'Y'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689467466853258693)\n,p_theme_id=>42\n,p_name=>'ANIMATION'\n,p_display_name=>'Animation'\n,p_display_sequence=>10\n,p_template_types=>'REGION'\n,p_help_text=>'Sets the animation when navigating within the Carousel Region.'\n,p_null_text=>'Fade'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689469051462258695)\n,p_theme_id=>42\n,p_name=>'DEFAULT_STATE'\n,p_display_name=>'Default State'\n,p_display_sequence=>1\n,p_template_types=>'REGION'\n,p_help_text=>'Sets the default state of the region.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689470265970258696)\n,p_theme_id=>42\n,p_name=>'REGION_TITLE'\n,p_display_name=>'Region Title'\n,p_display_sequence=>1\n,p_template_types=>'REGION'\n,p_help_text=>'Sets the source of the Title Bar region''s title.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689470623516258697)\n,p_theme_id=>42\n,p_name=>'BODY_STYLE'\n,p_display_name=>'Body Style'\n,p_display_sequence=>20\n,p_template_types=>'REGION'\n,p_help_text=>'Controls the display of the region''s body container.'\n,p_null_text=>'Default'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689471133466258697)\n,p_theme_id=>42\n,p_name=>'DISPLAY_ICON'\n,p_display_name=>'Display Icon'\n,p_display_sequence=>50\n,p_template_types=>'REGION'\n,p_help_text=>'Display the Hero Region icon.'\n,p_null_text=>'Yes (Default)'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689472097998258698)\n,p_theme_id=>42\n,p_name=>'DIALOG_SIZE'\n,p_display_name=>'Dialog Size'\n,p_display_sequence=>1\n,p_template_types=>'REGION'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689476602113258702)\n,p_theme_id=>42\n,p_name=>'LAYOUT'\n,p_display_name=>'Layout'\n,p_display_sequence=>1\n,p_template_types=>'REGION'\n,p_null_text=>'Default'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689476849737258702)\n,p_theme_id=>42\n,p_name=>'TAB_STYLE'\n,p_display_name=>'Tab Style'\n,p_display_sequence=>1\n,p_template_types=>'REGION'\n,p_null_text=>'Default'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689477268688258703)\n,p_theme_id=>42\n,p_name=>'TABS_SIZE'\n,p_display_name=>'Tabs Size'\n,p_display_sequence=>1\n,p_template_types=>'REGION'\n,p_null_text=>'Default'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689478154985258703)\n,p_theme_id=>42\n,p_name=>'HIDE_STEPS_FOR'\n,p_display_name=>'Hide Steps For'\n,p_display_sequence=>1\n,p_template_types=>'REGION'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689478772313258705)\n,p_theme_id=>42\n,p_name=>'BADGE_SIZE'\n,p_display_name=>'Badge Size'\n,p_display_sequence=>10\n,p_template_types=>'REPORT'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689478955221258706)\n,p_theme_id=>42\n,p_name=>'LAYOUT'\n,p_display_name=>'Layout'\n,p_display_sequence=>30\n,p_template_types=>'REPORT'\n,p_help_text=>'Determines the layout of Cards in the report.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689480574404258707)\n,p_theme_id=>42\n,p_name=>'BODY_TEXT'\n,p_display_name=>'Body Text'\n,p_display_sequence=>40\n,p_template_types=>'REPORT'\n,p_help_text=>'Determines the height of the card body.'\n,p_null_text=>'Auto'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689481277974258708)\n,p_theme_id=>42\n,p_name=>'STYLE'\n,p_display_name=>'Style'\n,p_display_sequence=>10\n,p_template_types=>'REPORT'\n,p_help_text=>'Determines the overall style for the component.'\n,p_null_text=>'Default'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689481441992258708)\n,p_theme_id=>42\n,p_name=>'ANIMATION'\n,p_display_name=>'Animation'\n,p_display_sequence=>70\n,p_template_types=>'REPORT'\n,p_help_text=>'Sets the hover and focus animation.'\n,p_null_text=>'Default'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689481840449258708)\n,p_theme_id=>42\n,p_name=>'ICONS'\n,p_display_name=>'Icons'\n,p_display_sequence=>20\n,p_template_types=>'REPORT'\n,p_help_text=>'Controls how to handle icons in the report.'\n,p_null_text=>'No Icons'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689482728578258709)\n,p_theme_id=>42\n,p_name=>'COMMENTS_STYLE'\n,p_display_name=>'Comments Style'\n,p_display_sequence=>10\n,p_template_types=>'REPORT'\n,p_help_text=>'Determines the style in which comments are displayed.'\n,p_null_text=>'Default'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689483207724258710)\n,p_theme_id=>42\n,p_name=>'ALTERNATING_ROWS'\n,p_display_name=>'Alternating Rows'\n,p_display_sequence=>10\n,p_template_types=>'REPORT'\n,p_help_text=>'Shades alternate rows in the report with slightly different background colors.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689483519606258710)\n,p_theme_id=>42\n,p_name=>'ROW_HIGHLIGHTING'\n,p_display_name=>'Row Highlighting'\n,p_display_sequence=>20\n,p_template_types=>'REPORT'\n,p_help_text=>'Determines whether you want the row to be highlighted on hover.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689483723746258710)\n,p_theme_id=>42\n,p_name=>'REPORT_BORDER'\n,p_display_name=>'Report Border'\n,p_display_sequence=>30\n,p_template_types=>'REPORT'\n,p_help_text=>'Controls the display of the Report''s borders.'\n,p_null_text=>'Default'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689484786760258710)\n,p_theme_id=>42\n,p_name=>'LABEL_WIDTH'\n,p_display_name=>'Label Width'\n,p_display_sequence=>10\n,p_template_types=>'REPORT'\n,p_null_text=>'Default'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689486637703258713)\n,p_theme_id=>42\n,p_name=>'LAYOUT'\n,p_display_name=>'Layout'\n,p_display_sequence=>30\n,p_template_types=>'LIST'\n,p_null_text=>'Default'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689487495504258713)\n,p_theme_id=>42\n,p_name=>'BADGE_SIZE'\n,p_display_name=>'Badge Size'\n,p_display_sequence=>70\n,p_template_types=>'LIST'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689488459562258714)\n,p_theme_id=>42\n,p_name=>'BODY_TEXT'\n,p_display_name=>'Body Text'\n,p_display_sequence=>40\n,p_template_types=>'LIST'\n,p_help_text=>'Determines the height of the card body.'\n,p_null_text=>'Auto'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689489120604258714)\n,p_theme_id=>42\n,p_name=>'STYLE'\n,p_display_name=>'Style'\n,p_display_sequence=>10\n,p_template_types=>'LIST'\n,p_null_text=>'Default'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689489466990258714)\n,p_theme_id=>42\n,p_name=>'ANIMATION'\n,p_display_name=>'Animation'\n,p_display_sequence=>80\n,p_template_types=>'LIST'\n,p_help_text=>'Sets the hover and focus animation.'\n,p_null_text=>'Default'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689489799265258715)\n,p_theme_id=>42\n,p_name=>'ICONS'\n,p_display_name=>'Icons'\n,p_display_sequence=>20\n,p_template_types=>'LIST'\n,p_null_text=>'No Icons'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689491197865258716)\n,p_theme_id=>42\n,p_name=>'DISPLAY_ICONS'\n,p_display_name=>'Display Icons'\n,p_display_sequence=>30\n,p_template_types=>'LIST'\n,p_null_text=>'No Icons'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689492013423258717)\n,p_theme_id=>42\n,p_name=>'SIZE'\n,p_display_name=>'Size'\n,p_display_sequence=>1\n,p_template_types=>'LIST'\n,p_null_text=>'Default'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689494812811258720)\n,p_theme_id=>42\n,p_name=>'LABEL_DISPLAY'\n,p_display_name=>'Label Display'\n,p_display_sequence=>50\n,p_template_types=>'LIST'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689496182448258723)\n,p_theme_id=>42\n,p_name=>'ICON_POSITION'\n,p_display_name=>'Icon Position'\n,p_display_sequence=>50\n,p_template_types=>'BUTTON'\n,p_help_text=>'Sets the position of the icon relative to the label.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689497307858258731)\n,p_theme_id=>42\n,p_name=>'BOTTOM_MARGIN'\n,p_display_name=>'Bottom Margin'\n,p_display_sequence=>220\n,p_template_types=>'FIELD'\n,p_help_text=>'Set the bottom margin for this field.'\n,p_null_text=>'Default'\n,p_is_advanced=>'Y'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689497544650258731)\n,p_theme_id=>42\n,p_name=>'REGION_BOTTOM_MARGIN'\n,p_display_name=>'Bottom Margin'\n,p_display_sequence=>210\n,p_template_types=>'REGION'\n,p_help_text=>'Set the bottom margin for this region.'\n,p_null_text=>'Default'\n,p_is_advanced=>'Y'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689498325554258731)\n,p_theme_id=>42\n,p_name=>'LEFT_MARGIN'\n,p_display_name=>'Left Margin'\n,p_display_sequence=>220\n,p_template_types=>'FIELD'\n,p_help_text=>'Set the left margin for this field.'\n,p_null_text=>'Default'\n,p_is_advanced=>'Y'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689498575491258731)\n,p_theme_id=>42\n,p_name=>'REGION_LEFT_MARGIN'\n,p_display_name=>'Left Margin'\n,p_display_sequence=>220\n,p_template_types=>'REGION'\n,p_help_text=>'Set the left margin for this region.'\n,p_null_text=>'Default'\n,p_is_advanced=>'Y'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689499302592258732)\n,p_theme_id=>42\n,p_name=>'RIGHT_MARGIN'\n,p_display_name=>'Right Margin'\n,p_display_sequence=>230\n,p_template_types=>'FIELD'\n,p_help_text=>'Set the right margin for this field.'\n,p_null_text=>'Default'\n,p_is_advanced=>'Y'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689499511073258732)\n,p_theme_id=>42\n,p_name=>'REGION_RIGHT_MARGIN'\n,p_display_name=>'Right Margin'\n,p_display_sequence=>230\n,p_template_types=>'REGION'\n,p_help_text=>'Set the right margin for this region.'\n,p_null_text=>'Default'\n,p_is_advanced=>'Y'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689500323941258733)\n,p_theme_id=>42\n,p_name=>'TOP_MARGIN'\n,p_display_name=>'Top Margin'\n,p_display_sequence=>200\n,p_template_types=>'FIELD'\n,p_help_text=>'Set the top margin for this field.'\n,p_null_text=>'Default'\n,p_is_advanced=>'Y'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689500511677258733)\n,p_theme_id=>42\n,p_name=>'REGION_TOP_MARGIN'\n,p_display_name=>'Top Margin'\n,p_display_sequence=>200\n,p_template_types=>'REGION'\n,p_help_text=>'Set the top margin for this region.'\n,p_null_text=>'Default'\n,p_is_advanced=>'Y'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689501373876258733)\n,p_theme_id=>42\n,p_name=>'TYPE'\n,p_display_name=>'Type'\n,p_display_sequence=>20\n,p_template_types=>'BUTTON'\n,p_null_text=>'Normal'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689501533043258733)\n,p_theme_id=>42\n,p_name=>'SPACING_BOTTOM'\n,p_display_name=>'Spacing Bottom'\n,p_display_sequence=>100\n,p_template_types=>'BUTTON'\n,p_help_text=>'Controls the spacing to the bottom of the button.'\n,p_null_text=>'Default'\n,p_is_advanced=>'Y'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689501733083258733)\n,p_theme_id=>42\n,p_name=>'SPACING_LEFT'\n,p_display_name=>'Spacing Left'\n,p_display_sequence=>70\n,p_template_types=>'BUTTON'\n,p_help_text=>'Controls the spacing to the left of the button.'\n,p_null_text=>'Default'\n,p_is_advanced=>'Y'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689501960171258733)\n,p_theme_id=>42\n,p_name=>'SPACING_RIGHT'\n,p_display_name=>'Spacing Right'\n,p_display_sequence=>80\n,p_template_types=>'BUTTON'\n,p_help_text=>'Controls the spacing to the right of the button.'\n,p_null_text=>'Default'\n,p_is_advanced=>'Y'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689502142741258733)\n,p_theme_id=>42\n,p_name=>'SPACING_TOP'\n,p_display_name=>'Spacing Top'\n,p_display_sequence=>90\n,p_template_types=>'BUTTON'\n,p_help_text=>'Controls the spacing to the top of the button.'\n,p_null_text=>'Default'\n,p_is_advanced=>'Y'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689502378391258734)\n,p_theme_id=>42\n,p_name=>'SIZE'\n,p_display_name=>'Size'\n,p_display_sequence=>10\n,p_template_types=>'BUTTON'\n,p_help_text=>'Sets the size of the button.'\n,p_null_text=>'Default'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689502533745258734)\n,p_theme_id=>42\n,p_name=>'STYLE'\n,p_display_name=>'Style'\n,p_display_sequence=>30\n,p_template_types=>'BUTTON'\n,p_help_text=>'Sets the style of the button. Use the \"Simple\" option for secondary actions or sets of buttons. Use the \"Remove UI Decoration\" option to make the button appear as text.'\n,p_null_text=>'Default'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689503274223258734)\n,p_theme_id=>42\n,p_name=>'BUTTON_SET'\n,p_display_name=>'Button Set'\n,p_display_sequence=>40\n,p_template_types=>'BUTTON'\n,p_help_text=>'Enables you to group many buttons together into a pill. You can use this option to specify where the button is within this set. Set the option to Default if this button is not part of a button set.'\n,p_null_text=>'Default'\n,p_is_advanced=>'Y'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689503963608258734)\n,p_theme_id=>42\n,p_name=>'WIDTH'\n,p_display_name=>'Width'\n,p_display_sequence=>60\n,p_template_types=>'BUTTON'\n,p_help_text=>'Sets the width of the button.'\n,p_null_text=>'Auto - Default'\n,p_is_advanced=>'Y'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689504415903258735)\n,p_theme_id=>42\n,p_name=>'LABEL_POSITION'\n,p_display_name=>'Label Position'\n,p_display_sequence=>140\n,p_template_types=>'REGION'\n,p_help_text=>'Sets the position of the label relative to the form item.'\n,p_null_text=>'Inline - Default'\n,p_is_advanced=>'Y'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689504664798258735)\n,p_theme_id=>42\n,p_name=>'ITEM_SIZE'\n,p_display_name=>'Item Size'\n,p_display_sequence=>110\n,p_template_types=>'REGION'\n,p_help_text=>'Sets the size of the form items within this region.'\n,p_null_text=>'Default'\n,p_is_advanced=>'Y'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689504847276258735)\n,p_theme_id=>42\n,p_name=>'LABEL_ALIGNMENT'\n,p_display_name=>'Label Alignment'\n,p_display_sequence=>130\n,p_template_types=>'REGION'\n,p_help_text=>'Set the label text alignment for items within this region.'\n,p_null_text=>'Right'\n,p_is_advanced=>'Y'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689505061219258735)\n,p_theme_id=>42\n,p_name=>'ITEM_PADDING'\n,p_display_name=>'Item Padding'\n,p_display_sequence=>100\n,p_template_types=>'REGION'\n,p_help_text=>'Sets the padding around items within this region.'\n,p_null_text=>'Default'\n,p_is_advanced=>'Y'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689505378003258735)\n,p_theme_id=>42\n,p_name=>'ITEM_WIDTH'\n,p_display_name=>'Item Width'\n,p_display_sequence=>120\n,p_template_types=>'REGION'\n,p_help_text=>'Sets the width of the form items within this region.'\n,p_null_text=>'Default'\n,p_is_advanced=>'Y'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689505675253258735)\n,p_theme_id=>42\n,p_name=>'SIZE'\n,p_display_name=>'Size'\n,p_display_sequence=>10\n,p_template_types=>'FIELD'\n,p_null_text=>'Default'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689505868848258735)\n,p_theme_id=>42\n,p_name=>'ITEM_POST_TEXT'\n,p_display_name=>'Item Post Text'\n,p_display_sequence=>30\n,p_template_types=>'FIELD'\n,p_help_text=>'Adjust the display of the Item Post Text'\n,p_null_text=>'Default'\n,p_is_advanced=>'Y'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689506076222258736)\n,p_theme_id=>42\n,p_name=>'ITEM_PRE_TEXT'\n,p_display_name=>'Item Pre Text'\n,p_display_sequence=>20\n,p_template_types=>'FIELD'\n,p_help_text=>'Adjust the display of the Item Pre Text'\n,p_null_text=>'Default'\n,p_is_advanced=>'Y'\n);\nwwv_flow_api.create_template_opt_group(\n p_id=>wwv_flow_api.id(55689506266054258736)\n,p_theme_id=>42\n,p_name=>'RADIO_GROUP_DISPLAY'\n,p_display_name=>'Radio Group Display'\n,p_display_sequence=>300\n,p_template_types=>'FIELD'\n,p_help_text=>'Determines the display for radio group items.'\n,p_null_text=>'Default'\n,p_is_advanced=>'Y'\n);\nend;\n/\nprompt --application/shared_components/user_interface/template_options\nbegin\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689459056662258684)\n,p_theme_id=>42\n,p_name=>'STRETCH_TO_FIT_WINDOW'\n,p_display_name=>'Stretch to Fit Window'\n,p_display_sequence=>1\n,p_page_template_id=>wwv_flow_api.id(55689458617899258684)\n,p_css_classes=>'ui-dialog--stretch'\n,p_template_types=>'PAGE'\n,p_help_text=>'Stretch the dialog to fit the browser window.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689461256714258687)\n,p_theme_id=>42\n,p_name=>'STRETCH_TO_FIT_WINDOW'\n,p_display_name=>'Stretch to Fit Window'\n,p_display_sequence=>10\n,p_page_template_id=>wwv_flow_api.id(55689460839149258686)\n,p_css_classes=>'ui-dialog--stretch'\n,p_template_types=>'PAGE'\n,p_help_text=>'Stretch the dialog to fit the browser window.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689461598398258689)\n,p_theme_id=>42\n,p_name=>'COLOREDBACKGROUND'\n,p_display_name=>'Highlight Background'\n,p_display_sequence=>1\n,p_region_template_id=>wwv_flow_api.id(55689461335851258687)\n,p_css_classes=>'t-Alert--colorBG'\n,p_template_types=>'REGION'\n,p_help_text=>'Set alert background color to that of the alert type (warning, success, etc.)'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689461740142258690)\n,p_theme_id=>42\n,p_name=>'DANGER'\n,p_display_name=>'Danger'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689461335851258687)\n,p_css_classes=>'t-Alert--danger'\n,p_group_id=>wwv_flow_api.id(55689461674390258689)\n,p_template_types=>'REGION'\n,p_help_text=>'Show an error or danger alert.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689461910008258690)\n,p_theme_id=>42\n,p_name=>'HIDDENHEADER'\n,p_display_name=>'Hidden but Accessible'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689461335851258687)\n,p_css_classes=>'t-Alert--accessibleHeading'\n,p_group_id=>wwv_flow_api.id(55689461889845258690)\n,p_template_types=>'REGION'\n,p_help_text=>'Visually hides the alert title, but assistive technologies can still read it.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689462050089258690)\n,p_theme_id=>42\n,p_name=>'HIDDENHEADERNOAT'\n,p_display_name=>'Hidden'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689461335851258687)\n,p_css_classes=>'t-Alert--removeHeading'\n,p_group_id=>wwv_flow_api.id(55689461889845258690)\n,p_template_types=>'REGION'\n,p_help_text=>'Hides the Alert Title from being displayed.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689462282712258690)\n,p_theme_id=>42\n,p_name=>'HIDE_ICONS'\n,p_display_name=>'Hide Icons'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689461335851258687)\n,p_css_classes=>'t-Alert--noIcon'\n,p_group_id=>wwv_flow_api.id(55689462196078258690)\n,p_template_types=>'REGION'\n,p_help_text=>'Hides alert icons'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689462460935258690)\n,p_theme_id=>42\n,p_name=>'HORIZONTAL'\n,p_display_name=>'Horizontal'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689461335851258687)\n,p_css_classes=>'t-Alert--horizontal'\n,p_group_id=>wwv_flow_api.id(55689462344228258690)\n,p_template_types=>'REGION'\n,p_help_text=>'Show horizontal alert with buttons to the right.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689462509429258690)\n,p_theme_id=>42\n,p_name=>'INFORMATION'\n,p_display_name=>'Information'\n,p_display_sequence=>30\n,p_region_template_id=>wwv_flow_api.id(55689461335851258687)\n,p_css_classes=>'t-Alert--info'\n,p_group_id=>wwv_flow_api.id(55689461674390258689)\n,p_template_types=>'REGION'\n,p_help_text=>'Show informational alert.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689462642226258690)\n,p_theme_id=>42\n,p_name=>'SHOW_CUSTOM_ICONS'\n,p_display_name=>'Show Custom Icons'\n,p_display_sequence=>30\n,p_region_template_id=>wwv_flow_api.id(55689461335851258687)\n,p_css_classes=>'t-Alert--customIcons'\n,p_group_id=>wwv_flow_api.id(55689462196078258690)\n,p_template_types=>'REGION'\n,p_help_text=>'Set custom icons by modifying the Alert Region''s Icon CSS Classes property.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689462762447258691)\n,p_theme_id=>42\n,p_name=>'SUCCESS'\n,p_display_name=>'Success'\n,p_display_sequence=>40\n,p_region_template_id=>wwv_flow_api.id(55689461335851258687)\n,p_css_classes=>'t-Alert--success'\n,p_group_id=>wwv_flow_api.id(55689461674390258689)\n,p_template_types=>'REGION'\n,p_help_text=>'Show success alert.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689462800672258691)\n,p_theme_id=>42\n,p_name=>'USEDEFAULTICONS'\n,p_display_name=>'Show Default Icons'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689461335851258687)\n,p_css_classes=>'t-Alert--defaultIcons'\n,p_group_id=>wwv_flow_api.id(55689462196078258690)\n,p_template_types=>'REGION'\n,p_help_text=>'Uses default icons for alert types.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689462900097258691)\n,p_theme_id=>42\n,p_name=>'WARNING'\n,p_display_name=>'Warning'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689461335851258687)\n,p_css_classes=>'t-Alert--warning'\n,p_group_id=>wwv_flow_api.id(55689461674390258689)\n,p_template_types=>'REGION'\n,p_help_text=>'Show a warning alert.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689463019076258691)\n,p_theme_id=>42\n,p_name=>'WIZARD'\n,p_display_name=>'Wizard'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689461335851258687)\n,p_css_classes=>'t-Alert--wizard'\n,p_group_id=>wwv_flow_api.id(55689462344228258690)\n,p_template_types=>'REGION'\n,p_help_text=>'Show the alert in a wizard style region.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689463947504258692)\n,p_theme_id=>42\n,p_name=>'BORDERLESS'\n,p_display_name=>'Borderless'\n,p_display_sequence=>1\n,p_region_template_id=>wwv_flow_api.id(55689463500379258691)\n,p_css_classes=>'t-ButtonRegion--noBorder'\n,p_group_id=>wwv_flow_api.id(55689463846850258692)\n,p_template_types=>'REGION'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689464137330258692)\n,p_theme_id=>42\n,p_name=>'NOPADDING'\n,p_display_name=>'No Padding'\n,p_display_sequence=>3\n,p_region_template_id=>wwv_flow_api.id(55689463500379258691)\n,p_css_classes=>'t-ButtonRegion--noPadding'\n,p_group_id=>wwv_flow_api.id(55689464038863258692)\n,p_template_types=>'REGION'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689464286604258692)\n,p_theme_id=>42\n,p_name=>'REMOVEUIDECORATION'\n,p_display_name=>'Remove UI Decoration'\n,p_display_sequence=>4\n,p_region_template_id=>wwv_flow_api.id(55689463500379258691)\n,p_css_classes=>'t-ButtonRegion--noUI'\n,p_group_id=>wwv_flow_api.id(55689463846850258692)\n,p_template_types=>'REGION'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689464382008258692)\n,p_theme_id=>42\n,p_name=>'SLIMPADDING'\n,p_display_name=>'Slim Padding'\n,p_display_sequence=>5\n,p_region_template_id=>wwv_flow_api.id(55689463500379258691)\n,p_css_classes=>'t-ButtonRegion--slimPadding'\n,p_group_id=>wwv_flow_api.id(55689464038863258692)\n,p_template_types=>'REGION'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689464873645258692)\n,p_theme_id=>42\n,p_name=>'10_SECONDS'\n,p_display_name=>'10 Seconds'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689464420429258692)\n,p_css_classes=>'js-cycle10s'\n,p_group_id=>wwv_flow_api.id(55689464739872258692)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689464949395258692)\n,p_theme_id=>42\n,p_name=>'15_SECONDS'\n,p_display_name=>'15 Seconds'\n,p_display_sequence=>30\n,p_region_template_id=>wwv_flow_api.id(55689464420429258692)\n,p_css_classes=>'js-cycle15s'\n,p_group_id=>wwv_flow_api.id(55689464739872258692)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689465014336258692)\n,p_theme_id=>42\n,p_name=>'20_SECONDS'\n,p_display_name=>'20 Seconds'\n,p_display_sequence=>40\n,p_region_template_id=>wwv_flow_api.id(55689464420429258692)\n,p_css_classes=>'js-cycle20s'\n,p_group_id=>wwv_flow_api.id(55689464739872258692)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689465202398258693)\n,p_theme_id=>42\n,p_name=>'240PX'\n,p_display_name=>'240px'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689464420429258692)\n,p_css_classes=>'i-h240'\n,p_group_id=>wwv_flow_api.id(55689465110146258693)\n,p_template_types=>'REGION'\n,p_help_text=>'Sets region body height to 240px.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689465389583258693)\n,p_theme_id=>42\n,p_name=>'320PX'\n,p_display_name=>'320px'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689464420429258692)\n,p_css_classes=>'i-h320'\n,p_group_id=>wwv_flow_api.id(55689465110146258693)\n,p_template_types=>'REGION'\n,p_help_text=>'Sets region body height to 320px.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689465415472258693)\n,p_theme_id=>42\n,p_name=>'480PX'\n,p_display_name=>'480px'\n,p_display_sequence=>30\n,p_region_template_id=>wwv_flow_api.id(55689464420429258692)\n,p_css_classes=>'i-h480'\n,p_group_id=>wwv_flow_api.id(55689465110146258693)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689465526673258693)\n,p_theme_id=>42\n,p_name=>'5_SECONDS'\n,p_display_name=>'5 Seconds'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689464420429258692)\n,p_css_classes=>'js-cycle5s'\n,p_group_id=>wwv_flow_api.id(55689464739872258692)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689465698773258693)\n,p_theme_id=>42\n,p_name=>'640PX'\n,p_display_name=>'640px'\n,p_display_sequence=>40\n,p_region_template_id=>wwv_flow_api.id(55689464420429258692)\n,p_css_classes=>'i-h640'\n,p_group_id=>wwv_flow_api.id(55689465110146258693)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689465876731258693)\n,p_theme_id=>42\n,p_name=>'ACCENT_1'\n,p_display_name=>'Accent 1'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689464420429258692)\n,p_css_classes=>'t-Region--accent1'\n,p_group_id=>wwv_flow_api.id(55689465760057258693)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689465921029258693)\n,p_theme_id=>42\n,p_name=>'ACCENT_2'\n,p_display_name=>'Accent 2'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689464420429258692)\n,p_css_classes=>'t-Region--accent2'\n,p_group_id=>wwv_flow_api.id(55689465760057258693)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689466055321258693)\n,p_theme_id=>42\n,p_name=>'ACCENT_3'\n,p_display_name=>'Accent 3'\n,p_display_sequence=>30\n,p_region_template_id=>wwv_flow_api.id(55689464420429258692)\n,p_css_classes=>'t-Region--accent3'\n,p_group_id=>wwv_flow_api.id(55689465760057258693)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689466133098258693)\n,p_theme_id=>42\n,p_name=>'ACCENT_4'\n,p_display_name=>'Accent 4'\n,p_display_sequence=>40\n,p_region_template_id=>wwv_flow_api.id(55689464420429258692)\n,p_css_classes=>'t-Region--accent4'\n,p_group_id=>wwv_flow_api.id(55689465760057258693)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689466244015258693)\n,p_theme_id=>42\n,p_name=>'ACCENT_5'\n,p_display_name=>'Accent 5'\n,p_display_sequence=>50\n,p_region_template_id=>wwv_flow_api.id(55689464420429258692)\n,p_css_classes=>'t-Region--accent5'\n,p_group_id=>wwv_flow_api.id(55689465760057258693)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689466443020258693)\n,p_theme_id=>42\n,p_name=>'HIDDENHEADERNOAT'\n,p_display_name=>'Hidden'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689464420429258692)\n,p_css_classes=>'t-Region--removeHeader'\n,p_group_id=>wwv_flow_api.id(55689466314763258693)\n,p_template_types=>'REGION'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689466610638258693)\n,p_theme_id=>42\n,p_name=>'HIDEOVERFLOW'\n,p_display_name=>'Hide'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689464420429258692)\n,p_css_classes=>'t-Region--hiddenOverflow'\n,p_group_id=>wwv_flow_api.id(55689466533997258693)\n,p_template_types=>'REGION'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689466723688258693)\n,p_theme_id=>42\n,p_name=>'HIDEREGIONHEADER'\n,p_display_name=>'Hidden but accessible'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689464420429258692)\n,p_css_classes=>'t-Region--hideHeader'\n,p_group_id=>wwv_flow_api.id(55689466314763258693)\n,p_template_types=>'REGION'\n,p_help_text=>'This option will hide the region header. Note that the region title will still be audible for Screen Readers. Buttons placed in the region header will be hidden and inaccessible.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689466809941258693)\n,p_theme_id=>42\n,p_name=>'NOBODYPADDING'\n,p_display_name=>'Remove Body Padding'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689464420429258692)\n,p_css_classes=>'t-Region--noPadding'\n,p_template_types=>'REGION'\n,p_help_text=>'Removes padding from region body.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689466907612258693)\n,p_theme_id=>42\n,p_name=>'NOBORDER'\n,p_display_name=>'Remove Borders'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689464420429258692)\n,p_css_classes=>'t-Region--noBorder'\n,p_group_id=>wwv_flow_api.id(55689463846850258692)\n,p_template_types=>'REGION'\n,p_help_text=>'Removes borders from the region.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689467091156258693)\n,p_theme_id=>42\n,p_name=>'REMEMBER_CAROUSEL_SLIDE'\n,p_display_name=>'Remember Carousel Slide'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689464420429258692)\n,p_css_classes=>'js-useLocalStorage'\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689467182030258693)\n,p_theme_id=>42\n,p_name=>'SCROLLBODY'\n,p_display_name=>'Scroll'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689464420429258692)\n,p_css_classes=>'t-Region--scrollBody'\n,p_group_id=>wwv_flow_api.id(55689466533997258693)\n,p_template_types=>'REGION'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689467268068258693)\n,p_theme_id=>42\n,p_name=>'SHOW_MAXIMIZE_BUTTON'\n,p_display_name=>'Show Maximize Button'\n,p_display_sequence=>40\n,p_region_template_id=>wwv_flow_api.id(55689464420429258692)\n,p_css_classes=>'js-showMaximizeButton'\n,p_template_types=>'REGION'\n,p_help_text=>'Displays a button in the Region Header to maximize the region. Clicking this button will toggle the maximize state and stretch the region to fill the screen.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689467309408258693)\n,p_theme_id=>42\n,p_name=>'SHOW_NEXT_AND_PREVIOUS_BUTTONS'\n,p_display_name=>'Show Next and Previous Buttons'\n,p_display_sequence=>30\n,p_region_template_id=>wwv_flow_api.id(55689464420429258692)\n,p_css_classes=>'t-Region--showCarouselControls'\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689467526698258694)\n,p_theme_id=>42\n,p_name=>'SLIDE'\n,p_display_name=>'Slide'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689464420429258692)\n,p_css_classes=>'t-Region--carouselSlide'\n,p_group_id=>wwv_flow_api.id(55689467466853258693)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689467654191258694)\n,p_theme_id=>42\n,p_name=>'SPIN'\n,p_display_name=>'Spin'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689464420429258692)\n,p_css_classes=>'t-Region--carouselSpin'\n,p_group_id=>wwv_flow_api.id(55689467466853258693)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689467782626258694)\n,p_theme_id=>42\n,p_name=>'STACKED'\n,p_display_name=>'Stack Region'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689464420429258692)\n,p_css_classes=>'t-Region--stacked'\n,p_group_id=>wwv_flow_api.id(55689463846850258692)\n,p_template_types=>'REGION'\n,p_help_text=>'Removes side borders and shadows, and can be useful for accordions and regions that need to be grouped together vertically.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689468180396258694)\n,p_theme_id=>42\n,p_name=>'240PX'\n,p_display_name=>'240px'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689467856975258694)\n,p_css_classes=>'i-h240'\n,p_group_id=>wwv_flow_api.id(55689465110146258693)\n,p_template_types=>'REGION'\n,p_help_text=>'Sets region body height to 240px.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689468251164258695)\n,p_theme_id=>42\n,p_name=>'320PX'\n,p_display_name=>'320px'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689467856975258694)\n,p_css_classes=>'i-h320'\n,p_group_id=>wwv_flow_api.id(55689465110146258693)\n,p_template_types=>'REGION'\n,p_help_text=>'Sets region body height to 320px.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689468394319258695)\n,p_theme_id=>42\n,p_name=>'480PX'\n,p_display_name=>'480px'\n,p_display_sequence=>30\n,p_region_template_id=>wwv_flow_api.id(55689467856975258694)\n,p_css_classes=>'i-h480'\n,p_group_id=>wwv_flow_api.id(55689465110146258693)\n,p_template_types=>'REGION'\n,p_help_text=>'Sets body height to 480px.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689468410086258695)\n,p_theme_id=>42\n,p_name=>'640PX'\n,p_display_name=>'640px'\n,p_display_sequence=>40\n,p_region_template_id=>wwv_flow_api.id(55689467856975258694)\n,p_css_classes=>'i-h640'\n,p_group_id=>wwv_flow_api.id(55689465110146258693)\n,p_template_types=>'REGION'\n,p_help_text=>'Sets body height to 640px.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689468543135258695)\n,p_theme_id=>42\n,p_name=>'ACCENT_1'\n,p_display_name=>'Accent 1'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689467856975258694)\n,p_css_classes=>'t-Region--accent1'\n,p_group_id=>wwv_flow_api.id(55689465760057258693)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689468699818258695)\n,p_theme_id=>42\n,p_name=>'ACCENT_2'\n,p_display_name=>'Accent 2'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689467856975258694)\n,p_css_classes=>'t-Region--accent2'\n,p_group_id=>wwv_flow_api.id(55689465760057258693)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689468737382258695)\n,p_theme_id=>42\n,p_name=>'ACCENT_3'\n,p_display_name=>'Accent 3'\n,p_display_sequence=>30\n,p_region_template_id=>wwv_flow_api.id(55689467856975258694)\n,p_css_classes=>'t-Region--accent3'\n,p_group_id=>wwv_flow_api.id(55689465760057258693)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689468899684258695)\n,p_theme_id=>42\n,p_name=>'ACCENT_4'\n,p_display_name=>'Accent 4'\n,p_display_sequence=>40\n,p_region_template_id=>wwv_flow_api.id(55689467856975258694)\n,p_css_classes=>'t-Region--accent4'\n,p_group_id=>wwv_flow_api.id(55689465760057258693)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689468951327258695)\n,p_theme_id=>42\n,p_name=>'ACCENT_5'\n,p_display_name=>'Accent 5'\n,p_display_sequence=>50\n,p_region_template_id=>wwv_flow_api.id(55689467856975258694)\n,p_css_classes=>'t-Region--accent5'\n,p_group_id=>wwv_flow_api.id(55689465760057258693)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689469196427258695)\n,p_theme_id=>42\n,p_name=>'COLLAPSED'\n,p_display_name=>'Collapsed'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689467856975258694)\n,p_css_classes=>'is-collapsed'\n,p_group_id=>wwv_flow_api.id(55689469051462258695)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689469228155258695)\n,p_theme_id=>42\n,p_name=>'EXPANDED'\n,p_display_name=>'Expanded'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689467856975258694)\n,p_css_classes=>'is-expanded'\n,p_group_id=>wwv_flow_api.id(55689469051462258695)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689469356439258695)\n,p_theme_id=>42\n,p_name=>'HIDEOVERFLOW'\n,p_display_name=>'Hide'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689467856975258694)\n,p_css_classes=>'t-Region--hiddenOverflow'\n,p_group_id=>wwv_flow_api.id(55689466533997258693)\n,p_template_types=>'REGION'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689469415822258696)\n,p_theme_id=>42\n,p_name=>'NOBODYPADDING'\n,p_display_name=>'Remove Body Padding'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689467856975258694)\n,p_css_classes=>'t-Region--noPadding'\n,p_template_types=>'REGION'\n,p_help_text=>'Removes padding from region body.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689469594685258696)\n,p_theme_id=>42\n,p_name=>'NOBORDER'\n,p_display_name=>'Remove Borders'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689467856975258694)\n,p_css_classes=>'t-Region--noBorder'\n,p_group_id=>wwv_flow_api.id(55689463846850258692)\n,p_template_types=>'REGION'\n,p_help_text=>'Removes borders from the region.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689469638505258696)\n,p_theme_id=>42\n,p_name=>'REMEMBER_COLLAPSIBLE_STATE'\n,p_display_name=>'Remember Collapsible State'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689467856975258694)\n,p_css_classes=>'js-useLocalStorage'\n,p_template_types=>'REGION'\n,p_help_text=>'This option saves the current state of the collapsible region for the duration of the session.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689469739746258696)\n,p_theme_id=>42\n,p_name=>'REMOVE_UI_DECORATION'\n,p_display_name=>'Remove UI Decoration'\n,p_display_sequence=>30\n,p_region_template_id=>wwv_flow_api.id(55689467856975258694)\n,p_css_classes=>'t-Region--noUI'\n,p_group_id=>wwv_flow_api.id(55689463846850258692)\n,p_template_types=>'REGION'\n,p_help_text=>'Removes UI decoration (borders, backgrounds, shadows, etc) from the region.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689469846998258696)\n,p_theme_id=>42\n,p_name=>'SCROLLBODY'\n,p_display_name=>'Scroll - Default'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689467856975258694)\n,p_css_classes=>'t-Region--scrollBody'\n,p_group_id=>wwv_flow_api.id(55689466533997258693)\n,p_template_types=>'REGION'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689469951969258696)\n,p_theme_id=>42\n,p_name=>'STACKED'\n,p_display_name=>'Stack Region'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689467856975258694)\n,p_css_classes=>'t-Region--stacked'\n,p_group_id=>wwv_flow_api.id(55689463846850258692)\n,p_template_types=>'REGION'\n,p_help_text=>'Removes side borders and shadows, and can be useful for accordions and regions that need to be grouped together vertically.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689470175895258696)\n,p_theme_id=>42\n,p_name=>'ADD_BODY_PADDING'\n,p_display_name=>'Add Body Padding'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689470075307258696)\n,p_css_classes=>'t-ContentBlock--padded'\n,p_template_types=>'REGION'\n,p_help_text=>'Adds padding to the region''s body container.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689470355911258697)\n,p_theme_id=>42\n,p_name=>'CONTENT_TITLE_H1'\n,p_display_name=>'Heading Level 1'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689470075307258696)\n,p_css_classes=>'t-ContentBlock--h1'\n,p_group_id=>wwv_flow_api.id(55689470265970258696)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689470476412258697)\n,p_theme_id=>42\n,p_name=>'CONTENT_TITLE_H2'\n,p_display_name=>'Heading Level 2'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689470075307258696)\n,p_css_classes=>'t-ContentBlock--h2'\n,p_group_id=>wwv_flow_api.id(55689470265970258696)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689470538191258697)\n,p_theme_id=>42\n,p_name=>'CONTENT_TITLE_H3'\n,p_display_name=>'Heading Level 3'\n,p_display_sequence=>30\n,p_region_template_id=>wwv_flow_api.id(55689470075307258696)\n,p_css_classes=>'t-ContentBlock--h3'\n,p_group_id=>wwv_flow_api.id(55689470265970258696)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689470746907258697)\n,p_theme_id=>42\n,p_name=>'LIGHT_BACKGROUND'\n,p_display_name=>'Light Background'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689470075307258696)\n,p_css_classes=>'t-ContentBlock--lightBG'\n,p_group_id=>wwv_flow_api.id(55689470623516258697)\n,p_template_types=>'REGION'\n,p_help_text=>'Gives the region body a slightly lighter background.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689470816680258697)\n,p_theme_id=>42\n,p_name=>'SHADOW_BACKGROUND'\n,p_display_name=>'Shadow Background'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689470075307258696)\n,p_css_classes=>'t-ContentBlock--shadowBG'\n,p_group_id=>wwv_flow_api.id(55689470623516258697)\n,p_template_types=>'REGION'\n,p_help_text=>'Gives the region body a slightly darker background.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689471241413258697)\n,p_theme_id=>42\n,p_name=>'DISPLAY_ICON_NO'\n,p_display_name=>'No'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689470985259258697)\n,p_css_classes=>'t-HeroRegion--hideIcon'\n,p_group_id=>wwv_flow_api.id(55689471133466258697)\n,p_template_types=>'REGION'\n,p_help_text=>'Hide the Hero Region icon.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689471382598258697)\n,p_theme_id=>42\n,p_name=>'FEATURED'\n,p_display_name=>'Featured'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689470985259258697)\n,p_css_classes=>'t-HeroRegion--featured'\n,p_group_id=>wwv_flow_api.id(55689463846850258692)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689471423716258697)\n,p_theme_id=>42\n,p_name=>'REMOVE_BODY_PADDING'\n,p_display_name=>'Remove Body Padding'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689470985259258697)\n,p_css_classes=>'t-HeroRegion--noPadding'\n,p_template_types=>'REGION'\n,p_help_text=>'Removes the padding around the hero region.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689471532730258697)\n,p_theme_id=>42\n,p_name=>'STACKED_FEATURED'\n,p_display_name=>'Stacked Featured'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689470985259258697)\n,p_css_classes=>'t-HeroRegion--featured t-HeroRegion--centered'\n,p_group_id=>wwv_flow_api.id(55689463846850258692)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689471834401258698)\n,p_theme_id=>42\n,p_name=>'AUTO_HEIGHT_INLINE_DIALOG'\n,p_display_name=>'Auto Height'\n,p_display_sequence=>1\n,p_region_template_id=>wwv_flow_api.id(55689471612158258697)\n,p_css_classes=>'js-dialog-autoheight'\n,p_template_types=>'REGION'\n,p_help_text=>'This option will set the height of the dialog to fit its contents.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689471953832258698)\n,p_theme_id=>42\n,p_name=>'DRAGGABLE'\n,p_display_name=>'Draggable'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689471612158258697)\n,p_css_classes=>'js-draggable'\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689472141800258698)\n,p_theme_id=>42\n,p_name=>'LARGE_720X480'\n,p_display_name=>'Large (720x480)'\n,p_display_sequence=>30\n,p_region_template_id=>wwv_flow_api.id(55689471612158258697)\n,p_css_classes=>'js-dialog-size720x480'\n,p_group_id=>wwv_flow_api.id(55689472097998258698)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689472213435258698)\n,p_theme_id=>42\n,p_name=>'MEDIUM_600X400'\n,p_display_name=>'Medium (600x400)'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689471612158258697)\n,p_css_classes=>'js-dialog-size600x400'\n,p_group_id=>wwv_flow_api.id(55689472097998258698)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689472395592258698)\n,p_theme_id=>42\n,p_name=>'MODAL'\n,p_display_name=>'Modal'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689471612158258697)\n,p_css_classes=>'js-modal'\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689472456328258698)\n,p_theme_id=>42\n,p_name=>'RESIZABLE'\n,p_display_name=>'Resizable'\n,p_display_sequence=>30\n,p_region_template_id=>wwv_flow_api.id(55689471612158258697)\n,p_css_classes=>'js-resizable'\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689472575696258698)\n,p_theme_id=>42\n,p_name=>'SMALL_480X320'\n,p_display_name=>'Small (480x320)'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689471612158258697)\n,p_css_classes=>'js-dialog-size480x320'\n,p_group_id=>wwv_flow_api.id(55689472097998258698)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689472740034258698)\n,p_theme_id=>42\n,p_name=>'REMOVEBORDERS'\n,p_display_name=>'Remove Borders'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689472642365258698)\n,p_css_classes=>'t-IRR-region--noBorders'\n,p_template_types=>'REGION'\n,p_help_text=>'Removes borders around the Interactive Report'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689472884781258698)\n,p_theme_id=>42\n,p_name=>'SHOW_MAXIMIZE_BUTTON'\n,p_display_name=>'Show Maximize Button'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689472642365258698)\n,p_css_classes=>'js-showMaximizeButton'\n,p_template_types=>'REGION'\n,p_help_text=>'Displays a button in the Interactive Reports toolbar to maximize the report. Clicking this button will toggle the maximize state and stretch the report to fill the screen.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689473492352258699)\n,p_theme_id=>42\n,p_name=>'240PX'\n,p_display_name=>'240px'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_css_classes=>'i-h240'\n,p_group_id=>wwv_flow_api.id(55689465110146258693)\n,p_template_types=>'REGION'\n,p_help_text=>'Sets region body height to 240px.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689473582853258699)\n,p_theme_id=>42\n,p_name=>'320PX'\n,p_display_name=>'320px'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_css_classes=>'i-h320'\n,p_group_id=>wwv_flow_api.id(55689465110146258693)\n,p_template_types=>'REGION'\n,p_help_text=>'Sets region body height to 320px.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689473642964258699)\n,p_theme_id=>42\n,p_name=>'480PX'\n,p_display_name=>'480px'\n,p_display_sequence=>30\n,p_region_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_css_classes=>'i-h480'\n,p_group_id=>wwv_flow_api.id(55689465110146258693)\n,p_template_types=>'REGION'\n);\nend;\n/\nbegin\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689473729021258699)\n,p_theme_id=>42\n,p_name=>'640PX'\n,p_display_name=>'640px'\n,p_display_sequence=>40\n,p_region_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_css_classes=>'i-h640'\n,p_group_id=>wwv_flow_api.id(55689465110146258693)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689473860890258699)\n,p_theme_id=>42\n,p_name=>'ACCENT_1'\n,p_display_name=>'Accent 1'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_css_classes=>'t-Region--accent1'\n,p_group_id=>wwv_flow_api.id(55689465760057258693)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689473948234258699)\n,p_theme_id=>42\n,p_name=>'ACCENT_10'\n,p_display_name=>'Accent 10'\n,p_display_sequence=>100\n,p_region_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_css_classes=>'t-Region--accent10'\n,p_group_id=>wwv_flow_api.id(55689465760057258693)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689474080021258699)\n,p_theme_id=>42\n,p_name=>'ACCENT_11'\n,p_display_name=>'Accent 11'\n,p_display_sequence=>110\n,p_region_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_css_classes=>'t-Region--accent11'\n,p_group_id=>wwv_flow_api.id(55689465760057258693)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689474140037258699)\n,p_theme_id=>42\n,p_name=>'ACCENT_12'\n,p_display_name=>'Accent 12'\n,p_display_sequence=>120\n,p_region_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_css_classes=>'t-Region--accent12'\n,p_group_id=>wwv_flow_api.id(55689465760057258693)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689474266100258699)\n,p_theme_id=>42\n,p_name=>'ACCENT_13'\n,p_display_name=>'Accent 13'\n,p_display_sequence=>130\n,p_region_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_css_classes=>'t-Region--accent13'\n,p_group_id=>wwv_flow_api.id(55689465760057258693)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689474305809258699)\n,p_theme_id=>42\n,p_name=>'ACCENT_14'\n,p_display_name=>'Accent 14'\n,p_display_sequence=>140\n,p_region_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_css_classes=>'t-Region--accent14'\n,p_group_id=>wwv_flow_api.id(55689465760057258693)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689474488823258699)\n,p_theme_id=>42\n,p_name=>'ACCENT_15'\n,p_display_name=>'Accent 15'\n,p_display_sequence=>150\n,p_region_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_css_classes=>'t-Region--accent15'\n,p_group_id=>wwv_flow_api.id(55689465760057258693)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689474521610258699)\n,p_theme_id=>42\n,p_name=>'ACCENT_2'\n,p_display_name=>'Accent 2'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_css_classes=>'t-Region--accent2'\n,p_group_id=>wwv_flow_api.id(55689465760057258693)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689474615514258699)\n,p_theme_id=>42\n,p_name=>'ACCENT_3'\n,p_display_name=>'Accent 3'\n,p_display_sequence=>30\n,p_region_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_css_classes=>'t-Region--accent3'\n,p_group_id=>wwv_flow_api.id(55689465760057258693)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689474778863258699)\n,p_theme_id=>42\n,p_name=>'ACCENT_4'\n,p_display_name=>'Accent 4'\n,p_display_sequence=>40\n,p_region_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_css_classes=>'t-Region--accent4'\n,p_group_id=>wwv_flow_api.id(55689465760057258693)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689474817532258699)\n,p_theme_id=>42\n,p_name=>'ACCENT_5'\n,p_display_name=>'Accent 5'\n,p_display_sequence=>50\n,p_region_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_css_classes=>'t-Region--accent5'\n,p_group_id=>wwv_flow_api.id(55689465760057258693)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689474969477258699)\n,p_theme_id=>42\n,p_name=>'ACCENT_6'\n,p_display_name=>'Accent 6'\n,p_display_sequence=>60\n,p_region_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_css_classes=>'t-Region--accent6'\n,p_group_id=>wwv_flow_api.id(55689465760057258693)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689475029344258699)\n,p_theme_id=>42\n,p_name=>'ACCENT_7'\n,p_display_name=>'Accent 7'\n,p_display_sequence=>70\n,p_region_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_css_classes=>'t-Region--accent7'\n,p_group_id=>wwv_flow_api.id(55689465760057258693)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689475104667258701)\n,p_theme_id=>42\n,p_name=>'ACCENT_8'\n,p_display_name=>'Accent 8'\n,p_display_sequence=>80\n,p_region_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_css_classes=>'t-Region--accent8'\n,p_group_id=>wwv_flow_api.id(55689465760057258693)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689475229731258701)\n,p_theme_id=>42\n,p_name=>'ACCENT_9'\n,p_display_name=>'Accent 9'\n,p_display_sequence=>90\n,p_region_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_css_classes=>'t-Region--accent9'\n,p_group_id=>wwv_flow_api.id(55689465760057258693)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689475312103258701)\n,p_theme_id=>42\n,p_name=>'HIDDENHEADERNOAT'\n,p_display_name=>'Hidden'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_css_classes=>'t-Region--removeHeader'\n,p_group_id=>wwv_flow_api.id(55689466314763258693)\n,p_template_types=>'REGION'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689475416280258701)\n,p_theme_id=>42\n,p_name=>'HIDEOVERFLOW'\n,p_display_name=>'Hide'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_css_classes=>'t-Region--hiddenOverflow'\n,p_group_id=>wwv_flow_api.id(55689466533997258693)\n,p_template_types=>'REGION'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689475558099258701)\n,p_theme_id=>42\n,p_name=>'HIDEREGIONHEADER'\n,p_display_name=>'Hidden but accessible'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_css_classes=>'t-Region--hideHeader'\n,p_group_id=>wwv_flow_api.id(55689466314763258693)\n,p_template_types=>'REGION'\n,p_help_text=>'This option will hide the region header. Note that the region title will still be audible for Screen Readers. Buttons placed in the region header will be hidden and inaccessible.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689475608725258701)\n,p_theme_id=>42\n,p_name=>'NOBODYPADDING'\n,p_display_name=>'Remove Body Padding'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_css_classes=>'t-Region--noPadding'\n,p_template_types=>'REGION'\n,p_help_text=>'Removes padding from region body.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689475789270258701)\n,p_theme_id=>42\n,p_name=>'NOBORDER'\n,p_display_name=>'Remove Borders'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_css_classes=>'t-Region--noBorder'\n,p_group_id=>wwv_flow_api.id(55689463846850258692)\n,p_template_types=>'REGION'\n,p_help_text=>'Removes borders from the region.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689475840102258701)\n,p_theme_id=>42\n,p_name=>'REMOVE_UI_DECORATION'\n,p_display_name=>'Remove UI Decoration'\n,p_display_sequence=>30\n,p_region_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_css_classes=>'t-Region--noUI'\n,p_group_id=>wwv_flow_api.id(55689463846850258692)\n,p_template_types=>'REGION'\n,p_help_text=>'Removes UI decoration (borders, backgrounds, shadows, etc) from the region.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689475981201258701)\n,p_theme_id=>42\n,p_name=>'SCROLLBODY'\n,p_display_name=>'Scroll - Default'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_css_classes=>'t-Region--scrollBody'\n,p_group_id=>wwv_flow_api.id(55689466533997258693)\n,p_template_types=>'REGION'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689476051945258701)\n,p_theme_id=>42\n,p_name=>'SHOW_MAXIMIZE_BUTTON'\n,p_display_name=>'Show Maximize Button'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_css_classes=>'js-showMaximizeButton'\n,p_template_types=>'REGION'\n,p_help_text=>'Displays a button in the Region Header to maximize the region. Clicking this button will toggle the maximize state and stretch the region to fill the screen.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689476127705258701)\n,p_theme_id=>42\n,p_name=>'STACKED'\n,p_display_name=>'Stack Region'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_css_classes=>'t-Region--stacked'\n,p_group_id=>wwv_flow_api.id(55689463846850258692)\n,p_template_types=>'REGION'\n,p_help_text=>'Removes side borders and shadows, and can be useful for accordions and regions that need to be grouped together vertically.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689476213777258701)\n,p_theme_id=>42\n,p_name=>'TEXT_CONTENT'\n,p_display_name=>'Text Content'\n,p_display_sequence=>40\n,p_region_template_id=>wwv_flow_api.id(55689473177657258698)\n,p_css_classes=>'t-Region--textContent'\n,p_group_id=>wwv_flow_api.id(55689463846850258692)\n,p_template_types=>'REGION'\n,p_help_text=>'Useful for displaying primarily text-based content, such as FAQs and more.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689476731380258702)\n,p_theme_id=>42\n,p_name=>'FILL_TAB_LABELS'\n,p_display_name=>'Fill Tab Labels'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689476396128258701)\n,p_css_classes=>'t-TabsRegion-mod--fillLabels'\n,p_group_id=>wwv_flow_api.id(55689476602113258702)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689476941211258702)\n,p_theme_id=>42\n,p_name=>'PILL'\n,p_display_name=>'Pill'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689476396128258701)\n,p_css_classes=>'t-TabsRegion-mod--pill'\n,p_group_id=>wwv_flow_api.id(55689476849737258702)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689477021578258702)\n,p_theme_id=>42\n,p_name=>'REMEMBER_ACTIVE_TAB'\n,p_display_name=>'Remember Active Tab'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689476396128258701)\n,p_css_classes=>'js-useLocalStorage'\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689477145987258702)\n,p_theme_id=>42\n,p_name=>'SIMPLE'\n,p_display_name=>'Simple'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689476396128258701)\n,p_css_classes=>'t-TabsRegion-mod--simple'\n,p_group_id=>wwv_flow_api.id(55689476849737258702)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689477332761258703)\n,p_theme_id=>42\n,p_name=>'TABSLARGE'\n,p_display_name=>'Large'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689476396128258701)\n,p_css_classes=>'t-TabsRegion-mod--large'\n,p_group_id=>wwv_flow_api.id(55689477268688258703)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689477422215258703)\n,p_theme_id=>42\n,p_name=>'TABS_SMALL'\n,p_display_name=>'Small'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689476396128258701)\n,p_css_classes=>'t-TabsRegion-mod--small'\n,p_group_id=>wwv_flow_api.id(55689477268688258703)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689477675600258703)\n,p_theme_id=>42\n,p_name=>'GET_TITLE_FROM_BREADCRUMB'\n,p_display_name=>'Use Current Breadcrumb Entry'\n,p_display_sequence=>1\n,p_region_template_id=>wwv_flow_api.id(55689477573158258703)\n,p_css_classes=>'t-BreadcrumbRegion--useBreadcrumbTitle'\n,p_group_id=>wwv_flow_api.id(55689470265970258696)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689477769018258703)\n,p_theme_id=>42\n,p_name=>'HIDE_BREADCRUMB'\n,p_display_name=>'Show Breadcrumbs'\n,p_display_sequence=>1\n,p_region_template_id=>wwv_flow_api.id(55689477573158258703)\n,p_css_classes=>'t-BreadcrumbRegion--showBreadcrumb'\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689477871589258703)\n,p_theme_id=>42\n,p_name=>'REGION_HEADER_VISIBLE'\n,p_display_name=>'Use Region Title'\n,p_display_sequence=>1\n,p_region_template_id=>wwv_flow_api.id(55689477573158258703)\n,p_css_classes=>'t-BreadcrumbRegion--useRegionTitle'\n,p_group_id=>wwv_flow_api.id(55689470265970258696)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689478232362258703)\n,p_theme_id=>42\n,p_name=>'HIDESMALLSCREENS'\n,p_display_name=>'Small Screens (Tablet)'\n,p_display_sequence=>20\n,p_region_template_id=>wwv_flow_api.id(55689477921324258703)\n,p_css_classes=>'t-Wizard--hideStepsSmall'\n,p_group_id=>wwv_flow_api.id(55689478154985258703)\n,p_template_types=>'REGION'\n,p_help_text=>'Hides the wizard progress steps for screens that are smaller than 768px wide.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689478322501258704)\n,p_theme_id=>42\n,p_name=>'HIDEXSMALLSCREENS'\n,p_display_name=>'X Small Screens (Mobile)'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689477921324258703)\n,p_css_classes=>'t-Wizard--hideStepsXSmall'\n,p_group_id=>wwv_flow_api.id(55689478154985258703)\n,p_template_types=>'REGION'\n,p_help_text=>'Hides the wizard progress steps for screens that are smaller than 768px wide.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689478485592258705)\n,p_theme_id=>42\n,p_name=>'SHOW_TITLE'\n,p_display_name=>'Show Title'\n,p_display_sequence=>10\n,p_region_template_id=>wwv_flow_api.id(55689477921324258703)\n,p_css_classes=>'t-Wizard--showTitle'\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689478821609258705)\n,p_theme_id=>42\n,p_name=>'128PX'\n,p_display_name=>'128px'\n,p_display_sequence=>50\n,p_report_template_id=>wwv_flow_api.id(55689478673498258705)\n,p_css_classes=>'t-BadgeList--xxlarge'\n,p_group_id=>wwv_flow_api.id(55689478772313258705)\n,p_template_types=>'REPORT'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689479086678258706)\n,p_theme_id=>42\n,p_name=>'2COLUMNGRID'\n,p_display_name=>'2 Column Grid'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(55689478673498258705)\n,p_css_classes=>'t-BadgeList--cols'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n,p_help_text=>'Arrange badges in a two column grid'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689479163223258706)\n,p_theme_id=>42\n,p_name=>'32PX'\n,p_display_name=>'32px'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(55689478673498258705)\n,p_css_classes=>'t-BadgeList--small'\n,p_group_id=>wwv_flow_api.id(55689478772313258705)\n,p_template_types=>'REPORT'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689479293271258706)\n,p_theme_id=>42\n,p_name=>'3COLUMNGRID'\n,p_display_name=>'3 Column Grid'\n,p_display_sequence=>30\n,p_report_template_id=>wwv_flow_api.id(55689478673498258705)\n,p_css_classes=>'t-BadgeList--cols t-BadgeList--3cols'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n,p_help_text=>'Arrange badges in a 3 column grid'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689479368515258706)\n,p_theme_id=>42\n,p_name=>'48PX'\n,p_display_name=>'48px'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(55689478673498258705)\n,p_css_classes=>'t-BadgeList--medium'\n,p_group_id=>wwv_flow_api.id(55689478772313258705)\n,p_template_types=>'REPORT'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689479467218258706)\n,p_theme_id=>42\n,p_name=>'4COLUMNGRID'\n,p_display_name=>'4 Column Grid'\n,p_display_sequence=>40\n,p_report_template_id=>wwv_flow_api.id(55689478673498258705)\n,p_css_classes=>'t-BadgeList--cols t-BadgeList--4cols'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689479555589258706)\n,p_theme_id=>42\n,p_name=>'5COLUMNGRID'\n,p_display_name=>'5 Column Grid'\n,p_display_sequence=>50\n,p_report_template_id=>wwv_flow_api.id(55689478673498258705)\n,p_css_classes=>'t-BadgeList--cols t-BadgeList--5cols'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689479646992258706)\n,p_theme_id=>42\n,p_name=>'64PX'\n,p_display_name=>'64px'\n,p_display_sequence=>30\n,p_report_template_id=>wwv_flow_api.id(55689478673498258705)\n,p_css_classes=>'t-BadgeList--large'\n,p_group_id=>wwv_flow_api.id(55689478772313258705)\n,p_template_types=>'REPORT'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689479790791258706)\n,p_theme_id=>42\n,p_name=>'96PX'\n,p_display_name=>'96px'\n,p_display_sequence=>40\n,p_report_template_id=>wwv_flow_api.id(55689478673498258705)\n,p_css_classes=>'t-BadgeList--xlarge'\n,p_group_id=>wwv_flow_api.id(55689478772313258705)\n,p_template_types=>'REPORT'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689479841490258706)\n,p_theme_id=>42\n,p_name=>'FIXED'\n,p_display_name=>'Span Horizontally'\n,p_display_sequence=>60\n,p_report_template_id=>wwv_flow_api.id(55689478673498258705)\n,p_css_classes=>'t-BadgeList--fixed'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689479978468258706)\n,p_theme_id=>42\n,p_name=>'FLEXIBLEBOX'\n,p_display_name=>'Flexible Box'\n,p_display_sequence=>80\n,p_report_template_id=>wwv_flow_api.id(55689478673498258705)\n,p_css_classes=>'t-BadgeList--flex'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689480012164258706)\n,p_theme_id=>42\n,p_name=>'FLOATITEMS'\n,p_display_name=>'Float Items'\n,p_display_sequence=>70\n,p_report_template_id=>wwv_flow_api.id(55689478673498258705)\n,p_css_classes=>'t-BadgeList--float'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689480151390258706)\n,p_theme_id=>42\n,p_name=>'RESPONSIVE'\n,p_display_name=>'Responsive'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(55689478673498258705)\n,p_css_classes=>'t-BadgeList--responsive'\n,p_template_types=>'REPORT'\n,p_help_text=>'Automatically resize badges to smaller sizes as screen becomes smaller.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689480287371258706)\n,p_theme_id=>42\n,p_name=>'STACKED'\n,p_display_name=>'Stacked'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(55689478673498258705)\n,p_css_classes=>'t-BadgeList--stacked'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689480449023258707)\n,p_theme_id=>42\n,p_name=>'2_COLUMNS'\n,p_display_name=>'2 Columns'\n,p_display_sequence=>15\n,p_report_template_id=>wwv_flow_api.id(55689480336426258706)\n,p_css_classes=>'t-Cards--cols'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689480636905258707)\n,p_theme_id=>42\n,p_name=>'2_LINES'\n,p_display_name=>'2 Lines'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(55689480336426258706)\n,p_css_classes=>'t-Cards--desc-2ln'\n,p_group_id=>wwv_flow_api.id(55689480574404258707)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689480799248258707)\n,p_theme_id=>42\n,p_name=>'3_COLUMNS'\n,p_display_name=>'3 Columns'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(55689480336426258706)\n,p_css_classes=>'t-Cards--3cols'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689480896666258707)\n,p_theme_id=>42\n,p_name=>'3_LINES'\n,p_display_name=>'3 Lines'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(55689480336426258706)\n,p_css_classes=>'t-Cards--desc-3ln'\n,p_group_id=>wwv_flow_api.id(55689480574404258707)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689480983745258707)\n,p_theme_id=>42\n,p_name=>'4_COLUMNS'\n,p_display_name=>'4 Columns'\n,p_display_sequence=>30\n,p_report_template_id=>wwv_flow_api.id(55689480336426258706)\n,p_css_classes=>'t-Cards--4cols'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689481088741258707)\n,p_theme_id=>42\n,p_name=>'4_LINES'\n,p_display_name=>'4 Lines'\n,p_display_sequence=>30\n,p_report_template_id=>wwv_flow_api.id(55689480336426258706)\n,p_css_classes=>'t-Cards--desc-4ln'\n,p_group_id=>wwv_flow_api.id(55689480574404258707)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689481119227258708)\n,p_theme_id=>42\n,p_name=>'5_COLUMNS'\n,p_display_name=>'5 Columns'\n,p_display_sequence=>50\n,p_report_template_id=>wwv_flow_api.id(55689480336426258706)\n,p_css_classes=>'t-Cards--5cols'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689481397554258708)\n,p_theme_id=>42\n,p_name=>'BASIC'\n,p_display_name=>'Basic'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(55689480336426258706)\n,p_css_classes=>'t-Cards--basic'\n,p_group_id=>wwv_flow_api.id(55689481277974258708)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689481550481258708)\n,p_theme_id=>42\n,p_name=>'CARDS_COLOR_FILL'\n,p_display_name=>'Color Fill'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(55689480336426258706)\n,p_css_classes=>'t-Cards--animColorFill'\n,p_group_id=>wwv_flow_api.id(55689481441992258708)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689481662830258708)\n,p_theme_id=>42\n,p_name=>'CARD_RAISE_CARD'\n,p_display_name=>'Raise Card'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(55689480336426258706)\n,p_css_classes=>'t-Cards--animRaiseCard'\n,p_group_id=>wwv_flow_api.id(55689481441992258708)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689481766136258708)\n,p_theme_id=>42\n,p_name=>'COMPACT'\n,p_display_name=>'Compact'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(55689480336426258706)\n,p_css_classes=>'t-Cards--compact'\n,p_group_id=>wwv_flow_api.id(55689481277974258708)\n,p_template_types=>'REPORT'\n,p_help_text=>'Use this option when you want to show smaller cards.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689481908092258708)\n,p_theme_id=>42\n,p_name=>'DISPLAY_ICONS'\n,p_display_name=>'Display Icons'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(55689480336426258706)\n,p_css_classes=>'t-Cards--displayIcons'\n,p_group_id=>wwv_flow_api.id(55689481840449258708)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689482016515258708)\n,p_theme_id=>42\n,p_name=>'DISPLAY_INITIALS'\n,p_display_name=>'Display Initials'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(55689480336426258706)\n,p_css_classes=>'t-Cards--displayInitials'\n,p_group_id=>wwv_flow_api.id(55689481840449258708)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689482161755258708)\n,p_theme_id=>42\n,p_name=>'FEATURED'\n,p_display_name=>'Featured'\n,p_display_sequence=>30\n,p_report_template_id=>wwv_flow_api.id(55689480336426258706)\n,p_css_classes=>'t-Cards--featured'\n,p_group_id=>wwv_flow_api.id(55689481277974258708)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689482266064258708)\n,p_theme_id=>42\n,p_name=>'FLOAT'\n,p_display_name=>'Float'\n,p_display_sequence=>60\n,p_report_template_id=>wwv_flow_api.id(55689480336426258706)\n,p_css_classes=>'t-Cards--float'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689482329779258709)\n,p_theme_id=>42\n,p_name=>'HIDDEN_BODY_TEXT'\n,p_display_name=>'Hidden'\n,p_display_sequence=>50\n,p_report_template_id=>wwv_flow_api.id(55689480336426258706)\n,p_css_classes=>'t-Cards--hideBody'\n,p_group_id=>wwv_flow_api.id(55689480574404258707)\n,p_template_types=>'REPORT'\n,p_help_text=>'This option hides the card body which contains description and subtext.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689482469847258709)\n,p_theme_id=>42\n,p_name=>'SPAN_HORIZONTALLY'\n,p_display_name=>'Span Horizontally'\n,p_display_sequence=>70\n,p_report_template_id=>wwv_flow_api.id(55689480336426258706)\n,p_css_classes=>'t-Cards--spanHorizontally'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689482576920258709)\n,p_theme_id=>42\n,p_name=>'USE_THEME_COLORS'\n,p_display_name=>'Apply Theme Colors'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(55689480336426258706)\n,p_css_classes=>'u-colors'\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689482812025258709)\n,p_theme_id=>42\n,p_name=>'BASIC'\n,p_display_name=>'Basic'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(55689482654924258709)\n,p_css_classes=>'t-Comments--basic'\n,p_group_id=>wwv_flow_api.id(55689482728578258709)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689482953516258709)\n,p_theme_id=>42\n,p_name=>'SPEECH_BUBBLES'\n,p_display_name=>'Speech Bubbles'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(55689482654924258709)\n,p_css_classes=>'t-Comments--chat'\n,p_group_id=>wwv_flow_api.id(55689482728578258709)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689483396629258710)\n,p_theme_id=>42\n,p_name=>'ALTROWCOLORSDISABLE'\n,p_display_name=>'Disable'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(55689483178799258709)\n,p_css_classes=>'t-Report--staticRowColors'\n,p_group_id=>wwv_flow_api.id(55689483207724258710)\n,p_template_types=>'REPORT'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689483440111258710)\n,p_theme_id=>42\n,p_name=>'ALTROWCOLORSENABLE'\n,p_display_name=>'Enable'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(55689483178799258709)\n,p_css_classes=>'t-Report--altRowsDefault'\n,p_group_id=>wwv_flow_api.id(55689483207724258710)\n,p_template_types=>'REPORT'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689483638252258710)\n,p_theme_id=>42\n,p_name=>'ENABLE'\n,p_display_name=>'Enable'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(55689483178799258709)\n,p_css_classes=>'t-Report--rowHighlight'\n,p_group_id=>wwv_flow_api.id(55689483519606258710)\n,p_template_types=>'REPORT'\n,p_help_text=>'Enable row highlighting on mouse over'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689483849965258710)\n,p_theme_id=>42\n,p_name=>'HORIZONTALBORDERS'\n,p_display_name=>'Horizontal Only'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(55689483178799258709)\n,p_css_classes=>'t-Report--horizontalBorders'\n,p_group_id=>wwv_flow_api.id(55689483723746258710)\n,p_template_types=>'REPORT'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689483915636258710)\n,p_theme_id=>42\n,p_name=>'REMOVEALLBORDERS'\n,p_display_name=>'No Borders'\n,p_display_sequence=>30\n,p_report_template_id=>wwv_flow_api.id(55689483178799258709)\n,p_css_classes=>'t-Report--noBorders'\n,p_group_id=>wwv_flow_api.id(55689483723746258710)\n,p_template_types=>'REPORT'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689484056151258710)\n,p_theme_id=>42\n,p_name=>'REMOVEOUTERBORDERS'\n,p_display_name=>'No Outer Borders'\n,p_display_sequence=>40\n,p_report_template_id=>wwv_flow_api.id(55689483178799258709)\n,p_css_classes=>'t-Report--inline'\n,p_group_id=>wwv_flow_api.id(55689483723746258710)\n,p_template_types=>'REPORT'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689484137747258710)\n,p_theme_id=>42\n,p_name=>'ROWHIGHLIGHTDISABLE'\n,p_display_name=>'Disable'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(55689483178799258709)\n,p_css_classes=>'t-Report--rowHighlightOff'\n,p_group_id=>wwv_flow_api.id(55689483519606258710)\n,p_template_types=>'REPORT'\n,p_help_text=>'Disable row highlighting on mouse over'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689484295894258710)\n,p_theme_id=>42\n,p_name=>'STRETCHREPORT'\n,p_display_name=>'Stretch Report'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(55689483178799258709)\n,p_css_classes=>'t-Report--stretch'\n,p_template_types=>'REPORT'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689484390152258710)\n,p_theme_id=>42\n,p_name=>'VERTICALBORDERS'\n,p_display_name=>'Vertical Only'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(55689483178799258709)\n,p_css_classes=>'t-Report--verticalBorders'\n,p_group_id=>wwv_flow_api.id(55689483723746258710)\n,p_template_types=>'REPORT'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689484585820258710)\n,p_theme_id=>42\n,p_name=>'COMPACT'\n,p_display_name=>'Compact'\n,p_display_sequence=>1\n,p_report_template_id=>wwv_flow_api.id(55689484460656258710)\n,p_css_classes=>'t-Timeline--compact'\n,p_group_id=>wwv_flow_api.id(55689481277974258708)\n,p_template_types=>'REPORT'\n,p_help_text=>'Displays a compact version of timeline with smaller text and fewer columns.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689484889910258710)\n,p_theme_id=>42\n,p_name=>'FIXED_LARGE'\n,p_display_name=>'Fixed - Large'\n,p_display_sequence=>30\n,p_report_template_id=>wwv_flow_api.id(55689484670002258710)\n,p_css_classes=>'t-AVPList--fixedLabelLarge'\n,p_group_id=>wwv_flow_api.id(55689484786760258710)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689484923226258710)\n,p_theme_id=>42\n,p_name=>'FIXED_MEDIUM'\n,p_display_name=>'Fixed - Medium'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(55689484670002258710)\n,p_css_classes=>'t-AVPList--fixedLabelMedium'\n,p_group_id=>wwv_flow_api.id(55689484786760258710)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689485083797258711)\n,p_theme_id=>42\n,p_name=>'FIXED_SMALL'\n,p_display_name=>'Fixed - Small'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(55689484670002258710)\n,p_css_classes=>'t-AVPList--fixedLabelSmall'\n,p_group_id=>wwv_flow_api.id(55689484786760258710)\n,p_template_types=>'REPORT'\n);\nend;\n/\nbegin\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689485115931258711)\n,p_theme_id=>42\n,p_name=>'LEFT_ALIGNED_DETAILS'\n,p_display_name=>'Left Aligned Details'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(55689484670002258710)\n,p_css_classes=>'t-AVPList--leftAligned'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689485255220258711)\n,p_theme_id=>42\n,p_name=>'RIGHT_ALIGNED_DETAILS'\n,p_display_name=>'Right Aligned Details'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(55689484670002258710)\n,p_css_classes=>'t-AVPList--rightAligned'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689485380572258711)\n,p_theme_id=>42\n,p_name=>'VARIABLE_LARGE'\n,p_display_name=>'Variable - Large'\n,p_display_sequence=>60\n,p_report_template_id=>wwv_flow_api.id(55689484670002258710)\n,p_css_classes=>'t-AVPList--variableLabelLarge'\n,p_group_id=>wwv_flow_api.id(55689484786760258710)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689485449408258711)\n,p_theme_id=>42\n,p_name=>'VARIABLE_MEDIUM'\n,p_display_name=>'Variable - Medium'\n,p_display_sequence=>50\n,p_report_template_id=>wwv_flow_api.id(55689484670002258710)\n,p_css_classes=>'t-AVPList--variableLabelMedium'\n,p_group_id=>wwv_flow_api.id(55689484786760258710)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689485525407258711)\n,p_theme_id=>42\n,p_name=>'VARIABLE_SMALL'\n,p_display_name=>'Variable - Small'\n,p_display_sequence=>40\n,p_report_template_id=>wwv_flow_api.id(55689484670002258710)\n,p_css_classes=>'t-AVPList--variableLabelSmall'\n,p_group_id=>wwv_flow_api.id(55689484786760258710)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689485761181258711)\n,p_theme_id=>42\n,p_name=>'FIXED_LARGE'\n,p_display_name=>'Fixed - Large'\n,p_display_sequence=>30\n,p_report_template_id=>wwv_flow_api.id(55689485634595258711)\n,p_css_classes=>'t-AVPList--fixedLabelLarge'\n,p_group_id=>wwv_flow_api.id(55689484786760258710)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689485819769258711)\n,p_theme_id=>42\n,p_name=>'FIXED_MEDIUM'\n,p_display_name=>'Fixed - Medium'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(55689485634595258711)\n,p_css_classes=>'t-AVPList--fixedLabelMedium'\n,p_group_id=>wwv_flow_api.id(55689484786760258710)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689485986744258711)\n,p_theme_id=>42\n,p_name=>'FIXED_SMALL'\n,p_display_name=>'Fixed - Small'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(55689485634595258711)\n,p_css_classes=>'t-AVPList--fixedLabelSmall'\n,p_group_id=>wwv_flow_api.id(55689484786760258710)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689486013498258711)\n,p_theme_id=>42\n,p_name=>'LEFT_ALIGNED_DETAILS'\n,p_display_name=>'Left Aligned Details'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(55689485634595258711)\n,p_css_classes=>'t-AVPList--leftAligned'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689486134063258712)\n,p_theme_id=>42\n,p_name=>'RIGHT_ALIGNED_DETAILS'\n,p_display_name=>'Right Aligned Details'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(55689485634595258711)\n,p_css_classes=>'t-AVPList--rightAligned'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689486295961258712)\n,p_theme_id=>42\n,p_name=>'VARIABLE_LARGE'\n,p_display_name=>'Variable - Large'\n,p_display_sequence=>60\n,p_report_template_id=>wwv_flow_api.id(55689485634595258711)\n,p_css_classes=>'t-AVPList--variableLabelLarge'\n,p_group_id=>wwv_flow_api.id(55689484786760258710)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689486387235258712)\n,p_theme_id=>42\n,p_name=>'VARIABLE_MEDIUM'\n,p_display_name=>'Variable - Medium'\n,p_display_sequence=>50\n,p_report_template_id=>wwv_flow_api.id(55689485634595258711)\n,p_css_classes=>'t-AVPList--variableLabelMedium'\n,p_group_id=>wwv_flow_api.id(55689484786760258710)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689486489251258712)\n,p_theme_id=>42\n,p_name=>'VARIABLE_SMALL'\n,p_display_name=>'Variable - Small'\n,p_display_sequence=>40\n,p_report_template_id=>wwv_flow_api.id(55689485634595258711)\n,p_css_classes=>'t-AVPList--variableLabelSmall'\n,p_group_id=>wwv_flow_api.id(55689484786760258710)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689486742531258713)\n,p_theme_id=>42\n,p_name=>'2COLUMNGRID'\n,p_display_name=>'2 Column Grid'\n,p_display_sequence=>20\n,p_list_template_id=>wwv_flow_api.id(55689486519141258712)\n,p_css_classes=>'t-BadgeList--cols'\n,p_group_id=>wwv_flow_api.id(55689486637703258713)\n,p_template_types=>'LIST'\n,p_help_text=>'Arrange badges in a two column grid'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689486891638258713)\n,p_theme_id=>42\n,p_name=>'3COLUMNGRID'\n,p_display_name=>'3 Column Grid'\n,p_display_sequence=>30\n,p_list_template_id=>wwv_flow_api.id(55689486519141258712)\n,p_css_classes=>'t-BadgeList--cols t-BadgeList--3cols'\n,p_group_id=>wwv_flow_api.id(55689486637703258713)\n,p_template_types=>'LIST'\n,p_help_text=>'Arrange badges in a 3 column grid'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689486911476258713)\n,p_theme_id=>42\n,p_name=>'4COLUMNGRID'\n,p_display_name=>'4 Column Grid'\n,p_display_sequence=>40\n,p_list_template_id=>wwv_flow_api.id(55689486519141258712)\n,p_css_classes=>'t-BadgeList--cols t-BadgeList--4cols'\n,p_group_id=>wwv_flow_api.id(55689486637703258713)\n,p_template_types=>'LIST'\n,p_help_text=>'Arrange badges in 4 column grid'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689487025889258713)\n,p_theme_id=>42\n,p_name=>'5COLUMNGRID'\n,p_display_name=>'5 Column Grid'\n,p_display_sequence=>50\n,p_list_template_id=>wwv_flow_api.id(55689486519141258712)\n,p_css_classes=>'t-BadgeList--cols t-BadgeList--5cols'\n,p_group_id=>wwv_flow_api.id(55689486637703258713)\n,p_template_types=>'LIST'\n,p_help_text=>'Arrange badges in a 5 column grid'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689487170510258713)\n,p_theme_id=>42\n,p_name=>'FIXED'\n,p_display_name=>'Span Horizontally'\n,p_display_sequence=>60\n,p_list_template_id=>wwv_flow_api.id(55689486519141258712)\n,p_css_classes=>'t-BadgeList--fixed'\n,p_group_id=>wwv_flow_api.id(55689486637703258713)\n,p_template_types=>'LIST'\n,p_help_text=>'Span badges horizontally'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689487282120258713)\n,p_theme_id=>42\n,p_name=>'FLEXIBLEBOX'\n,p_display_name=>'Flexible Box'\n,p_display_sequence=>80\n,p_list_template_id=>wwv_flow_api.id(55689486519141258712)\n,p_css_classes=>'t-BadgeList--flex'\n,p_group_id=>wwv_flow_api.id(55689486637703258713)\n,p_template_types=>'LIST'\n,p_help_text=>'Use flexbox to arrange items'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689487356269258713)\n,p_theme_id=>42\n,p_name=>'FLOATITEMS'\n,p_display_name=>'Float Items'\n,p_display_sequence=>70\n,p_list_template_id=>wwv_flow_api.id(55689486519141258712)\n,p_css_classes=>'t-BadgeList--float'\n,p_group_id=>wwv_flow_api.id(55689486637703258713)\n,p_template_types=>'LIST'\n,p_help_text=>'Float badges to left'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689487549943258713)\n,p_theme_id=>42\n,p_name=>'LARGE'\n,p_display_name=>'64px'\n,p_display_sequence=>30\n,p_list_template_id=>wwv_flow_api.id(55689486519141258712)\n,p_css_classes=>'t-BadgeList--large'\n,p_group_id=>wwv_flow_api.id(55689487495504258713)\n,p_template_types=>'LIST'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689487684337258713)\n,p_theme_id=>42\n,p_name=>'MEDIUM'\n,p_display_name=>'48px'\n,p_display_sequence=>20\n,p_list_template_id=>wwv_flow_api.id(55689486519141258712)\n,p_css_classes=>'t-BadgeList--medium'\n,p_group_id=>wwv_flow_api.id(55689487495504258713)\n,p_template_types=>'LIST'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689487721069258713)\n,p_theme_id=>42\n,p_name=>'RESPONSIVE'\n,p_display_name=>'Responsive'\n,p_display_sequence=>10\n,p_list_template_id=>wwv_flow_api.id(55689486519141258712)\n,p_css_classes=>'t-BadgeList--responsive'\n,p_template_types=>'LIST'\n,p_help_text=>'Automatically resize badges to smaller sizes as screen becomes smaller.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689487842903258713)\n,p_theme_id=>42\n,p_name=>'SMALL'\n,p_display_name=>'32px'\n,p_display_sequence=>10\n,p_list_template_id=>wwv_flow_api.id(55689486519141258712)\n,p_css_classes=>'t-BadgeList--small'\n,p_group_id=>wwv_flow_api.id(55689487495504258713)\n,p_template_types=>'LIST'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689487977669258713)\n,p_theme_id=>42\n,p_name=>'STACKED'\n,p_display_name=>'Stacked'\n,p_display_sequence=>10\n,p_list_template_id=>wwv_flow_api.id(55689486519141258712)\n,p_css_classes=>'t-BadgeList--stacked'\n,p_group_id=>wwv_flow_api.id(55689486637703258713)\n,p_template_types=>'LIST'\n,p_help_text=>'Stack badges on top of each other'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689488022751258713)\n,p_theme_id=>42\n,p_name=>'XLARGE'\n,p_display_name=>'96px'\n,p_display_sequence=>40\n,p_list_template_id=>wwv_flow_api.id(55689486519141258712)\n,p_css_classes=>'t-BadgeList--xlarge'\n,p_group_id=>wwv_flow_api.id(55689487495504258713)\n,p_template_types=>'LIST'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689488180623258713)\n,p_theme_id=>42\n,p_name=>'XXLARGE'\n,p_display_name=>'128px'\n,p_display_sequence=>50\n,p_list_template_id=>wwv_flow_api.id(55689486519141258712)\n,p_css_classes=>'t-BadgeList--xxlarge'\n,p_group_id=>wwv_flow_api.id(55689487495504258713)\n,p_template_types=>'LIST'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689488306373258714)\n,p_theme_id=>42\n,p_name=>'2_COLUMNS'\n,p_display_name=>'2 Columns'\n,p_display_sequence=>10\n,p_list_template_id=>wwv_flow_api.id(55689488267663258714)\n,p_css_classes=>'t-Cards--cols'\n,p_group_id=>wwv_flow_api.id(55689486637703258713)\n,p_template_types=>'LIST'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689488562192258714)\n,p_theme_id=>42\n,p_name=>'2_LINES'\n,p_display_name=>'2 Lines'\n,p_display_sequence=>10\n,p_list_template_id=>wwv_flow_api.id(55689488267663258714)\n,p_css_classes=>'t-Cards--desc-2ln'\n,p_group_id=>wwv_flow_api.id(55689488459562258714)\n,p_template_types=>'LIST'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689488691741258714)\n,p_theme_id=>42\n,p_name=>'3_COLUMNS'\n,p_display_name=>'3 Columns'\n,p_display_sequence=>20\n,p_list_template_id=>wwv_flow_api.id(55689488267663258714)\n,p_css_classes=>'t-Cards--3cols'\n,p_group_id=>wwv_flow_api.id(55689486637703258713)\n,p_template_types=>'LIST'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689488747496258714)\n,p_theme_id=>42\n,p_name=>'3_LINES'\n,p_display_name=>'3 Lines'\n,p_display_sequence=>20\n,p_list_template_id=>wwv_flow_api.id(55689488267663258714)\n,p_css_classes=>'t-Cards--desc-3ln'\n,p_group_id=>wwv_flow_api.id(55689488459562258714)\n,p_template_types=>'LIST'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689488823469258714)\n,p_theme_id=>42\n,p_name=>'4_COLUMNS'\n,p_display_name=>'4 Columns'\n,p_display_sequence=>30\n,p_list_template_id=>wwv_flow_api.id(55689488267663258714)\n,p_css_classes=>'t-Cards--4cols'\n,p_group_id=>wwv_flow_api.id(55689486637703258713)\n,p_template_types=>'LIST'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689488927481258714)\n,p_theme_id=>42\n,p_name=>'4_LINES'\n,p_display_name=>'4 Lines'\n,p_display_sequence=>30\n,p_list_template_id=>wwv_flow_api.id(55689488267663258714)\n,p_css_classes=>'t-Cards--desc-4ln'\n,p_group_id=>wwv_flow_api.id(55689488459562258714)\n,p_template_types=>'LIST'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689489045534258714)\n,p_theme_id=>42\n,p_name=>'5_COLUMNS'\n,p_display_name=>'5 Columns'\n,p_display_sequence=>50\n,p_list_template_id=>wwv_flow_api.id(55689488267663258714)\n,p_css_classes=>'t-Cards--5cols'\n,p_group_id=>wwv_flow_api.id(55689486637703258713)\n,p_template_types=>'LIST'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689489260050258714)\n,p_theme_id=>42\n,p_name=>'BASIC'\n,p_display_name=>'Basic'\n,p_display_sequence=>10\n,p_list_template_id=>wwv_flow_api.id(55689488267663258714)\n,p_css_classes=>'t-Cards--basic'\n,p_group_id=>wwv_flow_api.id(55689489120604258714)\n,p_template_types=>'LIST'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689489310960258714)\n,p_theme_id=>42\n,p_name=>'CARDS_STACKED'\n,p_display_name=>'Stacked'\n,p_display_sequence=>5\n,p_list_template_id=>wwv_flow_api.id(55689488267663258714)\n,p_css_classes=>'t-Cards--stacked'\n,p_group_id=>wwv_flow_api.id(55689486637703258713)\n,p_template_types=>'LIST'\n,p_help_text=>'Stacks the cards on top of each other.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689489589498258714)\n,p_theme_id=>42\n,p_name=>'COLOR_FILL'\n,p_display_name=>'Color Fill'\n,p_display_sequence=>10\n,p_list_template_id=>wwv_flow_api.id(55689488267663258714)\n,p_css_classes=>'t-Cards--animColorFill'\n,p_group_id=>wwv_flow_api.id(55689489466990258714)\n,p_template_types=>'LIST'\n,p_help_text=>'Fills the card background with the color of the icon or default link style.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689489660919258714)\n,p_theme_id=>42\n,p_name=>'COMPACT'\n,p_display_name=>'Compact'\n,p_display_sequence=>20\n,p_list_template_id=>wwv_flow_api.id(55689488267663258714)\n,p_css_classes=>'t-Cards--compact'\n,p_group_id=>wwv_flow_api.id(55689489120604258714)\n,p_template_types=>'LIST'\n,p_help_text=>'Use this option when you want to show smaller cards.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689489825698258715)\n,p_theme_id=>42\n,p_name=>'DISPLAY_ICONS'\n,p_display_name=>'Display Icons'\n,p_display_sequence=>10\n,p_list_template_id=>wwv_flow_api.id(55689488267663258714)\n,p_css_classes=>'t-Cards--displayIcons'\n,p_group_id=>wwv_flow_api.id(55689489799265258715)\n,p_template_types=>'LIST'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689489924637258715)\n,p_theme_id=>42\n,p_name=>'DISPLAY_INITIALS'\n,p_display_name=>'Display Initials'\n,p_display_sequence=>20\n,p_list_template_id=>wwv_flow_api.id(55689488267663258714)\n,p_css_classes=>'t-Cards--displayInitials'\n,p_group_id=>wwv_flow_api.id(55689489799265258715)\n,p_template_types=>'LIST'\n,p_help_text=>'Initials come from List Attribute 3'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689490062971258715)\n,p_theme_id=>42\n,p_name=>'FEATURED'\n,p_display_name=>'Featured'\n,p_display_sequence=>30\n,p_list_template_id=>wwv_flow_api.id(55689488267663258714)\n,p_css_classes=>'t-Cards--featured'\n,p_group_id=>wwv_flow_api.id(55689489120604258714)\n,p_template_types=>'LIST'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689490186666258715)\n,p_theme_id=>42\n,p_name=>'FLOAT'\n,p_display_name=>'Float'\n,p_display_sequence=>60\n,p_list_template_id=>wwv_flow_api.id(55689488267663258714)\n,p_css_classes=>'t-Cards--float'\n,p_group_id=>wwv_flow_api.id(55689486637703258713)\n,p_template_types=>'LIST'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689490263810258715)\n,p_theme_id=>42\n,p_name=>'HIDDEN_BODY_TEXT'\n,p_display_name=>'Hidden'\n,p_display_sequence=>50\n,p_list_template_id=>wwv_flow_api.id(55689488267663258714)\n,p_css_classes=>'t-Cards--hideBody'\n,p_group_id=>wwv_flow_api.id(55689488459562258714)\n,p_template_types=>'LIST'\n,p_help_text=>'This option hides the card body which contains description and subtext.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689490395330258716)\n,p_theme_id=>42\n,p_name=>'RAISE_CARD'\n,p_display_name=>'Raise Card'\n,p_display_sequence=>20\n,p_list_template_id=>wwv_flow_api.id(55689488267663258714)\n,p_css_classes=>'t-Cards--animRaiseCard'\n,p_group_id=>wwv_flow_api.id(55689489466990258714)\n,p_template_types=>'LIST'\n,p_help_text=>'Raises the card so it pops up.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689490484444258716)\n,p_theme_id=>42\n,p_name=>'SPAN_HORIZONTALLY'\n,p_display_name=>'Span Horizontally'\n,p_display_sequence=>70\n,p_list_template_id=>wwv_flow_api.id(55689488267663258714)\n,p_css_classes=>'t-Cards--spanHorizontally'\n,p_group_id=>wwv_flow_api.id(55689486637703258713)\n,p_template_types=>'LIST'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689490541864258716)\n,p_theme_id=>42\n,p_name=>'USE_THEME_COLORS'\n,p_display_name=>'Apply Theme Colors'\n,p_display_sequence=>10\n,p_list_template_id=>wwv_flow_api.id(55689488267663258714)\n,p_css_classes=>'u-colors'\n,p_template_types=>'LIST'\n,p_help_text=>'Applies the colors from the theme''s color palette to the icons or initials within cards.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689490707155258716)\n,p_theme_id=>42\n,p_name=>'ACTIONS'\n,p_display_name=>'Actions'\n,p_display_sequence=>10\n,p_list_template_id=>wwv_flow_api.id(55689490661138258716)\n,p_css_classes=>'t-LinksList--actions'\n,p_group_id=>wwv_flow_api.id(55689489120604258714)\n,p_template_types=>'LIST'\n,p_help_text=>'Render as actions to be placed on the right side column.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689490868270258716)\n,p_theme_id=>42\n,p_name=>'DISABLETEXTWRAPPING'\n,p_display_name=>'Disable Text Wrapping'\n,p_display_sequence=>30\n,p_list_template_id=>wwv_flow_api.id(55689490661138258716)\n,p_css_classes=>'t-LinksList--nowrap'\n,p_template_types=>'LIST'\n,p_help_text=>'Do not allow link text to wrap to new lines. Truncate with ellipsis.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689490912253258716)\n,p_theme_id=>42\n,p_name=>'SHOWBADGES'\n,p_display_name=>'Show Badges'\n,p_display_sequence=>10\n,p_list_template_id=>wwv_flow_api.id(55689490661138258716)\n,p_css_classes=>'t-LinksList--showBadge'\n,p_template_types=>'LIST'\n,p_help_text=>'Show badge to right of link (requires Attribute 1 to be populated)'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689491030506258716)\n,p_theme_id=>42\n,p_name=>'SHOWGOTOARROW'\n,p_display_name=>'Show Right Arrow'\n,p_display_sequence=>20\n,p_list_template_id=>wwv_flow_api.id(55689490661138258716)\n,p_css_classes=>'t-LinksList--showArrow'\n,p_template_types=>'LIST'\n,p_help_text=>'Show arrow to the right of link'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689491268497258716)\n,p_theme_id=>42\n,p_name=>'SHOWICONS'\n,p_display_name=>'For All Items'\n,p_display_sequence=>20\n,p_list_template_id=>wwv_flow_api.id(55689490661138258716)\n,p_css_classes=>'t-LinksList--showIcons'\n,p_group_id=>wwv_flow_api.id(55689491197865258716)\n,p_template_types=>'LIST'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689491312612258716)\n,p_theme_id=>42\n,p_name=>'SHOWTOPICONS'\n,p_display_name=>'For Top Level Items Only'\n,p_display_sequence=>10\n,p_list_template_id=>wwv_flow_api.id(55689490661138258716)\n,p_css_classes=>'t-LinksList--showTopIcons'\n,p_group_id=>wwv_flow_api.id(55689491197865258716)\n,p_template_types=>'LIST'\n,p_help_text=>'This will show icons for top level items of the list only. It will not show icons for sub lists.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689491533406258716)\n,p_theme_id=>42\n,p_name=>'2COLUMNGRID'\n,p_display_name=>'2 Column Grid'\n,p_display_sequence=>10\n,p_list_template_id=>wwv_flow_api.id(55689491419617258716)\n,p_css_classes=>'t-MediaList--cols t-MediaList--2cols'\n,p_group_id=>wwv_flow_api.id(55689486637703258713)\n,p_template_types=>'LIST'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689491660107258716)\n,p_theme_id=>42\n,p_name=>'3COLUMNGRID'\n,p_display_name=>'3 Column Grid'\n,p_display_sequence=>20\n,p_list_template_id=>wwv_flow_api.id(55689491419617258716)\n,p_css_classes=>'t-MediaList--cols t-MediaList--3cols'\n,p_group_id=>wwv_flow_api.id(55689486637703258713)\n,p_template_types=>'LIST'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689491786558258717)\n,p_theme_id=>42\n,p_name=>'4COLUMNGRID'\n,p_display_name=>'4 Column Grid'\n,p_display_sequence=>30\n,p_list_template_id=>wwv_flow_api.id(55689491419617258716)\n,p_css_classes=>'t-MediaList--cols t-MediaList--4cols'\n,p_group_id=>wwv_flow_api.id(55689486637703258713)\n,p_template_types=>'LIST'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689491894915258717)\n,p_theme_id=>42\n,p_name=>'5COLUMNGRID'\n,p_display_name=>'5 Column Grid'\n,p_display_sequence=>40\n,p_list_template_id=>wwv_flow_api.id(55689491419617258716)\n,p_css_classes=>'t-MediaList--cols t-MediaList--5cols'\n,p_group_id=>wwv_flow_api.id(55689486637703258713)\n,p_template_types=>'LIST'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689491921061258717)\n,p_theme_id=>42\n,p_name=>'APPLY_THEME_COLORS'\n,p_display_name=>'Apply Theme Colors'\n,p_display_sequence=>40\n,p_list_template_id=>wwv_flow_api.id(55689491419617258716)\n,p_css_classes=>'u-colors'\n,p_template_types=>'LIST'\n,p_help_text=>'Applies colors from the Theme''s color palette to icons in the list.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689492124443258717)\n,p_theme_id=>42\n,p_name=>'LIST_SIZE_LARGE'\n,p_display_name=>'Large'\n,p_display_sequence=>10\n,p_list_template_id=>wwv_flow_api.id(55689491419617258716)\n,p_css_classes=>'t-MediaList--large'\n,p_group_id=>wwv_flow_api.id(55689492013423258717)\n,p_template_types=>'LIST'\n,p_help_text=>'Increases the size of the text and icons in the list.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689492226152258717)\n,p_theme_id=>42\n,p_name=>'SHOW_BADGES'\n,p_display_name=>'Show Badges'\n,p_display_sequence=>30\n,p_list_template_id=>wwv_flow_api.id(55689491419617258716)\n,p_css_classes=>'t-MediaList--showBadges'\n,p_template_types=>'LIST'\n,p_help_text=>'Show a badge (Attribute 2) to the right of the list item.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689492310982258717)\n,p_theme_id=>42\n,p_name=>'SHOW_DESCRIPTION'\n,p_display_name=>'Show Description'\n,p_display_sequence=>20\n,p_list_template_id=>wwv_flow_api.id(55689491419617258716)\n,p_css_classes=>'t-MediaList--showDesc'\n,p_template_types=>'LIST'\n,p_help_text=>'Shows the description (Attribute 1) for each list item.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689492481605258717)\n,p_theme_id=>42\n,p_name=>'SHOW_ICONS'\n,p_display_name=>'Show Icons'\n,p_display_sequence=>10\n,p_list_template_id=>wwv_flow_api.id(55689491419617258716)\n,p_css_classes=>'t-MediaList--showIcons'\n,p_template_types=>'LIST'\n,p_help_text=>'Display an icon next to the list item.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689492595362258717)\n,p_theme_id=>42\n,p_name=>'SPANHORIZONTAL'\n,p_display_name=>'Span Horizontal'\n,p_display_sequence=>50\n,p_list_template_id=>wwv_flow_api.id(55689491419617258716)\n,p_css_classes=>'t-MediaList--horizontal'\n,p_group_id=>wwv_flow_api.id(55689486637703258713)\n,p_template_types=>'LIST'\n,p_help_text=>'Show all list items in one horizontal row.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689492722893258718)\n,p_theme_id=>42\n,p_name=>'ADD_ACTIONS'\n,p_display_name=>'Add Actions'\n,p_display_sequence=>40\n,p_list_template_id=>wwv_flow_api.id(55689492606564258718)\n,p_css_classes=>'js-addActions'\n,p_template_types=>'LIST'\n,p_help_text=>'Use this option to add shortcuts for menu items. Note that actions.js must be included on your page to support this functionality.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689492897528258718)\n,p_theme_id=>42\n,p_name=>'BEHAVE_LIKE_TABS'\n,p_display_name=>'Behave Like Tabs'\n,p_display_sequence=>10\n,p_list_template_id=>wwv_flow_api.id(55689492606564258718)\n,p_css_classes=>'js-tabLike'\n,p_template_types=>'LIST'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689492923905258718)\n,p_theme_id=>42\n,p_name=>'ENABLE_SLIDE_ANIMATION'\n,p_display_name=>'Enable Slide Animation'\n,p_display_sequence=>20\n,p_list_template_id=>wwv_flow_api.id(55689492606564258718)\n,p_css_classes=>'js-slide'\n,p_template_types=>'LIST'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689493090265258718)\n,p_theme_id=>42\n,p_name=>'SHOW_SUB_MENU_ICONS'\n,p_display_name=>'Show Sub Menu Icons'\n,p_display_sequence=>30\n,p_list_template_id=>wwv_flow_api.id(55689492606564258718)\n,p_css_classes=>'js-showSubMenuIcons'\n,p_template_types=>'LIST'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689493544787258719)\n,p_theme_id=>42\n,p_name=>'ABOVE_LABEL'\n,p_display_name=>'Above Label'\n,p_display_sequence=>20\n,p_list_template_id=>wwv_flow_api.id(55689493437009258719)\n,p_css_classes=>'t-Tabs--iconsAbove'\n,p_group_id=>wwv_flow_api.id(55689489799265258715)\n,p_template_types=>'LIST'\n,p_help_text=>'Places icons above tab label.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689493646443258719)\n,p_theme_id=>42\n,p_name=>'FILL_LABELS'\n,p_display_name=>'Fill Labels'\n,p_display_sequence=>1\n,p_list_template_id=>wwv_flow_api.id(55689493437009258719)\n,p_css_classes=>'t-Tabs--fillLabels'\n,p_group_id=>wwv_flow_api.id(55689486637703258713)\n,p_template_types=>'LIST'\n,p_help_text=>'Stretch tabs to fill to the width of the tabs container.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689493709867258719)\n,p_theme_id=>42\n,p_name=>'INLINE_WITH_LABEL'\n,p_display_name=>'Inline with Label'\n,p_display_sequence=>10\n,p_list_template_id=>wwv_flow_api.id(55689493437009258719)\n,p_css_classes=>'t-Tabs--inlineIcons'\n,p_group_id=>wwv_flow_api.id(55689489799265258715)\n,p_template_types=>'LIST'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689493848897258719)\n,p_theme_id=>42\n,p_name=>'LARGE'\n,p_display_name=>'Large'\n,p_display_sequence=>10\n,p_list_template_id=>wwv_flow_api.id(55689493437009258719)\n,p_css_classes=>'t-Tabs--large'\n,p_group_id=>wwv_flow_api.id(55689492013423258717)\n,p_template_types=>'LIST'\n,p_help_text=>'Increases font size and white space around tab items.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689493965018258719)\n,p_theme_id=>42\n,p_name=>'PILL'\n,p_display_name=>'Pill'\n,p_display_sequence=>20\n,p_list_template_id=>wwv_flow_api.id(55689493437009258719)\n,p_css_classes=>'t-Tabs--pill'\n,p_group_id=>wwv_flow_api.id(55689489120604258714)\n,p_template_types=>'LIST'\n,p_help_text=>'Displays tabs in a pill container.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689494064789258719)\n,p_theme_id=>42\n,p_name=>'SIMPLE'\n,p_display_name=>'Simple'\n,p_display_sequence=>10\n,p_list_template_id=>wwv_flow_api.id(55689493437009258719)\n,p_css_classes=>'t-Tabs--simple'\n,p_group_id=>wwv_flow_api.id(55689489120604258714)\n,p_template_types=>'LIST'\n,p_help_text=>'A very simplistic tab UI.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689494113003258719)\n,p_theme_id=>42\n,p_name=>'SMALL'\n,p_display_name=>'Small'\n,p_display_sequence=>5\n,p_list_template_id=>wwv_flow_api.id(55689493437009258719)\n,p_css_classes=>'t-Tabs--small'\n,p_group_id=>wwv_flow_api.id(55689492013423258717)\n,p_template_types=>'LIST'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689494310472258720)\n,p_theme_id=>42\n,p_name=>'ADD_ACTIONS'\n,p_display_name=>'Add Actions'\n,p_display_sequence=>1\n,p_list_template_id=>wwv_flow_api.id(55689494277853258719)\n,p_css_classes=>'js-addActions'\n,p_template_types=>'LIST'\n,p_help_text=>'Use this option to add shortcuts for menu items. Note that actions.js must be included on your page to support this functionality.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689494476698258720)\n,p_theme_id=>42\n,p_name=>'BEHAVE_LIKE_TABS'\n,p_display_name=>'Behave Like Tabs'\n,p_display_sequence=>1\n,p_list_template_id=>wwv_flow_api.id(55689494277853258719)\n,p_css_classes=>'js-tabLike'\n,p_template_types=>'LIST'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689494507089258720)\n,p_theme_id=>42\n,p_name=>'ENABLE_SLIDE_ANIMATION'\n,p_display_name=>'Enable Slide Animation'\n,p_display_sequence=>1\n,p_list_template_id=>wwv_flow_api.id(55689494277853258719)\n,p_css_classes=>'js-slide'\n,p_template_types=>'LIST'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689494695800258720)\n,p_theme_id=>42\n,p_name=>'SHOW_SUB_MENU_ICONS'\n,p_display_name=>'Show Sub Menu Icons'\n,p_display_sequence=>1\n,p_list_template_id=>wwv_flow_api.id(55689494277853258719)\n,p_css_classes=>'js-showSubMenuIcons'\n,p_template_types=>'LIST'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689494932200258720)\n,p_theme_id=>42\n,p_name=>'ALLSTEPS'\n,p_display_name=>'All Steps'\n,p_display_sequence=>10\n,p_list_template_id=>wwv_flow_api.id(55689494753681258720)\n,p_css_classes=>'t-WizardSteps--displayLabels'\n,p_group_id=>wwv_flow_api.id(55689494812811258720)\n,p_template_types=>'LIST'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689495052823258720)\n,p_theme_id=>42\n,p_name=>'CURRENTSTEPONLY'\n,p_display_name=>'Current Step Only'\n,p_display_sequence=>20\n,p_list_template_id=>wwv_flow_api.id(55689494753681258720)\n,p_css_classes=>'t-WizardSteps--displayCurrentLabelOnly'\n,p_group_id=>wwv_flow_api.id(55689494812811258720)\n,p_template_types=>'LIST'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689495113350258720)\n,p_theme_id=>42\n,p_name=>'HIDELABELS'\n,p_display_name=>'Hide Labels'\n,p_display_sequence=>30\n,p_list_template_id=>wwv_flow_api.id(55689494753681258720)\n,p_css_classes=>'t-WizardSteps--hideLabels'\n,p_group_id=>wwv_flow_api.id(55689494812811258720)\n,p_template_types=>'LIST'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689495223822258720)\n,p_theme_id=>42\n,p_name=>'VERTICAL_LIST'\n,p_display_name=>'Vertical Orientation'\n,p_display_sequence=>10\n,p_list_template_id=>wwv_flow_api.id(55689494753681258720)\n,p_css_classes=>'t-WizardSteps--vertical'\n,p_template_types=>'LIST'\n,p_help_text=>'Displays the wizard progress list in a vertical orientation and is suitable for displaying within a side column of a page.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689496288802258723)\n,p_theme_id=>42\n,p_name=>'LEFTICON'\n,p_display_name=>'Left'\n,p_display_sequence=>10\n,p_button_template_id=>wwv_flow_api.id(55689496010438258723)\n,p_css_classes=>'t-Button--iconLeft'\n,p_group_id=>wwv_flow_api.id(55689496182448258723)\n,p_template_types=>'BUTTON'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689496356317258723)\n,p_theme_id=>42\n,p_name=>'RIGHTICON'\n,p_display_name=>'Right'\n,p_display_sequence=>20\n,p_button_template_id=>wwv_flow_api.id(55689496010438258723)\n,p_css_classes=>'t-Button--iconRight'\n,p_group_id=>wwv_flow_api.id(55689496182448258723)\n,p_template_types=>'BUTTON'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689497435359258731)\n,p_theme_id=>42\n,p_name=>'FBM_LARGE'\n,p_display_name=>'Large'\n,p_display_sequence=>40\n,p_css_classes=>'margin-bottom-lg'\n,p_group_id=>wwv_flow_api.id(55689497307858258731)\n,p_template_types=>'FIELD'\n,p_help_text=>'Adds a large bottom margin for this field.'\n);\nend;\n/\nbegin\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689497699271258731)\n,p_theme_id=>42\n,p_name=>'RBM_LARGE'\n,p_display_name=>'Large'\n,p_display_sequence=>40\n,p_css_classes=>'margin-bottom-lg'\n,p_group_id=>wwv_flow_api.id(55689497544650258731)\n,p_template_types=>'REGION'\n,p_help_text=>'Adds a large bottom margin to the region.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689497702772258731)\n,p_theme_id=>42\n,p_name=>'FBM_MEDIUM'\n,p_display_name=>'Medium'\n,p_display_sequence=>30\n,p_css_classes=>'margin-bottom-md'\n,p_group_id=>wwv_flow_api.id(55689497307858258731)\n,p_template_types=>'FIELD'\n,p_help_text=>'Adds a medium bottom margin for this field.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689497874733258731)\n,p_theme_id=>42\n,p_name=>'RBM_MEDIUM'\n,p_display_name=>'Medium'\n,p_display_sequence=>30\n,p_css_classes=>'margin-bottom-md'\n,p_group_id=>wwv_flow_api.id(55689497544650258731)\n,p_template_types=>'REGION'\n,p_help_text=>'Adds a medium bottom margin to the region.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689497996224258731)\n,p_theme_id=>42\n,p_name=>'FBM_NONE'\n,p_display_name=>'None'\n,p_display_sequence=>10\n,p_css_classes=>'margin-bottom-none'\n,p_group_id=>wwv_flow_api.id(55689497307858258731)\n,p_template_types=>'FIELD'\n,p_help_text=>'Removes the bottom margin for this field.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689498083451258731)\n,p_theme_id=>42\n,p_name=>'RBM_NONE'\n,p_display_name=>'None'\n,p_display_sequence=>10\n,p_css_classes=>'margin-bottom-none'\n,p_group_id=>wwv_flow_api.id(55689497544650258731)\n,p_template_types=>'REGION'\n,p_help_text=>'Removes the bottom margin for this region.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689498148476258731)\n,p_theme_id=>42\n,p_name=>'FBM_SMALL'\n,p_display_name=>'Small'\n,p_display_sequence=>20\n,p_css_classes=>'margin-bottom-sm'\n,p_group_id=>wwv_flow_api.id(55689497307858258731)\n,p_template_types=>'FIELD'\n,p_help_text=>'Adds a small bottom margin for this field.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689498271930258731)\n,p_theme_id=>42\n,p_name=>'RBM_SMALL'\n,p_display_name=>'Small'\n,p_display_sequence=>20\n,p_css_classes=>'margin-bottom-sm'\n,p_group_id=>wwv_flow_api.id(55689497544650258731)\n,p_template_types=>'REGION'\n,p_help_text=>'Adds a small bottom margin to the region.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689498477383258731)\n,p_theme_id=>42\n,p_name=>'FLM_LARGE'\n,p_display_name=>'Large'\n,p_display_sequence=>40\n,p_css_classes=>'margin-left-lg'\n,p_group_id=>wwv_flow_api.id(55689498325554258731)\n,p_template_types=>'FIELD'\n,p_help_text=>'Adds a large left margin for this field.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689498661638258731)\n,p_theme_id=>42\n,p_name=>'RLM_LARGE'\n,p_display_name=>'Large'\n,p_display_sequence=>40\n,p_css_classes=>'margin-left-lg'\n,p_group_id=>wwv_flow_api.id(55689498575491258731)\n,p_template_types=>'REGION'\n,p_help_text=>'Adds a large right margin to the region.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689498716282258731)\n,p_theme_id=>42\n,p_name=>'FLM_MEDIUM'\n,p_display_name=>'Medium'\n,p_display_sequence=>30\n,p_css_classes=>'margin-left-md'\n,p_group_id=>wwv_flow_api.id(55689498325554258731)\n,p_template_types=>'FIELD'\n,p_help_text=>'Adds a medium left margin for this field.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689498872360258731)\n,p_theme_id=>42\n,p_name=>'RLM_MEDIUM'\n,p_display_name=>'Medium'\n,p_display_sequence=>30\n,p_css_classes=>'margin-left-md'\n,p_group_id=>wwv_flow_api.id(55689498575491258731)\n,p_template_types=>'REGION'\n,p_help_text=>'Adds a medium right margin to the region.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689498966997258731)\n,p_theme_id=>42\n,p_name=>'FLM_NONE'\n,p_display_name=>'None'\n,p_display_sequence=>10\n,p_css_classes=>'margin-left-none'\n,p_group_id=>wwv_flow_api.id(55689498325554258731)\n,p_template_types=>'FIELD'\n,p_help_text=>'Removes the left margin for this field.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689499064861258731)\n,p_theme_id=>42\n,p_name=>'RLM_NONE'\n,p_display_name=>'None'\n,p_display_sequence=>10\n,p_css_classes=>'margin-left-none'\n,p_group_id=>wwv_flow_api.id(55689498575491258731)\n,p_template_types=>'REGION'\n,p_help_text=>'Removes the left margin from the region.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689499193030258731)\n,p_theme_id=>42\n,p_name=>'FLM_SMALL'\n,p_display_name=>'Small'\n,p_display_sequence=>20\n,p_css_classes=>'margin-left-sm'\n,p_group_id=>wwv_flow_api.id(55689498325554258731)\n,p_template_types=>'FIELD'\n,p_help_text=>'Adds a small left margin for this field.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689499299441258732)\n,p_theme_id=>42\n,p_name=>'RLM_SMALL'\n,p_display_name=>'Small'\n,p_display_sequence=>20\n,p_css_classes=>'margin-left-sm'\n,p_group_id=>wwv_flow_api.id(55689498575491258731)\n,p_template_types=>'REGION'\n,p_help_text=>'Adds a small left margin to the region.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689499440141258732)\n,p_theme_id=>42\n,p_name=>'FRM_LARGE'\n,p_display_name=>'Large'\n,p_display_sequence=>40\n,p_css_classes=>'margin-right-lg'\n,p_group_id=>wwv_flow_api.id(55689499302592258732)\n,p_template_types=>'FIELD'\n,p_help_text=>'Adds a large right margin for this field.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689499645160258732)\n,p_theme_id=>42\n,p_name=>'RRM_LARGE'\n,p_display_name=>'Large'\n,p_display_sequence=>40\n,p_css_classes=>'margin-right-lg'\n,p_group_id=>wwv_flow_api.id(55689499511073258732)\n,p_template_types=>'REGION'\n,p_help_text=>'Adds a large right margin to the region.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689499745694258732)\n,p_theme_id=>42\n,p_name=>'FRM_MEDIUM'\n,p_display_name=>'Medium'\n,p_display_sequence=>30\n,p_css_classes=>'margin-right-md'\n,p_group_id=>wwv_flow_api.id(55689499302592258732)\n,p_template_types=>'FIELD'\n,p_help_text=>'Adds a medium right margin for this field.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689499885913258732)\n,p_theme_id=>42\n,p_name=>'RRM_MEDIUM'\n,p_display_name=>'Medium'\n,p_display_sequence=>30\n,p_css_classes=>'margin-right-md'\n,p_group_id=>wwv_flow_api.id(55689499511073258732)\n,p_template_types=>'REGION'\n,p_help_text=>'Adds a medium right margin to the region.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689499979656258732)\n,p_theme_id=>42\n,p_name=>'FRM_NONE'\n,p_display_name=>'None'\n,p_display_sequence=>10\n,p_css_classes=>'margin-right-none'\n,p_group_id=>wwv_flow_api.id(55689499302592258732)\n,p_template_types=>'FIELD'\n,p_help_text=>'Removes the right margin for this field.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689500043619258732)\n,p_theme_id=>42\n,p_name=>'RRM_NONE'\n,p_display_name=>'None'\n,p_display_sequence=>10\n,p_css_classes=>'margin-right-none'\n,p_group_id=>wwv_flow_api.id(55689499511073258732)\n,p_template_types=>'REGION'\n,p_help_text=>'Removes the right margin from the region.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689500143501258732)\n,p_theme_id=>42\n,p_name=>'FRM_SMALL'\n,p_display_name=>'Small'\n,p_display_sequence=>20\n,p_css_classes=>'margin-right-sm'\n,p_group_id=>wwv_flow_api.id(55689499302592258732)\n,p_template_types=>'FIELD'\n,p_help_text=>'Adds a small right margin for this field.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689500208190258732)\n,p_theme_id=>42\n,p_name=>'RRM_SMALL'\n,p_display_name=>'Small'\n,p_display_sequence=>20\n,p_css_classes=>'margin-right-sm'\n,p_group_id=>wwv_flow_api.id(55689499511073258732)\n,p_template_types=>'REGION'\n,p_help_text=>'Adds a small right margin to the region.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689500440658258733)\n,p_theme_id=>42\n,p_name=>'FTM_LARGE'\n,p_display_name=>'Large'\n,p_display_sequence=>40\n,p_css_classes=>'margin-top-lg'\n,p_group_id=>wwv_flow_api.id(55689500323941258733)\n,p_template_types=>'FIELD'\n,p_help_text=>'Adds a large top margin for this field.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689500661574258733)\n,p_theme_id=>42\n,p_name=>'RTM_LARGE'\n,p_display_name=>'Large'\n,p_display_sequence=>40\n,p_css_classes=>'margin-top-lg'\n,p_group_id=>wwv_flow_api.id(55689500511677258733)\n,p_template_types=>'REGION'\n,p_help_text=>'Adds a large top margin to the region.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689500728837258733)\n,p_theme_id=>42\n,p_name=>'FTM_MEDIUM'\n,p_display_name=>'Medium'\n,p_display_sequence=>30\n,p_css_classes=>'margin-top-md'\n,p_group_id=>wwv_flow_api.id(55689500323941258733)\n,p_template_types=>'FIELD'\n,p_help_text=>'Adds a medium top margin for this field.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689500803793258733)\n,p_theme_id=>42\n,p_name=>'RTM_MEDIUM'\n,p_display_name=>'Medium'\n,p_display_sequence=>30\n,p_css_classes=>'margin-top-md'\n,p_group_id=>wwv_flow_api.id(55689500511677258733)\n,p_template_types=>'REGION'\n,p_help_text=>'Adds a medium top margin to the region.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689500956175258733)\n,p_theme_id=>42\n,p_name=>'FTM_NONE'\n,p_display_name=>'None'\n,p_display_sequence=>10\n,p_css_classes=>'margin-top-none'\n,p_group_id=>wwv_flow_api.id(55689500323941258733)\n,p_template_types=>'FIELD'\n,p_help_text=>'Removes the top margin for this field.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689501040159258733)\n,p_theme_id=>42\n,p_name=>'RTM_NONE'\n,p_display_name=>'None'\n,p_display_sequence=>10\n,p_css_classes=>'margin-top-none'\n,p_group_id=>wwv_flow_api.id(55689500511677258733)\n,p_template_types=>'REGION'\n,p_help_text=>'Removes the top margin for this region.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689501183055258733)\n,p_theme_id=>42\n,p_name=>'FTM_SMALL'\n,p_display_name=>'Small'\n,p_display_sequence=>20\n,p_css_classes=>'margin-top-sm'\n,p_group_id=>wwv_flow_api.id(55689500323941258733)\n,p_template_types=>'FIELD'\n,p_help_text=>'Adds a small top margin for this field.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689501224247258733)\n,p_theme_id=>42\n,p_name=>'RTM_SMALL'\n,p_display_name=>'Small'\n,p_display_sequence=>20\n,p_css_classes=>'margin-top-sm'\n,p_group_id=>wwv_flow_api.id(55689500511677258733)\n,p_template_types=>'REGION'\n,p_help_text=>'Adds a small top margin to the region.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689501449991258733)\n,p_theme_id=>42\n,p_name=>'DANGER'\n,p_display_name=>'Danger'\n,p_display_sequence=>30\n,p_css_classes=>'t-Button--danger'\n,p_group_id=>wwv_flow_api.id(55689501373876258733)\n,p_template_types=>'BUTTON'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689501638129258733)\n,p_theme_id=>42\n,p_name=>'LARGEBOTTOMMARGIN'\n,p_display_name=>'Large'\n,p_display_sequence=>20\n,p_css_classes=>'t-Button--gapBottom'\n,p_group_id=>wwv_flow_api.id(55689501533043258733)\n,p_template_types=>'BUTTON'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689501806308258733)\n,p_theme_id=>42\n,p_name=>'LARGELEFTMARGIN'\n,p_display_name=>'Large'\n,p_display_sequence=>20\n,p_css_classes=>'t-Button--gapLeft'\n,p_group_id=>wwv_flow_api.id(55689501733083258733)\n,p_template_types=>'BUTTON'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689502064452258733)\n,p_theme_id=>42\n,p_name=>'LARGERIGHTMARGIN'\n,p_display_name=>'Large'\n,p_display_sequence=>20\n,p_css_classes=>'t-Button--gapRight'\n,p_group_id=>wwv_flow_api.id(55689501960171258733)\n,p_template_types=>'BUTTON'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689502295002258733)\n,p_theme_id=>42\n,p_name=>'LARGETOPMARGIN'\n,p_display_name=>'Large'\n,p_display_sequence=>20\n,p_css_classes=>'t-Button--gapTop'\n,p_group_id=>wwv_flow_api.id(55689502142741258733)\n,p_template_types=>'BUTTON'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689502473316258734)\n,p_theme_id=>42\n,p_name=>'LARGE'\n,p_display_name=>'Large'\n,p_display_sequence=>30\n,p_css_classes=>'t-Button--large'\n,p_group_id=>wwv_flow_api.id(55689502378391258734)\n,p_template_types=>'BUTTON'\n,p_help_text=>'A large button.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689502618618258734)\n,p_theme_id=>42\n,p_name=>'DISPLAY_AS_LINK'\n,p_display_name=>'Display as Link'\n,p_display_sequence=>30\n,p_css_classes=>'t-Button--link'\n,p_group_id=>wwv_flow_api.id(55689502533745258734)\n,p_template_types=>'BUTTON'\n,p_help_text=>'This option makes the button appear as a text link.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689502786174258734)\n,p_theme_id=>42\n,p_name=>'NOUI'\n,p_display_name=>'Remove UI Decoration'\n,p_display_sequence=>20\n,p_css_classes=>'t-Button--noUI'\n,p_group_id=>wwv_flow_api.id(55689502533745258734)\n,p_template_types=>'BUTTON'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689502875486258734)\n,p_theme_id=>42\n,p_name=>'SMALLBOTTOMMARGIN'\n,p_display_name=>'Small'\n,p_display_sequence=>10\n,p_css_classes=>'t-Button--padBottom'\n,p_group_id=>wwv_flow_api.id(55689501533043258733)\n,p_template_types=>'BUTTON'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689502903955258734)\n,p_theme_id=>42\n,p_name=>'SMALLLEFTMARGIN'\n,p_display_name=>'Small'\n,p_display_sequence=>10\n,p_css_classes=>'t-Button--padLeft'\n,p_group_id=>wwv_flow_api.id(55689501733083258733)\n,p_template_types=>'BUTTON'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689503063770258734)\n,p_theme_id=>42\n,p_name=>'SMALLRIGHTMARGIN'\n,p_display_name=>'Small'\n,p_display_sequence=>10\n,p_css_classes=>'t-Button--padRight'\n,p_group_id=>wwv_flow_api.id(55689501960171258733)\n,p_template_types=>'BUTTON'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689503165213258734)\n,p_theme_id=>42\n,p_name=>'SMALLTOPMARGIN'\n,p_display_name=>'Small'\n,p_display_sequence=>10\n,p_css_classes=>'t-Button--padTop'\n,p_group_id=>wwv_flow_api.id(55689502142741258733)\n,p_template_types=>'BUTTON'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689503333586258734)\n,p_theme_id=>42\n,p_name=>'PILL'\n,p_display_name=>'Inner Button'\n,p_display_sequence=>20\n,p_css_classes=>'t-Button--pill'\n,p_group_id=>wwv_flow_api.id(55689503274223258734)\n,p_template_types=>'BUTTON'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689503452390258734)\n,p_theme_id=>42\n,p_name=>'PILLEND'\n,p_display_name=>'Last Button'\n,p_display_sequence=>30\n,p_css_classes=>'t-Button--pillEnd'\n,p_group_id=>wwv_flow_api.id(55689503274223258734)\n,p_template_types=>'BUTTON'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689503590336258734)\n,p_theme_id=>42\n,p_name=>'PILLSTART'\n,p_display_name=>'First Button'\n,p_display_sequence=>10\n,p_css_classes=>'t-Button--pillStart'\n,p_group_id=>wwv_flow_api.id(55689503274223258734)\n,p_template_types=>'BUTTON'\n,p_help_text=>'Use this for the start of a pill button.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689503686552258734)\n,p_theme_id=>42\n,p_name=>'PRIMARY'\n,p_display_name=>'Primary'\n,p_display_sequence=>10\n,p_css_classes=>'t-Button--primary'\n,p_group_id=>wwv_flow_api.id(55689501373876258733)\n,p_template_types=>'BUTTON'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689503778086258734)\n,p_theme_id=>42\n,p_name=>'SIMPLE'\n,p_display_name=>'Simple'\n,p_display_sequence=>10\n,p_css_classes=>'t-Button--simple'\n,p_group_id=>wwv_flow_api.id(55689502533745258734)\n,p_template_types=>'BUTTON'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689503858946258734)\n,p_theme_id=>42\n,p_name=>'SMALL'\n,p_display_name=>'Small'\n,p_display_sequence=>20\n,p_css_classes=>'t-Button--small'\n,p_group_id=>wwv_flow_api.id(55689502378391258734)\n,p_template_types=>'BUTTON'\n,p_help_text=>'A small button.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689504093343258734)\n,p_theme_id=>42\n,p_name=>'STRETCH'\n,p_display_name=>'Stretch'\n,p_display_sequence=>10\n,p_css_classes=>'t-Button--stretch'\n,p_group_id=>wwv_flow_api.id(55689503963608258734)\n,p_template_types=>'BUTTON'\n,p_help_text=>'Stretches button to fill container'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689504149276258734)\n,p_theme_id=>42\n,p_name=>'SUCCESS'\n,p_display_name=>'Success'\n,p_display_sequence=>40\n,p_css_classes=>'t-Button--success'\n,p_group_id=>wwv_flow_api.id(55689501373876258733)\n,p_template_types=>'BUTTON'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689504282030258734)\n,p_theme_id=>42\n,p_name=>'TINY'\n,p_display_name=>'Tiny'\n,p_display_sequence=>10\n,p_css_classes=>'t-Button--tiny'\n,p_group_id=>wwv_flow_api.id(55689502378391258734)\n,p_template_types=>'BUTTON'\n,p_help_text=>'A very small button.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689504391086258734)\n,p_theme_id=>42\n,p_name=>'WARNING'\n,p_display_name=>'Warning'\n,p_display_sequence=>20\n,p_css_classes=>'t-Button--warning'\n,p_group_id=>wwv_flow_api.id(55689501373876258733)\n,p_template_types=>'BUTTON'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689504516392258735)\n,p_theme_id=>42\n,p_name=>'SHOWFORMLABELSABOVE'\n,p_display_name=>'Show Form Labels Above'\n,p_display_sequence=>10\n,p_css_classes=>'t-Form--labelsAbove'\n,p_group_id=>wwv_flow_api.id(55689504415903258735)\n,p_template_types=>'REGION'\n,p_help_text=>'Show form labels above input fields.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689504723642258735)\n,p_theme_id=>42\n,p_name=>'FORMSIZELARGE'\n,p_display_name=>'Large'\n,p_display_sequence=>10\n,p_css_classes=>'t-Form--large'\n,p_group_id=>wwv_flow_api.id(55689504664798258735)\n,p_template_types=>'REGION'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689504959997258735)\n,p_theme_id=>42\n,p_name=>'FORMLEFTLABELS'\n,p_display_name=>'Left'\n,p_display_sequence=>20\n,p_css_classes=>'t-Form--leftLabels'\n,p_group_id=>wwv_flow_api.id(55689504847276258735)\n,p_template_types=>'REGION'\n,p_help_text=>'Align form labels to left.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689505120302258735)\n,p_theme_id=>42\n,p_name=>'FORMREMOVEPADDING'\n,p_display_name=>'Remove Padding'\n,p_display_sequence=>20\n,p_css_classes=>'t-Form--noPadding'\n,p_group_id=>wwv_flow_api.id(55689505061219258735)\n,p_template_types=>'REGION'\n,p_help_text=>'Removes padding between items.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689505256268258735)\n,p_theme_id=>42\n,p_name=>'FORMSLIMPADDING'\n,p_display_name=>'Slim Padding'\n,p_display_sequence=>10\n,p_css_classes=>'t-Form--slimPadding'\n,p_group_id=>wwv_flow_api.id(55689505061219258735)\n,p_template_types=>'REGION'\n,p_help_text=>'Reduces form item padding to 4px.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689505414271258735)\n,p_theme_id=>42\n,p_name=>'STRETCH_FORM_FIELDS'\n,p_display_name=>'Stretch Form Fields'\n,p_display_sequence=>10\n,p_css_classes=>'t-Form--stretchInputs'\n,p_group_id=>wwv_flow_api.id(55689505378003258735)\n,p_template_types=>'REGION'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689505523961258735)\n,p_theme_id=>42\n,p_name=>'FORMSIZEXLARGE'\n,p_display_name=>'X Large'\n,p_display_sequence=>20\n,p_css_classes=>'t-Form--xlarge'\n,p_group_id=>wwv_flow_api.id(55689504664798258735)\n,p_template_types=>'REGION'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689505734355258735)\n,p_theme_id=>42\n,p_name=>'LARGE_FIELD'\n,p_display_name=>'Large'\n,p_display_sequence=>10\n,p_css_classes=>'t-Form-fieldContainer--large'\n,p_group_id=>wwv_flow_api.id(55689505675253258735)\n,p_template_types=>'FIELD'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689505974610258735)\n,p_theme_id=>42\n,p_name=>'POST_TEXT_BLOCK'\n,p_display_name=>'Display as Block'\n,p_display_sequence=>10\n,p_css_classes=>'t-Form-fieldContainer--postTextBlock'\n,p_group_id=>wwv_flow_api.id(55689505868848258735)\n,p_template_types=>'FIELD'\n,p_help_text=>'Displays the Item Post Text in a block style immediately after the item.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689506173461258736)\n,p_theme_id=>42\n,p_name=>'PRE_TEXT_BLOCK'\n,p_display_name=>'Display as Block'\n,p_display_sequence=>10\n,p_css_classes=>'t-Form-fieldContainer--preTextBlock'\n,p_group_id=>wwv_flow_api.id(55689506076222258736)\n,p_template_types=>'FIELD'\n,p_help_text=>'Displays the Item Pre Text in a block style immediately before the item.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689506399420258736)\n,p_theme_id=>42\n,p_name=>'DISPLAY_AS_PILL_BUTTON'\n,p_display_name=>'Display as Pill Button'\n,p_display_sequence=>10\n,p_css_classes=>'t-Form-fieldContainer--radioButtonGroup'\n,p_group_id=>wwv_flow_api.id(55689506266054258736)\n,p_template_types=>'FIELD'\n,p_help_text=>'Displays the radio buttons to look like a button set / pill button. Note that the the radio buttons must all be in the same row for this option to work.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689506406452258736)\n,p_theme_id=>42\n,p_name=>'STRETCH_FORM_ITEM'\n,p_display_name=>'Stretch Form Item'\n,p_display_sequence=>10\n,p_css_classes=>'t-Form-fieldContainer--stretchInputs'\n,p_template_types=>'FIELD'\n,p_help_text=>'Stretches the form item to fill its container.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55689506504782258736)\n,p_theme_id=>42\n,p_name=>'X_LARGE_SIZE'\n,p_display_name=>'X Large'\n,p_display_sequence=>20\n,p_css_classes=>'t-Form-fieldContainer--xlarge'\n,p_group_id=>wwv_flow_api.id(55689505675253258735)\n,p_template_types=>'FIELD'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55693439455428522470)\n,p_theme_id=>42\n,p_name=>'FIXED_LARGE'\n,p_display_name=>'Fixed - Large'\n,p_display_sequence=>30\n,p_report_template_id=>wwv_flow_api.id(55693439011091522468)\n,p_css_classes=>'t-AVPList--fixedLabelLarge'\n,p_group_id=>wwv_flow_api.id(55689484786760258710)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55693439878320522472)\n,p_theme_id=>42\n,p_name=>'FIXED_MEDIUM'\n,p_display_name=>'Fixed - Medium'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(55693439011091522468)\n,p_css_classes=>'t-AVPList--fixedLabelMedium'\n,p_group_id=>wwv_flow_api.id(55689484786760258710)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55693440229048522472)\n,p_theme_id=>42\n,p_name=>'FIXED_SMALL'\n,p_display_name=>'Fixed - Small'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(55693439011091522468)\n,p_css_classes=>'t-AVPList--fixedLabelSmall'\n,p_group_id=>wwv_flow_api.id(55689484786760258710)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55693440653018522473)\n,p_theme_id=>42\n,p_name=>'LEFT_ALIGNED_DETAILS'\n,p_display_name=>'Left Aligned Details'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(55693439011091522468)\n,p_css_classes=>'t-AVPList--leftAligned'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55693441071302522473)\n,p_theme_id=>42\n,p_name=>'RIGHT_ALIGNED_DETAILS'\n,p_display_name=>'Right Aligned Details'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(55693439011091522468)\n,p_css_classes=>'t-AVPList--rightAligned'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55693461461155522473)\n,p_theme_id=>42\n,p_name=>'VARIABLE_LARGE'\n,p_display_name=>'Variable - Large'\n,p_display_sequence=>60\n,p_report_template_id=>wwv_flow_api.id(55693439011091522468)\n,p_css_classes=>'t-AVPList--variableLabelLarge'\n,p_group_id=>wwv_flow_api.id(55689484786760258710)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55693461888107522473)\n,p_theme_id=>42\n,p_name=>'VARIABLE_MEDIUM'\n,p_display_name=>'Variable - Medium'\n,p_display_sequence=>50\n,p_report_template_id=>wwv_flow_api.id(55693439011091522468)\n,p_css_classes=>'t-AVPList--variableLabelMedium'\n,p_group_id=>wwv_flow_api.id(55689484786760258710)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55693462225316522474)\n,p_theme_id=>42\n,p_name=>'VARIABLE_SMALL'\n,p_display_name=>'Variable - Small'\n,p_display_sequence=>40\n,p_report_template_id=>wwv_flow_api.id(55693439011091522468)\n,p_css_classes=>'t-AVPList--variableLabelSmall'\n,p_group_id=>wwv_flow_api.id(55689484786760258710)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55905965543966512570)\n,p_theme_id=>42\n,p_name=>'FIXED_LARGE'\n,p_display_name=>'Fixed - Large'\n,p_display_sequence=>30\n,p_report_template_id=>wwv_flow_api.id(55905964705647512565)\n,p_css_classes=>'t-AVPList--fixedLabelLarge'\n,p_group_id=>wwv_flow_api.id(55689484786760258710)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55905966068513512571)\n,p_theme_id=>42\n,p_name=>'FIXED_MEDIUM'\n,p_display_name=>'Fixed - Medium'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(55905964705647512565)\n,p_css_classes=>'t-AVPList--fixedLabelMedium'\n,p_group_id=>wwv_flow_api.id(55689484786760258710)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55905966498088512572)\n,p_theme_id=>42\n,p_name=>'FIXED_SMALL'\n,p_display_name=>'Fixed - Small'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(55905964705647512565)\n,p_css_classes=>'t-AVPList--fixedLabelSmall'\n,p_group_id=>wwv_flow_api.id(55689484786760258710)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55905966827628512572)\n,p_theme_id=>42\n,p_name=>'LEFT_ALIGNED_DETAILS'\n,p_display_name=>'Left Aligned Details'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(55905964705647512565)\n,p_css_classes=>'t-AVPList--leftAligned'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55905967211298512572)\n,p_theme_id=>42\n,p_name=>'RIGHT_ALIGNED_DETAILS'\n,p_display_name=>'Right Aligned Details'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(55905964705647512565)\n,p_css_classes=>'t-AVPList--rightAligned'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55905967636567512573)\n,p_theme_id=>42\n,p_name=>'VARIABLE_LARGE'\n,p_display_name=>'Variable - Large'\n,p_display_sequence=>60\n,p_report_template_id=>wwv_flow_api.id(55905964705647512565)\n,p_css_classes=>'t-AVPList--variableLabelLarge'\n,p_group_id=>wwv_flow_api.id(55689484786760258710)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55905968150736512573)\n,p_theme_id=>42\n,p_name=>'VARIABLE_MEDIUM'\n,p_display_name=>'Variable - Medium'\n,p_display_sequence=>50\n,p_report_template_id=>wwv_flow_api.id(55905964705647512565)\n,p_css_classes=>'t-AVPList--variableLabelMedium'\n,p_group_id=>wwv_flow_api.id(55689484786760258710)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55905968575769512573)\n,p_theme_id=>42\n,p_name=>'VARIABLE_SMALL'\n,p_display_name=>'Variable - Small'\n,p_display_sequence=>40\n,p_report_template_id=>wwv_flow_api.id(55905964705647512565)\n,p_css_classes=>'t-AVPList--variableLabelSmall'\n,p_group_id=>wwv_flow_api.id(55689484786760258710)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55911170666814327358)\n,p_theme_id=>42\n,p_name=>'COMPACT'\n,p_display_name=>'Compact'\n,p_display_sequence=>1\n,p_report_template_id=>wwv_flow_api.id(55911169741861327352)\n,p_css_classes=>'t-Timeline--compact'\n,p_group_id=>wwv_flow_api.id(55689481277974258708)\n,p_template_types=>'REPORT'\n,p_help_text=>'Displays a compact version of timeline with smaller text and fewer columns.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55922557685768632092)\n,p_theme_id=>42\n,p_name=>'BASIC'\n,p_display_name=>'Basic'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(55922557049686632089)\n,p_css_classes=>'t-Comments--basic'\n,p_group_id=>wwv_flow_api.id(55689482728578258709)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55922558082970632093)\n,p_theme_id=>42\n,p_name=>'SPEECH_BUBBLES'\n,p_display_name=>'Speech Bubbles'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(55922557049686632089)\n,p_css_classes=>'t-Comments--chat'\n,p_group_id=>wwv_flow_api.id(55689482728578258709)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923070858268413658)\n,p_theme_id=>42\n,p_name=>'2_COLUMNS'\n,p_display_name=>'2 Columns'\n,p_display_sequence=>15\n,p_report_template_id=>wwv_flow_api.id(55923070163834413654)\n,p_css_classes=>'t-Cards--cols'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923081313864413659)\n,p_theme_id=>42\n,p_name=>'2_LINES'\n,p_display_name=>'2 Lines'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(55923070163834413654)\n,p_css_classes=>'t-Cards--desc-2ln'\n,p_group_id=>wwv_flow_api.id(55689480574404258707)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923081745130413660)\n,p_theme_id=>42\n,p_name=>'3_COLUMNS'\n,p_display_name=>'3 Columns'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(55923070163834413654)\n,p_css_classes=>'t-Cards--3cols'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923082203562413660)\n,p_theme_id=>42\n,p_name=>'3_LINES'\n,p_display_name=>'3 Lines'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(55923070163834413654)\n,p_css_classes=>'t-Cards--desc-3ln'\n,p_group_id=>wwv_flow_api.id(55689480574404258707)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923082610064413660)\n,p_theme_id=>42\n,p_name=>'4_COLUMNS'\n,p_display_name=>'4 Columns'\n,p_display_sequence=>30\n,p_report_template_id=>wwv_flow_api.id(55923070163834413654)\n,p_css_classes=>'t-Cards--4cols'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923083062227413660)\n,p_theme_id=>42\n,p_name=>'4_LINES'\n,p_display_name=>'4 Lines'\n,p_display_sequence=>30\n,p_report_template_id=>wwv_flow_api.id(55923070163834413654)\n,p_css_classes=>'t-Cards--desc-4ln'\n,p_group_id=>wwv_flow_api.id(55689480574404258707)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923083449571413660)\n,p_theme_id=>42\n,p_name=>'5_COLUMNS'\n,p_display_name=>'5 Columns'\n,p_display_sequence=>50\n,p_report_template_id=>wwv_flow_api.id(55923070163834413654)\n,p_css_classes=>'t-Cards--5cols'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923083920821413661)\n,p_theme_id=>42\n,p_name=>'BASIC'\n,p_display_name=>'Basic'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(55923070163834413654)\n,p_css_classes=>'t-Cards--basic'\n,p_group_id=>wwv_flow_api.id(55689481277974258708)\n,p_template_types=>'REPORT'\n);\nend;\n/\nbegin\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923084362500413662)\n,p_theme_id=>42\n,p_name=>'CARDS_COLOR_FILL'\n,p_display_name=>'Color Fill'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(55923070163834413654)\n,p_css_classes=>'t-Cards--animColorFill'\n,p_group_id=>wwv_flow_api.id(55689481441992258708)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923084710822413662)\n,p_theme_id=>42\n,p_name=>'CARD_RAISE_CARD'\n,p_display_name=>'Raise Card'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(55923070163834413654)\n,p_css_classes=>'t-Cards--animRaiseCard'\n,p_group_id=>wwv_flow_api.id(55689481441992258708)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923085123124413662)\n,p_theme_id=>42\n,p_name=>'COMPACT'\n,p_display_name=>'Compact'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(55923070163834413654)\n,p_css_classes=>'t-Cards--compact'\n,p_group_id=>wwv_flow_api.id(55689481277974258708)\n,p_template_types=>'REPORT'\n,p_help_text=>'Use this option when you want to show smaller cards.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923085690813413663)\n,p_theme_id=>42\n,p_name=>'DISPLAY_ICONS'\n,p_display_name=>'Display Icons'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(55923070163834413654)\n,p_css_classes=>'t-Cards--displayIcons'\n,p_group_id=>wwv_flow_api.id(55689481840449258708)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923086038285413663)\n,p_theme_id=>42\n,p_name=>'DISPLAY_INITIALS'\n,p_display_name=>'Display Initials'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(55923070163834413654)\n,p_css_classes=>'t-Cards--displayInitials'\n,p_group_id=>wwv_flow_api.id(55689481840449258708)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923086412418413663)\n,p_theme_id=>42\n,p_name=>'FEATURED'\n,p_display_name=>'Featured'\n,p_display_sequence=>30\n,p_report_template_id=>wwv_flow_api.id(55923070163834413654)\n,p_css_classes=>'t-Cards--featured'\n,p_group_id=>wwv_flow_api.id(55689481277974258708)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923086898298413663)\n,p_theme_id=>42\n,p_name=>'FLOAT'\n,p_display_name=>'Float'\n,p_display_sequence=>60\n,p_report_template_id=>wwv_flow_api.id(55923070163834413654)\n,p_css_classes=>'t-Cards--float'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923087281502413664)\n,p_theme_id=>42\n,p_name=>'HIDDEN_BODY_TEXT'\n,p_display_name=>'Hidden'\n,p_display_sequence=>50\n,p_report_template_id=>wwv_flow_api.id(55923070163834413654)\n,p_css_classes=>'t-Cards--hideBody'\n,p_group_id=>wwv_flow_api.id(55689480574404258707)\n,p_template_types=>'REPORT'\n,p_help_text=>'This option hides the card body which contains description and subtext.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923087689596413664)\n,p_theme_id=>42\n,p_name=>'SPAN_HORIZONTALLY'\n,p_display_name=>'Span Horizontally'\n,p_display_sequence=>70\n,p_report_template_id=>wwv_flow_api.id(55923070163834413654)\n,p_css_classes=>'t-Cards--spanHorizontally'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923088102529413664)\n,p_theme_id=>42\n,p_name=>'USE_THEME_COLORS'\n,p_display_name=>'Apply Theme Colors'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(55923070163834413654)\n,p_css_classes=>'u-colors'\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923419876519416641)\n,p_theme_id=>42\n,p_name=>'128PX'\n,p_display_name=>'128px'\n,p_display_sequence=>50\n,p_report_template_id=>wwv_flow_api.id(55923419440928416640)\n,p_css_classes=>'t-BadgeList--xxlarge'\n,p_group_id=>wwv_flow_api.id(55689478772313258705)\n,p_template_types=>'REPORT'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923420398963416641)\n,p_theme_id=>42\n,p_name=>'2COLUMNGRID'\n,p_display_name=>'2 Column Grid'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(55923419440928416640)\n,p_css_classes=>'t-BadgeList--cols'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n,p_help_text=>'Arrange badges in a two column grid'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923420715747416642)\n,p_theme_id=>42\n,p_name=>'32PX'\n,p_display_name=>'32px'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(55923419440928416640)\n,p_css_classes=>'t-BadgeList--small'\n,p_group_id=>wwv_flow_api.id(55689478772313258705)\n,p_template_types=>'REPORT'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923421154725416642)\n,p_theme_id=>42\n,p_name=>'3COLUMNGRID'\n,p_display_name=>'3 Column Grid'\n,p_display_sequence=>30\n,p_report_template_id=>wwv_flow_api.id(55923419440928416640)\n,p_css_classes=>'t-BadgeList--cols t-BadgeList--3cols'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n,p_help_text=>'Arrange badges in a 3 column grid'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923431557883416642)\n,p_theme_id=>42\n,p_name=>'48PX'\n,p_display_name=>'48px'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(55923419440928416640)\n,p_css_classes=>'t-BadgeList--medium'\n,p_group_id=>wwv_flow_api.id(55689478772313258705)\n,p_template_types=>'REPORT'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923431900886416642)\n,p_theme_id=>42\n,p_name=>'4COLUMNGRID'\n,p_display_name=>'4 Column Grid'\n,p_display_sequence=>40\n,p_report_template_id=>wwv_flow_api.id(55923419440928416640)\n,p_css_classes=>'t-BadgeList--cols t-BadgeList--4cols'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923432308978416643)\n,p_theme_id=>42\n,p_name=>'5COLUMNGRID'\n,p_display_name=>'5 Column Grid'\n,p_display_sequence=>50\n,p_report_template_id=>wwv_flow_api.id(55923419440928416640)\n,p_css_classes=>'t-BadgeList--cols t-BadgeList--5cols'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923432780700416643)\n,p_theme_id=>42\n,p_name=>'64PX'\n,p_display_name=>'64px'\n,p_display_sequence=>30\n,p_report_template_id=>wwv_flow_api.id(55923419440928416640)\n,p_css_classes=>'t-BadgeList--large'\n,p_group_id=>wwv_flow_api.id(55689478772313258705)\n,p_template_types=>'REPORT'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923433192983416643)\n,p_theme_id=>42\n,p_name=>'96PX'\n,p_display_name=>'96px'\n,p_display_sequence=>40\n,p_report_template_id=>wwv_flow_api.id(55923419440928416640)\n,p_css_classes=>'t-BadgeList--xlarge'\n,p_group_id=>wwv_flow_api.id(55689478772313258705)\n,p_template_types=>'REPORT'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923433579075416643)\n,p_theme_id=>42\n,p_name=>'FIXED'\n,p_display_name=>'Span Horizontally'\n,p_display_sequence=>60\n,p_report_template_id=>wwv_flow_api.id(55923419440928416640)\n,p_css_classes=>'t-BadgeList--fixed'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923434064118416643)\n,p_theme_id=>42\n,p_name=>'FLEXIBLEBOX'\n,p_display_name=>'Flexible Box'\n,p_display_sequence=>80\n,p_report_template_id=>wwv_flow_api.id(55923419440928416640)\n,p_css_classes=>'t-BadgeList--flex'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923434454632416644)\n,p_theme_id=>42\n,p_name=>'FLOATITEMS'\n,p_display_name=>'Float Items'\n,p_display_sequence=>70\n,p_report_template_id=>wwv_flow_api.id(55923419440928416640)\n,p_css_classes=>'t-BadgeList--float'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923434858695416644)\n,p_theme_id=>42\n,p_name=>'RESPONSIVE'\n,p_display_name=>'Responsive'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(55923419440928416640)\n,p_css_classes=>'t-BadgeList--responsive'\n,p_template_types=>'REPORT'\n,p_help_text=>'Automatically resize badges to smaller sizes as screen becomes smaller.'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(55923435296736416644)\n,p_theme_id=>42\n,p_name=>'STACKED'\n,p_display_name=>'Stacked'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(55923419440928416640)\n,p_css_classes=>'t-BadgeList--stacked'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n,p_is_advanced=>'N'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56210270899154389649)\n,p_theme_id=>42\n,p_name=>'2_COLUMNS'\n,p_display_name=>'2 Columns'\n,p_display_sequence=>15\n,p_report_template_id=>wwv_flow_api.id(56210270446698389648)\n,p_css_classes=>'t-Cards--cols'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56210291260593389650)\n,p_theme_id=>42\n,p_name=>'2_LINES'\n,p_display_name=>'2 Lines'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(56210270446698389648)\n,p_css_classes=>'t-Cards--desc-2ln'\n,p_group_id=>wwv_flow_api.id(55689480574404258707)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56210291626134389651)\n,p_theme_id=>42\n,p_name=>'3_COLUMNS'\n,p_display_name=>'3 Columns'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(56210270446698389648)\n,p_css_classes=>'t-Cards--3cols'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56210292020539389651)\n,p_theme_id=>42\n,p_name=>'3_LINES'\n,p_display_name=>'3 Lines'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(56210270446698389648)\n,p_css_classes=>'t-Cards--desc-3ln'\n,p_group_id=>wwv_flow_api.id(55689480574404258707)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56210292464344389651)\n,p_theme_id=>42\n,p_name=>'4_COLUMNS'\n,p_display_name=>'4 Columns'\n,p_display_sequence=>30\n,p_report_template_id=>wwv_flow_api.id(56210270446698389648)\n,p_css_classes=>'t-Cards--4cols'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56210292827355389651)\n,p_theme_id=>42\n,p_name=>'4_LINES'\n,p_display_name=>'4 Lines'\n,p_display_sequence=>30\n,p_report_template_id=>wwv_flow_api.id(56210270446698389648)\n,p_css_classes=>'t-Cards--desc-4ln'\n,p_group_id=>wwv_flow_api.id(55689480574404258707)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56210293298174389652)\n,p_theme_id=>42\n,p_name=>'5_COLUMNS'\n,p_display_name=>'5 Columns'\n,p_display_sequence=>50\n,p_report_template_id=>wwv_flow_api.id(56210270446698389648)\n,p_css_classes=>'t-Cards--5cols'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56210293639816389652)\n,p_theme_id=>42\n,p_name=>'BASIC'\n,p_display_name=>'Basic'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(56210270446698389648)\n,p_css_classes=>'t-Cards--basic'\n,p_group_id=>wwv_flow_api.id(55689481277974258708)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56210294070233389653)\n,p_theme_id=>42\n,p_name=>'CARDS_COLOR_FILL'\n,p_display_name=>'Color Fill'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(56210270446698389648)\n,p_css_classes=>'t-Cards--animColorFill'\n,p_group_id=>wwv_flow_api.id(55689481441992258708)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56210294466452389653)\n,p_theme_id=>42\n,p_name=>'CARD_RAISE_CARD'\n,p_display_name=>'Raise Card'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(56210270446698389648)\n,p_css_classes=>'t-Cards--animRaiseCard'\n,p_group_id=>wwv_flow_api.id(55689481441992258708)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56210294846506389653)\n,p_theme_id=>42\n,p_name=>'COMPACT'\n,p_display_name=>'Compact'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(56210270446698389648)\n,p_css_classes=>'t-Cards--compact'\n,p_group_id=>wwv_flow_api.id(55689481277974258708)\n,p_template_types=>'REPORT'\n,p_help_text=>'Use this option when you want to show smaller cards.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56210295271782389653)\n,p_theme_id=>42\n,p_name=>'DISPLAY_ICONS'\n,p_display_name=>'Display Icons'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(56210270446698389648)\n,p_css_classes=>'t-Cards--displayIcons'\n,p_group_id=>wwv_flow_api.id(55689481840449258708)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56210295697719389654)\n,p_theme_id=>42\n,p_name=>'DISPLAY_INITIALS'\n,p_display_name=>'Display Initials'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(56210270446698389648)\n,p_css_classes=>'t-Cards--displayInitials'\n,p_group_id=>wwv_flow_api.id(55689481840449258708)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56210296062954389654)\n,p_theme_id=>42\n,p_name=>'FEATURED'\n,p_display_name=>'Featured'\n,p_display_sequence=>30\n,p_report_template_id=>wwv_flow_api.id(56210270446698389648)\n,p_css_classes=>'t-Cards--featured'\n,p_group_id=>wwv_flow_api.id(55689481277974258708)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56210296436926389654)\n,p_theme_id=>42\n,p_name=>'FLOAT'\n,p_display_name=>'Float'\n,p_display_sequence=>60\n,p_report_template_id=>wwv_flow_api.id(56210270446698389648)\n,p_css_classes=>'t-Cards--float'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56210296869583389654)\n,p_theme_id=>42\n,p_name=>'HIDDEN_BODY_TEXT'\n,p_display_name=>'Hidden'\n,p_display_sequence=>50\n,p_report_template_id=>wwv_flow_api.id(56210270446698389648)\n,p_css_classes=>'t-Cards--hideBody'\n,p_group_id=>wwv_flow_api.id(55689480574404258707)\n,p_template_types=>'REPORT'\n,p_help_text=>'This option hides the card body which contains description and subtext.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56210297224026389655)\n,p_theme_id=>42\n,p_name=>'SPAN_HORIZONTALLY'\n,p_display_name=>'Span Horizontally'\n,p_display_sequence=>70\n,p_report_template_id=>wwv_flow_api.id(56210270446698389648)\n,p_css_classes=>'t-Cards--spanHorizontally'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56210297630150389655)\n,p_theme_id=>42\n,p_name=>'USE_THEME_COLORS'\n,p_display_name=>'Apply Theme Colors'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(56210270446698389648)\n,p_css_classes=>'u-colors'\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56722900400267423711)\n,p_theme_id=>42\n,p_name=>'2_COLUMNS'\n,p_display_name=>'2 Columns'\n,p_display_sequence=>15\n,p_report_template_id=>wwv_flow_api.id(56722900093109423709)\n,p_css_classes=>'t-Cards--cols'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56722900834798423711)\n,p_theme_id=>42\n,p_name=>'2_LINES'\n,p_display_name=>'2 Lines'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(56722900093109423709)\n,p_css_classes=>'t-Cards--desc-2ln'\n,p_group_id=>wwv_flow_api.id(55689480574404258707)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56722901287136423712)\n,p_theme_id=>42\n,p_name=>'3_COLUMNS'\n,p_display_name=>'3 Columns'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(56722900093109423709)\n,p_css_classes=>'t-Cards--3cols'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56722901620779423712)\n,p_theme_id=>42\n,p_name=>'3_LINES'\n,p_display_name=>'3 Lines'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(56722900093109423709)\n,p_css_classes=>'t-Cards--desc-3ln'\n,p_group_id=>wwv_flow_api.id(55689480574404258707)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56722902050440423712)\n,p_theme_id=>42\n,p_name=>'4_COLUMNS'\n,p_display_name=>'4 Columns'\n,p_display_sequence=>30\n,p_report_template_id=>wwv_flow_api.id(56722900093109423709)\n,p_css_classes=>'t-Cards--4cols'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56722902485682423712)\n,p_theme_id=>42\n,p_name=>'4_LINES'\n,p_display_name=>'4 Lines'\n,p_display_sequence=>30\n,p_report_template_id=>wwv_flow_api.id(56722900093109423709)\n,p_css_classes=>'t-Cards--desc-4ln'\n,p_group_id=>wwv_flow_api.id(55689480574404258707)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56722902842306423713)\n,p_theme_id=>42\n,p_name=>'5_COLUMNS'\n,p_display_name=>'5 Columns'\n,p_display_sequence=>50\n,p_report_template_id=>wwv_flow_api.id(56722900093109423709)\n,p_css_classes=>'t-Cards--5cols'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56722903253338423713)\n,p_theme_id=>42\n,p_name=>'BASIC'\n,p_display_name=>'Basic'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(56722900093109423709)\n,p_css_classes=>'t-Cards--basic'\n,p_group_id=>wwv_flow_api.id(55689481277974258708)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56722903640423423714)\n,p_theme_id=>42\n,p_name=>'CARDS_COLOR_FILL'\n,p_display_name=>'Color Fill'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(56722900093109423709)\n,p_css_classes=>'t-Cards--animColorFill'\n,p_group_id=>wwv_flow_api.id(55689481441992258708)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56722904032113423714)\n,p_theme_id=>42\n,p_name=>'CARD_RAISE_CARD'\n,p_display_name=>'Raise Card'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(56722900093109423709)\n,p_css_classes=>'t-Cards--animRaiseCard'\n,p_group_id=>wwv_flow_api.id(55689481441992258708)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56722904448757423714)\n,p_theme_id=>42\n,p_name=>'COMPACT'\n,p_display_name=>'Compact'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(56722900093109423709)\n,p_css_classes=>'t-Cards--compact'\n,p_group_id=>wwv_flow_api.id(55689481277974258708)\n,p_template_types=>'REPORT'\n,p_help_text=>'Use this option when you want to show smaller cards.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56722904887169423714)\n,p_theme_id=>42\n,p_name=>'DISPLAY_ICONS'\n,p_display_name=>'Display Icons'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(56722900093109423709)\n,p_css_classes=>'t-Cards--displayIcons'\n,p_group_id=>wwv_flow_api.id(55689481840449258708)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56722905273062423715)\n,p_theme_id=>42\n,p_name=>'DISPLAY_INITIALS'\n,p_display_name=>'Display Initials'\n,p_display_sequence=>20\n,p_report_template_id=>wwv_flow_api.id(56722900093109423709)\n,p_css_classes=>'t-Cards--displayInitials'\n,p_group_id=>wwv_flow_api.id(55689481840449258708)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56722905617501423715)\n,p_theme_id=>42\n,p_name=>'FEATURED'\n,p_display_name=>'Featured'\n,p_display_sequence=>30\n,p_report_template_id=>wwv_flow_api.id(56722900093109423709)\n,p_css_classes=>'t-Cards--featured'\n,p_group_id=>wwv_flow_api.id(55689481277974258708)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56722906033385423715)\n,p_theme_id=>42\n,p_name=>'FLOAT'\n,p_display_name=>'Float'\n,p_display_sequence=>60\n,p_report_template_id=>wwv_flow_api.id(56722900093109423709)\n,p_css_classes=>'t-Cards--float'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56722906421753423715)\n,p_theme_id=>42\n,p_name=>'HIDDEN_BODY_TEXT'\n,p_display_name=>'Hidden'\n,p_display_sequence=>50\n,p_report_template_id=>wwv_flow_api.id(56722900093109423709)\n,p_css_classes=>'t-Cards--hideBody'\n,p_group_id=>wwv_flow_api.id(55689480574404258707)\n,p_template_types=>'REPORT'\n,p_help_text=>'This option hides the card body which contains description and subtext.'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56722906894019423715)\n,p_theme_id=>42\n,p_name=>'SPAN_HORIZONTALLY'\n,p_display_name=>'Span Horizontally'\n,p_display_sequence=>70\n,p_report_template_id=>wwv_flow_api.id(56722900093109423709)\n,p_css_classes=>'t-Cards--spanHorizontally'\n,p_group_id=>wwv_flow_api.id(55689478955221258706)\n,p_template_types=>'REPORT'\n);\nwwv_flow_api.create_template_option(\n p_id=>wwv_flow_api.id(56722907209957423716)\n,p_theme_id=>42\n,p_name=>'USE_THEME_COLORS'\n,p_display_name=>'Apply Theme Colors'\n,p_display_sequence=>10\n,p_report_template_id=>wwv_flow_api.id(56722900093109423709)\n,p_css_classes=>'u-colors'\n,p_template_types=>'REPORT'\n);\nend;\n/\nprompt --application/shared_components/logic/build_options\nbegin\nnull;\nend;\n/\nprompt --application/shared_components/globalization/language\nbegin\nnull;\nend;\n/\nprompt --application/shared_components/globalization/translations\nbegin\nnull;\nend;\n/\nprompt --application/shared_components/globalization/messages\nbegin\nnull;\nend;\n/\nprompt --application/shared_components/globalization/dyntranslations\nbegin\nnull;\nend;\n/\nprompt --application/shared_components/security/authentications/apex\nbegin\nwwv_flow_api.create_authentication(\n p_id=>wwv_flow_api.id(55689506991647258739)\n,p_name=>'APEX'\n,p_scheme_type=>'NATIVE_APEX_ACCOUNTS'\n,p_invalid_session_type=>'LOGIN'\n,p_use_secure_cookie_yn=>'N'\n,p_ras_mode=>0\n);\nend;\n/\nprompt --application/user_interfaces\nbegin\nwwv_flow_api.create_user_interface(\n p_id=>wwv_flow_api.id(55689506780508258737)\n,p_ui_type_name=>'DESKTOP'\n,p_display_name=>'Desktop'\n,p_display_seq=>10\n,p_use_auto_detect=>false\n,p_is_default=>true\n,p_theme_id=>42\n,p_home_url=>'f?p=&APP_ID.:1:&SESSION.'\n,p_login_url=>'f?p=&APP_ID.:LOGIN_DESKTOP:&SESSION.'\n,p_theme_style_by_user_pref=>false\n,p_navigation_list_id=>wwv_flow_api.id(55689454520588258678)\n,p_navigation_list_position=>'SIDE'\n,p_navigation_list_template_id=>wwv_flow_api.id(55689493388841258719)\n,p_nav_list_template_options=>'#DEFAULT#'\n,p_include_legacy_javascript=>'18'\n,p_include_jquery_migrate=>true\n,p_nav_bar_type=>'LIST'\n,p_nav_bar_list_id=>wwv_flow_api.id(55689506639207258737)\n,p_nav_bar_list_template_id=>wwv_flow_api.id(55689493206997258718)\n,p_nav_bar_template_options=>'#DEFAULT#'\n);\nend;\n/\nprompt --application/user_interfaces/combined_files\nbegin\nnull;\nend;\n/\nprompt --application/pages/page_00001\nbegin\nwwv_flow_api.create_page(\n p_id=>1\n,p_user_interface_id=>wwv_flow_api.id(55689506780508258737)\n,p_name=>'Home'\n,p_step_title=>'Home'\n,p_step_sub_title=>'Home'\n,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS'\n,p_autocomplete_on_off=>'OFF'\n,p_page_template_options=>'#DEFAULT#'\n,p_last_upd_yyyymmddhh24miss=>'20180321074959'\n);\nwwv_flow_api.create_page_plug(\n p_id=>wwv_flow_api.id(55689508672566258750)\n,p_plug_name=>'Breadcrumbs'\n,p_region_template_options=>'#DEFAULT#:t-BreadcrumbRegion--useBreadcrumbTitle'\n,p_component_template_options=>'#DEFAULT#'\n,p_plug_template=>wwv_flow_api.id(55689477573158258703)\n,p_plug_display_sequence=>10\n,p_plug_display_point=>'REGION_POSITION_01'\n,p_menu_id=>wwv_flow_api.id(55689508003166258744)\n,p_plug_source_type=>'NATIVE_BREADCRUMB'\n,p_menu_template_id=>wwv_flow_api.id(55689496492117258723)\n);\nend;\n/\nprompt --application/pages/page_00002\nbegin\nwwv_flow_api.create_page(\n p_id=>2\n,p_user_interface_id=>wwv_flow_api.id(55689506780508258737)\n,p_name=>'Classic Report'\n,p_step_title=>'Classic Report'\n,p_step_sub_title=>'Classic Report'\n,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS'\n,p_autocomplete_on_off=>'OFF'\n,p_page_template_options=>'#DEFAULT#'\n,p_last_updated_by=>'ALI'\n,p_last_upd_yyyymmddhh24miss=>'20180326190617'\n);\nwwv_flow_api.create_report_region(\n p_id=>wwv_flow_api.id(55689554975583271118)\n,p_name=>'Classic Report'\n,p_template=>wwv_flow_api.id(55689473177657258698)\n,p_display_sequence=>10\n,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'\n,p_component_template_options=>'#DEFAULT#:t-Report--altRowsDefault:t-Report--rowHighlight'\n,p_display_point=>'BODY'\n,p_source_type=>'NATIVE_SQL_REPORT'\n,p_query_type=>'SQL'\n,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'select EMPNO,',\n' ENAME,',\n' JOB,',\n' MGR,',\n' HIREDATE,',\n' SAL,',\n' COMM,',\n' DEPTNO',\n' from EMP'))\n,p_ajax_enabled=>'Y'\n,p_query_row_template=>wwv_flow_api.id(55689483178799258709)\n,p_query_num_rows=>15\n,p_query_options=>'DERIVED_REPORT_COLUMNS'\n,p_query_no_data_found=>'No data found.'\n,p_query_num_rows_type=>'ROW_RANGES_IN_SELECT_LIST'\n,p_query_row_count_max=>500\n,p_csv_output=>'Y'\n,p_csv_output_link_text=>'Download'\n,p_prn_output=>'N'\n,p_prn_format=>'PDF'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55689555655027271121)\n,p_query_column_id=>1\n,p_column_alias=>'EMPNO'\n,p_column_display_sequence=>1\n,p_column_heading=>'Empno'\n,p_heading_alignment=>'LEFT'\n,p_default_sort_column_sequence=>1\n,p_disable_sort_column=>'N'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55689556085211271122)\n,p_query_column_id=>2\n,p_column_alias=>'ENAME'\n,p_column_display_sequence=>2\n,p_column_heading=>'Ename'\n,p_heading_alignment=>'LEFT'\n,p_disable_sort_column=>'N'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55689556400024271122)\n,p_query_column_id=>3\n,p_column_alias=>'JOB'\n,p_column_display_sequence=>3\n,p_column_heading=>'Job'\n,p_heading_alignment=>'LEFT'\n,p_disable_sort_column=>'N'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55689556865175271122)\n,p_query_column_id=>4\n,p_column_alias=>'MGR'\n,p_column_display_sequence=>4\n,p_column_heading=>'Mgr'\n,p_heading_alignment=>'LEFT'\n,p_disable_sort_column=>'N'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55689557206358271123)\n,p_query_column_id=>5\n,p_column_alias=>'HIREDATE'\n,p_column_display_sequence=>5\n,p_column_heading=>'Hiredate'\n,p_heading_alignment=>'LEFT'\n,p_disable_sort_column=>'N'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55689557607886271123)\n,p_query_column_id=>6\n,p_column_alias=>'SAL'\n,p_column_display_sequence=>6\n,p_column_heading=>'Sal'\n,p_heading_alignment=>'LEFT'\n,p_disable_sort_column=>'N'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55689558009233271124)\n,p_query_column_id=>7\n,p_column_alias=>'COMM'\n,p_column_display_sequence=>7\n,p_column_heading=>'Comm'\n,p_heading_alignment=>'LEFT'\n,p_disable_sort_column=>'N'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55689558402725271124)\n,p_query_column_id=>8\n,p_column_alias=>'DEPTNO'\n,p_column_display_sequence=>8\n,p_column_heading=>'Deptno'\n,p_heading_alignment=>'LEFT'\n,p_disable_sort_column=>'N'\n);\nend;\n/\nprompt --application/pages/page_00003\nbegin\nwwv_flow_api.create_page(\n p_id=>3\n,p_user_interface_id=>wwv_flow_api.id(55689506780508258737)\n,p_name=>'Value Attribute Pairs - Row'\n,p_step_title=>'Value Attribute Pairs - Row'\n,p_step_sub_title=>'Value Attribute Pairs - Row'\n,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS'\n,p_autocomplete_on_off=>'OFF'\n,p_page_template_options=>'#DEFAULT#'\n,p_last_updated_by=>'ALI'\n,p_last_upd_yyyymmddhh24miss=>'20180321194044'\n);\nwwv_flow_api.create_report_region(\n p_id=>wwv_flow_api.id(111380142842221373038)\n,p_name=>'Value Attribute Pairs - Row'\n,p_template=>wwv_flow_api.id(55689473177657258698)\n,p_display_sequence=>10\n,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'\n,p_component_template_options=>'#DEFAULT#:t-AVPList--leftAligned'\n,p_display_point=>'BODY'\n,p_source_type=>'NATIVE_SQL_REPORT'\n,p_query_type=>'SQL'\n,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'select EMPNO,',\n' ',\n' JOB,',\n' MGR,',\n' HIREDATE,',\n' SAL,',\n' COMM,',\n' ENAME,',\n' DEPTNO',\n' from EMP'))\n,p_ajax_enabled=>'Y'\n,p_query_row_template=>wwv_flow_api.id(55905964705647512565)\n,p_query_num_rows=>15\n,p_query_options=>'DERIVED_REPORT_COLUMNS'\n,p_query_no_data_found=>'No data found.'\n,p_query_num_rows_type=>'ROW_RANGES_IN_SELECT_LIST'\n,p_query_row_count_max=>500\n,p_pagination_display_position=>'BOTTOM_RIGHT'\n,p_csv_output=>'Y'\n,p_csv_output_link_text=>'Download'\n,p_prn_output=>'N'\n,p_prn_format=>'PDF'\n,p_sort_null=>'L'\n,p_plug_query_strip_html=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55690588926225101926)\n,p_query_column_id=>1\n,p_column_alias=>'EMPNO'\n,p_column_display_sequence=>2\n,p_column_heading=>'Empno'\n,p_use_as_row_header=>'N'\n,p_heading_alignment=>'LEFT'\n,p_default_sort_column_sequence=>1\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55690589768551101927)\n,p_query_column_id=>2\n,p_column_alias=>'JOB'\n,p_column_display_sequence=>4\n,p_column_heading=>'Job'\n,p_use_as_row_header=>'N'\n,p_heading_alignment=>'LEFT'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55690590131025101927)\n,p_query_column_id=>3\n,p_column_alias=>'MGR'\n,p_column_display_sequence=>5\n,p_column_heading=>'Mgr'\n,p_use_as_row_header=>'N'\n,p_heading_alignment=>'LEFT'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55690590538235101928)\n,p_query_column_id=>4\n,p_column_alias=>'HIREDATE'\n,p_column_display_sequence=>6\n,p_column_heading=>'Hiredate'\n,p_use_as_row_header=>'N'\n,p_heading_alignment=>'LEFT'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55690590970550101928)\n,p_query_column_id=>5\n,p_column_alias=>'SAL'\n,p_column_display_sequence=>7\n,p_column_heading=>'Sal'\n,p_use_as_row_header=>'N'\n,p_heading_alignment=>'LEFT'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55690591374359101928)\n,p_query_column_id=>6\n,p_column_alias=>'COMM'\n,p_column_display_sequence=>8\n,p_column_heading=>'Comm'\n,p_use_as_row_header=>'N'\n,p_heading_alignment=>'LEFT'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55690589386031101927)\n,p_query_column_id=>7\n,p_column_alias=>'ENAME'\n,p_column_display_sequence=>3\n,p_column_heading=>'Ename'\n,p_use_as_row_header=>'N'\n,p_heading_alignment=>'LEFT'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55690591743018101929)\n,p_query_column_id=>8\n,p_column_alias=>'DEPTNO'\n,p_column_display_sequence=>1\n,p_column_heading=>'Deptno'\n,p_use_as_row_header=>'N'\n,p_heading_alignment=>'LEFT'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nend;\n/\nprompt --application/pages/page_00004\nbegin\nwwv_flow_api.create_page(\n p_id=>4\n,p_user_interface_id=>wwv_flow_api.id(55689506780508258737)\n,p_name=>'Value Attribute Pairs - Column'\n,p_step_title=>'Value Attribute Pairs - Column'\n,p_step_sub_title=>'Value Attribute Pairs - Column'\n,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS'\n,p_autocomplete_on_off=>'OFF'\n,p_inline_css=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'.t-AVPList-label',\n'{',\n' background-color: Gray;',\n' color:#ffffff !important;',\n' ',\n'}',\n'',\n'.t-AVPList-value',\n'{',\n' ',\n' background-color:LightGray;',\n' ',\n' ',\n'}'))\n,p_page_template_options=>'#DEFAULT#'\n,p_last_updated_by=>'ALI'\n,p_last_upd_yyyymmddhh24miss=>'20180321150536'\n);\nwwv_flow_api.create_report_region(\n p_id=>wwv_flow_api.id(167071185823446714218)\n,p_name=>'Value Attribute Pairs - Column'\n,p_template=>wwv_flow_api.id(55689473177657258698)\n,p_display_sequence=>10\n,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'\n,p_component_template_options=>'#DEFAULT#:t-AVPList--leftAligned'\n,p_display_point=>'BODY'\n,p_source_type=>'NATIVE_SQL_REPORT'\n,p_query_type=>'SQL'\n,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'select EMPNO,',\n' ',\n' JOB,',\n' MGR,',\n' HIREDATE,',\n' SAL,',\n' COMM,',\n' ENAME,',\n' DEPTNO',\n' from EMP'))\n,p_ajax_enabled=>'Y'\n,p_query_row_template=>wwv_flow_api.id(55693439011091522468)\n,p_query_num_rows=>15\n,p_query_options=>'DERIVED_REPORT_COLUMNS'\n,p_query_no_data_found=>'No data found.'\n,p_query_num_rows_type=>'ROW_RANGES_IN_SELECT_LIST'\n,p_query_row_count_max=>500\n,p_pagination_display_position=>'BOTTOM_RIGHT'\n,p_csv_output=>'Y'\n,p_csv_output_link_text=>'Download'\n,p_prn_output=>'N'\n,p_prn_format=>'PDF'\n,p_sort_null=>'L'\n,p_plug_query_strip_html=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55691044065235341189)\n,p_query_column_id=>1\n,p_column_alias=>'EMPNO'\n,p_column_display_sequence=>2\n,p_column_heading=>'Empno'\n,p_use_as_row_header=>'N'\n,p_heading_alignment=>'LEFT'\n,p_default_sort_column_sequence=>1\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55691044888094341190)\n,p_query_column_id=>2\n,p_column_alias=>'JOB'\n,p_column_display_sequence=>4\n,p_column_heading=>'Job'\n,p_use_as_row_header=>'N'\n,p_heading_alignment=>'LEFT'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55691045262167341191)\n,p_query_column_id=>3\n,p_column_alias=>'MGR'\n,p_column_display_sequence=>5\n,p_column_heading=>'Mgr'\n,p_use_as_row_header=>'N'\n,p_heading_alignment=>'LEFT'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55691045618886341191)\n,p_query_column_id=>4\n,p_column_alias=>'HIREDATE'\n,p_column_display_sequence=>6\n,p_column_heading=>'Hiredate'\n,p_use_as_row_header=>'N'\n,p_heading_alignment=>'LEFT'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55691046076430341191)\n,p_query_column_id=>5\n,p_column_alias=>'SAL'\n,p_column_display_sequence=>7\n,p_column_heading=>'Sal'\n,p_use_as_row_header=>'N'\n,p_heading_alignment=>'LEFT'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55691046441716341192)\n,p_query_column_id=>6\n,p_column_alias=>'COMM'\n,p_column_display_sequence=>8\n,p_column_heading=>'Comm'\n,p_use_as_row_header=>'N'\n,p_heading_alignment=>'LEFT'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55691044448446341190)\n,p_query_column_id=>7\n,p_column_alias=>'ENAME'\n,p_column_display_sequence=>3\n,p_column_heading=>'Ename'\n,p_use_as_row_header=>'N'\n,p_heading_alignment=>'LEFT'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55691046850931341192)\n,p_query_column_id=>8\n,p_column_alias=>'DEPTNO'\n,p_column_display_sequence=>1\n,p_column_heading=>'Deptno'\n,p_use_as_row_header=>'N'\n,p_heading_alignment=>'LEFT'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nend;\n/\nprompt --application/pages/page_00005\nbegin\nwwv_flow_api.create_page(\n p_id=>5\n,p_user_interface_id=>wwv_flow_api.id(55689506780508258737)\n,p_name=>'Timeline'\n,p_step_title=>'Timeline'\n,p_step_sub_title=>'Timeline'\n,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS'\n,p_autocomplete_on_off=>'OFF'\n,p_page_template_options=>'#DEFAULT#'\n,p_last_updated_by=>'ALI'\n,p_last_upd_yyyymmddhh24miss=>'20180321194640'\n);\nwwv_flow_api.create_report_region(\n p_id=>wwv_flow_api.id(111600534521569597164)\n,p_name=>'Timeline'\n,p_template=>wwv_flow_api.id(55689473177657258698)\n,p_display_sequence=>10\n,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'\n,p_component_template_options=>'#DEFAULT#'\n,p_display_point=>'BODY'\n,p_source_type=>'NATIVE_SQL_REPORT'\n,p_query_type=>'SQL'\n,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'select EMPNO,',\n' ENAME USER_NAME,',\n' JOB EVENT_TITLE,',\n' MGR,',\n' HIREDATE EVENT_DATE,',\n' SAL,',\n' COMM,',\n' DEPTNO',\n' from EMP'))\n,p_ajax_enabled=>'Y'\n,p_query_row_template=>wwv_flow_api.id(55911169741861327352)\n,p_query_num_rows=>15\n,p_query_options=>'DERIVED_REPORT_COLUMNS'\n,p_query_no_data_found=>'No data found.'\n,p_query_num_rows_type=>'ROW_RANGES_IN_SELECT_LIST'\n,p_query_row_count_max=>500\n,p_pagination_display_position=>'BOTTOM_RIGHT'\n,p_csv_output=>'Y'\n,p_csv_output_link_text=>'Download'\n,p_prn_output=>'N'\n,p_prn_format=>'PDF'\n,p_sort_null=>'L'\n,p_plug_query_strip_html=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55910992488052326070)\n,p_query_column_id=>1\n,p_column_alias=>'EMPNO'\n,p_column_display_sequence=>1\n,p_column_heading=>'Empno'\n,p_heading_alignment=>'LEFT'\n,p_default_sort_column_sequence=>1\n,p_disable_sort_column=>'N'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55912210301853334401)\n,p_query_column_id=>2\n,p_column_alias=>'USER_NAME'\n,p_column_display_sequence=>6\n,p_column_heading=>'User name'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55912210581281334403)\n,p_query_column_id=>3\n,p_column_alias=>'EVENT_TITLE'\n,p_column_display_sequence=>8\n,p_column_heading=>'Event title'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55910993648614326071)\n,p_query_column_id=>4\n,p_column_alias=>'MGR'\n,p_column_display_sequence=>2\n,p_column_heading=>'Mgr'\n,p_use_as_row_header=>'N'\n,p_heading_alignment=>'LEFT'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55912210409520334402)\n,p_query_column_id=>5\n,p_column_alias=>'EVENT_DATE'\n,p_column_display_sequence=>7\n,p_column_heading=>'Event date'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55910994470877326072)\n,p_query_column_id=>6\n,p_column_alias=>'SAL'\n,p_column_display_sequence=>3\n,p_column_heading=>'Sal'\n,p_use_as_row_header=>'N'\n,p_heading_alignment=>'LEFT'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55910994907965326072)\n,p_query_column_id=>7\n,p_column_alias=>'COMM'\n,p_column_display_sequence=>4\n,p_column_heading=>'Comm'\n,p_use_as_row_header=>'N'\n,p_heading_alignment=>'LEFT'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55910995326550326073)\n,p_query_column_id=>8\n,p_column_alias=>'DEPTNO'\n,p_column_display_sequence=>5\n,p_column_heading=>'Deptno'\n,p_use_as_row_header=>'N'\n,p_heading_alignment=>'LEFT'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nend;\n/\nprompt --application/pages/page_00006\nbegin\nwwv_flow_api.create_page(\n p_id=>6\n,p_user_interface_id=>wwv_flow_api.id(55689506780508258737)\n,p_name=>'Search Results'\n,p_step_title=>'Search Results'\n,p_step_sub_title=>'Search Results'\n,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS'\n,p_autocomplete_on_off=>'OFF'\n,p_page_template_options=>'#DEFAULT#'\n,p_last_updated_by=>'ALI'\n,p_last_upd_yyyymmddhh24miss=>'20180321200252'\n);\nwwv_flow_api.create_report_region(\n p_id=>wwv_flow_api.id(167524869281327020389)\n,p_name=>'Search Results'\n,p_template=>wwv_flow_api.id(55689473177657258698)\n,p_display_sequence=>10\n,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'\n,p_component_template_options=>'#DEFAULT#'\n,p_display_point=>'BODY'\n,p_source_type=>'NATIVE_SQL_REPORT'\n,p_query_type=>'SQL'\n,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'select EMPNO,',\n' ENAME SEARCH_TITLE,',\n' JOB SEARCH_DESC,',\n' MGR LABEL_01,',\n' HIREDATE VALUE_01,',\n' SAL LABEL_02,',\n' COMM VALUE_02,',\n' DEPTNO',\n' from EMP'))\n,p_ajax_enabled=>'Y'\n,p_query_row_template=>wwv_flow_api.id(55922354268516630598)\n,p_query_num_rows=>15\n,p_query_options=>'DERIVED_REPORT_COLUMNS'\n,p_query_no_data_found=>'No data found.'\n,p_query_num_rows_type=>'ROW_RANGES_IN_SELECT_LIST'\n,p_query_row_count_max=>500\n,p_pagination_display_position=>'BOTTOM_RIGHT'\n,p_csv_output=>'Y'\n,p_csv_output_link_text=>'Download'\n,p_prn_output=>'N'\n,p_prn_format=>'PDF'\n,p_sort_null=>'L'\n,p_plug_query_strip_html=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55924339486418423238)\n,p_query_column_id=>1\n,p_column_alias=>'EMPNO'\n,p_column_display_sequence=>1\n,p_column_heading=>'Empno'\n,p_heading_alignment=>'LEFT'\n,p_default_sort_column_sequence=>1\n,p_disable_sort_column=>'N'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55912210631041334404)\n,p_query_column_id=>2\n,p_column_alias=>'SEARCH_TITLE'\n,p_column_display_sequence=>3\n,p_column_heading=>'Search title'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55912210706727334405)\n,p_query_column_id=>3\n,p_column_alias=>'SEARCH_DESC'\n,p_column_display_sequence=>4\n,p_column_heading=>'Search desc'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55912210875157334406)\n,p_query_column_id=>4\n,p_column_alias=>'LABEL_01'\n,p_column_display_sequence=>5\n,p_column_heading=>'Label 01'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55912210985983334407)\n,p_query_column_id=>5\n,p_column_alias=>'VALUE_01'\n,p_column_display_sequence=>6\n,p_column_heading=>'Value 01'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55912211070843334408)\n,p_query_column_id=>6\n,p_column_alias=>'LABEL_02'\n,p_column_display_sequence=>7\n,p_column_heading=>'Label 02'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55912211151661334409)\n,p_query_column_id=>7\n,p_column_alias=>'VALUE_02'\n,p_column_display_sequence=>8\n,p_column_heading=>'Value 02'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55924339010354423237)\n,p_query_column_id=>8\n,p_column_alias=>'DEPTNO'\n,p_column_display_sequence=>2\n,p_column_heading=>'Deptno'\n,p_use_as_row_header=>'N'\n,p_heading_alignment=>'LEFT'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nend;\n/\nprompt --application/pages/page_00007\nbegin\nwwv_flow_api.create_page(\n p_id=>7\n,p_user_interface_id=>wwv_flow_api.id(55689506780508258737)\n,p_name=>'Comments'\n,p_step_title=>'Comments'\n,p_step_sub_title=>'Comments'\n,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS'\n,p_autocomplete_on_off=>'OFF'\n,p_page_template_options=>'#DEFAULT#'\n,p_last_updated_by=>'ALI'\n,p_last_upd_yyyymmddhh24miss=>'20180322072311'\n);\nwwv_flow_api.create_report_region(\n p_id=>wwv_flow_api.id(223454272203017481759)\n,p_name=>'Comments'\n,p_template=>wwv_flow_api.id(55689463106891258691)\n,p_display_sequence=>10\n,p_region_template_options=>'#DEFAULT#'\n,p_component_template_options=>'#DEFAULT#:t-Comments--chat'\n,p_display_point=>'BODY'\n,p_source_type=>'NATIVE_SQL_REPORT'\n,p_query_type=>'SQL'\n,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'select '' '' USER_ICON ,',\n' ENAME USER_NAME,',\n' JOB ACTIONS,',\n' MGR LABEL_01,',\n' HIREDATE COMMENT_DATE,',\n' SAL COMMENT_TEXT,',\n' COMM ATTRIBUTE_1,',\n' DEPTNO ATTRIBUTE_2',\n' from EMP'))\n,p_ajax_enabled=>'Y'\n,p_query_row_template=>wwv_flow_api.id(55922557049686632089)\n,p_query_num_rows=>15\n,p_query_options=>'DERIVED_REPORT_COLUMNS'\n,p_query_no_data_found=>'No data found.'\n,p_query_num_rows_type=>'ROW_RANGES_IN_SELECT_LIST'\n,p_query_row_count_max=>500\n,p_pagination_display_position=>'BOTTOM_RIGHT'\n,p_csv_output=>'Y'\n,p_csv_output_link_text=>'Download'\n,p_prn_output=>'N'\n,p_prn_format=>'PDF'\n,p_sort_null=>'L'\n,p_plug_query_strip_html=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55912221249783334410)\n,p_query_column_id=>1\n,p_column_alias=>'USER_ICON'\n,p_column_display_sequence=>2\n,p_column_heading=>'User icon'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_display_as=>'WITHOUT_MODIFICATION'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55912221350777334411)\n,p_query_column_id=>2\n,p_column_alias=>'USER_NAME'\n,p_column_display_sequence=>3\n,p_column_heading=>'User name'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55912221438245334412)\n,p_query_column_id=>3\n,p_column_alias=>'ACTIONS'\n,p_column_display_sequence=>4\n,p_column_heading=>'Actions'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55929406286244461379)\n,p_query_column_id=>4\n,p_column_alias=>'LABEL_01'\n,p_column_display_sequence=>1\n,p_column_heading=>'Label 01'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55912221568305334413)\n,p_query_column_id=>5\n,p_column_alias=>'COMMENT_DATE'\n,p_column_display_sequence=>5\n,p_column_heading=>'Comment date'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55912221603609334414)\n,p_query_column_id=>6\n,p_column_alias=>'COMMENT_TEXT'\n,p_column_display_sequence=>6\n,p_column_heading=>'Comment text'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55912221770176334415)\n,p_query_column_id=>7\n,p_column_alias=>'ATTRIBUTE_1'\n,p_column_display_sequence=>7\n,p_column_heading=>'Attribute 1'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55912221821541334416)\n,p_query_column_id=>8\n,p_column_alias=>'ATTRIBUTE_2'\n,p_column_display_sequence=>8\n,p_column_heading=>'Attribute 2'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nend;\n/\nprompt --application/pages/page_00008\nbegin\nwwv_flow_api.create_page(\n p_id=>8\n,p_user_interface_id=>wwv_flow_api.id(55689506780508258737)\n,p_name=>'Cards'\n,p_step_title=>'Cards'\n,p_step_sub_title=>'Cards'\n,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS'\n,p_autocomplete_on_off=>'OFF'\n,p_page_template_options=>'#DEFAULT#'\n,p_last_updated_by=>'ALI'\n,p_last_upd_yyyymmddhh24miss=>'20180322072251'\n);\nwwv_flow_api.create_report_region(\n p_id=>wwv_flow_api.id(279387380754564193054)\n,p_name=>'Cards'\n,p_template=>wwv_flow_api.id(55689463106891258691)\n,p_display_sequence=>10\n,p_region_template_options=>'#DEFAULT#'\n,p_component_template_options=>'#DEFAULT#:t-Cards--featured:t-Cards--displayIcons:t-Cards--3cols:t-Cards--animColorFill'\n,p_display_point=>'BODY'\n,p_source_type=>'NATIVE_SQL_REPORT'\n,p_query_type=>'SQL'\n,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'select ''fa-user'' CARD_ICON,',\n' ENAME CARD_TITLE,',\n' JOB CARD_TEXT,',\n' MGR LABEL_01,',\n' HIREDATE CARD_SUBTEXT,',\n' SAL COMMENT_TEXT,',\n' COMM ATTRIBUTE_1,',\n' DEPTNO ATTRIBUTE_2',\n' from EMP'))\n,p_ajax_enabled=>'Y'\n,p_query_row_template=>wwv_flow_api.id(55923070163834413654)\n,p_query_num_rows=>15\n,p_query_options=>'DERIVED_REPORT_COLUMNS'\n,p_query_no_data_found=>'No data found.'\n,p_query_num_rows_type=>'ROW_RANGES_IN_SELECT_LIST'\n,p_query_row_count_max=>500\n,p_pagination_display_position=>'BOTTOM_RIGHT'\n,p_csv_output=>'Y'\n,p_csv_output_link_text=>'Download'\n,p_prn_output=>'N'\n,p_prn_format=>'PDF'\n,p_sort_null=>'L'\n,p_plug_query_strip_html=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55912222489861334422)\n,p_query_column_id=>1\n,p_column_alias=>'CARD_ICON'\n,p_column_display_sequence=>8\n,p_column_heading=>'Card icon'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55912221980422334417)\n,p_query_column_id=>2\n,p_column_alias=>'CARD_TITLE'\n,p_column_display_sequence=>5\n,p_column_heading=>'Card title'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55912222090404334418)\n,p_query_column_id=>3\n,p_column_alias=>'CARD_TEXT'\n,p_column_display_sequence=>6\n,p_column_heading=>'Card text'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55933122641304711303)\n,p_query_column_id=>4\n,p_column_alias=>'LABEL_01'\n,p_column_display_sequence=>1\n,p_column_heading=>'Label 01'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55912222156874334419)\n,p_query_column_id=>5\n,p_column_alias=>'CARD_SUBTEXT'\n,p_column_display_sequence=>7\n,p_column_heading=>'Card subtext'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55933121809791711303)\n,p_query_column_id=>6\n,p_column_alias=>'COMMENT_TEXT'\n,p_column_display_sequence=>2\n,p_column_heading=>'Comment text'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55933122208744711303)\n,p_query_column_id=>7\n,p_column_alias=>'ATTRIBUTE_1'\n,p_column_display_sequence=>3\n,p_column_heading=>'Attribute 1'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(55933123085499711304)\n,p_query_column_id=>8\n,p_column_alias=>'ATTRIBUTE_2'\n,p_column_display_sequence=>4\n,p_column_heading=>'Attribute 2'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nend;\n/\nprompt --application/pages/page_00009\nbegin\nwwv_flow_api.create_page(\n p_id=>9\n,p_user_interface_id=>wwv_flow_api.id(55689506780508258737)\n,p_name=>'Badge List'\n,p_step_title=>'Badge List'\n,p_step_sub_title=>'Badge List'\n,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS'\n,p_autocomplete_on_off=>'OFF'\n,p_page_template_options=>'#DEFAULT#'\n,p_last_updated_by=>'ALI'\n,p_last_upd_yyyymmddhh24miss=>'20180322072232'\n);\nwwv_flow_api.create_report_region(\n p_id=>wwv_flow_api.id(335393875449612848339)\n,p_name=>'Badge List'\n,p_template=>wwv_flow_api.id(55689463106891258691)\n,p_display_sequence=>10\n,p_region_template_options=>'#DEFAULT#'\n,p_component_template_options=>'#DEFAULT#:t-BadgeList--large:t-BadgeList--cols t-BadgeList--4cols'\n,p_display_point=>'BODY'\n,p_source_type=>'NATIVE_SQL_REPORT'\n,p_query_type=>'SQL'\n,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'select ',\n' ENAME ',\n' from EMP'))\n,p_ajax_enabled=>'Y'\n,p_query_row_template=>wwv_flow_api.id(55923419440928416640)\n,p_query_num_rows=>15\n,p_query_options=>'DERIVED_REPORT_COLUMNS'\n,p_query_no_data_found=>'No data found.'\n,p_query_num_rows_type=>'ROW_RANGES_IN_SELECT_LIST'\n,p_query_row_count_max=>500\n,p_pagination_display_position=>'BOTTOM_RIGHT'\n,p_csv_output=>'Y'\n,p_csv_output_link_text=>'Download'\n,p_prn_output=>'N'\n,p_prn_format=>'PDF'\n,p_sort_null=>'L'\n,p_plug_query_strip_html=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(56006602273005659006)\n,p_query_column_id=>1\n,p_column_alias=>'ENAME'\n,p_column_display_sequence=>1\n,p_column_heading=>'Ename'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nend;\n/\nprompt --application/pages/page_00010\nbegin\nwwv_flow_api.create_page(\n p_id=>10\n,p_user_interface_id=>wwv_flow_api.id(55689506780508258737)\n,p_name=>'Alerts'\n,p_step_title=>'Alerts'\n,p_step_sub_title=>'Alerts'\n,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS'\n,p_autocomplete_on_off=>'OFF'\n,p_page_template_options=>'#DEFAULT#'\n,p_last_updated_by=>'ALI'\n,p_last_upd_yyyymmddhh24miss=>'20180322072203'\n);\nwwv_flow_api.create_report_region(\n p_id=>wwv_flow_api.id(391400630658027558697)\n,p_name=>'Alerts'\n,p_template=>wwv_flow_api.id(55689463106891258691)\n,p_display_sequence=>10\n,p_region_template_options=>'#DEFAULT#'\n,p_component_template_options=>'#DEFAULT#'\n,p_display_point=>'BODY'\n,p_source_type=>'NATIVE_SQL_REPORT'\n,p_query_type=>'SQL'\n,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'select ',\n' ENAME ALERT_TITLE,',\n' SAL ALERT_DESC,',\n' '''' ALERT_ACTION',\n' from EMP'))\n,p_ajax_enabled=>'Y'\n,p_query_row_template=>wwv_flow_api.id(55923564898923639408)\n,p_query_num_rows=>15\n,p_query_options=>'DERIVED_REPORT_COLUMNS'\n,p_query_no_data_found=>'No data found.'\n,p_query_num_rows_type=>'ROW_RANGES_IN_SELECT_LIST'\n,p_query_row_count_max=>500\n,p_pagination_display_position=>'BOTTOM_RIGHT'\n,p_csv_output=>'Y'\n,p_csv_output_link_text=>'Download'\n,p_prn_output=>'N'\n,p_prn_format=>'PDF'\n,p_sort_null=>'L'\n,p_plug_query_strip_html=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(56006602558372659009)\n,p_query_column_id=>1\n,p_column_alias=>'ALERT_TITLE'\n,p_column_display_sequence=>1\n,p_column_heading=>'Alert title'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(56006602603255659010)\n,p_query_column_id=>2\n,p_column_alias=>'ALERT_DESC'\n,p_column_display_sequence=>2\n,p_column_heading=>'Alert desc'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(56006602758642659011)\n,p_query_column_id=>3\n,p_column_alias=>'ALERT_ACTION'\n,p_column_display_sequence=>3\n,p_column_heading=>'Alert action'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_display_as=>'WITHOUT_MODIFICATION'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nend;\n/\nprompt --application/pages/page_00011\nbegin\nwwv_flow_api.create_page(\n p_id=>11\n,p_user_interface_id=>wwv_flow_api.id(55689506780508258737)\n,p_name=>'Pricing'\n,p_step_title=>'Pricing'\n,p_step_sub_title=>'Pricing'\n,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS'\n,p_autocomplete_on_off=>'OFF'\n,p_inline_css=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'* {',\n' box-sizing: border-box;',\n'}',\n'',\n'/* Create three columns of equal width */',\n'.columns {',\n' float: left;',\n' width: 33.3%;',\n' padding: 8px;',\n'}',\n'',\n'/* Style the list */',\n'.price {',\n' list-style-type: none;',\n' border: 1px solid #eee;',\n' margin: 0;',\n' padding: 0;',\n' -webkit-transition: 0.3s;',\n' transition: 0.3s;',\n'}',\n'',\n'/* Add shadows on hover */',\n'.price:hover {',\n' box-shadow: 0 8px 12px 0 rgba(0,0,0,0.2)',\n'}',\n'',\n'',\n'/* Pricing header */',\n'.price .header {',\n' background-color: rgb(14, 73, 165);',\n' color: white;',\n' font-size: 25px;',\n'}',\n'/* Pricing header */',\n'.price .header:hover {',\n' background-color:rgb(31, 108, 226);',\n' color:white; ',\n' font-size: 28px;',\n'}',\n'',\n'/* List items */',\n'.price div {',\n' border-bottom: 1px solid #eee;',\n' padding: 20px;',\n' text-align: center;',\n'}',\n'',\n'/* Grey list item */',\n'.price .grey {',\n' background-color: #eee;',\n' font-size: 20px;',\n'}',\n'',\n'/* The \"Sign Up\" button */',\n'.button {',\n' background-color: #4CAF50;',\n' border: none;',\n' color: white;',\n' padding: 10px 25px;',\n' text-align: center;',\n' text-decoration: none;',\n' font-size: 18px;',\n'}',\n'',\n'/* Change the width of the three columns to 100% ',\n'(to stack horizontally on small screens) */',\n'@media only screen and (max-width: 600px) {',\n' .columns {',\n' width: 100%;',\n' }',\n'}'))\n,p_page_template_options=>'#DEFAULT#'\n,p_last_updated_by=>'ALI'\n,p_last_upd_yyyymmddhh24miss=>'20180326190426'\n);\nwwv_flow_api.create_report_region(\n p_id=>wwv_flow_api.id(447408489838400116290)\n,p_name=>'Pricing table'\n,p_template=>wwv_flow_api.id(55689463106891258691)\n,p_display_sequence=>10\n,p_region_template_options=>'#DEFAULT#'\n,p_component_template_options=>'#DEFAULT#:u-colors:t-Cards--featured:t-Cards--4cols:t-Cards--animColorFill'\n,p_display_point=>'BODY'\n,p_source_type=>'NATIVE_SQL_REPORT'\n,p_query_type=>'SQL'\n,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'select DEMO_PRODUCT_INFO.PRODUCT_NAME as NAME,',\n' DEMO_PRODUCT_INFO.PRODUCT_DESCRIPTION as DESCRIPTION,',\n' DEMO_PRODUCT_INFO.LIST_PRICE as PRICE ,',\n' DEMO_PRODUCT_INFO.PRODUCT_AVAIL as AVAIL ,',\n' '''' LINK',\n' ',\n' from DEMO_PRODUCT_INFO DEMO_PRODUCT_INFO'))\n,p_ajax_enabled=>'Y'\n,p_query_row_template=>wwv_flow_api.id(56210270446698389648)\n,p_query_num_rows=>15\n,p_query_options=>'DERIVED_REPORT_COLUMNS'\n,p_query_no_data_found=>'No data found.'\n,p_query_num_rows_type=>'ROW_RANGES_IN_SELECT_LIST'\n,p_query_row_count_max=>500\n,p_pagination_display_position=>'BOTTOM_RIGHT'\n,p_csv_output=>'Y'\n,p_csv_output_link_text=>'Download'\n,p_prn_output=>'N'\n,p_prn_format=>'PDF'\n,p_sort_null=>'L'\n,p_plug_query_strip_html=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(56006603619329659020)\n,p_query_column_id=>1\n,p_column_alias=>'NAME'\n,p_column_display_sequence=>1\n,p_column_heading=>'Name'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(56006603783465659021)\n,p_query_column_id=>2\n,p_column_alias=>'DESCRIPTION'\n,p_column_display_sequence=>2\n,p_column_heading=>'Description'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(56006603811319659022)\n,p_query_column_id=>3\n,p_column_alias=>'PRICE'\n,p_column_display_sequence=>3\n,p_column_heading=>'Price'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(56006603963167659023)\n,p_query_column_id=>4\n,p_column_alias=>'AVAIL'\n,p_column_display_sequence=>4\n,p_column_heading=>'Avail'\n,p_use_as_row_header=>'N'\n,p_disable_sort_column=>'N'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nwwv_flow_api.create_report_columns(\n p_id=>wwv_flow_api.id(56006604056143659024)\n,p_query_column_id=>5\n,p_column_alias=>'LINK'\n,p_column_display_sequence=>5\n,p_column_heading=>'Link'\n,p_column_link=>'f?p=&APP_ID.:1:&SESSION.::&DEBUG.:RP::'\n,p_column_linktext=>'\"\"'\n,p_disable_sort_column=>'N'\n,p_display_as=>'WITHOUT_MODIFICATION'\n,p_derived_column=>'N'\n,p_include_in_export=>'Y'\n);\nend;\n/\nprompt --application/pages/page_00101\nbegin\nwwv_flow_api.create_page(\n p_id=>101\n,p_user_interface_id=>wwv_flow_api.id(55689506780508258737)\n,p_name=>'Login Page'\n,p_alias=>'LOGIN_DESKTOP'\n,p_step_title=>'Classic Report Template - Log In'\n,p_warn_on_unsaved_changes=>'N'\n,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS'\n,p_first_item=>'AUTO_FIRST_ITEM'\n,p_autocomplete_on_off=>'OFF'\n,p_step_template=>wwv_flow_api.id(55689456536805258683)\n,p_page_template_options=>'#DEFAULT#'\n,p_page_is_public_y_n=>'Y'\n,p_last_upd_yyyymmddhh24miss=>'20180321074959'\n);\nwwv_flow_api.create_page_plug(\n p_id=>wwv_flow_api.id(55689507275144258741)\n,p_plug_name=>'Classic Report Template'\n,p_icon_css_classes=>'fa-sign-in'\n,p_region_template_options=>'#DEFAULT#'\n,p_plug_template=>wwv_flow_api.id(55689472900365258698)\n,p_plug_display_sequence=>10\n,p_plug_display_point=>'BODY'\n,p_attribute_01=>'N'\n,p_attribute_02=>'TEXT'\n,p_attribute_03=>'Y'\n);\nwwv_flow_api.create_page_button(\n p_id=>wwv_flow_api.id(55689507512647258743)\n,p_button_sequence=>30\n,p_button_plug_id=>wwv_flow_api.id(55689507275144258741)\n,p_button_name=>'LOGIN'\n,p_button_action=>'SUBMIT'\n,p_button_template_options=>'#DEFAULT#'\n,p_button_template_id=>wwv_flow_api.id(55689495911882258722)\n,p_button_is_hot=>'Y'\n,p_button_image_alt=>'Log In'\n,p_button_position=>'REGION_TEMPLATE_NEXT'\n,p_button_alignment=>'LEFT'\n,p_grid_new_grid=>false\n,p_grid_new_row=>'Y'\n,p_grid_new_column=>'Y'\n);\nwwv_flow_api.create_page_item(\n p_id=>wwv_flow_api.id(55689507304695258742)\n,p_name=>'P101_USERNAME'\n,p_item_sequence=>10\n,p_item_plug_id=>wwv_flow_api.id(55689507275144258741)\n,p_prompt=>'username'\n,p_placeholder=>'username'\n,p_display_as=>'NATIVE_TEXT_FIELD'\n,p_cSize=>40\n,p_cMaxlength=>100\n,p_label_alignment=>'RIGHT'\n,p_field_template=>wwv_flow_api.id(55689495355838258720)\n,p_item_icon_css_classes=>'fa-user'\n,p_item_template_options=>'#DEFAULT#'\n,p_attribute_01=>'N'\n,p_attribute_02=>'N'\n,p_attribute_03=>'N'\n,p_attribute_04=>'TEXT'\n,p_attribute_05=>'NONE'\n);\nwwv_flow_api.create_page_item(\n p_id=>wwv_flow_api.id(55689507426697258743)\n,p_name=>'P101_PASSWORD'\n,p_item_sequence=>20\n,p_item_plug_id=>wwv_flow_api.id(55689507275144258741)\n,p_prompt=>'password'\n,p_placeholder=>'password'\n,p_display_as=>'NATIVE_PASSWORD'\n,p_cSize=>40\n,p_cMaxlength=>100\n,p_label_alignment=>'RIGHT'\n,p_field_template=>wwv_flow_api.id(55689495355838258720)\n,p_item_icon_css_classes=>'fa-key'\n,p_item_template_options=>'#DEFAULT#'\n,p_attribute_01=>'Y'\n,p_attribute_02=>'Y'\n);\nwwv_flow_api.create_page_process(\n p_id=>wwv_flow_api.id(55689507765347258743)\n,p_process_sequence=>10\n,p_process_point=>'AFTER_SUBMIT'\n,p_process_type=>'NATIVE_PLSQL'\n,p_process_name=>'Set Username Cookie'\n,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'apex_authentication.send_login_username_cookie (',\n' p_username => lower(:P101_USERNAME) );'))\n,p_error_display_location=>'INLINE_IN_NOTIFICATION'\n);\nwwv_flow_api.create_page_process(\n p_id=>wwv_flow_api.id(55689507615365258743)\n,p_process_sequence=>20\n,p_process_point=>'AFTER_SUBMIT'\n,p_process_type=>'NATIVE_PLSQL'\n,p_process_name=>'Login'\n,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(\n'apex_authentication.login(',\n' p_username => :P101_USERNAME,',\n' p_password => :P101_PASSWORD );'))\n,p_error_display_location=>'INLINE_IN_NOTIFICATION'\n);\nwwv_flow_api.create_page_process(\n p_id=>wwv_flow_api.id(55689507947561258744)\n,p_process_sequence=>30\n,p_process_point=>'AFTER_SUBMIT'\n,p_process_type=>'NATIVE_SESSION_STATE'\n,p_process_name=>'Clear Page(s) Cache'\n,p_attribute_01=>'CLEAR_CACHE_CURRENT_PAGE'\n,p_error_display_location=>'INLINE_IN_NOTIFICATION'\n);\nwwv_flow_api.create_page_process(\n p_id=>wwv_flow_api.id(55689507845619258744)\n,p_process_sequence=>10\n,p_process_point=>'BEFORE_HEADER'\n,p_process_type=>'NATIVE_PLSQL'\n,p_process_name=>'Get Username Cookie'\n,p_process_sql_clob=>':P101_USERNAME := apex_authentication.get_login_username_cookie;'\n);\nend;\n/\nprompt --application/deployment/definition\nbegin\nnull;\nend;\n/\nprompt --application/deployment/checks\nbegin\nnull;\nend;\n/\nprompt --application/deployment/buildoptions\nbegin\nnull;\nend;\n/\nprompt --application/end_environment\nbegin\nwwv_flow_api.import_end(p_auto_install_sup_obj => nvl(wwv_flow_application_install.get_auto_install_sup_obj, false));\ncommit;\nend;\n/\nset verify on feedback on define on\nprompt ...done\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":346,"cells":{"blob_id":{"kind":"string","value":"c551f0c8def021b328374dd4ee2f5fe717548e16"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"MaryamGowifel/cafetrai"},"path":{"kind":"string","value":"/cafeteria.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":8490,"string":"8,490"},"score":{"kind":"number","value":3.03125,"string":"3.03125"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"-- phpMyAdmin SQL Dump\n-- version 4.6.6deb5\n-- https://www.phpmyadmin.net/\n--\n-- Host: localhost:3306\n-- Generation Time: Mar 13, 2020 at 02:51 AM\n-- Server version: 5.7.29-0ubuntu0.18.04.1\n-- PHP Version: 7.2.24-0ubuntu0.18.04.3\n\nSET SQL_MODE = \"NO_AUTO_VALUE_ON_ZERO\";\nSET time_zone = \"+00:00\";\n\n\n/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;\n/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;\n/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;\n/*!40101 SET NAMES utf8mb4 */;\n\n--\n-- Database: `cafeteria`\n--\n\n-- --------------------------------------------------------\n\n--\n-- Table structure for table `category`\n--\n\nCREATE TABLE `category` (\n `category_id` int(11) NOT NULL,\n `name` varchar(255) NOT NULL\n) ENGINE=InnoDB DEFAULT CHARSET=utf8;\n\n--\n-- Dumping data for table `category`\n--\n\nINSERT INTO `category` (`category_id`, `name`) VALUES\n(1, 'hot drinks'),\n(2, 'cold drinks'),\n(3, 'dessert');\n\n-- --------------------------------------------------------\n\n--\n-- Table structure for table `orders`\n--\n\nCREATE TABLE `orders` (\n `order_id` int(255) NOT NULL,\n `user_id` int(11) NOT NULL,\n `cost` varchar(255) NOT NULL,\n `STATUS` enum('done','processing','delivery') DEFAULT 'processing',\n `order_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,\n `notes` varchar(500) DEFAULT NULL,\n `room_no` int(11) NOT NULL\n) ENGINE=InnoDB DEFAULT CHARSET=utf8;\n\n--\n-- Dumping data for table `orders`\n--\n\nINSERT INTO `orders` (`order_id`, `user_id`, `cost`, `STATUS`, `order_date`, `notes`, `room_no`) VALUES\n(1, 2, '20 LE', 'processing', '2020-03-12 19:15:28', 'skmsdds', 3),\n(2, 1, '43 LE', 'processing', '2020-03-12 19:17:51', 'cffccf', 1),\n(3, 2, '6 LE', 'processing', '2020-03-12 19:18:59', 'suger free', 5),\n(4, 1, '14 LE', 'processing', '2020-03-12 19:28:43', '', 1),\n(5, 1, '30 LE', 'processing', '2020-03-12 21:39:41', 'cffcfcf', 3),\n(6, 1, '16 LE', 'processing', '2020-03-12 21:40:07', 'suger free', 4),\n(7, 1, '16 LE', 'processing', '2020-03-12 21:41:36', 'suger free', 4),\n(8, 4, '30 LE', 'processing', '2020-03-12 21:43:20', 'ksxkmx', 1),\n(9, 4, '30 LE', 'processing', '2020-03-12 21:44:49', 'ksxkmx', 1),\n(10, 2, '25 LE', 'processing', '2020-03-12 21:45:04', 'kkk', 1),\n(11, 2, '25 LE', 'processing', '2020-03-12 21:46:12', 'kkk', 1),\n(12, 3, '50', 'processing', '2020-03-12 21:47:38', 'klo', 2),\n(13, 2, '25 LE', 'processing', '2020-03-12 21:51:11', 'kkk', 1),\n(14, 4, '18 LE', 'processing', '2020-03-12 21:52:13', 'kkk', 3),\n(15, 4, '18 LE', 'processing', '2020-03-12 21:53:00', 'kkk', 3),\n(16, 3, '129 LE', 'processing', '2020-03-12 22:01:58', 'suger 3 spoons', 5),\n(17, 4, '40 LE', 'processing', '2020-03-12 22:03:56', 'diet', 3),\n(18, 3, '120 LE', 'processing', '2020-03-12 22:04:56', 'ededdedee', 4),\n(19, 3, '91 LE', 'processing', '2020-03-12 22:11:41', 'suger free', 5),\n(20, 3, '91 LE', 'processing', '2020-03-12 22:12:00', 'suger free', 5),\n(21, 3, '91 LE', 'processing', '2020-03-12 22:12:01', 'suger free', 5),\n(22, 3, '66 LE', 'processing', '2020-03-12 22:12:22', 'cffcfcf', 3),\n(23, 1, '58 LE', 'processing', '2020-03-12 23:32:20', 'nice', 1),\n(24, 1, '50 LE', 'processing', '2020-03-13 01:03:17', 'new order ', 3),\n(25, 1, '69 LE', 'processing', '2020-03-13 01:04:55', 'new order', 5),\n(26, 1, '22 LE', 'processing', '2020-03-13 01:10:33', '', 1),\n(27, 1, '16 LE', 'processing', '2020-03-13 01:11:33', '', 3),\n(28, 2, '22 LE', 'processing', '2020-03-13 01:13:21', 'mmama', 1),\n(29, 1, '20 LE', 'processing', '2020-03-13 01:14:49', 'mmama', 1);\n\n-- --------------------------------------------------------\n\n--\n-- Table structure for table `product`\n--\n\nCREATE TABLE `product` (\n `product_id` int(11) NOT NULL,\n `product_name` varchar(255) NOT NULL,\n `price` varchar(20) NOT NULL,\n `picture` varchar(255) NOT NULL,\n `category_id` int(11) DEFAULT NULL\n) ENGINE=InnoDB DEFAULT CHARSET=utf8;\n\n--\n-- Dumping data for table `product`\n--\n\nINSERT INTO `product` (`product_id`, `product_name`, `price`, `picture`, `category_id`) VALUES\n(12, 'tea', '6 LE', 'tea2.png', 1),\n(13, 'coffee', '10 LE', 'coffee.png', 1),\n(14, 'cola', '10 LE', 'cola.png', 2),\n(15, 'nescafe', '12 LE', 'nescafe.png', 1),\n(16, 'green tea', '8 LE', 'green-tea.png', 1),\n(17, 'mint', '8 LE', 'mint.png', 1),\n(18, 'cappuccino', '15 LE', 'cappuccino.png', 1),\n(19, 'pepsi', '10 LE', 'pepsi.png', 2),\n(20, 'milkshake', '15 LE', 'milkshake.png', 2),\n(21, 'limon', '15 LE', 'limon.png', 2),\n(22, 'strawbary', '15 LE', 'strawbary.png', 2),\n(23, 'croissant', '10 LE', 'croissant.png', 3),\n(24, 'donuts', '15 LE', 'donuts.png', 3);\n\n-- --------------------------------------------------------\n\n--\n-- Table structure for table `products_items`\n--\n\nCREATE TABLE `products_items` (\n `order_id` int(255) NOT NULL,\n `product_id` int(255) NOT NULL,\n `amount` int(255) NOT NULL\n) ENGINE=InnoDB DEFAULT CHARSET=utf8;\n\n--\n-- Dumping data for table `products_items`\n--\n\nINSERT INTO `products_items` (`order_id`, `product_id`, `amount`) VALUES\n(23, 12, 1),\n(24, 12, 1),\n(25, 12, 1),\n(27, 12, 1),\n(29, 12, 2),\n(24, 13, 2),\n(23, 14, 2),\n(27, 14, 1),\n(26, 15, 1),\n(28, 15, 1),\n(23, 16, 4),\n(25, 16, 1),\n(29, 16, 1),\n(24, 17, 3),\n(25, 18, 3),\n(25, 19, 1),\n(26, 19, 1),\n(28, 19, 1);\n\n-- --------------------------------------------------------\n\n--\n-- Table structure for table `rooms`\n--\n\nCREATE TABLE `rooms` (\n `id` int(11) NOT NULL,\n `name` varchar(50) NOT NULL\n) ENGINE=InnoDB DEFAULT CHARSET=latin1;\n\n-- --------------------------------------------------------\n\n--\n-- Table structure for table `users`\n--\n\nCREATE TABLE `users` (\n `id` int(11) NOT NULL,\n `name` varchar(255) NOT NULL,\n `username` varchar(255) NOT NULL,\n `email` varchar(255) NOT NULL,\n `password` varchar(255) NOT NULL,\n `room_no` int(11) NOT NULL,\n `ext` varchar(255) NOT NULL,\n `picture` varchar(255) NOT NULL\n) ENGINE=InnoDB DEFAULT CHARSET=utf8;\n\n--\n-- Dumping data for table `users`\n--\n\nINSERT INTO `users` (`id`, `name`, `username`, `email`, `password`, `room_no`, `ext`, `picture`) VALUES\n(1, 'mahmoud', 'mahmoud94', 'mahmoudmagdy@gmail.com', '123', 2, '3231', ''),\n(2, 'salah', 'salah93', 'salah@gmail.com', '123', 3, '66454', ''),\n(3, 'mina', 'mina95', 'mina@gmail.com', '123', 1, '22345', ''),\n(4, 'hazem', 'hazem96', 'hazem@gmail.com', '123', 4, '12234', '');\n\n--\n-- Indexes for dumped tables\n--\n\n--\n-- Indexes for table `category`\n--\nALTER TABLE `category`\n ADD PRIMARY KEY (`category_id`);\n\n--\n-- Indexes for table `orders`\n--\nALTER TABLE `orders`\n ADD PRIMARY KEY (`order_id`),\n ADD KEY `orders_ibfk_1` (`user_id`);\n\n--\n-- Indexes for table `product`\n--\nALTER TABLE `product`\n ADD PRIMARY KEY (`product_id`),\n ADD KEY `product_category_id` (`category_id`);\n\n--\n-- Indexes for table `products_items`\n--\nALTER TABLE `products_items`\n ADD PRIMARY KEY (`product_id`,`order_id`),\n ADD KEY `order_id` (`order_id`);\n\n--\n-- Indexes for table `rooms`\n--\nALTER TABLE `rooms`\n ADD PRIMARY KEY (`id`);\n\n--\n-- Indexes for table `users`\n--\nALTER TABLE `users`\n ADD PRIMARY KEY (`id`);\n\n--\n-- AUTO_INCREMENT for dumped tables\n--\n\n--\n-- AUTO_INCREMENT for table `category`\n--\nALTER TABLE `category`\n MODIFY `category_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;\n--\n-- AUTO_INCREMENT for table `orders`\n--\nALTER TABLE `orders`\n MODIFY `order_id` int(255) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=30;\n--\n-- AUTO_INCREMENT for table `product`\n--\nALTER TABLE `product`\n MODIFY `product_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;\n--\n-- AUTO_INCREMENT for table `rooms`\n--\nALTER TABLE `rooms`\n MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;\n--\n-- AUTO_INCREMENT for table `users`\n--\nALTER TABLE `users`\n MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;\n--\n-- Constraints for dumped tables\n--\n\n--\n-- Constraints for table `orders`\n--\nALTER TABLE `orders`\n ADD CONSTRAINT `orders_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`);\n\n--\n-- Constraints for table `product`\n--\nALTER TABLE `product`\n ADD CONSTRAINT `product_ibfk_1` FOREIGN KEY (`category_id`) REFERENCES `category` (`category_id`);\n\n--\n-- Constraints for table `products_items`\n--\nALTER TABLE `products_items`\n ADD CONSTRAINT `products_items_ibfk_1` FOREIGN KEY (`order_id`) REFERENCES `orders` (`order_id`),\n ADD CONSTRAINT `products_items_ibfk_2` FOREIGN KEY (`product_id`) REFERENCES `product` (`product_id`);\n\n/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;\n/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;\n/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":347,"cells":{"blob_id":{"kind":"string","value":"af33183c743353b52238e6871b351b9b3d7a6db4"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"MiichaelD/fundamentosBD"},"path":{"kind":"string","value":"/src/backupRefaccionaria.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":7295,"string":"7,295"},"score":{"kind":"number","value":2.90625,"string":"2.90625"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"-- MySQL dump 10.13 Distrib 5.5.11, for Win64 (x86)\r\n--\r\n-- Host: localhost Database: refaccionaria\r\n-- ------------------------------------------------------\r\n-- Server version\t5.5.11\r\n\r\n/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;\r\n/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;\r\n/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;\r\n/*!40101 SET NAMES utf8 */;\r\n/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;\r\n/*!40103 SET TIME_ZONE='+00:00' */;\r\n/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;\r\n/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;\r\n/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;\r\n/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;\r\n\r\n--\r\n-- Table structure for table `articulo`\r\n--\r\n\r\nDROP TABLE IF EXISTS `articulo`;\r\n/*!40101 SET @saved_cs_client = @@character_set_client */;\r\n/*!40101 SET character_set_client = utf8 */;\r\nCREATE TABLE `articulo` (\r\n `art_id` varchar(25) NOT NULL,\r\n `nombre` varchar(25) NOT NULL,\r\n `cantidad` int(10) DEFAULT NULL,\r\n `tipo_carro` varchar(10) NOT NULL DEFAULT 'General',\r\n `precio` double DEFAULT NULL,\r\n `descripcion` varchar(300) DEFAULT NULL,\r\n `fecha_adq` date NOT NULL,\r\n `disponible` int(1) NOT NULL DEFAULT '1',\r\n PRIMARY KEY (`art_id`)\r\n) ENGINE=InnoDB DEFAULT CHARSET=latin1;\r\n/*!40101 SET character_set_client = @saved_cs_client */;\r\n\r\n--\r\n-- Dumping data for table `articulo`\r\n--\r\n\r\nLOCK TABLES `articulo` WRITE;\r\n/*!40000 ALTER TABLE `articulo` DISABLE KEYS */;\r\nINSERT INTO `articulo` VALUES ('000Foco-2W','Foco-2W',6,'General',8.52,NULL,'2011-05-25',1),('001AceiteMotor-1L','AceiteMotor-1L',12,'General',45.95,NULL,'2011-05-25',1),('001Bujia','Bujia',29,'Chico',20,NULL,'2011-05-25',1),('001Foco-5W','Foco-5W',5,'Chico',9,NULL,'2011-05-25',1),('002Pila','Pila',15,'Chico',750,NULL,'2011-05-31',1),('002Wiper','Wiper',1,'Chico',89.56,NULL,'2011-05-25',1),('003TapaGasolina','TapaGasolina',8,'Mediano',55.8,NULL,'2011-05-25',1);\r\n/*!40000 ALTER TABLE `articulo` ENABLE KEYS */;\r\nUNLOCK TABLES;\r\n\r\n--\r\n-- Table structure for table `checador`\r\n--\r\n\r\nDROP TABLE IF EXISTS `checador`;\r\n/*!40101 SET @saved_cs_client = @@character_set_client */;\r\n/*!40101 SET character_set_client = utf8 */;\r\nCREATE TABLE `checador` (\r\n `emple_id` int(11) NOT NULL,\r\n `entrada` time NOT NULL,\r\n `salida` time NOT NULL,\r\n `fecha` date NOT NULL,\r\n PRIMARY KEY (`emple_id`,`fecha`)\r\n) ENGINE=InnoDB DEFAULT CHARSET=latin1;\r\n/*!40101 SET character_set_client = @saved_cs_client */;\r\n\r\n--\r\n-- Dumping data for table `checador`\r\n--\r\n\r\nLOCK TABLES `checador` WRITE;\r\n/*!40000 ALTER TABLE `checador` DISABLE KEYS */;\r\nINSERT INTO `checador` VALUES (1,'08:12:05','17:03:45','2011-05-27'),(1,'14:13:57','17:01:57','2011-05-28'),(1,'08:00:00','17:50:07','2011-05-30'),(2,'12:15:16','17:27:56','2011-05-23'),(2,'02:51:27','17:33:31','2011-05-24'),(2,'02:51:27','17:33:37','2011-05-25'),(2,'02:51:27','17:33:41','2011-05-26'),(2,'12:51:27','17:33:50','2011-05-27'),(2,'12:51:27','17:33:57','2011-05-28');\r\n/*!40000 ALTER TABLE `checador` ENABLE KEYS */;\r\nUNLOCK TABLES;\r\n\r\n--\r\n-- Table structure for table `empleado`\r\n--\r\n\r\nDROP TABLE IF EXISTS `empleado`;\r\n/*!40101 SET @saved_cs_client = @@character_set_client */;\r\n/*!40101 SET character_set_client = utf8 */;\r\nCREATE TABLE `empleado` (\r\n `emple_id` int(11) NOT NULL AUTO_INCREMENT,\r\n `nombre` varchar(15) DEFAULT NULL,\r\n `apellido` varchar(15) DEFAULT NULL,\r\n `calle` varchar(20) DEFAULT NULL,\r\n `numero` int(11) DEFAULT NULL,\r\n `facc` varchar(20) DEFAULT NULL,\r\n `email` varchar(40) DEFAULT NULL,\r\n `telefono` varchar(20) DEFAULT NULL,\r\n `puesto_id` tinyint(4) DEFAULT NULL,\r\n PRIMARY KEY (`emple_id`)\r\n) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;\r\n/*!40101 SET character_set_client = @saved_cs_client */;\r\n\r\n--\r\n-- Dumping data for table `empleado`\r\n--\r\n\r\nLOCK TABLES `empleado` WRITE;\r\n/*!40000 ALTER TABLE `empleado` DISABLE KEYS */;\r\nINSERT INTO `empleado` VALUES (1,'Hector','Garc¡a','Calle 1ra',125,'Tecolotes','rotceh_1203@hotmail.com','(686)512-3456',2),(2,'Michael','Duarte','Grito de dolores',120,'Hidalgo','michael.duarte@hotmail.com','(686)232-7433',1),(3,'Manuel','Iribe','Calle 2da',215,'Barcelona','Orobi@hotmail.com','(686)512-2676',3),(4,'Juan Luis','Olguin','Calle 3ra',521,'Heroico','eviltopollillo@hotmail.com','(686)123-2321',4),(5,'Yolanda','Roro','Calle 4ta',512,'Lejos','Yolip@hotmail.com','(686)741-8520',5);\r\n/*!40000 ALTER TABLE `empleado` ENABLE KEYS */;\r\nUNLOCK TABLES;\r\n\r\n--\r\n-- Table structure for table `puesto`\r\n--\r\n\r\nDROP TABLE IF EXISTS `puesto`;\r\n/*!40101 SET @saved_cs_client = @@character_set_client */;\r\n/*!40101 SET character_set_client = utf8 */;\r\nCREATE TABLE `puesto` (\r\n `puesto_id` tinyint(4) NOT NULL,\r\n `puesto` varchar(25) NOT NULL,\r\n `sueldo` double NOT NULL,\r\n PRIMARY KEY (`puesto_id`)\r\n) ENGINE=InnoDB DEFAULT CHARSET=latin1;\r\n/*!40101 SET character_set_client = @saved_cs_client */;\r\n\r\n--\r\n-- Dumping data for table `puesto`\r\n--\r\n\r\nLOCK TABLES `puesto` WRITE;\r\n/*!40000 ALTER TABLE `puesto` DISABLE KEYS */;\r\nINSERT INTO `puesto` VALUES (1,'jefe',88888.88),(2,'cajero',1250.5),(3,'chalan',150.5),(4,'conserje',5550.5),(5,'secretaria',15550.5);\r\n/*!40000 ALTER TABLE `puesto` ENABLE KEYS */;\r\nUNLOCK TABLES;\r\n\r\n--\r\n-- Table structure for table `vent_art`\r\n--\r\n\r\nDROP TABLE IF EXISTS `vent_art`;\r\n/*!40101 SET @saved_cs_client = @@character_set_client */;\r\n/*!40101 SET character_set_client = utf8 */;\r\nCREATE TABLE `vent_art` (\r\n `venta_id` int(11) NOT NULL,\r\n `art_id` varchar(25) NOT NULL DEFAULT '',\r\n `cant` tinyint(4) DEFAULT '1',\r\n PRIMARY KEY (`art_id`,`venta_id`)\r\n) ENGINE=InnoDB DEFAULT CHARSET=latin1;\r\n/*!40101 SET character_set_client = @saved_cs_client */;\r\n\r\n--\r\n-- Dumping data for table `vent_art`\r\n--\r\n\r\nLOCK TABLES `vent_art` WRITE;\r\n/*!40000 ALTER TABLE `vent_art` DISABLE KEYS */;\r\nINSERT INTO `vent_art` VALUES (2,'000Foco-2W',1),(1,'001Bujia',10),(2,'001Foco-5W',1),(2,'003TapaGasolina',1);\r\n/*!40000 ALTER TABLE `vent_art` ENABLE KEYS */;\r\nUNLOCK TABLES;\r\n\r\n--\r\n-- Table structure for table `venta`\r\n--\r\n\r\nDROP TABLE IF EXISTS `venta`;\r\n/*!40101 SET @saved_cs_client = @@character_set_client */;\r\n/*!40101 SET character_set_client = utf8 */;\r\nCREATE TABLE `venta` (\r\n `venta_id` int(11) NOT NULL AUTO_INCREMENT,\r\n `total` double NOT NULL,\r\n `fecha_venta` date NOT NULL,\r\n `emple_id` int(8) NOT NULL DEFAULT '1',\r\n PRIMARY KEY (`venta_id`)\r\n) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;\r\n/*!40101 SET character_set_client = @saved_cs_client */;\r\n\r\n--\r\n-- Dumping data for table `venta`\r\n--\r\n\r\nLOCK TABLES `venta` WRITE;\r\n/*!40000 ALTER TABLE `venta` DISABLE KEYS */;\r\nINSERT INTO `venta` VALUES (1,200,'2011-05-26',1),(2,73.32,'2011-05-27',2);\r\n/*!40000 ALTER TABLE `venta` ENABLE KEYS */;\r\nUNLOCK TABLES;\r\n/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;\r\n\r\n/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;\r\n/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;\r\n/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;\r\n/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;\r\n/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;\r\n/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;\r\n/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;\r\n\r\n-- Dump completed on 2011-06-04 20:10:13\r\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":348,"cells":{"blob_id":{"kind":"string","value":"d058609a5c1a5b28f1c726ca7ffbc255386edf23"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"alvirarhiza/Tugas-Keamanan-Perangkat-Lunak-2"},"path":{"kind":"string","value":"/kpl (2).sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":2197,"string":"2,197"},"score":{"kind":"number","value":3.046875,"string":"3.046875"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"-- phpMyAdmin SQL Dump\n-- version 5.0.2\n-- https://www.phpmyadmin.net/\n--\n-- Host: 127.0.0.1\n-- Waktu pembuatan: 21 Sep 2021 pada 07.03\n-- Versi server: 10.4.13-MariaDB\n-- Versi PHP: 7.4.8\n\nSET SQL_MODE = \"NO_AUTO_VALUE_ON_ZERO\";\nSTART TRANSACTION;\nSET time_zone = \"+00:00\";\n\n\n/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;\n/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;\n/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;\n/*!40101 SET NAMES utf8mb4 */;\n\n--\n-- Database: `php`\n--\n\n-- --------------------------------------------------------\n\n--\n-- Struktur dari tabel `users`\n--\n\nCREATE TABLE `users` (\n `id_user` int(30) NOT NULL,\n `username` varchar(30) NOT NULL,\n `nim` int(50) DEFAULT NULL,\n `nama` varchar(50) DEFAULT NULL,\n `email` varchar(30) DEFAULT NULL,\n `jurusan` varchar(30) DEFAULT NULL,\n `jenis_kelamin` varchar(30) DEFAULT NULL,\n `level` int(11) DEFAULT NULL,\n `password` varchar(200) DEFAULT NULL\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n\n--\n-- Dumping data untuk tabel `users`\n--\n\nINSERT INTO `users` (`id_user`, `username`, `nim`, `nama`, `email`, `jurusan`, `jenis_kelamin`, `level`, `password`) VALUES\n(1, 'tania', 190513026, 'Tania Nastika Putri Mosha', 'tanianastikaa@gmail.com', 'Teknik Informatika', 'Perempuan', 1, '7488e331b8b64e5794da3fa4eb10ad5d'),\n(2, 'lula', 190756098, 'Lula Lafah', 'wulancahyani117@gmail.com', 'Teknik SipilL', 'Perempuan', 2, '80ec08504af83331911f5882349af59d'),\n(3, 'wuni', 190513010, 'Nur Wulan Cahyani', 'wunicahyani8@gmail.com', 'Teknik Informatika', 'Perempuan', 1, '7488e331b8b64e5794da3fa4eb10ad5d'),\n(4, 'icha', 190513007, 'Alvira Rhiza Ridwani', 'alvirarhizar@gmail.com', 'Teknik Informatika', 'Perempuan', 1, '7488e331b8b64e5794da3fa4eb10ad5d');\n\n--\n-- Indexes for dumped tables\n--\n\n--\n-- Indeks untuk tabel `users`\n--\nALTER TABLE `users`\n ADD PRIMARY KEY (`id_user`),\n ADD KEY `username` (`username`);\n\n--\n-- AUTO_INCREMENT untuk tabel yang dibuang\n--\n\n--\n-- AUTO_INCREMENT untuk tabel `users`\n--\nALTER TABLE `users`\n MODIFY `id_user` int(30) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=51;\nCOMMIT;\n\n/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;\n/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;\n/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":349,"cells":{"blob_id":{"kind":"string","value":"1e0d603ed240e3e375cbc75bd3ec1622f6930126"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"galeb/galeb"},"path":{"kind":"string","value":"/api/src/main/resources/db/migration/V2__rolegroup_roles_on_delete.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":223,"string":"223"},"score":{"kind":"number","value":2.765625,"string":"2.765625"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":["Apache-2.0"],"string":"[\n \"Apache-2.0\"\n]"},"license_type":{"kind":"string","value":"permissive"},"text":{"kind":"string","value":"ALTER TABLE `rolegroup_roles`\nDROP FOREIGN KEY `FK_rolegroup_role_id`;\nALTER TABLE `rolegroup_roles`\nADD CONSTRAINT `FK_rolegroup_role_id`\n FOREIGN KEY (`rolegroup_id`)\n REFERENCES `rolegroup` (`id`)\n ON DELETE CASCADE;\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":350,"cells":{"blob_id":{"kind":"string","value":"80090b1a1764a853426330bd77754ce6fb019c25"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"KristelDi/DB"},"path":{"kind":"string","value":"/script.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":5511,"string":"5,511"},"score":{"kind":"number","value":3.828125,"string":"3.828125"},"int_score":{"kind":"number","value":4,"string":"4"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"use forum;\nDROP TABLE IF EXISTS Followers;\nDROP TABLE IF EXISTS Subscribers;\nDROP TABLE IF EXISTS Posts;\nDROP TABLE IF EXISTS Threads;\nDROP TABLE IF EXISTS Forums;\nDROP TABLE IF EXISTS Users;\n\nCREATE TABLE Users (\n id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY,\n email VARCHAR(50) NOT NULL,\n username VARCHAR(50),\n about TEXT,\n name VARCHAR(50),\n isAnonymous BOOLEAN NOT NULL DEFAULT 0,\n UNIQUE KEY(email)\n) DEFAULT CHARSET=utf8;\n\nCREATE TABLE Forums (\n id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY,\n name VARCHAR(40) UNIQUE KEY,\n short_name VARCHAR(40) UNIQUE KEY,\n user VARCHAR(50) NOT NULL,\n FOREIGN KEY (user) REFERENCES Users(email)\n ON DELETE CASCADE \n) DEFAULT CHARSET=utf8;\n\n\nCREATE TABLE Threads (\n id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY,\n forum VARCHAR(40) UNIQUE KEY,\n user VARCHAR(50) NOT NULL,\n title VARCHAR(50) NOT NULL,\n slug VARCHAR(50) NOT NULL,\n message TEXT NOT NULL,\n date TIME NOT NULL DEFAULT CURRENT_TIME,\n likes INT NOT NULL DEFAULT 0,\n dislikes INT NOT NULL DEFAULT 0,\n isClosed BOOLEAN NOT NULL DEFAULT 0,\n isDeleted BOOLEAN NOT NULL DEFAULT 0, \n FOREIGN KEY (user) REFERENCES Users(email)\n ON DELETE CASCADE,\n FOREIGN KEY (forum) REFERENCES Forums(short_name)\n ON DELETE CASCADE\n) DEFAULT CHARSET=utf8;\n\nCREATE TABLE Posts (\n id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY,\n user VARCHAR(50) NOT NULL,\n message TEXT NOT NULL,\n forum VARCHAR(40),\n thread_id INT UNSIGNED NOT NULL,\n parent INT NULL DEFAULT NULL,\n date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n likes INT NOT NULL DEFAULT 0,\n dislikes INT NOT NULL DEFAULT 0,\n isApproved BOOLEAN NOT NULL DEFAULT 0,\n isHighlighted BOOLEAN NOT NULL DEFAULT 0,\n isEdited BOOLEAN NOT NULL DEFAULT 0,\n isSpam BOOLEAN NOT NULL DEFAULT 0,\n isDeleted BOOLEAN NOT NULL DEFAULT 0,\n FOREIGN KEY (user) REFERENCES Users(email)\n ON DELETE CASCADE,\n FOREIGN KEY (thread_id) REFERENCES Threads(id)\n ON DELETE CASCADE,\n FOREIGN KEY fo (forum) REFERENCES Forums(short_name)\n ON DELETE CASCADE\n) DEFAULT CHARSET=utf8;\n\n\nCREATE TABLE Followers (\n follower_id INT UNSIGNED NOT NULL,\n followee_id INT UNSIGNED NOT NULL,\n UNIQUE (followee_id, follower_id),\n FOREIGN KEY (follower_id) REFERENCES Users(id),\n FOREIGN KEY (followee_id) REFERENCES Users(id)\n) DEFAULT CHARSET=utf8;\n\n\nCREATE TABLE Subscribers (\n user VARCHAR(50) NOT NULL,\n thread_id INT UNSIGNED NOT NULL,\n UNIQUE (user, thread_id),\n FOREIGN KEY (user) REFERENCES Users(email),\n FOREIGN KEY (thread_id) REFERENCES Threads(id)\n) DEFAULT CHARSET=utf8;\n\n\n\n\n\n!!!!!!!!!!!!!!!!!!!!\n\nuse forum;\nDROP TABLE IF EXISTS Followers;\nDROP TABLE IF EXISTS Subscribers;\nDROP TABLE IF EXISTS Posts;\nDROP TABLE IF EXISTS Threads;\nDROP TABLE IF EXISTS Forums;\nDROP TABLE IF EXISTS Users;\n\nCREATE TABLE Users (\n id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY,\n email VARCHAR(50) NOT NULL,\n username VARCHAR(50),\n about TEXT,\n name VARCHAR(50),\n isAnonymous BOOLEAN NOT NULL DEFAULT 0,\n UNIQUE KEY(email)\n) DEFAULT CHARSET=utf8;\n\nCREATE TABLE Forums (\n id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY,\n name VARCHAR(40) UNIQUE KEY,\n short_name VARCHAR(40) UNIQUE KEY,\n user VARCHAR(50) NOT NULL,\n FOREIGN KEY (user) REFERENCES Users(email)\n ON DELETE CASCADE ON UPDATE CASCADE\n) DEFAULT CHARSET=utf8;\n\n\nCREATE TABLE Threads (\n id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY,\n forum VARCHAR(40) UNIQUE KEY,\n user VARCHAR(50) NOT NULL,\n title VARCHAR(50) NOT NULL,\n slug VARCHAR(50) NOT NULL,\n message TEXT NOT NULL,\n date TIMESTAMP NOT NULL,\n likes INT NOT NULL DEFAULT 0,\n dislikes INT NOT NULL DEFAULT 0,\n isClosed BOOLEAN NOT NULL DEFAULT 0,\n isDeleted BOOLEAN NOT NULL DEFAULT 0, \n FOREIGN KEY (user) REFERENCES Users(email)\n ON DELETE CASCADE ON UPDATE CASCADE,\n FOREIGN KEY (forum) REFERENCES Forums(short_name)\n ON DELETE CASCADE ON UPDATE CASCADE\n) DEFAULT CHARSET=utf8;\n\nCREATE TABLE Posts (\n id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY,\n user VARCHAR(50) NOT NULL,\n message TEXT NOT NULL,\n forum VARCHAR(40),\n thread_id INT UNSIGNED NOT NULL,\n parent INT NULL DEFAULT NULL,\n date TIMESTAMP NOT NULL,\n likes INT NOT NULL DEFAULT 0,\n dislikes INT NOT NULL DEFAULT 0,\n isApproved BOOLEAN NOT NULL DEFAULT 0,\n isHighlighted BOOLEAN NOT NULL DEFAULT 0,\n isEdited BOOLEAN NOT NULL DEFAULT 0,\n isSpam BOOLEAN NOT NULL DEFAULT 0,\n isDeleted BOOLEAN NOT NULL DEFAULT 0,\n FOREIGN KEY (user) REFERENCES Users(email)\n ON DELETE CASCADE ON UPDATE CASCADE,\n FOREIGN KEY (thread_id) REFERENCES Threads(id)\n ON DELETE CASCADE ON UPDATE CASCADE,\n FOREIGN KEY fo (forum) REFERENCES Forums(short_name)\n ON DELETE CASCADE ON UPDATE CASCADE\n) DEFAULT CHARSET=utf8;\n\n\nCREATE TABLE Followers (\n follower_id INT UNSIGNED NOT NULL,\n followee_id INT UNSIGNED NOT NULL,\n UNIQUE (followee_id, follower_id),\n FOREIGN KEY (follower_id) REFERENCES Users(id),\n FOREIGN KEY (followee_id) REFERENCES Users(id)\n) DEFAULT CHARSET=utf8;\n\n\nCREATE TABLE Subscribers (\n user VARCHAR(50) NOT NULL,\n thread_id INT UNSIGNED NOT NULL,\n UNIQUE (user, thread_id),\n FOREIGN KEY (user) REFERENCES Users(email)\n ON DELETE CASCADE ON UPDATE CASCADE,\n FOREIGN KEY (thread_id) REFERENCES Threads(id)\n) DEFAULT CHARSET=utf8;\n\n\n\n\n\n\nsession"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":351,"cells":{"blob_id":{"kind":"string","value":"145a9a01f82b07d532507f9746ddab972948000e"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"leduardovb/Modelagem-SQL"},"path":{"kind":"string","value":"/Trabalho de Modelagem Fazenda - FÍSICA.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":1869,"string":"1,869"},"score":{"kind":"number","value":3.59375,"string":"3.59375"},"int_score":{"kind":"number","value":4,"string":"4"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"CREATE DATABASE fazenda;\n\nUSE fazenda;\nCREATE TABLE cultura ( \n\tculturaId int not null auto_increment,\n\tnome varchar(40) not null,\n\tprimary key (culturaId)\n);\n\nCREATE TABLE praga (\n\tpragaId int not null auto_increment,\n\tnome varchar (40) not null,\n\tprimary key (pragaId)\n);\n\nCREATE TABLE agrotoxico (\n\tagrotoxicoId int not null auto_increment,\n\tnome varchar (45) not null,\n\tdescricao varchar(60) not null,\n\tund_med char(3) not null,\n\tquant_disp decimal (10,2),\n\tprimary key (agrotoxicoId)\n);\n\nCREATE TABLE funcionario (\n\tfuncId int not null auto_increment,\n\tnome varchar (40) not null,\n\tprimary key (funcId)\n);\n\nCREATE TABLE areaPlantio (\n\tareaId int not null auto_increment,\n\tfuncId int not null,\n\tculturaId int,\n\ttamanho varchar (10) not null,\n dataInicio date,\n dataMax date,\n\tprimary key (areaId),\n\tforeign key (funcId) references funcionario (funcId),\n\tforeign key (culturaId) references cultura (culturaId)\n);\n\nCREATE TABLE pragaAgro (\n\tpragaId int not null,\n\tagrotoxicoId int not null,\n\tprimary key (pragaId , agrotoxicoId),\n foreign key (pragaId) references praga (pragaId),\n foreign key (agrotoxicoId) references agrotoxico (agrotoxicoId)\n);\n\nCREATE TABLE estacao (\n\testacaoId int not null auto_increment,\n\tnome varchar(20) not null,\n\tprimary key (estacaoId)\n);\n\nCREATE TABLE pragaCultura (\n\tpragaId int not null,\n culturaId int not null,\n primary key (pragaId , culturaId),\n foreign key (pragaId) references praga (pragaId),\n foreign key (culturaId) references cultura (culturaId)\n);\n\nCREATE TABLE pragaCulturaFrequencia (\n\testacaoId int not null,\n\tpragaId int not null,\n culturaId int not null,\n\tprimary key (estacaoId , pragaId , culturaId),\n foreign key (estacaoId) references estacao (estacaoId),\n foreign key (pragaId) references pragaCultura (pragaId),\n foreign key (culturaId) references pragaCultura (culturaId)\n);\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":352,"cells":{"blob_id":{"kind":"string","value":"9f9f342714488c1a8ee98120545d615a4f2df301"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"jonamuen/sql-reduce"},"path":{"kind":"string","value":"/test/sqlsmith/sqlite/966.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":289,"string":"289"},"score":{"kind":"number","value":2.546875,"string":"2.546875"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":["MIT"],"string":"[\n \"MIT\"\n]"},"license_type":{"kind":"string","value":"permissive"},"text":{"kind":"string","value":"select \n ref_0.name as c0, \n ref_0.id as c1, \n ref_0.id as c2, \n case when ref_0.id is not NULL then ref_0.name else ref_0.name end\n as c3, \n ref_0.id as c4, \n ref_0.id as c5, \n ref_0.name as c6, \n ref_0.name as c7\nfrom \n main.t0 as ref_0\nwhere ref_0.name is NULL\nlimit 130;\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":353,"cells":{"blob_id":{"kind":"string","value":"e4cecec4b8159d16788fcfc19e117d002823398a"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"HYBG/DX"},"path":{"kind":"string","value":"/live/backstage/dx.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":3655,"string":"3,655"},"score":{"kind":"number","value":3.609375,"string":"3.609375"},"int_score":{"kind":"number","value":4,"string":"4"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"CREATE TABLE `dx`.`dx_global` (\n `name` varchar(32) NOT NULL COMMENT '变量名称',\n `value` varchar(32) NOT NULL COMMENT '变量值',\n PRIMARY KEY (`name`))\nENGINE = InnoDB\nDEFAULT CHARACTER SET = utf8;\n\nCREATE TABLE `dx`.`dx_code` (\n `code` varchar(6) NOT NULL COMMENT '股票代码',\n `name` varchar(20) NOT NULL COMMENT '股票名称',\n `status` int(1) NOT NULL COMMENT '状态0:初始化,1:正常,2:停牌,3:注销',\n PRIMARY KEY (`code`),\n INDEX `st` (`status` ASC))\nENGINE = InnoDB\nDEFAULT CHARACTER SET = utf8;\n\nCREATE TABLE `dx`.`dx_user` (\n `userid` varchar(32) NOT NULL COMMENT '用户ID全局唯一',\n `created` TIMESTAMP default now() COMMENT '开户时间',\n `cash` double NOT NULL DEFAULT '0',\n `value` double NOT NULL DEFAULT '0',\n PRIMARY KEY (`userid`))\nENGINE = InnoDB\nDEFAULT CHARACTER SET = utf8;\n\nCREATE TABLE `dx`.`dx_account_record` (\n `seqid` VARCHAR(20) NOT NULL,\n `userid` VARCHAR(32) NOT NULL,\n `created` TIMESTAMP default now(),\n `amount` double NOT NULL,\n PRIMARY KEY (`seqid`),\n INDEX `ud` (`userid` ASC))\nENGINE = InnoDB\nDEFAULT CHARACTER SET = utf8;\n\nCREATE TABLE `dx`.`dx_order_put` (\n `orderid` varchar(20) NOT NULL COMMENT '订单ID',\n `userid` VARCHAR(32) NOT NULL COMMENT '用户ID',\n `created` TIMESTAMP default now(),\n `win` double COMMENT '止盈价格',\n `lose` double COMMENT '止损价格',\n `code` varchar(6) NOT NULL COMMENT '股票代码',\n `amount` double NOT NULL COMMENT '股票数量',\n `putprice` double NOT NULL COMMENT '开仓价格',\n `freeze` double NOT NULL COMMENT '冻结资金',\n PRIMARY KEY (`orderid`),\n INDEX `ud` (`userid` ASC))\nENGINE = InnoDB \nDEFAULT CHARACTER SET = utf8;\n\nCREATE TABLE `dx`.`dx_order_cancel` (\n `orderid` varchar(20) NOT NULL COMMENT '订单ID',\n `userid` VARCHAR(32) NOT NULL COMMENT '用户ID',\n `puttime` TIMESTAMP NOT NULL,\n `created` TIMESTAMP default now(),\n `tag` int(1) DEFAULT '0' COMMENT '撤单标识0:主动撤单,1:系统撤单',\n `code` varchar(6) NOT NULL COMMENT '股票代码',\n `amount` double NOT NULL COMMENT '股票数量',\n `putprice` double NOT NULL COMMENT '开仓价格',\n PRIMARY KEY (`orderid`),\n INDEX `ud` (`userid` ASC))\nENGINE = InnoDB \nDEFAULT CHARACTER SET = utf8;\n\nCREATE TABLE `dx`.`dx_order_open` (\n `orderid` varchar(20) NOT NULL COMMENT '订单ID',\n `userid` VARCHAR(32) NOT NULL COMMENT '用户ID',\n `puttime` TIMESTAMP,\n `created` TIMESTAMP default now(),\n `win` double COMMENT '止盈价格',\n `lose` double COMMENT '止损价格',\n `code` varchar(6) NOT NULL COMMENT '股票代码',\n `amount` double NOT NULL COMMENT '股票数量',\n `openprice` double NOT NULL COMMENT '开仓价格',\n `benefit` double NOT NULL DEFAULT '0' COMMENT '浮动盈亏,未计算手续费',\n `surviving` int(4) NOT NULL DEFAULT '0' COMMENT '持有天数',\n PRIMARY KEY (`orderid`),\n INDEX `ud` (`userid` ASC),\n INDEX `bf` (`benefit` ASC))\nENGINE = InnoDB \nDEFAULT CHARACTER SET = utf8;\n\nCREATE TABLE `dx`.`dx_order_close` (\n `orderid` varchar(20) NOT NULL COMMENT '订单ID',\n `userid` VARCHAR(32) NOT NULL COMMENT '用户ID',\n `opentime` TIMESTAMP NOT NULL,\n `created` TIMESTAMP default now(),\n `code` varchar(6) NOT NULL COMMENT '股票代码',\n `openamount` double NOT NULL COMMENT '开仓股票数量',\n `openprice` double NOT NULL COMMENT '开仓价格',\n `closeamount` double NOT NULL COMMENT '平仓股票数量',\n `closeprice` double NOT NULL COMMENT '平仓价格',\n `commission` double NOT NULL COMMENT '手续费',\n `earn` double NOT NULL COMMENT '净收益',\n PRIMARY KEY (`orderid`),\n INDEX `ud` (`userid` ASC))\nENGINE = InnoDB \nDEFAULT CHARACTER SET = utf8;\n\n\n\n\n\n\n\n\n\n\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":354,"cells":{"blob_id":{"kind":"string","value":"3eb4a98db0755671806f8b7eab9b7d5f99d982ea"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"engwesterberg/piproject"},"path":{"kind":"string","value":"/sql/ddl.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":8101,"string":"8,101"},"score":{"kind":"number","value":4.5,"string":"4.5"},"int_score":{"kind":"number","value":4,"string":"4"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"DROP DATABASE IF EXISTS internetbanken;\nCREATE DATABASE internetbanken;\nUSE internetbanken;\nSHOW GRANTS;\nDROP USER 'user1'@'localhost';\nCREATE USER 'user1'@'localhost' IDENTIFIED BY 'pass';\nGRANT ALL PRIVILEGES ON * . * TO 'user1'@'localhost';\n\n-- ----------------------------------------- tabeller ---------------------------------------------\n\nDROP TABLE IF EXISTS Account;\nCREATE TABLE Account\n(\n\taccountNumber INT PRIMARY KEY AUTO_INCREMENT,\n balance INT\n)\nAUTO_INCREMENT=1000;\n\n\n\n\nDROP TABLE IF EXISTS AccountHolder;\nCREATE TABLE AccountHolder\n(\n\tuserId INT PRIMARY KEY AUTO_INCREMENT,\n pincode INT(4),\n name CHAR(20),\n birth DATE,\n street VARCHAR(50),\n city VARCHAR(50)\n)\nAUTO_INCREMENT=100000;\n\n\n\n\nDROP TABLE IF EXISTS AccountHolder_Account;\nCREATE TABLE AccountHolder_Account\n(\n\tid INT PRIMARY KEY AUTO_INCREMENT,\n accountNumber INT,\n userId INT,\n FOREIGN KEY (accountNumber) REFERENCES Account(accountNumber),\n FOREIGN KEY (userId) REFERENCES AccountHolder(userId)\n);\nshow tables;\n\nuse skolan;\nselect * from logg2;\n\n\nDROP TABLE IF EXISTS Interest;\nCREATE TABLE Interest\n(\n\tid INT PRIMARY KEY AUTO_INCREMENT,\n accountNumber INT(6),\n interest DECIMAL (20, 5),\n dateOfCalculation DATE,\n FOREIGN KEY (accountNumber) REFERENCES Account(accountNumber)\n);\n\nDROP TABLE IF EXISTS Log;\nCREATE TABLE Log\n(\n\taccountNumber INT(6),\n currentBalance DECIMAL (20, 5),\n amountChanged DECIMAL (20, 5),\n time DATETIME\n);\n\n\n\n\n-- välj ut alla konton och visa användare\nDROP VIEW IF EXISTS accountsAndUserNames;\nCREATE VIEW accountsAndUserNames AS\nSELECT \n\taha.accountNumber,\n a.balance,\n GROUP_CONCAT((select name from AccountHolder AS ah where ah.userId = aha.userId )) AS userId\nFROM AccountHolder_Account AS aha, Account AS a\nwhere a.accountNumber = aha.accountNumber\nGROUP BY accountNumber\n;\nselect * from accountsAndUserNames;\n\n-- -------------------------------------------------------------------------------- lagrade procedurer --------------------------------------------------------------------------------\n\n\nDROP PROCEDURE IF EXISTS createAccountHolder;\nDELIMITER //\nCREATE PROCEDURE createAccountHolder\n(\n\taName CHAR(20),\n aPincode INT(4),\n aBirth DATE,\n aStreet VARCHAR(50),\n aCity VARCHAR(50)\n)\nINSERT INTO AccountHolder (name, pincode, birth, street, city)\nVALUES\n\t(aName, aPincode, aBirth, aStreet, aCity);\n//\nDELIMITER ;\n\n\n\n\nDROP PROCEDURE IF EXISTS createAccount;\nDELIMITER //\nCREATE PROCEDURE createAccount\n(\n\tbalance INT\n)\nINSERT INTO Account (balance)\nVALUES\n\t(balance);\n//\nDELIMITER ;\n\n\n\n\nDROP PROCEDURE IF EXISTS connectAccount;\nDELIMITER //\nCREATE PROCEDURE connectAccount\n(\n\taAccountNumber INT(4),\n aUserId INT(6)\n)\nBEGIN\n\tINSERT INTO AccountHolder_Account (accountNumber, userId)\n\tVALUES\n\t\t(aAccountNumber, aUserId);\nEND\n//\nDELIMITER ;\n\n\n\n\n\nDROP PROCEDURE IF EXISTS showAccountsOfUser; -- denna\nDELIMITER //\nCREATE PROCEDURE showAccountsOfUser\n(\n\taUserId INT(6)\n)\nselect\n\tdistinct aha.accountNumber,\n a.balance,\n v.userId as owners\nfrom \n\taccountsAndUserNames AS v\nJOIN AccountHolder_Account AS aha\n\tON v.accountNumber = aha.accountNumber\nJOIN Account AS a\n\tON a.accountNumber = aha.accountNumber\nWHERE \n\taha.accountNumber IN (select aha.accountNumber WHERE aha.userId = aUserId )\n//\nDELIMITER ;\n\nCALL showAccountsOfUser(100001);\n\n\n\n\nDROP PROCEDURE IF EXISTS showUsersAndAccounts;\nDELIMITER //\nCREATE PROCEDURE showUsersAndAccounts\n()\nSELECT \n\taha.userId,\n GROUP_CONCAT(CONCAT(aha.accountNumber)) AS Konton,\n ah.name,\n ah.pincode,\n ah.birth,\n ah.street,\n ah.city\nFROM AccountHolder_Account AS aha\nJOIN AccountHolder AS ah\n\tON ah.userId = aha.userId\nGROUP BY userId\n;\n//\nDELIMITER ;\nCALL showUsersAndAccounts();\n\n\n\n-- test ----------\n\nSELECT \n\taha.userId,\n GROUP_CONCAT(CONCAT(aha.accountNumber)) AS Konton,\n ah.name,\n ah.pincode,\n ah.birth,\n ah.street,\n ah.city\nFROM AccountHolder_Account AS aha\nJOIN AccountHolder AS ah\n\tON ah.userId = aha.userId\nGROUP BY userId\n;\n\n\n\n\nDROP PROCEDURE IF EXISTS calculateInterest;\nDELIMITER //\nCREATE PROCEDURE calculateInterest\n(\n\tinterestRate DECIMAL(3,2),\n dateOfCalculation DATE\n)\nINSERT INTO Interest (accountNumber, interest, dateOfCalculation)\nSELECT accountNumber, interestRate * balance / 365, dateOfCalculation FROM Account;\n//\nDELIMITER ;\n\nCALL calculateInterest(0.01, '2017-10-15');\n\n\n\n\nDROP PROCEDURE IF EXISTS showAccountsAndInterest;\nDELIMITER //\nCREATE PROCEDURE showAccountsAndInterest()\nSELECT\n\taccountNumber AS accountNumber, SUM(interest) AS interest\n FROM Interest\n GROUP BY accountNumber;\n//\nDELIMITER ;\n \ncall showAccountsAndInterest();\n\n\n\nDROP PROCEDURE IF EXISTS moveMoney;\nDELIMITER //\nCREATE PROCEDURE moveMoney\n(\n\tfromAccountNumber INT(4),\n toAccountNumber INT(4),\n amount DECIMAL\n)\nBEGIN\n\tUPDATE Account\n\t\tSET balance = balance - amount*1.03\n\t\tWHERE accountNumber = fromAccountNumber;\n\tUPDATE Account\n\t\tSET balance = balance + amount\n\t\tWHERE accountNumber = toAccountNumber;\n\tUPDATE Account\n\t\tSET balance = balance + amount*0.03\n WHERE accountNumber = 1000;\n\tEND\n//\nDELIMITER ;\nCALL moveMoney(1001, 1002, 50);\n\n\n\n\nDROP PROCEDURE IF EXISTS showInterestDay;\nDELIMITER //\nCREATE PROCEDURE showInterestDay\n(\n\taDay DATE\n)\nBEGIN\n\tSELECT\n\t\t*\n\tFROM\n\t\tInterest\n\tWHERE\n\t\tdateOfCalculation = aDay;\nEND\n//\nDELIMITER ;\n\ncall showInterestDay('1992-01-16');\n\n\n\nDROP PROCEDURE IF EXISTS showAccountInterest;\nDELIMITER //\nCREATE PROCEDURE showAccountInterest\n(\n\taAccountNumber INT(4)\n)\nBEGIN\n\tSELECT\n accountNumber,\n\t\tSUM(interest) AS interest\n\tFROM\n\t\tInterest\n\tWHERE\n\t\taccountNumber = aAccountNumber\n\tGROUP BY AccountNumber;\nEND\n//\nDELIMITER ;\n\nCALL showAccountInterest(1000);\n\n\n\n\nDROP PROCEDURE IF EXISTS showAccumulatedInterestDay;\nDELIMITER //\nCREATE PROCEDURE showAccumulatedInterestDay\n(\n\tday DATE\n)\nBEGIN\n\tSELECT\n\t\tdateOfCalculation,\n\t\tSUM(interest)\n\tFROM\n\t\tInterest\n\tWHERE\n\t\tdateOfCalculation = day\n\tGROUP BY dateOfCalculation;\nEND\n//\nDELIMITER ;\n\n\n\n\n\nDROP PROCEDURE IF EXISTS showAccumulatedInterestYear;\nDELIMITER //\nCREATE PROCEDURE showAccumulatedInterestYear\n(\n\taYear YEAR\n)\nBEGIN\n\tSELECT\n\t\tdistinct year(dateOfCalculation) AS year,\n\t\tSUM(interest) as interestYear\n\tFROM\n\t\tInterest\n\tWHERE\n\t\tYEAR(dateOfCalculation) = aYear\n\tGROUP BY year;\nEND\n//\nDELIMITER ;\n\ncall showAccumulatedInterestYear(2008);\n\n\n\n\nDROP PROCEDURE IF EXISTS showUserInterest;\nDELIMITER //\nCREATE PROCEDURE showUserInterest\n(\n\taUserId INT(6)\n)\nBEGIN\n\tSELECT \n\t\taha.accountNumber,\n\t\tSUM(interest) AS interest\n\tfrom \n\t\tAccountHolder_Account AS aha\n\tJOIN Interest AS i\n\t\tON i.accountNumber = aha.accountNumber\n\t\tWHERE userId = aUserId\n\tGROUP BY accountNumber\n\t;\nEND\n//\nDELIMITER ;\n\ncall showUserinterest(100000);\n-- ----------------------------------------- funktioner ---------------------------------------------\n\n\n\n\nDELIMITER //\nDROP FUNCTION IF EXISTS swishMoney //\nCREATE FUNCTION swishMoney(\n aUserId INT(6),\n aPincode INT(4),\n fromAccountNumber INT(4),\n amount DECIMAL,\n toAccountNumber INT(4)\n)\nRETURNS BOOL\nBEGIN\n IF\n\t\taPincode = (SELECT pincode FROM AccountHolder WHERE userId = aUserId) \n AND \n (SELECT balance from Account WHERE accountNumber = fromAccountNumber) > amount THEN\n\t\t\tUPDATE Account\n\t\t\t\tSET balance = balance - amount*1.02\n\t\t\t\t\tWHERE accountNumber = fromAccountNumber;\n\t\t\tUPDATE Account\n\t\t\t\tSET balance = balance + amount\n\t\t\t\t\tWHERE accountNumber = toAccountNumber;\n\t\t\tUPDATE Account\n\t\t\t\tSET balance = balance + amount*0.02\n\t\t\tWHERE accountNumber = 1000;\n\t\t\tRETURN true;\n\t\tELSE \n\t\t\tRETURN false;\n\t\tEND IF;\nEND\n//\nDELIMITER ;\n\nuse skolan;\nselect * from kurstillfalle2;\n\n\n-- ----------------------------------------- triggers ---------------------------------------------\n\nDROP TRIGGER IF EXISTS LogBalanceUpdate;\nCREATE TRIGGER LogBalanceUpdate\nAFTER UPDATE\nON Account FOR EACH ROW\n\tINSERT INTO Log (`accountNumber`,`currentBalance`,`amountChanged`,`time`)\n\t\tVALUES (OLD.accountNumber, NEW.balance, NEW.balance - OLD.balance, CURTIME());\nselect * from interest;\nSELECT * FROM Account WHERE accountNumber = 1000;\n\nselect * from log where accountNumber = 1003;\n\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":355,"cells":{"blob_id":{"kind":"string","value":"2073373f786335d3c9810d37cbda92278d55ff7f"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"ManojKumarPatnaik/citytransportsystem"},"path":{"kind":"string","value":"/cts-datasource/src/main/resources/sql/m_view_static_stops.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":697,"string":"697"},"score":{"kind":"number","value":3.984375,"string":"3.984375"},"int_score":{"kind":"number","value":4,"string":"4"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"CREATE MATERIALIZED VIEW IF NOT EXISTS static_stops AS \r\nSELECT route_short_name, stop_name, stop_lat, stop_lon, route_color, route_text_color\r\nFROM trips t\r\nINNER JOIN calendar_dates USING(service_id)\r\nINNER JOIN routes USING(route_id)\r\nINNER JOIN (\r\n select trip_id, stop_sequence, \r\n stop_name, departure_time, stop_lat, stop_lon\r\n FROM stop_times\r\n INNER JOIN stops USING(stop_id)\r\n) s USING(trip_id)\r\nGROUP BY route_short_name, stop_sequence, stop_name, stop_lat, stop_lon, route_color, route_text_color\r\nORDER BY route_short_name;\r\n\r\nCREATE INDEX IF NOT EXISTS lat_lng_idx ON static_stops (stop_lat, stop_lon);\r\nCREATE INDEX IF NOT EXISTS stop_names ON static_stops (stop_name)^;"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":356,"cells":{"blob_id":{"kind":"string","value":"047fbf1792702cadd5e22ca0477f58461fce3d1e"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"Perezc1143/MVP"},"path":{"kind":"string","value":"/seed.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":434,"string":"434"},"score":{"kind":"number","value":2.671875,"string":"2.671875"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"DROP DATABASE IF EXISTS dealership;\n\nCREATE DATABASE dealership;\n\nINSERT INTO customer (name, phone_number, address, new_customer)\nVALUES\n ('Rick James', '951-258-6325', '2504 N Alxander Ave', TRUE),\n ('Mike Jones', '281-384-8004', '234 Houston Dr', TRUE);\n\nINSERT INTO vehicle (make, model, year, mileage, under_warranty,customer_id)\nVALUES \n ('Honda', 'Civic', 2020, 12000, TRUE,1),\n ('Honda', 'Accord', 2015, 57000, FALSE,2);\n\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":357,"cells":{"blob_id":{"kind":"string","value":"c596d365264fa8c83e684bb803edcd58ca04fdc3"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"Ubagaly/les_database"},"path":{"kind":"string","value":"/lessons5/Задание 3 к 6 уроку.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":745,"string":"745"},"score":{"kind":"number","value":3.828125,"string":"3.828125"},"int_score":{"kind":"number","value":4,"string":"4"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"-- 3. Подсчитать общее количество лайков, которые получили 10 самых молодых пользователей.\n-- 3.1 получаем посты самых молодых пользователей\nselect id as post_id from posts where user_id in (\n\tSELECT * FROM (\n\t\t\tSELECT id as user_id FROM users ORDER by birthday DESC LIMIT 10\n\t\t) as user_id );\n\n -- 3.2 считаем количество лайков пост самых молодых пользователей\n \nSELECT count(*) as total FROM likes_posts WHERE post_id in ( \n\tselect id as post_id from posts where user_id in (\n\t\tSELECT * FROM (\n\t\t\tSELECT id as user_id FROM users ORDER by birthday DESC LIMIT 10\n\t\t) as user_id ) \t\n);"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":358,"cells":{"blob_id":{"kind":"string","value":"284545d3cea7befd8838dc54e78741fc3ef13560"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"lcliucheng/springboot-micro-service-temp"},"path":{"kind":"string","value":"/lc-micro-service/lc-services/lc-service-xx-admin/src/main/resources/sql/sql.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":1361,"string":"1,361"},"score":{"kind":"number","value":3.046875,"string":"3.046875"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"CREATE TABLE `cms_dict` (\n `id` BIGINT(20) UNSIGNED NOT NULL COMMENT '主键',\n `code` VARCHAR(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '代码',\n `value` VARCHAR(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '值',\n `name` VARCHAR(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '名称',\n `desc` VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '描述',\n `sort_no` INT(11) DEFAULT NULL COMMENT '排序号',\n `is_disabled` TINYINT(3) UNSIGNED DEFAULT '0' COMMENT '是否禁用 0:否 1:是',\n `is_deleted` TINYINT(3) UNSIGNED DEFAULT '0' COMMENT '是否删除 0:否 1:是',\n `ext` json DEFAULT NULL COMMENT '拓展字段',\n `created_by` VARCHAR(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建人',\n `created_at` DATETIME DEFAULT NULL COMMENT '创建时间',\n `last_modified_by` VARCHAR(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '修改人',\n `last_modified_at` DATETIME DEFAULT NULL COMMENT '修改时间',\n `version` BIGINT(20) UNSIGNED DEFAULT '0' COMMENT '版本号',\n PRIMARY KEY (`id`),\n KEY `idx_code_sn` (`code`,`sort_no`),\n KEY `idx_name` (`name`)\n) ENGINE=INNODB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='数据字典';"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":359,"cells":{"blob_id":{"kind":"string","value":"515dc124806bc9376a4887d2f8f89bb1cfa2251b"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"devzer01/complaints"},"path":{"kind":"string","value":"/cmp.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":5314,"string":"5,314"},"score":{"kind":"number","value":3.0625,"string":"3.0625"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"-- MySQL dump 10.13 Distrib 5.1.57, for apple-darwin10.0.0 (i386)\n--\n-- Host: localhost Database: complaintsbbb\n-- ------------------------------------------------------\n-- Server version\t5.1.57\n\n/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;\n/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;\n/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;\n/*!40101 SET NAMES utf8 */;\n/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;\n/*!40103 SET TIME_ZONE='+00:00' */;\n/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;\n/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;\n/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;\n/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;\n\n--\n-- Table structure for table `business`\n--\n\nDROP TABLE IF EXISTS `business`;\n/*!40101 SET @saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `business` (\n `id` int(11) NOT NULL AUTO_INCREMENT,\n `name` varchar(45) DEFAULT NULL,\n `location` varchar(45) DEFAULT NULL,\n PRIMARY KEY (`id`)\n) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;\n/*!40101 SET character_set_client = @saved_cs_client */;\n\n--\n-- Dumping data for table `business`\n--\n\nLOCK TABLES `business` WRITE;\n/*!40000 ALTER TABLE `business` DISABLE KEYS */;\nINSERT INTO `business` VALUES (1,'Landlord','Vancouver, BC'),(2,'Landlord','Vancouver, BC'),(3,'Landlord','Vancouver, BC'),(4,'Landlord','Vancouver, BC');\n/*!40000 ALTER TABLE `business` ENABLE KEYS */;\nUNLOCK TABLES;\n\n--\n-- Table structure for table `complaint`\n--\n\nDROP TABLE IF EXISTS `complaint`;\n/*!40101 SET @saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `complaint` (\n `id` int(11) NOT NULL AUTO_INCREMENT,\n `business_id` int(11) DEFAULT NULL,\n `author_user_id` int(11) DEFAULT NULL,\n `created_date` datetime DEFAULT NULL,\n `posted` tinyint(4) DEFAULT NULL,\n `title` varchar(200) DEFAULT NULL,\n PRIMARY KEY (`id`)\n) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;\n/*!40101 SET character_set_client = @saved_cs_client */;\n\n--\n-- Dumping data for table `complaint`\n--\n\nLOCK TABLES `complaint` WRITE;\n/*!40000 ALTER TABLE `complaint` DISABLE KEYS */;\nINSERT INTO `complaint` VALUES (1,1,0,NULL,1,'Sitting in the balcony happens to be illegal'),(2,2,1,NULL,1,'Sitting in the balcony happens to be illegal'),(3,3,2,'2011-09-09 14:24:19',1,'Sitting in the balcony happens to be illegal'),(4,4,3,'2011-09-09 14:25:47',1,'Sitting in the balcony happens to be illegal');\n/*!40000 ALTER TABLE `complaint` ENABLE KEYS */;\nUNLOCK TABLES;\n\n--\n-- Table structure for table `complaint_text`\n--\n\nDROP TABLE IF EXISTS `complaint_text`;\n/*!40101 SET @saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `complaint_text` (\n `id` int(11) NOT NULL AUTO_INCREMENT,\n `complaint_id` int(11) DEFAULT NULL,\n `comment_type` tinyint(4) DEFAULT NULL,\n `comment` mediumtext,\n PRIMARY KEY (`id`),\n KEY `complaint` (`complaint_id`,`comment_type`)\n) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;\n/*!40101 SET character_set_client = @saved_cs_client */;\n\n--\n-- Dumping data for table `complaint_text`\n--\n\nLOCK TABLES `complaint_text` WRITE;\n/*!40000 ALTER TABLE `complaint_text` DISABLE KEYS */;\nINSERT INTO `complaint_text` VALUES (1,2,1,'My land loard is affraid of my death caused by the balcony falling apart, therefore wishes that i do not sit outside in the balcony but be stuck inside a room with hardly any ventilation. what gives! '),(2,3,1,'My land loard is affraid of my death caused by the balcony falling apart, therefore wishes that i do not sit outside in the balcony but be stuck inside a room with hardly any ventilation. what gives! '),(3,4,1,'My land loard is affraid of my death caused by the balcony falling apart, therefore wishes that i do not sit outside in the balcony but be stuck inside a room with hardly any ventilation. what gives! ');\n/*!40000 ALTER TABLE `complaint_text` ENABLE KEYS */;\nUNLOCK TABLES;\n\n--\n-- Table structure for table `user`\n--\n\nDROP TABLE IF EXISTS `user`;\n/*!40101 SET @saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `user` (\n `id` int(11) NOT NULL AUTO_INCREMENT,\n `name` varchar(45) DEFAULT NULL,\n `email` varchar(45) DEFAULT NULL,\n PRIMARY KEY (`id`)\n) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;\n/*!40101 SET character_set_client = @saved_cs_client */;\n\n--\n-- Dumping data for table `user`\n--\n\nLOCK TABLES `user` WRITE;\n/*!40000 ALTER TABLE `user` DISABLE KEYS */;\nINSERT INTO `user` VALUES (1,'Nick Smith','nayanah@gmail.com'),(2,'Nick Smith','nayanah@gmail.com'),(3,'Nick Smith','nayanah@gmail.com');\n/*!40000 ALTER TABLE `user` ENABLE KEYS */;\nUNLOCK TABLES;\n/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;\n\n/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;\n/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;\n/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;\n/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;\n/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;\n/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;\n/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;\n\n-- Dump completed on 2011-09-12 18:37:02\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":360,"cells":{"blob_id":{"kind":"string","value":"ee8f0da792e3acad02c8fe724ba4b08008527cd0"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"celiaxie816/MOOC"},"path":{"kind":"string","value":"/Relational Database and SQL Programming/HW2_DB.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":2910,"string":"2,910"},"score":{"kind":"number","value":4.125,"string":"4.125"},"int_score":{"kind":"number","value":4,"string":"4"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"\n#db_hw2 is the database name for table Region, Product and Sales_Totals.\n\nINSERT INTO db_hw2.Region\n(region_id, region_name, super_region_id)\nVALUES \n(101, 'North America', null),\n(102, 'USA', 101),\n(103, 'Canada', 101),\n(104, 'USA-Northeast', 102),\n(105, 'USA-Southeast', 102),\n(106, 'USA-West', 102),\n(107, 'Mexico', 101);\nselect * from db_hw2.Region;\n\nINSERT INTO db_hw2.Product\n(product_id, product_name)\nVALUES \n(1256, 'Gear-Large'),\n(4437, 'Gear-Small'),\n(5567, 'Crankshaft'),\n(7684, 'Sprocket');\nselect * from db_hw2.Product;\n\nINSERT INTO db_hw2.Sales_Totals\n(product_id, region_id, year, month, sales)\nVALUES \n(1256, 104, 2020, 1, 1000),\n(4437, 105, 2020, 2, 1200),\n(7684, 106, 2020, 3, 800),\n(1256, 103, 2020, 4, 2200), \n(4437, 107, 2020, 5, 1700),\n(7684, 104, 2020, 6, 750),\n(1256, 104, 2020, 7, 1100),\n(4437, 105, 2020, 8, 1050), \n(7684, 106, 2020, 9, 600),\n(1256, 103, 2020, 10, 1900),\n(4437, 107, 2020, 11, 1500),\n(7684, 104, 2020, 12, 900);\nselect * from db_hw2.Sales_Totals;\n\n#Q1 \nselect *\n ,case when month between 1 and 3 then 1 \n when month between 3 and 6 then 2\n when month between 6 and 9 then 3\n when month between 9 and 12 then 4\n\t\tend as quarter \nfrom db_hw2.sales_Totals\norder by month;\n\n#Q2\nselect sum(case product_id when 1256 then sales else 0 end) as tot_sales_large_gears,\n\t sum(case product_id when 4437 then sales else 0 end) as tot_sales_small_gears,\n\t sum(case product_id when 5567 then sales else 0 end) as tot_sales_crankshafts, \n\t sum(case product_id when 7684 then sales else 0 end) as tot_sales_sprockets\nfrom db_hw2.Sales_Totals \ngroup by year;\n\n#Q3\nselect * \n \t ,RANK() over(order by sales desc)sales_rank \nfrom db_hw2.Sales_Totals;\n\n#Q4\nselect *\n ,RANK() over (partition by product_id order by sales desc) as product_sales_rank\nfrom db_hw2.Sales_Totals;\n\n#Q5\nselect *\nfrom \n\t(select *\n\t\t ,RANK() over (partition by product_id order by sales desc) as product_sales_rank\n\tfrom db_hw2.Sales_Totals\n )a\nwhere product_sales_rank between 1 and 2;\n\n#Q6 \nSTART TRANSACTION;\ninsert into db_hw2.Region(region_id, region_name, super_region_id) \nVALUES(108, 'Europe', NULL);\n\nSAVEPOINT sales_totals_savepoint;\n\nInsert into db_hw2.Sales_Totals(product_id,region_id, year, month, sales) \nVALUES(7684, 108, '2020', '10', 1500);\n\nCOMMIT;\n\n#Q7\nCREATE VIEW\ndb_hw2.Product_Sales_Totals_View AS\nselect product_id \n ,year\n\t ,sum(sales) as product_sales\n ,sum(sum(case when product_id in (1256, 4437) then sales else 0 end)) over() as gear_sales\nfrom db_hw2.Sales_Totals\ngroup by product_id, year;\n\n#Q8\nselect product_id\n ,region_id\n ,month\n ,sales\n ,sales / sum(sales) over() * 100 as pct_product_sales\nfrom db_hw2.sales_totals; \n\n#Q9\nselect year \n ,month\n ,sales\n ,lag(sales) over (order by month asc) as prior_month\nfrom db_hw2.Sales_Totals;\n\n#Q10\ndescribe sales.product;\n\n\n\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":361,"cells":{"blob_id":{"kind":"string","value":"18be8e97e82f9fa94c3d78358f37cb14cd1d884d"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"silence-do-good/stress-test-Postgres-and-MySQL"},"path":{"kind":"string","value":"/dump/high/day17/select1327.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":178,"string":"178"},"score":{"kind":"number","value":2.640625,"string":"2.640625"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"\nSELECT timeStamp, temperature FROM ThermometerOBSERVATION o \nWHERE timestamp>'2017-11-16T13:27:00Z' AND timestamp<'2017-11-17T13:27:00Z' AND temperature>=35 AND temperature<=44\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":362,"cells":{"blob_id":{"kind":"string","value":"95d484531c94cb4aefc1a083d340a18ad8bbfe6a"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"jccode/spring-boot-sample"},"path":{"kind":"string","value":"/spring-cloud-integrated-demo/account-service/account-service-app/src/main/resources/db/hsqldb/schema.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":441,"string":"441"},"score":{"kind":"number","value":3.609375,"string":"3.609375"},"int_score":{"kind":"number","value":4,"string":"4"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"DROP TABLE account IF EXISTS ;\n\nCREATE TABLE account (\n id INTEGER IDENTITY PRIMARY KEY,\n user_id INTEGER NOT NULL ,\n name VARCHAR(50) NOT NULL ,\n balance INTEGER,\n create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL ,\n update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP NOT NULL\n);\n\n-- ALTER TABLE account ADD FOREIGN KEY (user_id) REFERENCES account(id);\n\nCREATE INDEX account_name ON account (name);\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":363,"cells":{"blob_id":{"kind":"string","value":"03b086f176739b44d85e3905fefc197e2fcc5a6c"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"rgjr/battleship-code-challenge"},"path":{"kind":"string","value":"/database/install_db.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":6944,"string":"6,944"},"score":{"kind":"number","value":2.984375,"string":"2.984375"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"# ************************************************************\n# Sequel Pro SQL dump\n# Version 4541\n#\n# http://www.sequelpro.com/\n# https://github.com/sequelpro/sequelpro\n#\n# Host: 0.0.0.0 (MySQL 5.5.62)\n# Database: battleship\n# Generation Time: 2020-01-02 04:50:49 +0000\n# ************************************************************\n\n\n/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;\n/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;\n/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;\n/*!40101 SET NAMES utf8 */;\n/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;\n/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;\n/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;\n\n\n# Dump of table board_states\n# ------------------------------------------------------------\n\nCREATE TABLE `board_states` (\n `id` int(11) unsigned NOT NULL AUTO_INCREMENT,\n `state` varchar(11) DEFAULT NULL,\n `value` int(11) DEFAULT NULL,\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=latin1;\n\nLOCK TABLES `board_states` WRITE;\n/*!40000 ALTER TABLE `board_states` DISABLE KEYS */;\n\nINSERT INTO `board_states` (`id`, `state`, `value`)\nVALUES\n\t(1,'empty',0),\n\t(2,'patrol-boat',1),\n\t(3,'submarine',2),\n\t(4,'destroyer',3),\n\t(5,'battleship',4),\n\t(6,'carrier',5),\n\t(7,'hidden',6),\n\t(8,'p1_ship_hit',7),\n\t(9,'p1_fog',8),\n\t(10,'p2_ship_hit',9),\n\t(11,'p2_fog',10);\n\n/*!40000 ALTER TABLE `board_states` ENABLE KEYS */;\nUNLOCK TABLES;\n\n\n# Dump of table p1_board\n# ------------------------------------------------------------\n\nCREATE TABLE `p1_board` (\n `id` int(11) unsigned NOT NULL AUTO_INCREMENT,\n `A` int(11) DEFAULT '0',\n `B` int(11) DEFAULT '0',\n `C` int(11) DEFAULT '0',\n `D` int(11) DEFAULT '0',\n `E` int(11) DEFAULT '0',\n `F` int(11) DEFAULT '0',\n `G` int(11) DEFAULT '0',\n `H` int(11) DEFAULT '0',\n `I` int(11) DEFAULT '0',\n `J` int(11) DEFAULT '0',\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=latin1;\n\nLOCK TABLES `p1_board` WRITE;\n/*!40000 ALTER TABLE `p1_board` DISABLE KEYS */;\n\nINSERT INTO `p1_board` (`id`, `A`, `B`, `C`, `D`, `E`, `F`, `G`, `H`, `I`, `J`)\nVALUES\n\t(1,0,0,0,0,0,0,0,0,0,0),\n\t(2,0,0,0,0,0,0,0,0,0,0),\n\t(3,0,0,0,0,0,0,0,0,0,0),\n\t(4,0,0,0,0,0,0,0,0,0,0),\n\t(5,0,0,0,0,0,0,0,0,0,0),\n\t(6,0,0,0,0,0,0,0,0,0,0),\n\t(7,0,0,0,0,0,0,0,0,0,0),\n\t(8,0,0,0,0,0,0,0,0,0,0),\n\t(9,0,0,0,0,0,0,0,0,0,0),\n\t(10,0,0,0,0,0,0,0,0,0,0);\n\n/*!40000 ALTER TABLE `p1_board` ENABLE KEYS */;\nUNLOCK TABLES;\n\n\n# Dump of table p1_enemy_board\n# ------------------------------------------------------------\n\nCREATE TABLE `p1_enemy_board` (\n `id` int(11) unsigned NOT NULL AUTO_INCREMENT,\n `A` int(11) DEFAULT '0',\n `B` int(11) DEFAULT '0',\n `C` int(11) DEFAULT '0',\n `D` int(11) DEFAULT '0',\n `E` int(11) DEFAULT '0',\n `F` int(11) DEFAULT '0',\n `G` int(11) DEFAULT '0',\n `H` int(11) DEFAULT '0',\n `I` int(11) DEFAULT '0',\n `J` int(11) DEFAULT '0',\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=latin1;\n\nLOCK TABLES `p1_enemy_board` WRITE;\n/*!40000 ALTER TABLE `p1_enemy_board` DISABLE KEYS */;\n\nINSERT INTO `p1_enemy_board` (`id`, `A`, `B`, `C`, `D`, `E`, `F`, `G`, `H`, `I`, `J`)\nVALUES\n\t(1,0,0,0,0,0,0,0,0,0,0),\n\t(2,0,0,0,0,0,0,0,0,0,0),\n\t(3,0,0,0,0,0,0,0,0,0,0),\n\t(4,0,0,0,0,0,0,0,0,0,0),\n\t(5,0,0,0,0,0,0,0,0,0,0),\n\t(6,0,0,0,0,0,0,0,0,0,0),\n\t(7,0,0,0,0,0,0,0,0,0,0),\n\t(8,0,0,0,0,0,0,0,0,0,0),\n\t(9,0,0,0,0,0,0,0,0,0,0),\n\t(10,0,0,0,0,0,0,0,0,0,0);\n\n/*!40000 ALTER TABLE `p1_enemy_board` ENABLE KEYS */;\nUNLOCK TABLES;\n\n\n# Dump of table p2_board\n# ------------------------------------------------------------\n\nCREATE TABLE `p2_board` (\n `id` int(11) unsigned NOT NULL AUTO_INCREMENT,\n `A` int(11) DEFAULT '0',\n `B` int(11) DEFAULT '0',\n `C` int(11) DEFAULT '0',\n `D` int(11) DEFAULT '0',\n `E` int(11) DEFAULT '0',\n `F` int(11) DEFAULT '0',\n `G` int(11) DEFAULT '0',\n `H` int(11) DEFAULT '0',\n `I` int(11) DEFAULT '0',\n `J` int(11) DEFAULT '0',\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=latin1;\n\nLOCK TABLES `p2_board` WRITE;\n/*!40000 ALTER TABLE `p2_board` DISABLE KEYS */;\n\nINSERT INTO `p2_board` (`id`, `A`, `B`, `C`, `D`, `E`, `F`, `G`, `H`, `I`, `J`)\nVALUES\n\t(1,0,0,0,0,0,0,0,0,0,0),\n\t(2,0,0,0,0,0,0,0,0,0,0),\n\t(3,0,0,0,0,0,0,0,0,0,0),\n\t(4,0,0,0,0,0,0,0,0,0,0),\n\t(5,0,0,0,0,0,0,0,0,0,0),\n\t(6,0,0,0,0,0,0,0,0,0,0),\n\t(7,0,0,0,0,0,0,0,0,0,0),\n\t(8,0,0,0,0,0,0,0,0,0,0),\n\t(9,0,0,0,0,0,0,0,0,0,0),\n\t(10,0,0,0,0,0,0,0,0,0,0);\n\n/*!40000 ALTER TABLE `p2_board` ENABLE KEYS */;\nUNLOCK TABLES;\n\n\n# Dump of table p2_enemy_board\n# ------------------------------------------------------------\n\nCREATE TABLE `p2_enemy_board` (\n `id` int(11) unsigned NOT NULL AUTO_INCREMENT,\n `A` int(11) DEFAULT '0',\n `B` int(11) DEFAULT '0',\n `C` int(11) DEFAULT '0',\n `D` int(11) DEFAULT '0',\n `E` int(11) DEFAULT '0',\n `F` int(11) DEFAULT '0',\n `G` int(11) DEFAULT '0',\n `H` int(11) DEFAULT '0',\n `I` int(11) DEFAULT '0',\n `J` int(11) DEFAULT '0',\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=latin1;\n\nLOCK TABLES `p2_enemy_board` WRITE;\n/*!40000 ALTER TABLE `p2_enemy_board` DISABLE KEYS */;\n\nINSERT INTO `p2_enemy_board` (`id`, `A`, `B`, `C`, `D`, `E`, `F`, `G`, `H`, `I`, `J`)\nVALUES\n\t(1,0,0,0,0,0,0,0,0,0,0),\n\t(2,0,0,0,0,0,0,0,0,0,0),\n\t(3,0,0,0,0,0,0,0,0,0,0),\n\t(4,0,0,0,0,0,0,0,0,0,0),\n\t(5,0,0,0,0,0,0,0,0,0,0),\n\t(6,0,0,0,0,0,0,0,0,0,0),\n\t(7,0,0,0,0,0,0,0,0,0,0),\n\t(8,0,0,0,0,0,0,0,0,0,0),\n\t(9,0,0,0,0,0,0,0,0,0,0),\n\t(10,0,0,0,0,0,0,0,0,0,0);\n\n/*!40000 ALTER TABLE `p2_enemy_board` ENABLE KEYS */;\nUNLOCK TABLES;\n\n\n# Dump of table players\n# ------------------------------------------------------------\n\nCREATE TABLE `players` (\n `id` int(11) unsigned NOT NULL AUTO_INCREMENT,\n `name` varchar(11) DEFAULT NULL,\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=latin1;\n\nLOCK TABLES `players` WRITE;\n/*!40000 ALTER TABLE `players` DISABLE KEYS */;\n\nINSERT INTO `players` (`id`, `name`)\nVALUES\n\t(1,'Player One'),\n\t(2,'Player Two');\n\n/*!40000 ALTER TABLE `players` ENABLE KEYS */;\nUNLOCK TABLES;\n\n\n# Dump of table ships\n# ------------------------------------------------------------\n\nCREATE TABLE `ships` (\n `id` int(11) unsigned NOT NULL AUTO_INCREMENT,\n `type` varchar(12) DEFAULT NULL,\n `size` int(1) DEFAULT NULL,\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=latin1;\n\nLOCK TABLES `ships` WRITE;\n/*!40000 ALTER TABLE `ships` DISABLE KEYS */;\n\nINSERT INTO `ships` (`id`, `type`, `size`)\nVALUES\n\t(1,'patrol-boat',2),\n\t(2,'submarine',3),\n\t(3,'destroyer',3),\n\t(4,'battleship',4),\n\t(5,'carrier',5);\n\n/*!40000 ALTER TABLE `ships` ENABLE KEYS */;\nUNLOCK TABLES;\n\n\n\n/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;\n/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;\n/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;\n/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;\n/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;\n/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":364,"cells":{"blob_id":{"kind":"string","value":"948dc3263b6616c51432dff973a23b010799d2de"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"seguracarlos/gamification"},"path":{"kind":"string","value":"/data/gamification.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":12100,"string":"12,100"},"score":{"kind":"number","value":3.265625,"string":"3.265625"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"-- phpMyAdmin SQL Dump\n-- version 4.2.11\n-- http://www.phpmyadmin.net\n--\n-- Servidor: 127.0.0.1\n-- Tiempo de generación: 09-05-2019 a las 12:55:04\n-- Versión del servidor: 5.6.21\n-- Versión de PHP: 5.5.19\n\nSET SQL_MODE = \"NO_AUTO_VALUE_ON_ZERO\";\nSET time_zone = \"+00:00\";\n\n\n/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;\n/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;\n/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;\n/*!40101 SET NAMES utf8 */;\n\n--\n-- Base de datos: `gamification`\n--\nCREATE DATABASE IF NOT EXISTS `gamification` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;\nUSE `gamification`;\n\n-- --------------------------------------------------------\n\n--\n-- Estructura de tabla para la tabla `achievements`\n--\n\nCREATE TABLE IF NOT EXISTS `achievements` (\n`id` int(11) NOT NULL,\n `name` varchar(45) DEFAULT NULL,\n `badge` varchar(45) DEFAULT NULL,\n `imgpath` varchar(45) DEFAULT NULL,\n `points` int(11) DEFAULT NULL\n) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;\n\n--\n-- Volcado de datos para la tabla `achievements`\n--\n\nINSERT INTO `achievements` (`id`, `name`, `badge`, `imgpath`, `points`) VALUES\n(1, 'Achievment 1', 'champ.png', 'ruta', 10);\n\n-- --------------------------------------------------------\n\n--\n-- Estructura de tabla para la tabla `achivecategory`\n--\n\nCREATE TABLE IF NOT EXISTS `achivecategory` (\n `id_achive` int(11) NOT NULL,\n `id_category` int(11) NOT NULL\n) ENGINE=InnoDB DEFAULT CHARSET=utf8;\n\n--\n-- Volcado de datos para la tabla `achivecategory`\n--\n\nINSERT INTO `achivecategory` (`id_achive`, `id_category`) VALUES\n(1, 1);\n\n-- --------------------------------------------------------\n\n--\n-- Estructura de tabla para la tabla `achivetask`\n--\n\nCREATE TABLE IF NOT EXISTS `achivetask` (\n `id_task` int(11) NOT NULL,\n `id_achive` int(11) NOT NULL\n) ENGINE=InnoDB DEFAULT CHARSET=utf8;\n\n--\n-- Volcado de datos para la tabla `achivetask`\n--\n\nINSERT INTO `achivetask` (`id_task`, `id_achive`) VALUES\n(1, 1),\n(2, 1),\n(3, 1);\n\n-- --------------------------------------------------------\n\n--\n-- Estructura de tabla para la tabla `categories`\n--\n\nCREATE TABLE IF NOT EXISTS `categories` (\n`id` int(11) NOT NULL,\n `name` varchar(45) DEFAULT NULL,\n `badge` varchar(45) DEFAULT NULL,\n `imgpath` varchar(45) DEFAULT NULL,\n `points` int(11) DEFAULT NULL\n) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;\n\n--\n-- Volcado de datos para la tabla `categories`\n--\n\nINSERT INTO `categories` (`id`, `name`, `badge`, `imgpath`, `points`) VALUES\n(1, 'Fortalezas', 'forta.png', 'ruta', 1000),\n(2, 'hola', 'hola', 'holasa', 4);\n\n-- --------------------------------------------------------\n\n--\n-- Estructura de tabla para la tabla `games`\n--\n\nCREATE TABLE IF NOT EXISTS `games` (\n`id` int(11) NOT NULL,\n `name` varchar(45) DEFAULT NULL,\n `image` varchar(45) DEFAULT NULL,\n `imgpath` varchar(100) DEFAULT NULL\n) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;\n\n--\n-- Volcado de datos para la tabla `games`\n--\n\nINSERT INTO `games` (`id`, `name`, `image`, `imgpath`) VALUES\n(1, 'Aurora', 'aurora-png', 'ruta');\n\n-- --------------------------------------------------------\n\n--\n-- Estructura de tabla para la tabla `levels`\n--\n\nCREATE TABLE IF NOT EXISTS `levels` (\n`id` int(11) NOT NULL,\n `name` varchar(45) DEFAULT NULL,\n `badge` varchar(45) DEFAULT NULL,\n `imgpath` varchar(45) DEFAULT NULL,\n `minpoints` int(11) DEFAULT NULL,\n `points` int(11) DEFAULT NULL\n) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;\n\n--\n-- Volcado de datos para la tabla `levels`\n--\n\nINSERT INTO `levels` (`id`, `name`, `badge`, `imgpath`, `minpoints`, `points`) VALUES\n(1, 'Valiente Azul', 'valienteazul.png', 'ruta2', 10, 10005),\n(2, 'Valiente Rojo', 'valienterojo.png', 'ruta', NULL, 1000);\n\n-- --------------------------------------------------------\n\n--\n-- Estructura de tabla para la tabla `tasks`\n--\n\nCREATE TABLE IF NOT EXISTS `tasks` (\n`id` int(11) NOT NULL,\n `name` varchar(45) DEFAULT NULL,\n `badge` varchar(45) DEFAULT NULL,\n `imgpath` varchar(45) DEFAULT NULL,\n `points` int(11) DEFAULT NULL,\n `maxDate` date DEFAULT NULL,\n `typetask` int(1) NOT NULL,\n `descriptiont` varchar(300) NOT NULL,\n `calculateValue1` varchar(30) NOT NULL,\n `calculateValue2` varchar(30) NOT NULL,\n `calculateValue3` varchar(30) NOT NULL\n) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;\n\n--\n-- Volcado de datos para la tabla `tasks`\n--\n\nINSERT INTO `tasks` (`id`, `name`, `badge`, `imgpath`, `points`, `maxDate`, `typetask`, `descriptiont`, `calculateValue1`, `calculateValue2`, `calculateValue3`) VALUES\n(1, 'Define 3 variables', 'ordenado.png', 'ruta', 2, NULL, 1, 'Define 3 variables correctamente', '3', '', ''),\n(2, 'Muestra 5 alteras', NULL, NULL, 4, NULL, 1, 'Muestra 3 alertas en pantalla', '3', '', ''),\n(3, 'Muestra 2 mensajes en consola', NULL, NULL, 1, NULL, 1, 'Mostrar 2 mensajes en la consola', '2', '', '');\n\n-- --------------------------------------------------------\n\n--\n-- Estructura de tabla para la tabla `userachievement`\n--\n\nCREATE TABLE IF NOT EXISTS `userachievement` (\n `id` int(11) NOT NULL,\n `Achievements_idAchive` int(11) NOT NULL,\n `date` date DEFAULT NULL,\n `time` time DEFAULT NULL,\n `isDone` tinyint(1) DEFAULT NULL\n) ENGINE=InnoDB DEFAULT CHARSET=utf8;\n\n--\n-- Volcado de datos para la tabla `userachievement`\n--\n\nINSERT INTO `userachievement` (`id`, `Achievements_idAchive`, `date`, `time`, `isDone`) VALUES\n(1, 1, NULL, NULL, 0);\n\n-- --------------------------------------------------------\n\n--\n-- Estructura de tabla para la tabla `usercategory`\n--\n\nCREATE TABLE IF NOT EXISTS `usercategory` (\n `id_category` int(11) NOT NULL,\n `id_user` int(11) NOT NULL\n) ENGINE=InnoDB DEFAULT CHARSET=utf8;\n\n--\n-- Volcado de datos para la tabla `usercategory`\n--\n\nINSERT INTO `usercategory` (`id_category`, `id_user`) VALUES\n(1, 2);\n\n-- --------------------------------------------------------\n\n--\n-- Estructura de tabla para la tabla `users`\n--\n\nCREATE TABLE IF NOT EXISTS `users` (\n`id` int(11) NOT NULL,\n `name` varchar(45) DEFAULT NULL,\n `Levels_idLvl` int(11) NOT NULL,\n `points` mediumtext\n) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;\n\n--\n-- Volcado de datos para la tabla `users`\n--\n\nINSERT INTO `users` (`id`, `name`, `Levels_idLvl`, `points`) VALUES\n(1, 'Usuario Prueba', 1, '14'),\n(2, 'paboqed', 2, '5002562');\n\n-- --------------------------------------------------------\n\n--\n-- Estructura de tabla para la tabla `usertask`\n--\n\nCREATE TABLE IF NOT EXISTS `usertask` (\n `id` int(11) NOT NULL,\n `Users_iduser` int(11) NOT NULL,\n `date` date DEFAULT NULL,\n `time` time DEFAULT NULL,\n `isDone` tinyint(1) DEFAULT NULL\n) ENGINE=InnoDB DEFAULT CHARSET=utf8;\n\n--\n-- Volcado de datos para la tabla `usertask`\n--\n\nINSERT INTO `usertask` (`id`, `Users_iduser`, `date`, `time`, `isDone`) VALUES\n(1, 1, NULL, NULL, 1),\n(2, 1, NULL, NULL, 1),\n(3, 1, NULL, NULL, 1);\n\n-- --------------------------------------------------------\n\n--\n-- Estructura de tabla para la tabla `user_task_history`\n--\n\nCREATE TABLE IF NOT EXISTS `user_task_history` (\n`id` int(11) NOT NULL,\n `id_user` int(11) NOT NULL,\n `id_task` int(11) NOT NULL,\n `date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n `value` double DEFAULT NULL\n) ENGINE=InnoDB AUTO_INCREMENT=69 DEFAULT CHARSET=utf8;\n\n--\n-- Índices para tablas volcadas\n--\n\n--\n-- Indices de la tabla `achievements`\n--\nALTER TABLE `achievements`\n ADD PRIMARY KEY (`id`);\n\n--\n-- Indices de la tabla `achivecategory`\n--\nALTER TABLE `achivecategory`\n ADD PRIMARY KEY (`id_achive`,`id_category`), ADD KEY `fk_AchiveCategory_Categories1_idx` (`id_category`);\n\n--\n-- Indices de la tabla `achivetask`\n--\nALTER TABLE `achivetask`\n ADD PRIMARY KEY (`id_task`,`id_achive`), ADD KEY `fk_AchiveTask_Achievements1_idx` (`id_achive`);\n\n--\n-- Indices de la tabla `categories`\n--\nALTER TABLE `categories`\n ADD PRIMARY KEY (`id`);\n\n--\n-- Indices de la tabla `games`\n--\nALTER TABLE `games`\n ADD PRIMARY KEY (`id`);\n\n--\n-- Indices de la tabla `levels`\n--\nALTER TABLE `levels`\n ADD PRIMARY KEY (`id`);\n\n--\n-- Indices de la tabla `tasks`\n--\nALTER TABLE `tasks`\n ADD PRIMARY KEY (`id`);\n\n--\n-- Indices de la tabla `userachievement`\n--\nALTER TABLE `userachievement`\n ADD PRIMARY KEY (`id`,`Achievements_idAchive`), ADD KEY `fk_UserAchievement_Achievements1_idx` (`Achievements_idAchive`);\n\n--\n-- Indices de la tabla `usercategory`\n--\nALTER TABLE `usercategory`\n ADD PRIMARY KEY (`id_category`,`id_user`), ADD KEY `fk_UserCategory_Users1_idx` (`id_user`);\n\n--\n-- Indices de la tabla `users`\n--\nALTER TABLE `users`\n ADD PRIMARY KEY (`id`,`Levels_idLvl`), ADD KEY `fk_Users_Levels1_idx` (`Levels_idLvl`);\n\n--\n-- Indices de la tabla `usertask`\n--\nALTER TABLE `usertask`\n ADD PRIMARY KEY (`id`,`Users_iduser`), ADD KEY `fk_UserTask_Users1_idx` (`Users_iduser`);\n\n--\n-- Indices de la tabla `user_task_history`\n--\nALTER TABLE `user_task_history`\n ADD PRIMARY KEY (`id`);\n\n--\n-- AUTO_INCREMENT de las tablas volcadas\n--\n\n--\n-- AUTO_INCREMENT de la tabla `achievements`\n--\nALTER TABLE `achievements`\nMODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2;\n--\n-- AUTO_INCREMENT de la tabla `categories`\n--\nALTER TABLE `categories`\nMODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=4;\n--\n-- AUTO_INCREMENT de la tabla `games`\n--\nALTER TABLE `games`\nMODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2;\n--\n-- AUTO_INCREMENT de la tabla `levels`\n--\nALTER TABLE `levels`\nMODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=3;\n--\n-- AUTO_INCREMENT de la tabla `tasks`\n--\nALTER TABLE `tasks`\nMODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=4;\n--\n-- AUTO_INCREMENT de la tabla `users`\n--\nALTER TABLE `users`\nMODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=6;\n--\n-- AUTO_INCREMENT de la tabla `user_task_history`\n--\nALTER TABLE `user_task_history`\nMODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=69;\n--\n-- Restricciones para tablas volcadas\n--\n\n--\n-- Filtros para la tabla `achivecategory`\n--\nALTER TABLE `achivecategory`\nADD CONSTRAINT `fk_AchiveCategory_Achievements1` FOREIGN KEY (`id_achive`) REFERENCES `achievements` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,\nADD CONSTRAINT `fk_AchiveCategory_Categories1` FOREIGN KEY (`id_category`) REFERENCES `categories` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION;\n\n--\n-- Filtros para la tabla `achivetask`\n--\nALTER TABLE `achivetask`\nADD CONSTRAINT `fk_AchiveTask_Achievements1` FOREIGN KEY (`id_achive`) REFERENCES `achievements` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,\nADD CONSTRAINT `fk_UserTask_Tasks1` FOREIGN KEY (`id_task`) REFERENCES `tasks` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION;\n\n--\n-- Filtros para la tabla `userachievement`\n--\nALTER TABLE `userachievement`\nADD CONSTRAINT `fk_UserAchievement_Achievements1` FOREIGN KEY (`Achievements_idAchive`) REFERENCES `achievements` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,\nADD CONSTRAINT `fk_UserAchievement_Users1` FOREIGN KEY (`id`) REFERENCES `users` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION;\n\n--\n-- Filtros para la tabla `usercategory`\n--\nALTER TABLE `usercategory`\nADD CONSTRAINT `fk_UserCategory_Categories1` FOREIGN KEY (`id_category`) REFERENCES `categories` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,\nADD CONSTRAINT `fk_UserCategory_Users1` FOREIGN KEY (`id_user`) REFERENCES `users` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION;\n\n--\n-- Filtros para la tabla `users`\n--\nALTER TABLE `users`\nADD CONSTRAINT `fk_Users_Levels1` FOREIGN KEY (`Levels_idLvl`) REFERENCES `levels` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION;\n\n--\n-- Filtros para la tabla `usertask`\n--\nALTER TABLE `usertask`\nADD CONSTRAINT `fk_UserTask_Tasks2` FOREIGN KEY (`id`) REFERENCES `tasks` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,\nADD CONSTRAINT `fk_UserTask_Users1` FOREIGN KEY (`Users_iduser`) REFERENCES `users` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION;\n\n/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;\n/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;\n/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":365,"cells":{"blob_id":{"kind":"string","value":"0ad201b7a9ec0d369d5d063720130ed4b4a2d1fa"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"shu-csas-changgar/assignment-1-josdes"},"path":{"kind":"string","value":"/Josephine_DesRosiers_Homework1.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":1559,"string":"1,559"},"score":{"kind":"number","value":3.59375,"string":"3.59375"},"int_score":{"kind":"number","value":4,"string":"4"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"#Josephine Des Rosiers Homework #1\n\n/* Question 1 */\nSELECT first_name, last_name FROM actor\n\tWHERE first_name = \"Penelope\";\n\n/* Question 2 */\nSELECT first_name, last_name FROM actor \n\tJOIN film_actor ON actor.actor_id = film_actor.actor_id\n\tJOIN film ON film_actor.film_id = film.film_id \n\tAND film.title = \"ZOOLANDER FICTION\";\n\n/* Question 3 */\nSELECT title FROM actor \n\tJOIN film_actor ON actor.actor_id = film_actor.actor_id\n\tJOIN film ON film_actor.film_id = film.film_id \n\tAND actor.first_name = \"JENNIFER\" AND actor.last_name = \"DAVIS\";\n\n/* Question 4 */\nSELECT title FROM rental\n\tJOIN inventory ON rental.inventory_id = inventory.inventory_id\n\tJOIN film ON film.film_id = inventory.film_id\n\tWHERE rental.return_date IS NULL AND rental.customer_id = 11;\n\n/* Question 5 */\nSELECT title FROM film_category\n\tJOIN film ON film.film_id = film_category.film_id\n\tWHERE film_category.category_id = 2;\n\n/* Question 6 */\nSELECT amount, payment_date FROM payment\n\tJOIN rental ON payment.rental_id = rental.rental_id\n\tJOIN inventory ON rental.inventory_id = inventory.inventory_id\n\tJOIN film ON film.film_id = inventory.film_id\n\tAND payment.customer_id = 95 AND title = \"CLOSER BANG\";\n\n/* Question 7 */\nSELECT staff.first_name, staff.last_name FROM staff\n\tJOIN rental ON rental.staff_id = staff.staff_id\n\tJOIN inventory ON inventory.inventory_id = rental.inventory_id\n\tJOIN film ON film.film_id = inventory.film_id\n\tJOIN customer ON rental.customer_id = customer.customer_id\n\tAND customer.first_name = \"MARIE\" AND customer.last_name = \"TURNER\" AND film.title = \"CHAINSAW UPTOWN\";"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":366,"cells":{"blob_id":{"kind":"string","value":"91140a39156c613b4650a02bc961272e00ad1283"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"zivarbabayeva/Hospitaldb"},"path":{"kind":"string","value":"/SQLQuery1hospital.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":1177,"string":"1,177"},"score":{"kind":"number","value":2.640625,"string":"2.640625"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"Create Database Hospital\n\nCreate Table Doctors(\nId int identity primary key,\n\tName varchar(100),\n\tSurname varchar(100),\n\tPhonenumber varchar(100),\n\tSpeciality_Id int,\n\tEmail varchar(100)\n\t)\n\n\tCreate Table Registration(\n\tId int identity primary key,\n\t[Date] datetime,\n\tDoctors_Id int,\n\tPatient_Id int,\n\t[Time] time,\n\tRoom_Id int,\n\tDepartment varchar(200),\n\tDurationOfStay int,\n\tQueue int\n\t)\n\n\tCreate Table Patients(\n\tId int identity primary key,\n\tName varchar(100),\n\tSurname varchar(100),\n\tAdress varchar(100),\n\tPhonenumber varchar(100),\n\tRegistration_Id int,\n\tEmail varchar(100),\n\tInsurance varchar(100),\n\tInsuranceNumber int,\n\tComplaint varchar(250),\n\tBirthday datetime,\n\tPayment int,\n\tDurationOfStay int,\n\t[Queue] int\n\t)\n\n\tCreate Table Department(\n\tId int identity primary key,\n\tSpeciality varchar(150),\n\tPrices int\n\t)\n\n\tCreate Table Rooms(\n\tId int identity primary key,\n\tDepartment_Id int,\n\t)\n\n\tCreate Table Visits(\n\tId int identity primary key,\n\tDiagnosis varchar(200),\n\tPatient_Id int,\n\tDepartment_Id int,\n\tComplaint varchar(255)\n\t)\n\n\tCreate Table RegistrationCard(\n\tId int identity primary key,\n\tInsurance varchar(100),\n\tInsuranceNumber int,\n\tPatient_Id int\n\t)\n\t\n\n\n\n\n\n\t\n\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":367,"cells":{"blob_id":{"kind":"string","value":"21e25f81af79e73f1f5e3919e9c73e6bb9bdcf9d"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"shijianzsh/fenggubao"},"path":{"kind":"string","value":"/update/v2.0/upgraded/释放锁定资产.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":1966,"string":"1,966"},"score":{"kind":"number","value":3.6875,"string":"3.6875"},"int_score":{"kind":"number","value":4,"string":"4"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"DROP PROCEDURE IF EXISTS `Release_lock`;\nDELIMITER ;;\nCREATE PROCEDURE `Release_lock`(OUT error INT(11))\nBEGIN\n\n DECLARE done INT DEFAULT 0;\n DECLARE c_user_id INT DEFAULT 0;\n DECLARE c_lock_amount INT DEFAULT 0;\n\n # 获取所有释放队列\n DECLARE c_user CURSOR FOR\n SELECT m.id,\n a.account_bonus_balance\n FROM zc_account AS a\n LEFT JOIN zc_member AS m ON a.user_id = m.id\n WHERE a.account_tag = 0\n AND a.account_bonus_balance > 0\n AND m.is_lock = 0;\n\n DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = 1;\n DECLARE CONTINUE HANDLER FOR SQLEXCEPTION SET error = 1; -- 异常错误\n SET error = 0;\n\n out_label:\n BEGIN\n\n SET @releaseBai = GetSetting('goldcoin_release_bai');\n IF @releaseBai <= 0 THEN\n LEAVE out_label;\n END IF;\n\n OPEN c_user;\n REPEAT\n FETCH c_user INTO c_user_id, c_lock_amount;\n IF NOT done\n THEN\n BEGIN\n out_repeat:\n BEGIN\n\n SET @releaseAmount = c_lock_amount * @releaseBai * 0.01;\n\n # 添加明细\n CALL AddAccountRecord(c_user_id, 'bonus', 254, -@releaseAmount, UNIX_TIMESTAMP(), '', 'sdjcsf', @releaseBai, error);\n IF error\n THEN\n LEAVE out_label;\n END IF;\n\n # 添加明细\n CALL AddAccountRecord(c_user_id, 'goldcoin', 113, @releaseAmount, UNIX_TIMESTAMP(), '', 'sdjcsf', @releaseBai, error);\n\n IF error\n THEN\n LEAVE out_label;\n END IF;\n\n END out_repeat;\n END;\n END IF;\n UNTIL done END REPEAT;\n CLOSE c_user;\n END out_label;\nEND\n;;\nDELIMITER ;"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":368,"cells":{"blob_id":{"kind":"string","value":"fb3d52ccabc0c7f239527fa243c5366ef986788f"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"Archanam5282/Medplus-Database-Design-using-Oracle-SQL"},"path":{"kind":"string","value":"/sql/ins_customer.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":5986,"string":"5,986"},"score":{"kind":"number","value":2.5625,"string":"2.5625"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"----------------------------------------------------------------------\r\n-- \tFile: \tins_customer.sql\r\n--\tDate :\t17 Nov, 2019\r\n--\tPurpose: To insert data into customer table\r\n----------------------------------------------------------------------\r\n\r\nPrompt ... Inserting into customer\r\n\r\nINSERT INTO CUSTOMER VALUES (101,'Jon','Snow',1234567891,'JonSnow@gmail.com',30,'Avalon gates 100','Fairfield ',12345)\r\n/\r\nINSERT INTO CUSTOMER VALUES (102,'Math','Will',1234567892,'MathWill@gmail.com',31,'Avalon gates 101','New Haven',12346)\r\n/\r\nINSERT INTO CUSTOMER VALUES (103,'Shawn','Mendes',1234567893,'ShawnMendes@gmail.com',32,'Avalon gates 102','New York',12347)\r\n/\r\nINSERT INTO CUSTOMER VALUES (104,'Uru','Ruth',1234567894,'UruRuth@gmail.com',33,'Avalon gates 103','San Francisco ',12348)\r\n/\r\nINSERT INTO CUSTOMER VALUES (105,'Archana','Marol',1234567895,'ArchanaMarol@gmail.com',34,'Avalon gates 104','Fairfield ',12345)\r\n/\r\nINSERT INTO CUSTOMER VALUES (106,'Manish','Patil',1234567896,'ManishPatil@gmail.com',35,'Avalon gates 105','New Haven',12346)\r\n/\r\nINSERT INTO CUSTOMER VALUES (107,'Lasya','Gudi',1234567897,'LasyaGudi@gmail.com',36,'Avalon gates 106','New York',12347)\r\n/\r\nINSERT INTO CUSTOMER VALUES (108,'Varshini','Reddy',1234567898,'VarshiniReddy@gmail.com',37,'Avalon gates 107','San Francisco ',12348)\r\n/\r\nINSERT INTO CUSTOMER VALUES (109,'Harshit','Das',1234567899,'HarshitDas@gmail.com',38,'Avalon gates 108','Fairfield ',12345)\r\n/\r\nINSERT INTO CUSTOMER VALUES (110,'Meena','Venkata',1234567900,'MeenaVenkata@gmail.com',39,'Avalon gates 109','New Haven',12346)\r\n/\r\nINSERT INTO CUSTOMER VALUES (111,'Meenakshi','Lavu',1234567901,'MeenakshiLavu@gmail.com',40,'Avalon gates 110','New York',12347)\r\n/\r\nINSERT INTO CUSTOMER VALUES (112,'Kiran','Patil',1234567902,'KiranPatil@gmail.com',41,'Avalon gates 111','San Francisco ',12348)\r\n/\r\nINSERT INTO CUSTOMER VALUES (113,'Karan','Snow',1234567903,'KaranSnow@gmail.com',42,'Avalon gates 112','Fairfield ',12345)\r\n/\r\nINSERT INTO CUSTOMER VALUES (114,'Ashwini','Will',1234567904,'AshwiniWill@gmail.com',43,'Avalon gates 113','New Haven',12346)\r\n/\r\nINSERT INTO CUSTOMER VALUES (115,'Anu','Mendes',1234567905,'AnuMendes@gmail.com',44,'Avalon gates 114','New York',12347)\r\n/\r\nINSERT INTO CUSTOMER VALUES (116,'Dhriti','Ruth',1234567906,'DhritiRuth@gmail.com',45,'Avalon gates 115','San Francisco ',12348)\r\n/\r\nINSERT INTO CUSTOMER VALUES (117,'Niyati','Marol',1234567907,'NiyatiMarol@gmail.com',46,'Avalon gates 116','Fairfield ',12345)\r\n/\r\nINSERT INTO CUSTOMER VALUES (118,'Abhi','Patil',1234567908,'AbhiPatil@gmail.com',47,'Avalon gates 117','New Haven',12346)\r\n/\r\nINSERT INTO CUSTOMER VALUES (119,'Shruti','Gudi',1234567909,'ShrutiGudi@gmail.com',48,'Avalon gates 118','New York',12347)\r\n/\r\nINSERT INTO CUSTOMER VALUES (120,'Mala','Reddy',1234567910,'MalaReddy@gmail.com',49,'Avalon gates 119','San Francisco ',12348)\r\n/\r\nINSERT INTO CUSTOMER VALUES (121,'Navin','Das',1234567911,'NavinDas@gmail.com',50,'Avalon gates 120','Fairfield ',12345)\r\n/\r\nINSERT INTO CUSTOMER VALUES (122,'Sowmya','Venkata',1234567912,'SowmyaVenkata@gmail.com',51,'Avalon gates 121','New Haven',12346)\r\n/\r\nINSERT INTO CUSTOMER VALUES (123,'Anusha','Lavu',1234567913,'AnushaLavu@gmail.com',52,'Avalon gates 122','New York',12347)\r\n/\r\nINSERT INTO CUSTOMER VALUES (124,'Jon','Patil',1234567914,'JonPatil@gmail.com',53,'Avalon gates 123','San Francisco ',12348)\r\n/\r\nINSERT INTO CUSTOMER VALUES (125,'Math','Snow',1234567915,'MathSnow@gmail.com',54,'Avalon gates 124','Trumbull',12349)\r\n/\r\nINSERT INTO CUSTOMER VALUES (126,'Shawn','Will',1234567916,'ShawnWill@gmail.com',55,'Avalon gates 125','Bridgeport',12350)\r\n/\r\nINSERT INTO CUSTOMER VALUES (127,'Uru','Mendes',1234567917,'UruMendes@gmail.com',56,'Avalon gates 126','New York',12347)\r\n/\r\nINSERT INTO CUSTOMER VALUES (128,'Archana','Ruth',1234567918,'ArchanaRuth@gmail.com',57,'Avalon gates 127','San Francisco ',12348)\r\n/\r\nINSERT INTO CUSTOMER VALUES (129,'Manish','Marol',1234567919,'ManishMarol@gmail.com',58,'Avalon gates 128','Trumbull',12349)\r\n/\r\nINSERT INTO CUSTOMER VALUES (130,'Lasya','Patil',1234567920,'LasyaPatil@gmail.com',59,'Avalon gates 129','Bridgeport',12350)\r\n/\r\nINSERT INTO CUSTOMER VALUES (131,'Varshini','Gudi',1234567921,'VarshiniGudi@gmail.com',60,'Avalon gates 130','New York',12347)\r\n/\r\nINSERT INTO CUSTOMER VALUES (132,'Harshit','Reddy',1234567922,'HarshitReddy@gmail.com',61,'Avalon gates 131','San Francisco ',12348)\r\n/\r\nINSERT INTO CUSTOMER VALUES (133,'Meena','Das',1234567923,'MeenaDas@gmail.com',62,'Avalon gates 132','Trumbull',12349)\r\n/\r\nINSERT INTO CUSTOMER VALUES (134,'Meenakshi','Venkata',1234567924,'MeenakshiVenkata@gmail.com',63,'Avalon gates 133','Bridgeport',12350)\r\n/\r\nINSERT INTO CUSTOMER VALUES (135,'Kiran','Lavu',1234567925,'KiranLavu@gmail.com',64,'Avalon gates 134','New Haven',12346)\r\n/\r\nINSERT INTO CUSTOMER VALUES (136,'Karan','Patil',1234567926,'KaranPatil@gmail.com',65,'Avalon gates 135','New York',12347)\r\n/\r\nINSERT INTO CUSTOMER VALUES (137,'Ashwini','Snow',1234567927,'AshwiniSnow@gmail.com',66,'Avalon gates 136','San Francisco ',12348)\r\n/\r\nINSERT INTO CUSTOMER VALUES (138,'Anu','Will',1234567928,'AnuWill@gmail.com',67,'Avalon gates 137','Fairfield ',12345)\r\n/\r\nINSERT INTO CUSTOMER VALUES (139,'Dhriti','Mendes',1234567929,'DhritiMendes@gmail.com',68,'Avalon gates 138','New Haven',12346)\r\n/\r\nINSERT INTO CUSTOMER VALUES (140,'Niyati','Ruth',1234567930,'NiyatiRuth@gmail.com',69,'Avalon gates 139','New York',12347)\r\n/\r\nINSERT INTO CUSTOMER VALUES (141,'Abhi','Marol',1234567931,'AbhiMarol@gmail.com',70,'Avalon gates 140','San Francisco ',12348)\r\n/\r\nINSERT INTO CUSTOMER VALUES (142,'Shruti','Patil',1234567932,'ShrutiPatil@gmail.com',71,'Avalon gates 141','Fairfield ',12345)\r\n/\r\nINSERT INTO CUSTOMER VALUES (143,'Maya','Gudi',1234567933,'MayaGudi@gmail.com',72,'Avalon gates 142','New Haven',12346)\r\n/\r\nINSERT INTO CUSTOMER VALUES (144,'Navin','Reddy',1234567934,'NavinReddy@gmail.com',73,'Avalon gates 143','New York',12347)\r\n/\r\nINSERT INTO CUSTOMER VALUES (145,'Sowmya','Das',1234567935,'SowmyaDas@gmail.com',74,'Avalon gates 144','San Francisco ',12348)\r\n/\r\nINSERT INTO CUSTOMER VALUES (146,'Anusha','Venkata',1234567936,'AnushaVenkata@gmail.com',75,'Avalon gates 145','Trumbull',12349)\r\n/\r\nINSERT INTO CUSTOMER VALUES (147,'Niyati','Lavu',1234567937,'NiyatiLavu@gmail.com',76,'Avalon gates 146','Bridgeport',12350)\r\n/\r\nINSERT INTO CUSTOMER VALUES (148,'Abhi','Patil',1234567938,'AbhiPatil@gmail.com',77,'Avalon gates 147','New York',12347)\r\n/\r\nINSERT INTO CUSTOMER VALUES (149,'Shruti','Venkata',1234567939,'ShrutiVenkata@gmail.com',78,'Avalon gates 148','San Francisco ',12348)\r\n/\r\n\r\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":369,"cells":{"blob_id":{"kind":"string","value":"aa5d6df2b0d24ee3c3f09f4d91b247cdafb9c16a"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"repitaneo/DWES_2019_IniciandoJDBC"},"path":{"kind":"string","value":"/cinesbd.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":1490,"string":"1,490"},"score":{"kind":"number","value":2.84375,"string":"2.84375"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"CREATE DATABASE IF NOT EXISTS `cines` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci */;\nUSE `cines`;\n-- MySQL dump 10.13 Distrib 8.0.11, for Win64 (x86_64)\n--\n-- Host: 127.0.0.1 Database: cines\n-- ------------------------------------------------------\n-- Server version\t8.0.11\n\n/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;\n/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;\n/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;\n SET NAMES utf8 ;\n/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;\n/*!40103 SET TIME_ZONE='+00:00' */;\n/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;\n/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;\n/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;\n/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;\n\n--\n-- Table structure for table `cines`\n--\n\nDROP TABLE IF EXISTS `cines`;\n/*!40101 SET @saved_cs_client = @@character_set_client */;\n SET character_set_client = utf8mb4 ;\nCREATE TABLE `cines` (\n `idcines` int(11) NOT NULL AUTO_INCREMENT,\n `nombre` varchar(45) DEFAULT NULL,\n `direccion` varchar(45) DEFAULT NULL,\n `CIF` varchar(10) DEFAULT NULL,\n `responsable` varchar(45) DEFAULT NULL,\n `telefono` varchar(9) DEFAULT NULL,\n PRIMARY KEY (`idcines`)\n) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;\n/*!40101 SET character_set_client = @saved_cs_client */;\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":370,"cells":{"blob_id":{"kind":"string","value":"aaa4c57a0b1a3f0567fc551354db0204fda36d91"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"pratima5/training"},"path":{"kind":"string","value":"/sql/create_car2_functionality.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":221,"string":"221"},"score":{"kind":"number","value":2.78125,"string":"2.78125"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"create table car2.functionality\n(\nID int primary key auto_increment,\nfeature varchar(20),\nvalue boolean,\ncreated_on timestamp DEFAULT CURRENT_TIMESTAMP,\n carID INT,\n FOREIGN KEY (ID) \n REFERENCES car2.car(carID)\n);"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":371,"cells":{"blob_id":{"kind":"string","value":"aeed9377bf31aea8146e1ce7b36a107ceec5a10c"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"pirangy/turma30java"},"path":{"kind":"string","value":"/SQL/listas/lista1/exercicio3_todasAsQuerys.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":1876,"string":"1,876"},"score":{"kind":"number","value":3.765625,"string":"3.765625"},"int_score":{"kind":"number","value":4,"string":"4"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"CREATE DATABASE db_escola; -- criar banco de dados \"db_escola\"\nUSE db_escola; -- realizar operações no banco de dados \"db_escola\"\n\n-- criar tabela \"tb_alunos\"\nCREATE TABLE tb_alunos (\n id_aluno bigint(5) auto_increment, -- atributo \"id_aluno\" com auto_increment (preenchimento automático de identificação: 1, 2, 3...)\n nome varchar(20) not null, -- atributo \"nome\" com not null (não aceita preenchimento vazio)\n idade bigint (2) not null, -- atributo \"idade\" com not null (não aceita preenchimento vazio)\n nota bigint (2) not null, -- atributo \"ano\" com not null (não aceita preenchimento vazio)\n\tativo boolean, -- atributo \"ativo\" como boolean (true para ativo/false para inativo)\n\t\n primary key (id_aluno) -- atributo \"id_aluno\" estabelecido como chave primária da tabela \"tb_alunos\"\n);\n\n-- comandos para popular tabela com até 8 dados (sem a necessidade de setar o atributo \"id_alunos\", pois este foi definido com auto_increment)\nINSERT INTO tb_alunos (nome, idade, nota, ativo) VALUES (\"Ariel\", 10, 4, true); \nINSERT INTO tb_alunos (nome, idade, nota, ativo) VALUES (\"Juliana\", 10, 4, true);\nINSERT INTO tb_alunos (nome, idade, nota, ativo) VALUES (\"Cássia\", 8, 10, true);\nINSERT INTO tb_alunos (nome, idade, nota, ativo) VALUES (\"Henrique\", 8, 10, true);\nINSERT INTO tb_alunos (nome, idade, nota, ativo) VALUES (\"Ana Paula\", 12, 10, true);\nINSERT INTO tb_alunos (nome, idade, nota, ativo) VALUES (\"Gabriel\", 12, 8, true);\nINSERT INTO tb_alunos (nome, idade, nota, ativo) VALUES (\"Giovana\", 14, 8, true);\nINSERT INTO tb_alunos (nome, idade, nota, ativo) VALUES (\"Stefani\", 14, 10, true);\n\n-- comandos para seleção\nSELECT * FROM tb_alunos WHERE nota > 7; \nSELECT * FROM tb_alunos WHERE nota < 7;\n\n-- comandos de atualização\nUPDATE tb_alunos SET nota = 6\n\tWHERE id_aluno = 2; -- atualiza o valor de produto de \"id_aluno = 2\" (\"Juliana\", nota = 4)"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":372,"cells":{"blob_id":{"kind":"string","value":"02d6977e2d3d985bcb7fdc2c5a3449d6275a7347"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"ringolip/Learn-Java"},"path":{"kind":"string","value":"/Day44/SQL99语法连接查询习题解答.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":678,"string":"678"},"score":{"kind":"number","value":4.46875,"string":"4.46875"},"int_score":{"kind":"number","value":4,"string":"4"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"-- 一、查询编号>3 的女神的男朋友信息,如果有则列出详细,如果没有,用 null 填充\nSELECT b.id, b.`name`, y.*\nFROM `beauty` AS b\nLEFT OUTER JOIN boys AS y ON b.`boyfriend_id` = y.id\nWHERE b.id > 3;\n\n-- 二、查询哪个城市没有部门\nSELECT city, `department_name`\nFROM `locations` AS l\nLEFT OUTER JOIN `departments` AS d ON d.`location_id` = l.`location_id`\nWHERE d.`department_id` IS NULL;\n\n-- 三、查询部门名为 SAL 或 IT 的员工信息\nSELECT department_name, e.`last_name`, e.`department_id`\nFROM departments AS d\nLEFT OUTER JOIN `employees` AS e ON e.`department_id` = d.`department_id`\nWHERE d.`department_name` IN(\"SAL\", \"IT\");\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":373,"cells":{"blob_id":{"kind":"string","value":"78a106b38d14dc3def083e12d5392a5339385abc"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"minziappa/basic_sample"},"path":{"kind":"string","value":"/document/make_table.ddl"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":363,"string":"363"},"score":{"kind":"number","value":3.234375,"string":"3.234375"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"/* DROP TABLE sample_user; */\n\nCREATE DATABASE sample_db;\n\nCREATE TABLE user\n(\n\tuser_id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,\n\tuser_name VARCHAR(45) NOT NULL,\n\tuser_status CHAR(1) NOT NULL,\n\tinsert_date TIMESTAMP NOT NULL,\n\tupdate_date TIMESTAMP NOT NULL,\n\tPRIMARY KEY (user_id)\n) ENGINE=innoDB DEFAULT CHARSET=utf8;\n\nCREATE INDEX user_idx1 ON user(user_name);"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":374,"cells":{"blob_id":{"kind":"string","value":"345d7f8a7f27c89d8cf5dd33e4456437e521d2d1"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"hezhiquan/softwareTest"},"path":{"kind":"string","value":"/src/main/resources/banks.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":5428,"string":"5,428"},"score":{"kind":"number","value":3.234375,"string":"3.234375"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"CREATE DATABASE IF NOT EXISTS `bank`;\nUSE `bank`;\nDROP TABLE IF EXISTS `institutions`;\nCREATE TABLE `institutions` (\n `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',\n `name` varchar(40) NOT NULL COMMENT '机构名',\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8;\nLOCK TABLES `institutions` WRITE;\n/*!40000 ALTER TABLE `institutions` DISABLE KEYS */;\nINSERT INTO `institutions` VALUES (10,'南小食有限公司'),(9,'南食'),(8,'野村证券公司');\n/*!40000 ALTER TABLE `institutions` ENABLE KEYS */;\nUNLOCK TABLES;\n\n\nDROP TABLE IF EXISTS `customers`;\nCREATE TABLE `customers` (\n `id` int(40) not null AUTO_INCREMENT,\n `code` varchar(40) NOT NULL COMMENT '客户号',\n `name` varchar(40) NOT NULL COMMENT '用户名',\n `id_number` varchar(20) NOT NULL COMMENT '证件号',\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8;\nLOCK TABLES `customers` WRITE;\n/*!40000 ALTER TABLE `customers` DISABLE KEYS */;\nINSERT INTO `customers` VALUES (14,'demo001202104079','南小食客户一','465432134566789097'),(13,'demo001202104078','张三','432561200009087821');\n/*!40000 ALTER TABLE `customers` ENABLE KEYS */;\nUNLOCK TABLES;\n\nDROP TABLE IF EXISTS `cards`;\nCREATE TABLE `cards` (\n `id` int(40) NOT NULL AUTO_INCREMENT,\n `balance` double(20,4) DEFAULT 0 ,\n `customer_code` varchar(40) DEFAULT NULL COMMENT '客户号',\n `account_num` varchar(20) DEFAULT NULL COMMENT '银行卡账号',\n `password` varchar(40) not null COMMENT '加密后的银行卡密码',\n PRIMARY KEY (`id`)\n -- foreign key(customer_code) references customers(code), 外键约束,银行卡客户号来自客户号或者机构号\n) ENGINE=InnoDB DEFAULT CHARSET=utf8;\n-- 创建属于南小食客户一的两张信用卡,属于南小食有限公司的一张信用卡 \n\nLOCK TABLES `cards` WRITE;\n/*!40000 ALTER TABLE `cards` DISABLE KEYS */;\n-- todo 写密码加密算法的时候把这三个乱填的密码换成加密后的密码 \nINSERT INTO `cards` VALUES \n(27,84911.6586,'demo001202104079','6161779470821245928','dsaddadaewradada'),\n(30,0.0000,'demo001202104079','6161779470821216793','wrrewrsdfsfsfgdfgd'),\n(28,4567.0000,'南小食有限公司','716177967387571','dadadafddagfdfgdd');\n/*!40000 ALTER TABLE `cards` ENABLE KEYS */;\nUNLOCK TABLES;\n\nDROP TABLE IF EXISTS `loans`;\nCREATE TABLE `loans` (\n `id` int(40) NOT NULL AUTO_INCREMENT,\n `iou_num` varchar(40) NOT NULL COMMENT '借据号',\n `customer_code` varchar(40) DEFAULT NULL COMMENT '客户号',\n `account_num` varchar(20) not NULL COMMENT '银行卡账号',\n `yearly_rate` double(20,4) default 0.0 COMMENT '年利率',\n `repayment_count` int(10) not null comment '',\n `due_date` Date not null COMMENT '应还日期',\n `loan_date` Date not null COMMENT '贷款日期',\n `loan_cost` double(20,4) not null COMMENT '贷款相关费用',\n `loan_amount` double(20,4) not null COMMENT '贷款费用',\n `product_code` varchar(20) not null COMMENT '产品编号', \n `institution_account_num` varchar(20) not NULL COMMENT '所贷款机构的银行卡',\n PRIMARY KEY (`id`)\n -- todo KEY `loans_ibfk_1` (`account_num`),\n-- CONSTRAINT `loans_ibfk_1` FOREIGN KEY (`account_num`) REFERENCES `cards`(`account_num`) ON DELETE NO ACTION ON UPDATE NO ACTION\n) ENGINE=InnoDB DEFAULT CHARSET=utf8;\n\nLOCK TABLES `loans` WRITE;\n/*!40000 ALTER TABLE `loans` DISABLE KEYS */;\n-- 创建南小食客户一的两个贷款,一个未过期,一个过期\nINSERT INTO `loans` VALUES \n(8,\"L2104081553341\",\"demo001202104079\",'6161779470821245928',4.0000,2,'2021-06-07','2021-04-07',10.0000,9990.0000,\"40001\",\"716177967387571\"),\n(9,\"L2104081553342\",\"demo001202104079\",'6161779470821245928',4.0000,3,'2021-04-07','2021-01-07',10.0000,19990.0000,\"40001\",\"716177967387571\");\n/*!40000 ALTER TABLE `loans` ENABLE KEYS */;\nUNLOCK TABLES;\n\nDROP TABLE IF EXISTS `repay_plans`;\nCREATE TABLE `repay_plans` (\n `id` int(40) not null AUTO_INCREMENT,\n `iou_num` varchar(40) NOT NULL COMMENT '' ,\n `create_time` datetime not null ,\n `plan_num` double(20,4) not null COMMENT '本次贷款的第几期',\n `plan_amount` double(20,4) not null,\n `plan_principal` double(20,4) default 0,\n `plan_interest` double(20,4) default 0, \n `plan_date` date not null,\n `remain_amount` double(20,4) not null,\n `remain_principal` double(20,4) not null,\n `remain_interest` double(20,4) default 0,\n `fine` double(20,4) default 0 COMMENT '罚金',\n `status` int(2) default 0 COMMENT '0:默认,1:逾期,有罚金且未还罚金,2,逾期,已还罚金,3:正常还款',\n PRIMARY KEY (`id`)\n -- todo foreign key(iou_num) references loans(iou_num)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8;\nLOCK TABLES `repay_plans` WRITE;\n/*!40000 ALTER TABLE `repay_plans` DISABLE KEYS */;\nINSERT INTO `repay_plans` VALUES \n(11,'L2104081553341','2021-04-07 20:53:27',1,5025.0114,4991.6814,33.3300,'2021-05-07',5025.0114,4991.6814,33.3300,0,0),\n(12,'L2104081553341','2021-04-07 20:53:27',2,5025.0114,5008.3187,16.6927,'2021-06-07',5025.0114,5008.3187,16.6927,0,0),\n(13,'L2104081553342','2021-01-07 20:53:27',1,6712.2785,6643.9385,68.3400,'2021-02-07',6712.2785,6643.9385,68.3400,335.6139,1),\n(14,'L2104081553342','2021-01-07 20:53:27',2,6712.2785,6666.6408,45.6377,'2021-03-07',6712.2785,6666.6408,45.6377,0,0),\n(15,'L2104081553342','2021-01-07 20:53:27',3,6712.2785,6689.4207,22.8578,'2021-04-07',6712.2785,6689.4207,22.8578,0,0);\n/*!40000 ALTER TABLE `repay_plans` ENABLE KEYS */;\nUNLOCK TABLES;\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":375,"cells":{"blob_id":{"kind":"string","value":"de75177708623d02989383211364296598ffc4d0"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"CFRealEstateServices/DomoCLR"},"path":{"kind":"string","value":"/dbo/Stored Procedures/AddUserMapping.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":545,"string":"545"},"score":{"kind":"number","value":2.703125,"string":"2.703125"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":["MIT"],"string":"[\n \"MIT\"\n]"},"license_type":{"kind":"string","value":"permissive"},"text":{"kind":"string","value":"\n-- =============================================\n-- Author:\t\tRyan Nigro\n-- Create date: 3/18/17\n-- Description:\tAdd user mapping\n-- =============================================\nCREATE PROCEDURE AddUserMapping\n\t-- Add the parameters for the stored procedure here\n\t@domain varchar(200),\n\t@DOMOUserId int,\n\t@ExternalUserID int\nAS\nBEGIN\n\t-- SET NOCOUNT ON added to prevent extra result sets from\n\t-- interfering with SELECT statements.\n\tSET NOCOUNT ON;\n\n insert into dbo.UserRecordMappings\n\tselect\n\t\t@domain,\n\t\t@DOMOUserId,\n\t\t@ExternalUserID\nEND"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":376,"cells":{"blob_id":{"kind":"string","value":"e9d9f550573f3176bbaee89c6781b18768bc881e"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"miguelmontiel30/BD-GMG"},"path":{"kind":"string","value":"/Procedimientos/Search Procedures.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":479,"string":"479"},"score":{"kind":"number","value":2.640625,"string":"2.640625"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"use sistema_gmg;\n\t\t\t\t\t\t\t/*PROCEDIMIENTO BUSQUEDA DE USUARIOS*/\n \nDELIMITER $$\nCREATE PROCEDURE validacion(user varchar(20), pass varchar(50))\nBEGIN\nSELECT tipo_usuario FROM login where usuario = user and password = pass;\nEND $$\n\t\n \n\t\t\t\t\t\t/* PROCEDIMIENTO BUSQUEDA */\n\nDELIMITER $$\n\nCREATE PROCEDURE busqueda_ciclo(nombre_ciclo varchar(12))\nBEGIN\nSELECT * FROM vista_ciclos where Ciclos like CONCAT('%',nombre_ciclo,'%');\n\nEND$$\n\n\n\n\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":377,"cells":{"blob_id":{"kind":"string","value":"fdaf7fa907c964e180eb16b2cefa9a22e36a011a"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"Pontus12345/shoes"},"path":{"kind":"string","value":"/sami_Database_Mysql/running_shoes.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":30317,"string":"30,317"},"score":{"kind":"number","value":3.203125,"string":"3.203125"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":["MIT"],"string":"[\n \"MIT\"\n]"},"license_type":{"kind":"string","value":"permissive"},"text":{"kind":"string","value":"-- phpMyAdmin SQL Dump\n-- version 4.0.10deb1\n-- http://www.phpmyadmin.net\n--\n-- Värd: localhost\n-- Skapad: 04 maj 2016 kl 22:08\n-- Serverversion: 5.5.46-0ubuntu0.14.04.2\n-- PHP-version: 5.5.9-1ubuntu4.16\n\nSET SQL_MODE = \"NO_AUTO_VALUE_ON_ZERO\";\nSET time_zone = \"+00:00\";\n\n\n/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;\n/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;\n/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;\n/*!40101 SET NAMES utf8 */;\n\n--\n-- Databas: `running_shoes`\n--\n\n-- --------------------------------------------------------\n\n--\n-- Tabellstruktur `blog`\n--\n\nCREATE TABLE IF NOT EXISTS `blog` (\n `ID` int(11) NOT NULL AUTO_INCREMENT,\n `By` varchar(200) DEFAULT NULL,\n `blog_label` varchar(200) DEFAULT NULL,\n `Date` date DEFAULT NULL,\n `blog_content` text,\n `blog_image` text,\n `blog_title` varchar(200) DEFAULT NULL,\n PRIMARY KEY (`ID`),\n UNIQUE KEY `By` (`By`)\n) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;\n\n--\n-- Dumpning av Data i tabell `blog`\n--\n\nINSERT INTO `blog` (`ID`, `By`, `blog_label`, `Date`, `blog_content`, `blog_image`, `blog_title`) VALUES\n(1, 'Pontus', 'Shoes', '2016-03-03', 'IPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsum', 'images/laravel-5-test.jpg', 'Date some shoes'),\n(2, 'Pontus2', 'Shoes2', '2016-03-07', 'IPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsum', 'images/laravel-5-test.jpg', 'Date some shoes'),\n(3, 'Pontus3', 'Shoes3', '2016-03-07', 'IPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsum', 'images/laravel-5-test.jpg', 'Date some shoes');\n\n-- --------------------------------------------------------\n\n--\n-- Tabellstruktur `brands`\n--\n\nCREATE TABLE IF NOT EXISTS `brands` (\n `Brand_id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `banner_link` text,\n `link` text,\n `Brand_title` varchar(200) DEFAULT NULL,\n `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',\n `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',\n PRIMARY KEY (`Brand_id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=45 ;\n\n--\n-- Dumpning av Data i tabell `brands`\n--\n\nINSERT INTO `brands` (`Brand_id`, `banner_link`, `link`, `Brand_title`, `created_at`, `updated_at`) VALUES\n(41, '/images/sample_banner.jpg', 'Addidas', 'Addidas', '2016-01-22 11:58:59', '2016-01-22 11:58:59'),\n(42, '/images/sample_banner.jpg', 'ALDO', 'ALDO', '2016-01-22 11:58:59', '2016-01-22 11:58:59'),\n(43, '/images/sample_banner.jpg', 'ASOS', 'ASOS', '2016-01-22 11:58:59', '2016-01-22 11:58:59'),\n(44, '/images/sample_banner.jpg', 'Boohoo', 'Boohoo', '2016-01-22 11:58:59', '2016-01-22 11:58:59');\n\n-- --------------------------------------------------------\n\n--\n-- Tabellstruktur `cats`\n--\n\nCREATE TABLE IF NOT EXISTS `cats` (\n `Cat_id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `link` text,\n `cat_title` varchar(200) DEFAULT NULL,\n `banner_link` text,\n `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',\n `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',\n PRIMARY KEY (`Cat_id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=45 ;\n\n--\n-- Dumpning av Data i tabell `cats`\n--\n\nINSERT INTO `cats` (`Cat_id`, `link`, `cat_title`, `banner_link`, `created_at`, `updated_at`) VALUES\n(41, 'Runningshoes', 'Runningshoes', '/images/sample_banner.jpg', '2016-01-22 11:58:59', '2016-01-22 11:58:59'),\n(42, 'Walkingshoes', 'Walkingshoes', '/images/sample_banner.jpg', '2016-01-22 11:58:59', '2016-01-22 11:58:59'),\n(43, 'Flat-Boots', 'Flat-Boots', '/images/sample_banner.jpg', '2016-01-22 11:58:59', '2016-01-22 11:58:59'),\n(44, 'Flat-shoes', 'Flat-shoes', '/images/sample_banner.jpg', '2016-01-22 11:58:59', '2016-01-22 11:58:59');\n\n-- --------------------------------------------------------\n\n--\n-- Tabellstruktur `comments`\n--\n\nCREATE TABLE IF NOT EXISTS `comments` (\n `id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `name` varchar(200) DEFAULT NULL,\n `comments` text NOT NULL,\n `rate` int(11) DEFAULT NULL,\n `comments_products_id` int(10) unsigned DEFAULT NULL,\n `comments_blogg_id` int(11) DEFAULT NULL,\n `pages` varchar(200) NOT NULL,\n `date` date NOT NULL,\n PRIMARY KEY (`id`),\n KEY `comments_products_id` (`comments_products_id`),\n KEY `comments_blogg_id` (`comments_blogg_id`)\n) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=150 ;\n\n--\n-- Dumpning av Data i tabell `comments`\n--\n\nINSERT INTO `comments` (`id`, `name`, `comments`, `rate`, `comments_products_id`, `comments_blogg_id`, `pages`, `date`) VALUES\n(142, 'Test', 'Tetsttsts s t', NULL, NULL, 3, 'blogg3', '2016-05-02'),\n(143, 'Test', 'Tetsttsts s t', NULL, NULL, 3, 'blogg3', '2016-05-02'),\n(144, 'This Is Great', 'HJKHSAJHSDKJHAS DKJAH SKJAHSD', 3, 43, NULL, 'products43', '2016-05-04'),\n(145, 'Pontus', 'aölskdöalsdk alöskdöalksd aölsdkaö', 5, 43, NULL, 'products43', '2016-05-04'),\n(146, 'asdadssasdadsasda', 'asdasdadadssad', 1, 43, NULL, 'products43', '2016-05-04'),\n(147, 'Pontus', 'lkajsdla lasdjlald', 0, NULL, 2, 'blogg2', '2016-05-04'),\n(148, 'sadasdasdadad', 'asdadadsasd', 5, 46, NULL, 'products46', '2016-05-04'),\n(149, 'Pontus', 'öasmdalsd aa ö kaö', 3, 45, NULL, 'products45', '2016-05-04');\n\n-- --------------------------------------------------------\n\n--\n-- Tabellstruktur `forum_cat`\n--\n\nCREATE TABLE IF NOT EXISTS `forum_cat` (\n `Forum_cat_id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `Forum_cat_name` varchar(200) DEFAULT NULL,\n `forum_qty` int(10) unsigned NOT NULL,\n `Forum_cat_desc` text,\n `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',\n `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',\n PRIMARY KEY (`Forum_cat_id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=44 ;\n\n--\n-- Dumpning av Data i tabell `forum_cat`\n--\n\nINSERT INTO `forum_cat` (`Forum_cat_id`, `Forum_cat_name`, `forum_qty`, `Forum_cat_desc`, `created_at`, `updated_at`) VALUES\n(41, 'Shoes', 3, 'Any Good shoes', '2016-01-22 11:58:59', '2016-01-22 11:58:59'),\n(42, 'Running', 0, 'The consept of running', '2016-01-22 11:58:59', '2016-01-22 11:58:59'),\n(43, 'Webbsite', 1, 'What can be better?\\r\\n', '2016-01-22 11:58:59', '2016-01-22 11:58:59');\n\n-- --------------------------------------------------------\n\n--\n-- Tabellstruktur `menus`\n--\n\nCREATE TABLE IF NOT EXISTS `menus` (\n `menu_id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `menu_name` varchar(200) DEFAULT NULL,\n `menu_href` text,\n `info` text,\n `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',\n `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',\n PRIMARY KEY (`menu_id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=49 ;\n\n--\n-- Dumpning av Data i tabell `menus`\n--\n\nINSERT INTO `menus` (`menu_id`, `menu_name`, `menu_href`, `info`, `created_at`, `updated_at`) VALUES\n(43, 'Home', '', NULL, '2016-01-22 11:58:59', '2016-01-22 11:58:59'),\n(44, 'All Products', 'Products&products_id', NULL, '2016-01-22 11:58:59', '2016-01-22 11:58:59'),\n(45, 'Blogg', 'Blogg&ID', '

    Our Blogg

    ', '2016-01-22 11:58:59', '2016-01-22 11:58:59'),\n(46, 'Forum', 'Forum', NULL, '2016-01-22 11:58:59', '2016-01-22 11:58:59'),\n(47, 'About us', 'about-us', 'Ipsu lorem taxida Sopin Ipsum BLaOPsum hye paos ipsum lorem albina sorema astaba boppaaee ipsum Ipsu lorem taxida Sopin Ipsum BLaOPsum hye paos ipsum lorem albina sorema astaba boppaaee ipsum Ipsu lorem taxida Sopin Ipsum BLaOPsum hye paos ipsum lorem albina sorema astaba boppaaee ipsum Ipsu lorem taxida Sopin Ipsum BLaOPsum hye paos ipsum lorem albina sorema astaba boppaaee ipsum ', '2016-01-22 11:58:59', '2016-01-22 11:58:59'),\n(48, 'Contact us', 'contact-us', NULL, '2016-01-22 11:58:59', '2016-01-22 11:58:59');\n\n-- --------------------------------------------------------\n\n--\n-- Tabellstruktur `migrations`\n--\n\nCREATE TABLE IF NOT EXISTS `migrations` (\n `migration` varchar(255) NOT NULL,\n `batch` int(11) NOT NULL\n) ENGINE=InnoDB DEFAULT CHARSET=utf8;\n\n--\n-- Dumpning av Data i tabell `migrations`\n--\n\nINSERT INTO `migrations` (`migration`, `batch`) VALUES\n('2014_10_12_100000_create_password_resets_table', 1),\n('2015_12_14_224721_create_slides_table', 1),\n('2015_12_16_133517_create_users_table', 1),\n('2016_01_14_181324_create_brands_table', 1),\n('2016_01_14_181433_create_cats_table', 1),\n('2016_01_14_181547_create_forum_cat_table', 1),\n('2016_01_14_181634_create_menus_table', 1),\n('2016_01_14_181719_create_postsubject_table', 1),\n('2016_01_14_181857_create_products_table', 1),\n('2016_01_14_181916_create_reply_table', 1),\n('2016_01_14_182126_create_shoppingcart_table', 1),\n('2016_01_14_182152_create_subjects_table', 1),\n('2016_01_14_182224_create_submenu_table', 1),\n('2016_01_14_182312_create_toplinks_table', 1),\n('2016_01_20_200824_wishlist_table', 2);\n\n-- --------------------------------------------------------\n\n--\n-- Tabellstruktur `password_resets`\n--\n\nCREATE TABLE IF NOT EXISTS `password_resets` (\n `email` varchar(255) NOT NULL,\n `token` varchar(255) NOT NULL,\n `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',\n KEY `password_resets_email_index` (`email`),\n KEY `password_resets_token_index` (`token`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8;\n\n-- --------------------------------------------------------\n\n--\n-- Tabellstruktur `postsubject`\n--\n\nCREATE TABLE IF NOT EXISTS `postsubject` (\n `post_id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `post_name` varchar(200) DEFAULT NULL,\n `post_content` text,\n `cat_page` varchar(100) DEFAULT NULL,\n `post_date` date DEFAULT NULL,\n `post_by` varchar(255) DEFAULT NULL,\n `post_subject_id` int(10) unsigned DEFAULT NULL,\n `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',\n `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',\n PRIMARY KEY (`post_id`),\n KEY `postsubject_post_subject_id_index` (`post_subject_id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=25 ;\n\n--\n-- Dumpning av Data i tabell `postsubject`\n--\n\nINSERT INTO `postsubject` (`post_id`, `post_name`, `post_content`, `cat_page`, `post_date`, `post_by`, `post_subject_id`, `created_at`, `updated_at`) VALUES\n(21, 'Awesine', 'This IS Nice!! :)', '41', '2016-05-02', 'pontus', NULL, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),\n(22, 'Pontus', 'Thsi IS greta', '43', '2016-05-04', 'Pontus', NULL, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),\n(23, 'Pontus', 'Pontus aosdla ', '41', '2016-05-04', 'Pontus', NULL, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),\n(24, 'Pontusasd', 'sasdasdasdasda', '41', '2016-05-04', 'Pontus', NULL, '0000-00-00 00:00:00', '0000-00-00 00:00:00');\n\n-- --------------------------------------------------------\n\n--\n-- Tabellstruktur `products`\n--\n\nCREATE TABLE IF NOT EXISTS `products` (\n `products_id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `products_name` varchar(200) DEFAULT NULL,\n `Products_price` int(11) DEFAULT NULL,\n `product_image` text,\n `product_title` varchar(200) DEFAULT NULL,\n `product_desc` text,\n `product_cat` int(10) unsigned DEFAULT NULL,\n `product_brand` int(10) DEFAULT NULL,\n `categories_title` varchar(100) DEFAULT NULL,\n `products_antal` int(11) NOT NULL DEFAULT '0',\n `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',\n `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',\n `order_page` varchar(80) DEFAULT NULL,\n PRIMARY KEY (`products_id`),\n KEY `products_product_cat_foreign` (`product_cat`),\n KEY `order_page` (`order_page`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=47 ;\n\n--\n-- Dumpning av Data i tabell `products`\n--\n\nINSERT INTO `products` (`products_id`, `products_name`, `Products_price`, `product_image`, `product_title`, `product_desc`, `product_cat`, `product_brand`, `categories_title`, `products_antal`, `created_at`, `updated_at`, `order_page`) VALUES\n(34, 'Test', 500, '/images/demo-prod.png', 'This IS A testing product', '\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"', 41, 41, 'Boohoo', 50, '2016-01-22 11:58:59', '2016-05-04 19:48:47', NULL),\n(35, 'Test2', 500, '/images/demo-prod.png', 'This Is A Testing product', '\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"', 41, 41, 'Boohoo', 49, '2016-01-22 11:58:59', '2016-05-04 21:57:57', NULL),\n(36, 'Test3', 500, '/images/demo-prod.png', 'This is A testing product', '\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"', 41, 42, 'Boohoo', 49, '2016-01-22 11:58:59', '2016-05-04 19:36:34', NULL),\n(37, 'Test4', 500, '/images/demo-prod.png', 'This Is A testing product', '\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"', 41, 50, 'ASOS', 20, '2016-01-22 11:58:59', '2016-01-22 11:58:59', NULL),\n(38, 'Test5', 500, '/images/demo-prod.png', 'This Is A testing product', '\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"', 41, 50, 'ASOS', 39, '2016-01-22 11:58:59', '2016-05-04 19:33:27', NULL),\n(39, 'Test6', 500, '/images/demo-prod.png', 'This IS A testing product', '\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"', 41, 41, 'ASOS', 50, '2016-01-22 11:58:59', '2016-01-22 11:58:59', NULL),\n(40, 'Test7', 500, '/images/demo-prod.png', 'This IS A Testing product', '\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"', 41, 42, 'ASOS', 49, '2016-01-22 11:58:59', '2016-05-04 19:34:32', NULL),\n(41, 'Test8', 500, '/images/demo-prod.png', 'This Is A testing product', '\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"', 41, 44, 'Addidas', 0, '2016-01-22 11:58:59', '2016-01-22 11:58:59', NULL),\n(42, 'Test9', 500, '/images/demo-prod.png', 'This Is A Testing Product', '\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"', 41, 43, 'Addidas', 50, '2016-01-22 11:58:59', '2016-05-04 19:48:58', NULL),\n(43, 'Test41,0', 500, '/images/demo-prod.png', 'This IS A testing product', '\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"', 41, 44, 'Flat-shoes', 50, '2016-01-22 11:58:59', '2016-05-04 19:56:40', NULL),\n(44, 'Testing 45', 500, '/images/demo-prod.png', 'This Is A testing product', 'This Is A Testing Products only so dont care if you see it', 41, NULL, 'Runningshoes', 51, '2016-01-22 11:58:59', '2016-05-04 21:53:44', NULL),\n(45, 'Shoes 55', 500, '/images/demo-prod.png', 'This is for shoes title', '\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"', 41, 41, 'Flat-Boots', 51, '2016-04-06 22:00:00', '2016-05-04 22:06:26', 'shoes'),\n(46, 'First Assecories', 250, '/images/demo-prod.png', 'First Assecories', '\"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"', 44, 43, 'ALDO', 48, '2016-04-11 22:00:00', '2016-05-04 21:58:04', 'Accessories');\n\n-- --------------------------------------------------------\n\n--\n-- Tabellstruktur `reply`\n--\n\nCREATE TABLE IF NOT EXISTS `reply` (\n `reply_id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `reply_text` text,\n `reply_date` date DEFAULT NULL,\n `reply_topic` varchar(200) DEFAULT NULL,\n `reply_by` varchar(200) DEFAULT NULL,\n `reply_name` varchar(200) DEFAULT NULL,\n `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',\n `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',\n PRIMARY KEY (`reply_id`),\n UNIQUE KEY `reply_name` (`reply_name`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;\n\n--\n-- Dumpning av Data i tabell `reply`\n--\n\nINSERT INTO `reply` (`reply_id`, `reply_text`, `reply_date`, `reply_topic`, `reply_by`, `reply_name`, `created_at`, `updated_at`) VALUES\n(3, 'ölskdöaskaök', '2016-05-04', 'Awesine', 'Pontus', 'Pontus', '0000-00-00 00:00:00', '0000-00-00 00:00:00'),\n(4, 'sadadsadsadsasd', '2016-05-04', 'Awesine', 'Pontus', 'asdasdadssdsda', '0000-00-00 00:00:00', '0000-00-00 00:00:00');\n\n-- --------------------------------------------------------\n\n--\n-- Tabellstruktur `shoppingcart`\n--\n\nCREATE TABLE IF NOT EXISTS `shoppingcart` (\n `shoppingcart_id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `shoppingcart_prod_name` varchar(255) DEFAULT NULL,\n `shoppingcart_prod_price` int(11) DEFAULT NULL,\n `full_prise_prod` int(11) NOT NULL,\n `shoppingcart_prod_title` varchar(200) DEFAULT NULL,\n `shoppingcart_prod_label` text,\n `shoppingcart_prod_img` text,\n `cart_pro_qty` int(10) unsigned NOT NULL,\n `cart_user_id` int(10) unsigned NOT NULL,\n `prod_id` int(10) unsigned NOT NULL,\n `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',\n `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',\n PRIMARY KEY (`shoppingcart_id`),\n KEY `shoppingcart_prod_id_foreign` (`prod_id`),\n KEY `shoppingcart_cart_user_id_foreign` (`cart_user_id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=31 ;\n\n-- --------------------------------------------------------\n\n--\n-- Tabellstruktur `slides`\n--\n\nCREATE TABLE IF NOT EXISTS `slides` (\n `id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `name` varchar(200) DEFAULT NULL,\n `image` varchar(200) DEFAULT NULL,\n `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',\n `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=10 ;\n\n--\n-- Dumpning av Data i tabell `slides`\n--\n\nINSERT INTO `slides` (`id`, `name`, `image`, `created_at`, `updated_at`) VALUES\n(7, 'Test', '/images/test-slideshow.jpg', '2016-01-22 11:58:59', '2016-01-22 11:58:59'),\n(8, 'Test2', '/images/test-slide2.jpg', '2016-01-22 11:58:59', '2016-01-22 11:58:59'),\n(9, 'Test3', '/images/test-slideshow.jpg', '2016-01-22 11:58:59', '2016-01-22 11:58:59');\n\n-- --------------------------------------------------------\n\n--\n-- Tabellstruktur `subjects`\n--\n\nCREATE TABLE IF NOT EXISTS `subjects` (\n `subjects_id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `subjects_name` varchar(200) DEFAULT NULL,\n `subject_post_content` text,\n `subjects_date` date DEFAULT NULL,\n `subjects_username` varchar(200) DEFAULT NULL,\n `sub_cat_id` int(10) unsigned NOT NULL,\n `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',\n `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',\n PRIMARY KEY (`subjects_id`),\n UNIQUE KEY `subjects_name` (`subjects_name`),\n KEY `subjects_sub_cat_id_foreign` (`sub_cat_id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=30 ;\n\n--\n-- Dumpning av Data i tabell `subjects`\n--\n\nINSERT INTO `subjects` (`subjects_id`, `subjects_name`, `subject_post_content`, `subjects_date`, `subjects_username`, `sub_cat_id`, `created_at`, `updated_at`) VALUES\n(26, 'Awesine', 'This IS Nice!! :)', '2016-05-02', 'pontus', 41, '0000-00-00 00:00:00', '0000-00-00 00:00:00'),\n(29, 'Pontusasd', 'sasdasdasdasda', '2016-05-04', 'Pontus', 41, '0000-00-00 00:00:00', '0000-00-00 00:00:00');\n\n-- --------------------------------------------------------\n\n--\n-- Tabellstruktur `submenu`\n--\n\nCREATE TABLE IF NOT EXISTS `submenu` (\n `submenu_id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `submenu_link` text,\n `submenu_name` varchar(200) DEFAULT NULL,\n `banner_link` text,\n `submenu_menu_id` int(10) unsigned NOT NULL,\n `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',\n `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',\n PRIMARY KEY (`submenu_id`),\n KEY `submenus_submenu_menu_id_foreign` (`submenu_menu_id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=13 ;\n\n--\n-- Dumpning av Data i tabell `submenu`\n--\n\nINSERT INTO `submenu` (`submenu_id`, `submenu_link`, `submenu_name`, `banner_link`, `submenu_menu_id`, `created_at`, `updated_at`) VALUES\n(9, 'Shoes&products_id', 'Shoes', 'images/sample_banner.jpg', 44, '2016-01-22 11:58:59', '2016-01-22 11:58:59'),\n(10, 'Accessories&products_id', 'Accessories', 'images/sample_banner.jpg', 44, '2016-01-22 11:58:59', '2016-01-22 11:58:59'),\n(11, 'Forum/create/Subjects', 'Create forum', 'images/sample_banner.jpg', 46, '2016-01-22 11:58:59', '2016-01-22 11:58:59'),\n(12, 'Forum/Aktive/Aktuella-Subjects', 'aktive topics', 'images/sample_banner.jpg', 46, '2016-01-22 11:58:59', '2016-01-22 11:58:59');\n\n-- --------------------------------------------------------\n\n--\n-- Tabellstruktur `toplinks`\n--\n\nCREATE TABLE IF NOT EXISTS `toplinks` (\n `topLink_id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `link` text,\n `name` varchar(200) DEFAULT NULL,\n `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',\n `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',\n PRIMARY KEY (`topLink_id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=9 ;\n\n--\n-- Dumpning av Data i tabell `toplinks`\n--\n\nINSERT INTO `toplinks` (`topLink_id`, `link`, `name`, `created_at`, `updated_at`) VALUES\n(6, 'Account', 'Account', '2016-01-22 11:58:59', '2016-01-22 11:58:59'),\n(7, 'Shoppingcart', 'Shoppingcart', '2016-01-22 11:58:59', '2016-01-22 11:58:59'),\n(8, 'Log-in', 'Login', '2016-01-22 11:58:59', '2016-01-22 11:58:59');\n\n-- --------------------------------------------------------\n\n--\n-- Tabellstruktur `users`\n--\n\nCREATE TABLE IF NOT EXISTS `users` (\n `id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `username` varchar(100) DEFAULT NULL,\n `image` text,\n `email` varchar(200) DEFAULT NULL,\n `password` varchar(100) DEFAULT NULL,\n `remember_token` varchar(100) DEFAULT NULL,\n `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',\n `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',\n PRIMARY KEY (`id`),\n UNIQUE KEY `username` (`username`),\n UNIQUE KEY `email` (`email`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=24 ;\n\n--\n-- Dumpning av Data i tabell `users`\n--\n\nINSERT INTO `users` (`id`, `username`, `image`, `email`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES\n(21, 'Pon', '/images/demo-icon.jpg', 'PON@pon.se', '$2y$10$93ywVjZL9kC/G.F7IQt.EesfiUeFEdfDNBV5TRMTKBSTcL3VeNtpC', NULL, '2016-04-14 04:37:32', '2016-04-14 04:37:32'),\n(22, 'Pontus', '/images/demo-icon.jpg', 'pontusp66@hotmail.com', '$2y$10$KZva10MF2K.FcJKLnWCX.OVJer0WtBv/DsHkV8g64cXr3rxdOf8Z2', NULL, '2016-04-14 05:25:31', '2016-04-14 05:25:31'),\n(23, 'KristofferPettersson', NULL, 'KristofferPettersson@KristofferPettersson.se', '$2y$10$VbNiNrdBeknlzI4sb4qSI.tTTOuedyDrvxb1.qhAy//agtUTCkLgC', NULL, '2016-05-04 21:13:03', '2016-05-04 21:13:03');\n\n-- --------------------------------------------------------\n\n--\n-- Tabellstruktur `wishlist`\n--\n\nCREATE TABLE IF NOT EXISTS `wishlist` (\n `wishlist_id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `wishlist_prod_name` varchar(255) DEFAULT NULL,\n `wishlist_prod_price` int(11) DEFAULT NULL,\n `wishlistfullprise_prod` int(11) NOT NULL,\n `wishlist_prod_title` varchar(200) DEFAULT NULL,\n `wishlist_prod_label` text,\n `wishlist_prod_img` text,\n `wishlist_pro_qty` int(10) unsigned NOT NULL,\n `wishlist_user_id` int(10) unsigned NOT NULL,\n `wishlist_prod_id` int(10) unsigned NOT NULL,\n `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',\n `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',\n PRIMARY KEY (`wishlist_id`),\n KEY `wishlist_wishlist_prod_id_foreign` (`wishlist_prod_id`),\n KEY `wishlist_wishlist_user_id_foreign` (`wishlist_user_id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;\n\n--\n-- Restriktioner för dumpade tabeller\n--\n\n--\n-- Restriktioner för tabell `comments`\n--\nALTER TABLE `comments`\n ADD CONSTRAINT `comments_ibfk_1` FOREIGN KEY (`comments_products_id`) REFERENCES `products` (`products_id`),\n ADD CONSTRAINT `comments_ibfk_2` FOREIGN KEY (`comments_blogg_id`) REFERENCES `blog` (`ID`);\n\n--\n-- Restriktioner för tabell `postsubject`\n--\nALTER TABLE `postsubject`\n ADD CONSTRAINT `postsubject_ibfk_1` FOREIGN KEY (`post_subject_id`) REFERENCES `subjects` (`subjects_id`);\n\n--\n-- Restriktioner för tabell `products`\n--\nALTER TABLE `products`\n ADD CONSTRAINT `products_product_cat_foreign` FOREIGN KEY (`product_cat`) REFERENCES `cats` (`Cat_id`);\n\n--\n-- Restriktioner för tabell `shoppingcart`\n--\nALTER TABLE `shoppingcart`\n ADD CONSTRAINT `shoppingcart_cart_user_id_foreign` FOREIGN KEY (`cart_user_id`) REFERENCES `users` (`id`),\n ADD CONSTRAINT `shoppingcart_prod_id_foreign` FOREIGN KEY (`prod_id`) REFERENCES `products` (`products_id`);\n\n--\n-- Restriktioner för tabell `subjects`\n--\nALTER TABLE `subjects`\n ADD CONSTRAINT `subjects_sub_cat_id_foreign` FOREIGN KEY (`sub_cat_id`) REFERENCES `forum_cat` (`Forum_cat_id`);\n\n--\n-- Restriktioner för tabell `submenu`\n--\nALTER TABLE `submenu`\n ADD CONSTRAINT `submenus_submenu_menu_id_foreign` FOREIGN KEY (`submenu_menu_id`) REFERENCES `menus` (`menu_id`);\n\n--\n-- Restriktioner för tabell `wishlist`\n--\nALTER TABLE `wishlist`\n ADD CONSTRAINT `wishlist_wishlist_prod_id_foreign` FOREIGN KEY (`wishlist_prod_id`) REFERENCES `products` (`products_id`),\n ADD CONSTRAINT `wishlist_wishlist_user_id_foreign` FOREIGN KEY (`wishlist_user_id`) REFERENCES `users` (`id`);\n\n/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;\n/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;\n/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":378,"cells":{"blob_id":{"kind":"string","value":"de97ed4b6ff70567e58f0023fbbdae28e8fe2f84"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"wdaweb/etax-list-leohsu999"},"path":{"kind":"string","value":"/invoice.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":4038,"string":"4,038"},"score":{"kind":"number","value":3.046875,"string":"3.046875"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"-- phpMyAdmin SQL Dump\n-- version 4.9.0.1\n-- https://www.phpmyadmin.net/\n--\n-- 主機: 127.0.0.1\n-- 產生時間: 2019-11-15 14:34:19\n-- 伺服器版本: 10.4.6-MariaDB\n-- PHP 版本: 7.3.9\n\nSET SQL_MODE = \"NO_AUTO_VALUE_ON_ZERO\";\nSET AUTOCOMMIT = 0;\nSTART TRANSACTION;\nSET time_zone = \"+00:00\";\n\n\n/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;\n/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;\n/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;\n/*!40101 SET NAMES utf8mb4 */;\n\n--\n-- 資料庫: `invoice`\n--\n\n-- --------------------------------------------------------\n\n--\n-- 資料表結構 `accounting`\n--\n\nCREATE TABLE `accounting` (\n `id` int(10) UNSIGNED NOT NULL,\n `year` int(20) NOT NULL COMMENT '年份',\n `period` int(10) NOT NULL COMMENT '期別',\n `Enum` varchar(5) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT ' 英文數字',\n `num` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '數字',\n `expend` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '發票金額'\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;\n\n--\n-- 傾印資料表的資料 `accounting`\n--\n\nINSERT INTO `accounting` (`id`, `year`, `period`, `Enum`, `num`, `expend`) VALUES\n(1, 2019, 1, 'FG', '00106725', '1234'),\n(2, 2019, 3, 'BU', '36977198', '7331'),\n(3, 2019, 4, 'PH', '59100502', '9713'),\n(4, 2019, 6, 'XH', '78740004', '409'),\n(5, 2019, 5, 'IS', '43479209', '6572'),\n(6, 2019, 1, 'MQ', '48017810', '952'),\n(7, 2019, 2, 'PL', '98452399', '4079'),\n(8, 0, 3, 'WL', '72767544', '363'),\n(9, 2019, 3, 'IZ', '72410493', '8096'),\n(10, 2019, 4, 'QW', '15587626', '2640'),\n(11, 2019, 5, 'OM', '15587626', '3804'),\n(12, 2019, 6, 'MV', '16797328', '2849'),\n(13, 2019, 1, 'MV', '42415813', '5059'),\n(14, 2019, 2, 'LC', '57796679', '8192'),\n(15, 2019, 2, 'KB', '47464012', '343'),\n(16, 2019, 2, 'DD', '32324240', '333'),\n(17, 2019, 2, 'YT', '35343022', '2222');\n\n-- --------------------------------------------------------\n\n--\n-- 資料表結構 `winning`\n--\n\nCREATE TABLE `winning` (\n `id` int(6) UNSIGNED NOT NULL,\n `year` year(4) NOT NULL,\n `period` int(6) NOT NULL,\n `sp1` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL,\n `sp2` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL,\n `jackpot1` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL,\n `jackpot2` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL,\n `jackpot3` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL,\n `six1` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL,\n `six2` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL,\n `six3` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;\n\n--\n-- 傾印資料表的資料 `winning`\n--\n\nINSERT INTO `winning` (`id`, `year`, `period`, `sp1`, `sp2`, `jackpot1`, `jackpot2`, `jackpot3`, `six1`, `six2`, `six3`) VALUES\n(1, 2019, 1, '00106725', '90819218', '13440631', '26650552', '09775722', '809', '264', ''),\n(2, 2019, 2, '03802602', '00708299', '33877270', '21772506', '61786409', '136', '022', ''),\n(3, 2019, 3, '46356460', '56337787', '93339845', '83390355', '80431063', '984', '240', ''),\n(4, 2019, 4, '45698621', '19614436', '96182420', '47464012', '62781818', '928', '899', '');\n\n--\n-- 已傾印資料表的索引\n--\n\n--\n-- 資料表索引 `accounting`\n--\nALTER TABLE `accounting`\n ADD PRIMARY KEY (`id`);\n\n--\n-- 資料表索引 `winning`\n--\nALTER TABLE `winning`\n ADD PRIMARY KEY (`id`);\n\n--\n-- 在傾印的資料表使用自動遞增(AUTO_INCREMENT)\n--\n\n--\n-- 使用資料表自動遞增(AUTO_INCREMENT) `accounting`\n--\nALTER TABLE `accounting`\n MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;\n\n--\n-- 使用資料表自動遞增(AUTO_INCREMENT) `winning`\n--\nALTER TABLE `winning`\n MODIFY `id` int(6) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;\nCOMMIT;\n\n/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;\n/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;\n/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":379,"cells":{"blob_id":{"kind":"string","value":"d20a189f8396dac79bb1727a0f5eb25519b0c24f"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"opabekova/fire-system-application"},"path":{"kind":"string","value":"/php/src/fire_sensors/fire_sensors.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":2272,"string":"2,272"},"score":{"kind":"number","value":3.21875,"string":"3.21875"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"-- phpMyAdmin SQL Dump\n-- version 5.0.2\n-- https://www.phpmyadmin.net/\n--\n-- Host: 127.0.0.1\n-- Generation Time: Jan 08, 2021 at 12:07 AM\n-- Server version: 10.4.13-MariaDB\n-- PHP Version: 7.3.19\n\nSET SQL_MODE = \"NO_AUTO_VALUE_ON_ZERO\";\nSTART TRANSACTION;\nSET time_zone = \"+00:00\";\n\n\n/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;\n/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;\n/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;\n/*!40101 SET NAMES utf8mb4 */;\n\n--\n-- Database: `fire_sensors`\n--\n\n-- --------------------------------------------------------\n\n--\n-- Table structure for table `sensors`\n--\n\nCREATE TABLE `sensors` (\n `id` int(11) NOT NULL,\n `name` varchar(255) NOT NULL,\n `sensor_type` int(11) NOT NULL,\n `active` int(11) NOT NULL\n) ENGINE=InnoDB DEFAULT CHARSET=utf8;\n\n--\n-- Dumping data for table `sensors`\n--\n\nINSERT INTO `sensors` (`id`, `name`, `sensor_type`, `active`) VALUES\n(1, 'Smoke Sensor in 606', 2, 0),\n(2, 'Sensor For Temperature in 606', 1, 0),\n(3, 'Movement Sensor in 606', 3, 0),\n(4, 'Manual Alarm in 606', 4, 0);\n\n-- --------------------------------------------------------\n\n--\n-- Table structure for table `sensor_types`\n--\n\nCREATE TABLE `sensor_types` (\n `id` int(11) NOT NULL,\n `name` varchar(255) NOT NULL\n) ENGINE=InnoDB DEFAULT CHARSET=utf8;\n\n--\n-- Dumping data for table `sensor_types`\n--\n\nINSERT INTO `sensor_types` (`id`, `name`) VALUES\n(1, 'Temperature Sensor'),\n(2, 'Smoke Sensor'),\n(3, 'Movement Sensor'),\n(4, 'Manual Alarm');\n\n--\n-- Indexes for dumped tables\n--\n\n--\n-- Indexes for table `sensors`\n--\nALTER TABLE `sensors`\n ADD PRIMARY KEY (`id`);\n\n--\n-- Indexes for table `sensor_types`\n--\nALTER TABLE `sensor_types`\n ADD PRIMARY KEY (`id`);\n\n--\n-- AUTO_INCREMENT for dumped tables\n--\n\n--\n-- AUTO_INCREMENT for table `sensors`\n--\nALTER TABLE `sensors`\n MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;\n\n--\n-- AUTO_INCREMENT for table `sensor_types`\n--\nALTER TABLE `sensor_types`\n MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;\nCOMMIT;\n\n/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;\n/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;\n/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":380,"cells":{"blob_id":{"kind":"string","value":"8accbecfedefda86501a98757f812a59c9205322"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"AlRusMil/db_231120"},"path":{"kind":"string","value":"/topic11/Optimization/task1(log).sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":2922,"string":"2,922"},"score":{"kind":"number","value":4.1875,"string":"4.1875"},"int_score":{"kind":"number","value":4,"string":"4"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"-- 1. Создайте таблицу logs типа Archive. \n-- Пусть при каждом создании записи в таблицах users, catalogs, products\n-- в таблицу logs время и дата создания записи, название таблицы,\n-- идентификатор первичного ключа и содержимое поля name.\n\nUSE shop;\n\nDROP TABLE IF EXISTS logs;\nCREATE TABLE logs(\n\tcreate_at DATETIME NOT NULL,\n tab_name VARCHAR(10) NOT NULL,\n key_value BIGINT UNSIGNED NOT NULL,\n name_value VARCHAR(255) NOT NULL\n) ENGINE=ARCHIVE;\n\nDELIMITER //\nDROP TRIGGER IF EXISTS log_users_insert//\nCREATE TRIGGER log_users_insert AFTER INSERT ON shop.users\nFOR EACH ROW\nBEGIN\n\tINSERT INTO logs (create_at, tab_name, key_value, name_value)\n VALUES (CURRENT_TIMESTAMP, 'users', NEW.id, NEW.name);\nEND//\nDELIMITER ;\n\nDELIMITER //\nDROP TRIGGER IF EXISTS log_catalogs_insert//\nCREATE TRIGGER log_catalogs_insert AFTER INSERT ON shop.catalogs\nFOR EACH ROW\nBEGIN\n\tINSERT INTO logs (create_at, tab_name, key_value, name_value)\n VALUES (CURRENT_TIMESTAMP, 'catalogs', NEW.id, NEW.name);\nEND//\nDELIMITER ;\n\nDELIMITER //\nDROP TRIGGER IF EXISTS log_products_insert//\nCREATE TRIGGER log_products_insert AFTER INSERT ON shop.products\nFOR EACH ROW\nBEGIN\n\tINSERT INTO logs (create_at, tab_name, key_value, name_value)\n VALUES (CURRENT_TIMESTAMP, 'products', NEW.id, NEW.name);\nEND//\nDELIMITER ;\n\nINSERT INTO users (name, birthday_at) VALUES\n ('Михаил', '1991-10-05'), \n ('Никита', '1984-12-12');\n\nINSERT INTO users (name, birthday_at) VALUES\n ('Алексей', '1989-05-20');\n \nINSERT INTO products\n (name, description, price, catalog_id)\nVALUES\n ('Intel Core i7-9100', 'Процессор для настольных персональных компьютеров, основанных на платформе Intel.', 17890.00, 1),\n ('Intel Core i7-7500', 'Процессор для настольных персональных компьютеров, основанных на платформе Intel.', 22700.00, 1);\n \nINSERT INTO products\n\t(name, description, price, catalog_id)\nVALUES\n ('AMD FXX-8320E', 'Процессор для настольных персональных компьютеров, основанных на платформе AMD.', 4720.00, 1),\n ('AMD FX-822320', 'Процессор для настольных персональных компьютеров, основанных на платформе AMD.', 9120.00, 1);\n \nINSERT INTO catalogs VALUES\n (NULL, 'Блок питания');\n \nINSERT INTO catalogs VALUES\n (NULL, 'Системный блок');\n \nINSERT INTO products\n\t(name, description, price, catalog_id)\nVALUES\n\t('Acer Nitro N50-610', 'Системный блок Acer.', 81990.00, 7);\n \n SELECT * FROM users;\n SELECT * FROM catalogs;\n SELECT * FROM products;\n SELECT * FROM logs;"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":381,"cells":{"blob_id":{"kind":"string","value":"e21fac0d6d7e494106428408f44be5624fce1122"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"kiko-g/feup-bdad"},"path":{"kind":"string","value":"/SQL/gatilho3_adiciona.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":340,"string":"340"},"score":{"kind":"number","value":3.34375,"string":"3.34375"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":".mode columns\r\n.headers on\r\n.nullvalue NULL\r\nPRAGMA foreign_keys = ON;\r\n\r\n-- Inserir na tabela de Stock o produto e por stock = 0 para cada loja\r\n\r\nCREATE TRIGGER insertProduto\r\nAFTER INSERT ON Produto\r\nFOR EACH ROW\r\nBEGIN\r\n INSERT INTO Stock(codigoBarras, idLoja, stock)\r\n SELECT NEW.codigoBarras, Loja.idLoja , 0\r\n FROM Loja;\r\nEND;\r\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":382,"cells":{"blob_id":{"kind":"string","value":"88c4735d8061270392f7dc0e876adc66d6b44658"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"eliwitt/SqlWork"},"path":{"kind":"string","value":"/tva/dds/Mine he.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":254,"string":"254"},"score":{"kind":"number","value":3.109375,"string":"3.109375"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"select e_name, e_ina01, \nitmv02_e_name, i.itmv02_value\nfrom chaaedmn1.site_accp.dbo.element he\n\tinner join chaaedmn1.site_accp.dbo.item_mv_custom02 i \n\t\ton he.e_name = i.itmv02_e_name \nwhere he.e_ina01 like 'HOLDER,%' aND \nleft(i.itmv02_value,3) = 'tva'"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":383,"cells":{"blob_id":{"kind":"string","value":"1a2768a05b782dae0e68c161acc0e74fb4df7f8b"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"Malagutte/training-back-base"},"path":{"kind":"string","value":"/dbs/transactions/files/sql/transaction-manager/oracle/upgrade_2_9_0_to_2_10_0/transaction-manager.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":533,"string":"533"},"score":{"kind":"number","value":3.40625,"string":"3.40625"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"DROP INDEX ix_ap_trans_01;\n\nALTER TABLE add_prop_transaction MODIFY add_prop_transaction_id VARCHAR2(255) NOT NULL;\n\nALTER TABLE add_prop_transaction MODIFY property_key VARCHAR2(50) NOT NULL;\n\nALTER TABLE add_prop_transaction ADD CONSTRAINT pk_add_prop_transaction PRIMARY KEY (add_prop_transaction_id, property_key);\n\nALTER TABLE add_prop_transaction ADD CONSTRAINT fk_add_prop_tran2fin_txn FOREIGN KEY (add_prop_transaction_id) REFERENCES fin_txn(id);\n\nCREATE INDEX ix_ap_trans_01 ON add_prop_transaction(add_prop_transaction_id);"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":384,"cells":{"blob_id":{"kind":"string","value":"23098e0bbdf7a1c1910cfb7afe231635c8207be9"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"Maksim-Yeudakimenka/Northwind"},"path":{"kind":"string","value":"/Northwind/Scripts/Point 1/Subpoint 1.3/Task 3.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":432,"string":"432"},"score":{"kind":"number","value":3.625,"string":"3.625"},"int_score":{"kind":"number","value":4,"string":"4"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"-- Выбрать всех заказчиков из таблицы Customers, у которых название страны\n-- начинается на буквы из диапазона b и g, не используя оператор BETWEEN\n\nSELECT\n CustomerID,\n Country\nFROM Customers\nWHERE LEFT(Country, 1) >= 'B' AND LEFT(Country, 1) <= 'G'\n--WHERE LEFT(Country, 1) IN ('B', 'C', 'D', 'E', 'F', 'G')\nORDER BY Country\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":385,"cells":{"blob_id":{"kind":"string","value":"4662d923521fe5f2c87eb233f3b92b70a001336d"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"ikhalid356/software-construction-labs"},"path":{"kind":"string","value":"/Lab6_Haseeb_Shah/Task2/db.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":610,"string":"610"},"score":{"kind":"number","value":3.078125,"string":"3.078125"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"CREATE DATABASE IF NOT EXISTS University;\nCREATE TABLE IF NOT EXISTS Student (\n\t\tID INT auto_increment primary key,\n RegNo INT unique,\n Name VARCHAR(100),\n Section VARCHAR(5),\n Contact VARCHAR(20),\n Address VARCHAR(20)\n );\n \nINSERT INTO Student (RegNo, Name, Section, Contact, Address) VALUES \n\t\t(11, \"name1\", \"a\", \"12345\", \"Behind market\"),\n (12, \"name2\", \"b\", \"23456\", \"Beside market\"),\n (13, \"name3\", \"a\", \"34567\", \"Left of market\"),\n (14, \"name4\", \"c\", \"45678\", \"Right of market\"),\n (15, \"name5\", \"a\", \"56789\", \"Top of market\");\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":386,"cells":{"blob_id":{"kind":"string","value":"710d966d6c461f48332d3f13f3cc16f37aded1e4"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"fbscott/BYU-I"},"path":{"kind":"string","value":"/CIT225 (Database Design & Development)/final/create_tables.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":4952,"string":"4,952"},"score":{"kind":"number","value":3.484375,"string":"3.484375"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"/******************************************************************************\n * Drop all tables before adding\n *****************************************************************************/\nDROP TABLE IF EXISTS studentdb.pres_details;\nDROP TABLE IF EXISTS studentdb.quote;\nDROP TABLE IF EXISTS studentdb.document_signer;\nDROP TABLE IF EXISTS studentdb.ticket;\nDROP TABLE IF EXISTS studentdb.military_branch;\nDROP TABLE IF EXISTS studentdb.pres;\nDROP TABLE IF EXISTS studentdb.vice_pres;\nDROP TABLE IF EXISTS studentdb.first_lady;\nDROP TABLE IF EXISTS studentdb.party;\nDROP TABLE IF EXISTS studentdb.document;\nDROP TABLE IF EXISTS studentdb.state;\nDROP TABLE IF EXISTS studentdb.reason_left_office;\n\n/******************************************************************************\n * Create all tables\n *****************************************************************************/\nCREATE TABLE IF NOT EXISTS studentdb.pres (\n pres_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,\n first VARCHAR(80) NOT NULL,\n middle VARCHAR(80),\n last VARCHAR(80) NOT NULL\n);\n\nCREATE TABLE IF NOT EXISTS studentdb.vice_pres (\n vice_pres_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,\n first VARCHAR(80) NOT NULL,\n middle VARCHAR(80),\n last VARCHAR(80) NOT NULL\n);\n\nCREATE TABLE IF NOT EXISTS studentdb.first_lady (\n first_lady_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,\n first VARCHAR(80) NOT NULL,\n middle VARCHAR(80),\n last VARCHAR(80) NOT NULL\n);\n\nCREATE TABLE IF NOT EXISTS studentdb.party (\n party_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,\n name VARCHAR(80) NOT NULL,\n CONSTRAINT uc_party UNIQUE (name)\n);\n\nCREATE TABLE IF NOT EXISTS studentdb.document (\n document_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,\n title VARCHAR(80) NOT NULL,\n CONSTRAINT uc_document UNIQUE (title)\n);\n\nCREATE TABLE IF NOT EXISTS studentdb.state (\n state_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,\n name VARCHAR(80) NOT NULL,\n CONSTRAINT uc_state UNIQUE (name)\n);\n\nCREATE TABLE IF NOT EXISTS studentdb.reason_left_office (\n reason_left_office_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,\n reason VARCHAR(80) NOT NULL,\n CONSTRAINT uc_reason_left_office UNIQUE (reason)\n);\n\nCREATE TABLE IF NOT EXISTS studentdb.military_branch (\n military_branch_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,\n branch VARCHAR(80) NOT NULL,\n CONSTRAINT uc_military_branch UNIQUE (branch)\n);\n\nCREATE TABLE IF NOT EXISTS studentdb.ticket (\n ticket_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,\n pres_id INT NOT NULL,\n vice_pres_id INT,\n party_id INT NOT NULL,\n slogan VARCHAR(80),\n CONSTRAINT fk_ticket_pres\n FOREIGN KEY(pres_id) \n REFERENCES studentdb.pres(pres_id),\n CONSTRAINT fk_ticket_vice_pres\n FOREIGN KEY(vice_pres_id) \n REFERENCES studentdb.vice_pres(vice_pres_id),\n CONSTRAINT fk_ticket_party\n FOREIGN KEY(party_id) \n REFERENCES studentdb.party(party_id)\n);\n\nCREATE TABLE IF NOT EXISTS studentdb.document_signer (\n document_signer_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,\n document_id INT NOT NULL,\n pres_id INT NOT NULL,\n CONSTRAINT fk_document_signer_document\n FOREIGN KEY(document_id) \n REFERENCES studentdb.document(document_id),\n CONSTRAINT fk_document_signer_pres\n FOREIGN KEY(pres_id) \n REFERENCES studentdb.pres(pres_id)\n);\n\nCREATE TABLE IF NOT EXISTS studentdb.quote (\n quote_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,\n title VARCHAR(255) NOT NULL,\n pres_id INT NOT NULL,\n CONSTRAINT fk_quote_pres\n FOREIGN KEY(pres_id) \n REFERENCES studentdb.pres(pres_id)\n);\n\nCREATE TABLE IF NOT EXISTS studentdb.pres_details (\n pres_details_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,\n pres_id INT NOT NULL,\n vice_pres_id INT,\n party_id INT NOT NULL,\n state_id INT NOT NULL,\n terms_served INT NOT NULL,\n reason_left_office_id INT NOT NULL,\n military_branch_id INT,\n first_lady_id INT,\n living BOOLEAN NOT NULL,\n CONSTRAINT fk_pres_details_pres\n FOREIGN KEY(pres_id) \n REFERENCES studentdb.pres(pres_id),\n CONSTRAINT fk_pres_details_vice_pres\n FOREIGN KEY(vice_pres_id) \n REFERENCES studentdb.vice_pres(vice_pres_id),\n CONSTRAINT fk_pres_details_party\n FOREIGN KEY(party_id) \n REFERENCES studentdb.party(party_id),\n CONSTRAINT fk_pres_details_state\n FOREIGN KEY(state_id) \n REFERENCES studentdb.state(state_id),\n CONSTRAINT fk_pres_details_reason_left_office\n FOREIGN KEY(reason_left_office_id) \n REFERENCES studentdb.reason_left_office(reason_left_office_id),\n CONSTRAINT fk_pres_details_military_branch\n FOREIGN KEY(military_branch_id) \n REFERENCES studentdb.military_branch(military_branch_id),\n CONSTRAINT fk_pres_details_first_lady\n FOREIGN KEY(first_lady_id) \n REFERENCES studentdb.first_lady(first_lady_id)\n);\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":387,"cells":{"blob_id":{"kind":"string","value":"ad9c997861f78842d8924f9f90fe31573bb6caa1"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"sonitgregorio/taclobanairsofter"},"path":{"kind":"string","value":"/tag.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":6374,"string":"6,374"},"score":{"kind":"number","value":3.125,"string":"3.125"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":["MIT","LicenseRef-scancode-unknown-license-reference"],"string":"[\n \"MIT\",\n \"LicenseRef-scancode-unknown-license-reference\"\n]"},"license_type":{"kind":"string","value":"permissive"},"text":{"kind":"string","value":"-- phpMyAdmin SQL Dump\n-- version 4.5.1\n-- http://www.phpmyadmin.net\n--\n-- Host: 127.0.0.1\n-- Generation Time: Oct 02, 2017 at 06:29 AM\n-- Server version: 10.1.19-MariaDB\n-- PHP Version: 5.5.38\n\nSET SQL_MODE = \"NO_AUTO_VALUE_ON_ZERO\";\nSET time_zone = \"+00:00\";\n\n\n/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;\n/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;\n/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;\n/*!40101 SET NAMES utf8mb4 */;\n\n--\n-- Database: `tag`\n--\n\n-- --------------------------------------------------------\n\n--\n-- Table structure for table `cart`\n--\n\nCREATE TABLE `cart` (\n `id` int(11) NOT NULL,\n `product` int(11) NOT NULL,\n `quantity` int(11) NOT NULL,\n `cid` int(11) NOT NULL,\n `price` decimal(11,2) NOT NULL,\n `status` int(11) NOT NULL\n) ENGINE=InnoDB DEFAULT CHARSET=latin1;\n\n--\n-- Dumping data for table `cart`\n--\n\nINSERT INTO `cart` (`id`, `product`, `quantity`, `cid`, `price`, `status`) VALUES\n(3, 3, 5, 2, '50.00', 1),\n(8, 4, 5, 1, '50.00', 1),\n(9, 2, 5, 1, '300.00', 1),\n(10, 2, 20, 1, '300.00', 0);\n\n-- --------------------------------------------------------\n\n--\n-- Table structure for table `contacts`\n--\n\nCREATE TABLE `contacts` (\n `id` int(11) NOT NULL,\n `first_name` varchar(255) NOT NULL,\n `last_name` varchar(255) NOT NULL,\n `dob` date NOT NULL,\n `pob` varchar(255) NOT NULL,\n `work` varchar(255) NOT NULL,\n `location` varchar(255) NOT NULL,\n `contact` varchar(255) NOT NULL,\n `email` varchar(255) NOT NULL,\n `gender` varchar(255) NOT NULL,\n `image` text NOT NULL,\n `deleted` int(1) NOT NULL\n) ENGINE=InnoDB DEFAULT CHARSET=latin1;\n\n--\n-- Dumping data for table `contacts`\n--\n\nINSERT INTO `contacts` (`id`, `first_name`, `last_name`, `dob`, `pob`, `work`, `location`, `contact`, `email`, `gender`, `image`, `deleted`) VALUES\n(1, 'John Pauls', 'Bueno', '1993-02-07', 'Alang-Alang Leyte', 'Developer', 'Tacloban', '09172580624', 'support@gmail.com', 'male', '65427d0b0a44a32151b6000054d4f457.jpg', 0),\n(2, 'Dearly', 'IDK', '0000-00-00', 'Tacloban City', '9172580624', 'Tacloban City', '+639172580624', 'test@gmail.com', 'male', '16e96fac6e58a96a647a7508c02fc6fb.jpg', 0),\n(3, 'Test', 'Test', '2017-10-01', 'Tacloban', 'Developer', 'Tacloban', '09172580624', 'test@gmail.com', 'male', 'person.png', 1),\n(4, 'Test', 'Contact', '2017-10-02', 'Tacloban', 'Developer', 'Tacloban', '09172580624', 'test@gmail.com', 'male', 'person.png', 0),\n(5, 'Tacloban', 'Try', '2017-10-02', 'Tacloban', 'Fighter', 'Tacloban', '064613274968', 'taclo@gmail.com', 'male', 'person.png', 1),\n(6, 'Dev', 'Software', '2017-10-02', 'Tacloban', 'Developer', 'Tacloban', '09090909', 'test@gmail.com', 'male', 'person.png', 0);\n\n-- --------------------------------------------------------\n\n--\n-- Table structure for table `position`\n--\n\nCREATE TABLE `position` (\n `id` int(11) NOT NULL,\n `description` varchar(255) NOT NULL\n) ENGINE=InnoDB DEFAULT CHARSET=latin1;\n\n--\n-- Dumping data for table `position`\n--\n\nINSERT INTO `position` (`id`, `description`) VALUES\n(1, 'Administrator'),\n(2, 'User');\n\n-- --------------------------------------------------------\n\n--\n-- Table structure for table `products`\n--\n\nCREATE TABLE `products` (\n `id` int(11) NOT NULL,\n `item_name` varchar(255) NOT NULL,\n `quantity` int(11) NOT NULL,\n `serial` varchar(255) NOT NULL,\n `price` double(11,2) NOT NULL,\n `image` text NOT NULL,\n `short_description` text NOT NULL\n) ENGINE=InnoDB DEFAULT CHARSET=latin1;\n\n--\n-- Dumping data for table `products`\n--\n\nINSERT INTO `products` (`id`, `item_name`, `quantity`, `serial`, `price`, `image`, `short_description`) VALUES\n(2, 'Item 2', 0, '3587654', 300.00, '41e94003ad95334c4e5fe43a7488b393.jpg', 'Sample Description for this item'),\n(3, 'test item 3', 20, '1324a682', 50.00, '4dce267dd0c505d418792c02bf6a46c3.jpg', 'Armalite'),\n(4, 'Product Image 1', 15, 'XYYTZZ', 50.00, '0c074389da664ac791fcbb71d882a88a.jpg', 'Gun'),\n(5, 'Riffle', 50, '123456789', 1500.00, 'no_image.png', 'Colt® is the original manufacturer of the M16 rifles and M4 carbines used by the US Armed Forces; and through those 40+ years of experience has gained a wealth of knowledge in producing reliable weapons that function in harsh environments.');\n\n-- --------------------------------------------------------\n\n--\n-- Table structure for table `users`\n--\n\nCREATE TABLE `users` (\n `id` int(11) NOT NULL,\n `password` text NOT NULL,\n `position` int(11) NOT NULL,\n `pid` int(11) NOT NULL,\n `username` varchar(255) NOT NULL\n) ENGINE=InnoDB DEFAULT CHARSET=latin1;\n\n--\n-- Dumping data for table `users`\n--\n\nINSERT INTO `users` (`id`, `password`, `position`, `pid`, `username`) VALUES\n(1, '40be4e59b9a2a2b5dffb918c0e86b3d7', 1, 1, 'john.bueno'),\n(2, '40be4e59b9a2a2b5dffb918c0e86b3d7', 2, 2, 'sales'),\n(3, '098f6bcd4621d373cade4e832627b4f6', 2, 3, 'sales2'),\n(4, 'd41d8cd98f00b204e9800998ecf8427e', 1, 4, ''),\n(5, '40be4e59b9a2a2b5dffb918c0e86b3d7', 2, 3, 'tacloban'),\n(6, '5858ea228cc2edf88721699b2c8638e5', 2, 4, 'test.contact'),\n(7, '5858ea228cc2edf88721699b2c8638e5', 2, 5, 'tac.try'),\n(8, '5858ea228cc2edf88721699b2c8638e5', 2, 6, 'sample');\n\n--\n-- Indexes for dumped tables\n--\n\n--\n-- Indexes for table `cart`\n--\nALTER TABLE `cart`\n ADD PRIMARY KEY (`id`);\n\n--\n-- Indexes for table `contacts`\n--\nALTER TABLE `contacts`\n ADD PRIMARY KEY (`id`);\n\n--\n-- Indexes for table `position`\n--\nALTER TABLE `position`\n ADD PRIMARY KEY (`id`);\n\n--\n-- Indexes for table `products`\n--\nALTER TABLE `products`\n ADD PRIMARY KEY (`id`);\n\n--\n-- Indexes for table `users`\n--\nALTER TABLE `users`\n ADD PRIMARY KEY (`id`);\n\n--\n-- AUTO_INCREMENT for dumped tables\n--\n\n--\n-- AUTO_INCREMENT for table `cart`\n--\nALTER TABLE `cart`\n MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;\n--\n-- AUTO_INCREMENT for table `contacts`\n--\nALTER TABLE `contacts`\n MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;\n--\n-- AUTO_INCREMENT for table `position`\n--\nALTER TABLE `position`\n MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;\n--\n-- AUTO_INCREMENT for table `products`\n--\nALTER TABLE `products`\n MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;\n--\n-- AUTO_INCREMENT for table `users`\n--\nALTER TABLE `users`\n MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;\n/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;\n/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;\n/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":388,"cells":{"blob_id":{"kind":"string","value":"69b7ba0fcf42f73293e3cefe07ebc94b200a04a4"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"hqottsz/MXI"},"path":{"kind":"string","value":"/assetmanagement-database/src/upgrade/plsql/lib/current/sql/0040-OPER-25604.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":1917,"string":"1,917"},"score":{"kind":"number","value":2.765625,"string":"2.765625"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"--liquibase formatted sql\n\n--changeSet OPER-25604:1 stripComments:false endDelimiter:\\n\\s*/\\s*\\n|\\n\\s*/\\s*$\n--comment insert new config parm\nBEGIN\n\n utl_migr_data_pkg.config_parm_insert(\n 'CONTENT_SECURITY_POLICY_MIXED_CONTENT_DIRECTIVE',\n 'HTTP',\n 'Declares which mixed-content directive to append to the Content-Security-Policy response header when HTTPS is used. A value of UPGRADE will tell the browser to transparently change HTTP resource URLs to HTTPS, while a value of BLOCK will tell the browser to prevent any resources from being fetched over HTTP.',\n 'GLOBAL',\n 'UPGRADE/BLOCK',\n 'UPGRADE',\n 1,\n 'Security',\n '8.3-SP2',\n 0\n );\n\nEND;\n/\n\n--changeSet OPER-25604:2 stripComments:false endDelimiter:\\n\\s*/\\s*\\n|\\n\\s*/\\s*$\n--comment insert new config parm\nBEGIN\n\n utl_migr_data_pkg.config_parm_insert(\n 'ENABLE_STRICT_TRANSPORT_SECURITY_HEADER',\n 'HTTP',\n 'Controls if the Strict-Transport-Security header is added to each HTTP response. This header tells the browser that it should only access Maintenix using HTTPS, instead of using HTTP.',\n 'GLOBAL',\n 'TRUE/FALSE',\n 'TRUE',\n 1,\n 'Security',\n '8.3-SP2',\n 0\n );\n\nEND;\n/\n\n--changeSet OPER-25604:3 stripComments:false endDelimiter:\\n\\s*/\\s*\\n|\\n\\s*/\\s*$\n--comment insert new config parm\nBEGIN\n\n utl_migr_data_pkg.config_parm_insert(\n 'STRICT_TRANSPORT_SECURITY_MAX_AGE',\n 'HTTP',\n 'The time, in seconds, that the browser should remember that a site is only to be accessed using HTTPS. This value is used to populate the max-age attribute of the Strict-Transport-Security header, the presence of which is controlled by the ENABLE_STRICT_TRANSPORT_SECURITY_HEADER parameter. The default value is 86400 seconds (24 hours).',\n 'GLOBAL',\n 'INTEGER',\n '86400',\n 1,\n 'Security',\n '8.3-SP2',\n 0\n );\n\nEND;\n/\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":389,"cells":{"blob_id":{"kind":"string","value":"4438f3ed8ac88787c92015510e17c29f014969d0"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"Wagsnerlund/bloom"},"path":{"kind":"string","value":"/express-back-end/db/schema/03_plots.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":232,"string":"232"},"score":{"kind":"number","value":2.625,"string":"2.625"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"DROP TABLE IF EXISTS plots CASCADE;\nCREATE TABLE plots (\nid SERIAL PRIMARY KEY NOT NULL,\nuser_id INTEGER REFERENCES users(id) ON DELETE CASCADE,\ndimensions_length SMALLINT,\ndimensions_width SMALLINT,\nlocation VARCHAR(50) NOT NULL\n);"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":390,"cells":{"blob_id":{"kind":"string","value":"359acf92c294fa8a57c84bc65b3a427379987f56"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"thomasfuhringer/pylax"},"path":{"kind":"string","value":"/Hinterland/Hinterland.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":4074,"string":"4,074"},"score":{"kind":"number","value":3.734375,"string":"3.734375"},"int_score":{"kind":"number","value":4,"string":"4"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"-- Create script for Hinterland\n-- Thomas Führinger, 2017-03-16\n-- modified 2017-08-29\n;\n\nPRAGMA application_id = 7;\nPRAGMA encoding = \"UTF-8\";\n\nDROP TABLE Person;\nCREATE TABLE Person (\n\tPersonID\t\tINTEGER\tPRIMARY KEY,\n\tFirstName\t\tTEXT,\n\tMiddleName\t\tTEXT,\n\tLastName\t\tTEXT,\n\tTranscription\tTEXT,\n\tEMail\t\t\tTEXT,\n\tPhone\t\t\tTEXT,\n\tPicture\t\t\tBLOB,\n\tPublicKey\t\tBLOB,\n\tHandle\t\t\tTEXT COLLATE NOCASE UNIQUE,\n\tLanguage \tINTEGER, -- ISO 3166-1\n\tLocation\t\tBLOB,\n\tPassword\t\tBLOB,\n\tPasswordSalt\tBLOB,\n\tModUser\t\t\tINTEGER,\n\tModDate\t\t\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP);\nINSERT INTO Person (PersonID, FirstName, LastName, Handle) VALUES (0, 'Main', 'Administrator', 'Admin');\n\nDROP TABLE Org;\nCREATE TABLE Org (\n\tOrgID\t\t\tINTEGER\tPRIMARY KEY,\n\tParent\t\t\tINTEGER,\n\tName\t\t\tTEXT,\n\tDescription\t\tTEXT,\n\tLogo\t\t\tBLOB,\n\tHostName\t\tTEXT,\n\tHostPort\t\tINTEGER,\n\tPublicKey\t\tBLOB,\n\tLocation\t\tBLOB,\n\tModUser\t\t\tINTEGER,\n\tModDate\t\t\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n FOREIGN KEY (Parent) REFERENCES Page(OrgID));\nINSERT INTO Org (OrgID, Name, HostName, HostPort) VALUES (1, 'Hinterland Center', '45.76.133.182', 1550);\n\nDROP TABLE Enum;\nCREATE TABLE Enum ( -- Type 0: general (1: token), Type 1: Role types, 2: encryption keys (0: public, 1: private)\n\tType \t INTEGER,\n\tItem\t\t INTEGER,\n\tName\t\t\tTEXT,\n\tModUser\t\t\tINTEGER DEFAULT 0,\n\tModDate\t\t\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP);\nCREATE UNIQUE INDEX EnumPK ON Enum (Type, Item);\n\nINSERT INTO Enum (Type, Item, Name) VALUES (0, 0, '0');\nINSERT INTO Enum (Type, Item, Name) VALUES (0, 1, NULL);\nINSERT INTO Enum (Type, Item, Name) VALUES (1, 0, 'Observer');\nINSERT INTO Enum (Type, Item, Name) VALUES (1, 10, 'Member');\nINSERT INTO Enum (Type, Item, Name) VALUES (1, 20, 'Employee');\nINSERT INTO Enum (Type, Item, Name) VALUES (1, 50, 'Manager');\nINSERT INTO Enum (Type, Item, Name) VALUES (2, 0, NULL);\nINSERT INTO Enum (Type, Item, Name) VALUES (2, 1, NULL);\n\nDROP TABLE Role;\nCREATE TABLE Role (\n\tOrg\t\t\t INTEGER,\n\tPerson\t\t\tINTEGER,\n\tType\t\t\tINTEGER DEFAULT 0,\n\tTitle\t\t\tTEXT,\n\tPublic\t\t\tINTEGER DEFAULT 0,\n\tAdministrator\tINTEGER DEFAULT 0,\n\tModUser\t\t\tINTEGER,\n\tModDate\t\t\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP);\nCREATE UNIQUE INDEX RolePK ON Role (Org, Person);\nINSERT INTO Role (Org, Person, Type, Administrator) VALUES (NULL, 0, 0, 1); -- Administrator everywhere\n\nDROP TABLE Page;\nCREATE TABLE Page (\n\tPageID\t\t\tINTEGER\tPRIMARY KEY,\n\tKeyWord\t \tTEXT COLLATE NOCASE,\n\tOrg\t\t\t INTEGER,\n\tPerson\t\t\tINTEGER,\n\tHeading\t \tTEXT,\n\tText\t \tTEXT,\n\tData\t\t\tBLOB,\n\tTags\t \tTEXT,\n\tLanguage \tINTEGER,\n\tParent\t\t\tINTEGER,\n\tViews\t\t\tINTEGER DEFAULT 0,\n\tLastView\t\tTIMESTAMP,\n\tModUser\t\t\tINTEGER,\n\tModDate\t\t\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n FOREIGN KEY (Parent) REFERENCES Page(PageID));\nCREATE UNIQUE INDEX PageUK ON Page (KeyWord, Parent, Org, Person, Language);\nINSERT INTO Page (KeyWord, Text) VALUES (NULL, '### Welcome to Hinterland!');\n\n\nDROP TABLE Message;\nCREATE TABLE Message (\n\tMessageID\t\tINTEGER\tPRIMARY KEY,\n\tPerson\t INTEGER NOT NULL,\n\tOrg\t\t INTEGER,\n\tHeading\t \tTEXT,\n\tText\t \tTEXT,\n\tData\t\t\tBLOB,\n\tEncrypted\t\tINTEGER DEFAULT 0,\n\tPage\t\t\tINTEGER,\n\tTags\t \tTEXT,\n\tParent\t\t\tINTEGER,\n\tLocation\t\tBLOB,\n\tModUser\t\t\tINTEGER DEFAULT 0,\n\tModDate\t\t\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n FOREIGN KEY (Parent) REFERENCES Page(MessageID));\n\n\nDROP TABLE Addressee;\nCREATE TABLE Addressee (\n\tMessage \t\tINTEGER,\n\tPerson\t\t\tINTEGER,\n\tOrg\t\t\t INTEGER,\n\tDelivered\t\tTIMESTAMP,\n\tRead \t\tTIMESTAMP);\nCREATE UNIQUE INDEX AddresseePK ON Addressee (Message, Person, Org);\n\n\nDROP TABLE Log;\nCREATE TABLE Log (\n\tLevel\t\t\tINTEGER,\n\tSession\t\t\tINTEGER,\n\tMessage\t\t\tTEXT,\n\tUser \tINTEGER,\n\tModDate\t\t\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP);\n\nDROP TABLE Item;\nCREATE TABLE Item (\n\tItemID\t\t\tINTEGER\tPRIMARY KEY,\n\tName\t\t\tTEXT UNIQUE,\n\tDescription\t\tTEXT,\n\tPicture\t\t\tBLOB,\n\tParent\t\t\tINTEGER,\n\tModUser\t\t\tINTEGER,\n\tModDate\t\t\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP);\nINSERT INTO Item (ItemID, Name, Description) VALUES ( 1, 'Apple', 'Delicious fruit');\nINSERT INTO Item (ItemID, Name, Description) VALUES ( 2, 'Orange', 'Another delicious fruit');\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":391,"cells":{"blob_id":{"kind":"string","value":"8ae5ee71800f6b5deee9a20097d70c6f9b4e9365"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"NandunGodage/Year1-Sem2"},"path":{"kind":"string","value":"/ISDM/Lab Sheets/Lab Sheet 6/db_Script.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":1930,"string":"1,930"},"score":{"kind":"number","value":4.40625,"string":"4.40625"},"int_score":{"kind":"number","value":4,"string":"4"},"detected_licenses":{"kind":"list like","value":["MIT"],"string":"[\n \"MIT\"\n]"},"license_type":{"kind":"string","value":"permissive"},"text":{"kind":"string","value":"# 1.\tMake a list of customer names and the respective states they live in.\n\nSELECT (fname + lname) AS 'Name', s.sname AS 'State'\nFROM customer c, state s\nWHERE s.code = c.state;\n\n# 2.\tDisplay the stock details with the corresponding manufacture’s name.\n\nSELECT s.description,m.manu_name AS 'Manufacture Name'\nFROM manufact m, stock s\nWHERE s.manu_code = m.manu_code;\n\n# 3.\tPrepare a list of manufacturers that supply kickboards. \n\nSELECT m.manu_name AS 'Manufacture Name',s.description AS 'Description'\nFROM manufact m,stock s\nWHERE s.manu_code = m.manu_code AND s.description = 'kick board';\n\n# 4.\tFind the number of customers live in each state. Display the name of the state and the number of customers.\n\nSELECT s.sname AS 'State Name',COUNT(c.customer_num) AS 'No of Customers'\nFROM customer c, state s\nWHERE c.state = s.code\nGROUP BY s.sname; \n\n# 5.\tMake a list of customers who have placed orders that weigh greater than 180. Display the customer’s First name along with the shipping weight.\n\nSELECT c.fname AS 'Name', SUM(o.ship_weight) AS 'Shipping Weight'\nFROM customer c, orders o\nWHERE c.customer_num = o.customer_num\nGROUP BY c.fname\nHAVING SUM(o.ship_weight) > 180;\n\n# 6.\tWho are the customers that have ordered more than 100 items?\n\nSELECT c.fname AS 'Name',SUM(i.quantity) AS 'Quantity' \nFROM customer c, orders o,items i\nWHERE c.customer_num = o.customer_num AND o.order_num = i.order_num\nGROUP BY c.fname\nHAVING SUM(i.quantity) > 100;\n\n# 7.\tFind the orders which are having a total price greater than $20,000. Prepare a list containing order number, the first name of the customer who has placed the order and the total price.\n# Not yet completed\nSELECT o.order_num AS 'Order No', i.total_price AS 'Total Price'\nFROM customer c,orders o,items i\nWHERE c.customer_num = o.customer_num AND o.order_num = i.order_num\nGROUP BY o.order_num; \n\n# 8.\tDisplay the First name of the customers who have ordered swimcaps.\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":392,"cells":{"blob_id":{"kind":"string","value":"cc4c978c7e4cce04bb2641689dd55ddef4395b76"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"leprekon91/AES14"},"path":{"kind":"string","value":"/src/createDB.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":11293,"string":"11,293"},"score":{"kind":"number","value":3.84375,"string":"3.84375"},"int_score":{"kind":"number","value":4,"string":"4"},"detected_licenses":{"kind":"list like","value":["MIT"],"string":"[\n \"MIT\"\n]"},"license_type":{"kind":"string","value":"permissive"},"text":{"kind":"string","value":"-- MySQL Workbench Forward Engineering\n\nSET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;\nSET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;\nSET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL,ALLOW_INVALID_DATES';\n\n-- -----------------------------------------------------\n-- Schema AES\n-- -----------------------------------------------------\n\n-- -----------------------------------------------------\n-- Schema AES\n-- -----------------------------------------------------\nCREATE SCHEMA IF NOT EXISTS `AES` DEFAULT CHARACTER SET utf8 ;\nUSE `AES` ;\n\n-- -----------------------------------------------------\n-- Table `users`\n-- -----------------------------------------------------\nCREATE TABLE IF NOT EXISTS `users` (\n `user_name` VARCHAR(50) NOT NULL,\n `pass` VARCHAR(50) NOT NULL,\n `first_name` VARCHAR(45) NOT NULL,\n `last_name` VARCHAR(45) NOT NULL,\n `type` INT NOT NULL,\n PRIMARY KEY (`user_name`),\n UNIQUE INDEX `username_UNIQUE` (`user_name` ASC))\nENGINE = InnoDB;\n\n\n-- -----------------------------------------------------\n-- Table `subjects`\n-- -----------------------------------------------------\nCREATE TABLE IF NOT EXISTS `subjects` (\n `id_subject` INT(2) NOT NULL,\n `subject_name` VARCHAR(45) NOT NULL,\n PRIMARY KEY (`id_subject`),\n UNIQUE INDEX `idsubjects_UNIQUE` (`id_subject` ASC))\nENGINE = InnoDB;\n\n\n-- -----------------------------------------------------\n-- Table `courses`\n-- -----------------------------------------------------\nCREATE TABLE IF NOT EXISTS `courses` (\n `id_course` INT(2) NOT NULL,\n `subjects_id_subjects` INT NOT NULL,\n `course_name` VARCHAR(45) NULL,\n PRIMARY KEY (`id_course`),\n INDEX `fk_courses_subjects_idx` (`subjects_id_subjects` ASC),\n CONSTRAINT `fk_courses_subjects`\n FOREIGN KEY (`subjects_id_subjects`)\n REFERENCES `AES`.`subjects` (`id_subject`)\n ON DELETE NO ACTION\n ON UPDATE NO ACTION)\nENGINE = InnoDB;\n\n\n-- -----------------------------------------------------\n-- Table `student_studies_in_course`\n-- -----------------------------------------------------\nCREATE TABLE IF NOT EXISTS `student_studies_in_course` (\n `student_name` VARCHAR(50) NOT NULL,\n `courses_id_course` INT(2) NOT NULL,\n PRIMARY KEY (`student_name`, `courses_id_course`),\n INDEX `fk_users_has_courses_courses1_idx` (`courses_id_course` ASC),\n INDEX `fk_users_has_courses_users1_idx` (`student_name` ASC),\n CONSTRAINT `fk_users_has_courses_users1`\n FOREIGN KEY (`student_name`)\n REFERENCES `AES`.`users` (`user_name`)\n ON DELETE NO ACTION\n ON UPDATE NO ACTION,\n CONSTRAINT `fk_users_has_courses_courses1`\n FOREIGN KEY (`courses_id_course`)\n REFERENCES `AES`.`courses` (`id_course`)\n ON DELETE NO ACTION\n ON UPDATE NO ACTION)\nENGINE = InnoDB;\n\n\n-- -----------------------------------------------------\n-- Table `questions`\n-- -----------------------------------------------------\nCREATE TABLE IF NOT EXISTS `questions` (\n `id_question` INT(3) NOT NULL AUTO_INCREMENT,\n `question_text` TEXT(200) NOT NULL,\n `ans_1` TEXT(200) NOT NULL,\n `ans_2` TEXT(200) NOT NULL,\n `ans_3` TEXT(200) NOT NULL,\n `ans_4` TEXT(200) NOT NULL,\n `indicator` INT NULL,\n `subjects_id_subject` INT NOT NULL,\n `teacher_user` VARCHAR(50) NOT NULL,\n PRIMARY KEY (`id_question`, `subjects_id_subject`),\n INDEX `fk_questions_subjects1_idx` (`subjects_id_subject` ASC),\n INDEX `fk_questions_users1_idx` (`teacher_user` ASC),\n CONSTRAINT `fk_questions_subjects1`\n FOREIGN KEY (`subjects_id_subject`)\n REFERENCES `AES`.`subjects` (`id_subject`)\n ON DELETE NO ACTION\n ON UPDATE NO ACTION,\n CONSTRAINT `fk_questions_users1`\n FOREIGN KEY (`teacher_user`)\n REFERENCES `AES`.`users` (`user_name`)\n ON DELETE NO ACTION\n ON UPDATE NO ACTION)\nENGINE = InnoDB;\n\n\n-- -----------------------------------------------------\n-- Table `teachers_teach_subjects`\n-- -----------------------------------------------------\nCREATE TABLE IF NOT EXISTS `teachers_teach_subjects` (\n `teacher_name` VARCHAR(50) NOT NULL,\n `subjects_id_subject` INT NOT NULL,\n PRIMARY KEY (`teacher_name`, `subjects_id_subject`),\n INDEX `fk_users_has_subjects_subjects1_idx` (`subjects_id_subject` ASC),\n INDEX `fk_users_has_subjects_users1_idx` (`teacher_name` ASC),\n CONSTRAINT `fk_users_has_subjects_users1`\n FOREIGN KEY (`teacher_name`)\n REFERENCES `AES`.`users` (`user_name`)\n ON DELETE NO ACTION\n ON UPDATE NO ACTION,\n CONSTRAINT `fk_users_has_subjects_subjects1`\n FOREIGN KEY (`subjects_id_subject`)\n REFERENCES `AES`.`subjects` (`id_subject`)\n ON DELETE NO ACTION\n ON UPDATE NO ACTION)\nENGINE = InnoDB;\n\n\n-- -----------------------------------------------------\n-- Table `exams`\n-- -----------------------------------------------------\nCREATE TABLE IF NOT EXISTS `exams` (\n `id_exam` INT(2) NOT NULL AUTO_INCREMENT,\n `exam_duration` INT NULL,\n `teacher_instructions` TEXT(200) NULL,\n `student_instructions` TEXT(200) NULL,\n `subjects_id_subject` INT NOT NULL,\n `courses_id_course` INT NOT NULL,\n `users_user_name` VARCHAR(50) NOT NULL,\n `used` TINYINT(1) NOT NULL,\n PRIMARY KEY (`id_exam`, `subjects_id_subject`, `courses_id_course`),\n INDEX `fk_exams_subjects1_idx` (`subjects_id_subject` ASC),\n INDEX `fk_exams_courses1_idx` (`courses_id_course` ASC),\n INDEX `fk_exams_users1_idx` (`users_user_name` ASC),\n CONSTRAINT `fk_exams_subjects1`\n FOREIGN KEY (`subjects_id_subject`)\n REFERENCES `AES`.`subjects` (`id_subject`)\n ON DELETE NO ACTION\n ON UPDATE NO ACTION,\n CONSTRAINT `fk_exams_courses1`\n FOREIGN KEY (`courses_id_course`)\n REFERENCES `AES`.`courses` (`id_course`)\n ON DELETE NO ACTION\n ON UPDATE NO ACTION,\n CONSTRAINT `fk_exams_users1`\n FOREIGN KEY (`users_user_name`)\n REFERENCES `AES`.`users` (`user_name`)\n ON DELETE NO ACTION\n ON UPDATE NO ACTION)\nENGINE = InnoDB;\n\n\n-- -----------------------------------------------------\n-- Table `exams_has_questions`\n-- -----------------------------------------------------\nCREATE TABLE IF NOT EXISTS `exams_has_questions` (\n `exams_id_exam` INT NOT NULL,\n `questions_id_question` INT NOT NULL,\n `exam_courses_id` INT NOT NULL,\n `questions_subjects_id_subject` INT NOT NULL,\n `question_grade` INT NULL,\n PRIMARY KEY (`exams_id_exam`, `questions_id_question`, `exam_courses_id`, `questions_subjects_id_subject`),\n INDEX `fk_exams_has_questions_questions1_idx` (`questions_id_question` ASC, `questions_subjects_id_subject` ASC),\n INDEX `fk_exams_has_questions_exams1_idx` (`exams_id_exam` ASC),\n CONSTRAINT `fk_exams_has_questions_exams1`\n FOREIGN KEY (`exams_id_exam`)\n REFERENCES `AES`.`exams` (`id_exam`)\n ON DELETE NO ACTION\n ON UPDATE NO ACTION,\n CONSTRAINT `fk_exams_has_questions_questions1`\n FOREIGN KEY (`questions_id_question` , `questions_subjects_id_subject`)\n REFERENCES `AES`.`questions` (`id_question` , `subjects_id_subject`)\n ON DELETE NO ACTION\n ON UPDATE NO ACTION)\nENGINE = InnoDB;\n\n\n-- -----------------------------------------------------\n-- Table `student_answers`\n-- -----------------------------------------------------\nCREATE TABLE IF NOT EXISTS `student_answers` (\n `answer` INT NOT NULL,\n `exams_has_questions_exams_id_exam` INT NOT NULL,\n `exams_has_questions_questions_id_question` INT NOT NULL,\n `exams_has_questions_exam_courses_id` INT NOT NULL,\n `exams_has_questions_questions_subjects_id_subject` INT NOT NULL,\n `student_user` VARCHAR(50) NOT NULL,\n INDEX `fk_student_answers_exams_has_questions1_idx` (`exams_has_questions_exams_id_exam` ASC, `exams_has_questions_questions_id_question` ASC, `exams_has_questions_exam_courses_id` ASC, `exams_has_questions_questions_subjects_id_subject` ASC),\n INDEX `fk_student_answers_users1_idx` (`student_user` ASC),\n PRIMARY KEY (`exams_has_questions_exams_id_exam`, `exams_has_questions_questions_id_question`, `exams_has_questions_exam_courses_id`, `exams_has_questions_questions_subjects_id_subject`, `student_user`),\n CONSTRAINT `fk_student_answers_exams_has_questions1`\n FOREIGN KEY (`exams_has_questions_exams_id_exam` , `exams_has_questions_questions_id_question` , `exams_has_questions_exam_courses_id` , `exams_has_questions_questions_subjects_id_subject`)\n REFERENCES `AES`.`exams_has_questions` (`exams_id_exam` , `questions_id_question` , `exam_courses_id` , `questions_subjects_id_subject`)\n ON DELETE NO ACTION\n ON UPDATE NO ACTION,\n CONSTRAINT `fk_student_answers_users1`\n FOREIGN KEY (`student_user`)\n REFERENCES `AES`.`users` (`user_name`)\n ON DELETE NO ACTION\n ON UPDATE NO ACTION)\nENGINE = InnoDB;\n\n\n-- -----------------------------------------------------\n-- Table `exam_solutions`\n-- -----------------------------------------------------\nCREATE TABLE IF NOT EXISTS `exam_solutions` (\n `student_user` VARCHAR(50) NOT NULL,\n `exams_id_exam` INT NOT NULL,\n `exams_subjects_id_subject` INT NOT NULL,\n `exams_courses_id_course` INT NOT NULL,\n `grade` INT NULL,\n `approved` TINYINT(1) NOT NULL,\n `teacher_notes` TEXT(200) NULL,\n `teacher_user` VARCHAR(50) NOT NULL,\n `execution_duration` VARCHAR(45) NULL,\n `suspected_of_copying` TINYINT(1) NOT NULL,\n `exam_type` VARCHAR(45) NOT NULL,\n PRIMARY KEY (`student_user`, `exams_id_exam`, `exams_subjects_id_subject`, `exams_courses_id_course`),\n INDEX `fk_users_has_exams_exams1_idx` (`exams_id_exam` ASC, `exams_subjects_id_subject` ASC, `exams_courses_id_course` ASC),\n INDEX `fk_users_has_exams_users1_idx` (`student_user` ASC),\n INDEX `fk_student_grades_users1_idx` (`teacher_user` ASC),\n CONSTRAINT `fk_users_has_exams_users1`\n FOREIGN KEY (`student_user`)\n REFERENCES `AES`.`users` (`user_name`)\n ON DELETE NO ACTION\n ON UPDATE NO ACTION,\n CONSTRAINT `fk_users_has_exams_exams1`\n FOREIGN KEY (`exams_id_exam` , `exams_subjects_id_subject` , `exams_courses_id_course`)\n REFERENCES `AES`.`exams` (`id_exam` , `subjects_id_subject` , `courses_id_course`)\n ON DELETE NO ACTION\n ON UPDATE NO ACTION,\n CONSTRAINT `fk_student_grades_users1`\n FOREIGN KEY (`teacher_user`)\n REFERENCES `AES`.`users` (`user_name`)\n ON DELETE NO ACTION\n ON UPDATE NO ACTION)\nENGINE = InnoDB;\n\n\n-- -----------------------------------------------------\n-- Table `word_file_solutions`\n-- -----------------------------------------------------\nCREATE TABLE IF NOT EXISTS `word_file_solutions` (\n `exam_solutions_student_user` VARCHAR(50) NOT NULL,\n `exam_solutions_exams_id_exam` INT NOT NULL,\n `exam_solutions_exams_subjects_id_subject` INT NOT NULL,\n `exam_solutions_exams_courses_id_course` INT NOT NULL,\n `word_file_add` VARCHAR(45) NOT NULL,\n PRIMARY KEY (`exam_solutions_student_user`, `exam_solutions_exams_id_exam`, `exam_solutions_exams_subjects_id_subject`, `exam_solutions_exams_courses_id_course`),\n CONSTRAINT `fk_word_file_solutions_exam_solutions1`\n FOREIGN KEY (`exam_solutions_student_user` , `exam_solutions_exams_id_exam` , `exam_solutions_exams_subjects_id_subject` , `exam_solutions_exams_courses_id_course`)\n REFERENCES `AES`.`exam_solutions` (`student_user` , `exams_id_exam` , `exams_subjects_id_subject` , `exams_courses_id_course`)\n ON DELETE NO ACTION\n ON UPDATE NO ACTION)\nENGINE = InnoDB;\n\n\nSET SQL_MODE=@OLD_SQL_MODE;\nSET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS;\nSET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS;"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":393,"cells":{"blob_id":{"kind":"string","value":"a1e2b6e8b150b883dcecf5c202afc1650555181d"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"kaoutharElbakouri/contactManagement"},"path":{"kind":"string","value":"/contacts.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":4394,"string":"4,394"},"score":{"kind":"number","value":3.046875,"string":"3.046875"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"-- phpMyAdmin SQL Dump\n-- version 5.1.0\n-- https://www.phpmyadmin.net/\n--\n-- Hôte : 127.0.0.1\n-- Généré le : sam. 14 août 2021 à 13:28\n-- Version du serveur : 10.4.19-MariaDB\n-- Version de PHP : 8.0.6\n\nSET SQL_MODE = \"NO_AUTO_VALUE_ON_ZERO\";\nSTART TRANSACTION;\nSET time_zone = \"+00:00\";\n\n\n/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;\n/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;\n/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;\n/*!40101 SET NAMES utf8mb4 */;\n\n--\n-- Base de données : `contacts`\n--\n\n-- --------------------------------------------------------\n\n--\n-- Structure de la table `gender`\n--\n\nCREATE TABLE `gender` (\n `idg` int(11) NOT NULL,\n `lib` varchar(50) DEFAULT NULL\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n\n--\n-- Déchargement des données de la table `gender`\n--\n\nINSERT INTO `gender` (`idg`, `lib`) VALUES\n(1, 'female'),\n(2, 'male');\n\n-- --------------------------------------------------------\n\n--\n-- Structure de la table `groupe`\n--\n\nCREATE TABLE `groupe` (\n `id1` int(11) NOT NULL,\n `groupeName` varchar(11) NOT NULL,\n `Icon` varchar(250) NOT NULL\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n\n--\n-- Déchargement des données de la table `groupe`\n--\n\nINSERT INTO `groupe` (`id1`, `groupeName`, `Icon`) VALUES\n(25, 'amie', 'handwritten-lettering-welcome-to-our-online-store-vector-illustration-vector-illustration-handwritten-lettering-welcome-to-174735689.jpg');\n\n-- --------------------------------------------------------\n\n--\n-- Structure de la table `groupepersonne`\n--\n\nCREATE TABLE `groupepersonne` (\n `idgp` int(11) NOT NULL,\n `id` int(11) NOT NULL,\n `id1` int(11) NOT NULL\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n\n--\n-- Déchargement des données de la table `groupepersonne`\n--\n\nINSERT INTO `groupepersonne` (`idgp`, `id`, `id1`) VALUES\n(23, 51, 23),\n(24, 51, 24),\n(25, 52, 24),\n(26, 51, 25),\n(27, 52, 25),\n(28, 54, 26);\n\n-- --------------------------------------------------------\n\n--\n-- Structure de la table `personne`\n--\n\nCREATE TABLE `personne` (\n `id` int(11) NOT NULL,\n `firstName` varchar(50) DEFAULT NULL,\n `lastName` varchar(50) DEFAULT NULL,\n `perEmail` varchar(255) DEFAULT NULL,\n `proEmail` varchar(255) DEFAULT NULL,\n `image` longblob DEFAULT NULL,\n `telNo1` varchar(20) DEFAULT NULL,\n `telNo2` varchar(20) DEFAULT NULL,\n `address` varchar(255) DEFAULT NULL,\n `idg` int(11) DEFAULT NULL\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n\n--\n-- Déchargement des données de la table `personne`\n--\n\nINSERT INTO `personne` (`id`, `firstName`, `lastName`, `perEmail`, `proEmail`, `image`, `telNo1`, `telNo2`, `address`, `idg`) VALUES\n(54, 'kaouthar ', 'abakouy', 'kwtrelbakouri1@gmail.com', 'mohammedelbakouri@gmail.com', 0x70686f746f312e706e67, '0611298878', '0698754123', 'tetouan', 1),\n(55, 'kaouthar ', 'elbakouri', 'kwtrelbakouri1@gmail.com', 'kaoutarelbakouri@gmail.com', 0x3230303732303231323234373035333631333038363032313330202831292e706e67, '1235', '0698754123', 'meknes', 1);\n\n--\n-- Index pour les tables déchargées\n--\n\n--\n-- Index pour la table `gender`\n--\nALTER TABLE `gender`\n ADD PRIMARY KEY (`idg`);\n\n--\n-- Index pour la table `groupe`\n--\nALTER TABLE `groupe`\n ADD PRIMARY KEY (`id1`);\n\n--\n-- Index pour la table `groupepersonne`\n--\nALTER TABLE `groupepersonne`\n ADD PRIMARY KEY (`idgp`);\n\n--\n-- Index pour la table `personne`\n--\nALTER TABLE `personne`\n ADD PRIMARY KEY (`id`),\n ADD KEY `idg` (`idg`);\n\n--\n-- AUTO_INCREMENT pour les tables déchargées\n--\n\n--\n-- AUTO_INCREMENT pour la table `gender`\n--\nALTER TABLE `gender`\n MODIFY `idg` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;\n\n--\n-- AUTO_INCREMENT pour la table `groupe`\n--\nALTER TABLE `groupe`\n MODIFY `id1` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=27;\n\n--\n-- AUTO_INCREMENT pour la table `groupepersonne`\n--\nALTER TABLE `groupepersonne`\n MODIFY `idgp` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=29;\n\n--\n-- AUTO_INCREMENT pour la table `personne`\n--\nALTER TABLE `personne`\n MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=56;\n\n--\n-- Contraintes pour les tables déchargées\n--\n\n--\n-- Contraintes pour la table `personne`\n--\nALTER TABLE `personne`\n ADD CONSTRAINT `personne_ibfk_1` FOREIGN KEY (`idg`) REFERENCES `gender` (`idg`);\nCOMMIT;\n\n/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;\n/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;\n/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":394,"cells":{"blob_id":{"kind":"string","value":"cc88b9f2838737532225ff96debe386d39cf1daa"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"DougZheng/kingdom_training"},"path":{"kind":"string","value":"/bin/gmall_build.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":53014,"string":"53,014"},"score":{"kind":"number","value":3.453125,"string":"3.453125"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"use gmall;\n\ndrop table if exists ods_log;\nCREATE EXTERNAL TABLE ods_log ( line string)\nPARTITIONED BY ( dt string) -- 按照时间创建分区\nSTORED AS -- 指定存储方式,读数据采用LzoTextInputFormat;\n INPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat'\n OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION '/warehouse/gmall/ods/ods_log' -- 指定数据在hdfs上的存储位置\n;\n\ndrop table if exists ods_order_info;\ncreate external table ods_order_info (\n id string COMMENT '编号',\n consignee string COMMENT '收货人',\n consignee_tel string COMMENT '收件人电话',\n final_total_amount decimal(16,2) COMMENT '总金额',\n order_status string COMMENT '订单状态',\n user_id string COMMENT '用户id',\n delivery_address string COMMENT '送货地址',\n order_comment string COMMENT '订单备注',\n out_trade_no string COMMENT '订单交易编号(第三方支付用)',\n trade_body string COMMENT '订单描述(第三方支付用)',\n create_time string COMMENT '创建时间',\n operate_time string COMMENT '操作时间',\n expire_time string COMMENT '失效时间',\n tracking_no string COMMENT '物流单编号',\n parent_order_id string COMMENT '父订单编号',\n img_url string COMMENT '图片路径',\n province_id string COMMENT '地区',\n benefit_reduce_amount decimal(16,2) COMMENT '优惠金额',\n original_total_amount decimal(16,2) COMMENT '原价金额',\n feight_fee decimal(16,2) COMMENT '运费'\n) COMMENT '订单表'\nPARTITIONED BY ( dt string)\nrow format delimited fields terminated by '\\t'\nSTORED AS\nINPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat'\nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nlocation '/warehouse/gmall/ods/ods_order_info/';\n\ndrop table if exists ods_order_detail;\ncreate external table ods_order_detail (\n id string COMMENT '编号',\n order_id string COMMENT '订单编号',\n user_id string COMMENT '用户id',\n sku_id string COMMENT 'sku_id',\n sku_name string COMMENT 'sku名称(冗余)',\n img_url string COMMENT '图片名称(冗余)',\n order_price decimal(16,2) COMMENT '购买价格(下单时sku价格)',\n sku_num bigint COMMENT '购买个数',\n create_time string COMMENT '创建时间',\n source_type string COMMENT '来源类型',\n source_id string COMMENT '来源编号'\n) COMMENT '订单详情表'\nPARTITIONED BY ( dt string)\nrow format delimited fields terminated by '\\t'\nSTORED AS\nINPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat'\nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nlocation '/warehouse/gmall/ods/ods_order_detail/';\n\ndrop table if exists ods_sku_info;\ncreate external table ods_sku_info (\n id string COMMENT 'skuid(itemID)',\n spu_id string COMMENT 'spuid',\n price decimal(16,2) COMMENT '价格',\n sku_name string COMMENT 'sku名称',\n sku_desc string COMMENT '商品规格描述',\n weight decimal(16,2) COMMENT '重量',\n tm_id string COMMENT '品牌(冗余)',\n category3_id string COMMENT '三级分类id(冗余)',\n sku_default_img string COMMENT '默认显示图片(冗余)',\n create_time string COMMENT '创建时间'\n) COMMENT 'SKU商品表'\nPARTITIONED BY ( dt string)\nrow format delimited fields terminated by '\\t'\nSTORED AS\nINPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat'\nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nlocation '/warehouse/gmall/ods/ods_sku_info/';\n\ndrop table if exists ods_user_info;\ncreate external table ods_user_info (\n id string COMMENT '编号',\n login_name string COMMENT '用户名称',\n nick_name string COMMENT '用户昵称',\n passwd string COMMENT '用户密码',\n name string COMMENT '用户姓名',\n phone_num string COMMENT '手机号',\n email string COMMENT '邮箱',\n head_img string COMMENT '头像',\n user_level string COMMENT '用户级别',\n birthday string COMMENT '用户生日',\n gender string COMMENT '性别 M男,F女',\n create_time string COMMENT '创建时间',\n operate_time string COMMENT '修改时间'\n) COMMENT '用户表'\nPARTITIONED BY ( dt string)\nrow format delimited fields terminated by '\\t'\nSTORED AS\nINPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat'\nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nlocation '/warehouse/gmall/ods/ods_user_info/';\n\ndrop table if exists ods_base_category1;\ncreate external table ods_base_category1 (\n id string COMMENT '编号',\n name string COMMENT '分类名称'\n) COMMENT '商品一级分类表'\nPARTITIONED BY ( dt string)\nrow format delimited fields terminated by '\\t'\nSTORED AS\nINPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat'\nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nlocation '/warehouse/gmall/ods/ods_base_category1/';\n\ndrop table if exists ods_base_category2;\ncreate external table ods_base_category2 (\n id string COMMENT '编号',\n name string COMMENT '二级分类名称',\n category1_id string COMMENT '一级分类编号'\n) COMMENT '商品二级分类表'\nPARTITIONED BY ( dt string)\nrow format delimited fields terminated by '\\t'\nSTORED AS\nINPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat'\nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nlocation '/warehouse/gmall/ods/ods_base_category2/';\n\ndrop table if exists ods_base_category3;\ncreate external table ods_base_category3 (\n id string COMMENT '编号',\n name string COMMENT '三级分类名称',\n category2_id string COMMENT '二级分类编号'\n) COMMENT '商品三级分类表'\nPARTITIONED BY ( dt string)\nrow format delimited fields terminated by '\\t'\nSTORED AS\nINPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat'\nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nlocation '/warehouse/gmall/ods/ods_base_category3/';\n\ndrop table if exists ods_payment_info;\ncreate external table ods_payment_info (\n id string COMMENT '编号',\n out_trade_no string COMMENT '对外业务编号',\n order_id string COMMENT '订单编号',\n user_id string COMMENT '用户编号',\n alipay_trade_no string COMMENT '支付宝交易流水编号',\n total_amount decimal(16,2) COMMENT '支付金额',\n subject string COMMENT '交易内容',\n payment_type string COMMENT '支付方式',\n payment_time string COMMENT '支付时间'\n) COMMENT '支付流水表'\nPARTITIONED BY ( dt string)\nrow format delimited fields terminated by '\\t'\nSTORED AS\nINPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat'\nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nlocation '/warehouse/gmall/ods/ods_payment_info/';\n\ndrop table if exists ods_base_province;\ncreate external table ods_base_province (\n id bigint COMMENT 'id',\n name string COMMENT '省份名称',\n region_id string COMMENT '地区id',\n area_code string COMMENT '地区编码',\n iso_code string COMMENT '国际编码'\n) COMMENT '省份表'\nrow format delimited fields terminated by '\\t'\nSTORED AS\nINPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat'\nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nlocation '/warehouse/gmall/ods/ods_base_province/';\n\ndrop table if exists ods_base_region;\ncreate external table ods_base_region (\n id string COMMENT '地区id',\n region_name string COMMENT '地区名称'\n) COMMENT '地区表'\nrow format delimited fields terminated by '\\t'\nSTORED AS\nINPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat'\nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nlocation '/warehouse/gmall/ods/ods_base_region/';\n\ndrop table if exists ods_base_trademark;\ncreate external table ods_base_trademark (\n tm_id string COMMENT '品牌id',\n tm_name string COMMENT '品牌名称'\n) COMMENT '品牌表'\nPARTITIONED BY ( dt string)\nrow format delimited fields terminated by '\\t'\nSTORED AS\nINPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat'\nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nlocation '/warehouse/gmall/ods/ods_base_trademark/';\n\ndrop table if exists ods_order_status_log;\ncreate external table ods_order_status_log (\n id string COMMENT '编号',\n order_id string COMMENT '订单编号',\n order_status string COMMENT '订单状态',\n operate_time string COMMENT '操作时间'\n) COMMENT '订单状态表'\nPARTITIONED BY ( dt string)\nrow format delimited fields terminated by '\\t'\nSTORED AS\nINPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat'\nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nlocation '/warehouse/gmall/ods/ods_order_status_log/';\n\ndrop table if exists ods_spu_info;\ncreate external table ods_spu_info (\n id string COMMENT '商品id',\n spu_name string COMMENT '商品名称',\n description string COMMENT '商品描述(后台简述)',\n category3_id string COMMENT '三级分类id',\n tm_id string COMMENT '品牌id'\n) COMMENT 'SPU商品表'\nPARTITIONED BY ( dt string)\nrow format delimited fields terminated by '\\t'\nSTORED AS\nINPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat'\nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nlocation '/warehouse/gmall/ods/ods_spu_info/';\n\ndrop table if exists ods_comment_info;\ncreate external table ods_comment_info (\n id string COMMENT '编号',\n user_id string COMMENT '用户名称',\n sku_id string COMMENT 'skuid',\n spu_id string COMMENT '商品id',\n order_id string COMMENT '订单编号',\n appraise string COMMENT '评价 1 好评 2 中评 3 差评',\n comment_txt string COMMENT '评价内容',\n create_time string COMMENT '创建时间',\n operate_time string COMMENT '修改时间'\n) COMMENT '商品评论表'\nPARTITIONED BY ( dt string)\nrow format delimited fields terminated by '\\t'\nSTORED AS\nINPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat'\nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nlocation '/warehouse/gmall/ods/ods_comment_info/';\n\ndrop table if exists ods_order_refund_info;\ncreate external table ods_order_refund_info (\n id string COMMENT '编号',\n user_id string COMMENT '用户id',\n order_id string COMMENT '订单编号',\n sku_id string COMMENT 'skuid',\n refund_type string COMMENT '退款类型',\n refund_num bigint COMMENT '退货件数',\n refund_amount decimal(16,2) COMMENT '退款金额',\n refund_reason_type string COMMENT '原因类型',\n refund_reason_txt string COMMENT '原因内容',\n create_time string COMMENT '创建时间'\n) COMMENT '退单表'\nPARTITIONED BY ( dt string)\nrow format delimited fields terminated by '\\t'\nSTORED AS\nINPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat'\nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nlocation '/warehouse/gmall/ods/ods_order_refund_info/';\n\ndrop table if exists ods_cart_info;\ncreate external table ods_cart_info (\n id string COMMENT '编号',\n user_id string COMMENT '用户id',\n sku_id string COMMENT 'skuid',\n cart_price decimal(16,2) COMMENT '放入购物车时价格',\n sku_num bigint COMMENT '数量',\n img_url string COMMENT '图片文件',\n sku_name string COMMENT 'sku名称(冗余)',\n create_time string COMMENT '创建时间',\n operate_time string COMMENT '修改时间',\n is_ordered string COMMENT '是否已经下单',\n order_time string COMMENT '下单时间', \n source_type string COMMENT '来源类型',\n source_id string COMMENT '来源编号'\n) COMMENT '加购表'\nPARTITIONED BY ( dt string)\nrow format delimited fields terminated by '\\t'\nSTORED AS\nINPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat'\nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nlocation '/warehouse/gmall/ods/ods_cart_info/';\n\ndrop table if exists ods_favor_info;\ncreate external table ods_favor_info (\n id string COMMENT '编号',\n user_id string COMMENT '用户id',\n sku_id string COMMENT 'skuid',\n spu_id string COMMENT '商品id',\n is_cancel string COMMENT '是否已取消 0 正常 1 已取消',\n create_time string COMMENT '创建时间',\n cancel_time string COMMENT '修改时间'\n) COMMENT '商品收藏表'\nPARTITIONED BY ( dt string)\nrow format delimited fields terminated by '\\t'\nSTORED AS\nINPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat'\nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nlocation '/warehouse/gmall/ods/ods_favor_info/';\n\ndrop table if exists ods_coupon_use;\ncreate external table ods_coupon_use (\n id string COMMENT '编号',\n coupon_id string COMMENT '优惠券ID',\n user_id string COMMENT '用户ID',\n order_id string COMMENT '订单ID',\n coupon_status string COMMENT '购物券状态',\n get_time string COMMENT '领券时间',\n using_time string COMMENT '使用时间',\n used_time string COMMENT '支付时间',\n expire_time string COMMENT '过期时间'\n) COMMENT '优惠券领用表'\nPARTITIONED BY ( dt string)\nrow format delimited fields terminated by '\\t'\nSTORED AS\nINPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat'\nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nlocation '/warehouse/gmall/ods/ods_coupon_use/';\n\ndrop table if exists ods_coupon_info;\ncreate external table ods_coupon_info (\n id string COMMENT '优惠券编号',\n coupon_name string COMMENT '优惠券名称',\n coupon_type string COMMENT '优惠券类型 1 现金券 2 折扣券 3 满减券 4 满件打折券',\n condition_amount decimal(16,2) COMMENT '满减金额',\n condition_num bigint COMMENT '满减件数',\n activity_id string COMMENT '活动编号',\n benefit_amount decimal(16,2) COMMENT '优惠金额',\n benefit_discount decimal(16,2) COMMENT '优惠折扣',\n create_time string COMMENT '创建时间',\n range_type string COMMENT '范围类型 1、商品 2、品类 3、品牌',\n spu_id string COMMENT '商品id',\n tm_id string COMMENT '品牌id',\n category3_id string COMMENT '品类id',\n limit_num bigint COMMENT '最多领用次数',\n operate_time string COMMENT '修改时间',\n expire_time string COMMENT '过期时间'\n) COMMENT '优惠券表'\nPARTITIONED BY ( dt string)\nrow format delimited fields terminated by '\\t'\nSTORED AS\nINPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat'\nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nlocation '/warehouse/gmall/ods/ods_coupon_info/';\n\ndrop table if exists ods_activity_info;\ncreate external table ods_activity_info (\n id string COMMENT '活动id',\n activity_name string COMMENT '活动名称',\n activity_type string COMMENT '活动类型',\n activity_desc string COMMENT '活动描述',\n start_time string COMMENT '开始时间',\n end_time string COMMENT '结束时间',\n create_time string COMMENT '创建时间'\n) COMMENT '活动表'\nPARTITIONED BY ( dt string)\nrow format delimited fields terminated by '\\t'\nSTORED AS\nINPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat'\nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nlocation '/warehouse/gmall/ods/ods_activity_info/';\n\ndrop table if exists ods_activity_order;\ncreate external table ods_activity_order (\n id string COMMENT '编号',\n activity_id string COMMENT '活动id',\n order_id string COMMENT '订单编号',\n create_time string COMMENT '发生时间'\n) COMMENT '活动订单关联表'\nPARTITIONED BY ( dt string)\nrow format delimited fields terminated by '\\t'\nSTORED AS\nINPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat'\nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nlocation '/warehouse/gmall/ods/ods_activity_order/';\n\ndrop table if exists ods_activity_rule;\ncreate external table ods_activity_rule (\n id string COMMENT '编号',\n activity_id string COMMENT '活动id',\n condition_amount decimal(16,2) COMMENT '满减金额',\n condition_num string COMMENT '满减件数',\n benefit_amount decimal(16,2) COMMENT '优惠金额',\n benefit_discount decimal(16,2) COMMENT '优惠折扣',\n benefit_level string COMMENT '优惠级别'\n) COMMENT '优惠规则表'\nPARTITIONED BY ( dt string)\nrow format delimited fields terminated by '\\t'\nSTORED AS\nINPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat'\nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nlocation '/warehouse/gmall/ods/ods_activity_rule/';\n\ndrop table if exists ods_base_dic;\ncreate external table ods_base_dic (\n dic_code string COMMENT '编号',\n dic_name string COMMENT '编码名称',\n parent_code string COMMENT '父编码',\n create_time string COMMENT '创建日期',\n operate_time string COMMENT '修改日期'\n) COMMENT '编码字典表'\nPARTITIONED BY ( dt string)\nrow format delimited fields terminated by '\\t'\nSTORED AS\nINPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat'\nOUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nlocation '/warehouse/gmall/ods/ods_base_dic/';\n\n\n\ndrop table if exists dwd_start_log;\nCREATE EXTERNAL TABLE dwd_start_log(\n area_code string COMMENT '地区编码',\n brand string COMMENT '手机品牌', \n channel string COMMENT '渠道', \n model string COMMENT '手机型号', \n mid_id string COMMENT '设备id', \n os string COMMENT '操作系统', \n user_id string COMMENT '会员id', \n version_code string COMMENT 'app版本号', \n entry string COMMENT ' icon手机图标 notice 通知 install 安装后启动',\n loading_time bigint COMMENT '启动加载时间',\n open_ad_id string COMMENT '广告页ID ',\n open_ad_ms bigint COMMENT '广告总共播放时间', \n open_ad_skip_ms bigint COMMENT '用户跳过广告时点', \n ts bigint COMMENT '时间'\n) COMMENT '启动日志表'\nPARTITIONED BY (dt string) -- 按照时间创建分区\nstored as parquet -- 采用parquet列式存储\nLOCATION '/warehouse/gmall/dwd/dwd_start_log' -- 指定在HDFS上存储位置\nTBLPROPERTIES('parquet.compression'='lzo') -- 采用LZO压缩\n;\n\ndrop table if exists dwd_page_log;\nCREATE EXTERNAL TABLE dwd_page_log(\n area_code string COMMENT '地区编码',\n brand string COMMENT '手机品牌', \n channel string COMMENT '渠道', \n model string COMMENT '手机型号', \n mid_id string COMMENT '设备id', \n os string COMMENT '操作系统', \n user_id string COMMENT '会员id', \n version_code string COMMENT 'app版本号', \n during_time bigint COMMENT '持续时间毫秒',\n page_item string COMMENT '目标id ', \n page_item_type string COMMENT '目标类型', \n last_page_id string COMMENT '上页类型', \n page_id string COMMENT '页面ID ',\n source_type string COMMENT '来源类型', \n ts bigint\n) COMMENT '页面日志表'\nPARTITIONED BY (dt string)\nstored as parquet\nLOCATION '/warehouse/gmall/dwd/dwd_page_log'\nTBLPROPERTIES('parquet.compression'='lzo');\n\ndrop table if exists dwd_action_log;\nCREATE EXTERNAL TABLE dwd_action_log(\n area_code string COMMENT '地区编码',\n brand string COMMENT '手机品牌', \n channel string COMMENT '渠道', \n model string COMMENT '手机型号', \n mid_id string COMMENT '设备id', \n os string COMMENT '操作系统', \n user_id string COMMENT '会员id', \n version_code string COMMENT 'app版本号', \n during_time bigint COMMENT '持续时间毫秒', \n page_item string COMMENT '目标id ', \n page_item_type string COMMENT '目标类型', \n last_page_id string COMMENT '上页类型', \n page_id string COMMENT '页面id ',\n source_type string COMMENT '来源类型', \n action_id string COMMENT '动作id',\n item string COMMENT '目标id ',\n item_type string COMMENT '目标类型', \n ts bigint COMMENT '时间'\n) COMMENT '动作日志表'\nPARTITIONED BY (dt string)\nstored as parquet\nLOCATION '/warehouse/gmall/dwd/dwd_action_log'\nTBLPROPERTIES('parquet.compression'='lzo');\n\ndrop table if exists dwd_display_log;\nCREATE EXTERNAL TABLE dwd_display_log(\narea_code string COMMENT '地区编码',\nbrand string COMMENT '手机品牌', \nchannel string COMMENT '渠道', \nmodel string COMMENT '手机型号', \nmid_id string COMMENT '设备id', \nos string COMMENT '操作系统', \nuser_id string COMMENT '会员id', \nversion_code string COMMENT 'app版本号', \nduring_time bigint COMMENT 'app版本号',\npage_item string COMMENT '目标id ', \npage_item_type string COMMENT '目标类型', \nlast_page_id string COMMENT '上页类型', \npage_id string COMMENT '页面ID ',\nsource_type string COMMENT '来源类型', \nts bigint COMMENT 'app版本号',\ndisplay_type string COMMENT '曝光类型',\nitem string COMMENT '曝光对象id ',\nitem_type string COMMENT 'app版本号', \n`order` bigint COMMENT '出现顺序'\n) COMMENT '曝光日志表'\nPARTITIONED BY (dt string)\nstored as parquet\nLOCATION '/warehouse/gmall/dwd/dwd_display_log'\nTBLPROPERTIES('parquet.compression'='lzo');\n\ndrop table if exists dwd_error_log;\nCREATE EXTERNAL TABLE dwd_error_log(\n area_code string COMMENT '地区编码',\n brand string COMMENT '手机品牌', \n channel string COMMENT '渠道', \n model string COMMENT '手机型号', \n mid_id string COMMENT '设备id', \n os string COMMENT '操作系统', \n user_id string COMMENT '会员id', \n version_code string COMMENT 'app版本号', \n page_item string COMMENT '目标id ', \n page_item_type string COMMENT '目标类型', \n last_page_id string COMMENT '上页类型', \n page_id string COMMENT '页面ID ',\n source_type string COMMENT '来源类型', \n entry string COMMENT ' icon手机图标 notice 通知 install 安装后启动',\n loading_time string COMMENT '启动加载时间',\n open_ad_id string COMMENT '广告页ID ',\n open_ad_ms string COMMENT '广告总共播放时间', \n open_ad_skip_ms string COMMENT '用户跳过广告时点',\n actions string COMMENT '动作',\n displays string COMMENT '曝光',\n ts string COMMENT '时间',\n error_code string COMMENT '错误码',\n msg string COMMENT '错误信息'\n) COMMENT '错误日志表'\nPARTITIONED BY (dt string)\nstored as parquet\nLOCATION '/warehouse/gmall/dwd/dwd_error_log'\nTBLPROPERTIES('parquet.compression'='lzo');\n\nDROP TABLE IF EXISTS dwd_dim_sku_info ;\nCREATE EXTERNAL TABLE dwd_dim_sku_info (\n id string COMMENT '商品id',\n spu_id string COMMENT 'spuid',\n price decimal(16,2) COMMENT '商品价格',\n sku_name string COMMENT '商品名称',\n sku_desc string COMMENT '商品描述',\n weight decimal(16,2) COMMENT '重量',\n tm_id string COMMENT '品牌id',\n tm_name string COMMENT '品牌名称',\n category3_id string COMMENT '三级分类id',\n category2_id string COMMENT '二级分类id',\n category1_id string COMMENT '一级分类id',\n category3_name string COMMENT '三级分类名称',\n category2_name string COMMENT '二级分类名称',\n category1_name string COMMENT '一级分类名称',\n spu_name string COMMENT 'spu名称',\n create_time string COMMENT '创建时间'\n) COMMENT '商品维度表'\nPARTITIONED BY ( dt string)\nstored as parquet\nlocation '/warehouse/gmall/dwd/dwd_dim_sku_info/'\ntblproperties (\"parquet.compression\"=\"lzo\");\n\ndrop table if exists dwd_dim_coupon_info;\ncreate external table dwd_dim_coupon_info(\n id string COMMENT '购物券编号',\n coupon_name string COMMENT '购物券名称',\n coupon_type string COMMENT '购物券类型 1 现金券 2 折扣券 3 满减券 4 满件打折券',\n condition_amount decimal(16,2) COMMENT '满额数',\n condition_num bigint COMMENT '满件数',\n activity_id string COMMENT '活动编号',\n benefit_amount decimal(16,2) COMMENT '减金额',\n benefit_discount decimal(16,2) COMMENT '折扣',\n create_time string COMMENT '创建时间',\n range_type string COMMENT '范围类型 1、商品 2、品类 3、品牌',\n spu_id string COMMENT '商品id',\n tm_id string COMMENT '品牌id',\n category3_id string COMMENT '品类id',\n limit_num bigint COMMENT '最多领用次数',\n operate_time string COMMENT '修改时间',\n expire_time string COMMENT '过期时间'\n) COMMENT '优惠券维度表'\nPARTITIONED BY ( dt string)\nstored as parquet\nlocation '/warehouse/gmall/dwd/dwd_dim_coupon_info/'\ntblproperties (\"parquet.compression\"=\"lzo\");\n\ndrop table if exists dwd_dim_activity_info;\ncreate external table dwd_dim_activity_info(\n id string COMMENT '编号',\n activity_name string COMMENT '活动名称',\n activity_type string COMMENT '活动类型',\n start_time string COMMENT '开始时间',\n end_time string COMMENT '结束时间',\n create_time string COMMENT '创建时间'\n) COMMENT '活动信息表'\nPARTITIONED BY ( dt string)\nstored as parquet\nlocation '/warehouse/gmall/dwd/dwd_dim_activity_info/'\ntblproperties (\"parquet.compression\"=\"lzo\");\n\nDROP TABLE IF EXISTS dwd_dim_base_province ;\nCREATE EXTERNAL TABLE dwd_dim_base_province (\n id string COMMENT 'id',\n province_name string COMMENT '省市名称',\n area_code string COMMENT '地区编码',\n iso_code string COMMENT 'ISO编码',\n region_id string COMMENT '地区id',\n region_name string COMMENT '地区名称'\n) COMMENT '地区维度表'\nstored as parquet\nlocation '/warehouse/gmall/dwd/dwd_dim_base_province/'\ntblproperties (\"parquet.compression\"=\"lzo\");\n\nDROP TABLE IF EXISTS dwd_dim_date_info ;\nCREATE EXTERNAL TABLE dwd_dim_date_info (\n date_id string COMMENT '日',\n week_id string COMMENT '周',\n week_day string COMMENT '周的第几天',\n day string COMMENT '每月的第几天',\n month string COMMENT '第几月',\n quarter string COMMENT '第几季度',\n year string COMMENT '年',\n is_workday string COMMENT '是否是周末',\n holiday_id string COMMENT '是否是节假日'\n) COMMENT '时间维度表'\nstored as parquet\nlocation '/warehouse/gmall/dwd/dwd_dim_date_info/'\ntblproperties (\"parquet.compression\"=\"lzo\");\n\ndrop table if exists dwd_fact_order_detail;\ncreate external table dwd_fact_order_detail (\n id string COMMENT '订单编号',\n order_id string COMMENT '订单号',\n user_id string COMMENT '用户id',\n sku_id string COMMENT 'sku商品id',\n sku_name string COMMENT '商品名称',\n order_price decimal(16,2) COMMENT '商品价格',\n sku_num bigint COMMENT '商品数量',\n create_time string COMMENT '创建时间',\n province_id string COMMENT '省份ID',\n source_type string COMMENT '来源类型',\n source_id string COMMENT '来源编号',\n original_amount_d decimal(20,2) COMMENT '原始价格分摊',\n final_amount_d decimal(20,2) COMMENT '购买价格分摊',\n feight_fee_d decimal(20,2) COMMENT '分摊运费',\n benefit_reduce_amount_d decimal(20,2) COMMENT '分摊优惠'\n) COMMENT '订单明细事实表表'\nPARTITIONED BY ( dt string)\nstored as parquet\nlocation '/warehouse/gmall/dwd/dwd_fact_order_detail/'\ntblproperties (\"parquet.compression\"=\"lzo\");\n\ndrop table if exists dwd_fact_payment_info;\ncreate external table dwd_fact_payment_info (\n id string COMMENT 'id',\n out_trade_no string COMMENT '对外业务编号',\n order_id string COMMENT '订单编号',\n user_id string COMMENT '用户编号',\n alipay_trade_no string COMMENT '支付宝交易流水编号',\n payment_amount decimal(16,2) COMMENT '支付金额',\n subject string COMMENT '交易内容',\n payment_type string COMMENT '支付类型',\n payment_time string COMMENT '支付时间',\n province_id string COMMENT '省份ID'\n) COMMENT '支付事实表表'\nPARTITIONED BY ( dt string)\nstored as parquet\nlocation '/warehouse/gmall/dwd/dwd_fact_payment_info/'\ntblproperties (\"parquet.compression\"=\"lzo\");\n\ndrop table if exists dwd_fact_order_refund_info;\ncreate external table dwd_fact_order_refund_info(\n id string COMMENT '编号',\n user_id string COMMENT '用户ID',\n order_id string COMMENT '订单ID',\n sku_id string COMMENT '商品ID',\n refund_type string COMMENT '退款类型',\n refund_num bigint COMMENT '退款件数',\n refund_amount decimal(16,2) COMMENT '退款金额',\n refund_reason_type string COMMENT '退款原因类型',\n create_time string COMMENT '退款时间'\n) COMMENT '退款事实表'\nPARTITIONED BY ( dt string)\nstored as parquet\nlocation '/warehouse/gmall/dwd/dwd_fact_order_refund_info/'\ntblproperties (\"parquet.compression\"=\"lzo\");\n\ndrop table if exists dwd_fact_comment_info;\ncreate external table dwd_fact_comment_info(\n id string COMMENT '编号',\n user_id string COMMENT '用户ID',\n sku_id string COMMENT '商品sku',\n spu_id string COMMENT '商品spu',\n order_id string COMMENT '订单ID',\n appraise string COMMENT '评价',\n create_time string COMMENT '评价时间'\n) COMMENT '评价事实表'\nPARTITIONED BY ( dt string)\nstored as parquet\nlocation '/warehouse/gmall/dwd/dwd_fact_comment_info/'\ntblproperties (\"parquet.compression\"=\"lzo\");\n\ndrop table if exists dwd_fact_cart_info;\ncreate external table dwd_fact_cart_info(\n id string COMMENT '编号',\n user_id string COMMENT '用户id',\n sku_id string COMMENT 'skuid',\n cart_price string COMMENT '放入购物车时价格',\n sku_num string COMMENT '数量',\n sku_name string COMMENT 'sku名称 (冗余)',\n create_time string COMMENT '创建时间',\n operate_time string COMMENT '修改时间',\n is_ordered string COMMENT '是否已经下单。1为已下单;0为未下单',\n order_time string COMMENT '下单时间',\n source_type string COMMENT '来源类型',\n srouce_id string COMMENT '来源编号'\n) COMMENT '加购事实表'\nPARTITIONED BY ( dt string)\nstored as parquet\nlocation '/warehouse/gmall/dwd/dwd_fact_cart_info/'\ntblproperties (\"parquet.compression\"=\"lzo\");\n\ndrop table if exists dwd_fact_favor_info;\ncreate external table dwd_fact_favor_info(\n id string COMMENT '编号',\n user_id string COMMENT '用户id',\n sku_id string COMMENT 'skuid',\n spu_id string COMMENT 'spuid',\n is_cancel string COMMENT '是否取消',\n create_time string COMMENT '收藏时间',\n cancel_time string COMMENT '取消时间'\n) COMMENT '收藏事实表'\nPARTITIONED BY ( dt string)\nstored as parquet\nlocation '/warehouse/gmall/dwd/dwd_fact_favor_info/'\ntblproperties (\"parquet.compression\"=\"lzo\");\n\ndrop table if exists dwd_fact_coupon_use;\ncreate external table dwd_fact_coupon_use(\n id string COMMENT '编号',\n coupon_id string COMMENT '优惠券ID',\n user_id string COMMENT 'userid',\n order_id string COMMENT '订单id',\n coupon_status string COMMENT '优惠券状态',\n get_time string COMMENT '领取时间',\n using_time string COMMENT '使用时间(下单)',\n used_time string COMMENT '使用时间(支付)'\n) COMMENT '优惠券领用事实表'\nPARTITIONED BY ( dt string)\nstored as parquet\nlocation '/warehouse/gmall/dwd/dwd_fact_coupon_use/'\ntblproperties (\"parquet.compression\"=\"lzo\");\n\ndrop table if exists dwd_fact_order_info;\ncreate external table dwd_fact_order_info (\n id string COMMENT '订单编号',\n order_status string COMMENT '订单状态',\n user_id string COMMENT '用户id',\n out_trade_no string COMMENT '支付流水号',\n create_time string COMMENT '创建时间(未支付状态)',\n payment_time string COMMENT '支付时间(已支付状态)',\n cancel_time string COMMENT '取消时间(已取消状态)',\n finish_time string COMMENT '完成时间(已完成状态)',\n refund_time string COMMENT '退款时间(退款中状态)',\n refund_finish_time string COMMENT '退款完成时间(退款完成状态)',\n province_id string COMMENT '省份ID',\n activity_id string COMMENT '活动ID',\n original_total_amount decimal(16,2) COMMENT '原价金额',\n benefit_reduce_amount decimal(16,2) COMMENT '优惠金额',\n feight_fee decimal(16,2) COMMENT '运费',\n final_total_amount decimal(16,2) COMMENT '订单金额'\n) COMMENT '订单事实表'\nPARTITIONED BY ( dt string)\nstored as parquet\nlocation '/warehouse/gmall/dwd/dwd_fact_order_info/'\ntblproperties (\"parquet.compression\"=\"lzo\");\n\ndrop table if exists dwd_dim_user_info_his;\ncreate external table dwd_dim_user_info_his(\n id string COMMENT '用户id',\n name string COMMENT '姓名', \n birthday string COMMENT '生日',\n gender string COMMENT '性别',\n email string COMMENT '邮箱',\n user_level string COMMENT '用户等级',\n create_time string COMMENT '创建时间',\n operate_time string COMMENT '操作时间',\n start_date string COMMENT '有效开始日期',\n end_date string COMMENT '有效结束日期'\n) COMMENT '用户拉链表'\nstored as parquet\nlocation '/warehouse/gmall/dwd/dwd_dim_user_info_his/'\ntblproperties (\"parquet.compression\"=\"lzo\");\n\ndrop table if exists dwd_dim_user_info_his_tmp;\ncreate external table dwd_dim_user_info_his_tmp(\n id string COMMENT '用户id',\n name string COMMENT '姓名', \n birthday string COMMENT '生日',\n gender string COMMENT '性别',\n email string COMMENT '邮箱',\n user_level string COMMENT '用户等级',\n create_time string COMMENT '创建时间',\n operate_time string COMMENT '操作时间',\n start_date string COMMENT '有效开始日期',\n end_date string COMMENT '有效结束日期'\n) COMMENT '订单拉链临时表'\nstored as parquet\nlocation '/warehouse/gmall/dwd/dwd_dim_user_info_his_tmp/'\ntblproperties (\"parquet.compression\"=\"lzo\");\n\ndrop table if exists dws_uv_detail_daycount;\ncreate external table dws_uv_detail_daycount\n(\n mid_id string COMMENT '设备id',\n brand string COMMENT '手机品牌',\n model string COMMENT '手机型号',\n login_count bigint COMMENT '活跃次数',\n page_stats array> COMMENT '页面访问统计'\n) COMMENT '每日设备行为表'\npartitioned by(dt string)\nstored as parquet\nlocation '/warehouse/gmall/dws/dws_uv_detail_daycount'\ntblproperties (\"parquet.compression\"=\"lzo\");\n\ndrop table if exists dws_user_action_daycount;\ncreate external table dws_user_action_daycount\n( \n user_id string comment '用户 id',\n login_count bigint comment '登录次数',\n cart_count bigint comment '加入购物车次数',\n order_count bigint comment '下单次数',\n order_amount decimal(16,2) comment '下单金额',\n payment_count bigint comment '支付次数',\n payment_amount decimal(16,2) comment '支付金额',\n order_detail_stats array> comment '下单明细统计'\n) COMMENT '每日会员行为'\nPARTITIONED BY ( dt string)\nstored as parquet\nlocation '/warehouse/gmall/dws/dws_user_action_daycount/'\ntblproperties (\"parquet.compression\"=\"lzo\");\n\ndrop table if exists dws_sku_action_daycount;\ncreate external table dws_sku_action_daycount \n( \n sku_id string comment 'sku_id',\n order_count bigint comment '被下单次数',\n order_num bigint comment '被下单件数',\n order_amount decimal(16,2) comment '被下单金额',\n payment_count bigint comment '被支付次数',\n payment_num bigint comment '被支付件数',\n payment_amount decimal(16,2) comment '被支付金额',\n refund_count bigint comment '被退款次数',\n refund_num bigint comment '被退款件数',\n refund_amount decimal(16,2) comment '被退款金额',\n cart_count bigint comment '被加入购物车次数',\n favor_count bigint comment '被收藏次数',\n appraise_good_count bigint comment '好评数',\n appraise_mid_count bigint comment '中评数',\n appraise_bad_count bigint comment '差评数',\n appraise_default_count bigint comment '默认评价数',\n sku_name string comment 'sku_name', \n spu_id string comment 'spu_id', \n spu_name string comment 'spu_name', \n tm_id string comment 'tm_id', \n tm_name string comment 'tm_name'\n) COMMENT '每日商品行为'\nPARTITIONED BY ( dt string)\nstored as parquet\nlocation '/warehouse/gmall/dws/dws_sku_action_daycount/'\ntblproperties (\"parquet.compression\"=\"lzo\");\n\ndrop table if exists dws_activity_info_daycount;\ncreate external table dws_activity_info_daycount(\n id string COMMENT '编号',\n activity_name string COMMENT '活动名称',\n activity_type string COMMENT '活动类型',\n start_time string COMMENT '开始时间',\n end_time string COMMENT '结束时间',\n create_time string COMMENT '创建时间',\n display_count bigint COMMENT '曝光次数',\n order_count bigint COMMENT '下单次数',\n order_amount decimal(20,2) COMMENT '下单金额',\n payment_count bigint COMMENT '支付次数',\n payment_amount decimal(20,2) COMMENT '支付金额'\n) COMMENT '每日活动统计'\nPARTITIONED BY ( dt string)\nstored as parquet\nlocation '/warehouse/gmall/dws/dws_activity_info_daycount/'\ntblproperties (\"parquet.compression\"=\"lzo\");\n\ndrop table if exists dws_area_stats_daycount;\ncreate external table dws_area_stats_daycount(\n id bigint COMMENT '编号',\n province_name string COMMENT '省份名称',\n area_code string COMMENT '地区编码',\n iso_code string COMMENT 'iso编码',\n region_id string COMMENT '地区ID',\n region_name string COMMENT '地区名称',\n login_count string COMMENT '活跃设备数',\n order_count bigint COMMENT '下单次数',\n order_amount decimal(20,2) COMMENT '下单金额',\n payment_count bigint COMMENT '支付次数',\n payment_amount decimal(20,2) COMMENT '支付金额'\n) COMMENT '每日地区统计表'\nPARTITIONED BY ( dt string)\nstored as parquet\nlocation '/warehouse/gmall/dws/dws_area_stats_daycount/'\ntblproperties (\"parquet.compression\"=\"lzo\");\n\ndrop table if exists dwt_uv_topic;\ncreate external table dwt_uv_topic\n(\n mid_id string comment '设备id',\n brand string comment '手机品牌',\n model string comment '手机型号',\n login_date_first string comment '首次活跃时间',\n login_date_last string comment '末次活跃时间',\n login_day_count bigint comment '当日活跃次数',\n login_count bigint comment '累积活跃天数'\n) COMMENT '设备主题宽表'\npartitioned by(dt string)\nstored as parquet\nlocation '/warehouse/gmall/dwt/dwt_uv_topic'\ntblproperties (\"parquet.compression\"=\"lzo\");\n\ndrop table if exists dwt_user_topic;\ncreate external table dwt_user_topic\n(\n user_id string comment '用户id',\n login_date_first string comment '首次登录时间',\n login_date_last string comment '末次登录时间',\n login_count bigint comment '累积登录天数',\n login_last_30d_count bigint comment '最近30日登录天数',\n order_date_first string comment '首次下单时间',\n order_date_last string comment '末次下单时间',\n order_count bigint comment '累积下单次数',\n order_amount decimal(16,2) comment '累积下单金额',\n order_last_30d_count bigint comment '最近30日下单次数',\n order_last_30d_amount bigint comment '最近30日下单金额',\n payment_date_first string comment '首次支付时间',\n payment_date_last string comment '末次支付时间',\n payment_count decimal(16,2) comment '累积支付次数',\n payment_amount decimal(16,2) comment '累积支付金额',\n payment_last_30d_count decimal(16,2) comment '最近30日支付次数',\n payment_last_30d_amount decimal(16,2) comment '最近30日支付金额'\n)COMMENT '会员主题宽表'\nPARTITIONED BY ( dt string)\nstored as parquet\nlocation '/warehouse/gmall/dwt/dwt_user_topic/'\ntblproperties (\"parquet.compression\"=\"lzo\");\n\ndrop table if exists dwt_sku_topic;\ncreate external table dwt_sku_topic\n(\n sku_id string comment 'sku_id',\n spu_id string comment 'spu_id',\n order_last_30d_count bigint comment '最近30日被下单次数',\n order_last_30d_num bigint comment '最近30日被下单件数',\n order_last_30d_amount decimal(16,2) comment '最近30日被下单金额',\n order_count bigint comment '累积被下单次数',\n order_num bigint comment '累积被下单件数',\n order_amount decimal(16,2) comment '累积被下单金额',\n payment_last_30d_count bigint comment '最近30日被支付次数',\n payment_last_30d_num bigint comment '最近30日被支付件数',\n payment_last_30d_amount decimal(16,2) comment '最近30日被支付金额',\n payment_count bigint comment '累积被支付次数',\n payment_num bigint comment '累积被支付件数',\n payment_amount decimal(16,2) comment '累积被支付金额',\n refund_last_30d_count bigint comment '最近三十日退款次数',\n refund_last_30d_num bigint comment '最近三十日退款件数',\n refund_last_30d_amount decimal(16,2) comment '最近三十日退款金额',\n refund_count bigint comment '累积退款次数',\n refund_num bigint comment '累积退款件数',\n refund_amount decimal(16,2) comment '累积退款金额',\n cart_last_30d_count bigint comment '最近30日被加入购物车次数',\n cart_count bigint comment '累积被加入购物车次数',\n favor_last_30d_count bigint comment '最近30日被收藏次数',\n favor_count bigint comment '累积被收藏次数',\n appraise_last_30d_good_count bigint comment '最近30日好评数',\n appraise_last_30d_mid_count bigint comment '最近30日中评数',\n appraise_last_30d_bad_count bigint comment '最近30日差评数',\n appraise_last_30d_default_count bigint comment '最近30日默认评价数',\n appraise_good_count bigint comment '累积好评数',\n appraise_mid_count bigint comment '累积中评数',\n appraise_bad_count bigint comment '累积差评数',\n appraise_default_count bigint comment '累积默认评价数',\n sku_name string comment 'sku_name',\n spu_name string comment 'spu_name', \n tm_id string comment 'tm_id',\n tm_name string comment 'tm_name'\n )COMMENT '商品主题宽表'\nPARTITIONED BY ( dt string)\nstored as parquet\nlocation '/warehouse/gmall/dwt/dwt_sku_topic/'\ntblproperties (\"parquet.compression\"=\"lzo\");\n\ndrop table if exists dwt_activity_topic;\ncreate external table dwt_activity_topic(\n id string COMMENT '编号',\n activity_name string COMMENT '活动名称',\n activity_type string COMMENT '活动类型',\n start_time string COMMENT '开始时间',\n end_time string COMMENT '结束时间',\n create_time string COMMENT '创建时间',\n display_day_count bigint COMMENT '当日曝光次数',\n order_day_count bigint COMMENT '当日下单次数',\n order_day_amount decimal(20,2) COMMENT '当日下单金额',\n payment_day_count bigint COMMENT '当日支付次数',\n payment_day_amount decimal(20,2) COMMENT '当日支付金额',\n display_count bigint COMMENT '累积曝光次数',\n order_count bigint COMMENT '累积下单次数',\n order_amount decimal(20,2) COMMENT '累积下单金额',\n payment_count bigint COMMENT '累积支付次数',\n payment_amount decimal(20,2) COMMENT '累积支付金额'\n) COMMENT '活动主题宽表'\nPARTITIONED BY ( dt string)\nstored as parquet\nlocation '/warehouse/gmall/dwt/dwt_activity_topic/'\ntblproperties (\"parquet.compression\"=\"lzo\");\n\ndrop table if exists dwt_area_topic;\ncreate external table dwt_area_topic(\n id bigint COMMENT '编号',\n province_name string COMMENT '省份名称',\n area_code string COMMENT '地区编码',\n iso_code string COMMENT 'iso编码',\n region_id string COMMENT '地区ID',\n region_name string COMMENT '地区名称',\n login_day_count string COMMENT '当天活跃设备数',\n login_last_30d_count string COMMENT '最近30天活跃设备数',\n order_day_count bigint COMMENT '当天下单次数',\n order_day_amount decimal(16,2) COMMENT '当天下单金额',\n order_last_30d_count bigint COMMENT '最近30天下单次数',\n order_last_30d_amount decimal(16,2) COMMENT '最近30天下单金额',\n payment_day_count bigint COMMENT '当天支付次数',\n payment_day_amount decimal(16,2) COMMENT '当天支付金额',\n payment_last_30d_count bigint COMMENT '最近30天支付次数',\n payment_last_30d_amount decimal(16,2) COMMENT '最近30天支付金额'\n) COMMENT '地区主题宽表'\nPARTITIONED BY ( dt string)\nstored as parquet\nlocation '/warehouse/gmall/dwt/dwt_area_topic/'\ntblproperties (\"parquet.compression\"=\"lzo\");\n\n\ndrop table if exists ads_uv_count;\ncreate external table ads_uv_count(\n dt string COMMENT '统计日期',\n day_count bigint COMMENT '当日用户数量',\n wk_count bigint COMMENT '当周用户数量',\n mn_count bigint COMMENT '当月用户数量',\n is_weekend string COMMENT 'Y,N是否是周末,用于得到本周最终结果',\n is_monthend string COMMENT 'Y,N是否是月末,用于得到本月最终结果' \n) COMMENT '活跃设备数'\nrow format delimited fields terminated by '\\t'\nlocation '/warehouse/gmall/ads/ads_uv_count/';\n\ndrop table if exists ads_new_mid_count;\ncreate external table ads_new_mid_count\n(\n create_date string comment '创建时间' ,\n new_mid_count BIGINT comment '新增设备数量' \n) COMMENT '每日新增设备数量'\nrow format delimited fields terminated by '\\t'\nlocation '/warehouse/gmall/ads/ads_new_mid_count/';\n\ndrop table if exists ads_wastage_count;\ncreate external table ads_wastage_count( \n dt string COMMENT '统计日期',\n wastage_count bigint COMMENT '流失设备数'\n) COMMENT '流失用户数'\nrow format delimited fields terminated by '\\t'\nlocation '/warehouse/gmall/ads/ads_wastage_count';\n\ndrop table if exists ads_back_count;\ncreate external table ads_back_count( \n dt string COMMENT '统计日期',\n wk_dt string COMMENT '统计日期所在周',\n wastage_count bigint COMMENT '回流设备数'\n) COMMENT '本周回流用户数'\nrow format delimited fields terminated by '\\t'\nlocation '/warehouse/gmall/ads/ads_back_count';\n\ndrop table if exists ads_continuity_uv_count;\ncreate external table ads_continuity_uv_count( \n dt string COMMENT '统计日期',\n wk_dt string COMMENT '最近7天日期',\n continuity_count bigint\n) COMMENT '最近七天内连续三天活跃用户数'\nrow format delimited fields terminated by '\\t'\nlocation '/warehouse/gmall/ads/ads_continuity_uv_count';\n\ndrop table if exists ads_user_topic;\ncreate external table ads_user_topic(\n dt string COMMENT '统计日期',\n day_users string COMMENT '活跃会员数',\n day_new_users string COMMENT '新增会员数',\n day_new_payment_users string COMMENT '新增消费会员数',\n payment_users string COMMENT '总付费会员数',\n users string COMMENT '总会员数',\n day_users2users decimal(16,2) COMMENT '会员活跃率',\n payment_users2users decimal(16,2) COMMENT '会员付费率',\n day_new_users2users decimal(16,2) COMMENT '会员新鲜度'\n ) COMMENT '会员信息表'\nrow format delimited fields terminated by '\\t'\nlocation '/warehouse/gmall/ads/ads_user_topic';\n\ndrop table if exists ads_user_action_convert_day;\ncreate external table ads_user_action_convert_day(\n dt string COMMENT '统计日期',\n home_count bigint COMMENT '浏览首页人数',\n good_detail_count bigint COMMENT '浏览商品详情页人数',\n home2good_detail_convert_ratio decimal(16,2) COMMENT '首页到商品详情转化率',\n cart_count bigint COMMENT '加入购物车的人数',\n good_detail2cart_convert_ratio decimal(16,2) COMMENT '商品详情页到加入购物车转化率',\n order_count bigint COMMENT '下单人数',\n cart2order_convert_ratio decimal(16,2) COMMENT '加入购物车到下单转化率',\n payment_amount bigint COMMENT '支付人数',\n order2payment_convert_ratio decimal(16,2) COMMENT '下单到支付的转化率'\n ) COMMENT '漏斗分析'\nrow format delimited fields terminated by '\\t'\nlocation '/warehouse/gmall/ads/ads_user_action_convert_day/';\n\ndrop table if exists ads_product_sale_topN;\ncreate external table ads_product_sale_topN(\n dt string COMMENT '统计日期',\n sku_id string COMMENT '商品ID',\n sku_name string COMMENT '商品名称',\n payment_amount bigint COMMENT '销量'\n) COMMENT '商品销量排名'\nrow format delimited fields terminated by '\\t'\nlocation '/warehouse/gmall/ads/ads_product_sale_topN';\n\ndrop table if exists ads_product_cart_topN;\ncreate external table ads_product_cart_topN(\n dt string COMMENT '统计日期',\n sku_id string COMMENT '商品ID',\n sku_name string COMMENT '商品名称',\n cart_count bigint COMMENT '加入购物车次数'\n) COMMENT '商品加入购物车排名'\nrow format delimited fields terminated by '\\t'\nlocation '/warehouse/gmall/ads/ads_product_cart_topN';\n\ndrop table if exists ads_trademark_sale;\ncreate external table ads_trademark_sale(\n dt string COMMENT '统计日期',\n tm_name string COMMENT '品牌名称',\n payment_num bigint COMMENT '销售量', \n payment_amount bigint COMMENT '销售额'\n) COMMENT '品牌销量'\nrow format delimited fields terminated by '\\t'\nlocation '/warehouse/gmall/ads/ads_trademark_sale';\n\ndrop table if exists ads_spu_sale;\ncreate external table ads_spu_sale(\n dt string COMMENT '统计日期',\n tm_name string COMMENT '品牌名称',\n spu_name string COMMENT 'spu名称',\n payment_num bigint COMMENT '销售量', \n payment_amount bigint COMMENT '销售额'\n) COMMENT '品牌销量'\nrow format delimited fields terminated by '\\t'\nlocation '/warehouse/gmall/ads/ads_spu_sale';\n\ndrop table if exists ads_trademark_appraise;\ncreate external table ads_trademark_appraise(\n dt string COMMENT '统计日期',\n tm_name string COMMENT '商品ID',\n appraise_last_30d_good_ratio decimal(16,2) COMMENT '最近30天好评率',\n appraise_last_30d_bad_ratio decimal(16,2) COMMENT '最近30天差评率'\n) COMMENT '品牌评价'\nrow format delimited fields terminated by '\\t'\nlocation '/warehouse/gmall/ads/ads_trademark_appraise';\n\ndrop table if exists ads_order_daycount;\ncreate external table ads_order_daycount(\n dt string comment '统计日期',\n order_count bigint comment '单日下单笔数',\n order_amount bigint comment '单日下单金额',\n order_users bigint comment '单日下单用户数'\n) comment '下单数目统计'\nrow format delimited fields terminated by '\\t'\nlocation '/warehouse/gmall/ads/ads_order_daycount';\n\ndrop table if exists ads_payment_daycount;\ncreate external table ads_payment_daycount(\n dt string comment '统计日期',\n order_count bigint comment '单日支付笔数',\n order_amount bigint comment '单日支付金额',\n payment_user_count bigint comment '单日支付人数',\n payment_sku_count bigint comment '单日支付商品数',\n payment_avg_time decimal(16,2) comment '下单到支付的平均时长,取分钟数'\n) comment '支付信息统计'\nrow format delimited fields terminated by '\\t'\nlocation '/warehouse/gmall/ads/ads_payment_daycount';\n\ndrop table if exists ads_area_topic;\ncreate external table ads_area_topic(\n dt string COMMENT '统计日期',\n id string COMMENT '编号',\n province_name string COMMENT '省份名称',\n area_code string COMMENT '地区编码',\n iso_code string COMMENT 'iso编码',\n region_id string COMMENT '地区ID',\n region_name string COMMENT '地区名称',\n login_day_count bigint COMMENT '当天活跃设备数',\n order_day_count bigint COMMENT '当天下单次数',\n order_day_amount decimal(16,2) COMMENT '当天下单总量',\n payment_day_count bigint COMMENT '当天支付次数',\n payment_day_amount decimal(16,2) COMMENT '当天支付总金额',\n successful_pay_rate decimal(16,2) COMMENT '成功下单率',\n user_purchase_rate decimal(16,2) COMMENT '用户购买率'\n) COMMENT '地区主题信息'\nrow format delimited fields terminated by '\\t'\nlocation '/warehouse/gmall/ads/ads_area_topic/';\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":395,"cells":{"blob_id":{"kind":"string","value":"194646405d34d43b45761e1d057abeb5c91f6f96"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"jasonblog/note"},"path":{"kind":"string","value":"/ds_algo/src/leetcode_v2/database/DepartmentHighestSalary/solve.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":916,"string":"916"},"score":{"kind":"number","value":4.4375,"string":"4.4375"},"int_score":{"kind":"number","value":4,"string":"4"},"detected_licenses":{"kind":"list like","value":["MIT"],"string":"[\n \"MIT\"\n]"},"license_type":{"kind":"string","value":"permissive"},"text":{"kind":"string","value":"use leetcode;\ndrop table if exists Employee;\ncreate table Employee(Id int, Name varchar(20), Salary int, DepartmentId int);\ninsert into Employee values\n(1, \"Joe\", 70000, 1),\n(2, \"Henry\", 80000, 2),\n(3,\"Sam\", 60000, 2),\n(4,\"Max\", 90000, 1);\n\ndrop table if exists Department;\ncreate table Department(Id int, Name varchar(20));\ninsert into Department values\n(1,\"IT\"),\n(2,\"Sales\");\n\nselect DepartmentId, max(Salary) as max from Employee group by DepartmentId;\n/*\nselect d.Name as Department, e1.Name as Employee, e1.Salary as Salary\nfrom Employee as e1\njoin (select DepartmentId, max(Salary) as max from Employee group by DepartmentId) as t\non e1.DepartmentId = t.DepartmentId\njoin Department as d\non e1.DepartmentId = d.Id\nwhere e1.Salary = max;\n*/\n\n/*\nselect d.Name as Department, e.Name as Employee, max(e.Salary) as Salary\nfrom Employee as e\njoin Department as d on e.DepartmentId = d.Id\ngroup by e.DepartmentId;\n*/\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":396,"cells":{"blob_id":{"kind":"string","value":"0c83425ee447fc646bcf8f1e305713d42d06a3ca"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"gravesmedical/CONNECT"},"path":{"kind":"string","value":"/Product/DBScripts/nhincdb/nhincdb_oracle.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":37952,"string":"37,952"},"score":{"kind":"number","value":2.90625,"string":"2.90625"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":["BSD-3-Clause"],"string":"[\n \"BSD-3-Clause\"\n]"},"license_type":{"kind":"string","value":"permissive"},"text":{"kind":"string","value":"--------------------------------------------------------\n-- File created - Tuesday-February-25-2014 \n--------------------------------------------------------\n\n CREATE USER nhincuser identified by nhincpass;\n \n GRANT RESOURCE,CONNECT to nhincuser;\n \n CREATE USER configuser identified by configpass;\n \n GRANT RESOURCE,CONNECT to configuser;\n \n--------------------------------------------------------\n-- DDL for Sequence HIBERNATE_SEQUENCE\n--------------------------------------------------------\n\n CREATE SEQUENCE \"NHINCUSER\".\"HIBERNATE_SEQUENCE\" MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 2961 CACHE 20 NOORDER NOCYCLE ;\n CREATE SEQUENCE \"CONFIGUSER\".\"HIBERNATE_SEQUENCE\" MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 2961 CACHE 20 NOORDER NOCYCLE ;\n--------------------------------------------------------\n-- DDL for Table AA_TO_HOME_COMMUNITY_MAPPING\n--------------------------------------------------------\n\n CREATE TABLE \"NHINCUSER\".\"AA_TO_HOME_COMMUNITY_MAPPING\" \n (\t\"ID\" NUMBER(10,0), \n\t\"ASSIGNINGAUTHORITYID\" VARCHAR2(64 BYTE), \n\t\"HOMECOMMUNITYID\" VARCHAR2(64 BYTE)\n ) ;\n--------------------------------------------------------\n-- DDL for Table ADDRESS\n--------------------------------------------------------\n\n CREATE TABLE \"NHINCUSER\".\"ADDRESS\" \n (\t\"ADDRESSID\" NUMBER(11,0), \n\t\"PATIENTID\" NUMBER(11,0), \n\t\"STREET1\" VARCHAR2(128 BYTE), \n\t\"STREET2\" VARCHAR2(128 BYTE), \n\t\"CITY\" VARCHAR2(128 BYTE), \n\t\"STATE\" VARCHAR2(128 BYTE), \n\t\"POSTAL\" VARCHAR2(45 BYTE)\n ) ;\n--------------------------------------------------------\n-- DDL for Table ASYNCMSGREPO\n--------------------------------------------------------\n\n CREATE TABLE \"NHINCUSER\".\"ASYNCMSGREPO\" \n (\t\"ID\" NUMBER(10,0), \n\t\"MESSAGEID\" VARCHAR2(100 BYTE), \n\t\"CREATIONTIME\" DATE, \n\t\"RESPONSETIME\" DATE, \n\t\"DURATION\" NUMBER(10,0), \n\t\"SERVICENAME\" VARCHAR2(45 BYTE), \n\t\"DIRECTION\" VARCHAR2(10 BYTE), \n\t\"COMMUNITYID\" VARCHAR2(100 BYTE), \n\t\"STATUS\" VARCHAR2(45 BYTE), \n\t\"RESPONSETYPE\" VARCHAR2(10 BYTE), \n\t\"RESERVED\" VARCHAR2(100 BYTE), \n\t\"MSGDATA\" BLOB, \n\t\"RSPDATA\" BLOB, \n\t\"ACKDATA\" BLOB\n ) ;\n--------------------------------------------------------\n-- DDL for Table AUDITREPOSITORY\n--------------------------------------------------------\n\n CREATE TABLE \"NHINCUSER\".\"AUDITREPOSITORY\" \n (\t\"ID\" NUMBER, \n\t\"AUDIT_TIMESTAMP\" DATE, \n\t\"EVENTID\" NUMBER, \n\t\"USERID\" VARCHAR2(100 BYTE), \n\t\"PARTICIPATIONTYPECODE\" NUMBER, \n\t\"PARTICIPATIONTYPECODEROLE\" NUMBER, \n\t\"PARTICIPATIONIDTYPECODE\" VARCHAR2(100 BYTE), \n\t\"RECEIVERPATIENTID\" VARCHAR2(128 BYTE), \n\t\"SENDERPATIENTID\" VARCHAR2(128 BYTE), \n\t\"COMMUNITYID\" VARCHAR2(255 BYTE), \n\t\"MESSAGETYPE\" VARCHAR2(100 BYTE), \n\t\"MESSAGE\" BLOB\n ) ;\n--------------------------------------------------------\n-- DDL for Table CORRELATEDIDENTIFIERS\n--------------------------------------------------------\n\n CREATE TABLE \"NHINCUSER\".\"CORRELATEDIDENTIFIERS\" \n (\t\"CORRELATIONID\" NUMBER(10,0), \n\t\"PATIENTASSIGNINGAUTHORITYID\" VARCHAR2(64 BYTE), \n\t\"PATIENTID\" VARCHAR2(128 BYTE), \n\t\"CORRELATEDPATIENTASSIGNAUTHID\" VARCHAR2(64 BYTE), \n\t\"CORRELATEDPATIENTID\" VARCHAR2(128 BYTE), \n\t\"CORRELATIONEXPIRATIONDATE\" DATE\n ) ;\n--------------------------------------------------------\n-- DDL for Table DOCUMENT\n--------------------------------------------------------\n\n CREATE TABLE \"NHINCUSER\".\"DOCUMENT\" \n (\t\"DOCUMENTID\" NUMBER(11,0), \n\t\"DOCUMENTUNIQUEID\" VARCHAR2(64 BYTE), \n\t\"DOCUMENTTITLE\" VARCHAR2(128 BYTE) DEFAULT NULL, \n\t\"AUTHORPERSON\" VARCHAR2(64 BYTE) DEFAULT NULL, \n\t\"AUTHORINSTITUTION\" VARCHAR2(64 BYTE) DEFAULT NULL, \n\t\"AUTHORROLE\" VARCHAR2(64 BYTE) DEFAULT NULL, \n\t\"AUTHORSPECIALTY\" VARCHAR2(64 BYTE) DEFAULT NULL, \n\t\"AVAILABILITYSTATUS\" VARCHAR2(64 BYTE) DEFAULT NULL, \n\t\"CLASSCODE\" VARCHAR2(64 BYTE) DEFAULT NULL, \n\t\"CLASSCODESCHEME\" VARCHAR2(64 BYTE) DEFAULT NULL, \n\t\"CLASSCODEDISPLAYNAME\" VARCHAR2(64 BYTE) DEFAULT NULL, \n\t\"CONFIDENTIALITYCODE\" VARCHAR2(64 BYTE) DEFAULT NULL, \n\t\"CONFIDENTIALITYCODESCHEME\" VARCHAR2(64 BYTE) DEFAULT NULL, \n\t\"CONFIDENTIALITYCODEDISPLAYNAME\" VARCHAR2(64 BYTE) DEFAULT NULL, \n\t\"CREATIONTIME\" DATE DEFAULT NULL, \n\t\"FORMATCODE\" VARCHAR2(64 BYTE) DEFAULT NULL, \n\t\"FORMATCODESCHEME\" VARCHAR2(64 BYTE) DEFAULT NULL, \n\t\"FORMATCODEDISPLAYNAME\" VARCHAR2(64 BYTE) DEFAULT NULL, \n\t\"PATIENTID\" VARCHAR2(128 BYTE) DEFAULT NULL, \n\t\"SERVICESTARTTIME\" DATE DEFAULT NULL, \n\t\"SERVICESTOPTIME\" DATE DEFAULT NULL, \n\t\"STATUS\" VARCHAR2(64 BYTE) DEFAULT NULL, \n\t\"COMMENTS\" VARCHAR2(256 BYTE) DEFAULT NULL, \n\t\"HASH\" VARCHAR2(1028 BYTE) DEFAULT NULL, \n\t\"FACILITYCODE\" VARCHAR2(64 BYTE) DEFAULT NULL, \n\t\"FACILITYCODESCHEME\" VARCHAR2(64 BYTE) DEFAULT NULL, \n\t\"FACILITYCODEDISPLAYNAME\" VARCHAR2(64 BYTE) DEFAULT NULL, \n\t\"INTENDEDRECIPIENTPERSON\" VARCHAR2(128 BYTE) DEFAULT NULL, \n\t\"INTENDEDRECIPIENTORGANIZATION\" VARCHAR2(128 BYTE) DEFAULT NULL, \n\t\"LANGUAGECODE\" VARCHAR2(64 BYTE) DEFAULT NULL, \n\t\"LEGALAUTHENTICATOR\" VARCHAR2(128 BYTE) DEFAULT NULL, \n\t\"MIMETYPE\" VARCHAR2(32 BYTE) DEFAULT NULL, \n\t\"PARENTDOCUMENTID\" VARCHAR2(64 BYTE) DEFAULT NULL, \n\t\"PARENTDOCUMENTRELATIONSHIP\" VARCHAR2(64 BYTE) DEFAULT NULL, \n\t\"PRACTICESETTING\" VARCHAR2(64 BYTE) DEFAULT NULL, \n\t\"PRACTICESETTINGSCHEME\" VARCHAR2(64 BYTE) DEFAULT NULL, \n\t\"PRACTICESETTINGDISPLAYNAME\" VARCHAR2(64 BYTE) DEFAULT NULL, \n\t\"DOCUMENTSIZE\" NUMBER(11,0) DEFAULT NULL, \n\t\"SOURCEPATIENTID\" VARCHAR2(128 BYTE) DEFAULT NULL, \n\t\"PID3\" VARCHAR2(128 BYTE) DEFAULT NULL, \n\t\"PID5\" VARCHAR2(128 BYTE) DEFAULT NULL, \n\t\"PID7\" VARCHAR2(128 BYTE) DEFAULT NULL, \n\t\"PID8\" VARCHAR2(128 BYTE) DEFAULT NULL, \n\t\"PID11\" VARCHAR2(128 BYTE) DEFAULT NULL, \n\t\"TYPECODE\" VARCHAR2(64 BYTE) DEFAULT NULL, \n\t\"TYPECODESCHEME\" VARCHAR2(64 BYTE) DEFAULT NULL, \n\t\"TYPECODEDISPLAYNAME\" VARCHAR2(64 BYTE) DEFAULT NULL, \n\t\"DOCUMENTURI\" VARCHAR2(128 BYTE) DEFAULT NULL, \n\t\"RAWDATA\" BLOB, \n\t\"PERSISTENT\" NUMBER(11,0), \n\t\"ONDEMAND\" NUMBER(1,0), \n\t\"NEWDOCUMENTUNIQUEID\" VARCHAR2(128 BYTE) DEFAULT NULL, \n\t\"NEWREPOSITORYUNIQUEID\" VARCHAR2(128 BYTE) DEFAULT NULL\n ) ;\n--------------------------------------------------------\n-- DDL for Table EVENT\n--------------------------------------------------------\n\n CREATE TABLE \"NHINCUSER\".\"EVENT\" \n (\t\"ID\" NUMBER(11,0), \n\t\"NAME\" VARCHAR2(100 BYTE), \n\t\"TRANSACTIONID\" VARCHAR2(100 BYTE), \n\t\"MESSAGEID\" VARCHAR2(100 BYTE),\n\t\"SERVICETYPE\" VARCHAR2(100 BYTE),\n\t\"INITIATINGHCID\" VARCHAR2(100 BYTE),\n\t\"RESPONDINGHCIDS\" VARCHAR2(100 BYTE),\n\t\"EVENTTIME\" DATE, \n\t\"DESCRIPTION\" VARCHAR2(4000 BYTE)\n ) ;\n--------------------------------------------------------\n-- DDL for Table EVENTCODE\n--------------------------------------------------------\n\n CREATE TABLE \"NHINCUSER\".\"EVENTCODE\" \n (\t\"EVENTCODEID\" NUMBER(11,0), \n\t\"DOCUMENTID\" NUMBER(11,0), \n\t\"EVENTCODE\" VARCHAR2(64 BYTE) DEFAULT NULL, \n\t\"EVENTCODESCHEME\" VARCHAR2(64 BYTE) DEFAULT NULL, \n\t\"EVENTCODEDISPLAYNAME\" VARCHAR2(64 BYTE) DEFAULT NULL\n ) ;\n--------------------------------------------------------\n-- DDL for Table IDENTIFIER\n--------------------------------------------------------\n\n CREATE TABLE \"NHINCUSER\".\"IDENTIFIER\" \n (\t\"IDENTIFIERID\" NUMBER(11,0), \n\t\"PATIENTID\" NUMBER(11,0), \n\t\"ID\" VARCHAR2(64 BYTE), \n\t\"ORGANIZATIONID\" VARCHAR2(64 BYTE)\n ) ;\n--------------------------------------------------------\n-- DDL for Table PATIENT\n--------------------------------------------------------\n\n CREATE TABLE \"NHINCUSER\".\"PATIENT\" \n (\t\"PATIENTID\" NUMBER(11,0), \n\t\"DATEOFBIRTH\" DATE, \n\t\"GENDER\" CHAR(2 BYTE), \n\t\"SSN\" CHAR(9 BYTE)\n ) ;\n--------------------------------------------------------\n-- DDL for Table PDDEFERREDCORRELATION\n--------------------------------------------------------\n\n CREATE TABLE \"NHINCUSER\".\"PDDEFERREDCORRELATION\" \n (\t\"ID\" NUMBER(11,0), \n\t\"MESSAGEID\" VARCHAR2(100 BYTE), \n\t\"ASSIGNINGAUTHORITYID\" VARCHAR2(64 BYTE), \n\t\"PATIENTID\" VARCHAR2(128 BYTE), \n\t\"CREATIONTIME\" DATE\n ) ;\n--------------------------------------------------------\n-- DDL for Table PERSONNAME\n--------------------------------------------------------\n\n CREATE TABLE \"NHINCUSER\".\"PERSONNAME\" \n (\t\"PERSONNAMEID\" NUMBER(11,0), \n\t\"PATIENTID\" NUMBER(11,0), \n\t\"PREFIX\" VARCHAR2(64 BYTE), \n\t\"FIRSTNAME\" VARCHAR2(64 BYTE), \n\t\"MIDDLENAME\" VARCHAR2(64 BYTE), \n\t\"LASTNAME\" VARCHAR2(64 BYTE), \n\t\"SUFFIX\" VARCHAR2(64 BYTE)\n ) ;\n--------------------------------------------------------\n-- DDL for Table PHONENUMBER\n--------------------------------------------------------\n\n CREATE TABLE \"NHINCUSER\".\"PHONENUMBER\" \n (\t\"PHONENUMBERID\" NUMBER(11,0), \n\t\"PATIENTID\" NUMBER(11,0), \n\t\"VALUE\" VARCHAR2(64 BYTE)\n ) ;\n--------------------------------------------------------\n-- DDL for Table TRANSACTIONREPOSITORY\n--------------------------------------------------------\n\n CREATE TABLE \"NHINCUSER\".\"TRANSACTIONREPOSITORY\" \n (\t\"ID\" NUMBER(11,0), \n\t\"TRANSACTIONID\" VARCHAR2(100 BYTE), \n\t\"MESSAGEID\" VARCHAR2(100 BYTE), \n\t\"TRANSACTIONTIME\" DATE\n ) ;\n--------------------------------------------------------\n-- DDL for Table TRANSFER_DATA\n--------------------------------------------------------\n\n CREATE TABLE \"NHINCUSER\".\"TRANSFER_DATA\" \n (\t\"ID\" NUMBER, \n\t\"REQUESTKEYGUID\" VARCHAR2(64 BYTE), \n\t\"TRANSFERSTATE\" VARCHAR2(32 BYTE)\n ) ;\n--------------------------------------------------------\n-- DDL for Table USERLOGIN\n--------------------------------------------------------\n\n CREATE TABLE \"NHINCUSER\".\"USERLOGIN\"\n (\t\"ID\" NUMBER(19,0),\n\t\"SALT\" VARCHAR2(100 BYTE),\n\t\"SHA1\" VARCHAR2(100 BYTE),\n\t\"USERNAME\" VARCHAR2(100 BYTE),\n\t\"USERROLE\" NUMBER(19,0) NOT NULL\n ) ;\n \n--------------------------------------------------------\n-- DDL for Table Domain\n--------------------------------------------------------\n CREATE TABLE \"CONFIGUSER\".\"DOMAIN\"\n ( \"ID\" NUMBER(19,0),\n\t\"POSTMASTERADDRESSID\" NUMBER(19, 0),\n \"DOMAINNAME\" VARCHAR2(255 BYTE),\n \"STATUS\" NUMBER(10, 0) DEFAULT 0,\n \"CREATETIME\" DATE,\n \"UPDATETIME\" DATE\n\t);\n\t\n-- -----------------------------------------------------\n-- DDL for Table ADDRESS\n-- -----------------------------------------------------\n\nCREATE TABLE \"CONFIGUSER\".\"ADDRESS\" (\n \"ID\" NUMBER(19,0),\n \"EMAILADDRESS\" VARCHAR2(255 BYTE) NOT NULL,\n \"DISPLAYNAME\" VARCHAR2(100 BYTE),\n \"ENDPOINT\" VARCHAR2(255 BYTE),\n \"TYPE\" VARCHAR2(10 BYTE),\n \"STATUS\" NUMBER(10, 0) DEFAULT 0,\n \"CREATETIME\" DATE,\n \"UPDATETIME\" DATE,\n \"DOMAINID\" NUMBER(19, 0) NOT NULL \n);\n\n-- -----------------------------------------------------\n-- DDL for Table ANCHOR\n-- -----------------------------------------------------\n\nCREATE TABLE \"CONFIGUSER\".\"ANCHOR\" (\n \"ID\" NUMBER(19, 0),\n \"CERTIFICATEID\" NUMBER(19, 0),\n \"OWNER\" VARCHAR2(255 BYTE),\n \"THUMBPRINT\" VARCHAR2(64 BYTE),\n \"CERTIFICATEDATA\" BLOB,\n \"VALIDSTARTDATE\" DATE,\n \"VALIDENDDATE\" DATE,\n \"INCOMING\" NUMBER(1) DEFAULT 1,\n \"OUTGOING\" NUMBER(1) DEFAULT 1,\n \"STATUS\" NUMBER(10, 0) DEFAULT 0,\n \"CREATETIME\" DATE \n);\n\n-- -----------------------------------------------------\n-- DDL for Table CERTIFICATE\n-- -----------------------------------------------------\n\nCREATE TABLE \"CONFIGUSER\".\"CERTIFICATE\" (\n \"ID\" NUMBER(19,0),\n \"OWNER\" VARCHAR2(255 BYTE),\n \"THUMBPRINT\" VARCHAR2(64 BYTE),\n \"CERTIFICATEDATA\" BLOB,\n \"VALIDSTARTDATE\" DATE,\n \"VALIDENDDATE\" DATE ,\n \"PRIVATEKEY\" NUMBER(1) DEFAULT 0,\n \"STATUS\" NUMBER(10, 0) DEFAULT 0,\n \"CREATETIME\" DATE \n);\n\n-- -----------------------------------------------------\n-- DDL for Table SETTING\n-- -----------------------------------------------------\n\nCREATE TABLE \"CONFIGUSER\".\"SETTING\" (\n \"ID\" NUMBER(19,0),\n \"NAME\" VARCHAR2(255 BYTE),\n \"VALUE\" VARCHAR2(4000 BYTE),\n \"STATUS\" NUMBER(10, 0) DEFAULT 0,\n \"CREATETIME\" DATE NOT NULL,\n \"UPDATETIME\" DATE\n);\n\n-- -----------------------------------------------------\n-- DDL for Table TRUSTBUNDLE\n-- -----------------------------------------------------\n\nCREATE TABLE \"CONFIGUSER\".\"TRUSTBUNDLE\" (\n \"ID\" NUMBER(19,0),\n \"BUNDLENAME\" VARCHAR2(255 BYTE),\n \"BUNDLEURL\" VARCHAR2(255 BYTE),\n \"BUNDLECHECKSUM\" VARCHAR2(255 BYTE),\n \"LASTREFRESHATTEMPT\" DATE,\n \"LASTSUCCESSFULREFRESH\" DATE,\n \"REFRESHINTERVAL\" NUMBER(10, 0),\n \"LASTREFRESHERROR\" NUMBER(10, 0),\n \"SIGNINGCERTIFICATEDATA\" BLOB,\n \"CREATETIME\" DATE \n);\n\n-- -----------------------------------------------------\n-- DDL for Table TRUSTBUNDLEANCHOR\n-- -----------------------------------------------------\n\nCREATE TABLE \"CONFIGUSER\".\"TRUSTBUNDLEANCHOR\" (\n \"ID\" NUMBER(19,0),\n \"ANCHORDATA\" BLOB,\n \"THUMBPRINT\" VARCHAR2(64 BYTE),\n \"VALIDSTARTDATE\" DATE,\n \"VALIDENDDATE\" DATE,\n \"TRUSTBUNDLEID\" NUMBER(19,0) \n);\n\n-- -----------------------------------------------------\n-- DDL for Table TRUSTBUNDLEDOAMINRELTN\n-- -----------------------------------------------------\n\nCREATE TABLE \"CONFIGUSER\".\"TRUSTBUNDLEDOMAINRELTN\" (\n \"ID\" NUMBER(19,0),\n \"INCOMING\" NUMBER(1) DEFAULT 1,\n \"OUTGOING\" NUMBER(1) DEFAULT 1,\n \"DOMAIN_ID\" NUMBER(19,0),\n \"TRUST_BUNDLE_ID\" NUMBER(19,0) \n);\n\n-- -----------------------------------------------------\n-- DDL for Table CERTPOLICY\n-- -----------------------------------------------------\n\nCREATE TABLE \"CONFIGUSER\".\"CERTPOLICY\" (\n \"ID\" NUMBER(19,0),\n \"CREATETIME\" DATE,\n \"LEXICON\" NUMBER(19,0),\n \"POLICYDATA\" BLOB,\n \"POLICYNAME\" VARCHAR2(255 BYTE)\n);\n\n-- -----------------------------------------------------\n-- Table `configdb`.`certpolicygroup`\n-- -----------------------------------------------------\n\nCREATE TABLE \"CONFIGUSER\".\"CERTPOLICYGROUP\" (\n \"ID\" NUMBER(19,0),\n \"CREATETIME\" DATE ,\n \"POLICYGROUPNAME\" VARCHAR2(255 BYTE)\n);\n\n-- -----------------------------------------------------\n-- Table `configdb`.`certpolicygroupdomainreltn`\n-- -----------------------------------------------------\n\nCREATE TABLE \"CONFIGUSER\".\"CERTPOLICYGROUPDOMAINRELTN\" (\n \"ID\" NUMBER(19,0),\n \"POLICY_GROUP_ID\" NUMBER(19,0),\n \"DOMAIN_ID\" NUMBER(19,0) NOT NULL\n);\n\n-- -----------------------------------------------------\n-- Table `configdb`.`certpolicygroupreltn`\n-- -----------------------------------------------------\n\nCREATE TABLE \"CONFIGUSER\".\"CERTPOLICYGROUPRELTN\" (\n \"ID\" NUMBER(19,0),\n \"INCOMING\" NUMBER(4,0),\n \"OUTGOING\" NUMBER(4,0),\n \"POLICYUSE\" NUMBER(10,0) ,\n \"CERTPOLICYID\" NUMBER(19,0),\n \"CERTPOLICYGROUPID\" NUMBER(19,0)\n);\n\n-- -----------------------------------------------------\n-- Table `configdb`.`dnsrecord`\n-- -----------------------------------------------------\n\nCREATE TABLE \"CONFIGUSER\".\"DNSRECORD\" (\n \"ID\" NUMBER(19,0),\n \"CREATETIME\" DATE NOT NULL,\n \"DATA\" BLOB,\n \"DCLASS\" NUMBER(10,0),\n \"NAME\" VARCHAR2(255 BYTE),\n \"TTL\" NUMBER(19,0),\n \"TYPE\" NUMBER(10,0)\n);\n\n-- end configdb\n\n------------------------------------------------------------------\n-- ADMINGUIDB TABLES\n------------------------------------------------------------------\n-- -----------------------------------------------------\n-- Table USERROLE\n-- -----------------------------------------------------\nCREATE TABLE \"NHINCUSER\".\"USERROLE\" (\n\t\"ROLEID\" NUMBER(19,0),\n\t\"ROLENAME\" VARCHAR2(100 BYTE) NOT NULL\n);\n\n-- -----------------------------------------------------\n-- Table PagePreference\n-- -----------------------------------------------------\n\nCREATE TABLE \"NHINCUSER\".\"PAGEPREFERENCE\" (\n\t\"PREFID\" NUMBER(19,0),\n\t\"PAGENAME\" VARCHAR2(100 BYTE) NOT NULL,\n\t\"PAGEDESC\" VARCHAR2(100 BYTE) NOT NULL,\n\t\"ACCESSPAGE\" NUMBER(19,0) NOT NULL,\n\t\"PREFROLEID\" NUMBER(19,0) NOT NULL\n);\n\nCREATE TABLE \"NHINCUSER\".\"MONITOREDMESSAGE\" (\n \"ID\" NUMBER(19,0),\n \"SENDEREMAILID\" VARCHAR2(255 BYTE) DEFAULT NULL,\n \"SUBJECT\" VARCHAR2(255 BYTE) DEFAULT NULL,\n \"MESSAGEID\" VARCHAR2(100 BYTE),\n \"RECIPIENTS\" VARCHAR2(4000 BYTE) DEFAULT NULL,\n \"DELIVERYREQUESTED\" NUMBER(3) DEFAULT '0',\n \"STATUS\" VARCHAR2(30 BYTE) DEFAULT NULL,\n \"CREATETIME\" DATE DEFAULT NULL,\n \"UPDATETIME\" DATE DEFAULT NULL\n);\n\n\nCREATE TABLE \"NHINCUSER\".\"MONITOREDMESSAGENOTIFICATION\" (\n \"ID\" NUMBER(19,0),\n \"EMAILID\" VARCHAR2(255) NOT NULL,\n \"MESSAGEID\" VARCHAR2(100) DEFAULT NULL,\n \"MONITOREDMESSAGEID\" NUMBER(19,0) NOT NULL,\n \"STATUS\" VARCHAR2(30) ,\n \"CREATETIME\" DATE DEFAULT NULL,\n \"UPDATETIME\" DATE DEFAULT NULL\n);\n\n--------------------------------------------------------\n-- Constraints for Table Domain\n--------------------------------------------------------\n ALTER TABLE \"CONFIGUSER\".\"DOMAIN\" ADD PRIMARY KEY (\"ID\") ENABLE;\n ALTER TABLE \"CONFIGUSER\".\"DOMAIN\" MODIFY (\"DOMAINNAME\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"DOMAIN\" MODIFY (\"CREATETIME\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"DOMAIN\" ADD CONSTRAINT DOMAIN UNIQUE (\"DOMAINNAME\") ENABLE;\n \n--------------------------------------------------------\n-- DDL for Index fk_domainId\n--------------------------------------------------------\n CREATE UNIQUE INDEX \"CONFIGUSER\".\"fk_domainId\" ON \"CONFIGUSER\".\"ADDRESS\" (\"DOMAINID\" ASC);\n \n--------------------------------------------------------\n-- Constraints for Table ADDRESS\n--------------------------------------------------------\n ALTER TABLE \"CONFIGUSER\".\"ADDRESS\" ADD PRIMARY KEY (\"ID\") ENABLE;\n ALTER TABLE \"CONFIGUSER\".\"ADDRESS\" MODIFY (\"CREATETIME\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"ADDRESS\" ADD CONSTRAINT FK_DOMAINID FOREIGN KEY (DOMAINID) REFERENCES \"CONFIGUSER\".\"DOMAIN\" (ID) ENABLE;\n\n--------------------------------------------------------\n-- Constraints for Table ANCHOR\n-------------------------------------------------------- \n ALTER TABLE \"CONFIGUSER\".\"ANCHOR\" ADD PRIMARY KEY (\"ID\") ENABLE;\n ALTER TABLE \"CONFIGUSER\".\"ANCHOR\" MODIFY (\"CERTIFICATEID\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"ANCHOR\" MODIFY (\"OWNER\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"ANCHOR\" MODIFY (\"THUMBPRINT\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"ANCHOR\" MODIFY (\"CERTIFICATEDATA\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"ANCHOR\" MODIFY (\"VALIDSTARTDATE\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"ANCHOR\" MODIFY (\"VALIDENDDATE\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"ANCHOR\" MODIFY (\"INCOMING\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"ANCHOR\" MODIFY (\"OUTGOING\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"ANCHOR\" MODIFY (\"CREATETIME\" NOT NULL ENABLE);\n \n--------------------------------------------------------\n-- Constraints for Table CERTIFICATE\n--------------------------------------------------------\n ALTER TABLE \"CONFIGUSER\".\"CERTIFICATE\" ADD PRIMARY KEY (\"ID\") ENABLE;\n ALTER TABLE \"CONFIGUSER\".\"CERTIFICATE\" MODIFY (\"OWNER\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"CERTIFICATE\" MODIFY (\"THUMBPRINT\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"CERTIFICATE\" MODIFY (\"VALIDSTARTDATE\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"CERTIFICATE\" MODIFY (\"VALIDENDDATE\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"CERTIFICATE\" MODIFY (\"CERTIFICATEDATA\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"CERTIFICATE\" MODIFY (\"PRIVATEKEY\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"CERTIFICATE\" MODIFY (\"STATUS\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"CERTIFICATE\" MODIFY (\"CREATETIME\" NOT NULL ENABLE);\n \n-------------------------------------------------------------\n-- Constraints for Table SETTING\n-------------------------------------------------------------\n ALTER TABLE \"CONFIGUSER\".\"SETTING\" ADD PRIMARY KEY (\"ID\") ENABLE;\n \n--------------------------------------------------------\n-- Constraints for Table TRUSTBUNDLE\n--------------------------------------------------------\n ALTER TABLE \"CONFIGUSER\".\"TRUSTBUNDLE\" ADD PRIMARY KEY (\"ID\") ENABLE;\n ALTER TABLE \"CONFIGUSER\".\"TRUSTBUNDLE\" MODIFY (\"BUNDLENAME\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"TRUSTBUNDLE\" MODIFY (\"BUNDLEURL\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"TRUSTBUNDLE\" MODIFY (\"BUNDLECHECKSUM\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"TRUSTBUNDLE\" MODIFY (\"CREATETIME\" NOT NULL ENABLE);\n \n--------------------------------------------------------\n-- DDL for Index fk_trustbundleId\n--------------------------------------------------------\n CREATE UNIQUE INDEX \"CONFIGUSER\".\"fk_trustbundleId\" ON \"CONFIGUSER\".\"TRUSTBUNDLEANCHOR\" (\"TRUSTBUNDLEID\" ASC);\n \n--------------------------------------------------------\n-- Constraints for Table TRUSTBUNDLEANCHOR\n--------------------------------------------------------\n ALTER TABLE \"CONFIGUSER\".\"TRUSTBUNDLEANCHOR\" ADD PRIMARY KEY (\"ID\") ENABLE;\n ALTER TABLE \"CONFIGUSER\".\"TRUSTBUNDLEANCHOR\" MODIFY (\"ANCHORDATA\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"TRUSTBUNDLEANCHOR\" MODIFY (\"THUMBPRINT\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"TRUSTBUNDLEANCHOR\" MODIFY (\"VALIDSTARTDATE\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"TRUSTBUNDLEANCHOR\" MODIFY (\"VALIDENDDATE\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"TRUSTBUNDLEANCHOR\" MODIFY (\"TRUSTBUNDLEID\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"TRUSTBUNDLEANCHOR\" ADD CONSTRAINT fk_trustbundleId FOREIGN KEY (TRUSTBUNDLEID) REFERENCES \"CONFIGUSER\".\"TRUSTBUNDLE\"(\"ID\") ENABLE;\n\n--------------------------------------------------------\n-- DDL for Index fk_domain_id\n--------------------------------------------------------\n CREATE UNIQUE INDEX \"CONFIGUSER\".\"fk_domain_id\" ON \"CONFIGUSER\".\"TRUSTBUNDLEDOMAINRELTN\" (\"DOMAIN_ID\" ASC); \n \n--------------------------------------------------------\n-- DDL for Index fk_trust_bundle_id\n--------------------------------------------------------\n CREATE UNIQUE INDEX \"CONFIGUSER\".\"fk_trust_bundle_id\" ON \"CONFIGUSER\".\"TRUSTBUNDLEDOMAINRELTN\" (\"TRUST_BUNDLE_ID\" ASC); \n \n-----------------------------------------------------------\n-- Constraints for Table TRUSTBUNDLEDOMAINRELTN\n-----------------------------------------------------------\n\t\n ALTER TABLE \"CONFIGUSER\".\"TRUSTBUNDLEDOMAINRELTN\" ADD PRIMARY KEY (\"ID\") ENABLE;\n ALTER TABLE \"CONFIGUSER\".\"TRUSTBUNDLEDOMAINRELTN\" MODIFY (\"INCOMING\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"TRUSTBUNDLEDOMAINRELTN\" MODIFY (\"OUTGOING\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"TRUSTBUNDLEDOMAINRELTN\" MODIFY (\"DOMAIN_ID\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"TRUSTBUNDLEDOMAINRELTN\" MODIFY (\"TRUST_BUNDLE_ID\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"TRUSTBUNDLEDOMAINRELTN\" ADD CONSTRAINT fk_domain_id FOREIGN KEY (DOMAIN_ID) REFERENCES \"CONFIGUSER\".\"DOMAIN\"(\"ID\");\n ALTER TABLE \"CONFIGUSER\".\"TRUSTBUNDLEDOMAINRELTN\" ADD CONSTRAINT fk_trust_bundle_id FOREIGN KEY (TRUST_BUNDLE_ID) REFERENCES \"CONFIGUSER\".\"TRUSTBUNDLE\"(\"ID\");\n\t\n-----------------------------------------------------------\n-- Constraints for Table CERTPOLICY\n-----------------------------------------------------------\t\n\n ALTER TABLE \"CONFIGUSER\".\"CERTPOLICY\" ADD PRIMARY KEY (\"ID\") ENABLE;\n ALTER TABLE \"CONFIGUSER\".\"CERTPOLICY\" MODIFY (\"CREATETIME\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"CERTPOLICY\" MODIFY (\"LEXICON\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"CERTPOLICY\" MODIFY (\"POLICYDATA\" NOT NULL ENABLE);\n \n-----------------------------------------------------------\n-- Constraints for Table CERTPOLICYGROUP\n-----------------------------------------------------------\t\n\n ALTER TABLE \"CONFIGUSER\".\"CERTPOLICYGROUP\" ADD PRIMARY KEY (\"ID\") ENABLE;\n ALTER TABLE \"CONFIGUSER\".\"CERTPOLICYGROUP\" MODIFY (\"CREATETIME\" NOT NULL ENABLE);\n \n \n----------------------------------------------------------\n-- Constraints for Table CERTPOLICYGROUPDOMAINRELTN\n-----------------------------------------------------------\t\n ALTER TABLE \"CONFIGUSER\".\"CERTPOLICYGROUPDOMAINRELTN\" ADD PRIMARY KEY (\"ID\") ENABLE;\n ALTER TABLE \"CONFIGUSER\".\"CERTPOLICYGROUPDOMAINRELTN\" MODIFY (\"POLICY_GROUP_ID\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"CERTPOLICYGROUPDOMAINRELTN\" ADD CONSTRAINT fk_cert_domain_id FOREIGN KEY (\"DOMAIN_ID\") REFERENCES \"CONFIGUSER\".\"DOMAIN\"(\"ID\");\n \n ALTER TABLE \"CONFIGUSER\".\"CERTPOLICYGROUPDOMAINRELTN\" ADD CONSTRAINT fk_cert_policy_group_id FOREIGN KEY (\"POLICY_GROUP_ID\") REFERENCES \"CONFIGUSER\".\"CERTPOLICYGROUP\"(\"ID\");\n \n\n-----------------------------------------------------------\n-- Constraints for Table CERTPOLICYGROUPRELTN\n-----------------------------------------------------------\t\n ALTER TABLE \"CONFIGUSER\".\"CERTPOLICYGROUPRELTN\" ADD PRIMARY KEY (\"ID\") ENABLE;\n ALTER TABLE \"CONFIGUSER\".\"CERTPOLICYGROUPRELTN\" MODIFY (\"POLICYUSE\" NOT NULL ENABLE);\n ALTER TABLE \"CONFIGUSER\".\"CERTPOLICYGROUPRELTN\" MODIFY (\"CERTPOLICYID\" NOT NULL ENABLE); \n ALTER TABLE \"CONFIGUSER\".\"CERTPOLICYGROUPRELTN\" MODIFY (\"CERTPOLICYGROUPID\" NOT NULL ENABLE); \n ALTER TABLE \"CONFIGUSER\".\"CERTPOLICYGROUPRELTN\" ADD CONSTRAINT fk_cert_policy_id FOREIGN KEY (\"CERTPOLICYID\") REFERENCES \"CONFIGUSER\".\"CERTPOLICY\"(\"ID\");\n ALTER TABLE \"CONFIGUSER\".\"CERTPOLICYGROUPRELTN\" ADD CONSTRAINT fk_cert_policy_reltn_group_id FOREIGN KEY (\"CERTPOLICYGROUPID\") REFERENCES \"CONFIGUSER\".\"CERTPOLICYGROUP\"(\"ID\");\n \n-----------------------------------------------------------\n-- Constraints for Table DNSRECORD\n-----------------------------------------------------------\n ALTER TABLE \"CONFIGUSER\".\"DNSRECORD\" ADD PRIMARY KEY (\"ID\") ENABLE;\n \n-----------------------------------------------------------\n-- Constraints for Table USERROLE\n----------------------------------------------------------- \n ALTER TABLE \"NHINCUSER\".\"USERROLE\" ADD PRIMARY KEY (\"ROLEID\") ENABLE;\n ALTER TABLE \"NHINCUSER\".\"USERROLE\" ADD CONSTRAINT USERROLE UNIQUE (\"ROLENAME\") ENABLE;\n \n-----------------------------------------------------------\n-- Constraints for Table PAGEPREFERENCE\n----------------------------------------------------------- \n ALTER TABLE \"NHINCUSER\".\"PAGEPREFERENCE\" ADD PRIMARY KEY (\"PREFID\") ENABLE;\n ALTER TABLE \"NHINCUSER\".\"PAGEPREFERENCE\" ADD CONSTRAINT fk_role_pref FOREIGN KEY (prefRoleId) REFERENCES \"NHINCUSER\".\"USERROLE\"(\"ROLEID\");\n-----------------------------------------------------------\n-- Constraints for Table MONITOREDMESSAGE\n----------------------------------------------------------- \t\n\t\n ALTER TABLE \"NHINCUSER\".\"MONITOREDMESSAGE\" ADD PRIMARY KEY (\"ID\") ENABLE;\n ALTER TABLE \"NHINCUSER\".\"MONITOREDMESSAGE\" MODIFY (\"ID\" NOT NULL ENABLE);\n \n----------------------------------------------------------- \n-- Constraints for Table MONITOREDMESSAGENOTIFICATION\n----------------------------------------------------------- \n ALTER TABLE \"NHINCUSER\".\"MONITOREDMESSAGENOTIFICATION\" MODIFY (\"STATUS\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"MONITOREDMESSAGENOTIFICATION\" ADD CONSTRAINT fk_monitoredmessageId FOREIGN KEY (MONITOREDMESSAGEID) REFERENCES \"NHINCUSER\".\"MONITOREDMESSAGE\"(\"ID\") ;\n\t\t\n--------------------------------------------------------\n-- DDL for Index MESSAGEID_IDX\n--------------------------------------------------------\n CREATE UNIQUE INDEX \"NHINCUSER\".\"MESSAGEID_IDX\" ON \"NHINCUSER\".\"TRANSACTIONREPOSITORY\" (\"MESSAGEID\");\n \n--------------------------------------------------------\n-- Constraints for Table CORRELATEDIDENTIFIERS\n--------------------------------------------------------\n\n ALTER TABLE \"NHINCUSER\".\"CORRELATEDIDENTIFIERS\" ADD PRIMARY KEY (\"CORRELATIONID\") ENABLE;\n ALTER TABLE \"NHINCUSER\".\"CORRELATEDIDENTIFIERS\" MODIFY (\"CORRELATEDPATIENTID\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"CORRELATEDIDENTIFIERS\" MODIFY (\"CORRELATEDPATIENTASSIGNAUTHID\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"CORRELATEDIDENTIFIERS\" MODIFY (\"PATIENTID\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"CORRELATEDIDENTIFIERS\" MODIFY (\"PATIENTASSIGNINGAUTHORITYID\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"CORRELATEDIDENTIFIERS\" MODIFY (\"CORRELATIONID\" NOT NULL ENABLE);\n--------------------------------------------------------\n-- Constraints for Table AUDITREPOSITORY\n--------------------------------------------------------\n\n ALTER TABLE \"NHINCUSER\".\"AUDITREPOSITORY\" ADD PRIMARY KEY (\"ID\") ENABLE;\n ALTER TABLE \"NHINCUSER\".\"AUDITREPOSITORY\" MODIFY (\"MESSAGETYPE\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"AUDITREPOSITORY\" MODIFY (\"EVENTID\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"AUDITREPOSITORY\" MODIFY (\"ID\" NOT NULL ENABLE);\n--------------------------------------------------------\n-- Constraints for Table PATIENT\n--------------------------------------------------------\n\n ALTER TABLE \"NHINCUSER\".\"PATIENT\" ADD PRIMARY KEY (\"PATIENTID\") ENABLE;\n ALTER TABLE \"NHINCUSER\".\"PATIENT\" MODIFY (\"PATIENTID\" NOT NULL ENABLE);\n--------------------------------------------------------\n-- Constraints for Table ADDRESS\n--------------------------------------------------------\n\n ALTER TABLE \"NHINCUSER\".\"ADDRESS\" ADD PRIMARY KEY (\"ADDRESSID\") ENABLE;\n ALTER TABLE \"NHINCUSER\".\"ADDRESS\" MODIFY (\"PATIENTID\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"ADDRESS\" MODIFY (\"ADDRESSID\" NOT NULL ENABLE);\n--------------------------------------------------------\n-- Constraints for Table IDENTIFIER\n--------------------------------------------------------\n\n ALTER TABLE \"NHINCUSER\".\"IDENTIFIER\" ADD PRIMARY KEY (\"IDENTIFIERID\") ENABLE;\n ALTER TABLE \"NHINCUSER\".\"IDENTIFIER\" MODIFY (\"PATIENTID\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"IDENTIFIER\" MODIFY (\"IDENTIFIERID\" NOT NULL ENABLE);\n--------------------------------------------------------\n-- Constraints for Table EVENTCODE\n--------------------------------------------------------\n\n ALTER TABLE \"NHINCUSER\".\"EVENTCODE\" ADD PRIMARY KEY (\"EVENTCODEID\") ENABLE;\n ALTER TABLE \"NHINCUSER\".\"EVENTCODE\" MODIFY (\"DOCUMENTID\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"EVENTCODE\" MODIFY (\"EVENTCODEID\" NOT NULL ENABLE);\n--------------------------------------------------------\n-- Constraints for Table PERSONNAME\n--------------------------------------------------------\n\n ALTER TABLE \"NHINCUSER\".\"PERSONNAME\" ADD PRIMARY KEY (\"PERSONNAMEID\") ENABLE;\n ALTER TABLE \"NHINCUSER\".\"PERSONNAME\" MODIFY (\"PATIENTID\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"PERSONNAME\" MODIFY (\"PERSONNAMEID\" NOT NULL ENABLE);\n--------------------------------------------------------\n-- Constraints for Table EVENT\n--------------------------------------------------------\n\n ALTER TABLE \"NHINCUSER\".\"EVENT\" ADD PRIMARY KEY (\"ID\") ENABLE;\n ALTER TABLE \"NHINCUSER\".\"EVENT\" MODIFY (\"NAME\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"EVENT\" MODIFY (\"ID\" NOT NULL ENABLE);\n--------------------------------------------------------\n-- Constraints for Table TRANSFER_DATA\n--------------------------------------------------------\n\n ALTER TABLE \"NHINCUSER\".\"TRANSFER_DATA\" ADD PRIMARY KEY (\"ID\") ENABLE;\n ALTER TABLE \"NHINCUSER\".\"TRANSFER_DATA\" MODIFY (\"TRANSFERSTATE\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"TRANSFER_DATA\" MODIFY (\"REQUESTKEYGUID\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"TRANSFER_DATA\" MODIFY (\"ID\" NOT NULL ENABLE);\n--------------------------------------------------------\n-- Constraints for Table DOCUMENT\n--------------------------------------------------------\n\n ALTER TABLE \"NHINCUSER\".\"DOCUMENT\" ADD PRIMARY KEY (\"DOCUMENTID\") ENABLE;\n ALTER TABLE \"NHINCUSER\".\"DOCUMENT\" MODIFY (\"ONDEMAND\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"DOCUMENT\" MODIFY (\"PERSISTENT\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"DOCUMENT\" MODIFY (\"DOCUMENTUNIQUEID\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"DOCUMENT\" MODIFY (\"DOCUMENTID\" NOT NULL ENABLE);\n--------------------------------------------------------\n-- Constraints for Table TRANSACTIONREPOSITORY\n--------------------------------------------------------\n\n ALTER TABLE \"NHINCUSER\".\"TRANSACTIONREPOSITORY\" ADD PRIMARY KEY (\"ID\") ENABLE;\n ALTER TABLE \"NHINCUSER\".\"TRANSACTIONREPOSITORY\" MODIFY (\"MESSAGEID\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"TRANSACTIONREPOSITORY\" MODIFY (\"TRANSACTIONID\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"TRANSACTIONREPOSITORY\" MODIFY (\"ID\" NOT NULL ENABLE);\n--------------------------------------------------------\n-- Constraints for Table AA_TO_HOME_COMMUNITY_MAPPING\n--------------------------------------------------------\n\n ALTER TABLE \"NHINCUSER\".\"AA_TO_HOME_COMMUNITY_MAPPING\" ADD PRIMARY KEY (\"ID\", \"ASSIGNINGAUTHORITYID\") ENABLE;\n ALTER TABLE \"NHINCUSER\".\"AA_TO_HOME_COMMUNITY_MAPPING\" MODIFY (\"HOMECOMMUNITYID\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"AA_TO_HOME_COMMUNITY_MAPPING\" MODIFY (\"ASSIGNINGAUTHORITYID\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"AA_TO_HOME_COMMUNITY_MAPPING\" MODIFY (\"ID\" NOT NULL ENABLE);\n--------------------------------------------------------\n-- Constraints for Table PDDEFERREDCORRELATION\n--------------------------------------------------------\n\n ALTER TABLE \"NHINCUSER\".\"PDDEFERREDCORRELATION\" ADD PRIMARY KEY (\"ID\") ENABLE;\n ALTER TABLE \"NHINCUSER\".\"PDDEFERREDCORRELATION\" MODIFY (\"CREATIONTIME\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"PDDEFERREDCORRELATION\" MODIFY (\"PATIENTID\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"PDDEFERREDCORRELATION\" MODIFY (\"ASSIGNINGAUTHORITYID\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"PDDEFERREDCORRELATION\" MODIFY (\"MESSAGEID\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"PDDEFERREDCORRELATION\" MODIFY (\"ID\" NOT NULL ENABLE);\n--------------------------------------------------------\n-- Constraints for Table PHONENUMBER\n--------------------------------------------------------\n\n ALTER TABLE \"NHINCUSER\".\"PHONENUMBER\" ADD PRIMARY KEY (\"PHONENUMBERID\") ENABLE;\n ALTER TABLE \"NHINCUSER\".\"PHONENUMBER\" MODIFY (\"PATIENTID\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"PHONENUMBER\" MODIFY (\"PHONENUMBERID\" NOT NULL ENABLE);\n--------------------------------------------------------\n-- Constraints for Table ASYNCMSGREPO\n--------------------------------------------------------\n\n ALTER TABLE \"NHINCUSER\".\"ASYNCMSGREPO\" ADD PRIMARY KEY (\"ID\") ENABLE;\n ALTER TABLE \"NHINCUSER\".\"ASYNCMSGREPO\" MODIFY (\"CREATIONTIME\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"ASYNCMSGREPO\" MODIFY (\"MESSAGEID\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"ASYNCMSGREPO\" MODIFY (\"ID\" NOT NULL ENABLE);\n--------------------------------------------------------\n-- Constraints for Table USERLOGIN\n--------------------------------------------------------\n\n ALTER TABLE \"NHINCUSER\".\"USERLOGIN\" ADD PRIMARY KEY (\"ID\") ENABLE;\n ALTER TABLE \"NHINCUSER\".\"USERLOGIN\" MODIFY (\"SALT\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"USERLOGIN\" MODIFY (\"SHA1\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"USERLOGIN\" MODIFY (\"USERNAME\" NOT NULL ENABLE);\n ALTER TABLE \"NHINCUSER\".\"USERLOGIN\" ADD CONSTRAINT fk_role_user FOREIGN KEY (USERROLE) REFERENCES \"NHINCUSER\".\"USERROLE\"(\"ROLEID\");\n--------------------------------------------------------------------------------------------------------------------------------------------\n\n INSERT INTO \"NHINCUSER\".\"USERROLE\" (ROLEID, ROLENAME) VALUES (1, 'ADMIN');\n\t\n INSERT INTO \"NHINCUSER\".\"USERROLE\" (ROLEID, ROLENAME) VALUES (2, 'SUPER USER');\n \n INSERT INTO \"NHINCUSER\".\"USERROLE\" (ROLEID, ROLENAME) VALUES (3, 'USER');\n-----------------------------------------------------------------------------------------------------------------------------------------------\n\n INSERT INTO \"NHINCUSER\".\"USERLOGIN\" (ID, SALT, SHA1, USERNAME, USERROLE) VALUES (1, 'ABCD', 'TxMu4SPUdek0XU5NovS9U2llt3Q=', 'CONNECTAdmin', 1);\n\t\n------------------------------------------------------------------------------------------------------------------------------------------------ \n\n INSERT INTO \"NHINCUSER\".\"PAGEPREFERENCE\" (PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (4, 'acctmanage.xhtml', 'Account Management', 0, 1);\n \n INSERT INTO \"NHINCUSER\".\"PAGEPREFERENCE\" (PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (5, 'acctmanage.xhtml', 'Account Management', -1, 2);\n \n INSERT INTO \"NHINCUSER\".\"PAGEPREFERENCE\" (PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (6, 'acctmanage.xhtml', 'Account Management', -1, 3);\n\n INSERT INTO \"NHINCUSER\".\"PAGEPREFERENCE\" (PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (10, 'direct.xhtml', 'Direct Config', 0, 1);\n\n INSERT INTO \"NHINCUSER\".\"PAGEPREFERENCE\"(PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (11, 'direct.xhtml', 'Direct Config', 0, 2);\n\n INSERT INTO \"NHINCUSER\".\"PAGEPREFERENCE\"(PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (12, 'direct.xhtml', 'Direct Config', 0, 3);\n\t\n INSERT INTO \"NHINCUSER\".\"PAGEPREFERENCE\" (PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (13, 'connectionManager.xhtml', 'Connection Management', 0, 1);\n\n INSERT INTO \"NHINCUSER\".\"PAGEPREFERENCE\" (PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (14, 'connectionManager.xhtml', 'Connection Management', 0, 2);\n\n INSERT INTO \"NHINCUSER\".\"PAGEPREFERENCE\"(PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (15, 'connectionManager.xhtml', 'Connection Management', 0, 3);\n\t\n INSERT INTO \"NHINCUSER\".\"PAGEPREFERENCE\"(PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (16, 'properties.xhtml', 'CONNECT Properties', 0, 1);\n\t\n INSERT INTO \"NHINCUSER\".\"PAGEPREFERENCE\"(PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (17, 'properties.xhtml', 'CONNECT Properties', 0, 2);\n\t\n INSERT INTO \"NHINCUSER\".\"PAGEPREFERENCE\"(PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (18, 'properties.xhtml', 'CONNECT Properties', 0, 3);\n \n INSERT INTO \"NHINCUSER\".\"PAGEPREFERENCE\"(PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (19, 'fhir.xhtml', 'FHIR Resources', 0, 1);\n\t\n INSERT INTO \"NHINCUSER\".\"PAGEPREFERENCE\"(PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (20, 'fhir.xhtml', 'FHIR Resources', 0, 2);\n\t\n INSERT INTO \"NHINCUSER\".\"PAGEPREFERENCE\"(PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (21, 'fhir.xhtml', 'FHIR Resources', 0, 3);\n \n INSERT INTO \"NHINCUSER\".\"PAGEPREFERENCE\"(PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (22, 'patientDiscovery.xhtml', 'Universal Client', 0, 1);\n \n INSERT INTO \"NHINCUSER\".\"PAGEPREFERENCE\"(PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (23, 'patientDiscovery.xhtml', 'Universal Client', 0, 2);\n \n INSERT INTO \"NHINCUSER\".\"PAGEPREFERENCE\"(PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (24, 'patientDiscovery.xhtml', 'Universal Client', 0, 3);\n\n\t\n COMMIT;"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":397,"cells":{"blob_id":{"kind":"string","value":"c6e4848ea190b008201605ecc3c20cb5e0ea28d0"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"panye7606/SSMWebDemo"},"path":{"kind":"string","value":"/src/main/resources/mysql/ibooker.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":10420,"string":"10,420"},"score":{"kind":"number","value":3.875,"string":"3.875"},"int_score":{"kind":"number","value":4,"string":"4"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"CREATE USER ibooker@localhost IDENTIFIED BY 'ibooker006008.';\n\nCREATE DATABASE ibookerdata;\n\nGRANT ALL ON ibookerdata.* TO ibooker@localhost;\n\n#用户表\nCREATE TABLE IF NOT EXISTS t_user(\nu_id BIGINT UNSIGNED AUTO_INCREMENT NOT NULL COMMENT '编号',\nu_phone BIGINT NOT NULL COMMENT '账号-手机号',\nu_passwd VARCHAR(100) NOT NULL COMMENT '密码,4-20字符,MD5加密',\nu_pic VARCHAR(100) DEFAULT 'http://localhost:8080/ibooker/images/pics/init_pic.png' COMMENT '头像,格式:账号+时间戳+后缀(.png/.jpg等)',\nu_regtime BIGINT UNSIGNED NOT NULL COMMENT '注册时间,时间戳',\nu_realname VARCHAR(15) DEFAULT '未填写' COMMENT '真实姓名,最多15个汉字',\nu_sex ENUM('男','女','保密') DEFAULT '保密' COMMENT '性别',\nu_height FLOAT(5,2) UNSIGNED DEFAULT 0 COMMENT '身高,单位CM',\nu_weight FLOAT(6,2) UNSIGNED DEFAULT 0 COMMENT '体重,单位KG',\nu_birthday VARCHAR(10) DEFAULT '未填写' COMMENT '出生日期,格式:yyyy-MM-dd',\nu_domicile VARCHAR(50) DEFAULT '未填写' COMMENT '现居住地',\nu_pointx DOUBLE UNSIGNED DEFAULT 0 COMMENT '现居住地-经度',\nu_pointy DOUBLE UNSIGNED DEFAULT 0 COMMENT '现居住地-维度',\nu_email VARCHAR(40) DEFAULT '未绑定' COMMENT '绑定邮箱账号',\nu_weixin VARCHAR(40) DEFAULT '未绑定' COMMENT '绑定微信账号',\nu_weibo VARCHAR(40) DEFAULT '未绑定' COMMENT '绑定微博账号',\nu_qq VARCHAR(40) DEFAULT '未绑定' COMMENT '绑定QQ账号',\nu_introduce VARCHAR(500) DEFAULT '未填写' COMMENT '自我简介,最多500个汉字',\nu_inviter_phone VARCHAR(11) COMMENT '邀请人账号',\nu_isboard ENUM('0','1') DEFAULT '0' COMMENT '基本信息是否对外公开,0不公开,1公开',\nu_realname_identify_state ENUM('0','1','2','3') DEFAULT '0' COMMENT '实名认证状态,0未认证,1待认证,2已认证,3过期',\nu_tx_token VARCHAR(200) COMMENT '即时通讯token',\nu_type ENUM('0','11','12','13','14','15','2','3','4') NOT NULL DEFAULT '0' COMMENT '用户类型,0普通用户,11,12,13,14,15分别为爱书客一到五级用户,2普通管理员,3系统管理员,4高级管理员',\nu_check_uid BIGINT UNSIGNED COMMENT '用户类型审核人员ID',\nPRIMARY KEY(u_id) COMMENT '主键',\nUNIQUE KEY(u_phone) COMMENT '唯一键',\nFOREIGN KEY(u_check_uid) REFERENCES t_user(u_id) ON DELETE CASCADE,\nKEY index_regtime(u_regtime) COMMENT '注册时间-索引',\nKEY index_pointx(u_pointx) COMMENT '经度-索引',\nKEY index_pointy(u_pointy) COMMENT '维度-索引',\nKEY index_inviter_phone(u_inviter_phone) COMMENT '邀请人账号-索引',\nKEY index_student_identify_state(u_student_identify_state) COMMENT '学生认证状态-索引',\nKEY index_health_identify_state(u_health_identify_state) COMMENT '健康认证状态-索引',\nKEY index_realname_identify_state(u_realname_identify_state) COMMENT '实名认证状态-索引'\n)ENGINE=INNODB DEFAULT CHARSET=utf8 COMMENT '用户表';\n\n#文章分类表\nCREATE TABLE IF NOT EXISTS t_article_style(\nas_id BIGINT UNSIGNED AUTO_INCREMENT NOT NULL COMMENT '编号',\nas_name VARCHAR(20) NOT NULL COMMENT '分类名',\nas_pinyin VARCHAR(20) NOT NULL COMMENT '分类名拼音',\nPRIMARY KEY(as_id) COMMENT '主键',\nUNIQUE KEY(as_name) COMMENT '唯一键',\nKEY index_as_name(as_name) COMMENT '分类名-索引'\n)ENGINE=INNODB DEFAULT CHARSET=utf8 COMMENT '文章分类表';\n\n#文章类别表\nCREATE TABLE IF NOT EXISTS t_article_type(\nat_id BIGINT UNSIGNED AUTO_INCREMENT NOT NULL COMMENT '编号',\nat_name VARCHAR(20) NOT NULL COMMENT '类别名',\nat_name_desc VARCHAR(200) NOT NULL DEFAULT '未填写' COMMENT '类别描述信息',\nat_pinyin VARCHAR(20) NOT NULL COMMENT '类别名拼音',\nat_asid BIGINT UNSIGNED NOT NULL COMMENT '文章分类ID',\nPRIMARY KEY(at_id) COMMENT '主键',\nFOREIGN KEY(at_asid) REFERENCES t_article_style(as_id) ON DELETE CASCADE,\nUNIQUE KEY(at_name) COMMENT '唯一键',\nKEY index_at_name(at_name) COMMENT '类别名-索引'\n)ENGINE=INNODB DEFAULT CHARSET=utf8 COMMENT '文章类别表';\n\n#文章表\nCREATE TABLE IF NOT EXISTS t_article(\na_id BIGINT UNSIGNED AUTO_INCREMENT NOT NULL COMMENT '编号',\na_title VARCHAR(30) NOT NULL COMMENT '文章标题',\na_abstract VARCHAR(100) NOT NULL COMMENT '文章摘要',\na_pubtime BIGINT NOT NULL COMMENT '发布时间,时间戳',\na_cover_path VARCHAR(100) DEFAULT 'http://localhost:8080/ibooker/images/covers/init_cover.png' NOT NULL COMMENT '文章封面图地址,格式:账号+时间戳+后缀(.png/.jpg等)',\na_browsenum INT UNSIGNED NOT NULL DEFAULT 0 COMMENT '浏览量',\na_isdelete ENUM('0','1') DEFAULT '0' NOT NULL COMMENT '是否删除,0未删除,1删除',\na_isallow ENUM('0','1') DEFAULT '0' NOT NULL COMMENT '是否审核通过,0未审核,1已审核',\na_uid BIGINT UNSIGNED NOT NULL COMMENT '用户ID',\na_atid BIGINT UNSIGNED NOT NULL COMMENT '文章类别ID',\nPRIMARY KEY(a_id) COMMENT '主键',\nFOREIGN KEY(a_atid) REFERENCES t_article_type(at_id) ON DELETE CASCADE,\nFOREIGN KEY(a_uid) REFERENCES t_user(u_id) ON DELETE CASCADE\n)ENGINE=INNODB DEFAULT CHARSET=utf8 COMMENT '文章表';\n\n#插入数据\nINSERT INTO t_article(a_title, a_abstract, a_pubtime, a_cover_path, a_isallow, a_uid, a_atid)\nVALUES\n('测试主题1','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701401.jpg','1',1,1),\n('测试主题2','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701402.jpg','1',1,1),\n('测试主题3','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701403.jpg','1',1,1),\n('测试主题4','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701404.jpg','1',1,1),\n('测试主题5','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701405.jpg','1',1,1),\n('测试主题6','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701406.jpg','1',1,1),\n('测试主题7','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701407.jpg','1',1,1),\n('测试主题8','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701408.jpg','1',1,1),\n('测试主题9','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701409.jpg','1',1,1),\n('测试主题10','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701410.jpg','1',1,1),\n('测试主题11','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701411.jpg','1',1,1),\n('测试主题12','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701412.jpg','1',1,1),\n('测试主题13','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701413.jpg','1',1,1),\n('测试主题14','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701414.jpg','1',1,1),\n('测试主题15','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701415.jpg','1',1,1),\n('测试主题16','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701416.jpg','1',1,1),\n('测试主题17','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701417.jpg','1',1,1),\n('测试主题18','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701418.jpg','1',1,1),\n('测试主题19','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701419.jpg','1',1,1),\n('测试主题20','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701420.jpg','1',1,1),\n('测试主题21','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701421.jpg','1',1,1),\n('测试主题22','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701422.jpg','1',1,1),\n('测试主题23','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701423.jpg','1',1,1),\n('测试主题24','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701424.jpg','1',1,1),\n('测试主题25','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701425.jpg','1',1,1),\n('测试主题26','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701426.jpg','1',1,1),\n('测试主题27','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701427.jpg','1',1,1),\n('测试主题28','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701428.jpg','1',1,1),\n('测试主题29','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701429.jpg','1',1,1),\n('测试主题30','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701430.jpg','1',1,1),\n('测试主题31','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701431.jpg','1',1,1),\n('测试主题32','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701432.jpg','1',1,1),\n('测试主题33','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701433.jpg','1',1,1),\n('测试主题34','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701434.jpg','1',1,1),\n('测试主题35','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701435.jpg','1',1,1),\n('测试主题36','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701436.jpg','1',1,1),\n('测试主题37','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701437.jpg','1',1,1),\n('测试主题38','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701438.jpg','1',1,1);\n\n#文章原文地址表\nCREATE TABLE IF NOT EXISTS t_article_addr(\naa_id BIGINT UNSIGNED AUTO_INCREMENT NOT NULL COMMENT '编号',\naa_organization VARCHAR(50) NOT NULL COMMENT '所属机构',\naa_path VARCHAR(100) NOT NULL COMMENT '文章原文地址',\naa_isdefault ENUM('0','1') DEFAULT '0' NOT NULL COMMENT '是否为默认文章地址,0不是,1是',\naa_aid BIGINT UNSIGNED NOT NULL COMMENT '文章ID',\nPRIMARY KEY(aa_id) COMMENT '主键',\nFOREIGN KEY(aa_aid) REFERENCES t_article(a_id) ON DELETE CASCADE\n)ENGINE=INNODB DEFAULT CHARSET=utf8 COMMENT '文章原文地址表';\n\n\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":398,"cells":{"blob_id":{"kind":"string","value":"5a4b2a3d8f5f56768eac13057f292ccee35c5e4a"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"bdeske/WEB289_project"},"path":{"kind":"string","value":"/dump.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":15138,"string":"15,138"},"score":{"kind":"number","value":3.359375,"string":"3.359375"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"text":{"kind":"string","value":"#\n# DUMP FILE\n#\n# Database is ported from MS Access\n#------------------------------------------------------------------\n# Created using \"MS Access to MySQL\" form http://www.bullzip.com\n# Program Version 5.3.259\n#\n# OPTIONS:\n# sourcefilename=C:\\Users\\william\\Desktop\\WEB289\\littlebirdDB.accdb\n# sourceusername=\n# sourcepassword=\n# sourcesystemdatabase=\n# destinationdatabase=littlebirddb\n# storageengine=MyISAM\n# dropdatabase=0\n# createtables=1\n# unicode=1\n# autocommit=1\n# transferdefaultvalues=1\n# transferindexes=1\n# transferautonumbers=1\n# transferrecords=1\n# columnlist=1\n# tableprefix=\n# negativeboolean=0\n# ignorelargeblobs=0\n# memotype=LONGTEXT\n#\n\nCREATE DATABASE IF NOT EXISTS `littlebirddb`;\nUSE `littlebirddb`;\n\n#\n# Table structure for table 'Cart'\n#\n\nDROP TABLE IF EXISTS `Cart`;\n\nCREATE TABLE `Cart` (\n `ProductID` VARCHAR(255), \n `Plant_Name` VARCHAR(255), \n `Quantity_Ordered` VARCHAR(255), \n `Total_Price` VARCHAR(255), \n `UserID` INTEGER DEFAULT 0, \n INDEX (`ProductID`), \n UNIQUE (`UserID`)\n) ENGINE=myisam DEFAULT CHARSET=utf8;\n\nSET autocommit=1;\n\n#\n# Dumping data for table 'Cart'\n#\n\n# 0 records\n\n#\n# Table structure for table 'Categories'\n#\n\nDROP TABLE IF EXISTS `Categories`;\n\nCREATE TABLE `Categories` (\n `CatID` INTEGER NOT NULL AUTO_INCREMENT, \n `Category` VARCHAR(255), \n `Category_Description` LONGTEXT, \n `Category_Size_Description` LONGTEXT, \n UNIQUE (`Category`), \n PRIMARY KEY (`CatID`)\n) ENGINE=myisam DEFAULT CHARSET=utf8;\n\nSET autocommit=1;\n\n#\n# Dumping data for table 'Categories'\n#\n\nINSERT INTO `Categories` (`CatID`, `Category`, `Category_Description`, `Category_Size_Description`) VALUES (1, 'Perennials', 'Perennials are flowers that bloom once a year and die back to the ground or crown at the end of each season', 'Perennials will be sold in 1 and 2 gallon containers');\nINSERT INTO `Categories` (`CatID`, `Category`, `Category_Description`, `Category_Size_Description`) VALUES (2, 'Shrubs', 'These are low growing to medium sized plants. They will have either a bush like growth habit or are open and airy.', 'Shrubs will be sold in 3 gallon containers');\nINSERT INTO `Categories` (`CatID`, `Category`, `Category_Description`, `Category_Size_Description`) VALUES (3, 'Evergreen_Trees', 'These specimens will maintain their foliage throughout the yearand will have a medium to large growth habit', 'Evergreens are sold in 5 and 10 gallon containers');\nINSERT INTO `Categories` (`CatID`, `Category`, `Category_Description`, `Category_Size_Description`) VALUES (4, 'Deciduous_Trees', 'These specimens will loose their foliage in the winter season', 'Deciduous trees are sold in 5 and 10 gallon containers');\n# 4 records\n\n#\n# Table structure for table 'Invoices'\n#\n\nDROP TABLE IF EXISTS `Invoices`;\n\nCREATE TABLE `Invoices` (\n `InvoiceID` INTEGER NOT NULL AUTO_INCREMENT, \n `UserID` INTEGER DEFAULT 0, \n `Invoice_Date` DATETIME, \n `Total_Price` DECIMAL(19,4) DEFAULT 0, \n INDEX (`InvoiceID`), \n PRIMARY KEY (`InvoiceID`), \n INDEX (`UserID`)\n) ENGINE=myisam DEFAULT CHARSET=utf8;\n\nSET autocommit=1;\n\n#\n# Dumping data for table 'Invoices'\n#\n\n# 0 records\n\n#\n# Table structure for table 'Products'\n#\n\nDROP TABLE IF EXISTS `Products`;\n\nCREATE TABLE `Products` (\n `ProductID` VARCHAR(255) NOT NULL, \n `CatID` INTEGER DEFAULT 0, \n `Plant_Name` VARCHAR(255), \n `Description` LONGTEXT, \n `Size` VARCHAR(255), \n `In_Stock` INTEGER DEFAULT 0, \n `Price` DECIMAL(19,4) DEFAULT 0, \n `Order_Quantity` INTEGER DEFAULT 0, \n INDEX (`CatID`), \n UNIQUE (`Plant_Name`), \n PRIMARY KEY (`ProductID`), \n INDEX (`ProductID`)\n) ENGINE=myisam DEFAULT CHARSET=utf8;\n\nSET autocommit=1;\n\n#\n# Dumping data for table 'Products'\n#\n\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('P1', 1, 'Echinecea', 'Beautiful purple daisy like flowers with a bunching habit', '1 Gallon', 48, 12, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('P2', 1, 'Shasta Daisy', 'Beautiful White daisy flowers with a great bunching habit', '1 Gallon', 64, 12, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('P3', 1, 'Sedum \\\"Autumn Joy\\\"', 'A favorite of the bees in the late season. Beautiful pink to rosy red flower heads with great clumping habit', '1 Gallon', 38, 12, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('S1', 2, 'Forsythia', '\\tThese are early spring yellow flowering with an open growing habit', '3 Gallon', 35, 40, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('S2', 2, 'Azalea \\\"Delaware Valley White\\\"', 'This variety of Azalea has a nicce tight growth habit with late season white blossoms', '3 Gallon', 42, 45, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('S3', 2, 'Leather Leaf Viburnum', 'This member of the viburnum family has a leather look to the foliage with early summer season white blooms turning to red berries in fall.', '5 Gallon', 32, 85, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('S4', 2, 'Buddlea \\\"Black Knight\\\"', 'A Butterfly bush with a large growth habit. Bearing dark purple blooms throughout summer.', '3 Gallon', 28, 30, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('E1', 3, 'Hinoki Cypress', 'These ornamental trees are perfect for a Japanese garden. Their life long growth size is 10 x 6 feet', '5 - 6 ft', 24, 150, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('E2', 3, 'Thuja Occ. \\\"Emerald Green\\\"', 'A member of the native arborvitae. These trees will reach a gradual maximum height of 12 - 14 feet', '6 - 8 ft', 30, 200, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('E3', 3, 'Dwarf Gold Thread', 'A member of the camacypress family having a golden color throughout the season. Perfect for an accent plant in any landscape.', '6 - 7 ft', 28, 175, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('D1', 4, 'River Birch', 'A good tree choice for moist locations with a large growth habit having peeling bark of a copper color.', '6 - 7 ft', 42, 150, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('D2', 4, 'Red Bud', 'This tree has a loose growing habit bearing bright purple blossoms in the spring.', '5 - 6 ft', 32, 125, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('D3', 4, 'Silver Maple', 'This tree has a light green foliage in summer and a bright yellow foliage into late fall.', '5 - 6 ft', 35, 155, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('D4', 4, 'Dogwood \\\"Pink Lady\\\"', 'This Dogwood has the truest pink color with a strong branching habit.', '5 - 6 ft', 38, 175, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('P4', 1, 'Liatris', 'This full clumping perennial has large light purple spike blooms', '1 Gallon', 47, 12, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('P5', 1, 'Siberian Iris', 'This perennial has good clumping habit with prolific blooms of purple with golden center', '1 Gallon', 58, 12, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('P6', 1, 'Toadflax', 'A wispy perennial with fine spikes of pink, purple, and white', '1 Gallon', 57, 12, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('P7', 1, 'Rudebekia \\\"Black Eyed Susan\\\"', 'Bright yellow daisy like blooms with good clumping habit', '1 Gallon', 68, 12, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('P8', 1, 'Crocosmia \\\"Lucifer\\\"', 'Tall plant with arching bright red flowers. A favorite of hummingbirds', '1 Gallon', 45, 12, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('P9', 1, 'Stoksia', 'Large frilly purple blooms amass atop this clumping perennial', '1 Gallon', 53, 12, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('P10', 1, 'Perovskia \\\"Russian Sage\\\"', 'This perennial has a shrub like growth habit with tall purple spike flowers', '1 Gallon', 68, 12, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('D5', 4, 'Red Bark Maple', 'This specimen has bright red bark adding interest to winter landscapes', '5 - 6 ft', 43, 160, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('D6', 4, 'Acer Palmatin \\\" Blood Good\\\"', 'This japanese Maple has a large lace cut foliage of dark burgundy', '6 - 8 ft', 54, 220, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('D7', 4, 'Beech', 'This specimen has a good bracnching habit with bright yellow foliage long into fall', '5 - 7 ft', 33, 180, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('D8', 4, 'White Birch', 'This specimen has a nice open growth habit with peeling white bark', '5 - 7 ft', 42, 140, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('D9', 4, 'Dogwood \\\"Fire Chief\\\"', 'This Dogwood has reddish blossoms with a strong branching habit', '5 - 6 ft', 38, 175, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('D10', 4, 'Red Maple', 'This member of the maple family has bright red orasnge foliage in the fall', '5 - 6 ft', 49, 125, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('E4', 3, 'Ilex \\\"Nellie Stevens\\\"', 'This holly has a nice tight growth habit reaching a mature size of 15 x 10 feet', '6 - 8 ft', 47, 160, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('E5', 3, 'Magnolia \\\"Teddy Bear\\\"', 'This specimen has a tight growth habit reaching a mature size of 15 x 8 feet', '5 - 6 ft', 38, 175, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('E6', 3, 'Carolina Hemlock', 'This specimen has short needles and a tight growth habit reaching a mature height of 20 x 10 feet', '7 - 8 ft', 42, 155, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('E7', 3, 'Austrian Pine', 'This specimen has an open branching habit and will reach a mature size of 30 x 15 feet', '7 - 8 ft', 53, 225, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('E8', 3, 'Blue Spruce \\\"Fat Albert\\\"', 'This Blue Spruce specimen has a tight branching habit and will reach a mature height of 14 x 10 feet', '7 - 8 ft', 43, 200, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('E9', 3, 'Deadora Cedar', 'This specimen has a very short needle length and loose growing habit reaching a mature size of 30 x 15 feet', '7 - 8 ft', 48, 185, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('E10', 3, 'White Cedar', 'This specimen has a tight growth habit with a light citrus scent. Reaching a mature size of 25 x 15 feet', '7 - 8 ft', 38, 200, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('S5', 2, 'Ilex \\\"Blue Maid\\\"', 'A member of the blue holly variety with medium green foliage and a tight growth habit', '3 Gallon', 47, 35, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('S6', 2, 'Lilac \\\"Delightful\\\"', 'A tall Shrub with light purple fragrant flowers in spring', '3 Gallon', 53, 25, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('S7', 2, 'Helleri Holly', 'This shrub has a very tight growth habit with tiny foliage of bright green', '3 Gallon', 49, 30, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('S8', 2, 'Oak Leaf Hydrangea', 'This hydrangea has a peeling copper bark and large white to pink blooms in summer', '3 Gallon', 51, 35, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('S9', 2, 'Annabelle Hydrangea', 'This hydrangea has an up right habit and large pom-pom shaped white blooms in summer', '3 Gallon', 63, 30, 0);\nINSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('S10', 2, 'Juniper \\\"Grey Owl\\\"', 'This juniper specimen has a large branching habit with light grey blue foliage', '3 Gallon', 57, 30, 0);\n# 40 records\n\n#\n# Table structure for table 'Users'\n#\n\nDROP TABLE IF EXISTS `Users`;\n\nCREATE TABLE `Users` (\n `UserID` INTEGER NOT NULL AUTO_INCREMENT, \n `First_Name` VARCHAR(255), \n `Last_Name` VARCHAR(255), \n `Email` VARCHAR(255), \n `Address` VARCHAR(255), \n `City` VARCHAR(255), \n `State` VARCHAR(255), \n `Zip_Code` INTEGER DEFAULT 0, \n `Login` VARCHAR(255), \n `Password` VARCHAR(255), \n `Level` VARCHAR(255), \n UNIQUE (`Last_Name`), \n PRIMARY KEY (`UserID`), \n UNIQUE (`UserID`), \n INDEX (`City`), \n UNIQUE (`Zip_Code`)\n) ENGINE=myisam DEFAULT CHARSET=utf8;\n\nSET autocommit=1;\n\n#\n# Dumping data for table 'Users'\n#\n\n# 0 records\n\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}},{"rowIdx":399,"cells":{"blob_id":{"kind":"string","value":"b641b3374dd901c7a02c3c3762dcda4e0a481f20"},"language":{"kind":"string","value":"SQL"},"repo_name":{"kind":"string","value":"zgdkik/springcloud-g"},"path":{"kind":"string","value":"/sql/user_permission.sql"},"src_encoding":{"kind":"string","value":"UTF-8"},"length_bytes":{"kind":"number","value":1709,"string":"1,709"},"score":{"kind":"number","value":3.203125,"string":"3.203125"},"int_score":{"kind":"number","value":3,"string":"3"},"detected_licenses":{"kind":"list like","value":["Apache-2.0"],"string":"[\n \"Apache-2.0\"\n]"},"license_type":{"kind":"string","value":"permissive"},"text":{"kind":"string","value":"/*\n Navicat Premium Data Transfer\n\n Source Server : cat\n Source Server Type : MySQL\n Source Server Version : 50724\n Source Host : 193.112.113.194:3366\n Source Schema : books\n\n Target Server Type : MySQL\n Target Server Version : 50724\n File Encoding : 65001\n\n Date: 26/10/2018 14:01:10\n*/\n\nSET NAMES utf8mb4;\nSET FOREIGN_KEY_CHECKS = 0;\n\n-- ----------------------------\n-- Table structure for user_permission\n-- ----------------------------\nDROP TABLE IF EXISTS `user_permission`;\nCREATE TABLE `user_permission` (\n `id` int(255) NOT NULL AUTO_INCREMENT COMMENT 'ID',\n `role` varchar(25) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户名',\n `function` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,\n `service_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '机能名',\n `visible_function` tinyint(1) NULL DEFAULT NULL COMMENT '功能是否显示',\n `add_function` tinyint(1) NULL DEFAULT NULL COMMENT '数据追加功能',\n `update_function` tinyint(1) NULL DEFAULT NULL COMMENT '数据更新功能',\n `delete_function` tinyint(1) NULL DEFAULT NULL COMMENT '数据删除功能',\n `ctime` timestamp(0) NULL DEFAULT NULL COMMENT '创建时间',\n `utime` timestamp(0) NULL DEFAULT NULL COMMENT '更新时间',\n `operator` varchar(25) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '操作人',\n PRIMARY KEY (`id`) USING BTREE,\n INDEX `Index_1`(`role`) USING BTREE,\n INDEX `Index_2`(`service_id`) USING BTREE\n) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;\n\nSET FOREIGN_KEY_CHECKS = 1;\n"},"download_success":{"kind":"bool","value":true,"string":"true"}}}],"truncated":false,"partial":false},"paginationData":{"pageIndex":3,"numItemsPerPage":100,"numTotalItems":2504412,"offset":300,"length":100}},"jwt":"eyJhbGciOiJFZERTQSJ9.eyJyZWFkIjp0cnVlLCJwZXJtaXNzaW9ucyI6eyJyZXBvLmNvbnRlbnQucmVhZCI6dHJ1ZX0sImlhdCI6MTc1ODE5NDYwNywic3ViIjoiL2RhdGFzZXRzL2hvbmdsaXU5OTAzL3N0YWNrX2VkdV9zcWwiLCJleHAiOjE3NTgxOTgyMDcsImlzcyI6Imh0dHBzOi8vaHVnZ2luZ2ZhY2UuY28ifQ.VMNmGMZDjlrX5zyMdfFGU63Ws4qDHr4UzJX6fuZN1Zuc1sBuV4mYy7CfRHIKfcJC9CeL7ancvgRVs9r8yYRiAA","displayUrls":true},"discussionsStats":{"closed":0,"open":0,"total":0},"fullWidth":true,"hasGatedAccess":true,"hasFullAccess":true,"isEmbedded":false,"savedQueries":{"community":[],"user":[]}}">
    blob_id
    stringlengths
    40
    40
    language
    stringclasses
    1 value
    repo_name
    stringlengths
    5
    133
    path
    stringlengths
    3
    276
    src_encoding
    stringclasses
    33 values
    length_bytes
    int64
    23
    9.61M
    score
    float64
    2.52
    5.28
    int_score
    int64
    3
    5
    detected_licenses
    listlengths
    0
    44
    license_type
    stringclasses
    2 values
    text
    stringlengths
    23
    9.43M
    download_success
    bool
    1 class
    0ace1ea2fd5633d40c995df7b2cc7fe3cc7b4eb3
    SQL
    AdrianSalem/intranet-saiko-sp
    /sp_GetAssociatedCorporative.sql
    UTF-8
    227
    2.6875
    3
    []
    no_license
    CREATE PROCEDURE sp_GetAssociatedCorporative( @idCorporative INT ) AS BEGIN SELECT customerID AS corporativeId, shortName AS shortNameCorporative FROM Customers WHERE customerID = @idCorporative END
    true
    28b1027e2684e06287dbcdde4ea3b4d214d45b06
    SQL
    koothooloo/openfire
    /src/plugins/monitoring/src/database/extras/import_oracle.sql
    UTF-8
    803
    2.59375
    3
    [ "Apache-2.0" ]
    permissive
    TRUNCATE TABLE ofConversation; INSERT INTO ofConversation (conversationID, room, isExternal, startDate, lastActivity, messageCount) SELECT conversationID, room, isExternal, startDate, lastActivity, messageCount FROM entConversation; TRUNCATE TABLE ofConParticipant; INSERT INTO ofConParticipant (conversationID, joinedDate, leftDate, bareJID, jidResource, nickname) SELECT conversationID, joinedDate, leftDate, bareJID, jidResource, nickname FROM entConParticipant; TRUNCATE TABLE ofMessageArchive; INSERT INTO ofMessageArchive (conversationID, fromJID, toJID, sentDate, body) SELECT conversationID, fromJID, toJID, sentDate, body FROM entMessageArchive; TRUNCATE TABLE ofRRDs; INSERT INTO ofRRDs (id, updatedDate, bytes) SELECT id, updatedDate, bytes FROM entRRDs; commit;
    true
    a51def706a58775ded807b602b1d298a148d53c4
    SQL
    tareqjoy/Educational-Institue-Management-DBMS
    /9.6. trigger (autoincreament teacher_info) - Copy.sql
    UTF-8
    366
    3.09375
    3
    []
    no_license
    set serveroutput on create or replace trigger find_id_teacher_info before insert or update of teacher_id on teacher_info for each row declare last_id number(7); begin select max(teacher_id) into last_id from teacher_info; if last_id is null then :new.teacher_id:=1; else :new.teacher_id:=last_id+1; end if; end; /
    true
    e461979cd8b75e67dabd571a4d42367f4c609939
    SQL
    Kibrael/geo_viz
    /sql/s2155_lar_counts_by_county.sql
    UTF-8
    427
    4
    4
    []
    no_license
    SELECT CONCAT(state, county), COUNT(*) FROM s3_out.lar_2018_07_24 WHERE CONCAT(agency_code, respondent_id) IN ( SELECT CONCAT(agency_code, respondent_id) FROM s3_out.lar_2018_07_24 GROUP BY CONCAT(agency_code, respondent_id) HAVING COUNT(*) >=500) AND CONCAT(state,county) NOT LIKE '%NA%' AND state != '' AND county != '' GROUP BY CONCAT(state, county) ORDER BY CONCAT(state, county) ASC
    true
    0ff874679dcf06b8448701f4a1d098df946b914a
    SQL
    tockata/Databases
    /05-Advanced-SQL/16.sql
    UTF-8
    145
    3.15625
    3
    []
    no_license
    CREATE VIEW [Users have been logged in today] AS SELECT Username, FullName FROM Users WHERE CAST(LastLoginTime AS DATE) = CAST(GETDATE() as DATE)
    true
    d0a57c833ee87a428ea89871610c330553c5fa71
    SQL
    ogobrecht/sample-data-sets-for-oracle
    /dvd_rental_store/tables/drs_customer.sql
    UTF-8
    650
    3.09375
    3
    [ "BSD-3-Clause", "MIT" ]
    permissive
    prompt - table drs_customer create table drs_customer ( customer_id integer generated by default on null as identity, store_id integer not null , first_name varchar2(45 char) not null , last_name varchar2(45 char) not null , email varchar2(50 char) default null , address_id integer not null , active number(1,0) default 1 not null , create_date date not null , last_update date not null , -- primary key (customer_id), check (active in (0,1)) );
    true
    7c7de7d199617c3cb33820f3d7092972ba2df20b
    SQL
    ScarZa/new_hrd-OOP-
    /DataBase/hrd(master).sql
    UTF-8
    111,605
    3.140625
    3
    []
    no_license
    -- phpMyAdmin SQL Dump -- version 2.10.3 -- http://www.phpmyadmin.net -- -- โฮสต์: localhost -- เวลาในการสร้าง: 09 เม.ย. 2015 10:37น. -- รุ่นของเซิร์ฟเวอร์: 5.0.95 -- รุ่นของ PHP: 5.1.6 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; -- -- ฐานข้อมูล: `hrd` -- -- -------------------------------------------------------- -- -- โครงสร้างตาราง `customer` -- CREATE TABLE `customer` ( `CustomerID` varchar(4) character set utf8 collate utf8_unicode_ci NOT NULL, `Name` varchar(50) character set utf8 collate utf8_unicode_ci NOT NULL, `Email` varchar(50) character set utf8 collate utf8_unicode_ci NOT NULL, `CountryCode` varchar(2) character set utf8 collate utf8_unicode_ci NOT NULL, `Budget` double NOT NULL, `Used` double NOT NULL, PRIMARY KEY (`CustomerID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin; -- -- dump ตาราง `customer` -- INSERT INTO `customer` VALUES ('1234', 'asfsadfsad', 'adsfasadsf', '11', 1500, 0); -- -------------------------------------------------------- -- -- โครงสร้างตาราง `department` -- CREATE TABLE `department` ( `depId` varchar(4) character set utf8 collate utf8_unicode_ci NOT NULL, `depName` varchar(100) character set utf8 collate utf8_unicode_ci NOT NULL, `depCode` varchar(2) character set utf8 collate utf8_unicode_ci NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin; -- -- dump ตาราง `department` -- INSERT INTO `department` VALUES ('6000', 'ฝ่ายการแพทย์', '60'); INSERT INTO `department` VALUES ('5000', 'สำนักเลขานุการ', '50'); INSERT INTO `department` VALUES ('4000', 'สำนักคุณภาพ', '40'); INSERT INTO `department` VALUES ('3000', 'ฝ่ายเภสัชกรรม', '30'); INSERT INTO `department` VALUES ('2400', 'ฝ่ายสุขภาพจิตสารเสพติด', '24'); INSERT INTO `department` VALUES ('2300', 'ฝ่ายสังคมสงเคราะห์', '23'); INSERT INTO `department` VALUES ('2200', 'ฝ่ายพยาธิวิทยา', '22'); INSERT INTO `department` VALUES ('2100', 'ฝ่ายจิตเวชชุมชน', '21'); INSERT INTO `department` VALUES ('2000', 'ฝ่ายการพยาบาล', '20'); INSERT INTO `department` VALUES ('2003', 'งานผู้ป่วยใน (หญิง) ', '20'); INSERT INTO `department` VALUES ('2002', 'งานผู้ป่วยใน (ชาย) ', '20'); INSERT INTO `department` VALUES ('2001', 'งานผู้ป่วยนอก', '20'); INSERT INTO `department` VALUES ('2004', 'งานจิตเวชฉุกเฉิน', '20'); INSERT INTO `department` VALUES ('1300', 'ฝ่ายพัสดุ', '13'); INSERT INTO `department` VALUES ('1200', 'ฝ่ายการเงินและบัญชี', '12'); INSERT INTO `department` VALUES ('1100', 'สำนักนโยบายและแผนงาน', '11'); INSERT INTO `department` VALUES ('1103', 'งานห้องสมุด', '11'); INSERT INTO `department` VALUES ('1102', 'งานโสตทัศนศึกษา', '11'); INSERT INTO `department` VALUES ('1101', 'งานแผนงานและประเมินผล', '11'); INSERT INTO `department` VALUES ('1104', 'งานเวชระเบียน', '11'); INSERT INTO `department` VALUES ('1000', 'ฝ่ายบริหารงานทั่วไป', '10'); INSERT INTO `department` VALUES ('1007', 'งานคนสวน', '10'); INSERT INTO `department` VALUES ('1005', 'งานยานพาหนะ', '10'); INSERT INTO `department` VALUES ('1006', 'งานพนักงานทำความสะอาด', '10'); INSERT INTO `department` VALUES ('1004', 'งานบริหารทรัพยากรมนุษย์', '10'); INSERT INTO `department` VALUES ('1003', 'งานธุรการ', '10'); INSERT INTO `department` VALUES ('1002', 'งานซ่อมบำรุง', '10'); INSERT INTO `department` VALUES ('1001', 'งานคอมพิวเตอร์', '10'); INSERT INTO `department` VALUES ('7001', 'ฝ่ายจิตวิทยา', '70'); -- -------------------------------------------------------- -- -- โครงสร้างตาราง `education` -- CREATE TABLE `education` ( `education` int(11) NOT NULL, `eduname` varchar(100) character set utf8 collate utf8_unicode_ci NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin; -- -- dump ตาราง `education` -- INSERT INTO `education` VALUES (1, 'ประถมศึกษา (ป.6)'); INSERT INTO `education` VALUES (2, 'มัธยมศึกษาตอนต้น (ม.3)'); INSERT INTO `education` VALUES (3, 'มัธยมศึกษาตอนปลาย ปวช.'); INSERT INTO `education` VALUES (4, 'อนุปริญญา ปวส. '); INSERT INTO `education` VALUES (5, 'ปริญญาตรี'); INSERT INTO `education` VALUES (6, 'ปริญญาโท'); INSERT INTO `education` VALUES (7, 'ปริญาเอก'); INSERT INTO `education` VALUES (99, 'ไม่จำกัดวุฒิการศึกษา'); -- -------------------------------------------------------- -- -- โครงสร้างตาราง `emppersonal` -- CREATE TABLE `emppersonal` ( `empno` int(4) unsigned zerofill NOT NULL auto_increment, `pid` varchar(5) character set utf8 collate utf8_unicode_ci NOT NULL, `idcard` varchar(13) character set utf8 collate utf8_unicode_ci NOT NULL, `pcode` varchar(4) character set utf8 collate utf8_unicode_ci NOT NULL, `firstname` varchar(50) character set utf8 collate utf8_unicode_ci NOT NULL, `lastname` varchar(100) character set utf8 collate utf8_unicode_ci NOT NULL, `sex` varchar(1) character set utf8 collate utf8_unicode_ci NOT NULL, `birthdate` date NOT NULL, `address` varchar(100) character set utf8 collate utf8_unicode_ci NOT NULL, `baan` varchar(100) character set utf8 collate utf8_unicode_ci NOT NULL, `tambol` varchar(100) character set utf8 collate utf8_unicode_ci NOT NULL, `empure` varchar(100) character set utf8 collate utf8_unicode_ci NOT NULL, `provice` varchar(2) character set utf8 collate utf8_unicode_ci NOT NULL, `zipcode` varchar(10) character set utf8 collate utf8_unicode_ci NOT NULL, `empcode` varchar(50) character set utf8 collate utf8_unicode_ci NOT NULL, `empstuc` varchar(2) character set utf8 collate utf8_unicode_ci NOT NULL, `emptype` varchar(2) character set utf8 collate utf8_unicode_ci NOT NULL, `status` varchar(2) character set utf8 collate utf8_unicode_ci NOT NULL, `telephone` varchar(20) character set utf8 collate utf8_unicode_ci NOT NULL, `mobile` varchar(20) character set utf8 collate utf8_unicode_ci NOT NULL, `email` varchar(50) character set utf8 collate utf8_unicode_ci default NULL, `depid` varchar(4) character set utf8 collate utf8_unicode_ci NOT NULL, `education` varchar(2) character set utf8 collate utf8_unicode_ci NOT NULL, `macode` varchar(100) character set utf8 collate utf8_unicode_ci default NULL, `institute` varchar(60) character set utf8 collate utf8_unicode_ci default NULL, `enddate` date NOT NULL, `posid` varchar(4) character set utf8 collate utf8_unicode_ci NOT NULL, `father` varchar(100) character set utf8 collate utf8_unicode_ci default NULL, `mother` varchar(100) character set utf8 collate utf8_unicode_ci default NULL, `spouse` varchar(100) character set utf8 collate utf8_unicode_ci default NULL, `empus` varchar(2) character set utf8 collate utf8_unicode_ci default NULL, `precode` varchar(2) character set utf8 collate utf8_unicode_ci default NULL, `empscan` varchar(100) character set utf8 collate utf8_unicode_ci default NULL, `poseducation` varchar(2) character set utf8 collate utf8_unicode_ci default NULL, `empnote` varchar(150) character set utf8 collate utf8_unicode_ci default NULL, `dateBegin` date default NULL, `dateEnd` date default NULL, PRIMARY KEY (`empno`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=130 ; -- -- dump ตาราง `emppersonal` -- INSERT INTO `emppersonal` VALUES (0094, '1094', '3420100611606', '2', 'ศิริพร', 'แสนสิงห์', '2', '0000-00-00', '74 ม.7', '-', 'น้ำสวย', 'เมือง', '42', '42000', 'คสก.645/43', '01', '1', '1', '-', '-', '-', '2002', '5', 'พยาบาลศาสตร์บัณฑิต', 'วิทยาลัยบรมราชชนนี อุดรธานี', '0000-00-00', '21', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0093, '1093', '100', '3', 'ศิรดา', 'อินทบุญศรี', '2', '0000-00-00', '98 หมู่ 15', '-', 'นาโป่ง', 'เมือง', '42', '42000', '-', '01', '1', '1', '-', '-', '-', '1007', '3', 'พาณิชยการ', 'วิทยาลัยิอาชีวศึกษาเลย', '0000-00-00', '30', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0091, '1091', '3421100084593', '1', 'ศรีสอาด', 'อุทธบูรณ์', '1', '1971-08-06', '88', '2', 'หนองคัน', 'ภูหลวง', '42', '42130', '-', '', '4', '1', '-', '-', '-', '2002', '3', '-', '-', '0000-00-00', '', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0092, '1092', '113', '1', 'ศักดิ์ชัย', 'นนทะศรี', '1', '0000-00-00', '212 หมู่ 2', '-', 'นาอาน', 'เมือง', '42', '42000', '-', '02', '4', '4', '-', '-', '-', '1002', '4', 'ช่างไฟฟ้า', 'วิทยาลัยเทคนิคเลย', '0000-00-00', '24', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0090, '1090', '1420200057281', '3', 'ศรัณญา', 'คำวีระ', '2', '0000-00-00', '198 หมู 3', '-', 'นาด้วง', 'นาด้วง', '42', '42210', '-', '02', '4', '1', '-', '-', '-', '2100', '3', '-', 'โรงเรียนจ่านกร้อง', '0000-00-00', '30', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0089, '1089', '1420100078324', '1', 'วุฒิชัย', 'กันพนม', '1', '0000-00-00', '155 ม.11', 'ฟากนา', 'นาอาน', 'เมือง', '42', '42000', '-', '01', '4', '4', '-', '-', '-', '3000', '3', 'เทคนิคคอมพิวเตอร์', 'วิทยาลัยเทคนิคเลย', '0000-00-00', '25', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0088, '1088', '129', '1', 'วีระยุทธ', 'สออนรัมย์', '1', '1990-01-06', '445 ม. 4', 'ฟากนา', 'นาอาน', 'เมือง', '42', '42000', '-', '01', '4', '', '-', '-', '-', '2002', '3', '-', '-', '0000-00-00', '25', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0087, '1087', '1349900034487', '3', 'วิไลพร', 'กุศกร', '2', '1984-11-13', '278/26', '', '01', 'เมือง', '42', '42000', '-', '01', '4', '1', '-', '-', '-', '2003', '5', 'พยาบาลศาสตร์บัณฑิต', '-', '0000-00-00', '31', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0085, '1085', '117', '1', 'วิทยา', 'ทุมสวัสดิ์', '1', '0000-00-00', '85 หมู่1', '-', 'นาอาน', 'เมือง', '42', '42000', '-', '01', '4', '4', '-', '-', '-', '1007', '1', '-', '-', '0000-00-00', '38', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0086, '1086', '5720100038292', '1', 'วิรัช', 'วัฒนา', '1', '0000-00-00', '440 หมู่ 4', '-', 'นาอาน', 'เมือง', '42', '42000', '-', '01', '1', '1', '-', '-', '-', '2400', '5', 'การพยาบาล', 'วิทยาลัยพยาบาลบรมราชชนนีศรีธัญญา', '0000-00-00', '33', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0084, '1084', '3420100004815', '3', 'วรีรัตน์', 'ซ้อนจันดี', '2', '0000-00-00', '26 หมู่ 1', '-', 'เมือง', 'เมือง', '42', '42000', '460/2544', '01', '1', '2', '-', '-', '-', '2400', '5', 'การพยาบาล', 'วิทยาลัยพยาบาลบรมราชชนนี นนทบุรี', '0000-00-00', '32', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0083, '1083', '3421100085671', '2', 'วริษา', 'บุษราคัม', '2', '1980-09-18', '63', '4', '02', 'เมือง', '42', '42000', '-', '01', '1', '2', '-', '-', '-', '2002', '5', 'พยาบาลศาสตร์บัณฑิต', '-', '0000-00-00', '33', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0081, '1081', '3640500454654', '1', 'วราพงษ์', 'กำไร', '1', '0000-00-00', '50', '-', 'หาดเลี้ยว', 'เมือง', '64', '64130', '203/2544', '01', '1', '1', '-', '-', '-', '7001', '5', 'จิตวิทยา', 'มหาวิทยาลัยเชียงใหม่', '0000-00-00', '16', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0082, '1082', '3421100084623', '2', 'วราภรณ์', 'อุทธบูรณ์', '2', '1977-03-17', '62/6', '9', '02', 'ภูหลวง', '42', '42130', '', '01', '4', '2', '-', '-', '-', '2003', '3', '-', '-', '0000-00-00', '23', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0080, '1080', '3559900151747', '1', 'วรพงษ์', 'ศรีสิทธิพจน์', '1', '0000-00-00', '3/1-2', '-', 'หายยา', 'เมือง', '50', '-', '-', '01', '1', '1', '-', '-', '-', '6000', '5', '-', 'ม.เชียงใหม่', '0000-00-00', '22', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0079, '1079', '5421000004284', '1', 'วรเชษฐ์', 'ไผ่นอก', '1', '1983-04-28', '94', '2', '01', 'หนองหิน', '42', '42130', '-', '', '4', '', '-', '-', '-', '2002', '5', '-', '-', '0000-00-00', '24', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0078, '1078', '3420100377590', '3', 'ลินดา', 'ภูลายดอก', '2', '0000-00-00', '167 หมู่่ 14', '-', 'นาโป่ง', 'เมือง', '42', '42000', '-', '02', '4', '2', '-', '-', '-', '5000', '5', '-', '-', '0000-00-00', '25', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0077, '1077', '3449900187475', '1', 'ลิขิตพงษ์', 'วรจินดา', '1', '0000-00-00', '55', '-', 'กุดป่อง', 'เมือง', '42', '42000', '645/2543', '02', '1', '1', '-', '-', '-', '1104', '4', 'เวชสถิติ', 'วิทยาลัยเทคโนโลยีทางการแพทย์และสาธารณสุขกาญจนาภิเษก', '0000-00-00', '5', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0076, '1076', '3720900310683', '1', 'ราเชนทร์', 'แจ้งสว่าง', '1', '1980-08-10', '306', '4', '07', 'เมือง', '42', '42000', '-', '01', '4', '2', '-', '-', '-', '2003', '3', '-', '-', '0000-00-00', '25', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0075, '1075', '1420100028386', '3', 'รัตนาพร', 'สร้อยจันดา', '2', '1986-03-21', '368', '11', '07', 'เมือง', '42', '42000', '-', '01', '4', '1', '-', '-', '-', '2003', '5', '-', '-', '0000-00-00', '25', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0074, '1074', '3420100074481', '3', 'รัตนา', 'จิตมั่น', '2', '1977-02-26', '25', '2', '13', 'เมือง', '42', '42000', '-', '01', '3', '2', '-', '-', '-', '2002', '5', 'พยาบาลศาสตร์บัณฑิต', '-', '0000-00-00', '31', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0073, '1073', '3420900788608', '3', 'รัชนี', 'คุณนา', '2', '1980-03-14', '8', '2', '11', 'วังสะพุง', '42', '42130', '', '01', '1', '', '-', '-', '-', '2003', '5', 'พยาบาลศาสตร์บัณฑิต', '-', '0000-00-00', '33', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0072, '1072', '3570101617348', '3', 'รภัทรธรณ์', 'ใจทน', '2', '1975-07-14', '440', '4', '07', 'เมือง', '42', '42000', '-', '01', '1', '1', '-', '-', '-', '2002', '5', 'พยาบาลศาสตร์บัณฑิต', '-', '0000-00-00', '33', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0071, '1071', '3420100152920', '2', 'เยาวลักษณ์', 'ตั้งวงศ์', '2', '1979-07-23', '28', '2', '11', 'เมือง', '42', '42000', '-', '01', '1', '2', '-', '-', '-', '2002', '5', 'พยาบาลศาสตร์บัณฑิต', '-', '0000-00-00', '33', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0070, '1070', '114', '1', 'ยุทธนา', 'น้อยมนตรี', '1', '0000-00-00', '48 หมู่ 1', '-', 'เมือง', 'เมือง', '42', '42000', '-', '02', '1', '2', '-', '-', '-', '1002', '5', 'วิศวกรรมไฟฟ้า', 'มหาวิทยาลัยภาคตะวันออกเฉียงเหนือ', '0000-00-00', '13', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0069, '1069', '116', '1', 'มาวิน', 'กุลสิม', '1', '0000-00-00', '217 หมู่ 11', '-', 'นาอาน', 'เมือง', '42', '42000', '-', '02', '4', '1', '-', '-', '-', '1006', '1', '-', '-', '0000-00-00', '26', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0068, '1068', '3420100388583', '1', 'มานัส', 'ภักดีมี', '1', '0000-00-00', '208 หมู่ 7', 'หัวนา', 'นาโป่ง', 'เมือง', '42', '42000', '-', '02', '4', '4', '-', '-', '-', '1000', '4', 'การบัญชี', '-', '0000-00-00', '24', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0067, '1067', '3420100545581', '3', 'มนันญา', 'วาที', '2', '0000-00-00', '215 ม.14', '-', 'นาดินดำ', 'เมือง', '42', '42000', 'คสก.645/43', '01', '1', '1', '-', '-', '-', '2002', '5', 'พยาบาลศาสตร์บัณฑิต', 'วิทยาลัยพยาบาลอุดรธานี', '0000-00-00', '32', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0065, '1065', '1401600127813', '1', 'ภานุพงษ์', ' แก้วคร', '1', '1988-11-22', '134', '3', '02', '16', '40', '-', '', '01', '3', '1', '-', '-', '-', '2002', '5', '-', '-', '0000-00-00', '31', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0066, '1066', '3540100076556', '1', 'ภูวดล', 'อ่อนน้อม', '1', '0000-00-00', '68/1 หมู่ 6', '-', 'ทุ่งโฮ่ง', 'เมือง', '54', '54000', '459/2551', '01', '1', '1', '-', '-', '-', '2300', '5', 'สังคมสังเคราะห์และสวัสดิการสังคม', 'มหาวิทยาลัยหัวเฉียวเฉลิมพระเกียรติ', '0000-00-00', '20', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0064, '1064', '3400100485481', '1', 'ภาณุพงศ์', 'ศุกรนันทน์', '1', '0000-00-00', '51 หมู่ 11', '-', 'นาอาน', 'เมือง', '42', '42000', '-', '02', '3', '2', '-', '-', '-', '1200', '3', 'ช่างยนต์', 'วิทยาลัยเทคนิคเลย', '0000-00-00', '9', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0063, '1063', '3429900071019', '2', 'เพ็ญสุดา', 'ไชยเมือง', '2', '0000-00-00', '440 หมู่ 4', '-', 'นาอาน', 'เมือง', '42', '42000', '1592/34', '01', '1', '1', '-', '-', '-', '2100', '6', 'การพยาบาลสุขภาพจิตและจิตเวช', 'มหาวิทยาลัยขอนแก่น', '0000-00-00', '33', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0062, '1062', '1730660002639', '1', 'พูนพัฒน์', 'กมลวุฒิพงศ์', '1', '1990-01-05', '444 ม. 4', 'ฟากนา', 'นาอาน', 'เมือง', '42', '42000', '-', '01', '1', '', '-', '-', '-', '6000', '5', 'แพทศาสตร์', '-', '0000-00-00', '22', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0061, '1061', '3420600027121', '3', 'พุฒิชาดา', 'จันทะคุณ', '2', '0000-00-00', '440 หมู่ 4', '-', 'นาอาน', 'เมือง', '42', '42000', '460/2544', '01', '1', '1', '-', '-', '-', '2100', '5', 'การพยาบาล', 'วิทยาลัยพยาบาลบรมราชชนนี นนทบุรี', '0000-00-00', '33', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0060, '1060', '104', '2', 'พิสมัย', 'ไชยมานันต์', '1', '0000-00-00', '6 หมู่ 2', '-', 'นาโป่ง', 'เมือง', '42', '42000', '-', '02', '4', '2', '-', '-', '-', '1300', '4', 'การบัญชี', 'โรงเรียนเมืองเลยเทคโนโลยี', '0000-00-00', '30', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0059, '1059', '3420100023909', '3', 'พิยะดา', 'หาชัยภูมิ', '2', '1981-11-04', '178/1', '-', '01', 'เมือง', '42', '42000', '-', '01', '1', '2', '-', '-', '-', '6000', '5', '-', '-', '0000-00-00', '22', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0058, '1058', '1369900084905', '1', 'พิชญ์พงศ์', 'คงนาวัง', '1', '0000-00-00', '291/1 ถ.บูรพา', '-', 'ในเมือง', 'เมือง', '36', '36000', '351/2555', '01', '3', '1', '-', '-', '-', '3000', '5', 'เภสัชกรรม', 'มหาวิทยาลัยขอนแก่น', '0000-00-00', '34', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0057, '1057', '3420100360981', '2', 'พจนา', 'รามศิริ', '1', '0000-00-00', '60 ม.13', 'หัวนา', 'นาโป่ง', 'เมือง', '42', '42000', '-', '01', '4', '2', '-', '-', '-', '2001', '4', 'การบัญชี', 'โรงเรียนเทคโนโลยีเลยบริหารธุรกิจ', '0000-00-00', '30', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0056, '1056', '3349900063777', '2', 'ผ่องพรรณ', 'อ้วนพรมมา', '2', '0000-00-00', '178', '-', 'นาอาน', 'เมือง', '42', '42000', 'สป.3232/2528', '01', '1', '1', '-', '-', '-', '2000', '5', 'พยาบาลศาสตร์บัณฑิต', 'วิทยาลัยพยาบาลสรรพสัทรัปณรงค์', '0000-00-00', '32', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0055, '1055', '105', '2', 'ปาลิดา', 'โสมาศรี', '2', '0000-00-00', '11', '-', 'นาอาน', 'เมือง', '42', '42000', '143/2544', '02', '2', '2', '-', '-', '-', '1300', '5', 'คอมพิวเตอร์ศึกษา', 'มหาวิทยาลัยราชภัฏเลย', '0000-00-00', '29', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0053, '1053', '3420100580247', '1', 'ปริญญา', 'จันทนา', '1', '0000-00-00', '28 ถ.เลยด่านซ้าย', '-', 'น้ำหมาน', 'เมือง', '42', '42000', '-', '01', '4', '2', '-', '-', '-', '2001', '3', 'ทั่วไป', 'การศึกษานอกโรงเรียน', '0000-00-00', '25', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0054, '1054', '3420900183641', '2', 'ปาณิสรา', 'อินทร์กันทุม', '2', '1979-08-09', '77/1', '10', '12', 'ภูหลวง', '42', '42130', '-', '01', '1', '1', '-', '-', '-', '2002', '5', 'พยาบาลศาสตร์บัณฑิต', '-', '0000-00-00', '', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0052, '1052', '106', '1', 'ประวิทย์', 'โสกัณทัต', '2', '0000-00-00', '274 หมู่ 2', '-', 'นาอาน', 'เมือง', '42', '42000', '-', '02', '4', '1', '-', '-', '-', '1300', '4', 'การบัญชี', 'โรงเรียนเทคโนโลยีเลยบริหารธุรกิจ', '0000-00-00', '30', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0051, '1051', '121', '2', 'ประภาศรี', 'ภักดีมี', '2', '0000-00-00', '208 หมู่ 7', 'หัวนา', 'นาโป่ง', 'เมือง', '42', '42000', '-', '02', '4', '2', '-', '-', '-', '1000', '5', 'การบัญชี', 'มหาวิทยาลัยราชภัฏเลย', '0000-00-00', '30', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0050, '1050', '3429900083220', '3', 'ประภารัตน์', 'ลาวัณย์ศิริ', '2', '0000-00-00', '3/6-7', '-', 'กุดป่อง', 'เมือง', '42', '42000', 'คสก. 681/44', '01', '1', '1', '-', '-', '-', '3000', '5', 'เภสัชกรรม', 'มหาวิทยาลัยรังสิต', '0000-00-00', '35', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0049, '1049', '3449900219690', '2', 'ประชุมพร', 'ปิ่นคำ', '2', '1990-01-04', '443 ม. 4', 'ฟากนา', 'นาอาน', 'เมือง', '42', '42000', '-', '01', '1', '', '-', '-', '-', '2002', '5', 'พยาบาลศาสตร์บัณฑิต', '-', '0000-00-00', '32', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0048, '1048', '3640400067594', '3', 'เบ็ญจา', 'นิ่มนวล', '2', '0000-00-00', '73/2 หมู่ 5', '-', 'กง', 'กงไกรลาศ', '64', '64170', '347/42', '01', '1', '1', '-', '0822295467', '[email protected]', '4000', '5', 'การพยาบาล', 'วพ.บรมราชชนนี ศรีธัญญา', '0000-00-00', '32', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0047, '1047', '3429900091117', '3', 'บุศรินทร์', 'วงษ์ลา', '2', '0000-00-00', '16/34', '-', 'กุดป่อง', 'เมือง', '42', '42000', '316/45', '02', '1', '2', '-', '-', '-', '1200', '5', 'การบัญชี', 'มหาวิทยาลัยวงษ์ชวลิตกุล', '0000-00-00', '2', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0046, '1046', '127', '1', 'บุญมี', 'วัฒนากร', '1', '1990-01-03', '442 ม. 4', 'ฟากนา', 'นาอาน', 'เมือง', '42', '42000', '-', '02', '1', '', '-', '-', '-', '1000', '5', '-', '-', '0000-00-00', '13', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0045, '1045', '5421100030031', '3', 'นุชนาถ', 'ศรีหนารถ', '2', '0000-00-00', '75', '-', 'เลยวังไสย์', 'ภูหลวง', '42', '42130', '-', '02', '4', '1', '-', '-', '-', '1104', '3', 'การบัญชี', 'โรงเรียนเทคโนโลยีเลยบริหารธุรกิจ', '0000-00-00', '23', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0044, '1044', '1420100015535', '3', 'นุจรี', 'วัดศรีทานัง', '2', '0000-00-00', '173', 'ฟากนา', 'นาอาน', 'เมือง', '42', '42000', '-', '01', '1', '1', '-', '-', '-', '3000', '4', 'คอมพิวเตอร์', 'วิทยาลัยอาชีวเลย', '0000-00-00', '30', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0043, '1043', '3420100757171', '3', 'นิกาณ์', 'พรมลารักษ์', '2', '0000-00-00', '164', '-', 'กกดู่', 'เมือง', '42', '42000', '645/43', '02', '1', '1', '-', '-', '-', '2200', '5', 'เทคนิคการแพทย์', 'มหาวิทยาลัยเชียงใหม่', '0000-00-00', '1', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0042, '1042', '125', '3', 'นันทิดา', 'อาจแก้ว', '2', '0000-00-00', '67/8', '-', 'นาดินคำ', 'เมือง', '42', '42000', '039/2553', '02', '4', '2', '-', '-', '-', '4000', '5', '-', 'มหาวิทยาลัยราชภัฏเลย', '0000-00-00', '30', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0040, '1040', '342090075654', '3', 'นพรัตน์', 'ราตบุตร', '2', '0000-00-00', '55', '-', 'ปากปวน', 'วังสะพุง', '42', '42300', '-', '01', '4', '1', '-', '087-2277813', '-', '2001', '4', 'การบัญชี', 'วิทยาลัยอาชีวเลย', '0000-00-00', '25', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0041, '1041', '3420100237437', '2', 'นฤมล', 'แจ้งสว่าง', '2', '1979-10-14', '305', '4', '07', 'เมือง', '42', '42000', '-', '01', '4', '2', '-', '-', '-', '2002', '3', '-', '-', '0000-00-00', '25', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0039, '1039', '134', '2', 'นงลักษณ์', 'เวธิตะ', '2', '1990-01-02', '441 ม. 4', 'ฟากนา', 'นาอาน', 'เมือง', '42', '42000', '-', '01', '4', '', '-', '-', '-', '2004', '1', '-', '-', '0000-00-00', '', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0037, '1037', '3489900155387', '1', 'ธวัชชัย', 'ศิริสวัสดิ์', '1', '1972-11-13', '440', '4', '07', 'เมือง', '42', '42000', '-', '01', '2', '2', '-', '-', '-', '2002', '5', '-', '-', '0000-00-00', '25', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0038, '1038', '3420900206323', '3', 'นงค์รัก', 'ตะพานบุญ', '2', '0000-00-00', '227 ม.2', '-', 'เขาหลวง', 'วังสะพุง', '42', '42300', 'คสก. 460/44', '01', '1', '1', '-', '-', '-', '2001', '5', 'พยาบาลศาสตร์บัณฑิต', 'วิทยาลัยพยาบาลบรมราชชนนีนครพนม', '0000-00-00', '32', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0036, '1036', '3649900086061', '3', 'ธรารัตน์', 'ทัดสอน', '2', '0000-00-00', '30/6', '-', 'ธานี', 'เมือง', '64', '64000', '-', '01', '3', '1', '-', '-', '-', '2300', '5', 'สังคมสังเคราะห์และสวัสดิการสังคม', 'มหาวิทยาลัยหัวเฉียวเฉลิมพระเกียรติ', '0000-00-00', '19', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0035, '1035', '3420100279172', '1', 'ธนฐาน', 'ทิพสุวรรณ', '1', '0000-00-00', '34 หมู่ 2', '-', 'นาอาน', 'เมือง', '42', '42000', '-', '02', '4', '1', '-', '-', '-', '1104', '4', 'การบัญชี', 'โรงเรียนเทคโนโลยีเลยบริหารธุรกิจ', '0000-00-00', '30', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0034, '1034', '3420100234101', '1', 'ทวีศักดิ์', 'ผู้พึ่งธรรมคุณ', '1', '0000-00-00', '17 หมู่ 11', '-', 'นาอาน', 'เมือง', '42', '42000', '-', '01', '4', '1', '-', '-', '-', '1104', '3', '-', 'โรงเรียนเลยอนุกูลวิทยา', '0000-00-00', '23', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0033, '1033', '1420900039668', '3', 'ดวงพร', 'ศรีสมพาน', '2', '0000-00-00', '4 หมู่ 4', '-', 'น้ำสวย', 'เมือง', '42', '42000', '-', '02', '4', '1', '-', '-', '-', '1104', '3', '-', 'โรงเรียนศรีสงครามวิทยา', '0000-00-00', '25', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0032, '1032', '3429900028016', '3', 'ดวงใจ', 'คำสิงห์', '2', '0000-00-00', '11/22', '-', 'กุดป่อง', 'เมือง', '42', '42000', '-', '02', '4', '1', '-', '-', '-', '2400', '4', 'การบัญชี', 'โรงเรียนเทคโนโลยีเลยบริหารธุรกิจ', '0000-00-00', '30', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0031, '1031', '3160200318911', '3', 'ณัฐชา', 'คำผง', '2', '0000-00-00', '119 หมู่ 11', '-', 'นาอาน', 'เมือง', '42', '42000', '-', '02', '4', '1', '-', '-', '-', '1100', '4', 'คอมพิวเตอร์ธุรกิจ', 'โรงเรียนเทคนิคบริหารธุรกิจกรุงเทพ', '0000-00-00', '30', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0030, '1030', '122', '2', 'ณัฐชยา', 'มูลเจริญพร', '2', '0000-00-00', '161/11', '-', 'วังสะพุง', 'วังสะพุง', '42', '42130', '-', '02', '1', '2', '-', '-', '-', '1004', '5', '-', 'วิทยาลัยบัณฑิตธุรกิจ', '0000-00-00', '3', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0029, '1029', '3120101117152', '1', 'ณัฐกร', 'จำปาทอง', '1', '0000-00-00', '123/2000 หมู่ 16', '-', 'ในเมือง', 'เมือง', '12', '11000', '-', '01', '1', '1', '-', '-', '-', '6000', '5', 'การแพทย์', 'มหาวิทยาลัยขอนแก่น', '0000-00-00', '21', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0028, '1028', '3179900149100', '2', 'ณัฎฐพัชร', 'สุนทรโรวิทย์', '2', '1978-12-07', '440', '4', '07', 'เมือง', '42', '42000', '-', '01', '1', '2', '-', '-', '-', '2002', '6', 'พยาบาลศาสตร์บัณฑิต', '-', '0000-00-00', '32', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0027, '1027', '3420100340432', '1', 'ณัชญ์พิจักษณ์', 'พรมพินิจ', '1', '1979-11-22', '103', '2', '12', 'วังสะพุง', '42', '42130', '', '01', '4', '', '-', '-', '-', '2002', '5', '-', '-', '0000-00-00', '25', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0026, '1026', '3760100650323', '1', 'ณรงค์', 'ตั้งวงศ์', '1', '0000-00-00', '77 ม.9', '-', 'ไร่ส้ม', 'เมือง', '76', '-', 'วสก.460/44', '01', '1', '2', '-', '-', '-', '2001', '5', 'การพยาบาล', 'วิทยาลัยบรมราชชนนี ศรีธัญญา', '0000-00-00', '32', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0025, '1025', '3420100377107', '2', 'ญาณิศา', 'จันทะวงศ์', '2', '0000-00-00', '152', 'ติ้วน้อย', 'นาโป่ง', 'เมือง', '42', '42000', '645/43', '01', '1', '2', '-', '-', '-', '3000', '4', 'เทคนิคเภสัชกรรม', 'วิทยาลัยการสาธารสุขสิรินธร', '0000-00-00', '4', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0024, '1024', '1409900292591', '3', 'ชื่นนภา', 'ชัชวาลย์', '2', '0000-00-00', '81 ถ.เลยด่านซ้าย', '-', 'กุดป่อง', 'เมือง', '42', '42000', 'คกส 904/54', '01', '1', '1', '-', '-', '-', '3000', '5', 'เภสัชกรรม', 'มหาวิทยาลัยขอนแก่น', '0000-00-00', '34', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0022, '1022', '1420200040973', '1', 'ชาตรี', 'อาจแก้ว', '1', '0000-00-00', '166 ม.3', '-', 'นาด้วง', 'นาด้วง', '42', '42210', '-', '01', '4', '1', '-', '-', '-', '2004', '3', 'เครื่องกล', 'วิทยาลัยเทคนิคเลย', '0000-00-00', '25', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0023, '1023', '103', '3', 'ชินสุดา', 'รุ่งเรือง', '2', '0000-00-00', '317 หมู่ 7', '-', 'เมือง', 'เมือง', '42', '42000', '-', '02', '1', '1', '-', '-', '-', '1200', '5', 'การบัญชี', 'มหาวิทยาลัยมหาสารคาม', '0000-00-00', '18', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0021, '1021', '3301600257633', '1', 'ชาญชัย', 'ธรรมงาม', '1', '0000-00-00', '16 ม.2', '-', 'ห้วยแคน', 'ห้วยแถลง', '30', '30240', 'คสก. 460/44', '01', '1', '1', '-', '-', '-', '2004', '6', 'พยาบาลศาสตร์บัณฑิต', 'วิทยาลัยบรมราชชนนี ศรีธัญญา', '0000-00-00', '32', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0020, '1020', '3420500066672', '1', 'ชัยศักดิ์', 'ศรีภูมิ', '1', '0000-00-00', '62 หมู่ 1', '-', 'นาหอ', 'ด่านซ้าย', '42', '42120', '460/2544', '01', '1', '1', '-', '-', '-', '2400', '5', 'การพยาบาล', 'วิทยาลัยพยาบาลบรมราชชนนนีนครพนม', '0000-00-00', '33', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0019, '1019', '3421100084640', '1', 'ชยากร', 'ผาทองดี', '1', '1982-12-24', '87', '2', '02', 'ภูหลวง', '42', '42130', '-', '01', '4', '2', '-', '-', '-', '2002', '3', '-', '-', '0000-00-00', '25', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0018, '1018', '3429900198418', '1', 'ชยพล', 'สันติวรากร', '1', '0000-00-00', '7/2', '-', 'กุดป่อง', 'เมือง', '42', '42000', '-', '02', '3', '1', '-', '-', '-', '1102', '5', 'เทคโนโลยีอุตสาหกรรม(เทคโนโลยีอิเล็กทรอนิคส์)', 'มหาวิทยาลัยราชภัฏเลย', '0000-00-00', '13', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0017, '1017', '3480700652133', '1', 'ชนาธิป', 'จันทะวงศ์', '1', '0000-00-00', '152', 'ติ้วน้อย', 'นาโป่ง', 'เมือง', '42', '42000', '-', '02', '4', '2', '-', '-', '-', '3000', '4', 'คอมพิวเตอร์', 'เทคนิคภาคตะวันออกเฉียงเหนือ', '0000-00-00', '10', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0016, '1016', '3420100530797', '2', 'ไฉนพร', 'ปิ่นเจริญ', '2', '0000-00-00', '84 ม.6', 'หนองผำ', 'นาดินดำ', 'เมือง', '42', '42000', 'คสก. 607/45', '01', '1', '1', '-', '-', '-', '2004', '5', 'พยาบาลศาสตร์บัณฑิต', 'วิทยาลัยบรมราชชนนี สระบุรี', '0000-00-00', '32', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0014, '1014', '5420590030024', '2', 'ฉลองรัตน์', 'ศรีพรหม', '2', '1979-10-16', '26', '8', '01', 'ด่านซ้าย', '42', '42120', '', '01', '1', '2', '-', '-', '-', '2004', '5', 'พยาบาลศาสตร์บัณฑิต', '-', '0000-00-00', '33', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0015, '1015', '4420500001978', '2', 'ฉันทนา', 'ภาคเจริญ', '2', '1979-05-04', '116/6', '-', '05', 'ด่านซ้าย', '42', '42120', '', '01', '1', '2', '-', '-', '-', '2003', '5', 'พยาบาลศาสตร์บัณฑิต', '-', '0000-00-00', '33', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0013, '1013', '3410800280904', '2', 'เจตนิพิฐ', 'สุวรรณไกรษร', '2', '1990-01-01', '440 ม. 4', 'ฟากนา', 'นาอาน', 'เมือง', '42', '42000', '-', '01', '1', '', '-', '-', '-', '2002', '5', 'พยาบาลศาสตร์บัณฑิต', '-', '0000-00-00', '33', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0012, '1012', '101', '3', 'จุรีรัชต์', 'ทิพรส', '2', '0000-00-00', '106หมู่8', '-', 'เมือง', 'เมือง', '42', '42000', '590/2541', '01', '2', '2', '-', '-', '-', '1200', '5', 'บริหารธุรกิจการเกษตร', 'มหาวิทยาลัยแม่โจ้', '0000-00-00', '28', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0011, '1011', '119', '1', 'จีระศักดิ์', 'สุภีคำ', '1', '0000-00-00', '187 ม.1', 'กลาง', 'หนองหญ้าปล้อง', 'วังสะพุง', '42', '42130', '-', '01', '4', '2', '-', '0832832778', '-', '3000', '3', 'ช่างอุตสาหกรรม', 'วิทยาลัยเทคนิคอุดรธานี', '0000-00-00', '25', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0010, '1010', '5420900002597', '2', 'จันจิลา', ' เสนารักษ์', '2', '1979-06-25', '31', '-', '05', 'วังสะพุง', '42', '42130', '', '01', '1', '', '-', '-', '-', '2002', '5', 'พยาบาลศาสตร์บัณฑิต', '-', '0000-00-00', '33', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0008, '1008', '1420100058455', '3', 'เข็มพร', 'วงษ์ไทย', '2', '1986-06-19', '87', '4', '07', 'เมือง', '42', '42000', '-', '01', '4', '2', '-', '-', '-', '2003', '5', '-', '-', '0000-00-00', '25', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0009, '1009', '1420100005599', '2', 'คำคิด', 'นันทะพรม', '2', '0000-00-00', '308 หมู่ 7', '-', 'นาโป่ง', 'เมือง', '42', '42000', '-', '02', '4', '1', '-', '-', '-', '2300', '4', 'การบัญชี', 'วิทยาลัยอาชีวศึกษาเลย', '0000-00-00', '30', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0007, '1007', '102', '2', 'ขัตติยา', 'วัฒนา', '2', '0000-00-00', '440 หมู่ 4', '-', 'นาอาน', 'เมือง', '42', '42000', '443/2544', '02', '2', '2', '-', '-', '-', '1200', '4', 'การบัญชี', 'วิทยาลัยพาณิชยการบึงพระพิษณุโลก', '0000-00-00', '29', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0006, '1006', '3411100122436', '2', 'กานต์พิชชา', 'อธิพรหม', '2', '0000-00-00', '44 ม.6', '-', 'ถ่อนนาลับ', 'บ้านดุงง', '41', '41190', 'คสก.506/46', '01', '1', '1', '-', '-', '-', '2002', '5', 'พยาบาลศาสตร์บัณฑิต', 'วิทยาลัยบรมราชชนนี ศรีธัญญา', '0000-00-00', '32', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0005, '1005', '112', '1', 'กัมปนาท', 'บุตรจันทร์', '1', '0000-00-00', '292หมู่9', '-', 'วังสะพุง', 'วังสะพุง', '42', '42130', '-', '02', '4', '1', '-', '-', '-', '1001', '5', 'วิศวกรรมคอมพิวเตอร์', 'มหาวิทยาลัยเทคโนโลยีราชมงคลธัญบุรี', '0000-00-00', '7', '-', '-', '-', NULL, '', '', '1', NULL, '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0004, '1004', '1429900078319', '1', 'กฤษดา', 'ภักมี', '1', '1987-12-18', '97', '14', '08', 'เมือง', '42', '42000', '-', '01', '4', '1', '-', '-', '-', '2002', '3', '-', '-', '0000-00-00', '25', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0003, '1003', '126', '3', 'กรวิกา', 'วัดสีทานัง', '2', '0000-00-00', '53 ม.11', 'บง', 'นาโป่ง', 'เมือง', '42', '42000', '-', '01', '4', '1', '-', '-', '-', '6000', '4', 'เทคนิคการผลิตเครื่องนุ่งห่ม', 'วิทยลัยอาชีวศึกษา', '0000-00-00', '30', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0002, '1002', '3571200013697', '3', 'กรรณิการ์', 'ชื่นสมบัติ', '2', '0000-00-00', '76/1 ม.5', '-', 'แม่จั้วะ', 'เด่นชัย', '54', '34110', 'คสก. 460/44', '01', '1', '1', '-', '-', '-', '2002', '5', 'พยาบาลศาสตร์บัณฑิต', 'วิทยาลัยพยาบาลบรมราชชนนีกรุงเทพ', '0000-00-00', '32', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0001, '1001', '107', '3', 'กรรณิกา', 'อักษรทอง', '2', '0000-00-00', '47 หมู่ 3', '-', 'โพนสา', 'ท่าบ่อ', '43', '10240', '-', '01', '4', '1', '-', '-', '-', '7001', '5', 'จิตวิทยาคลินิกและชุมชน', 'มหาวิทยาลัยรามคำแหง', '0000-00-00', '15', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0095, '1095', '124', '3', 'ศิริรัตน์', 'ภูแดนผา', '2', '0000-00-00', '74 หมู่ 2', 'นาโป่ง', 'นาโป่ง', 'เมือง', '42', '4200', '089', '02', '1', '1', '-', '-', '-', '1004', '4', 'การบัญชี', 'มหาวิทยาลัยราชมงคลกรุงเทพ', '0000-00-00', '30', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0096, '1096', '130', '3', 'สกาวฟ้า', 'หมื่นกุดเลาะ', '2', '1990-01-07', '446 ม. 4', 'ฟากนา', 'นาอาน', 'เมือง', '42', '42000', '-', '01', '4', '', '-', '-', '-', '2002', '3', '-', '-', '0000-00-00', '25', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0097, '1097', '342100039442', '1', 'สงคราม', 'อินทร์เพชร', '1', '0000-00-00', '440 หมู่ 4', '-', 'นาอาน', 'เมือง', '42', '42000', '460/2544', '01', '1', '1', '-', '-', '-', '2100', '5', 'การพยาบาล', 'วิทยาลัยพยาบาลบรมราชชนนี นนทบุรี', '0000-00-00', '33', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0098, '1098', '3420500283312', '3', 'สมจินตนา', 'สีนอยขาว', '2', '1979-09-21', '33', '-', '08', 'ด่านซ้าย', '42', '42120', '', '01', '1', '2', '-', '-', '-', '2004', '5', 'พยาบาลศาสตร์บัณฑิต', '-', '0000-00-00', '33', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0099, '1099', '131', '1', 'สมชาย', 'รามศิริ', '1', '1990-01-08', '447 ม. 4', 'ฟากนา', 'นาอาน', 'เมือง', '42', '42000', '-', '02', '4', '', '-', '-', '-', '2002', '3', '-', '-', '0000-00-00', '25', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0100, '1100', '111', '1', 'สมพงษ์', 'จุ้มกายี', '1', '0000-00-00', '6 หมู่ 7', 'บ้านน้อยสนามบิน', 'เมือง', 'เมือง', '42', '42000', '-', '02', '4', '4', '-', '-', '-', '1000', '3', '-', '-', '0000-00-00', '24', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0101, '1101', '118', '1', 'สมเลือก', 'สุธงษา', '1', '0000-00-00', '380 หมู่ 4', '-', 'นาอาน', 'เมือง', '42', '42000', '-', '02', '4', '4', '-', '-', '-', '1007', '1', '-', '-', '0000-00-00', '38', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0102, '1102', '128', '1', 'สมัชชา', 'ค้ำมา', '1', '1990-01-09', '448 ม. 4', 'ฟากนา', 'นาอาน', 'เมือง', '42', '42000', '-', '02', '5', '', '-', '-', '-', '1007', '5', '-', '-', '0000-00-00', '38', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0103, '1103', '3401400155593', '1', 'สมัย', 'บุตรมาตย์', '1', '0000-00-00', '216 หมู่ 6', '-', 'นาอาน', 'เมือง', '42', '42000', '-', '02', '3', '3', '-', '-', '-', '1200', '5', 'การจ', 'มหาวิทยาลัยราชภัฏเพชรบุรีวิทยาลงกรณ์', '0000-00-00', '9', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0104, '1104', '3420500312690', '1', 'สมิง', 'ศรีบุตรตา', '1', '0000-00-00', '175 ม. 1', 'นาซำ', 'นาอาน', 'เมือง', '42', '42000', 'สธ818/55', '02', '3', '3', '-', '-', '[email protected]', '1001', '5', 'เทคโนโลยีสารสนเทศ', 'มหาวิทยาลัยสุโขทัยธรรมมาธิราช', '0000-00-00', '39', '-', '-', '-', NULL, '', '', '1', NULL, '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0105, '1105', '109', '1', 'สราวุธ', 'เพียซิน', '1', '0000-00-00', '287 หมู่ 10', 'บ้านขอนแดง', 'นาอาน', 'เมือง', '42', '42000', '-', '02', '1', '1', '-', '-', '-', '1000', '3', 'ช่างยนต์', 'วิทยาลัยเทคนิคเลย', '0000-00-00', '24', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0106, '1106', '3420900576937', '1', 'สาธิต', 'ทองสม', '1', '1982-01-14', '31/38', '', '01', 'เมือง', '42', '42000', '-', '01', '4', '2', '-', '-', '-', '2002', '3', '-', '-', '0000-00-00', '25', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0107, '1107', '132', '3', 'สาวินี', 'วงษ์ไทย', '2', '1990-01-10', '449 ม. 4', 'ฟากนา', 'นาอาน', 'เมือง', '42', '42000', '-', '01', '4', '', '-', '-', '-', '2003', '3', '-', '-', '0000-00-00', '25', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0108, '1108', '115', '1', 'สุขเอนก', 'เตอร์ตู', '1', '0000-00-00', '299 หมู่ 3', '-', 'วังสะพุง', 'วังสะพุง', '42', '42130', '-', '02', '4', '4', '-', '-', '-', '1002', '4', 'ช่างกลโลหะ', 'วิทยาลัยเทคนิคเลย', '0000-00-00', '37', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0110, '1110', '3361000405011', '2', 'สุนันทา', 'พลเดชาสวัสดิ์', '2', '0000-00-00', '256/1', '-', 'หนองคอนไทย', 'ภูเขียว', '36', '-', '347/42', '01', '1', '1', '-', '-', '-', '2000', '5', 'พยาบาลศาสตรบัณฑิต', 'วพ.บรมราชชนนีศรีธัญญา', '0000-00-00', '21', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0111, '1111', '1420900121313', '1', 'สุพัฒน์ชัย', 'นามาใหม่', '1', '0000-00-00', '65 ม.7', '-', 'หนองงิ้ว', 'วังสะพุง', '42', '42130', '-', '01', '4', '4', '-', '080-4057393', '-', '3000', '3', '-', 'ก.ศ.น. วังสะพุง', '0000-00-00', '23', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0112, '1112', '3529900157044', '2', 'สุภาพร', 'เพียชิน', '2', '0000-00-00', '287', 'ขอนแดง', 'นาอาน', 'เมือง', '42', '42000', '-', '01', '4', '4', '-', '-', '-', '2001', '5', 'ภาษาอังกฤษ', 'สถาบันราชภัฏลำปาง', '0000-00-00', '30', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0113, '1113', '3420100453172', '2', 'สุราวรรณ', 'เกียรติธาตรี', '2', '0000-00-00', '309 หมู 7', 'นาโป่ง', 'นาโป่ง', 'เมือง', '42', '42000', '-', '01', '4', '4', '-', '-', '-', '1101', '5', 'เศรษฐศาสตร์ธุรกิจ', 'มหาวิทยาลัยราชภัฏเลย', '0000-00-00', '30', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0114, '1114', '133', '3', 'เสาวนิตย์', 'น้อยปา', '2', '1990-01-12', '451 ม. 4', 'ฟากนา', 'นาอาน', 'เมือง', '42', '42000', '-', '01', '4', '', '-', '-', '-', '2003', '5', '-', '-', '0000-00-00', '25', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0115, '1115', '1429900062277', '3', 'เสาวรักษ์', 'เหลืองอุทัยรัตน์', '2', '1986-05-31', '19/7', '-', '01', 'เมือง', '42', '42000', '-', '01', '3', '1', '-', '-', '-', '2003', '5', '-', '-', '0000-00-00', '25', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0116, '1116', '108', '3', 'แสงเงิน', 'เฝ้าสันเทียะ', '2', '0000-00-00', '440 หมู่ 4', '-', 'นาอาน', 'เมือง', '42', '42000', '700/2549', '01', '1', '1', '-', '-', '-', '7001', '5', 'จิตวิทยาคลินิกและชุมชน', 'มหาวิทยาลัยรามคำแหง', '0000-00-00', '17', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0117, '1117', '3450200295501', '1', 'อดิศักดิ์', 'ชัยศิริ', '1', '0000-00-00', '100 ม.5', '-', 'ผานกเค้า', 'ภูกระดึง', '42', '42180', 'คสก645/43', '01', '1', '1', '-', '-', '-', '2002', '6', 'พยาบาลศาสตร์บัณฑิต', 'มหาวิทยาลัยขอนแก่น', '0000-00-00', '32', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0118, '1118', '3480700505335', '3', 'อภัสฎา', 'เหล่าทะนนท์', '2', '0000-00-00', '38/7', '-', 'บ้านแพ้ว', 'นาแก', '48', '40130', '347/42', '01', '1', '1', '-', '-', '-', '2100', '6', 'การพยาบาลสุขภาพจิตและจิตเวช', 'มหาวิทยาลัยขอนแก่น', '0000-00-00', '32', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0119, '1119', '3420901203204', '2', 'อมรรัตน์', 'บุญหนัก', '2', '0000-00-00', '136 ม.5', '-', 'ศรีสงคราม', 'วังสะพุง', '42', '42130', 'คสก.460/44', '01', '1', '1', '-', '-', '-', '2002', '5', 'พยาบาลศาสตร์บัณฑิต', 'วิทยาลัยพยาบาล นครพนม', '0000-00-00', '32', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0120, '1120', '3440900066076', '1', 'อัญชลี', 'วิจิตรปัญญา', '2', '0000-00-00', '320 ถ.หลักเมือง', '-', 'ในเมือง', 'เมือง', '32', '511737', 'สป. 3397/2530', '01', '1', '1', '-', '-', '-', '2000', '4', 'ผดุงครรภ์', 'วิทยาลัยนคราชสีมา', '0000-00-00', '32', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0121, '1121', '3420100224696', '3', 'อัยญาณี', 'วิจารณรงค์', '2', '0000-00-00', '69 ม.8', '-', 'นาอ้อ', 'เมือง', '42', '42000', 'คสก. 460/44', '01', '1', '1', '-', '-', '-', '2001', '5', 'พยาบาลศาสตร์บัณฑิต', 'วิทยาลัยบรมราชชนนี นครพนม', '0000-00-00', '32', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0122, '1122', '1410800051607', '3', 'อาจรีย์', 'นันทสุธา', '2', '1988-10-13', '148', '8', '02', 'เมือง', '42', '42000', '-', '01', '1', '2', '-', '-', '-', '2002', '5', 'พยาบาลศาสตร์บัณฑิต', '-', '0000-00-00', '33', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0123, '1123', '3429900160321', '3', 'อารีรัตน์', 'จันทชา', '2', '0000-00-00', '33 ถ.เลย-ด่านซ้าย', '-', 'กุดป่อง', 'เมือง', '42', '42000', 'คส.645/43', '01', '1', '1', '-', '-', '-', '2001', '5', 'พยาบาลศาสตรบัณฑิต', 'วิทยาลัยพยาบาลอุดรธานี', '0000-00-00', '32', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0124, '1124', '3420100237429', '1', 'อุบล', ' ศรีบุรินทร์', '1', '1976-09-16', '23', '10', '01', 'เมือง', '42', '42000', '-', '01', '4', '2', '-', '-', '-', '2002', '5', '-', '-', '0000-00-00', '25', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0125, '1125', '3310200223412', '3', 'อุปัสรา', 'อรรณนพพร', '2', '1980-04-15', '88', '6', '01', '02', '31', '-', '', '01', '1', '1', '-', '-', '-', '6000', '5', 'แพทศาสตร์', '-', '0000-00-00', '22', '-', '-', '-', '', '', '', '', '', NULL, NULL); INSERT INTO `emppersonal` VALUES (0126, '1126', '110', '1', 'เอกศักดิ์', 'หมื่นนุปิง', '1', '0000-00-00', '35/4', '-', 'กุดป่อง', 'เมือง', '42', '42000', '-', '02', '4', '4', '-', '-', '-', '1000', '4', 'ช่างยนต์', '-', '0000-00-00', '24', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0127, '1127', '3429900072465', '1', 'เอนก', 'บุญทศ', '1', '0000-00-00', '140/1 ถ.พิพัฒน์มงคล', 'แห่', 'กุดป่อง', 'เมือง', '42', '42000', '-', '01', '4', '4', '-', '-', '-', '2004', '5', 'เทคโนโลยีอุตสาหกรรม', 'มหาวิทยาลัยราชภัฎเลย', '0000-00-00', '27', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); INSERT INTO `emppersonal` VALUES (0128, '1128', '123', '3', 'เอมอร', 'คำดี', '2', '0000-00-00', '440 หมู่ 4', 'ฟากนา', 'นาอาน', 'เมือง', '42', '42000', '092', '02', '1', '1', '-', '-', '[email protected]', '1004', '5', 'การบัญชี', 'มหาวิทยาลัยราชภัฏเลย', '0000-00-00', '30', '-', '-', '-', '', '', '', '', '', '0000-00-00', NULL); -- -------------------------------------------------------- -- -- โครงสร้างตาราง `empstatus` -- CREATE TABLE `empstatus` ( `status` int(2) NOT NULL auto_increment, `statusname` varchar(50) character set utf8 collate utf8_unicode_ci NOT NULL, PRIMARY KEY (`status`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=5 ; -- -- dump ตาราง `empstatus` -- INSERT INTO `empstatus` VALUES (1, 'โสด'); INSERT INTO `empstatus` VALUES (2, 'แต่งงาน'); INSERT INTO `empstatus` VALUES (3, 'หม้าย'); INSERT INTO `empstatus` VALUES (4, 'หย่าร้าง'); -- -------------------------------------------------------- -- -- โครงสร้างตาราง `empstuc` -- CREATE TABLE `empstuc` ( `Emstuc` varchar(2) character set utf8 collate utf8_unicode_ci NOT NULL, `StucName` varchar(50) character set utf8 collate utf8_unicode_ci NOT NULL, PRIMARY KEY (`Emstuc`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin; -- -- dump ตาราง `empstuc` -- INSERT INTO `empstuc` VALUES ('01', 'สายงานหลัก'); INSERT INTO `empstuc` VALUES ('02', 'สายงานสนับสนุน'); -- -------------------------------------------------------- -- -- โครงสร้างตาราง `emptype` -- CREATE TABLE `emptype` ( `EmpType` int(2) NOT NULL auto_increment, `TypeName` varchar(50) character set utf8 collate utf8_unicode_ci NOT NULL, PRIMARY KEY (`EmpType`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=7 ; -- -- dump ตาราง `emptype` -- INSERT INTO `emptype` VALUES (1, 'ข้าราชการ'); INSERT INTO `emptype` VALUES (2, 'ลูกจ้างประจำ'); INSERT INTO `emptype` VALUES (3, 'พนักงานราชการ'); INSERT INTO `emptype` VALUES (4, 'ลูกจ้างชั่วคราว'); INSERT INTO `emptype` VALUES (5, 'ลูกจ้างรายวัน'); INSERT INTO `emptype` VALUES (6, 'นักศึกษาฝึกงาน'); -- -------------------------------------------------------- -- -- โครงสร้างตาราง `emstatus` -- CREATE TABLE `emstatus` ( `statusid` int(2) NOT NULL, `statusname` varchar(150) character set utf8 collate utf8_unicode_ci NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin; -- -- dump ตาราง `emstatus` -- INSERT INTO `emstatus` VALUES (5, 'ย้าย'); INSERT INTO `emstatus` VALUES (2, 'ลาออก'); INSERT INTO `emstatus` VALUES (3, 'ไปช่วยราชการ'); INSERT INTO `emstatus` VALUES (4, 'มาช่วยราชการ'); INSERT INTO `emstatus` VALUES (1, 'ยังปฏิบัติงานอยู่'); -- -------------------------------------------------------- -- -- โครงสร้างตาราง `hr` -- CREATE TABLE `hr` ( `id` int(11) NOT NULL, `name` varchar(100) collate utf8_bin NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin; -- -- dump ตาราง `hr` -- -- -------------------------------------------------------- -- -- โครงสร้างตาราง `login_users` -- CREATE TABLE `login_users` ( `login_name` varchar(50) character set utf8 collate utf8_unicode_ci NOT NULL, `login_password` varchar(50) character set utf8 collate utf8_unicode_ci NOT NULL, `seccode` int(2) NOT NULL, `empid` varchar(13) character set utf8 collate utf8_unicode_ci NOT NULL, `assign_status` char(1) character set utf8 collate utf8_unicode_ci NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin; -- -- dump ตาราง `login_users` -- -- -------------------------------------------------------- -- -- โครงสร้างตาราง `member` -- CREATE TABLE `member` ( `UserID` int(4) unsigned zerofill NOT NULL auto_increment, `Username` varchar(20) character set utf8 collate utf8_unicode_ci NOT NULL, `Password` varchar(20) character set utf8 collate utf8_unicode_ci NOT NULL, `Name` int(4) unsigned zerofill NOT NULL, `Status` enum('ADMIN','USER') character set utf8 collate utf8_unicode_ci NOT NULL default 'USER', PRIMARY KEY (`UserID`), UNIQUE KEY `Username` (`Username`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=105 ; -- -- dump ตาราง `member` -- INSERT INTO `member` VALUES (0001, 'user', 'user', 0002, 'USER'); INSERT INTO `member` VALUES (0003, 't01', 't01', 0001, 'ADMIN'); INSERT INTO `member` VALUES (0104, 'admin', 'admin', 0104, 'ADMIN'); INSERT INTO `member` VALUES (0004, 'tt', 'tt', 0001, 'USER'); INSERT INTO `member` VALUES (0005, 'a001', 'a001', 0004, 'USER'); INSERT INTO `member` VALUES (0006, 'applekk1', 'applekk1', 0011, 'ADMIN'); INSERT INTO `member` VALUES (0007, 'sirirat', 'sirirat', 0010, 'ADMIN'); -- -------------------------------------------------------- -- -- โครงสร้างตาราง `pcode` -- CREATE TABLE `pcode` ( `pcode` int(11) NOT NULL auto_increment, `pname` varchar(50) character set utf8 collate utf8_unicode_ci NOT NULL, PRIMARY KEY (`pcode`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=5 ; -- -- dump ตาราง `pcode` -- INSERT INTO `pcode` VALUES (1, 'นาย'); INSERT INTO `pcode` VALUES (2, 'นาง'); INSERT INTO `pcode` VALUES (3, 'นางสาว'); INSERT INTO `pcode` VALUES (4, 'ว่าที่ร้อยตรี '); -- -------------------------------------------------------- -- -- โครงสร้างตาราง `plan` -- CREATE TABLE `plan` ( `type_id` varchar(100) character set utf8 collate utf8_unicode_ci NOT NULL, `amount` varchar(100) character set utf8 collate utf8_unicode_ci NOT NULL, `pjid` varchar(10) character set utf8 collate utf8_unicode_ci NOT NULL, `pid` int(11) NOT NULL auto_increment, `bdate` date NOT NULL, `edate` date NOT NULL, PRIMARY KEY (`pid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=64 ; -- -- dump ตาราง `plan` -- INSERT INTO `plan` VALUES ('0004', '8', '2', 63, '2012-11-01', '2012-11-01'); INSERT INTO `plan` VALUES ('0003', '8', '2', 62, '2012-11-01', '2012-11-01'); INSERT INTO `plan` VALUES ('0001', '8', '2', 61, '2012-11-01', '2012-11-01'); INSERT INTO `plan` VALUES ('0002', '8', '2', 60, '2012-11-01', '2012-11-01'); INSERT INTO `plan` VALUES ('0001', '8', '2', 59, '2012-11-01', '2012-11-01'); INSERT INTO `plan` VALUES ('0002', '8', '2', 58, '2012-11-01', '2012-11-01'); INSERT INTO `plan` VALUES ('0001', '8', '2', 57, '2012-11-01', '2012-11-01'); INSERT INTO `plan` VALUES ('0001', '2', '1', 56, '2012-11-01', '2012-11-30'); -- -------------------------------------------------------- -- -- โครงสร้างตาราง `posid` -- CREATE TABLE `posid` ( `posId` int(4) NOT NULL auto_increment, `posname` varchar(150) character set utf8 collate utf8_unicode_ci NOT NULL, `lavel` varchar(4) character set utf8 collate utf8_unicode_ci NOT NULL, PRIMARY KEY (`posId`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=257 ; -- -- dump ตาราง `posid` -- INSERT INTO `posid` VALUES (1, 'เจ้าพนักงานวิทยาศาสตร์การแพทย์ชำนาญงาน', '101'); INSERT INTO `posid` VALUES (2, 'เจ้าพนักงานการเงินและบัญชีชำนาญงาน', '402'); INSERT INTO `posid` VALUES (3, 'เจ้าพนักงานธุรการปฏิบัติงาน', '201'); INSERT INTO `posid` VALUES (4, 'เจ้าพนักงานเภสัชกรชำนาญงาน', '103'); INSERT INTO `posid` VALUES (5, 'เจ้าพนักงานเวชสถิติชำนาญงาน', '202'); INSERT INTO `posid` VALUES (6, 'เจ้าพนักงานโสตทัศนศึกษา', '204'); INSERT INTO `posid` VALUES (7, 'เจ้าหน้าที่คอมพิวเตอร์', '205'); INSERT INTO `posid` VALUES (8, 'เจ้าหน้าที่บริหารงานทั่วไป', '206'); INSERT INTO `posid` VALUES (9, 'เจ้าหน้าที่บันทึกข้อมูล', '207'); INSERT INTO `posid` VALUES (10, 'เจ้าหน้าที่พัสดุ', '208'); INSERT INTO `posid` VALUES (11, 'ช่างไฟฟ้า', '209'); INSERT INTO `posid` VALUES (12, 'นักกิจกรรมบำบัดปฏิบัติการ', '104'); INSERT INTO `posid` VALUES (13, 'นักจัดการงานทั่วไป', '210'); INSERT INTO `posid` VALUES (14, 'นักจัดการงานทั่วไปชำนาญการ', '210'); INSERT INTO `posid` VALUES (15, 'นักจิตวิทยาคลินิค', '301'); INSERT INTO `posid` VALUES (16, 'นักจิตวิทยาคลินิคชำนาญการ', '301'); INSERT INTO `posid` VALUES (17, 'นักจิตวิทยาคลินิคปฏิบัติการ', '301'); INSERT INTO `posid` VALUES (18, 'นักวิชาการเงินและบัญชี', '400'); INSERT INTO `posid` VALUES (19, 'นักสังคมสงเคราะห์', '302'); INSERT INTO `posid` VALUES (20, 'นักสังคมสงเคราะห์ปฏิบัติการ', '302'); INSERT INTO `posid` VALUES (21, 'นายแพทย์ชำนาญการ', '400'); INSERT INTO `posid` VALUES (22, 'นายแพทย์ปฏิบัติการ', '400'); INSERT INTO `posid` VALUES (23, 'ผู้ช่วยเหลือคนไข้', '105'); INSERT INTO `posid` VALUES (24, 'พนักงานขับรถยนต์', '210'); INSERT INTO `posid` VALUES (25, 'พนักงานช่วยเหลือคนไข้', '105'); INSERT INTO `posid` VALUES (26, 'พนักงานทำความสะอาด', '211'); INSERT INTO `posid` VALUES (27, 'พนักงานประจำตึก', '212'); INSERT INTO `posid` VALUES (28, 'พนักงานพิมพ์ ส 2', '213'); INSERT INTO `posid` VALUES (29, 'พนักงานพิมพ์ ส 3', '213'); INSERT INTO `posid` VALUES (30, 'พนักงานพิมพ์ดีดชั้น 1', '214'); INSERT INTO `posid` VALUES (31, 'พยาบาลวิชาชีพ', '200'); INSERT INTO `posid` VALUES (32, 'พยาบาลวิชาชีพชำนาญการ', '200'); INSERT INTO `posid` VALUES (33, 'พยาบาลวิชาชีพปฏิบัติการ', '200'); INSERT INTO `posid` VALUES (34, 'เภสัชกร', '500'); INSERT INTO `posid` VALUES (35, 'เภสัชกรชำนาญการ', '500'); INSERT INTO `posid` VALUES (36, 'เภสัชกรปฏิบัติการ', '500'); INSERT INTO `posid` VALUES (37, 'ลูกมือช่าง', '215'); INSERT INTO `posid` VALUES (38, 'คนสวน', '216'); INSERT INTO `posid` VALUES (39, 'นักวิชาการคอมพิวเตอร์', '216'); -- -------------------------------------------------------- -- -- โครงสร้างตาราง `province` -- CREATE TABLE `province` ( `province_code` int(3) unsigned NOT NULL auto_increment, `province_name` text character set utf8 collate utf8_unicode_ci NOT NULL, `country_code` int(3) NOT NULL, PRIMARY KEY (`province_code`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=97 ; -- -- dump ตาราง `province` -- INSERT INTO `province` VALUES (81, 'กระบี่', 66); INSERT INTO `province` VALUES (10, 'กรุงเทพมหานคร', 66); INSERT INTO `province` VALUES (71, 'กาญจนบุรี', 66); INSERT INTO `province` VALUES (46, 'กาฬสินธุ์', 66); INSERT INTO `province` VALUES (62, 'กำแพงเพชร', 66); INSERT INTO `province` VALUES (40, 'ขอนแก่น', 66); INSERT INTO `province` VALUES (22, 'จันทบุรี', 66); INSERT INTO `province` VALUES (24, 'ฉะเชิงเทรา', 66); INSERT INTO `province` VALUES (20, 'ชลบุรี', 66); INSERT INTO `province` VALUES (18, 'ชัยนาท', 66); INSERT INTO `province` VALUES (36, 'ชัยภูมิ', 66); INSERT INTO `province` VALUES (86, 'ชุมพร', 66); INSERT INTO `province` VALUES (57, 'เชียงราย', 66); INSERT INTO `province` VALUES (50, 'เชียงใหม่', 66); INSERT INTO `province` VALUES (92, 'ตรัง', 66); INSERT INTO `province` VALUES (23, 'ตราด', 66); INSERT INTO `province` VALUES (63, 'ตาก', 66); INSERT INTO `province` VALUES (26, 'นครนายก', 66); INSERT INTO `province` VALUES (73, 'นครปฐม', 66); INSERT INTO `province` VALUES (48, 'นครพนม', 66); INSERT INTO `province` VALUES (30, 'นครราชสีมา', 66); INSERT INTO `province` VALUES (80, 'นครศรีธรรมราช', 66); INSERT INTO `province` VALUES (60, 'นครสวรรค์', 66); INSERT INTO `province` VALUES (12, 'นนทบุรี', 66); INSERT INTO `province` VALUES (96, 'นราธิวาส', 66); INSERT INTO `province` VALUES (55, 'น่าน', 66); INSERT INTO `province` VALUES (31, 'บุรีรัมย์', 66); INSERT INTO `province` VALUES (13, 'ปทุมธานี', 66); INSERT INTO `province` VALUES (77, 'ประจวบคีรีขันธ์', 66); INSERT INTO `province` VALUES (25, 'ปราจีนบุรี', 66); INSERT INTO `province` VALUES (94, 'ปัตตานี', 66); INSERT INTO `province` VALUES (14, 'พระนครศรีอยุธยา', 66); INSERT INTO `province` VALUES (56, 'พะเยา', 66); INSERT INTO `province` VALUES (82, 'พังงา', 66); INSERT INTO `province` VALUES (93, 'พัทลุง', 66); INSERT INTO `province` VALUES (66, 'พิจิตร', 66); INSERT INTO `province` VALUES (65, 'พิษณุโลก', 66); INSERT INTO `province` VALUES (76, 'เพชรบุรี', 66); INSERT INTO `province` VALUES (67, 'เพชรบูรณ์', 66); INSERT INTO `province` VALUES (54, 'แพร่', 66); INSERT INTO `province` VALUES (83, 'ภูเก็ต', 66); INSERT INTO `province` VALUES (44, 'มหาสารคาม', 66); INSERT INTO `province` VALUES (49, 'มุกดาหาร', 66); INSERT INTO `province` VALUES (58, 'แม่ฮ่องสอน', 66); INSERT INTO `province` VALUES (35, 'ยโสธร', 66); INSERT INTO `province` VALUES (95, 'ยะลา', 66); INSERT INTO `province` VALUES (45, 'ร้อยเอ็ด', 66); INSERT INTO `province` VALUES (85, 'ระนอง', 66); INSERT INTO `province` VALUES (21, 'ระยอง', 66); INSERT INTO `province` VALUES (70, 'ราชบุรี', 66); INSERT INTO `province` VALUES (16, 'ลพบุรี', 66); INSERT INTO `province` VALUES (52, 'ลำปาง', 66); INSERT INTO `province` VALUES (51, 'ลำพูน', 66); INSERT INTO `province` VALUES (42, 'เลย', 66); INSERT INTO `province` VALUES (33, 'ศรีสะเกษ', 66); INSERT INTO `province` VALUES (47, 'สกลนคร', 66); INSERT INTO `province` VALUES (90, 'สงขลา', 66); INSERT INTO `province` VALUES (91, 'สตูล', 66); INSERT INTO `province` VALUES (11, 'สมุทรปราการ', 66); INSERT INTO `province` VALUES (75, 'สมุทรสงคราม', 66); INSERT INTO `province` VALUES (74, 'สมุทรสาคร', 66); INSERT INTO `province` VALUES (27, 'สระแก้ว', 66); INSERT INTO `province` VALUES (19, 'สระบุรี', 66); INSERT INTO `province` VALUES (17, 'สิงห์บุรี', 66); INSERT INTO `province` VALUES (64, 'สุโขทัย', 66); INSERT INTO `province` VALUES (72, 'สุพรรณบุรี', 66); INSERT INTO `province` VALUES (84, 'สุราษฎร์ธานี', 66); INSERT INTO `province` VALUES (32, 'สุรินทร์', 66); INSERT INTO `province` VALUES (43, 'หนองคาย', 66); INSERT INTO `province` VALUES (39, 'หนองบัวลำภู', 66); INSERT INTO `province` VALUES (15, 'อ่างทอง', 66); INSERT INTO `province` VALUES (37, 'อำนาจเจริญ', 66); INSERT INTO `province` VALUES (41, 'อุดรธานี', 66); INSERT INTO `province` VALUES (53, 'อุตรดิตถ์', 66); INSERT INTO `province` VALUES (61, 'อุทัยธานี', 66); INSERT INTO `province` VALUES (34, 'อุบลราชธานี', 66); INSERT INTO `province` VALUES (38, 'บึงกาฬ', 0); -- -------------------------------------------------------- -- -- โครงสร้างตาราง `statusla` -- CREATE TABLE `statusla` ( `id` int(11) NOT NULL auto_increment, `name` varchar(50) collate utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=4 ; -- -- dump ตาราง `statusla` -- INSERT INTO `statusla` VALUES (1, 'อนุมัติ'); INSERT INTO `statusla` VALUES (2, 'ไม่อนุมัติ'); INSERT INTO `statusla` VALUES (3, 'ยกเลิกการลา'); -- -------------------------------------------------------- -- -- โครงสร้างตาราง `timela` -- CREATE TABLE `timela` ( `id` int(11) NOT NULL auto_increment, `empno` varchar(10) NOT NULL, `idno` varchar(15) default NULL, `vstdate` date NOT NULL, `comment` varchar(100) NOT NULL, `datela` date NOT NULL, `starttime` varchar(5) NOT NULL, `endtime` varchar(5) NOT NULL, `total` double NOT NULL, `status` varchar(1) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=27 ; -- -- dump ตาราง `timela` -- INSERT INTO `timela` VALUES (26, '0106', '2127', '2013-12-12', 'ไปทำธุรกรรมทางการเงิน', '2013-12-12', '13.00', '14.00', 1, '0'); INSERT INTO `timela` VALUES (25, '0060', '396', '2014-03-05', 'ไปทำธุระที่ว่าการอำเภอ', '2014-03-05', '13.00', '14.00', 1, '0'); -- -------------------------------------------------------- -- -- โครงสร้างตาราง `trainingin` -- CREATE TABLE `trainingin` ( `idpi` int(5) NOT NULL auto_increment, `in1` varchar(15) character set utf8 collate utf8_unicode_ci NOT NULL, `in2` varchar(150) character set utf8 collate utf8_unicode_ci NOT NULL, `in3` varchar(150) character set utf8 collate utf8_unicode_ci NOT NULL, `in4` varchar(150) character set utf8 collate utf8_unicode_ci NOT NULL, `dateBegin` date NOT NULL, `dateEnd` date NOT NULL, `in5` varchar(150) character set utf8 collate utf8_unicode_ci NOT NULL, `in6` varchar(4) character set utf8 collate utf8_unicode_ci NOT NULL, `in8` decimal(3,1) NOT NULL, `in9` int(5) NOT NULL, `in10` varchar(4) character set utf8 collate utf8_unicode_ci NOT NULL, `in11` varchar(10) character set utf8 collate utf8_unicode_ci NOT NULL, `in12` varchar(150) character set utf8 collate utf8_unicode_ci NOT NULL, `in13` varchar(150) character set utf8 collate utf8_unicode_ci NOT NULL, `in14` varchar(150) character set utf8 collate utf8_unicode_ci NOT NULL, `mp` int(6) NOT NULL, `m1` int(6) NOT NULL, `m2` int(6) NOT NULL, `m3` int(6) NOT NULL, `m4` int(6) NOT NULL, `m5` int(6) NOT NULL, `in15` varchar(5) character set utf8 collate utf8_unicode_ci NOT NULL, `in16` int(4) unsigned zerofill NOT NULL, `adminadd` varchar(5) character set utf8 collate utf8_unicode_ci NOT NULL, `in18` varchar(150) character set utf8 collate utf8_unicode_ci NOT NULL, PRIMARY KEY (`idpi`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=3 ; -- -- dump ตาราง `trainingin` -- INSERT INTO `trainingin` VALUES (1, '12345', 'โครงการติดตามประเมินผลจิตสังคมบำบัดผู้ใช้ สารเสพติด ประจำปีงบประมาณ 2556', 'ฝ่ายสุขภาพจิต สารเสพติด', 'โครงการติดตามประเมินผลจิตสังคมบำบัดผู้ใช้', '2012-11-01', '2012-11-30', 'รพ.จิตเวชเลย', '42', 30.0, 2, '2', '90', 'ไม่มี', 'ไม่มี', 'ไม่มี', 40000, 30000, 5000, 0, 5000, 0, '1', 0002, '002', '-'); INSERT INTO `trainingin` VALUES (2, 'สธ.1125', 'โครงการพัฒนาแนวทางการทำกลุ่มกิจกรรมฟื้นฟูผู้พิการ (ท 74)', 'งานผู้ป่วยนอก', 'โครงการพัฒนาแนวทางการทำกลุ่มกิจกรรมฟื้นฟูผู้พิการ (ท 74)', '2012-11-01', '2012-11-01', 'ณ ห้องประชุม รพจ.เลยราชนครินทร์', '42', 1.0, 8, '2', '90.2', '-', '-', '-', 2500, 1500, 0, 0, 100, 0, '0001', 0003, '0002', '-'); -- -------------------------------------------------------- -- -- โครงสร้างตาราง `traininglevel` -- CREATE TABLE `traininglevel` ( `lid` int(4) NOT NULL auto_increment, `lname` varchar(100) character set utf8 collate utf8_unicode_ci NOT NULL, PRIMARY KEY (`lid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=4 ; -- -- dump ตาราง `traininglevel` -- INSERT INTO `traininglevel` VALUES (1, 'บริหาร'); INSERT INTO `traininglevel` VALUES (2, 'วิชาการ'); INSERT INTO `traininglevel` VALUES (3, 'ปฏิบัติการ'); -- -------------------------------------------------------- -- -- โครงสร้างตาราง `trainingmoney` -- CREATE TABLE `trainingmoney` ( `id` int(4) NOT NULL auto_increment, `name` varchar(150) character set utf8 collate utf8_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=3 ; -- -- dump ตาราง `trainingmoney` -- INSERT INTO `trainingmoney` VALUES (1, 'เงินบำรุง'); INSERT INTO `trainingmoney` VALUES (2, 'เงินงบประมาณ'); -- -------------------------------------------------------- -- -- โครงสร้างตาราง `trainingtype` -- CREATE TABLE `trainingtype` ( `tid` int(4) NOT NULL auto_increment, `tName` varchar(150) character set utf8 collate utf8_unicode_ci NOT NULL, PRIMARY KEY (`tid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=5 ; -- -- dump ตาราง `trainingtype` -- INSERT INTO `trainingtype` VALUES (1, 'ประชุม'); INSERT INTO `trainingtype` VALUES (2, 'สัมมนา'); INSERT INTO `trainingtype` VALUES (3, 'วิทยากร'); INSERT INTO `trainingtype` VALUES (4, 'ศึกษาดูงาน'); -- -------------------------------------------------------- -- -- โครงสร้างตาราง `training_out` -- CREATE TABLE `training_out` ( `tuid` int(5) NOT NULL auto_increment, `empno` int(4) unsigned zerofill NOT NULL, `datein` date NOT NULL, `memberbook` varchar(50) character set utf8 collate utf8_unicode_ci NOT NULL, `projectName` varchar(150) character set utf8 collate utf8_unicode_ci NOT NULL, `anProject` varchar(150) character set utf8 collate utf8_unicode_ci NOT NULL, `Beginedate` date NOT NULL, `endDate` date NOT NULL, `material` varchar(2) character set utf8 collate utf8_unicode_ci NOT NULL, `dt` varchar(150) character set utf8 collate utf8_unicode_ci NOT NULL, `amount` decimal(3,1) NOT NULL, `m1` int(8) default '0', `m2` int(8) default '0', `m3` int(8) default '0', `m4` int(8) default '0', `m5` int(8) default '0', `abstract` varchar(150) character set utf8 collate utf8_unicode_ci default NULL, `dc1` varchar(5) character set utf8 collate utf8_unicode_ci default NULL, `budget` varchar(150) character set utf8 collate utf8_unicode_ci default NULL, `nameAdmin` varchar(10) character set utf8 collate utf8_unicode_ci default NULL, `Knowledge` varchar(2) character set utf8 collate utf8_unicode_ci default NULL, `dc2` varchar(10) character set utf8 collate utf8_unicode_ci default NULL, `dc3` varchar(10) character set utf8 collate utf8_unicode_ci default NULL, `pattana` varchar(150) character set utf8 collate utf8_unicode_ci default NULL, `idh` varchar(5) character set utf8 collate utf8_unicode_ci default NULL, `satantee` varchar(150) character set utf8 collate utf8_unicode_ci default NULL, `hboss` varchar(4) character set utf8 collate utf8_unicode_ci default NULL, `chek` varchar(1) character set utf8 collate utf8_unicode_ci default NULL, `provenID` varchar(3) character set utf8 collate utf8_unicode_ci default NULL, `stantee` varchar(150) character set utf8 collate utf8_unicode_ci default NULL, PRIMARY KEY (`tuid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=42 ; -- -- dump ตาราง `training_out` -- INSERT INTO `training_out` VALUES (10, 0055, '2013-08-28', 'สธ.0818.1.1./367', 'ประชุมเชิงปฏิบัติการการบริาหารด้านการคลัง', 'กองคลัง', '2013-09-11', '2013-09-13', '2', '2', 3.0, 3200, 0, 1440, 3408, 0, '-', 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'มี', NULL, '0128', 'โรงแรมซีมรีชพัทยา จ.ชลบุรี', '0128', '1', '20', 'โรงแรมซีมรีชพัทยา จ.ชลบุรี'); INSERT INTO `training_out` VALUES (9, 0097, '2013-08-28', 'สธ.0818.1.1./366', 'ประชุมกวป. และเยี่ยมผู้ป่วยซ้ำซ้อน', 'สสจ.หนองบัวลำภู', '2013-08-29', '2013-08-29', '3', '1', 1.0, 0, 0, 0, 0, 0, '-', 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'ไม่มี', NULL, '0128', 'สสจ.หนองบัวลำภู', '0128', '0', '39', 'สสจ.หนองบัวลำภู'); INSERT INTO `training_out` VALUES (8, 0100, '2013-08-28', 'สธ.0818.1.1./366', 'ประชุมกวป. และเยี่ยมผู้ป่วยซ้ำซ้อน', 'สสจ.หนองบัวลำภู', '2013-08-29', '2013-08-29', '3', '1', 1.0, 0, 0, 0, 0, 0, '-', 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'ไม่มี', NULL, '0128', 'สสจ.หนองบัวลำภู', '0128', '0', '39', 'สสจ.หนองบัวลำภู'); INSERT INTO `training_out` VALUES (11, 0023, '2013-08-28', 'สธ.0818.1.1./367', 'ประชุมเชิงปฏิบัติการการบริาหารด้านการคลัง', 'กองคลัง', '2013-09-11', '2013-09-13', '2', '2', 3.0, 3200, 0, 1440, 3408, 0, '-', 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'มี', NULL, '0128', 'โรงแรมซีมรีชพัทยา จ.ชลบุรี', '0128', '1', '20', 'โรงแรมซีมรีชพัทยา จ.ชลบุรี'); INSERT INTO `training_out` VALUES (12, 0021, '2013-08-28', 'สธ.0818.1.1./368', 'ประชุมวิชาการการเสริมสร้างทักษาชั้นสูงสำหรับ ADX', 'สมาคมผู้ปฏิบัติการพยาบาลชั้นสูง', '2013-09-09', '2013-09-11', '2', '1', 3.0, 3900, 3600, 720, 1794, 0, '-', 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'ไม่มี', NULL, '0128', 'โรงแรมดิเอ็มเมอรัล', '0128', '1', '10', 'โรงแรมดิเอ็มเมอรัล'); INSERT INTO `training_out` VALUES (13, 0120, '2013-08-29', 'สธ.0818.1.1./370', 'ประชุมคณะกรรมการจังหวัด', 'จังหวัดเลย', '2013-08-29', '2013-08-29', '1', '1', 0.5, 0, 0, 0, 0, 0, '-', 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'ไม่มี', NULL, '0128', 'ศาลากลางจังหวัดเลย', '0128', '1', '42', 'ศาลากลางจังหวัดเลย'); INSERT INTO `training_out` VALUES (14, 0063, '2013-08-29', 'สธ.0818.1.1./371', 'ประกปสข.', 'จิตเวชชุมชน', '2013-08-29', '2013-08-29', '1', '1', 1.0, 0, 0, 0, 0, 0, '-', 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'ไม่มี', NULL, '0128', 'อุดรธานี', '0128', '1', '41', 'อุดรธานี'); INSERT INTO `training_out` VALUES (15, 0029, '2013-08-29', 'สธ.0818.1.1./371', 'ประกปสข.', 'จิตเวชชุมชน', '2013-08-29', '2013-08-29', '1', '1', 1.0, 0, 0, 0, 0, 0, '-', 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'ไม่มี', NULL, '0128', 'อุดรธานี', '0128', '1', '41', 'อุดรธานี'); INSERT INTO `training_out` VALUES (16, 0068, '2013-08-29', 'สธ.0818.1.1./371', 'ประกปสข.', 'จิตเวชชุมชน', '2013-08-29', '2013-08-29', '1', '1', 1.0, 0, 0, 0, 0, 0, '-', 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'ไม่มี', NULL, '0128', 'อุดรธานี', '0128', '1', '41', 'อุดรธานี'); INSERT INTO `training_out` VALUES (18, 0118, '2013-08-30', 'สธ.0818.1.1./372', 'สัมนาประเมินผลการดำเนินงานสุขภาพจิตที่ 7 และ 8', 'ศูนย์สุขภาพจิตที่ 4', '2013-09-18', '2013-09-20', '1', '1', 2.0, 0, 0, 960, 1696, 0, '-', 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'ไม่มี', NULL, '0128', 'โรงแรมรอยัล แม่โขง ', '0128', '1', '43', 'โรงแรมรอยัล แม่โขง '); INSERT INTO `training_out` VALUES (19, 0024, '2013-08-30', 'สธ.0818.1.1./373', 'ศึกษาดูงานการดำเนินงานเกี่ยวกับกระบวนการจัดการความรู้', 'รพจ.เลย', '2013-09-01', '2013-09-01', '4', '4', 1.0, 0, 0, 0, 0, 0, '-', 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'ไม่มี', NULL, '0128', 'โรงแรมทีเคพาเลซ', '0128', '1', '10', 'โรงแรมทีเคพาเลซ'); INSERT INTO `training_out` VALUES (23, 0031, '2013-08-30', 'สธ.0818.1.1./373', 'ศึกษาดูงานการดำเนินงานเกี่ยวกับกระบวนการจัดการความรู้', 'รพจ.เลย', '2013-09-01', '2013-09-01', '2', '4', 1.0, 0, 0, 0, 0, 0, '-', 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'ไม่มี', NULL, '0128', 'โรงแรมทีเคพาเลซ', '0128', '1', '10', 'โรงแรมทีเคพาเลซ'); INSERT INTO `training_out` VALUES (21, 0002, '2013-08-30', 'สธ.0818.1.1./373', 'ศึกษาดูงานการดำเนินงานเกี่ยวกับกระบวนการจัดการความรู้', 'รพจ.เลย', '2013-09-01', '2013-09-01', '2', '4', 1.0, 0, 0, 0, 0, 0, '-', 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'ไม่มี', NULL, '0128', 'รพจ.ขอนแก่น', '0128', '1', '10', 'รพจ.ขอนแก่น'); INSERT INTO `training_out` VALUES (22, 0040, '2013-08-30', 'สธ.0818.1.1./373', 'ศึกษาดูงานการดำเนินงานเกี่ยวกับกระบวนการจัดการความรู้', 'รพจ.เลย', '2013-09-01', '2013-09-01', '2', '4', 1.0, 0, 0, 0, 0, 0, '-', 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'ไม่มี', NULL, '0128', 'รพจ.ขอนแก่น', '0128', '1', '10', 'รพจ.ขอนแก่น'); INSERT INTO `training_out` VALUES (24, 0058, '2013-08-30', 'สธ.0818.1.1./373', 'ศึกษาดูงานการดำเนินงานเกี่ยวกับกระบวนการจัดการความรู้', 'รพจ.เลย', '2013-09-01', '2013-09-01', '2', '4', 1.0, 0, 0, 0, 0, 0, '-', 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'ไม่มี', NULL, '0128', 'รพจ.ขอนแก่น', '0128', '1', '10', 'รพจ.ขอนแก่น'); INSERT INTO `training_out` VALUES (25, 0126, '2013-08-30', 'สธ.0818.1.1./373', 'ศึกษาดูงานการดำเนินงานเกี่ยวกับกระบวนการจัดการความรู้', 'รพจ.เลย', '2013-09-01', '2013-09-01', '2', '4', 1.0, 0, 0, 0, 0, 0, '-', 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'ไม่มี', NULL, '0128', 'รพจ.ขอนแก่น', '0128', '1', '10', 'รพจ.ขอนแก่น'); INSERT INTO `training_out` VALUES (35, 0058, '2013-09-12', 'สธ.0818.1.1./379', 'ประชุมจัดหลักสูตรอบรมการบริหารเภสัชกครรม ผู้ป่วยจิตเวชสำหรับเภสัชกรเขตบริการสุขภาพจิต', 'สถาบันจิตเวชศาสตร์สมเด็จเจ้าพระยา', '2013-09-16', '2013-09-18', '1', '1', 2.0, 2250, 0, 720, 726, 0, '-', 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'ไม่มี', NULL, '0128', 'สถาบันจิตเวชศาสตร์สมเด็จเจ้าพระยา', '0128', '1', '10', 'สถาบันจิตเวชศาสตร์สมเด็จเจ้าพระยา'); INSERT INTO `training_out` VALUES (26, 0063, '2013-08-30', 'สธ.0818.1.1./374', 'ประชุมเชิงปฏิบัติการเพื่อพัฒนาแบบข้อเสนอแผนงานและชุดโครงการวิจัย', 'สำนักพัฒนาสุขภาพจิต', '2013-09-09', '2013-09-10', '2', '1', 2.0, 0, 0, 0, 0, 0, '-', 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'ไม่มี', NULL, '0128', 'โรงแรมทีเคพาเลซ', '0128', '1', '10', 'โรงแรมทีเคพาเลซ'); INSERT INTO `training_out` VALUES (27, 0063, '2013-08-30', 'สธ.0818.1.1./372', 'สัมนาประเมินผลการดำเนินงานสุขภาพจิตที่ 7 และ 8', 'ศูนย์สุขภาพจิตที่ 4', '2013-09-18', '2013-09-20', '1', '1', 2.0, 0, 0, 960, 1696, 0, '-', 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'ไม่มี', NULL, '0128', 'โรงแรมรอยัล แม่โขง ', '0128', '1', '43', 'โรงแรมรอยัล แม่โขง '); INSERT INTO `training_out` VALUES (28, 0097, '2013-09-09', 'สธ.0818.1.1./375', 'เยียวยาผู้ได้รับผลกระทบสถานการณ์ชายแดนใต้', 'สสจ.เลย', '2013-09-10', '2013-09-10', '1', '1', 1.0, 0, 0, 240, 0, 0, NULL, 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'ไม่มี', NULL, '0128', 'สสจ.เลย', '0128', '1', '42', 'สสจ.เลย'); INSERT INTO `training_out` VALUES (29, 0081, '2013-09-09', 'สธ.0818.1.1./375', 'เยียวยาผู้ได้รับผลกระทบสถานการณ์ชายแดนใต้', 'สสจ.เลย', '2013-09-10', '2013-09-10', '1', '1', 1.0, 0, 0, 240, 0, 0, NULL, 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'ไม่มี', NULL, '0128', 'สสจ.เลย', '0128', '1', '42', 'สสจ.เลย'); INSERT INTO `training_out` VALUES (30, 0063, '2013-09-09', 'สธ.0818.1.1./376', 'เข้าร่วมสัมมนารูปแบบการพัฒนางานบริการสุขภาพจิตและจิตเวชฯ', 'กรมสุขภาพจิต', '2013-09-11', '2013-09-12', '2', '2', 2.0, 0, 0, 0, 0, 0, '-', 'ไม่มี', '2', '0104', NULL, 'ไม่มี', 'ไม่มี', NULL, '0128', 'โรงแรมรามาการ์เด้นส์', '0128', '1', '10', 'โรงแรมรามาการ์เด้นส์'); INSERT INTO `training_out` VALUES (31, 0097, '2013-09-11', 'สธ.0818.1.1./377', 'ออก extend opd', 'รพจ.เลยฯ', '2013-09-13', '2013-09-13', '3', '3', 1.0, 0, 0, 0, 0, 0, '-', 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'ไม่มี', NULL, '0128', 'รพ.เอราวัณ', '0128', '1', '42', 'รพ.เอราวัณ'); INSERT INTO `training_out` VALUES (32, 0059, '2013-09-11', 'สธ.0818.1.1./377', 'ออก extend opd', 'รพจ.เลยฯ', '2013-09-13', '2013-09-13', '3', '3', 1.0, 0, 0, 0, 0, 0, '-', 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'ไม่มี', NULL, '0128', 'รพ.เอราวัณ', '0128', '1', '42', 'รพ.เอราวัณ'); INSERT INTO `training_out` VALUES (33, 0116, '2013-09-11', 'สธ.0818.1.1./378', 'โครงการอบรมความรู้และทักษะการดูแลเด็ที่ถูกกระทำความรุนแรง', 'สถาบันพัฒนาการเด็กภาคตะวันออกเฉียงเหนือ', '2013-09-16', '2013-09-16', '2', '1', 1.0, 0, 0, 320, 840, 0, '-', 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'ไม่มี', NULL, '0128', 'โรงแรมโฆษะ ขอนแก่น', '0128', '1', '40', 'โรงแรมโฆษะ ขอนแก่น'); INSERT INTO `training_out` VALUES (34, 0121, '2013-09-11', 'สธ.0818.1.1./378', 'โครงการอบรมความรู้และทักษะการดูแลเด็ที่ถูกกระทำความรุนแรง', 'สถาบันพัฒนาการเด็กภาคตะวันออกเฉียงเหนือ', '2013-09-16', '2013-09-16', '2', '1', 1.0, 0, 0, 320, 840, 0, '-', 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'ไม่มี', NULL, '0128', 'โรงแรมโฆษะ ขอนแก่น', '0128', '1', '40', 'โรงแรมโฆษะ ขอนแก่น'); INSERT INTO `training_out` VALUES (36, 0026, '2013-09-13', 'สธ.0818.1.1./381', 'ประชุมแลกเปลี่ยนการเรียนรู้การให้บริการ 1323', 'สถาบันกัลยาณ์', '2013-09-17', '2013-09-18', '2', '1', 2.0, 560, 0, 1934, 0, 0, '-', 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'ไม่มี', NULL, '0128', 'โรงแรมรามากาเด้นส์', '0128', '1', '01', 'โรงแรมรามาการ์เด้น'); INSERT INTO `training_out` VALUES (37, 0062, '2013-09-13', 'สธ.0818.1.1./382', 'วิทยากรโครงการอบรมแกนนำนักศึกษาเฝ้าระวังยาเสพติดฯ', 'ม.ราชภัฎเลย', '2013-09-14', '2013-09-14', '2', '3', 1.0, 0, 0, 0, 0, 0, '-', 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'ไม่มี', NULL, '0128', 'ค่ายศรีสองรัก', '0128', '1', '42', 'ค่ายศรีสองรัก'); INSERT INTO `training_out` VALUES (38, 0097, '2013-09-16', 'สธ.0818.1.1./383', 'ออกหน่วย ผู้ป่วยนอกภูเรือ', 'รพจ.เลยฯ', '2013-09-19', '2013-09-19', '3', '3', 1.0, 0, 0, 0, 0, 0, '-', 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'ไม่มี', NULL, '0128', 'รพ.ภูเรือ', '0128', '1', '42', 'รพ.ภูเรือ'); INSERT INTO `training_out` VALUES (39, 0059, '2013-09-16', 'สธ.0818.1.1./383', 'ออกหน่วย ผู้ป่วยนอกภูเรือ', 'รพจ.เลยฯ', '2013-09-19', '2013-09-19', '3', '3', 1.0, 0, 0, 0, 0, 0, '-', 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'ไม่มี', NULL, '0128', 'รพ.ภูเรือ', '0128', '1', '42', 'รพ.ภูเรือ'); INSERT INTO `training_out` VALUES (40, 0047, '2013-09-16', 'สธ.0818.1.1./384', 'ประชุมชี้แจงการปฏิบัติในระบบ GFMIS จ่ายสิ้นงบประมาณ', 'จังหวัดเลย', '2013-09-17', '2013-09-17', '3', '1', 1.0, 0, 0, 0, 0, 0, '-', 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'ไม่มี', NULL, '0128', 'ห้องประชุมศรีสองรัก', '0128', '1', '42', 'ห้องประชุมศรีสองรัก'); INSERT INTO `training_out` VALUES (41, 0050, '2013-09-17', 'สธ.0818.1.1./385', 'ออกหน่วยบริการจังหวัดเคลื่อนที่ บำบัดทุกข์บำรุงสุข', 'สสจ.เลย', '2013-09-16', '2013-09-16', '3', '3', 1.0, 0, 0, 0, 0, 0, '-', 'ไม่มี', '1', '0104', NULL, 'ไม่มี', 'ไม่มี', NULL, '0128', 'รร.บ้านกลาง ภูเรือ', '0128', '1', '42', 'รร.บ้านกลาง ภูเรือ'); -- -------------------------------------------------------- -- -- โครงสร้างตาราง `trainuserin` -- CREATE TABLE `trainuserin` ( `id` int(5) unsigned zerofill NOT NULL, `idproject` varchar(5) character set utf8 collate utf8_unicode_ci NOT NULL, `empno` varchar(5) character set utf8 collate utf8_unicode_ci NOT NULL, `datebegin` date NOT NULL, `enddate` date NOT NULL, `amounttime` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin; -- -- dump ตาราง `trainuserin` -- INSERT INTO `trainuserin` VALUES (00000, '', '', '0000-00-00', '0000-00-00', 0); -- -------------------------------------------------------- -- -- โครงสร้างตาราง `typevacation` -- CREATE TABLE `typevacation` ( `idla` int(4) NOT NULL auto_increment, `nameLa` varchar(100) character set utf8 collate utf8_unicode_ci NOT NULL, PRIMARY KEY (`idla`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=8 ; -- -- dump ตาราง `typevacation` -- INSERT INTO `typevacation` VALUES (1, 'ลาป่วย'); INSERT INTO `typevacation` VALUES (2, 'ลากิจ'); INSERT INTO `typevacation` VALUES (3, 'ลาพักผ่อน'); INSERT INTO `typevacation` VALUES (4, 'ลาคลอด'); INSERT INTO `typevacation` VALUES (5, 'ลาบวช'); INSERT INTO `typevacation` VALUES (6, 'ลาศึกษาต่อ'); INSERT INTO `typevacation` VALUES (7, 'ลาเลี้ยงดูบุตร'); -- -------------------------------------------------------- -- -- โครงสร้างตาราง `work` -- CREATE TABLE `work` ( `workid` int(4) NOT NULL auto_increment, `enpid` varchar(5) character set utf8 collate utf8_unicode_ci NOT NULL, `update` date NOT NULL, `begindate` date NOT NULL, `amount` decimal(3,1) NOT NULL, `abnote` varchar(150) character set utf8 collate utf8_unicode_ci default NULL, `check_comment` varchar(2) character set utf8 collate utf8_unicode_ci default NULL, `enddate` date NOT NULL, `tel` varchar(30) character set utf8 collate utf8_unicode_ci NOT NULL, `boss_approve` varchar(1) character set utf8 collate utf8_unicode_ci default NULL, `boos_comment` varchar(150) character set utf8 collate utf8_unicode_ci default NULL, `address` varchar(150) character set utf8 collate utf8_unicode_ci default NULL, `comment` varchar(150) character set utf8 collate utf8_unicode_ci default NULL, `idAdmin` varchar(4) character set utf8 collate utf8_unicode_ci NOT NULL, `typela` varchar(2) character set utf8 collate utf8_unicode_ci NOT NULL, `statusla` int(11) NOT NULL, PRIMARY KEY (`workid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=47 ; -- -- dump ตาราง `work` -- INSERT INTO `work` VALUES (44, '0106', '2013-10-02', '2013-10-04', 2.0, 'ไปทำธุระกับครอบครัว', '-', '2013-10-05', '0846864580', NULL, NULL, 'อ.เมือง จ.เลย', NULL, '0104', '2', 0); INSERT INTO `work` VALUES (43, '0106', '2013-10-07', '2013-10-07', 1.0, 'ทำกิจธุระกับครอบครัว', '-', '2013-10-07', '0846824580', NULL, NULL, 'อ.เมือง จ.เลย', NULL, '0104', '2', 0); INSERT INTO `work` VALUES (42, '0106', '2013-10-09', '2013-10-08', 1.0, 'ปวดท้อง (แผลในกระเพราะอาหาร)', 'n', '2013-10-08', '0846864580', NULL, NULL, 'กุดป่อง เมือง จ.เลย', NULL, '0104', '1', 0); INSERT INTO `work` VALUES (41, '0106', '2013-11-14', '2013-11-11', 1.0, 'ปวดท้อง', 'n', '2013-11-11', '0846824580', NULL, NULL, 'เมือง จ.เลย', NULL, '0104', '1', 0); INSERT INTO `work` VALUES (40, '0106', '2014-01-04', '2014-01-02', 1.0, 'ปวดท้อง แผลในกระเพาะอาหาร', 'y', '2014-01-02', '0846864580', NULL, NULL, 'อ.เมือง จ.เลย', NULL, '0104', '1', 0); INSERT INTO `work` VALUES (39, '0106', '2014-02-17', '2014-04-17', 2.0, 'ปวดเอวจากการยกของหนัก', 'n', '2014-04-17', '0848664580', NULL, NULL, 'อ.เมือง จ.เลย', '-', '0104', '1', 0); INSERT INTO `work` VALUES (38, '0122', '2014-03-21', '2014-04-27', 2.0, 'ไปรายงานตัวเพื่อบรรจุเข้ารับราชการ', '-', '2014-04-28', '0843442528', NULL, NULL, '-', '-', '0104', '2', 0); INSERT INTO `work` VALUES (35, '0060', '2013-10-21', '2013-10-21', 2.0, '-', '-', '2013-10-22', '-', NULL, NULL, '-', '-', '0002', '2', 0); INSERT INTO `work` VALUES (34, '0060', '2013-11-19', '2013-11-20', 2.0, '-', '-', '2013-11-21', '-', NULL, NULL, '-', '-', '0002', '3', 0); INSERT INTO `work` VALUES (33, '0060', '2014-01-13', '2014-04-09', 1.0, '-', '-', '2014-04-09', '-', NULL, NULL, '-', '-', '0002', '2', 0); INSERT INTO `work` VALUES (32, '0060', '2014-01-03', '2014-04-09', 1.0, '-', '-', '2014-04-09', '0934198995', NULL, NULL, '-', '-', '0002', '3', 0); INSERT INTO `work` VALUES (36, '0060', '2013-10-16', '2013-10-16', 3.0, 'ขอพักฟื้นตัวเนื่องจากอาการปวดขาและหลัง', '-', '2013-10-18', '0934198995', NULL, NULL, '-', NULL, '0002', '2', 0); INSERT INTO `work` VALUES (37, '0060', '2013-10-16', '2013-10-11', 3.0, 'หมอนรองกระูกหลังเลื่อนเดินลำบาก', '-', '2013-10-15', '-', NULL, NULL, '-', NULL, '0002', '1', 0); INSERT INTO `work` VALUES (45, '0001', '2014-07-02', '2014-07-09', 1.0, '1', 'y', '2014-07-09', 'qq', NULL, NULL, 'q', 'qq', '0104', '1', 0); INSERT INTO `work` VALUES (46, '0001', '2015-03-18', '2015-03-18', 1.0, '0000', 'y', '2015-03-18', '000000', NULL, NULL, 'eeeeee', '-', '0104', '1', 0);
    true
    8e93e48c368ad89c16584919111db242ab104844
    SQL
    mahmoudmohamed22/Cinema-Ticket-Booking-Online
    /sql_database.sql
    UTF-8
    9,603
    4.125
    4
    []
    no_license
    create DataBase CinemaTicketBooking; --create a table Cinemas create table Cinema ( Cinema_ID INTEGER not null, Location varchar(20) not null, No_Hall INTEGER not null, Phone varchar2(20) not null , constraint Cinema_location unique (Location), constraint Cinema_Phone unique (Phone), constraint Cinema_ID primary key (Cinema_ID) ); DESCRIBE Cinema; SELECT * FROM Cinema; -- create a table Movies CREATE TABLE Movie( Movie_ID INTEGER not null, Movie_Name varchar(20) not null, Rate decimal, ReleaseDate date, Duration INTEGER not null, Type varchar(20) not null, Country varchar(20), Language varchar(20) not null, Translated varchar(20) , Status varchar(20) not null, PRIMARY KEY (Movie_ID) ); DESCRIBE Movie; SELECT * FROM Movie; -- create a table shows CREATE TABLE Show ( Show_ID INTEGER PRIMARY KEY, Movie_ID INTEGER not null, Duration INTEGER NOT NULL, Free_ticket INTEGER NOT NULL, Start_Time timestamp NOT NULL, Ticket_Price float NOT NULL, FOREIGN KEY (Movie_ID)REFERENCES Movie(Movie_ID) ); DESCRIBE Show; SELECT * FROM Show; --create a table Auditoriums CREATE TABLE Auditorium( Auditorium_ID INTEGER, Cinema_ID INTEGER not null, No_Seats INTEGER NOT NULL, Auditorium_No INTEGER NOT NULL, FOREIGN KEY (Cinema_ID) REFERENCES Cinema(Cinema_ID), primary key (Auditorium_ID) ); DESCRIBE Auditorium; SELECT * FROM Auditorium; -- create a table Seats CREATE TABLE Seat( Seat_ID INTEGER, Auditorium_ID INTEGER, Status VARCHAR(4), Row_No INTEGER, Seat_No INTEGER, FOREIGN KEY (Auditorium_ID)REFERENCES Auditorium(Auditorium_ID), PRIMARY KEY (Seat_ID) ); DESCRIBE Seat; SELECT * FROM Seat; -- create a table AuditoriumStatus create table Auditorium_Status( Auditorium_busy varchar(20), Show_ID INTEGER, Auditorium_ID INTEGER , FOREIGN KEY (Auditorium_ID) REFERENCES Auditorium(Auditorium_ID), FOREIGN KEY (Show_ID) REFERENCES Show(Show_ID), PRIMARY KEY (Show_ID,Auditorium_ID) ); DESCRIBE Auditorium_Status; SELECT * FROM Auditorium_Status; -- create a table customers CREATE TABLE Customer ( Customer_ID INTEGER, Customer_Name varchar(50) NOT NULL , Customer_Email VARCHAR(40) UNIQUE NOT NULL, Customer_Password VARCHAR(40) UNIQUE NOT NULL, Customer_Phone VARCHAR(40) UNIQUE NOT NULL, Customer_Address VARCHAR(40), PRIMARY KEY (Customer_ID) ); DESCRIBE Customer; SELECT * FROM Customer; -- create a table Bookings CREATE TABLE Booking ( Booking_ID INTEGER, Customer_ID INTEGER, Show_ID INTEGER, Seat_ID INTEGER , FOREIGN KEY (Show_ID) REFERENCES Show(Show_ID), FOREIGN KEY (Customer_ID) REFERENCES Customer(Customer_ID), FOREIGN KEY (Seat_ID) REFERENCES Seat(Seat_ID), PRIMARY KEY (Booking_ID) ); DESCRIBE Booking; SELECT * FROM Booking; -- Cinemas INSERT INTO Cinema VALUES (1111, 'Cairo', 3, +201284030016); INSERT INTO Cinema VALUES (2222, 'Alexandria', 4, +201099315074); SELECT * FROM Cinema; -- Auditoriums INSERT INTO Auditorium Values (1, 1111, 200, 1); INSERT INTO Auditorium Values (2, 1111, 300, 2); INSERT INTO Auditorium Values (3, 1111, 200, 3); INSERT INTO Auditorium Values (4, 2222, 150, 1); INSERT INTO Auditorium Values (5, 2222, 200, 2); INSERT INTO Auditorium Values (6, 2222, 150, 3); INSERT INTO Auditorium Values (7, 2222, 200, 4); SELECT * FROM Auditorium; -- Administrators INSERT INTO Administrator Values (111, 1111, 'Mourad Fawzi', '[email protected]', '123456'); INSERT INTO Administrator Values (222, 2222, 'Hamed Mahmoud', '[email protected]', '123456789'); SELECT * FROM Administrator; -- Seats INSERT INTO Seat Values (1, 1, 'free', 25, 1); INSERT INTO Seat Values (2, 1, 'free', 25, 2); INSERT INTO Seat Values (3, 1, 'free', 25, 3); INSERT INTO Seat Values (4, 1, 'free', 25, 4); INSERT INTO Seat Values (5, 1, 'free', 25, 5); INSERT INTO Seat Values (151, 2, 'free', 25, 1); INSERT INTO Seat Values (152, 2, 'free', 25, 2); INSERT INTO Seat Values (153, 2, 'free', 25, 3); INSERT INTO Seat Values (154, 2, 'free', 25, 4); INSERT INTO Seat Values (155, 2, 'free', 25, 5); INSERT INTO Seat Values (61, 3, 'free', 25, 1); INSERT INTO Seat Values (62, 3, 'free', 25, 2); INSERT INTO Seat Values (63, 3, 'free', 25, 3); INSERT INTO Seat Values (64, 3, 'free', 25, 4); INSERT INTO Seat Values (65, 3, 'free', 25, 5); INSERT INTO Seat Values (176, 4, 'free', 25, 1); INSERT INTO Seat Values (177, 4, 'free', 25, 2); INSERT INTO Seat Values (178, 4, 'free', 25, 3); INSERT INTO Seat Values (179, 4, 'free', 25, 4); INSERT INTO Seat Values (180, 4, 'free', 25, 5); INSERT INTO Seat Values (281, 5, 'free', 25, 1); INSERT INTO Seat Values (282, 5, 'free', 25, 2); INSERT INTO Seat Values (283, 5, 'free', 25, 3); INSERT INTO Seat Values (284, 5, 'free', 25, 4); INSERT INTO Seat Values (285, 5, 'free', 25, 5); INSERT INTO Seat Values (311, 6, 'free', 25, 1); INSERT INTO Seat Values (312, 6, 'free', 25, 2); INSERT INTO Seat Values (313, 6, 'free', 25, 3); INSERT INTO Seat Values (314, 6, 'free', 25, 4); INSERT INTO Seat Values (315, 6, 'free', 25, 5); INSERT INTO Seat Values (501, 7, 'free', 25, 1); INSERT INTO Seat Values (502, 7, 'free', 25, 2); INSERT INTO Seat Values (503, 7, 'free', 25, 3); INSERT INTO Seat Values (504, 7, 'free', 25, 4); INSERT INTO Seat Values (505, 7, 'free', 25, 5); SELECT * FROM Seat; -- Movies INSERT INTO Movie Values (11, 'Army of the Dead', 5.8, '14-MAY-2021', 148, 'Action', 'Spain', 'Spanish', 'English', 'Available'); INSERT INTO Movie Values (22, 'Cruella', 7.4, '27-MAY-2021', 134, 'Comedy', 'US', 'English', 'Arabic', 'Available'); INSERT INTO Movie Values (33, 'Wrath of Man', 7.2, '13-MAY-2021', 119, 'Action', 'US', 'English', 'Arabic', 'Available'); INSERT INTO Movie Values (44, 'F9: The Fast Saga', 7.2, '13-MAY-2021', 145, 'Action', 'US', 'English', 'Arabic', 'Available'); INSERT INTO Movie Values (55, 'Spiral', 5.4, '26-MAY-2021', 93, 'Horror', 'US', 'English', 'Arabic', 'Available'); SELECT * FROM Movie; -- Shows INSERT INTO Show VALUES (1, 11, 3, 200, '01-JUN-2021 3.00.00 AM', 125); INSERT INTO Show VALUES (2, 22, 3, 200, '01-JUN-2021 3.00.00 PM', 125); INSERT INTO Show VALUES (3, 33, 3, 200, '01-JUN-2021 7.00.00 PM', 125); INSERT INTO Show VALUES (4, 44, 3, 200, '01-JUN-2021 11.00.00 PM', 125); INSERT INTO Show VALUES (5, 55, 3, 200, '02-JUN-2021 3.00.00 AM', 125); SELECT * FROM Show; -- Auditoriumstatus INSERT INTO Auditorium_Status VALUES ('Available', 1, 1); INSERT INTO Auditorium_Status VALUES ('Available', 1, 2); INSERT INTO Auditorium_Status VALUES ('Available', 1, 3); INSERT INTO Auditorium_Status VALUES ('Available', 2, 4); INSERT INTO Auditorium_Status VALUES ('Available', 2, 5); INSERT INTO Auditorium_Status VALUES ('Available', 2, 6); INSERT INTO Auditorium_Status VALUES ('Available', 3, 7); SELECT * FROM Auditorium_Status; -- Customers INSERT INTO Customer VALUES (1, 'Mark', '[email protected]', 'mark1234', '+2001099315074','cairo' ); INSERT INTO Customer VALUES (2, 'jo', '[email protected]', 'jo1234', '+2001099315071','alex' ); INSERT INTO Customer VALUES (3, 'ahmed', '[email protected]', '123456789', '+2001099315072','ainshams'); INSERT INTO Customer VALUES (4, 'mohamed', '[email protected]', '123485', '+2001099315079','madaai' ); INSERT INTO Customer VALUES (5, 'Mahmoud', '[email protected]', '12345679', '+2001099315076','giza' ); INSERT INTO Customer VALUES (6, 'ghada ', '[email protected]', '1346798', '+2001099315077','aswan' ); INSERT INTO Customer VALUES (7, 'marowa', '[email protected]', 'mark234', '+2001099315073','cairo' ); INSERT INTO Customer VALUES (8, 'yasser', '[email protected]', 'jo234', '+2001099315087','alex' ); INSERT INTO Customer VALUES (9, 'youssef', '[email protected]', '12356789', '+2001099315082','ainshams'); INSERT INTO Customer VALUES (10, 'alien', '[email protected]', '12345', '+2001099315081','madaai'); SELECT * FROM Customer; -- Bookings insert into Booking values(100, 1, 2, 1); insert into Booking values(101,2,2,151); insert into Booking values(102,3,1,5); insert into Booking values(103,4,1,151); insert into Booking values(104,5,3,3); insert into Booking values(105,6,4,4); insert into Booking values(106,7,5,155); insert into Booking values(107,8,5,4); insert into Booking values(108,9,3,153); insert into Booking values(109,10,2,2); SELECT * FROM Booking; SELECT Customer_Name, Movie_Name, Start_Time, Location FROM Customer, Movie,Show, Cinema WHERE Customer_ID=5 AND Booking.Show_ID=Show.Show_ID AND Show.Movie_ID=Movie.Movie_ID AND Booking.Seat_ID=Seat.Seat_ID AND Seat.Auditorium_ID=Auditorium.Auditorium_ID AND Auditorium.Cinema_ID=Cinema.Cinema_ID; -- Queries -- Customer_ID Customer_Name Cinema_Location Auditorium_No Movie_Name Ticket_Price -- For Tickets.. SELECT Customer.Customer_Name, Cinema.Location, Auditorium.Auditorium_No, Movie.Movie_Name, Show.Start_Time, Show.Ticket_Price FROM (((Booking INNER JOIN Customer ON Booking.Customer_ID = Customer.Customer_ID) INNER JOIN Show ON Booking.Show_ID = Show.Show_ID INNER JOIN MOVIE ON Show.Movie_ID = Movie.Movie_ID) INNER JOIN Seat ON Booking.Seat_ID = Seat.Seat_ID INNER JOIN Auditorium ON Seat.Auditorium_ID = Auditorium.Auditorium_ID INNER JOIN Cinema ON Auditorium.Cinema_ID = Cinema.Cinema_ID) WHERE Booking.Customer_ID = 5 ; -- For Show List.. SELECT Booking.Booking_ID, Customer.Customer_ID, Customer.Customer_Name, Auditorium.Auditorium_No FROM (((Booking INNER JOIN Customer ON Booking.Customer_ID = Customer.Customer_ID) INNER JOIN Show ON Booking.Show_ID = Show.Show_ID INNER JOIN Movie ON Show.Movie_ID = Movie.Movie_ID) INNER JOIN Seat ON Booking.Seat_ID = Seat.Seat_ID INNER JOIN Auditorium ON Seat.Auditorium_ID = Auditorium.Auditorium_ID) WHERE Booking.Show_ID = 1 ;
    true
    78410ff1ed3e57e0fced77d2dc2c1243132973c5
    SQL
    QOAM/qoam
    /src/Core/Scripts/201403171503325_InitialCreate_function_MinimumFloat.sql
    UTF-8
    144
    2.625
    3
    [ "MIT" ]
    permissive
    CREATE FUNCTION MinimumFloat(@a AS float, @b AS float) RETURNS float AS BEGIN RETURN CASE WHEN @a < @b THEN @a ELSE COALESCE(@b,@a) END END
    true
    6ed3fa1cc3937520784ead795fd7008998137bbe
    SQL
    djole-petrovic-js/real_time_polls
    /cli/queries/createRoleTable.sql
    UTF-8
    194
    2.953125
    3
    []
    no_license
    CREATE TABLE IF NOT EXISTS `Role` ( `id_role` INTEGER auto_increment , `role` VARCHAR(20) NOT NULL UNIQUE, UNIQUE `Role_role_unique` (`role`), PRIMARY KEY (`id_role`) ) ENGINE=InnoDB;
    true
    50fe9aadad15dbc11b393df7ea1d18baca0a4dee
    SQL
    stephane-klein/poc-postgraphile-forum
    /sqls/seed/100_clean.sql
    UTF-8
    537
    2.65625
    3
    []
    no_license
    \echo "Database cleaning..." SET client_min_messages TO WARNING; DROP SCHEMA IF EXISTS forum_example CASCADE; DROP SCHEMA IF EXISTS forum_example_private CASCADE; DROP ROLE IF EXISTS forum_example_postgraphile; DROP ROLE IF EXISTS forum_example_anonymous; DROP ROLE IF EXISTS forum_example_person; CREATE EXTENSION IF NOT EXISTS citext; CREATE EXTENSION IF NOT EXISTS "uuid-ossp" WITH SCHEMA public; CREATE EXTENSION IF NOT EXISTS pgcrypto; CREATE SCHEMA forum_example; CREATE SCHEMA forum_example_private; \echo "Database cleaned"
    true
    a6026f7f9ba8488126a85f3deba51c271046a0c4
    SQL
    m3rciful/mysite
    /kurator.sql
    UTF-8
    13,598
    3.25
    3
    []
    no_license
    -- phpMyAdmin SQL Dump -- version 4.2.12deb2+deb8u1 -- http://www.phpmyadmin.net -- -- Хост: localhost -- Время создания: Апр 27 2016 г., 01:36 -- Версия сервера: 5.5.47-0+deb8u1 -- Версия PHP: 5.6.19-0+deb8u1 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- База данных: `mysite` -- -- -------------------------------------------------------- -- -- Структура таблицы `address` -- CREATE TABLE IF NOT EXISTS `address` ( `id` int(11) NOT NULL, `street` varchar(40) NOT NULL, `house` varchar(10) NOT NULL, `room` int(11) NOT NULL, `city_id` int(11) NOT NULL ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8; -- -- Дамп данных таблицы `address` -- REPLACE INTO `address` (`id`, `street`, `house`, `room`, `city_id`) VALUES (1, 'Jaama', '4', 12, 1), (2, 'Soo', '2', 5, 1), (3, 'Kutse', '13', 245, 1); -- -------------------------------------------------------- -- -- Структура таблицы `city` -- CREATE TABLE IF NOT EXISTS `city` ( `id` int(11) NOT NULL, `name` varchar(40) NOT NULL, `country_id` int(11) NOT NULL ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; -- -- Дамп данных таблицы `city` -- REPLACE INTO `city` (`id`, `name`, `country_id`) VALUES (1, 'Narva', 1); -- -------------------------------------------------------- -- -- Структура таблицы `country` -- CREATE TABLE IF NOT EXISTS `country` ( `id` int(11) NOT NULL, `name` varchar(40) NOT NULL ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; -- -- Дамп данных таблицы `country` -- REPLACE INTO `country` (`id`, `name`) VALUES (1, 'Estonia'); -- -------------------------------------------------------- -- -- Структура таблицы `curator` -- CREATE TABLE IF NOT EXISTS `curator` ( `id` int(11) NOT NULL, `teacher_id` int(11) NOT NULL, `group_id` int(11) NOT NULL ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8; -- -- Дамп данных таблицы `curator` -- REPLACE INTO `curator` (`id`, `teacher_id`, `group_id`) VALUES (1, 1, 1), (2, 2, 3), (3, 1, 2), (4, 0, 1), (5, 1, 1); -- -------------------------------------------------------- -- -- Структура таблицы `group` -- CREATE TABLE IF NOT EXISTS `group` ( `id` int(11) NOT NULL, `abbreviation` varchar(7) NOT NULL, `groupname` varchar(50) NOT NULL, `begin_year` int(11) NOT NULL, `end_year` int(11) NOT NULL, `begin_month` int(11) NOT NULL, `end_month` int(11) NOT NULL ) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8; -- -- Дамп данных таблицы `group` -- REPLACE INTO `group` (`id`, `abbreviation`, `groupname`, `begin_year`, `end_year`, `begin_month`, `end_month`) VALUES (1, 'PTVR', 'Tarkvaraarendaja', 2015, 2018, 9, 6), (2, 'KTVR', 'Tarkvaraarendaja', 2015, 2017, 9, 6), (3, 'PTAR', 'Andmebaaside haldus', 2014, 2016, 9, 6), (4, 'KTAR', 'Tarkvaraandmebaaside haldus', 2010, 2013, 9, 6), (6, 'PASR', 'Automaatika', 2013, 2016, 9, 6); -- -------------------------------------------------------- -- -- Структура таблицы `modul` -- CREATE TABLE IF NOT EXISTS `modul` ( `id` int(11) NOT NULL, `name` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Структура таблицы `pages` -- CREATE TABLE IF NOT EXISTS `pages` ( `id` int(11) NOT NULL, `date` varchar(20) CHARACTER SET utf8 NOT NULL, `author` varchar(40) CHARACTER SET utf8 NOT NULL, `title` varchar(255) CHARACTER SET utf8 NOT NULL, `content` text CHARACTER SET utf8 NOT NULL ) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=latin1; -- -- Дамп данных таблицы `pages` -- REPLACE INTO `pages` (`id`, `date`, `author`, `title`, `content`) VALUES (2, '2015-12-15 22:03:54', '', 'Первая', 'текст текст'), (7, '2015-12-15 23:19:37', 'Админ', 'Вторая статья', 'Текст второй статьи'), (9, '2015-12-16 00:00:07', 'Дюдя', 'Третья запись', 'Текст третьей статьи'), (11, '2015-12-16 01:21:00', 'Dew', 'Четвертая запись', 'Текст четвертой записи (обновленный)'); -- -------------------------------------------------------- -- -- Структура таблицы `parent` -- CREATE TABLE IF NOT EXISTS `parent` ( `id` int(11) NOT NULL, `person_id` int(11) NOT NULL, `status` int(11) NOT NULL, `address_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Структура таблицы `person` -- CREATE TABLE IF NOT EXISTS `person` ( `id` int(11) NOT NULL, `name` varchar(40) NOT NULL, `surname` varchar(40) NOT NULL, `code` varchar(11) NOT NULL, `eban` varchar(40) NOT NULL, `bankname` varchar(40) NOT NULL ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; -- -- Дамп данных таблицы `person` -- REPLACE INTO `person` (`id`, `name`, `surname`, `code`, `eban`, `bankname`) VALUES (1, 'Juri', 'Melnikov', '37012122234', 'EE22409348539045304', 'Swedpank'), (2, 'Aleksandr', 'Saas', '37905232212', 'EE224850373649298384', 'Swedpank'), (3, 'Sergei', 'Novitskov', '38011031132', 'EE2249503945345927', 'SEB'), (4, 'Oleg', 'Dubobtsky', '37012132214', 'EE2343456754675645', 'Nordipank'); -- -------------------------------------------------------- -- -- Структура таблицы `person_address` -- CREATE TABLE IF NOT EXISTS `person_address` ( `id` int(11) NOT NULL, `person_id` int(11) NOT NULL, `address_id` int(11) NOT NULL ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1; -- -- Дамп данных таблицы `person_address` -- REPLACE INTO `person_address` (`id`, `person_id`, `address_id`) VALUES (1, 1, 1), (2, 2, 2), (3, 3, 3); -- -------------------------------------------------------- -- -- Структура таблицы `person_telephones` -- CREATE TABLE IF NOT EXISTS `person_telephones` ( `id` int(11) NOT NULL, `telephone_id` int(11) NOT NULL, `person_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Структура таблицы `student` -- CREATE TABLE IF NOT EXISTS `student` ( `id` int(11) NOT NULL, `registry` int(11) NOT NULL, `group_id` int(11) NOT NULL, `person_id` int(11) NOT NULL, `address_id` int(11) NOT NULL ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8; -- -- Дамп данных таблицы `student` -- REPLACE INTO `student` (`id`, `registry`, `group_id`, `person_id`, `address_id`) VALUES (1, 1234, 1, 2, 1), (2, 1235, 1, 4, 2), (3, 1236, 3, 3, 3); -- -------------------------------------------------------- -- -- Структура таблицы `student_parents` -- CREATE TABLE IF NOT EXISTS `student_parents` ( `id` int(11) NOT NULL, `student_id` int(11) NOT NULL, `parent_id` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Структура таблицы `teacher` -- CREATE TABLE IF NOT EXISTS `teacher` ( `id` int(11) NOT NULL, `person_id` int(11) NOT NULL ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; -- -- Дамп данных таблицы `teacher` -- REPLACE INTO `teacher` (`id`, `person_id`) VALUES (1, 1); -- -------------------------------------------------------- -- -- Структура таблицы `telefon` -- CREATE TABLE IF NOT EXISTS `telefon` ( `id` int(11) NOT NULL, `telephone_code` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Индексы сохранённых таблиц -- -- -- Индексы таблицы `address` -- ALTER TABLE `address` ADD PRIMARY KEY (`id`), ADD KEY `city_id` (`city_id`); -- -- Индексы таблицы `city` -- ALTER TABLE `city` ADD PRIMARY KEY (`id`), ADD KEY `country_id` (`country_id`); -- -- Индексы таблицы `country` -- ALTER TABLE `country` ADD PRIMARY KEY (`id`); -- -- Индексы таблицы `curator` -- ALTER TABLE `curator` ADD PRIMARY KEY (`id`), ADD KEY `id_teacher` (`teacher_id`), ADD KEY `id_group` (`group_id`), ADD KEY `id_teacher_2` (`teacher_id`), ADD KEY `id_group_2` (`group_id`); -- -- Индексы таблицы `group` -- ALTER TABLE `group` ADD PRIMARY KEY (`id`), ADD KEY `groupname` (`groupname`); -- -- Индексы таблицы `modul` -- ALTER TABLE `modul` ADD PRIMARY KEY (`id`); -- -- Индексы таблицы `pages` -- ALTER TABLE `pages` ADD PRIMARY KEY (`id`); -- -- Индексы таблицы `parent` -- ALTER TABLE `parent` ADD PRIMARY KEY (`id`), ADD KEY `person_id` (`person_id`,`address_id`); -- -- Индексы таблицы `person` -- ALTER TABLE `person` ADD PRIMARY KEY (`id`); -- -- Индексы таблицы `person_address` -- ALTER TABLE `person_address` ADD PRIMARY KEY (`id`), ADD KEY `person_id` (`person_id`,`address_id`); -- -- Индексы таблицы `person_telephones` -- ALTER TABLE `person_telephones` ADD PRIMARY KEY (`id`), ADD KEY `telephone_id` (`telephone_id`), ADD KEY `person_id` (`person_id`); -- -- Индексы таблицы `student` -- ALTER TABLE `student` ADD PRIMARY KEY (`id`), ADD KEY `groupname` (`group_id`), ADD KEY `group_id` (`group_id`), ADD KEY `group_id_2` (`group_id`), ADD KEY `person_id` (`person_id`), ADD KEY `address_id` (`address_id`); -- -- Индексы таблицы `student_parents` -- ALTER TABLE `student_parents` ADD PRIMARY KEY (`id`), ADD KEY `student_id` (`student_id`,`parent_id`); -- -- Индексы таблицы `teacher` -- ALTER TABLE `teacher` ADD PRIMARY KEY (`id`), ADD KEY `person_id` (`person_id`), ADD KEY `person_id_2` (`person_id`); -- -- Индексы таблицы `telefon` -- ALTER TABLE `telefon` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT для сохранённых таблиц -- -- -- AUTO_INCREMENT для таблицы `address` -- ALTER TABLE `address` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=4; -- -- AUTO_INCREMENT для таблицы `city` -- ALTER TABLE `city` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2; -- -- AUTO_INCREMENT для таблицы `country` -- ALTER TABLE `country` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2; -- -- AUTO_INCREMENT для таблицы `curator` -- ALTER TABLE `curator` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=6; -- -- AUTO_INCREMENT для таблицы `group` -- ALTER TABLE `group` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=10; -- -- AUTO_INCREMENT для таблицы `modul` -- ALTER TABLE `modul` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT для таблицы `pages` -- ALTER TABLE `pages` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=12; -- -- AUTO_INCREMENT для таблицы `parent` -- ALTER TABLE `parent` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT для таблицы `person` -- ALTER TABLE `person` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=5; -- -- AUTO_INCREMENT для таблицы `person_address` -- ALTER TABLE `person_address` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=4; -- -- AUTO_INCREMENT для таблицы `person_telephones` -- ALTER TABLE `person_telephones` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT для таблицы `student` -- ALTER TABLE `student` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=4; -- -- AUTO_INCREMENT для таблицы `student_parents` -- ALTER TABLE `student_parents` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT для таблицы `teacher` -- ALTER TABLE `teacher` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2; -- -- AUTO_INCREMENT для таблицы `telefon` -- ALTER TABLE `telefon` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- Ограничения внешнего ключа сохраненных таблиц -- -- -- Ограничения внешнего ключа таблицы `curator` -- ALTER TABLE `curator` ADD CONSTRAINT `curator_ibfk_1` FOREIGN KEY (`group_id`) REFERENCES `group` (`id`); -- -- Ограничения внешнего ключа таблицы `person_telephones` -- ALTER TABLE `person_telephones` ADD CONSTRAINT `person_telephones_ibfk_1` FOREIGN KEY (`person_id`) REFERENCES `person` (`id`), ADD CONSTRAINT `person_telephones_ibfk_2` FOREIGN KEY (`telephone_id`) REFERENCES `telefon` (`id`); -- -- Ограничения внешнего ключа таблицы `student` -- ALTER TABLE `student` ADD CONSTRAINT `student_ibfk_1` FOREIGN KEY (`person_id`) REFERENCES `person` (`id`), ADD CONSTRAINT `student_ibfk_2` FOREIGN KEY (`group_id`) REFERENCES `group` (`id`); -- -- Ограничения внешнего ключа таблицы `teacher` -- ALTER TABLE `teacher` ADD CONSTRAINT `teacher_ibfk_1` FOREIGN KEY (`person_id`) REFERENCES `person` (`id`); /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
    true
    1818eff9be64c9da9f36d9d52d2d6b1fb658b662
    SQL
    aayushi491995/WebApi-Custom-Application
    /AssignmentWebApi/AssignmentWebApi/SQLScripts.sql
    UTF-8
    938
    3.40625
    3
    []
    no_license
    --Create Database create database Product --Use Database use Product --Create table for Products create table tblProducts ( id int identity(1,1) primary key, pname varchar(100), pdesc varchar(8000), price float, ) --Indert values in Products table insert into tblProducts values ('Table','This is a table for 10', 500.56), ('Chair','This is a chair', 2000), ('Laptop','The Laptop can be used for oficial purpose only.', 40000), ('Desktop','This system is not allowed outside premises.', 30000), ('Table','This is a table for 5', 10000), ('Desk','The Desk can be transeffered.', 5000.36), ('Table Furniture','This is a table for 10', 500.56), ('Furniture','This is a home Decor Furniture', 2000), ('Bed','Bed is for 8000.', 80000), ('Sofa','Sofa can be used for official purpose.', 1500), ('Wires','This consist of 25sq m.', 600), ('Desk-IT','The Desk can be used for official set-up.', 3600.36)
    true
    b483bad4e2a0b250497262017a134b427b06c2fe
    SQL
    xueleicug/saml-demo
    /script/saml.sql
    GB18030
    4,131
    3.09375
    3
    []
    no_license
    -- 1 -- saml.saml_idp_user CREATE TABLE saml.`saml_idp_user` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `update_date` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, `login_name` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL, `name` varchar(45) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '', `email` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '', `phone` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '绰', `title` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'ְλ', `password` varchar(500) COLLATE utf8_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `IDX_LOGIN_NAME` (`login_name`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- saml.saml_idp_sp_metadata CREATE TABLE saml.`saml_idp_sp_metadata` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `update_date` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, `sp_entity_id` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, `single_sign_on_consumer` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '¼ߵַ', `single_logout_consumer` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'dzߵַ', `sign_required` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Ƿ֤ǩ', `sp_credential_id` bigint(20) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `IDX_ENTITY_ID` (`sp_entity_id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- saml.saml_idp_sp_credential CREATE TABLE saml.`saml_idp_sp_credential` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `update_date` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, `private_key` varchar(1200) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'spԿ', `x509_cert` varchar(1200) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'spԿ', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- saml.saml_sp_idp_metadata CREATE TABLE saml.`saml_sp_idp_metadata` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `update_date` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, `idp_entity_id` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, `single_sign_on_url` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT '¼ַ', `single_logout_url` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'dzַ', `sign_required` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'ǷУǩ', `idp_credential_id` bigint(20) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `IDX_ENTITY_ID` (`idp_entity_id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- saml.saml_idp_sp_credential CREATE TABLE saml.`saml_sp_idp_credential` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `update_date` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, `private_key` varchar(1200) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'IdPԿ', `x509_cert` varchar(1200) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'IdPԿ', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; INSERT INTO saml.saml_idp_user (login_name, name, email, phone, title, password) values ("xuelei915", "Ѧ", "[email protected]", "17688997550", "ʦ" ,"xuelei915"); INSERT INTO saml.saml_idp_sp_credential (private_key, x509_cert) values ('', 'MIICdDCCAd2gAwIBAgIBADANBgkqhkiG9w0BAQ0FADBXMQswCQYDVQQGEwJjbjES MBAGA1UECAwJR3Vhbmdkb25nMREwDwYDVQQKDAhTaGVuemhlbjEhMB8GA1UEAwwY aHR0cDovL3h1ZWxlaS5tb2Nrc3AuY29tMB4XDTE5MDgxMzEzNTYyMloXDTIxMDcx MzEzNTYyMlowVzELMAkGA1UEBhMCY24xEjAQBgNVBAgMCUd1YW5nZG9uZzERMA8G A1UECgwIU2hlbnpoZW4xITAfBgNVBAMMGGh0dHA6Ly94dWVsZWkubW9ja3NwLmNv bTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA8vOQpVFvMAY/1TuHT7qopYK9 5mulfC3k0meptx8PLZ/1+Mqfq19dPfTTkwcoyoUgUKwPhawPkOAWvs5aLqXJLiqc L6jYDEu5tSFCxIPGG9xlOMwTBDOmZhvM8PflUQExvwTNFBKUjiL+Q8RXmcxEvhJO 9CcuUSQJTwmdBpfUGx0CAwEAAaNQME4wHQYDVR0OBBYEFBvrZi20Luvi8E9VreYR BAdgk8/4MB8GA1UdIwQYMBaAFBvrZi20Luvi8E9VreYRBAdgk8/4MAwGA1UdEwQF MAMBAf8wDQYJKoZIhvcNAQENBQADgYEAfeuWeR/eCcca6UPmifQS8HbQxfNkpksS moz5a00xOYsJGJLV0nEwlnmWpnp8dvMgfhpgOVCy1cHZC92Ihp7Fu74GL1gTKkEl d5I3YX9HEEM/OdqFJ3LVgRivGU2s0+PRD2kJuL1r7uZDDztzgKBouRB8hxa49fp1 1hRyAuN2sv4='); INSERT INTO saml.saml_idp_sp_metadata (sp_entity_id, single_sign_on_consumer, single_logout_consumer, sign_required, sp_credential_id) values ("xuelei.mocksp", "http://119.147.81.3:9999/sp/consumer/single/login", "http://119.147.81.3:9999/sp/consumer/logout", 1, 2); INSERT INTO saml.saml_sp_idp_credential (private_key, x509_cert) values ('', 'MIICdjCCAd+gAwIBAgIBADANBgkqhkiG9w0BAQ0FADBYMQswCQYDVQQGEwJjbjES MBAGA1UECAwJR3Vhbmdkb25nMREwDwYDVQQKDAhTaGVuemhlbjEiMCAGA1UEAwwZ aHR0cDovL3h1ZWxlaS5tb2NraWRwLmNvbTAeFw0xOTA4MTMxMzU3NDVaFw0yMTA3 MTMxMzU3NDVaMFgxCzAJBgNVBAYTAmNuMRIwEAYDVQQIDAlHdWFuZ2RvbmcxETAP BgNVBAoMCFNoZW56aGVuMSIwIAYDVQQDDBlodHRwOi8veHVlbGVpLm1vY2tpZHAu Y29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCbrDX9YgPvXGLB9XDH/taa ZkYXZ577E8Ghaa60Hki+Apl94J18AYBZf/dJiOwZEPt9txaDmdQXwPI+rLPfKcZX WE9JtfYlvE6fFc+ZrjEXwJPDUJ/1J6BZekwxJBVBRmj/CSvgTZurSKzmFtCgigBG wcAq/Nn4BmrVwPj+NmtFMQIDAQABo1AwTjAdBgNVHQ4EFgQU1YwVlNAYdAUVXXTi lq1r8AHY9dIwHwYDVR0jBBgwFoAU1YwVlNAYdAUVXXTilq1r8AHY9dIwDAYDVR0T BAUwAwEB/zANBgkqhkiG9w0BAQ0FAAOBgQBO4K7EiOdJuWTogp/rCybILjucFfy9 PWOrFm+IdwYZ2ZNBbjTBwRTLohLM0aWOt64m3XSy4UgHGnBtSR3pemaAxYuxliri jR/JErXEN9Qepfforb5mmGZIvsJNiPbTGAc1VQOFfQgBiuGZ/ZEuba1/zd6cgxgM IYMpID0KQ/Srww=='); INSERT INTO saml.saml_sp_idp_metadata (idp_entity_id, single_sign_on_url, single_logout_url, sign_required, idp_credential_id) values ('xuelei.mockidp', 'http://119.147.81.3:8888/idp/sso/login', 'http://119.147.81.3:8888/idp/sso/logout', 1, 2);
    true
    241c2b49a6cd9bcd2fc83e3d0a4e4f1a2004364d
    SQL
    fandashtic/arc_chennai
    /Sivabalan-SQL/SQL_STORED_PROCEDURE/spr_Vendor_Rating.sql
    UTF-8
    259
    2.625
    3
    []
    no_license
    Create Procedure spr_Vendor_Rating (@FromDate datetime, @ToDate datetime) As Select Vendors.VendorID, "VendorID" = Vendors.VendorID, "Name" = Vendors.Vendor_Name, "Contact Person" = Vendors.ContactPerson, "Rating" = Vendors.VendorRating From Vendors
    true
    95d0c685490407098df0dfa47c945c18a9500754
    SQL
    silence-do-good/stress-test-Postgres-and-MySQL
    /dump/high/day18/select2201.sql
    UTF-8
    178
    2.6875
    3
    []
    no_license
    SELECT timeStamp, temperature FROM ThermometerOBSERVATION o WHERE timestamp>'2017-11-17T22:01:00Z' AND timestamp<'2017-11-18T22:01:00Z' AND temperature>=35 AND temperature<=77
    true
    113d649d52c62f3b01049a5ffbf8f37e25be1645
    SQL
    travisjohnston622/Solo-Project-Outdoor-Planner
    /database.sql
    UTF-8
    836
    3.578125
    4
    []
    no_license
    -- USER is a reserved keyword with Postgres -- You must use double quotes in every query that user is in: -- ex. SELECT * FROM "user"; -- Otherwise you will have errors! -- Database is named Outdoor_Planner CREATE TABLE "user" ( "id" SERIAL PRIMARY KEY, "username" VARCHAR (80) UNIQUE NOT NULL, "password" VARCHAR (1000) NOT NULL ); INSERT INTO "user" ("first_name", "last_name", "username", "password") VALUES ("Travis", "Johnston", "TookieJay622", "TravDaSav62"); CREATE TABLE "routes" ( "id" SERIAL PRIMARY KEY, "route_name" VARCHAR (100) NOT NULL, "user_id" INT ); CREATE TABLE "route_points" ( "id" SERIAL PRIMARY KEY, "longitude" INT, "latitude" INT, "comments_id" INT, "route_id" INT, ); CREATE TABLE "comments" ( "id" SERIAL PRIMARY KEY, "comments" VARCHAR );
    true
    6ba69824150fef4b24a268995f9789b1257e59a1
    SQL
    ericcastro92/CS174-Project
    /users.sql
    UTF-8
    1,331
    3
    3
    []
    no_license
    -- phpMyAdmin SQL Dump -- version 4.1.14 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Dec 17, 2014 at 08:36 PM -- Server version: 5.6.17 -- PHP Version: 5.5.12 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Database: `cs174` -- -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE IF NOT EXISTS `users` ( `id` int(11) NOT NULL AUTO_INCREMENT, `email` varchar(30) NOT NULL, `password` varchar(30) NOT NULL, `role` enum('A','U') CHARACTER SET utf8 NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `email` (`email`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ; -- -- Dumping data for table `users` -- INSERT INTO `users` (`id`, `email`, `password`, `role`) VALUES (4, '[email protected]', 'Tester123', 'U'), (5, '[email protected]', 'Admin123', 'A'), (6, '[email protected]', 'Tester123', 'U'); /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
    true
    866bd22a7cd15381e26a95957b67ec42f683ca24
    SQL
    ryanriopelle/blockchain_takehome
    /bigquery/sql/transfers.sql
    UTF-8
    464
    3.828125
    4
    []
    no_license
    SELECT 'btc' AS chain, block_timestamp, block_hash, input_address AS sender, output_address AS receiver, SAFE_DIVIDE(LEAST(input_value, output_value), POW(10, 8)) AS value, FROM `bigquery-public-data.crypto_bitcoin.transactions`, UNNEST(inputs) AS input, UNNEST(input.addresses) AS input_address, UNNEST(outputs) AS output, UNNEST(output.addresses) AS output_address WHERE block_timestamp_month = DATE_TRUNC(CURRENT_DATE() , MONTH) LIMIT 10
    true
    90bd6aae803752a69321900ed69c898a07c55215
    SQL
    kippum99/relational_databases
    /PS 4/cs121hw4/cs121hw4-jooeun/submit-stats.sql
    UTF-8
    3,674
    4.65625
    5
    []
    no_license
    -- [Problem 1] DROP FUNCTION IF EXISTS min_submit_interval; DELIMITER ! -- Create a function that takes an integer argument sub_id and -- returns an integer value of minimum submit interval in seconds -- If the submission has less than 2 filesets, return null CREATE FUNCTION min_submit_interval(sub_id INT) RETURNS INT BEGIN -- Variables to store the timestamps being compared -- and min interval found so far DECLARE first_val TIMESTAMP; DECLARE second_val TIMESTAMP; DECLARE current_interval INT; DECLARE min_interval INT; -- Cursor and flag for when fetching is done DECLARE done INT DEFAULT 0; DECLARE cur CURSOR FOR SELECT sub_date FROM fileset AS f WHERE f.sub_id=sub_id ORDER BY sub_date; -- When fetch is complete, handler sets flag DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; OPEN cur; REPEAT FETCH cur INTO first_val; WHILE NOT done DO FETCH cur INTO second_val; IF NOT done THEN SET current_interval = UNIX_TIMESTAMP(second_val) - UNIX_TIMESTAMP(first_val); IF ISNULL(min_interval) OR current_interval < min_interval THEN SET min_interval = current_interval; END IF; SET first_val = second_val; END IF; END WHILE; UNTIL done END REPEAT; CLOSE cur; RETURN min_interval; END ! DELIMITER ; -- [Problem 2] DROP FUNCTION IF EXISTS max_submit_interval; DELIMITER ! -- Create function that takes an integer argument sub_id and -- returns an integer value of maximum submit interval in seconds -- If the submission has less than 2 filesets, return null CREATE FUNCTION max_submit_interval(sub_id INT) RETURNS INT BEGIN -- Variables to store the timestamps being compared -- and max interval found so far DECLARE first_val TIMESTAMP; DECLARE second_val TIMESTAMP; DECLARE current_interval INT; DECLARE max_interval INT DEFAULT -1; -- Cursor and flag for when fetching is done DECLARE done INT DEFAULT 0; DECLARE cur CURSOR FOR SELECT sub_date FROM fileset AS f WHERE f.sub_id=sub_id ORDER BY sub_date; -- When fetch is complete, handler sets flag DECLARE CONTINUE HANDLER FOR SQLSTATE '02000' SET done = 1; OPEN cur; REPEAT FETCH cur INTO first_val; WHILE NOT done DO FETCH cur INTO second_val; IF NOT done THEN SET current_interval = UNIX_TIMESTAMP(second_val) - UNIX_TIMESTAMP(first_val); IF current_interval > max_interval THEN SET max_interval = current_interval; END IF; SET first_val = second_val; END IF; END WHILE; UNTIL done END REPEAT; CLOSE cur; IF max_interval = -1 THEN RETURN NULL; END IF; RETURN max_interval; END ! DELIMITER ; -- [Problem 3] DROP FUNCTION IF EXISTS avg_submit_interval; DELIMITER ! -- Create a function that takes an integer argument sub_id and -- returns a double value of the average submit interval in seconds -- If the submission has less than 2 filesets, return null CREATE FUNCTION avg_submit_interval(sub_id INT) RETURNS DOUBLE BEGIN RETURN ( SELECT (UNIX_TIMESTAMP(MAX(sub_date)) - UNIX_TIMESTAMP(MIN(sub_date))) / (COUNT(*) - 1) FROM fileset AS f WHERE f.sub_id = sub_id); END ! DELIMITER ; -- [Problem 4] -- Create an index on fileset to speed up sub_id look up time and -- min / max for sub_date CREATE INDEX idx_sub ON fileset (sub_id, sub_date);
    true
    79c79f099e21d77e7b9c030a3a4229a18be44b9b
    SQL
    SteeveJ/sql_blog_dut
    /database/tables.sql
    UTF-8
    371
    3.109375
    3
    []
    no_license
    drop table if exists sujet; drop table if exists tag; create table tag( id serial primary key, name varchar(50) ); create table sujet( id serial primary key, name varchar(60), hide boolean DEFAULT false, created_at timestamp default current_timestamp, updated_at timestamp default current_timestamp, id_tag integer references tag null );
    true
    d1e43e9c085c442fe19895ddd5026f9e4b16185b
    SQL
    rominad/Practica_DML
    /Unidad1_EJ_6.sql
    ISO-8859-1
    1,527
    3.859375
    4
    []
    no_license
    --/ Alumna: Bazan Daniela Romina - 3ro Analista en sistemas - 2018 /-- --DML use editorial ----***************************************************************************************************************************** /*EJERCICIO NUMERO 6: Funciones agregadas. No olvidar renombrar las columnas obtenidas por funcin agregada.*/ /*6.1. Mostrar el promedio de venta anual de todos los ttulos*/ select t.titulo, funcion_agregada = (sum(v.cantidad) /count( v.cantidad)) from titulos as t, ventas as v where v.titulo_id = t.titulo_id group by t.titulo /*6.2. Mostrar el mximo de adelanto de todos los ttulos*/ /*select t.titulo, funcion_agregada = max(t.adelanto) from titulos as t group by t.titulo*/ select max(adelanto) as maximo_adelanto from titulos /*6.3. Informar cuantos planes de regalas tiene el ttulo MC3021*/ select t.titulo, funcion_agregada = COUNT(p.titulo_id) from titulos as t, plan_regalias as p WHERE t.titulo_id = 'MC3021' group by t.titulo /*6.4. Obtener el total de ventas realizadas a 30 das en el ao 2014*/ /*select anio= year(v.fecha_orden), funcion_agregada = sum(v.cantidad) from ventas as v where year(v.fecha_orden) like '2014' and v.forma_pago like '%30 D[,i]as%' group by year(v.fecha_orden) */ select count(*) as total_ventas from ventas where forma_pago = '30 dias' and year(fecha_orden) = 2014 /*6.5. Informar cuantas formas de pago existen*/ select forma_pago = count(distinct forma_pago) from ventas select distinct forma_pago from ventas
    true
    4346c1120ee935beff830818b4fe189d5a23a144
    SQL
    Acasale992/ITBOOTCAMP_Domaci
    /Nedelja_9/Nedelja/33D_6126_Aleksandar_Stojanovic/upiti.sql
    UTF-8
    3,022
    3.109375
    3
    []
    no_license
    /* Zadatak 1*/ /* Dodavanje proizvoda*/ INSERT INTO `proizvodi` (`barkod`, `naziv`, `cena`) VALUES ('123', 'krastavac', '100'), ('456', 'paprika', '129'), ('098', 'jabuka', '55'), ('918', 'kruska', '99'); /* Dodavanje prodaja */ INSERT INTO `prodaja` (`id`, `barkod`, `kolicina`, `cena`, `datum`) VALUES (NULL, '98', '10', '60', '2021-05-01 16:25:55'), (NULL, '98', '20', '70', '2021-06-16 16:25:55'), (NULL, '98', '30', '80', '2021-06-17 16:25:55'), (NULL, '123', '10', '90', '2021-05-01 16:25:55'), (NULL, '123', '20', '80', '2021-06-16 16:25:55'), (NULL, '123', '30', '100', '2021-06-17 16:25:55'), (NULL, '918', '20', '90', '2021-05-01 16:25:55'), (NULL, '918', '30', '80', '2021-06-17 16:25:55'), (NULL, '456', '10', '110', '2021-05-01 16:25:55'), (NULL, '456', '10', '120', '2021-06-16 16:25:55'); /*Zadatak 2 - upiti po redu*/ - INSERT INTO `proizvodi` (`barkod`, `naziv`, `cena`) VALUES ('789', 'paradajz', '200'), ('776', 'crni luk', '50'), ('761', 'beli luk', '80') - INSERT INTO `prodaja`(`id`, `barkod`, `kolicina`, `cena`, `datum`) VALUES (NULL,'789','50','200','2021-06-16') - INSERT INTO `prodaja`(`id`, `barkod`, `kolicina`, `cena`, `datum`) VALUES (NULL,'789','20','200','2021-06-17') - INSERT INTO `prodaja`(`id`, `barkod`, `kolicina`, `cena`, `datum`) VALUES (NULL,'789','40','250','2021-06-17') - INSERT INTO `prodaja`(`id`, `barkod`, `kolicina`, `cena`, `datum`) VALUES (NULL,'789','10','220','2021-06-17') - INSERT INTO `prodaja`(`id`, `barkod`, `kolicina`, `cena`, `datum`) VALUES (NULL,'776','30','50','2021-05-01') - INSERT INTO `prodaja`(`id`, `barkod`, `kolicina`, `cena`, `datum`) VALUES (NULL,'761','30','50','2021-05-01'), (NULL,'761','10','220','2021-06-17'), (NULL,'761','50','200','2021-06-16') - DELETE FROM `prodaja` WHERE `datum`='2021-06-16' AND `barkod`='789' /* brise svu prodaju paradajza za datum 16.6 */ - UPDATE `prodaja` SET `cena`=(`cena`+(`cena`*0.1)) WHERE `datum`='2021-06-17' /* svim prodajama za datum 17.6 dodaje na cenu 10% */ - SELECT `barkod` FROM `prodaja` WHERE `datum`='2021-05-01' /* prikazuje barkodove svih proizvoda koji su imali prodaju 1.5. */ - SELECT DISTINCT(`barkod`) FROM `prodaja` WHERE `datum`='2021-05-01' /* prikazuje samo razlicite barkodove koji su imali prodaju 1.5 */ - SELECT `datum`,SUM(`kolicina`) AS ukupna_kolicina FROM `prodaja` GROUP BY `datum` /* prikazuje ukupnu kolicinu prodatih proizvoda po datumima, tako sto prikazuje dve kolone: datum, ukupna_kolicina */ - SELECT `naziv` AS proizvod, SUM(`kolicina`) AS ukupna_kolicina FROM `prodaja` JOIN `proizvodi` ON prodaja.barkod=proizvodi.barkod GROUP BY `naziv` /* prikazuje ukupnu kolicinu prodaje po proizvodu, tako sto prikazuje dve kolone: proizvod, ukupna_kolicina */˛ - SELECT `naziv` AS proizvod, `datum`, SUM(`kolicina`) as ukupno FROM `prodaja` JOIN `proizvodi` ON prodaja.barkod=proizvodi.barkod group by `naziv`, `datum` /* prikazuje ukupnu kolicinu prodaje po proizvodu i datumu, tako sto prikazuje tri kolone: proizvod, datum, ukupna_kolicina. */
    true
    878cf7c0e739f8e99e578bd9e6439c2c035b824d
    SQL
    dgpreethamroy/project
    /art.sql
    UTF-8
    2,185
    2.65625
    3
    []
    no_license
    -- phpMyAdmin SQL Dump -- version 4.7.4 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1:3306 -- Generation Time: Sep 21, 2017 at 04:58 PM -- Server version: 5.7.19 -- PHP Version: 5.6.31 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `clubs` -- -- -------------------------------------------------------- -- -- Table structure for table `art` -- DROP TABLE IF EXISTS `art`; CREATE TABLE IF NOT EXISTS `art` ( `id` int(10) NOT NULL, `username` varchar(50) NOT NULL, `password` varchar(50) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `art` -- INSERT INTO `art` (`id`, `username`, `password`) VALUES (1, 'CS15B001', 'CS15B001'), (2, 'CS15B002', 'CS15B002'), (3, 'CS15B003', 'CS15B003'), (4, 'CS15B004', 'CS15B004'), (5, 'CS15B005', 'CS15B005'), (6, 'CS15B006', 'CS15B006'), (7, 'CS15B007', 'CS15B007'), (8, 'CS15B008', 'CS15B008'), (9, 'CS15B009', 'CS15B009'), (10, 'CS15B010', 'CS15B010'), (11, 'CS15B011', 'CS15B011'), (12, 'CS15B012', 'CS15B012'), (13, 'CS15B013', 'CS15B013'), (14, 'CS15B014', 'CS15B014'), (15, 'CS15B0015', 'CS15B0015'), (16, 'CS15B0016', 'CS15B0016'), (17, 'CS15B0017', 'CS15B0017'), (18, 'CS15B0018', 'CS15B0018'), (19, 'CS15B0019', 'CS15B0019'), (20, 'CS15B0020', 'CS15B0020'), (21, 'CS15B0021', 'CS15B0021'), (22, 'CS15B0022', 'CS15B0022'), (23, 'CS15B0023', 'CS15B0023'), (24, 'CS15B0024', 'CS15B0024'), (25, 'CS15B0025', 'CS15B0025'), (26, 'CS15B0026', 'CS15B0026'), (27, 'CS15B0027', 'CS15B0027'), (28, 'CS15B0028', 'CS15B0028'), (29, 'CS15B0029', 'CS15B0029'), (30, 'CS15B0030', 'CS15B0030'), (31, 'CS15B0031', 'CS15B0031'), (32, 'CS15B0032', 'CS15B0032'), (33, 'CS15B0033', 'CS15B0033'); COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
    true
    e775f1163d4edbe19cc5db4c498584bf29ea14e9
    SQL
    radtek/abs3
    /sql/mmfo/bars/Data/tts/et_sm4.sql
    WINDOWS-1251
    6,753
    2.921875
    3
    []
    no_license
    set lines 1000 set trimspool on set serveroutput on size 1000000 prompt / SM4 prompt : SM4-³ declare cnt_ number; begin -------------------------------- -- -- -------------------------------- begin insert into tts(tt, name, dk, nlsm, kv, nlsk, kvk, nlss, nlsa, nlsb, mfob, flc, fli, flv, flr, s, s2, sk, proc, s3800, rang, flags, nazn) values ('SM4', '³ ', 1, null, null, '#(bpk_get_transit(''10'',#(NLSA),#(NLSB),#(KVA)))', null, null, null, null, null, 0, 0, 0, 0, null, null, null, null, null, null, '1000100000000000000000000001000000010000000000000000000000000000', '³ '); exception when dup_val_on_index then update tts set tt='SM4', name='³ ', dk=1, nlsm=null, kv=null, nlsk='#(bpk_get_transit(''10'',#(NLSA),#(NLSB),#(KVA)))', kvk=null, nlss=null, nlsa=null, nlsb=null, mfob=null, flc=0, fli=0, flv=0, flr=0, s=null, s2=null, sk=null, proc=null, s3800=null, rang=null, flags='1000100000000000000000000001000000010000000000000000000000000000', nazn='³ ' where tt='SM4'; end; -------------------------------- ----------- ---------- -------------------------------- delete from op_rules where tt='SM4'; -------------------------------- ------ ------ -------------------------------- delete from ttsap where tt='SM4'; -------------------------------- ------- ------- -------------------------------- delete from ps_tts where tt='SM4'; begin insert into ps_tts(nbs, tt, dk, ob22) values ('2600', 'SM4', 1, '14'); exception when dup_val_on_index then null; when others then if ( sqlcode = -02291 ) then dbms_output.put_line(' (ps_tts: ''2600'', ''SM4'', 1, ''14'') - !'); else raise; end if; end; begin insert into ps_tts(nbs, tt, dk, ob22) values ('2560', 'SM4', 0, null); exception when dup_val_on_index then null; when others then if ( sqlcode = -02291 ) then dbms_output.put_line(' (ps_tts: ''2560'', ''SM4'', 0, null) - !'); else raise; end if; end; begin insert into ps_tts(nbs, tt, dk, ob22) values ('2924', 'SM4', 0, null); exception when dup_val_on_index then null; when others then if ( sqlcode = -02291 ) then dbms_output.put_line(' (ps_tts: ''2924'', ''SM4'', 0, null) - !'); else raise; end if; end; begin insert into ps_tts(nbs, tt, dk, ob22) values ('2924', 'SM4', 1, null); exception when dup_val_on_index then null; when others then if ( sqlcode = -02291 ) then dbms_output.put_line(' (ps_tts: ''2924'', ''SM4'', 1, null) - !'); else raise; end if; end; -------------------------------- -------- ------- -------------------------------- delete from tts_vob where tt='SM4'; begin insert into tts_vob(vob, tt, ord) values (6, 'SM4', null); exception when dup_val_on_index then null; when others then if ( sqlcode = -02291 ) then dbms_output.put_line(' (tts_vob: 6, ''SM4'', null) - !'); else raise; end if; end; -------------------------------- -------- ------- -------------------------------- delete from chklist_tts where tt='SM4'; begin insert into chklist_tts(idchk, tt, priority, f_big_amount, sqlval, f_in_charge) values (5, 'SM4', 1, null, null, null); exception when dup_val_on_index then null; when others then if ( sqlcode = -02291 ) then dbms_output.put_line(' (chklist_tts: 5, ''SM4'', 1, null, null, null) - !'); else raise; end if; end; begin insert into chklist_tts(idchk, tt, priority, f_big_amount, sqlval, f_in_charge) values (30, 'SM4', 2, null, 'bpk_visa30(ref, 1)=1', null); exception when dup_val_on_index then null; when others then if ( sqlcode = -02291 ) then dbms_output.put_line(' (chklist_tts: 30, ''SM4'', 2, null, ''bpk_visa30(ref, 1)=1'', null) - !'); else raise; end if; end; -------------------------------- ------------- ------------ -------------------------------- delete from folders_tts where tt='SM4'; begin insert into folders_tts(idfo, tt) values (27, 'SM4'); exception when dup_val_on_index then null; when others then if ( sqlcode = -02291 ) then dbms_output.put_line(' (folders_tts: 27, ''SM4'') - !'); else raise; end if; end; end; / commit; MERGE INTO BARS.OW_MSGCODE A USING (SELECT 'PAYVID' as MSGCODE, 1 as DK, 'PXBACA' as SYNTHCODE FROM DUAL) B ON (A.MSGCODE = B.MSGCODE) WHEN NOT MATCHED THEN INSERT ( MSGCODE, DK, SYNTHCODE) VALUES ( B.MSGCODE, B.DK, B.SYNTHCODE); COMMIT; MERGE INTO BARS.OBPC_TRANS_OUT A USING (SELECT '10' as TRAN_TYPE, 'SM4' as TT, 1 as DK, 'PAYVID' as W4_MSGCODE, 0 as PAY_FLAG FROM DUAL) B ON (A.TT = B.TT and A.DK = B.DK) WHEN NOT MATCHED THEN INSERT ( TRAN_TYPE, TT, DK, W4_MSGCODE, PAY_FLAG) VALUES ( B.TRAN_TYPE, B.TT, B.DK, B.W4_MSGCODE, B.PAY_FLAG); COMMIT;
    true
    43faec9f0f46a027308c616f19b8c04c221f0f3b
    SQL
    lingtima/baseLibs
    /init.sql
    UTF-8
    498
    3.5
    4
    [ "MIT" ]
    permissive
    CREATE TABLE `uuid` ( `uuid` VARCHAR(40) BINARY not null DEFAULT '' COMMENT 'UUID', `used` TINYINT(3) NOT NULL DEFAULT 0 COMMENT '是否使用:0未使用,1已使用', `remark` VARCHAR(255) NOT NULL DEFAULT '' COMMENT '说明备注', `createTime` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, `updateTime` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY `uuid` (`uuid`), KEY `used` (`used`) ) ENGINE = InnoDB, CHARSET = utf8, COMMENT = 'UUID';
    true
    9c53d274b7aeada1ba56fa0e37243bfd4e4aa089
    SQL
    EliezerMisaelGomez10/Tareas
    /Problema_07.sql
    UTF-8
    728
    3.0625
    3
    []
    no_license
    -- Problema 07 drop table if exists agenda; create table agenda( nombre varchar(20), domicilio varchar(30), telefono varchar(11) ); describe agenda; insert into agenda(nombre, domicilio,telefono) values( 'Alberto Mores','Colon 123','4234567'); insert into agenda(nombre, domicilio,telefono) values( 'Juan Torres','Avellaneda 135','4458787'); insert into agenda(nombre, domicilio,telefono) values( 'Mariana Lopez','Urquiza 333','4545454'); insert into agenda(nombre, domicilio,telefono) values( 'Fernando Lopez','Urquiza 333','4545454'); select * from agenda; select * from agenda where nombre='Juan Torres'; select * from agenda where domicilio='Colon 123'; select * from agenda where telefono='4545454'; drop table agenda;
    true
    a95834dd5ba8116b91694c762852426b6cf2a2aa
    SQL
    NadineOliveira/AD_DateWarehouse
    /triggersAud.sql
    UTF-8
    5,837
    2.984375
    3
    []
    no_license
    Use `trabalho-ar`; DROP TRIGGER IF EXISTS trigger_aud_customers; DELIMITER $$ CREATE TRIGGER trigger_aud_customers AFTER INSERT ON `trabalho-ar`.aud_dim_customer FOR EACH ROW BEGIN DECLARE last_id INT; IF(new.operation like 'INSERT') THEN INSERT INTO trabalho.dim_customer VALUES(new.idaud_dim_costumer,new.company,new.first_last_name,new.job_title, new.city,new.state_province,new.country_region); END IF; IF(new.operation like 'UPDATE') THEN SET last_id = (SELECT id_dim_customer+1 FROM trabalho.dim_customer ORDER BY id_dim_customer DESC LIMIT 1); INSERT INTO trabalho.dim_customer VALUES(last_id,new.company,new.first_last_name,new.job_title, new.city,new.state_province,new.country_region); END IF; END$$ DELIMITER ; DROP TRIGGER IF EXISTS trigger_aud_employee; DELIMITER $$ CREATE TRIGGER trigger_aud_employee AFTER INSERT ON `trabalho-ar`.aud_dim_employee FOR EACH ROW BEGIN DECLARE last_id INT; IF(new.operation like 'INSERT') THEN INSERT INTO trabalho.dim_employee VALUES(new.idaud_dim_employee,new.company,new.first_last_name,new.job_title, new.city,new.state_province,new.country_region); END IF; IF(new.operation like 'UPDATE') THEN SET last_id = (SELECT id_dim_employee+1 FROM trabalho.dim_employee ORDER BY id_dim_employee DESC LIMIT 1); INSERT INTO trabalho.dim_employee VALUES(last_id,new.company,new.first_last_name,new.job_title, new.city,new.state_province,new.country_region); END IF; END$$ DELIMITER ; DROP TRIGGER IF EXISTS trigger_aud_shipper; DELIMITER $$ CREATE TRIGGER trigger_aud_shipper AFTER INSERT ON `trabalho-ar`.aud_dim_shipper FOR EACH ROW BEGIN DECLARE last_id INT; IF(new.operation like 'INSERT') THEN INSERT INTO trabalho.dim_shipper VALUES(new.idaud_dim_shipper,new.company,new.first_last_name,new.job_title, new.city,new.state_province,new.country_region); END IF; IF(new.operation like 'UPDATE') THEN SET last_id = (SELECT id_dim_shipper+1 FROM trabalho.dim_shipper ORDER BY id_dim_shipper DESC LIMIT 1); INSERT INTO trabalho.dim_shipper VALUES(last_id,new.company,new.first_last_name,new.job_title, new.city,new.state_province,new.country_region); END IF; END$$ DELIMITER ; DROP TRIGGER IF EXISTS trigger_aud_supplier; DELIMITER $$ CREATE TRIGGER trigger_aud_supplier AFTER INSERT ON `trabalho-ar`.aud_dim_supplier FOR EACH ROW BEGIN DECLARE last_id INT; IF(new.operation like 'INSERT') THEN INSERT INTO trabalho.dim_supplier VALUES(new.idaud_dim_supplier,new.company,new.first_last_name,new.job_title, new.city,new.state_province); END IF; IF(new.operation like 'UPDATE') THEN SET last_id = (SELECT id_dim_supplier+1 FROM trabalho.dim_supplier ORDER BY id_dim_supplier DESC LIMIT 1); INSERT INTO trabalho.dim_supplier VALUES(last_id,new.company,new.first_last_name,new.job_title, new.city,new.state_province); END IF; END$$ DELIMITER ; DROP TRIGGER IF EXISTS trigger_aud_products; DELIMITER $$ CREATE TRIGGER trigger_aud_products AFTER INSERT ON `trabalho-ar`.aud_dim_products FOR EACH ROW BEGIN DECLARE last_id INT; IF(new.operation like 'INSERT') THEN INSERT INTO trabalho.dim_products VALUES(new.idaud_dim_products,new.name,new.standard_cost,new.list_price, new.quantity_per_unit,new.discontinued,new.category); END IF; IF(new.operation like 'UPDATE') THEN SET last_id = (SELECT id_dim_products+1 FROM trabalho.dim_products ORDER BY id_dim_products DESC LIMIT 1); INSERT INTO trabalho.dim_products VALUES(new.idaud_dim_products,new.name,new.standard_cost,new.list_price, new.quantity_per_unit,new.discontinued,new.category); END IF; END$$ DELIMITER ; DROP TRIGGER IF EXISTS trigger_aud_pre_order; DELIMITER $$ CREATE TRIGGER trigger_aud_pre_order AFTER INSERT ON pre_order_facts FOR EACH ROW BEGIN DECLARE last_id INT; IF(new.operation like 'INSERT') THEN INSERT INTO trabalho.orders_fact VALUES(default,new.unit_price,new.quantity,new.order_date, new.paid_date,new.shipped_date,new.id_dim_customer,new.id_dim_products, new.id_dim_shipper,new.id_dim_employer); END IF; IF(new.operation like 'UPDATE') THEN SET last_id = (SELECT id_orders_fact+1 FROM trabalho.orders_fact ORDER BY id_orders_fact DESC LIMIT 1); INSERT INTO trabalho.orders_fact(id_orders_fact,unit_price,quantity,order_date, paid_date,shipped_date,id_dim_customer,id_dim_products, id_dim_shipper,id_dim_employer) VALUES(last_id,new.unit_price,new.quantity,new.order_date, new.paid_date,new.shipped_date,new.id_dim_customer,new.id_dim_products, new.id_dim_shipper,new.id_dim_employer); END IF; END$$ DELIMITER ; DROP TRIGGER IF EXISTS trigger_aud_pre_purchase; DELIMITER $$ CREATE TRIGGER trigger_aud_pre_purchase AFTER INSERT ON `trabalho-ar`.pre_purchase_facts FOR EACH ROW BEGIN DECLARE last_id INT; IF(new.operation like 'INSERT') THEN INSERT INTO trabalho.purchase_order_fact VALUES(default,new.unit_cost,new.submitted_date, new.payment_date,new.created_date,new.approved_date,new.id_dim_products, new.id_dim_employer,new.id_dim_supplier,new.quantity); END IF; IF(new.operation like 'UPDATE') THEN SET last_id = (SELECT id_purchase_order_fact+1 FROM trabalho.purchase_order_fact ORDER BY id_purchase_order_fact DESC LIMIT 1); INSERT INTO trabalho.purchase_order_fact VALUES(last_id,new.unit_cost,new.submitted_date, new.payment_date,new.approved_date,new.created_date,new.id_dim_products, new.id_dim_employer,new.id_dim_supplier,new.quantity); END IF; END$$ DELIMITER ; DROP TRIGGER IF EXISTS trigger_time; DELIMITER $$ CREATE TRIGGER trigger_time AFTER INSERT ON `trabalho-ar`.pre_dim_time FOR EACH ROW BEGIN INSERT INTO trabalho.dim_time VALUES(new.mes,new,ano,new.data,new.dia_da_semana,new.estacao); END$$ DELIMITER ;
    true
    89a192729065dbc32babe0696a7d307f33a862cc
    SQL
    clintonnzedimma/Flimbit-Campus-Market
    /Engine/rc/flimbit_db.sql
    UTF-8
    3,774
    3.296875
    3
    []
    no_license
    -- phpMyAdmin SQL Dump -- version 4.7.4 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Dec 19, 2018 at 08:10 PM -- Server version: 10.1.30-MariaDB -- PHP Version: 7.0.27 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+01:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `flimbit_db` -- -- -------------------------------------------------------- -- -- Table structure for table `ads` -- CREATE TABLE `ads` ( `id` int(11) NOT NULL, `title` varchar(255) NOT NULL, `description` varchar(255) NOT NULL, `category` varchar(255) NOT NULL, `price` decimal(11,0) NOT NULL, `negotiable` int(11) DEFAULT NULL, `main_img` varchar(255) DEFAULT NULL, `user_id` varchar(255) NOT NULL, `school_id` varchar(255) NOT NULL, `time_of_post` varchar(255) NOT NULL, `date_of_post` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `schools` -- CREATE TABLE `schools` ( `id` int(11) NOT NULL, `acronym` varchar(255) NOT NULL, `name` varchar(255) NOT NULL, `state` varchar(255) NOT NULL, `keywords` varchar(255) DEFAULT NULL, `keyphrases` varchar(255) DEFAULT NULL, `hashtags` varchar(255) DEFAULT NULL, `date_of_add` varchar(255) NOT NULL, `time_of_add` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE `users` ( `id` int(11) NOT NULL, `username` varchar(255) NOT NULL, `phone` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `password` varchar(255) NOT NULL, `full_name` varchar(255) NOT NULL, `sex` varchar(255) NOT NULL, `school_id` int(11) NOT NULL, `date_of_reg` varchar(255) NOT NULL, `time_of_reg` varchar(255) NOT NULL, `profile_pic` varchar(255) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `user_logs` -- CREATE TABLE `user_logs` ( `id` int(11) NOT NULL, `user_id` varchar(255) NOT NULL, `phpsessid` varchar(255) NOT NULL, `date_log` varchar(255) NOT NULL, `time_log` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Indexes for dumped tables -- -- -- Indexes for table `ads` -- ALTER TABLE `ads` ADD PRIMARY KEY (`id`); -- -- Indexes for table `schools` -- ALTER TABLE `schools` ADD PRIMARY KEY (`id`); -- -- Indexes for table `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `phone` (`phone`), ADD UNIQUE KEY `email` (`email`), ADD UNIQUE KEY `username` (`username`); -- -- Indexes for table `user_logs` -- ALTER TABLE `user_logs` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `ads` -- ALTER TABLE `ads` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1; -- -- AUTO_INCREMENT for table `schools` -- ALTER TABLE `schools` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1; -- -- AUTO_INCREMENT for table `users` -- ALTER TABLE `users` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1; -- -- AUTO_INCREMENT for table `user_logs` -- ALTER TABLE `user_logs` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
    true
    5bc454e1baefbdf56a615fb4c3fe2148b29dc4ee
    SQL
    Liedekerke/COGIP-app
    /database/cgpi.sql
    UTF-8
    8,738
    3.25
    3
    []
    no_license
    -- phpMyAdmin SQL Dump -- version 4.8.2 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Oct 03, 2018 at 10:58 AM -- Server version: 10.1.34-MariaDB -- PHP Version: 7.2.8 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `cgpi` -- -- -------------------------------------------------------- -- -- Table structure for table `devis` -- CREATE TABLE `devis` ( `iddevis` int(11) NOT NULL, `estimationtime` int(11) NOT NULL, `estimationprice` int(11) NOT NULL, `datedevis` date NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table `factures` -- CREATE TABLE `factures` ( `idfactures` int(11) NOT NULL, `datefacture` date NOT NULL, `prestationmotif` varchar(45) NOT NULL, `idsociete` int(11) DEFAULT NULL, `idpersonnes` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `factures` -- INSERT INTO `factures` (`idfactures`, `datefacture`, `prestationmotif`, `idsociete`, `idpersonnes`) VALUES (1, '2018-08-20', 'Nettoyage ', 5, 1), (2, '2018-05-06', 'Exportation', 4, 10), (3, '2018-05-06', 'Exportation', 4, 10), (4, '2017-09-20', 'Gaz-electricité', 1, 4), (5, '2018-04-16', 'Eau', 1, 8), (6, '2018-07-11', 'Internet', 2, 3), (7, '2018-08-11', 'Internet', 6, 6), (8, '2018-07-21', 'Nettoyage', 1, 9), (9, '2018-05-06', 'Exportation', 2, 3), (10, '2017-09-20', 'Gaz-electricité', 3, 1), (11, '2018-04-16', 'Eau', 2, 5), (12, '2018-07-11', 'Internet', 4, 10), (13, '2018-08-11', 'Internet', 1, 8), (14, '2018-07-21', 'Nettoyage', 5, 11); -- -------------------------------------------------------- -- -- Table structure for table `notecredit` -- CREATE TABLE `notecredit` ( `idnotecredit` int(11) NOT NULL, `reduction` int(11) NOT NULL, `datenotecredit` date NOT NULL, `idfactures` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table `personnes` -- CREATE TABLE `personnes` ( `idpersonnes` int(11) NOT NULL, `name` varchar(20) NOT NULL, `firstname` varchar(20) NOT NULL, `personnesphone` int(20) NOT NULL, `email` varchar(45) NOT NULL, `idsociete` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `personnes` -- INSERT INTO `personnes` (`idpersonnes`, `name`, `firstname`, `personnesphone`, `email`, `idsociete`) VALUES (1, 'Gecrache', 'Jean', 487687628, '[email protected]', 5), (2, 'Youknow', 'Charlotte', 494763862, '[email protected]', 3), (3, 'LeGrand', 'Guillaume', 456783921, '[email protected]', 2), (4, 'Api', 'Michel', 987612076, '[email protected]', 1), (5, 'Rébecca', 'Armand', 489721341, '[email protected]', 2), (6, 'Hebert', 'Aimée', 456091100, '[email protected]', 6), (7, 'Ribeiro', 'Marielle', 455309870, '[email protected]', 5), (8, 'Savary', 'Hilaire', 456809121, '[email protected]', 1), (9, 'Beckham', 'Johnny', 456878121, '[email protected]', 1), (10, 'Bols', 'Jeanne', 476110111, '[email protected]', 4), (11, 'Sauvage', 'Patrick', 489226911, '[email protected]', 5), (12, 'test', 'test', 0, '[email protected]', 1); -- -------------------------------------------------------- -- -- Table structure for table `societe` -- CREATE TABLE `societe` ( `idsociete` int(11) NOT NULL, `socialname` varchar(45) NOT NULL, `adresse` varchar(45) NOT NULL, `country` varchar(45) NOT NULL, `tvanumber` int(3) NOT NULL, `telephonesociete` int(20) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `societe` -- INSERT INTO `societe` (`idsociete`, `socialname`, `adresse`, `country`, `tvanumber`, `telephonesociete`) VALUES (1, 'Codokies ', 'Rue des biscuits, 1. 1210 Bruxelles', 'Belgium', 128, 2228228), (2, 'Guillaume le Grand', 'Avenue des Empereurs, 780. 100 Bruxelles', 'Belgium', 666, 6669870), (3, 'Cluys', 'Rue Alfred Cluysenaar, 50. 1060 Saint-Gilles', 'Belgium', 214, 32287284), (4, 'Funito', 'Rue du gras, 89. 1040 Bruxelles', 'Belgium', 8, 920875310), (5, 'Choune', 'Rue de la chienne, 69. 1060 Bruxelles', 'Belgium', 906, 69875110), (6, 'Streamify', 'Rue de l\'écoutille, 22. 1000 Bruxelles', 'Belgium', 867, 48763871), (10, 'TheHundreds', 'Rue du centenaire, 100. 1000 Bruxelles', 'Belgium', 100, 22100499); -- -------------------------------------------------------- -- -- Table structure for table `type` -- CREATE TABLE `type` ( `idtype` int(11) NOT NULL, `type` set('ASBL','SPRL','SA') NOT NULL, `relation` set('fournisseur','client') NOT NULL, `idsociete` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `type` -- INSERT INTO `type` (`idtype`, `type`, `relation`, `idsociete`) VALUES (1, 'ASBL', 'fournisseur', 1), (2, 'SPRL', 'client', 2), (3, 'SA', 'fournisseur', 3), (4, 'ASBL', 'client', 4), (5, 'SPRL', 'fournisseur', 5), (6, 'SA', 'client', 6), (22, 'SPRL', 'fournisseur', 10); -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE `users` ( `idusers` int(11) NOT NULL, `name` varchar(50) NOT NULL, `password` varchar(50) NOT NULL, `privilege` set('MODO','IDDQD','GUEST') NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `users` -- INSERT INTO `users` (`idusers`, `name`, `password`, `privilege`) VALUES (1, 'Jean-Christian', 'f1ae4a0bb3bd77e6eeec82949f50b334c409d4f7', 'IDDQD'), (3, 'guest', '35675e68f4b5af7b995d9205ad0fc43842f16450', 'GUEST'), (4, 'Muriel', 'ce61487ebde80c774d015152f38f945e73598af9', 'MODO'); -- -- Indexes for dumped tables -- -- -- Indexes for table `devis` -- ALTER TABLE `devis` ADD PRIMARY KEY (`iddevis`); -- -- Indexes for table `factures` -- ALTER TABLE `factures` ADD PRIMARY KEY (`idfactures`), ADD KEY `factures_ibfk_1` (`idsociete`), ADD KEY `idpersonnes` (`idpersonnes`); -- -- Indexes for table `notecredit` -- ALTER TABLE `notecredit` ADD PRIMARY KEY (`idnotecredit`), ADD KEY `notecredit_ibfk_1` (`idfactures`); -- -- Indexes for table `personnes` -- ALTER TABLE `personnes` ADD PRIMARY KEY (`idpersonnes`), ADD KEY `personnes_ibfk_1` (`idsociete`); -- -- Indexes for table `societe` -- ALTER TABLE `societe` ADD PRIMARY KEY (`idsociete`); -- -- Indexes for table `type` -- ALTER TABLE `type` ADD PRIMARY KEY (`idtype`), ADD KEY `idsociete` (`idsociete`); -- -- Indexes for table `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`idusers`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `devis` -- ALTER TABLE `devis` MODIFY `iddevis` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `factures` -- ALTER TABLE `factures` MODIFY `idfactures` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15; -- -- AUTO_INCREMENT for table `notecredit` -- ALTER TABLE `notecredit` MODIFY `idnotecredit` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `personnes` -- ALTER TABLE `personnes` MODIFY `idpersonnes` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13; -- -- AUTO_INCREMENT for table `societe` -- ALTER TABLE `societe` MODIFY `idsociete` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11; -- -- AUTO_INCREMENT for table `type` -- ALTER TABLE `type` MODIFY `idtype` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23; -- -- AUTO_INCREMENT for table `users` -- ALTER TABLE `users` MODIFY `idusers` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- Constraints for dumped tables -- -- -- Constraints for table `factures` -- ALTER TABLE `factures` ADD CONSTRAINT `factures_ibfk_1` FOREIGN KEY (`idsociete`) REFERENCES `societe` (`idsociete`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `factures_ibfk_2` FOREIGN KEY (`idpersonnes`) REFERENCES `personnes` (`idpersonnes`) ON DELETE SET NULL ON UPDATE CASCADE; -- -- Constraints for table `notecredit` -- ALTER TABLE `notecredit` ADD CONSTRAINT `notecredit_ibfk_1` FOREIGN KEY (`idfactures`) REFERENCES `factures` (`idfactures`) ON DELETE CASCADE ON UPDATE CASCADE; -- -- Constraints for table `personnes` -- ALTER TABLE `personnes` ADD CONSTRAINT `personnes_ibfk_1` FOREIGN KEY (`idsociete`) REFERENCES `societe` (`idsociete`) ON DELETE SET NULL ON UPDATE CASCADE; -- -- Constraints for table `type` -- ALTER TABLE `type` ADD CONSTRAINT `type_ibfk_1` FOREIGN KEY (`idsociete`) REFERENCES `societe` (`idsociete`) ON DELETE CASCADE ON UPDATE CASCADE; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
    true
    8e57fa1acb94705977949db06bab7f524c3a21ca
    SQL
    ll9527/test1
    /totalshop.sql
    UTF-8
    17,603
    3.625
    4
    []
    no_license
    /* SQLyog Ultimate v12.09 (64 bit) MySQL - 5.5.49 : Database - totalshop ********************************************************************* */ /*!40101 SET NAMES utf8 */; /*!40101 SET SQL_MODE=''*/; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; CREATE DATABASE /*!32312 IF NOT EXISTS*/`totalshop` /*!40100 DEFAULT CHARACTER SET utf8 */; USE `totalshop`; /*Table structure for table `address` */ DROP TABLE IF EXISTS `address`; CREATE TABLE `address` ( `id` int(20) NOT NULL AUTO_INCREMENT COMMENT '地址id', `address` varchar(500) COLLATE utf8_bin DEFAULT NULL COMMENT '地址详情', `user_id` int(20) DEFAULT NULL COMMENT '用户id', `user_name` varchar(200) COLLATE utf8_bin DEFAULT NULL COMMENT '用户名', `tel` varchar(200) COLLATE utf8_bin DEFAULT NULL COMMENT '收货电话', PRIMARY KEY (`id`) USING BTREE, KEY `user_id` (`user_id`) USING BTREE, CONSTRAINT `address_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT COMMENT='用户地址关联表'; /*Table structure for table `admin_img` */ DROP TABLE IF EXISTS `admin_img`; CREATE TABLE `admin_img` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '图片名字', `role` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '作用码 1 证件 2 广告图', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; /*Table structure for table `admin_profit` */ DROP TABLE IF EXISTS `admin_profit`; CREATE TABLE `admin_profit` ( `id` int(20) NOT NULL AUTO_INCREMENT, `password` varchar(225) DEFAULT NULL COMMENT '密码', `percent_class` varchar(225) DEFAULT NULL COMMENT '扣点类目名', `shop_percent` double(50,2) DEFAULT NULL COMMENT '平台扣点', `seller_apply_money` decimal(12,2) DEFAULT NULL COMMENT '商家入驻费用', `vip_money` decimal(12,2) DEFAULT NULL COMMENT '会员费用', `bonus_pools` decimal(12,2) DEFAULT NULL COMMENT '奖金池金额', `pools_persent` int(20) DEFAULT NULL COMMENT '奖金池百分比', `discount_amount` decimal(12,2) DEFAULT NULL COMMENT '全场优惠金额', `discount_persent` int(20) DEFAULT NULL COMMENT '全场优惠百分比', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='系统设置表'; /*Table structure for table `class_with_product` */ DROP TABLE IF EXISTS `class_with_product`; CREATE TABLE `class_with_product` ( `id` int(20) NOT NULL AUTO_INCREMENT, `product_id` int(20) DEFAULT NULL, `level2_class_id` int(20) DEFAULT NULL COMMENT '二级目录id', PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=46 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='商品与2级目录的关联表'; /*Table structure for table `collect` */ DROP TABLE IF EXISTS `collect`; CREATE TABLE `collect` ( `id` int(20) NOT NULL AUTO_INCREMENT, `user_id` int(20) DEFAULT NULL, `seller_id` int(20) DEFAULT NULL, `product_id` int(20) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='收藏表'; /*Table structure for table `coupons` */ DROP TABLE IF EXISTS `coupons`; CREATE TABLE `coupons` ( `id` int(20) NOT NULL AUTO_INCREMENT, `user_id` int(20) DEFAULT NULL, `isAdmin` int(20) DEFAULT NULL COMMENT '是否全场通用 1通用', `product_id` int(20) DEFAULT NULL, `seller_id` int(20) DEFAULT NULL, `preferential_money` int(20) DEFAULT NULL COMMENT '优惠券金额', `order_id` int(20) DEFAULT NULL, `onDelete` int(10) DEFAULT NULL COMMENT '0 没删除,1删除', `add_time` datetime DEFAULT NULL, `over_time` datetime DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='优惠券表'; /*Table structure for table `product_comment_freight` */ DROP TABLE IF EXISTS `product_comment_freight`; CREATE TABLE `product_comment_freight` ( `id` int(20) NOT NULL AUTO_INCREMENT, `product_id` int(20) DEFAULT NULL, `comment` varchar(500) DEFAULT NULL COMMENT '评论', `freight` decimal(12,2) DEFAULT NULL COMMENT '运费', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8 COMMENT='商品运费评论关联表'; /*Table structure for table `product_img` */ DROP TABLE IF EXISTS `product_img`; CREATE TABLE `product_img` ( `id` int(20) NOT NULL AUTO_INCREMENT, `product_id` int(20) DEFAULT NULL, `image` varchar(500) DEFAULT NULL COMMENT '图片名字', `is_cover` int(20) DEFAULT '0' COMMENT '是否封面 1:是封面', PRIMARY KEY (`id`) USING BTREE, KEY `product_id` (`product_id`) USING BTREE, CONSTRAINT `product_img_ibfk_1` FOREIGN KEY (`product_id`) REFERENCES `product_item` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=114 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='商品图片关联表'; /*Table structure for table `product_item` */ DROP TABLE IF EXISTS `product_item`; CREATE TABLE `product_item` ( `id` int(20) NOT NULL AUTO_INCREMENT COMMENT '商品id,同时也是商品编号', `title` varchar(100) DEFAULT NULL COMMENT '商品标题', `sell_point` varchar(500) DEFAULT NULL COMMENT '商品卖点', `price` decimal(20,2) DEFAULT NULL COMMENT '商品价格,单位为:角', `group_price` decimal(20,2) DEFAULT NULL COMMENT '商品拼团价格,单位为:角', `is_group` int(20) DEFAULT NULL COMMENT '是否团购商品', `num` int(10) DEFAULT NULL COMMENT '库存数量', `cid` int(10) DEFAULT NULL COMMENT '所属类目,叶子类目', `status` tinyint(4) DEFAULT '1' COMMENT '商品状态,1-正常,2-下架,3-删除', `created` datetime DEFAULT NULL COMMENT '创建时间', `updated` datetime NOT NULL COMMENT '更新时间', `sales_volume` int(255) DEFAULT '0' COMMENT '销量', PRIMARY KEY (`id`) USING BTREE, KEY `cid` (`cid`) USING BTREE, KEY `status` (`status`) USING BTREE, KEY `updated` (`updated`) USING BTREE, CONSTRAINT `product_item_ibfk_1` FOREIGN KEY (`cid`) REFERENCES `shop_classify` (`class_id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=60 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='商品表'; /*Table structure for table `referrer` */ DROP TABLE IF EXISTS `referrer`; CREATE TABLE `referrer` ( `id` int(20) NOT NULL AUTO_INCREMENT, `user_id` int(20) DEFAULT NULL, `referrer_id` int(20) DEFAULT NULL COMMENT '推荐人id', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='用户与推荐人关联表'; /*Table structure for table `seller` */ DROP TABLE IF EXISTS `seller`; CREATE TABLE `seller` ( `id` int(20) NOT NULL AUTO_INCREMENT COMMENT '商户id', `tel` bigint(50) DEFAULT NULL COMMENT '商户电话', `title_name` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '店铺名字', `user_id` int(20) DEFAULT NULL COMMENT '用户id', `seller_class` varchar(225) COLLATE utf8_bin DEFAULT '' COMMENT '商户类型', PRIMARY KEY (`id`) USING BTREE, KEY `user_id` (`user_id`) USING BTREE, KEY `title_name` (`title_name`) USING BTREE, CONSTRAINT `seller_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT COMMENT='商户表'; /*Table structure for table `seller_address` */ DROP TABLE IF EXISTS `seller_address`; CREATE TABLE `seller_address` ( `id` int(20) NOT NULL AUTO_INCREMENT COMMENT '商家地址id', `address` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '商家地址', `seller_id` int(20) DEFAULT NULL COMMENT '商家id', `seller_name` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '店长名字', PRIMARY KEY (`id`) USING BTREE, KEY `seller_id` (`seller_id`) USING BTREE, CONSTRAINT `seller_address_ibfk_1` FOREIGN KEY (`seller_id`) REFERENCES `seller` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=33 DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT COMMENT='商户地址关联表'; /*Table structure for table `seller_bcimg` */ DROP TABLE IF EXISTS `seller_bcimg`; CREATE TABLE `seller_bcimg` ( `id` int(20) NOT NULL AUTO_INCREMENT COMMENT '证件id', `img` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '证件路径', `user_id` int(20) DEFAULT NULL COMMENT '用户id', `seller_id` int(20) DEFAULT NULL COMMENT '商家id', PRIMARY KEY (`id`) USING BTREE, KEY `seller_id` (`seller_id`) USING BTREE, CONSTRAINT `seller_bcimg_ibfk_1` FOREIGN KEY (`seller_id`) REFERENCES `seller` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT; /*Table structure for table `seller_cover` */ DROP TABLE IF EXISTS `seller_cover`; CREATE TABLE `seller_cover` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '图片名字', `sid` int(11) DEFAULT NULL COMMENT '商家id', `role` int(11) DEFAULT NULL COMMENT '作用码', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_bin; /*Table structure for table `seller_visit` */ DROP TABLE IF EXISTS `seller_visit`; CREATE TABLE `seller_visit` ( `id` int(20) NOT NULL AUTO_INCREMENT, `seller_id` int(20) DEFAULT NULL, `visit_num` bigint(50) DEFAULT '0' COMMENT '每天访问人数', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='商户每天访问人数表'; /*Table structure for table `seller_with_product_img` */ DROP TABLE IF EXISTS `seller_with_product_img`; CREATE TABLE `seller_with_product_img` ( `id` int(20) NOT NULL AUTO_INCREMENT, `seller_id` int(20) DEFAULT NULL, `product_id` int(20) DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE, KEY `seller_id` (`seller_id`) USING BTREE, CONSTRAINT `seller_with_product_img_ibfk_1` FOREIGN KEY (`seller_id`) REFERENCES `seller` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=46 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='商户和商品的关联表'; /*Table structure for table `shop_classify` */ DROP TABLE IF EXISTS `shop_classify`; CREATE TABLE `shop_classify` ( `class_id` int(11) NOT NULL AUTO_INCREMENT, `class_name` varchar(255) COLLATE utf8_bin DEFAULT NULL, `class_key` int(11) DEFAULT NULL COMMENT '外键', `level` int(11) DEFAULT NULL COMMENT '1一级目录 2二级目录', `ondelect` int(11) DEFAULT '0' COMMENT '显示 0显示,1不显示', `images` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '图片', PRIMARY KEY (`class_id`) USING BTREE, KEY `fk_id` (`class_key`) USING BTREE, CONSTRAINT `fk_id` FOREIGN KEY (`class_key`) REFERENCES `shop_classify` (`class_id`) ) ENGINE=InnoDB AUTO_INCREMENT=199 DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT COMMENT='分类表'; /*Table structure for table `shop_order` */ DROP TABLE IF EXISTS `shop_order`; CREATE TABLE `shop_order` ( `id` int(11) NOT NULL AUTO_INCREMENT, `order_sn` varchar(225) DEFAULT NULL COMMENT '订单编号', `express_sn` varchar(225) DEFAULT NULL COMMENT '快递单号', `add_time` datetime DEFAULT NULL COMMENT '添加时间', `user_name` varchar(50) DEFAULT NULL COMMENT '用户名', `user_address` varchar(200) DEFAULT NULL COMMENT '用户地址', `tel` bigint(50) DEFAULT NULL COMMENT '用户电话', `user_id` int(11) DEFAULT NULL COMMENT '用户Id', `seller_id` int(11) DEFAULT NULL, `seller_name` varchar(225) DEFAULT NULL, `total_money` decimal(12,2) DEFAULT NULL COMMENT '总金额', `order_status` int(20) DEFAULT '0' COMMENT '0为待支付,1为待发货,2待收货,3确认收货,4退款,买家已发货,5退款,商家已收到, 6仅退款,7团购订单没付款,8团购订单付款 -1作废单 -2仅退款单 -3退货退款单', `mark` varchar(225) DEFAULT NULL, `is_pick` int(20) DEFAULT NULL COMMENT '1.用户自提 2.快递发货', `prepay_id` varchar(200) DEFAULT NULL COMMENT 'prepay_id', `is_group` int(11) DEFAULT '0' COMMENT '是否团购订单 1团购订单', `group_oid` int(11) DEFAULT NULL COMMENT '团购总订单的id', `end_time` datetime DEFAULT NULL COMMENT '成交时间', PRIMARY KEY (`id`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=103 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='订单表'; /*Table structure for table `shop_order_goods` */ DROP TABLE IF EXISTS `shop_order_goods`; CREATE TABLE `shop_order_goods` ( `id` int(11) NOT NULL AUTO_INCREMENT, `goods_id` int(11) DEFAULT NULL COMMENT '商品id', `user_id` int(11) DEFAULT NULL, `add_time` datetime DEFAULT NULL COMMENT '创建订单时间,如果为null代表作废单', `goods_name` varchar(200) DEFAULT NULL COMMENT '商品名字', `is_group` int(10) DEFAULT NULL, `price` decimal(12,2) DEFAULT NULL, `group_price` decimal(12,2) DEFAULT NULL, `go_num` int(11) DEFAULT NULL COMMENT '购买数量', `total_price` decimal(12,2) DEFAULT NULL COMMENT '总价', `order_id` int(11) DEFAULT NULL COMMENT '订单表id', `p_version` varchar(225) DEFAULT NULL COMMENT '商品版本', PRIMARY KEY (`id`) USING BTREE ) ENGINE=MyISAM AUTO_INCREMENT=106 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='商品和订单关联表'; /*Table structure for table `shop_order_group` */ DROP TABLE IF EXISTS `shop_order_group`; CREATE TABLE `shop_order_group` ( `id` int(11) NOT NULL AUTO_INCREMENT, `product_id` int(11) DEFAULT NULL COMMENT '商品id', `add_time` datetime DEFAULT NULL, `status` int(11) DEFAULT NULL COMMENT '1是拼团成功', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8; /*Table structure for table `shop_product_specification` */ DROP TABLE IF EXISTS `shop_product_specification`; CREATE TABLE `shop_product_specification` ( `id` int(20) NOT NULL AUTO_INCREMENT, `product_id` int(20) DEFAULT NULL COMMENT '商品id', `v_id` int(20) DEFAULT NULL COMMENT '0代表父规格,其余代表父规格的id,空则代表sku', `version_name` varchar(200) COLLATE utf8_bin DEFAULT NULL COMMENT '规格名字', `price` decimal(20,2) DEFAULT NULL COMMENT '正价', `group_price` decimal(20,2) DEFAULT NULL COMMENT '团购价钱', `num` int(20) DEFAULT NULL COMMENT '库存', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=137 DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='规格颜色表'; /*Table structure for table `user` */ DROP TABLE IF EXISTS `user`; CREATE TABLE `user` ( `id` int(20) NOT NULL AUTO_INCREMENT COMMENT '用户id', `username` varchar(20) COLLATE utf8_bin DEFAULT NULL COMMENT '用户名', `password` varchar(500) COLLATE utf8_bin DEFAULT NULL COMMENT '密码', `is_vip` int(10) DEFAULT '0' COMMENT '是否为vip 1-vip', `is_seller` int(20) DEFAULT '0' COMMENT '是否为商家 1-是商家', `tel` bigint(50) DEFAULT NULL COMMENT '手机号码', `score` int(20) DEFAULT '0' COMMENT '积分', `money` decimal(20,2) DEFAULT '0.00' COMMENT '用户余额', `is_admin` int(20) DEFAULT '0' COMMENT '是否为管理员 1-是管理员', `is_apply` int(20) DEFAULT '0' COMMENT '是否提交商家注册 1-提交注册', `apply_money` decimal(50,2) DEFAULT '0.00' COMMENT '申请金额', `applied_mark` varchar(255) COLLATE utf8_bin DEFAULT '' COMMENT '申请后返回备注', PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=42 DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT COMMENT='用户表'; /*Table structure for table `version` */ DROP TABLE IF EXISTS `version`; CREATE TABLE `version` ( `id` int(20) NOT NULL AUTO_INCREMENT COMMENT '型号id', `product_id` int(20) DEFAULT NULL COMMENT '商品id', `product_name` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '商品名字', `version_name` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '型号名字', PRIMARY KEY (`id`) USING BTREE, KEY `product_id` (`product_id`) USING BTREE, CONSTRAINT `version_ibfk_1` FOREIGN KEY (`product_id`) REFERENCES `product_item` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT COMMENT='商品的规格表'; /*Table structure for table `version1` */ DROP TABLE IF EXISTS `version1`; CREATE TABLE `version1` ( `id` int(20) NOT NULL AUTO_INCREMENT COMMENT '型号id', `product_id` int(20) DEFAULT NULL COMMENT '商品id', `product_name` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '商品名字', `version1_name` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '型号(颜色)名字', PRIMARY KEY (`id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='商品的型号颜色表'; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
    true
    52ee74280aaa0d9de002de109aa4ecbb8caa015d
    SQL
    jesx0347/EksamensProjekt
    /SQL/Procedure tests.sql
    ISO-8859-15
    1,160
    2.640625
    3
    []
    no_license
    EXECUTE spInsertEvent @EventNavn='ODEON' ,@Markedsfring='500.55' ,@Koda='10' ,@Garantisum='4599.346' ,@ArtistSplit='70' ,@VariableOmkostninger='300' ,@OmkostningerNote='Ekstra lys: 300kr' ,@VariableIndtgter='300' ,@IndtgterNote='Dkning af lys: 300' ,@UnderskudsGodtgrelse='2020-12-31' EXECUTE spInsertEventKategori @Event='35' ,@Kategori='1' EXECUTE spInsertEventKategori @Event='35' ,@Kategori='3' EXECUTE spInsertAfvikling @Dato='23-10-2019' ,@Event='35' ,@Sal='2' EXECUTE spInsertBilletType @Udbud=200 ,@Pris=234.99 ,@Afvikling=1 EXECUTE spGetBilletTypeId @Pris = 234.99, @Afvikling = 1 EXECUTE spInsertSalgsTal @Bevgelse=23 ,@BilletType=1 ,@SalgsDato='20-10-2020' EXECUTE spGetAfviklingId @Event = 35, @Dato = '23-10-2019' INSERT INTO [UNDERSKUDS_GODTGRELSE] VALUES( '70', '31-12-2020') INSERT INTO [KATEGORI] VALUES ('Rock') INSERT INTO [KATEGORI] VALUES ('Jazz') INSERT INTO [KATEGORI] VALUES ('Gastronomi') INSERT INTO [SAL] VALUES ('Store Sal', '200', 1500) EXECUTE spGetAfviklingId @Event = 35, @Dato = '23-10-2019'
    true
    35608810175bee0889b400a912ad28d14963bd84
    SQL
    seonhan427/SQL_practice
    /2021.04.29/SQL카페예제.sql
    UHC
    1,816
    3.921875
    4
    []
    no_license
    --2021-04-29 -- database Ѵ. create database CafeManagement use CafeManagement --̺ ϱ create table ȸ ( -- ÷, ڷ,  Ծ ȸid char(13) not null , char(1) not null , ȣ޴1 smallint , ȣ޴2 smallint ) select * from ȸ -- ̺ Էϱ --insert into ̸̺ --values ( ) insert into ȸ values ('010-4613-4487','M',1,2) insert into ȸ (ȸid,) values ('010-5398-9633','F') insert into ȸ (,ȸid) values ('F','010-1234-5678') create table ޴ ( ޴ID smallint not null , з char(1) not null , Һз nvarchar (8) not null , ǸŰ int not null , Ǹſ tinyint not null ) select * from ޴ insert into ޴ values (1,'A',N'Ƹ޸ī',3000,1) create table ֹ ( ֹȣ char(12) not null , ֹȸID char(13) not null , ݰ int , ī int , Npay int , ֹ datetime not null ) insert into ֹ values ('202104290001','010-4613-4487',0,2000,1000,'2021-04-29 10:06:25') select * from ֹ create table ֹ ( ֹȣ char(12) not null , ֹȣ tinyint not null , ޴ID tinyint not null , ֹ tinyint not null ) insert into ֹ values('202104290001',1,1,1) select * from ֹ create table з ( зID char(1) not null , з̸ nvarchar(5) not null ) insert into з values('A', N'ĿǷ') select * from з -- ɾ delete delete з select * from ȸ delete ȸ where ȸid = '010-1234-5678'
    true
    0acdd5961baa7c3b6164229d2f0e5ee8882c8d0a
    SQL
    thangduong3010/PL-SQL
    /Script/rdbms_admin/exechae.sql
    UTF-8
    2,008
    2.953125
    3
    []
    no_license
    Rem Rem $Header: exechae.sql 06-jun-2006.09:14:49 kneel Exp $ Rem Rem exechae.sql Rem Rem Copyright (c) 2006, Oracle. All rights reserved. Rem Rem NAME Rem exechae.sql - EXECute HA Event setup Rem Rem DESCRIPTION Rem pl/sql blocks for HA events (FAN alerts) Rem Rem NOTES Rem <other useful comments, qualifications, etc.> Rem Rem MODIFIED (MM/DD/YY) Rem kneel 06/06/06 - removing auto-inserted SET commands Rem kneel 06/01/06 - subscriber creation for HA Events (FAN alerts) Rem kneel 06/01/06 - subscriber creation for HA Events (FAN alerts) Rem kneel 06/01/06 - Created Rem Rem Define a transformation to be used for the notification subscriber begin sys.dbms_transform.create_transformation( schema => 'SYS', name => 'haen_txfm_obj', from_schema => 'SYS', from_type => 'ALERT_TYPE', to_SCHEMA => 'SYS', to_type => 'VARCHAR2', transformation => 'SYS.haen_txfm_text(source.user_data)'); EXCEPTION when others then if sqlcode = -24184 then NULL; else raise; end if; end; / Rem Define the HAE_SUB subscriber for the alert_que declare subscriber sys.aq$_agent; begin subscriber := sys.aq$_agent('HAE_SUB',null,null); dbms_aqadm_sys.add_subscriber(queue_name => 'SYS.ALERT_QUE', subscriber => subscriber, rule => 'tab.user_data.MESSAGE_LEVEL <> ' || sys.dbms_server_alert.level_clear || ' AND tab.user_data.MESSAGE_GROUP = ' || '''High Availability''', transformation => 'SYS.haen_txfm_obj', properties => dbms_aqadm_sys.NOTIFICATION_SUBSCRIBER + dbms_aqadm_sys.PUBLIC_SUBSCRIBER); EXCEPTION when others then if sqlcode = -24034 then NULL; else raise; end if; end; /
    true
    f128a3112be5b1052a859f26db0f41f784d4e6e6
    SQL
    throp/pfecrm-old
    /scripts/db/create_tables.sql
    UTF-8
    4,650
    3.5625
    4
    []
    no_license
    USE bennort_crm; CREATE TABLE action_log ( action_log_id int primary key, description_tx text not null, employee_id int not null ); CREATE TABLE chemical ( chemical_id int primary key, name_tx varchar(30) not null, abbreviation_tx varchar(5) not null, is_active_bn boolean default 1 ); CREATE TABLE contact ( contact_id int primary key, first_name_tx varchar(30) not null, last_name_tx varchar(30) not null, title_tx varchar(30) not null, email_address_tx varchar(50), phone_number_tx varchar(12) ); create table crm_user_role ( crm_user_role_id int primary key, employee_id int not null, user_name_tx varchar(15) not null, role_name_tx varchar(15) not null ); CREATE TABLE customer_note ( customer_note_id int primary key, customer_id int not null, note_tx text not null, employee_id int not null, entered_dt date not null ); CREATE TABLE customer ( customer_id int primary key, name_tx varchar(50) not null, address1_tx varchar(50) not null, address2_tx varchar(50), address3_tx varchar(50), city_tx varchar(25) not null, zip_tx varchar(10), state_tx varchar(2), primary_contact_id int, secondary_contact_id int, fax_number_tx varchar(12), status_id int not null, office_id int not null, blanket_po_tx varchar(30), primary_contact_first_name_tx varchar(30) not null, primary_contact_last_name_tx varchar(30) not null, primary_contact_title_tx varchar(30) not null, primary_contact_email_address_tx varchar(50), primary_contact_phone_number_tx varchar(12), primary_contact_phone_ext_tx varchar(12), secondary_contact_first_name_tx varchar(30) not null, secondary_contact_last_name_tx varchar(30) not null, secondary_contact_title_tx varchar(30) not null, secondary_contact_email_address_tx varchar(50), secondary_contact_phone_number_tx varchar(12), secondary_contact_phone_ext_tx varchar(12) ); CREATE TABLE employee ( employee_id int primary key, first_name_tx varchar(15) not null, last_name_tx varchar(25) not null, employee_type_id int not null, is_active_bn boolean default 1, user_name_tx varchar(15) not null, user_password_tx varchar(15) not null ); CREATE TABLE inventory_item ( inventory_item_id int primary key, type_tx varchar(20) not null, manufacturer_id int not null, chemical_id int not null, year_num int not null, weight_id int not null, floor_num int, location_tx text, service_id int not null, locked_bool tinyint, service_type_num int, test_type_num int, test_year_num int ); CREATE TABLE job ( job_id int primary key, in_road_tech_queue_dt date, in_shop_tech_queue_dt date, in_return_tech_queue_dt date, ready_for_return_dt date, completed_dt date, billed_dt date, service_id int not null, road_tech_employee_id int, shop_tech_employee_id int, return_tech_employee_id int, credited_tech_employee_id int, invoice_am float default 0, invoice_number_tx varchar(30), service_call_id int, month_due_num int, year_due_num int ); CREATE TABLE location_note ( location_note_id int primary key, location_id int not null, note_tx text not null, employee_id int not null, entered_dt date not null ); CREATE TABLE location ( location_id int primary key, name_tx varchar(50) not null, address1_tx varchar(50) not null, address2_tx varchar(50), address3_tx varchar(50), city_tx varchar(25) not null, zip_tx varchar(10) not null, state_tx varchar(2) not null, contact_id int, customer_id int not null, po_tx varchar(30), is_blanket_po_bn bool default 0, is_use_customer_address_bn bool default 0, is_use_customer_contact_bn bool default 0, contact_first_name_tx varchar(30) not null, contact_last_name_tx varchar(30) not null, contact_title_tx varchar(30) not null, contact_email_address_tx varchar(50), contact_phone_number_tx varchar(12), contact_phone_ext_tx varchar(12) ); CREATE TABLE manufacturer ( manufacturer_id int primary key, name_tx varchar(30) not null, abbreviation_tx varchar(7) not null, fire_extinguisher_bool tinyint, is_active_bn boolean default 1 ); CREATE TABLE office ( office_id int primary key, name_tx varchar(50) not null, is_active_bn boolean default 1 ); CREATE TABLE service_call ( service_call_id int primary key, service_id int not null, notes_tx text, placed_dt date not null, employee_id int not null ); CREATE TABLE service ( service_id int primary key, service_month_id int not null, service_frequency_id int not null, location_id int not null, service_type_id int not null, notes_tx text, inventory_items_num int default 0 ); CREATE TABLE weight ( weight_id int primary key, pounds_qt float not null, is_active_bn boolean default 1 );
    true
    12658d5a955273d0032d28d4ccfb9d1ee616d451
    SQL
    AlejandroProgrammer/OracleDatabaseEjemplos
    /Group By, Having/group_by_having.sql
    UTF-8
    1,843
    3.65625
    4
    []
    no_license
    //CREAMOS LA TABLA MASCOTA CREATE TABLE MASCOTA( CHIP INT, NOMBRE VARCHAR2(20), FEC_NAC DATE, TIPO_MASCOTA VARCHAR2(20), RAZA VARCHAR2(20) ); //CREAMOS LA PK ALTER TABLE MASCOTA ADD CONSTRAINT PK_MASCOTA_CHIP PRIMARY KEY(CHIP); //INSERTAMOS DATOS EN LA TABLA MASCOTA INSERT INTO MASCOTA VALUES(1111, 'JONNY', '1/1/2020', 'PERRO', 'CHIGUAGUA'); INSERT INTO MASCOTA VALUES(2222, 'ROCO', '2/2/2020', 'PERRO', 'CANE CORSO'); INSERT INTO MASCOTA VALUES(3333, 'PIRRU', '5/2/2018', 'GATO', 'PERSA'); INSERT INTO MASCOTA VALUES(4444, 'MISIFU', '2/4/2019', 'GATO', 'SPHYNX'); INSERT INTO MASCOTA VALUES(5555, 'MILOVAN', '3/1/2019', 'PERRO', 'CHIGUAGUA'); INSERT INTO MASCOTA VALUES(6666, 'CHIQUI', '7/7/2020', 'PERRO', 'BICHÓN MALTÉS'); //MOSTRAR LA CANTIDAD DE MASCOTA POR RAZA SELECT RAZA, COUNT(*) AS CANTIDAD FROM MASCOTA GROUP BY RAZA; //MOSTRAR LA CANTIDAD DE GATOS REGISTRADOS SELECT TIPO_MASCOTA, COUNT(*) FROM MASCOTA WHERE TIPO_MASCOTA = 'GATO' GROUP BY TIPO_MASCOTA; //MOSTRAR LA CANTIDAD DE PERROS REGISTRADOS SELECT TIPO_MASCOTA, COUNT(*) FROM MASCOTA WHERE TIPO_MASCOTA = 'PERRO' GROUP BY TIPO_MASCOTA; //MOSTRAR LA CANTIDAD DE CHIGUAGUAS EXISTENTES SELECT RAZA, COUNT(*) AS CANTIDAD FROM MASCOTA WHERE RAZA = 'CHIGUAGUA' GROUP BY RAZA; //MOSTRAR LA CANTIDAD DE GATOS PERSA EXISTENTES SELECT RAZA, COUNT(*) AS CANTIDAD FROM MASCOTA WHERE RAZA = 'PERSA' GROUP BY RAZA; //MOSTRAR LA CANTIDAD DE GATOS SPHYNX Y PERROS CANE CORSO SELECT RAZA, COUNT(*) AS CANTIDAD FROM MASCOTA WHERE RAZA = 'PERSA' OR RAZA = 'CANE CORSO' GROUP BY RAZA; //MOSTRAR EL TIPO DE MASCOTA QUE TIENE MAS DE 2 EJEMPLARES SELECT TIPO_MASCOTA, COUNT(*) AS CANTIDAD FROM MASCOTA GROUP BY TIPO_MASCOTA HAVING COUNT(*)>2; //MOSTRAR LA RAZA DE MASCOTA QUE TIENE MENOS DE 2 EJEMPLARES SELECT RAZA, COUNT(*) FROM MASCOTA GROUP BY RAZA HAVING COUNT(*)<2;
    true
    b7c4c14a6be95d17b5820f5ca95e28a0c75ea6a4
    SQL
    DMilmont/mode
    /Mode/roadster/spaces/team PRODUCT/Soft Credit Pulls.2bcaed831c84/Soft Credit Pull by DPID (last 6-months).b4546c1831bc.sql
    UTF-8
    390
    3.640625
    4
    []
    no_license
    select l.dealer_partner_id , dp.dpid , count(distinct l.id) from public.lead_submitted l JOIN public.dealer_partners dp ON l.dealer_partner_id = dp.id where l.type = 'SoftCreditInquiry' AND l.in_store = true and l.timestamp::date >= date_trunc('month', current_date) - interval '6 month' and l.timestamp::date < date_trunc('month', current_date) group by l.dealer_partner_id, dp.dpid;
    true
    d8eb1ab9d6c45242a00c7b8ed010ccd7fa6d8ee3
    SQL
    mrogove/rogoveNCDA
    /create stored procs/deprecated - do not use/scoreReturn - deprecated.sql
    UTF-8
    225
    3.421875
    3
    []
    no_license
    DELIMITER // CREATE PROCEDURE scoreReturn (root_id SMALLINT, second_id SMALLINT) BEGIN select count(*) AS score from results where w_id in (root_id, second_id) and l_id in (root_id, second_id); END // DELIMITER ;
    true
    3fd89ece1f48dd074a5463d427b67b6f13235251
    SQL
    radtek/abs3
    /sql/mmfo/bars/Table/sw_stmt.sql
    WINDOWS-1251
    3,817
    3.21875
    3
    []
    no_license
    PROMPT ===================================================================================== PROMPT *** Run *** ========== Scripts /Sql/BARS/Table/SW_STMT.sql =========*** Run *** ===== PROMPT ===================================================================================== PROMPT *** ALTER_POLICY_INFO to SW_STMT *** BEGIN execute immediate 'begin bpa.alter_policy_info(''SW_STMT'', ''CENTER'' , null, null, null, null); bpa.alter_policy_info(''SW_STMT'', ''FILIAL'' , null, ''E'', ''E'', ''E''); bpa.alter_policy_info(''SW_STMT'', ''WHOLE'' , null, null, null, null); null; end; '; END; / PROMPT *** Create table SW_STMT *** begin execute immediate ' CREATE TABLE BARS.SW_STMT ( MT NUMBER(38,0) ) SEGMENT CREATION IMMEDIATE PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING TABLESPACE BRSSMLD '; exception when others then if sqlcode=-955 then null; else raise; end if; end; / PROMPT *** ALTER_POLICIES to SW_STMT *** exec bpa.alter_policies('SW_STMT'); COMMENT ON TABLE BARS.SW_STMT IS 'SWT. '; COMMENT ON COLUMN BARS.SW_STMT.MT IS ' '; PROMPT *** Create constraint PK_SWSTMT *** begin execute immediate ' ALTER TABLE BARS.SW_STMT ADD CONSTRAINT PK_SWSTMT PRIMARY KEY (MT) USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS TABLESPACE BRSSMLI ENABLE'; exception when others then if sqlcode=-2260 or sqlcode=-2261 or sqlcode=-2264 or sqlcode=-2275 or sqlcode=-1442 then null; else raise; end if; end; / PROMPT *** Create constraint CC_SWSTMT_MT_NN *** begin execute immediate ' ALTER TABLE BARS.SW_STMT MODIFY (MT CONSTRAINT CC_SWSTMT_MT_NN NOT NULL ENABLE)'; exception when others then if sqlcode=-2260 or sqlcode=-2261 or sqlcode=-2264 or sqlcode=-2275 or sqlcode=-1442 then null; else raise; end if; end; / PROMPT *** Create index PK_SWSTMT *** begin execute immediate ' CREATE UNIQUE INDEX BARS.PK_SWSTMT ON BARS.SW_STMT (MT) PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS TABLESPACE BRSSMLI '; exception when others then if sqlcode=-955 then null; else raise; end if; end; / PROMPT *** Create grants SW_STMT *** grant SELECT on SW_STMT to BARS013; grant SELECT on SW_STMT to BARSREADER_ROLE; grant DELETE,FLASHBACK,INSERT,SELECT,UPDATE on SW_STMT to BARS_ACCESS_DEFROLE; grant SELECT on SW_STMT to BARS_DM; grant DELETE,INSERT,SELECT,UPDATE on SW_STMT to SWIFT001; grant SELECT on SW_STMT to SWTOSS; grant SELECT on SW_STMT to UPLD; grant DELETE,FLASHBACK,INSERT,SELECT,UPDATE on SW_STMT to WR_ALL_RIGHTS; grant FLASHBACK,SELECT on SW_STMT to WR_REFREAD; PROMPT *** Create SYNONYM to SW_STMT *** CREATE OR REPLACE PUBLIC SYNONYM SW_STMT FOR BARS.SW_STMT; PROMPT ===================================================================================== PROMPT *** End *** ========== Scripts /Sql/BARS/Table/SW_STMT.sql =========*** End *** ===== PROMPT =====================================================================================
    true
    d738e80e3e35f15483c54d79fcdf7daab0d87202
    SQL
    alfianfl/Frontend-developer
    /My Project/Code Igniter Project/buyyo-marketplace/db/database.sql
    UTF-8
    6,656
    3.34375
    3
    [ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
    permissive
    -- ****************** SqlDBM: MySQL ******************; -- ***************************************************; -- ************************************** `User` -- create database db_buyyo; -- use db_buyyo; CREATE TABLE `User` ( `id_user` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(45) NOT NULL UNIQUE, `email` varchar(45) NOT NULL UNIQUE, `hash` varchar(45) NOT NULL , `salt` varchar(45) NOT NULL , `password_log` text , `alamat` varchar(255) , `alamat_pengiriman` varchar(255) , `alamat_penjemputan` varchar(255) , `npm` varchar(12) , `nama_user` varchar(255) , `nama_merchant` varchar(255) , `validasi` int(1) NOT NULL DEFAULT 0, `foto` varchar(255), `no_hp` varchar(13), `insert_on` timestamp NOT NULL DEFAULT current_timestamp, `update_on` timestamp NOT NULL DEFAULT current_timestamp ON UPDATE current_timestamp, PRIMARY KEY (`id_user`) ); INSERT INTO `User` (`username`,`email`,`hash`,`salt`,`nama_user`,`nama_merchant`) VALUES ('test1','[email protected]','a675751f329e2926c11f6e6890776e76b012091f99919856b705cfdc1de6105a','j9NlVJZf','user1','merchant1'), ('test2','[email protected]','5d32a16b86c12cf93f49a85e4a3d9c140e267e45aa875c7673e611e03cb80581','jads6oy2','user2','merchant2'), ('test3','[email protected]','c9035947066d79edb1ed96f94ce68e6a944822fe684c73531bd164ab10b9220e','34OsgFI5','user3','merchant3'); -- ************************************** `Kategori` CREATE TABLE `Kategori` ( `id_kategori` int(11) NOT NULL AUTO_INCREMENT, `nama_kategori` varchar(100) NOT NULL , PRIMARY KEY (`id_kategori`) ); INSERT INTO `Kategori` (`id_kategori`, `nama_kategori`) VALUES (1, 'Makanan'), (2, 'Minuman'); -- ************************************** `Dompet` CREATE TABLE `Dompet` ( `id_dompet` int(11) NOT NULL AUTO_INCREMENT, `saldo` int NOT NULL DEFAULT 0, `cashback_total` int NOT NULL DEFAULT 0, `cashback_mati` int NOT NULL DEFAULT 0, `cashback_hidup` int NOT NULL DEFAULT 0, `total_transaksi` int NOT NULL DEFAULT 0, `slot_total` int NOT NULL DEFAULT 0, `slot_hidup` int NOT NULL DEFAULT 0, `slot_mati` int NOT NULL DEFAULT 0, `id_user` int(11) NOT NULL UNIQUE, PRIMARY KEY (`id_dompet`), KEY `fkIdx_75` (`id_user`), CONSTRAINT `FK_75` FOREIGN KEY `fkIdx_75` (`id_user`) REFERENCES `User` (`id_user`) ); -- ************************************** `Produk` CREATE TABLE `Produk` ( `id_produk` int(11) NOT NULL AUTO_INCREMENT, `nama_produk` varchar(100) NOT NULL , `harga_produk` int(11) NOT NULL , `ket_produk` longtext NOT NULL , `stok_produk` int NOT NULL DEFAULT 0, `gambar1` varchar(255) , `gambar2` varchar(255) , `gambar3` varchar(255) , `gambar4` varchar(255) , `gambar5` varchar(255) , `kondisi_produk` enum('baru', 'bekas') NOT NULL , `insert_on` timestamp NOT NULL DEFAULT current_timestamp , `update_on` timestamp NOT NULL DEFAULT current_timestamp ON UPDATE current_timestamp , -- `id_user` int(11) NOT NULL , `merchant` int(11) NOT NULL, -- merch `id_kategori` int(11) NOT NULL , PRIMARY KEY (`id_produk`), KEY `fkIdx_60` (`merchant`), CONSTRAINT `FK_60` FOREIGN KEY `fkIdx_60` (`merchant`) REFERENCES `User` (`id_user`), KEY `fkIdx_63` (`id_kategori`), CONSTRAINT `FK_63` FOREIGN KEY `fkIdx_63` (`id_kategori`) REFERENCES `Kategori` (`id_kategori`) ); INSERT INTO `Produk` (`id_produk`, `nama_produk`, `harga_produk`, `ket_produk`, `gambar1`, `kondisi_produk`, `merchant`, `id_kategori`) VALUES (1, 'Mie Ayam', 10000, 'Mie ayam dengan kuah kari', 'mie_ayam.jpg', 'baru', 1, 1), (2, 'Pop Ice', 5000, 'Pop ice berbagai rasa', 'pop_ice.jpg', 'baru', 2, 2), (3, 'Tahu Sumedang', 7000, 'Tahu enak khas Sumedang', 'tahu_sumedang.jpg', 'baru', 3, 1); -- ************************************** `Keranjang` CREATE TABLE `Keranjang` ( `id_keranjang` varchar(255) NOT NULL, `waktu` timestamp NOT NULL DEFAULT current_timestamp, -- customer `id_user` int(11) NOT NULL , PRIMARY KEY (`id_keranjang`), KEY `fkIdx_82` (`id_user`), CONSTRAINT `FK_82` FOREIGN KEY `fkIdx_82` (`id_user`) REFERENCES `User` (`id_user`) ); INSERT INTO `Keranjang` (`id_keranjang`, `id_user`) VALUES ('1', 1); -- ************************************** `Pembayaran` CREATE TABLE `Pembayaran` ( `id_pembayaran` int(11) NOT NULL AUTO_INCREMENT, `metode_pembayaran` enum('transfer', 'tunai') NOT NULL , `status_pembayaran` varchar(10) NOT NULL DEFAULT 'pending', `id_user` int(11) NOT NULL , `id_keranjang` varchar(255) NOT NULL , PRIMARY KEY (`id_pembayaran`), KEY `fkIdx_115` (`id_user`), CONSTRAINT `FK_115` FOREIGN KEY `fkIdx_115` (`id_user`) REFERENCES `User` (`id_user`), KEY `fkIdx_118` (`id_keranjang`), CONSTRAINT `FK_118` FOREIGN KEY `fkIdx_118` (`id_keranjang`) REFERENCES `Keranjang` (`id_keranjang`) ); INSERT INTO `Pembayaran` (`id_pembayaran`, `metode_pembayaran`, `status_pembayaran`,`id_user`, `id_keranjang`) VALUES (1, 'Tunai','Lunas', 1, '1'); -- ************************************** `Transaksi` CREATE TABLE `Transaksi` ( `id_transaksi` int(11) NOT NULL AUTO_INCREMENT, `kuantitas` int NOT NULL , `waktu` timestamp NOT NULL DEFAULT current_timestamp, `catatan` text NOT NULL , `id_produk` int(11) NOT NULL , -- `id_user` int(11) NOT NULL , `customer` int(11) NOT NULL, -- cust `id_keranjang` varchar(255) NOT NULL , PRIMARY KEY (`id_transaksi`), KEY `fkIdx_107` (`id_keranjang`), CONSTRAINT `FK_107` FOREIGN KEY `fkIdx_107` (`id_keranjang`) REFERENCES `Keranjang` (`id_keranjang`), KEY `fkIdx_66` (`id_produk`), CONSTRAINT `FK_66` FOREIGN KEY `fkIdx_66` (`id_produk`) REFERENCES `Produk` (`id_produk`), KEY `fkIdx_69` (`customer`), CONSTRAINT `FK_69` FOREIGN KEY `fkIdx_69` (`customer`) REFERENCES `User` (`id_user`) ); INSERT INTO `Transaksi` (`id_transaksi`, `kuantitas`, `catatan`, `id_produk`, `customer`, `id_keranjang`) VALUES (1, 2, '22nya pedes', 1, 1, '1'), (2, 3, 'semuanya ga pake es, rasa coklat, vanilla, dan stroberi', 2, 1, '1'); -- ************************************** `History Transaksi` CREATE TABLE `History_transaksi` ( `id_transaksi` int(11) NOT NULL AUTO_INCREMENT, `kuantitas` int NOT NULL , `waktu` timestamp NOT NULL DEFAULT current_timestamp, `catatan` text NOT NULL , `id_produk` int(11) NOT NULL , `customer` int(11) NOT NULL, `id_keranjang` varchar(255) NOT NULL , PRIMARY KEY (`id_transaksi`) ); CREATE TABLE `Subcriber` ( `id_subs` int(11) NOT NULL AUTO_INCREMENT, `email` varchar(45), `waktu` timestamp NOT NULL DEFAULT current_timestamp, PRIMARY KEY (`id_subs`) );
    true
    1b569d1bc9f954eb3ed12261b08ad54f383ebf4a
    SQL
    chaesiong/rtp-database
    /production/DL_STAGING4PIBICS/tables/occupation.sql
    UTF-8
    2,552
    2.921875
    3
    []
    no_license
    CREATE TABLE "DL_STAGING4PIBICS"."OCCUPATION" ( "OCC_SEQNO" NUMBER NOT NULL ENABLE, "OCCCD" VARCHAR2(4 CHAR) NOT NULL ENABLE, "OCCTNM" VARCHAR2(60 CHAR) NOT NULL ENABLE, "OCCENM" VARCHAR2(60 CHAR), "ACTFLAG" VARCHAR2(1 CHAR), "CREATE_BY" VARCHAR2(20 CHAR), "CREATE_DATE" TIMESTAMP (6), "UPDATE_BY" VARCHAR2(20 CHAR), "UPDATE_DATE" TIMESTAMP (6), "VERSION" NUMBER ) NO INMEMORY ; ALTER TABLE "DL_STAGING4PIBICS"."OCCUPATION" ADD CONSTRAINT "OCCUPATION_PK" PRIMARY KEY ("OCC_SEQNO") USING INDEX ENABLE; CREATE UNIQUE INDEX "DL_STAGING4PIBICS"."OCCUPATION_PK" ON "DL_STAGING4PIBICS"."OCCUPATION" ("OCC_SEQNO") ; GRANT SELECT ON "DL_STAGING4PIBICS"."OCCUPATION" TO "DL_STAGING4PIBICS_INTF"; GRANT REFERENCES ON "DL_STAGING4PIBICS"."OCCUPATION" TO "DL_STAGING4PIBICS_INTF"; GRANT DELETE ON "DL_STAGING4PIBICS"."OCCUPATION" TO "DL_COMMON"; GRANT INSERT ON "DL_STAGING4PIBICS"."OCCUPATION" TO "DL_COMMON"; GRANT SELECT ON "DL_STAGING4PIBICS"."OCCUPATION" TO "DL_COMMON"; GRANT UPDATE ON "DL_STAGING4PIBICS"."OCCUPATION" TO "DL_COMMON"; GRANT SELECT ON "DL_STAGING4PIBICS"."OCCUPATION" TO "SERVAPP"; GRANT SELECT ON "DL_STAGING4PIBICS"."OCCUPATION" TO "BIO_BD"; GRANT DELETE ON "DL_STAGING4PIBICS"."OCCUPATION" TO "DERMALOG_PROXY"; GRANT INSERT ON "DL_STAGING4PIBICS"."OCCUPATION" TO "DERMALOG_PROXY"; GRANT SELECT ON "DL_STAGING4PIBICS"."OCCUPATION" TO "DERMALOG_PROXY"; GRANT UPDATE ON "DL_STAGING4PIBICS"."OCCUPATION" TO "DERMALOG_PROXY"; GRANT SELECT ON "DL_STAGING4PIBICS"."OCCUPATION" TO "APPSUP"; GRANT SELECT ON "DL_STAGING4PIBICS"."OCCUPATION" TO "BIOAPPREPORT"; GRANT SELECT ON "DL_STAGING4PIBICS"."OCCUPATION" TO "BIOSUPPORT"; GRANT ALTER ON "DL_STAGING4PIBICS"."OCCUPATION" TO "BIOSAADM"; GRANT DELETE ON "DL_STAGING4PIBICS"."OCCUPATION" TO "BIOSAADM"; GRANT INDEX ON "DL_STAGING4PIBICS"."OCCUPATION" TO "BIOSAADM"; GRANT INSERT ON "DL_STAGING4PIBICS"."OCCUPATION" TO "BIOSAADM"; GRANT SELECT ON "DL_STAGING4PIBICS"."OCCUPATION" TO "BIOSAADM"; GRANT UPDATE ON "DL_STAGING4PIBICS"."OCCUPATION" TO "BIOSAADM"; GRANT REFERENCES ON "DL_STAGING4PIBICS"."OCCUPATION" TO "BIOSAADM"; GRANT READ ON "DL_STAGING4PIBICS"."OCCUPATION" TO "BIOSAADM"; GRANT ON COMMIT REFRESH ON "DL_STAGING4PIBICS"."OCCUPATION" TO "BIOSAADM"; GRANT QUERY REWRITE ON "DL_STAGING4PIBICS"."OCCUPATION" TO "BIOSAADM"; GRANT DEBUG ON "DL_STAGING4PIBICS"."OCCUPATION" TO "BIOSAADM"; GRANT FLASHBACK ON "DL_STAGING4PIBICS"."OCCUPATION" TO "BIOSAADM";
    true
    6801b06e0374bee2280963a638dfb0484fd926c0
    SQL
    jampaniuday/ABROracle
    /sql/audit_login_fails.sql
    UTF-8
    337
    2.796875
    3
    [ "Apache-2.0" ]
    permissive
    col USERHOST format a17 col os_username format a20 col USERNAME format a17 set linesize 120 set pagesize 120 select os_username, username, userhost, to_char(timestamp,'mm/dd/yyyy hh24:mi:ss') timestamp, returncode from dba_audit_session where action_name = 'LOGON' and returncode > 0 and timestamp > (sysdate-20) order by timestamp /
    true
    0479f0a5dee7e3daba2310c5c0d85ba0a0d0fc4d
    SQL
    rayu1988/svn-jeanbruno
    /APP/ECLIPSE_PROJECT/laptracker/laptracker/sql/3_trackmessage_create_table.sql
    UTF-8
    417
    3
    3
    []
    no_license
    create table LAP ( id_lap int not null auto_increment primary key, id_lap_track int not null, identifier varchar(10) not null, format varchar(10) not null, time varchar(10) not null, distance_unit tinyint null, distance_value varchar(10) not null, break_time varchar(20) null )ENGINE=INNODB; alter table LAP add constraint fkLAPLAPTRACK foreign key (id_lap_track) references LAP_TRACK(id_lap_track);
    true
    f68b34472904dc0596a3ff5a32cee363655b3c10
    SQL
    radtek/Oracle-4
    /SQL/Administração/!Script_Andre/ScriptOracle/role-info.sql
    UTF-8
    2,953
    4.21875
    4
    []
    no_license
    -- role-info.sql -- Last updated: 08/27/1998 -- Update by: Mary Gail Manes -- Shows all roles within the database and all users -- This can be a very large report and take several minutes to -- complete if there are a large number of users in the database. set pause off; set echo off; set termout off; set linesize 80; set pagesize 5000; column c1 heading "Role"; column c2 format a40 heading "Table Name"; column c3 heading "Priv."; break on c1 skip 0 on c2 skip 0 column name noprint new_value xdbname select name from v$database; column today noprint new_value xdate select substr(to_char(sysdate,'Month DD, YYYY HH:MI:SS P.M.'),1,35) today from dual; spool c:\role-info.rpt set heading off ttitle left "DATABASE: "xdbname" (As Of: "xdate")" select 'Executed by:' || user from dual; ttitle off set heading on set echo on select * from sys.dba_roles; set echo off column c1 heading "Role"; column c2 heading "Grantee"; set echo on select substr(granted_role,1,20) c1, substr(grantee,1,20) c2 from sys.dba_role_privs where grantee not in ('SYS', 'SYSTEM', 'DBA') and grantee not in ( select username from dba_users where ACCOUNT_STATUS='LOCKED' ) order by 1,2; set echo off column c1 heading "Grantee"; column c2 heading "Role"; set echo on select substr(grantee,1,20) c1, substr(granted_role,1,20) c2, default_role from sys.dba_role_privs where grantee not in ('SYS', 'SYSTEM', 'DBA') and grantee not in ( select username from dba_users where ACCOUNT_STATUS='LOCKED' ) order by 1,2; select grantee, granted_role, default_role from sys.dba_role_privs where default_role = 'YES' and granted_role in (select role from sys.dba_roles where password_required = 'YES') and grantee not in ( select username from dba_users where ACCOUNT_STATUS='LOCKED' ); set echo off column c1 heading "Grantee"; set echo on select substr(grantee,1,20) c1, ltrim(rtrim(substr(owner,1,10)))||'.'||substr(table_name,1,20) "Table", substr(privilege,1,9) "Privilege" from sys.dba_tab_privs where privilege in ('INSERT', 'UPDATE', 'DELETE','SELECT') and grantee in (select role from sys.dba_roles) and grantee not in ( select username from dba_users where ACCOUNT_STATUS='LOCKED' ); select substr(grantee,1,20) c1, ltrim(rtrim(substr(owner,1,10)))||'.'||substr(table_name,1,20) "Table", substr(privilege,1,9) "Privilege" from sys.dba_tab_privs where privilege in ('INSERT', 'UPDATE', 'DELETE','SELECT') and grantee not in (select role from sys.dba_roles) and grantee not in ( select username from dba_users where ACCOUNT_STATUS='LOCKED' ); set echo off column c1 heading "Role"; set echo on select substr(role,1,20) c1, substr(granted_role,1,20) "Granted role" from sys.role_role_privs; select granted_role from sys.dba_role_privs where grantee = 'PUBLIC'; spool off set echo off ttitle off
    true
    9ae3518b0e001058d41671fa3c763eed7177408f
    SQL
    Sheena15M/WorkTrack
    /db/seed.sql
    UTF-8
    745
    3.390625
    3
    []
    no_license
    use employees; INSERT INTO department (name) VALUES ('Development'), ('Quality Assurance'), ('Human Resources'), ('Operations'); INSERT INTO role (title, salary, department_id) VALUES ('Development Lead', 150000, 1), ('Developer', 100000, 1), ('Lead Test Engineer', 150000, 2), ('Test Engineer', 100000, 2), ('HR Manager', 110000, 3), ('HR Representive', 80000, 3), ('Operations Lead', 140000, 4), ('Operations Engineer', 90000, 4); INSERT INTO employee (first_name, last_name, role_id, manager_id) VALUES ('Cristina', 'Gonzalez', 1, NULL), ('Krista', 'Scott', 2, 1), ('Cassandra', 'Bass', 3, NULL), ('Joshua', 'Hill', 4, 3), ('Imani', 'Dawson', 5, NULL), ('Kyle', 'Willis', 6, 5), ('Rudra', 'Singh', 7, NULL), ('Matthew', 'Johnson', 8, 7);
    true
    98d06479f70faf9693c96d1fb040b2f0d4162fea
    SQL
    alisaleh1984/Oracle-APEX-Classic-Report-Template
    /f45114.sql
    UTF-8
    436,341
    2.640625
    3
    []
    no_license
    prompt --application/set_environment set define off verify off feedback off whenever sqlerror exit sql.sqlcode rollback -------------------------------------------------------------------------------- -- -- ORACLE Application Express (APEX) export file -- -- You should run the script connected to SQL*Plus as the Oracle user -- APEX_180100 or as the owner (parsing schema) of the application. -- -- NOTE: Calls to apex_application_install override the defaults below. -- -------------------------------------------------------------------------------- begin wwv_flow_api.import_begin ( p_version_yyyy_mm_dd=>'2018.04.04' ,p_release=>'18.1.0.00.45' ,p_default_workspace_id=>38661221172697194564 ,p_default_application_id=>45114 ,p_default_owner=>'ALI_MED' ); end; / prompt APPLICATION 45114 - Classic Report Template -- -- Application Export: -- Application: 45114 -- Name: Classic Report Template -- Date and Time: 11:49 Wednesday June 6, 2018 -- Exported By: ALI -- Flashback: 0 -- Export Type: Application Export -- Version: 18.1.0.00.45 -- Instance ID: 63113759365424 -- -- Application Statistics: -- Pages: 12 -- Items: 2 -- Processes: 4 -- Regions: 12 -- Buttons: 1 -- Shared Components: -- Logic: -- Navigation: -- Lists: 2 -- Breadcrumbs: 1 -- Entries: 1 -- Security: -- Authentication: 1 -- User Interface: -- Themes: 1 -- Templates: -- Page: 9 -- Region: 15 -- Label: 5 -- List: 11 -- Popup LOV: 1 -- Calendar: 1 -- Breadcrumb: 1 -- Button: 3 -- Report: 19 -- Globalization: -- Reports: -- E-Mail: -- Supporting Objects: Included prompt --application/delete_application begin wwv_flow_api.remove_flow(wwv_flow.g_flow_id); end; / prompt --application/create_application begin wwv_flow_api.create_flow( p_id=>wwv_flow.g_flow_id ,p_display_id=>nvl(wwv_flow_application_install.get_application_id,45114) ,p_owner=>nvl(wwv_flow_application_install.get_schema,'ALI_MED') ,p_name=>nvl(wwv_flow_application_install.get_application_name,'Classic Report Template') ,p_alias=>nvl(wwv_flow_application_install.get_application_alias,'F_45114') ,p_page_view_logging=>'YES' ,p_page_protection_enabled_y_n=>'Y' ,p_checksum_salt=>'10B38E60F4B7549D9E064CB8A4D16606752954EAAD6043B1B68A0F42D727D6CD' ,p_bookmark_checksum_function=>'SH512' ,p_compatibility_mode=>'5.1' ,p_flow_language=>'en' ,p_flow_language_derived_from=>'0' ,p_direction_right_to_left=>'N' ,p_flow_image_prefix => nvl(wwv_flow_application_install.get_image_prefix,'') ,p_authentication=>'PLUGIN' ,p_authentication_id=>wwv_flow_api.id(55689506991647258739) ,p_populate_roles=>'A' ,p_application_tab_set=>0 ,p_logo_image=>'TEXT:Classic Report Template' ,p_proxy_server=>nvl(wwv_flow_application_install.get_proxy,'') ,p_no_proxy_domains=>nvl(wwv_flow_application_install.get_no_proxy_domains,'') ,p_flow_version=>'release 1.0' ,p_flow_status=>'AVAILABLE_W_EDIT_LINK' ,p_flow_unavailable_text=>'This application is currently unavailable at this time.' ,p_exact_substitutions_only=>'Y' ,p_browser_cache=>'N' ,p_browser_frame=>'D' ,p_rejoin_existing_sessions=>'N' ,p_csv_encoding=>'Y' ,p_last_upd_yyyymmddhh24miss=>'20180506040209' ,p_file_prefix => nvl(wwv_flow_application_install.get_static_app_file_prefix,'') ,p_ui_type_name => null ); end; / prompt --application/shared_components/navigation/lists/desktop_navigation_menu begin wwv_flow_api.create_list( p_id=>wwv_flow_api.id(55689454520588258678) ,p_name=>'Desktop Navigation Menu' ,p_list_status=>'PUBLIC' ); wwv_flow_api.create_list_item( p_id=>wwv_flow_api.id(55689508286784258749) ,p_list_item_display_sequence=>10 ,p_list_item_link_text=>'Home' ,p_list_item_link_target=>'f?p=&APP_ID.:1:&APP_SESSION.::&DEBUG.:' ,p_list_item_current_type=>'COLON_DELIMITED_PAGE_LIST' ,p_list_item_current_for_pages=>'1' ); wwv_flow_api.create_list_item( p_id=>wwv_flow_api.id(55689554562243271117) ,p_list_item_display_sequence=>20 ,p_list_item_link_text=>'Classic Report (Standard)' ,p_list_item_link_target=>'f?p=&APP_ID.:2:&SESSION.::&DEBUG.' ,p_list_item_current_type=>'COLON_DELIMITED_PAGE_LIST' ,p_list_item_current_for_pages=>'2' ); wwv_flow_api.create_list_item( p_id=>wwv_flow_api.id(55690588214841101923) ,p_list_item_display_sequence=>30 ,p_list_item_link_text=>'Value Attribute Pairs - Row' ,p_list_item_link_target=>'f?p=&APP_ID.:3:&SESSION.::&DEBUG.' ,p_list_item_current_type=>'COLON_DELIMITED_PAGE_LIST' ,p_list_item_current_for_pages=>'3' ); wwv_flow_api.create_list_item( p_id=>wwv_flow_api.id(55691043324391341185) ,p_list_item_display_sequence=>40 ,p_list_item_link_text=>'Value Attribute Pairs - Column' ,p_list_item_link_target=>'f?p=&APP_ID.:4:&SESSION.::&DEBUG.' ,p_list_item_current_type=>'COLON_DELIMITED_PAGE_LIST' ,p_list_item_current_for_pages=>'4' ); wwv_flow_api.create_list_item( p_id=>wwv_flow_api.id(55910981026972326060) ,p_list_item_display_sequence=>50 ,p_list_item_link_text=>'Timeline' ,p_list_item_link_target=>'f?p=&APP_ID.:5:&SESSION.::&DEBUG.' ,p_list_item_current_type=>'COLON_DELIMITED_PAGE_LIST' ,p_list_item_current_for_pages=>'5' ); wwv_flow_api.create_list_item( p_id=>wwv_flow_api.id(55924335351728423229) ,p_list_item_display_sequence=>60 ,p_list_item_link_text=>'Search Results' ,p_list_item_link_target=>'f?p=&APP_ID.:6:&SESSION.::&DEBUG.' ,p_list_item_current_type=>'COLON_DELIMITED_PAGE_LIST' ,p_list_item_current_for_pages=>'6' ); wwv_flow_api.create_list_item( p_id=>wwv_flow_api.id(55929403533091461372) ,p_list_item_display_sequence=>70 ,p_list_item_link_text=>'Comments' ,p_list_item_link_target=>'f?p=&APP_ID.:7:&SESSION.::&DEBUG.' ,p_list_item_current_type=>'COLON_DELIMITED_PAGE_LIST' ,p_list_item_current_for_pages=>'7' ); wwv_flow_api.create_list_item( p_id=>wwv_flow_api.id(55933109169105711298) ,p_list_item_display_sequence=>80 ,p_list_item_link_text=>'Cards' ,p_list_item_link_target=>'f?p=&APP_ID.:8:&SESSION.::&DEBUG.' ,p_list_item_current_type=>'COLON_DELIMITED_PAGE_LIST' ,p_list_item_current_for_pages=>'8' ); wwv_flow_api.create_list_item( p_id=>wwv_flow_api.id(56006495061713655288) ,p_list_item_display_sequence=>90 ,p_list_item_link_text=>'Badge List' ,p_list_item_link_target=>'f?p=&APP_ID.:9:&SESSION.::&DEBUG.' ,p_list_item_current_type=>'COLON_DELIMITED_PAGE_LIST' ,p_list_item_current_for_pages=>'9' ); wwv_flow_api.create_list_item( p_id=>wwv_flow_api.id(56006755638751710360) ,p_list_item_display_sequence=>100 ,p_list_item_link_text=>'Alerts' ,p_list_item_link_target=>'f?p=&APP_ID.:10:&SESSION.::&DEBUG.' ,p_list_item_current_type=>'COLON_DELIMITED_PAGE_LIST' ,p_list_item_current_for_pages=>'10' ); wwv_flow_api.create_list_item( p_id=>wwv_flow_api.id(56007859506637557595) ,p_list_item_display_sequence=>110 ,p_list_item_link_text=>'Pricing' ,p_list_item_link_target=>'f?p=&APP_ID.:11:&SESSION.::&DEBUG.' ,p_list_item_current_type=>'COLON_DELIMITED_PAGE_LIST' ,p_list_item_current_for_pages=>'11' ); end; / prompt --application/shared_components/navigation/lists/desktop_navigation_bar begin wwv_flow_api.create_list( p_id=>wwv_flow_api.id(55689506639207258737) ,p_name=>'Desktop Navigation Bar' ,p_list_status=>'PUBLIC' ); wwv_flow_api.create_list_item( p_id=>wwv_flow_api.id(55689506869382258738) ,p_list_item_display_sequence=>10 ,p_list_item_link_text=>'Log Out' ,p_list_item_link_target=>'&LOGOUT_URL.' ,p_list_item_current_for_pages=>'&LOGOUT_URL.' ); end; / prompt --application/plugin_settings begin wwv_flow_api.create_plugin_setting( p_id=>wwv_flow_api.id(9323143107683105) ,p_plugin_type=>'ITEM TYPE' ,p_plugin=>'NATIVE_RICH_TEXT_EDITOR' ,p_attribute_01=>'N' ); wwv_flow_api.create_plugin_setting( p_id=>wwv_flow_api.id(55689453916876258677) ,p_plugin_type=>'ITEM TYPE' ,p_plugin=>'NATIVE_COLOR_PICKER' ,p_attribute_01=>'modern' ); wwv_flow_api.create_plugin_setting( p_id=>wwv_flow_api.id(55689454087739258677) ,p_plugin_type=>'ITEM TYPE' ,p_plugin=>'NATIVE_YES_NO' ,p_attribute_01=>'Y' ,p_attribute_03=>'N' ,p_attribute_05=>'SWITCH' ); wwv_flow_api.create_plugin_setting( p_id=>wwv_flow_api.id(55689454147041258678) ,p_plugin_type=>'REGION TYPE' ,p_plugin=>'NATIVE_CSS_CALENDAR' ); wwv_flow_api.create_plugin_setting( p_id=>wwv_flow_api.id(55689454280570258678) ,p_plugin_type=>'REGION TYPE' ,p_plugin=>'NATIVE_DISPLAY_SELECTOR' ,p_attribute_01=>'Y' ); wwv_flow_api.create_plugin_setting( p_id=>wwv_flow_api.id(55689454362427258678) ,p_plugin_type=>'REGION TYPE' ,p_plugin=>'NATIVE_IG' ); wwv_flow_api.create_plugin_setting( p_id=>wwv_flow_api.id(55689454470769258678) ,p_plugin_type=>'REGION TYPE' ,p_plugin=>'NATIVE_IR' ,p_attribute_01=>'IG' ); end; / prompt --application/shared_components/navigation/navigation_bar begin null; end; / prompt --application/shared_components/logic/application_items begin null; end; / prompt --application/shared_components/logic/application_computations begin null; end; / prompt --application/shared_components/logic/application_settings begin null; end; / prompt --application/shared_components/navigation/tabs/standard begin null; end; / prompt --application/shared_components/navigation/tabs/parent begin null; end; / prompt --application/pages/page_groups begin null; end; / prompt --application/comments begin null; end; / prompt --application/shared_components/navigation/breadcrumbs/breadcrumb begin wwv_flow_api.create_menu( p_id=>wwv_flow_api.id(55689508003166258744) ,p_name=>' Breadcrumb' ); wwv_flow_api.create_menu_option( p_id=>wwv_flow_api.id(55689508533219258750) ,p_parent_id=>0 ,p_short_name=>'Home' ,p_link=>'f?p=&APP_ID.:1:&APP_SESSION.::&DEBUG.' ,p_page_id=>1 ); end; / prompt --application/shared_components/user_interface/templates/page/left_side_column begin wwv_flow_api.create_template( p_id=>wwv_flow_api.id(55689454689093258679) ,p_theme_id=>42 ,p_name=>'Left Side Column' ,p_internal_name=>'LEFT_SIDE_COLUMN' ,p_is_popup=>false ,p_javascript_code_onload=>'apex.theme42.initializePage.leftSideCol();' ,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<!DOCTYPE html>', '<html class="no-js #RTL_CLASS# page-&APP_PAGE_ID. app-&APP_ALIAS." lang="&BROWSER_LANGUAGE." #TEXT_DIRECTION#>', '<head>', ' <meta http-equiv="x-ua-compatible" content="IE=edge" />', ' <meta charset="utf-8">', ' <title>#TITLE#</title>', ' #APEX_CSS#', ' #THEME_CSS#', ' #TEMPLATE_CSS#', ' #THEME_STYLE_CSS#', ' #APPLICATION_CSS#', ' #PAGE_CSS#', ' #FAVICONS#', ' #HEAD#', ' <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>', '</head>', '<body class="t-PageBody t-PageBody--showLeft t-PageBody--hideActions no-anim #PAGE_CSS_CLASSES#" #TEXT_DIRECTION# #ONLOAD# id="t_PageBody">', '#FORM_OPEN#', '<header class="t-Header" id="t_Header">', ' #REGION_POSITION_07#', ' <div class="t-Header-branding">', ' <div class="t-Header-controls">', ' <button class="t-Button t-Button--icon t-Button--header t-Button--headerTree" title="#EXPAND_COLLAPSE_NAV_LABEL#" id="t_Button_navControl" type="button"><span class="t-Icon fa fa-bars" aria-hidden="true"></span></button>', ' </div>', ' <div class="t-Header-logo">', ' <a href="#HOME_LINK#" class="t-Header-logo-link">#LOGO#</a>', ' </div>', ' <div class="t-Header-navBar">', ' #NAVIGATION_BAR#', ' </div>', ' </div>', ' <div class="t-Header-nav">', ' #TOP_GLOBAL_NAVIGATION_LIST#', ' #REGION_POSITION_06#', ' </div>', '</header>')) ,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Body">', '#SIDE_GLOBAL_NAVIGATION_LIST#', ' <div class="t-Body-main">', ' <div class="t-Body-title" id="t_Body_title">', ' #REGION_POSITION_01#', ' </div>', ' <div class="t-Body-side" id="t_Body_side">', ' #REGION_POSITION_02#', ' </div>', ' <div class="t-Body-content" id="t_Body_content">', ' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#', ' <div class="t-Body-contentInner">', ' #BODY#', ' </div>', ' <footer class="t-Footer">', ' <div class="t-Footer-body">', ' <div class="t-Footer-content">#REGION_POSITION_05#</div>', ' <div class="t-Footer-apex">', ' <div class="t-Footer-version">#APP_VERSION#</div> ', ' <div class="t-Footer-customize">#CUSTOMIZE#</div>', ' <div class="t-Footer-srMode">#SCREEN_READER_TOGGLE#</div>', ' </div>', ' </div>', ' <div class="t-Footer-top">', ' <a href="#top" class="t-Footer-topButton" id="t_Footer_topButton"><span class="a-Icon icon-up-chevron"></span></a>', ' </div>', ' </footer>', ' </div>', ' </div>', '</div>', '<div class="t-Body-inlineDialogs">', ' #REGION_POSITION_04#', '</div>')) ,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '#FORM_CLOSE#', '#DEVELOPER_TOOLBAR#', '#APEX_JAVASCRIPT#', '#GENERATED_CSS#', '#THEME_JAVASCRIPT#', '#TEMPLATE_JAVASCRIPT#', '#APPLICATION_JAVASCRIPT#', '#PAGE_JAVASCRIPT# ', '#GENERATED_JAVASCRIPT#', '</body>', '</html>')) ,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Body-alert">', ' <div class="t-Alert t-Alert--defaultIcons t-Alert--success t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Success" role="alert">', ' <div class="t-Alert-wrap">', ' <div class="t-Alert-icon">', ' <span class="t-Icon"></span>', ' </div>', ' <div class="t-Alert-content">', ' <div class="t-Alert-header">', ' <h2 class="t-Alert-title">#SUCCESS_MESSAGE#</h2>', ' </div>', ' </div>', ' <div class="t-Alert-buttons">', ' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Success'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>', ' </div>', ' </div>', ' </div>', '</div>')) ,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Body-alert">', ' <div class="t-Alert t-Alert--defaultIcons t-Alert--warning t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Notification" role="alert">', ' <div class="t-Alert-wrap">', ' <div class="t-Alert-icon">', ' <span class="t-Icon"></span>', ' </div>', ' <div class="t-Alert-content">', ' <div class="t-Alert-body">', ' #MESSAGE#', ' </div>', ' </div>', ' <div class="t-Alert-buttons">', ' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Notification'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>', ' </div>', ' </div>', ' </div>', '</div>')) ,p_navigation_bar=>wwv_flow_string.join(wwv_flow_t_varchar2( '<ul class="t-NavigationBar" data-mode="classic">', ' <li class="t-NavigationBar-item">', ' <span class="t-Button t-Button--icon t-Button--noUI t-Button--header t-Button--navBar t-Button--headerUser">', ' <span class="t-Icon a-Icon icon-user"></span>', ' <span class="t-Button-label">&APP_USER.</span>', ' </span>', ' </li>#BAR_BODY#', '</ul>')) ,p_navbar_entry=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li class="t-NavigationBar-item">', ' <a class="t-Button t-Button--icon t-Button--header t-Button--navBar" href="#LINK#">', ' <span class="t-Icon #IMAGE#"></span>', ' <span class="t-Button-label">#TEXT#</span>', ' </a>', '</li>')) ,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"' ,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01' ,p_theme_class_id=>17 ,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Alert t-Alert--danger t-Alert--wizard t-Alert--defaultIcons">', ' <div class="t-Alert-wrap">', ' <div class="t-Alert-icon">', ' <span class="t-Icon"></span>', ' </div>', ' <div class="t-Alert-content">', ' <div class="t-Alert-body">', ' <h3>#MESSAGE#</h3>', ' <p>#ADDITIONAL_INFO#</p>', ' <div class="t-Alert-inset">#TECHNICAL_INFO#</div>', ' </div>', ' </div>', ' <div class="t-Alert-buttons">', ' <button onclick="#BACK_LINK#" class="t-Button t-Button--hot w50p t-Button--large" type="button">#OK#</button>', ' </div>', ' </div>', '</div>')) ,p_grid_type=>'FIXED' ,p_grid_max_columns=>12 ,p_grid_always_use_max_columns=>true ,p_grid_has_column_span=>true ,p_grid_always_emit=>true ,p_grid_emit_empty_leading_cols=>true ,p_grid_emit_empty_trail_cols=>false ,p_grid_default_label_col_span=>2 ,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="container">', '#ROWS#', '</div>')) ,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="row">', '#COLUMNS#', '</div>')) ,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="col col-#COLUMN_SPAN_NUMBER# #CSS_CLASSES#" #ATTRIBUTES#>', '#CONTENT#', '</div>')) ,p_grid_first_column_attributes=>'alpha' ,p_grid_last_column_attributes=>'omega' ,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);' ,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);' ,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);' ,p_dialog_browser_frame=>'MODAL' ,p_reference_id=>2525196570560608698 ,p_translate_this_template=>'N' ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689454772926258680) ,p_page_template_id=>wwv_flow_api.id(55689454689093258679) ,p_name=>'Content Body' ,p_placeholder=>'BODY' ,p_has_grid_support=>true ,p_glv_new_row=>false ,p_max_fixed_grid_columns=>8 ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689454811933258681) ,p_page_template_id=>wwv_flow_api.id(55689454689093258679) ,p_name=>'Breadcrumb Bar' ,p_placeholder=>'REGION_POSITION_01' ,p_has_grid_support=>false ,p_glv_new_row=>true ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689454915078258681) ,p_page_template_id=>wwv_flow_api.id(55689454689093258679) ,p_name=>'Left Column' ,p_placeholder=>'REGION_POSITION_02' ,p_has_grid_support=>false ,p_glv_new_row=>true ,p_max_fixed_grid_columns=>4 ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689455038182258681) ,p_page_template_id=>wwv_flow_api.id(55689454689093258679) ,p_name=>'Inline Dialogs' ,p_placeholder=>'REGION_POSITION_04' ,p_has_grid_support=>true ,p_glv_new_row=>true ,p_max_fixed_grid_columns=>12 ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689455154708258681) ,p_page_template_id=>wwv_flow_api.id(55689454689093258679) ,p_name=>'Footer' ,p_placeholder=>'REGION_POSITION_05' ,p_has_grid_support=>true ,p_glv_new_row=>true ,p_max_fixed_grid_columns=>8 ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689455269225258681) ,p_page_template_id=>wwv_flow_api.id(55689454689093258679) ,p_name=>'Page Navigation' ,p_placeholder=>'REGION_POSITION_06' ,p_has_grid_support=>false ,p_glv_new_row=>true ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689455310879258681) ,p_page_template_id=>wwv_flow_api.id(55689454689093258679) ,p_name=>'Page Header' ,p_placeholder=>'REGION_POSITION_07' ,p_has_grid_support=>false ,p_glv_new_row=>true ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689455403108258682) ,p_page_template_id=>wwv_flow_api.id(55689454689093258679) ,p_name=>'Before Navigation Bar' ,p_placeholder=>'REGION_POSITION_08' ,p_has_grid_support=>false ,p_glv_new_row=>true ); end; / prompt --application/shared_components/user_interface/templates/page/left_and_right_side_columns begin wwv_flow_api.create_template( p_id=>wwv_flow_api.id(55689455520543258682) ,p_theme_id=>42 ,p_name=>'Left and Right Side Columns' ,p_internal_name=>'LEFT_AND_RIGHT_SIDE_COLUMNS' ,p_is_popup=>false ,p_javascript_code_onload=>'apex.theme42.initializePage.bothSideCols();' ,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<!DOCTYPE html>', '<html class="no-js #RTL_CLASS# page-&APP_PAGE_ID. app-&APP_ALIAS." lang="&BROWSER_LANGUAGE." #TEXT_DIRECTION#>', '<head>', ' <meta http-equiv="x-ua-compatible" content="IE=edge" />', ' <meta charset="utf-8"> ', ' <title>#TITLE#</title>', ' #APEX_CSS#', ' #THEME_CSS#', ' #TEMPLATE_CSS#', ' #THEME_STYLE_CSS#', ' #APPLICATION_CSS#', ' #PAGE_CSS#', ' #FAVICONS#', ' #HEAD#', ' <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>', '</head>', '<body class="t-PageBody t-PageBody--showLeft no-anim #PAGE_CSS_CLASSES#" #TEXT_DIRECTION# #ONLOAD# id="t_PageBody">', '#FORM_OPEN#', '<header class="t-Header" id="t_Header">', ' #REGION_POSITION_07#', ' <div class="t-Header-branding">', ' <div class="t-Header-controls">', ' <button class="t-Button t-Button--icon t-Button--header t-Button--headerTree" title="#EXPAND_COLLAPSE_NAV_LABEL#" id="t_Button_navControl" type="button"><span class="t-Icon fa fa-bars" aria-hidden="true"></span></button>', ' </div>', ' <div class="t-Header-logo">', ' <a href="#HOME_LINK#" class="t-Header-logo-link">#LOGO#</a>', ' </div>', ' <div class="t-Header-navBar">', ' #NAVIGATION_BAR#', ' </div>', ' </div>', ' <div class="t-Header-nav">', ' #TOP_GLOBAL_NAVIGATION_LIST#', ' #REGION_POSITION_06#', ' </div>', '</header>')) ,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Body">', '#SIDE_GLOBAL_NAVIGATION_LIST#', ' <div class="t-Body-main">', ' <div class="t-Body-title" id="t_Body_title">', ' #REGION_POSITION_01#', ' </div>', ' <div class="t-Body-side" id="t_Body_side">', ' #REGION_POSITION_02#', ' </div>', ' <div class="t-Body-content" id="t_Body_content">', ' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#', ' <div class="t-Body-contentInner">', ' #BODY#', ' </div>', ' <footer class="t-Footer">', ' <div class="t-Footer-body">', ' <div class="t-Footer-content">#REGION_POSITION_05#</div>', ' <div class="t-Footer-apex">', ' <div class="t-Footer-version">#APP_VERSION#</div> ', ' <div class="t-Footer-customize">#CUSTOMIZE#</div>', ' <div class="t-Footer-srMode">#SCREEN_READER_TOGGLE#</div>', ' </div>', ' </div>', ' <div class="t-Footer-top">', ' <a href="#top" class="t-Footer-topButton" id="t_Footer_topButton"><span class="a-Icon icon-up-chevron"></span></a>', ' </div>', ' </footer>', ' </div>', ' </div>', ' <div class="t-Body-actions" id="t_Body_actions">', ' <button class="t-Button t-Button--icon t-Button--header t-Button--headerRight" title="#EXPAND_COLLAPSE_SIDE_COL_LABEL#" id="t_Button_rightControlButton" type="button"><span class="t-Icon fa fa-bars" aria-hidden="true"></span></button>', ' <div class="t-Body-actionsContent">', ' #REGION_POSITION_03#', ' </div>', ' </div>', '</div>', '<div class="t-Body-inlineDialogs">', ' #REGION_POSITION_04#', '</div>')) ,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '#FORM_CLOSE#', '#DEVELOPER_TOOLBAR#', '#APEX_JAVASCRIPT#', '#GENERATED_CSS#', '#THEME_JAVASCRIPT#', '#TEMPLATE_JAVASCRIPT#', '#APPLICATION_JAVASCRIPT#', '#PAGE_JAVASCRIPT# ', '#GENERATED_JAVASCRIPT#', '</body>', '</html>')) ,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Body-alert">', ' <div class="t-Alert t-Alert--defaultIcons t-Alert--success t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Success" role="alert">', ' <div class="t-Alert-wrap">', ' <div class="t-Alert-icon">', ' <span class="t-Icon"></span>', ' </div>', ' <div class="t-Alert-content">', ' <div class="t-Alert-header">', ' <h2 class="t-Alert-title">#SUCCESS_MESSAGE#</h2>', ' </div>', ' </div>', ' <div class="t-Alert-buttons">', ' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Success'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>', ' </div>', ' </div>', ' </div>', '</div>')) ,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Body-alert">', ' <div class="t-Alert t-Alert--defaultIcons t-Alert--warning t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Notification" role="alert">', ' <div class="t-Alert-wrap">', ' <div class="t-Alert-icon">', ' <span class="t-Icon"></span>', ' </div>', ' <div class="t-Alert-content">', ' <div class="t-Alert-body">', ' #MESSAGE#', ' </div>', ' </div>', ' <div class="t-Alert-buttons">', ' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Notification'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>', ' </div>', ' </div>', ' </div>', '</div>')) ,p_navigation_bar=>wwv_flow_string.join(wwv_flow_t_varchar2( '<ul class="t-NavigationBar" data-mode="classic">', ' <li class="t-NavigationBar-item">', ' <span class="t-Button t-Button--icon t-Button--noUI t-Button--header t-Button--navBar t-Button--headerUser">', ' <span class="t-Icon a-Icon icon-user"></span>', ' <span class="t-Button-label">&APP_USER.</span>', ' </span>', ' </li>#BAR_BODY#', '</ul>')) ,p_navbar_entry=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li class="t-NavigationBar-item">', ' <a class="t-Button t-Button--icon t-Button--header t-Button--navBar" href="#LINK#">', ' <span class="t-Icon #IMAGE#"></span>', ' <span class="t-Button-label">#TEXT#</span>', ' </a>', '</li>')) ,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"' ,p_sidebar_def_reg_pos=>'REGION_POSITION_03' ,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01' ,p_theme_class_id=>17 ,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Alert t-Alert--danger t-Alert--wizard t-Alert--defaultIcons">', ' <div class="t-Alert-wrap">', ' <div class="t-Alert-icon">', ' <span class="t-Icon"></span>', ' </div>', ' <div class="t-Alert-content">', ' <div class="t-Alert-body">', ' <h3>#MESSAGE#</h3>', ' <p>#ADDITIONAL_INFO#</p>', ' <div class="t-Alert-inset">#TECHNICAL_INFO#</div>', ' </div>', ' </div>', ' <div class="t-Alert-buttons">', ' <button onclick="#BACK_LINK#" class="t-Button t-Button--hot w50p t-Button--large" type="button">#OK#</button>', ' </div>', ' </div>', '</div>')) ,p_grid_type=>'FIXED' ,p_grid_max_columns=>12 ,p_grid_always_use_max_columns=>true ,p_grid_has_column_span=>true ,p_grid_always_emit=>false ,p_grid_emit_empty_leading_cols=>true ,p_grid_emit_empty_trail_cols=>false ,p_grid_default_label_col_span=>2 ,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="container">', '#ROWS#', '</div>')) ,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="row">', '#COLUMNS#', '</div>')) ,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="col col-#COLUMN_SPAN_NUMBER# #CSS_CLASSES#" #ATTRIBUTES#>', '#CONTENT#', '</div>')) ,p_grid_first_column_attributes=>'alpha' ,p_grid_last_column_attributes=>'omega' ,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);' ,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);' ,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);' ,p_dialog_browser_frame=>'MODAL' ,p_reference_id=>2525203692562657055 ,p_translate_this_template=>'N' ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689455611764258682) ,p_page_template_id=>wwv_flow_api.id(55689455520543258682) ,p_name=>'Content Body' ,p_placeholder=>'BODY' ,p_has_grid_support=>true ,p_glv_new_row=>false ,p_max_fixed_grid_columns=>6 ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689455797107258682) ,p_page_template_id=>wwv_flow_api.id(55689455520543258682) ,p_name=>'Breadcrumb Bar' ,p_placeholder=>'REGION_POSITION_01' ,p_has_grid_support=>false ,p_glv_new_row=>true ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689455824656258682) ,p_page_template_id=>wwv_flow_api.id(55689455520543258682) ,p_name=>'Left Column' ,p_placeholder=>'REGION_POSITION_02' ,p_has_grid_support=>false ,p_glv_new_row=>true ,p_max_fixed_grid_columns=>3 ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689455915744258682) ,p_page_template_id=>wwv_flow_api.id(55689455520543258682) ,p_name=>'Right Column' ,p_placeholder=>'REGION_POSITION_03' ,p_has_grid_support=>false ,p_glv_new_row=>false ,p_max_fixed_grid_columns=>3 ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689456048963258682) ,p_page_template_id=>wwv_flow_api.id(55689455520543258682) ,p_name=>'Inline Dialogs' ,p_placeholder=>'REGION_POSITION_04' ,p_has_grid_support=>true ,p_glv_new_row=>true ,p_max_fixed_grid_columns=>12 ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689456103072258682) ,p_page_template_id=>wwv_flow_api.id(55689455520543258682) ,p_name=>'Footer' ,p_placeholder=>'REGION_POSITION_05' ,p_has_grid_support=>true ,p_glv_new_row=>true ,p_max_fixed_grid_columns=>6 ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689456236571258682) ,p_page_template_id=>wwv_flow_api.id(55689455520543258682) ,p_name=>'Page Navigation' ,p_placeholder=>'REGION_POSITION_06' ,p_has_grid_support=>false ,p_glv_new_row=>true ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689456343215258682) ,p_page_template_id=>wwv_flow_api.id(55689455520543258682) ,p_name=>'Page Header' ,p_placeholder=>'REGION_POSITION_07' ,p_has_grid_support=>false ,p_glv_new_row=>true ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689456453167258682) ,p_page_template_id=>wwv_flow_api.id(55689455520543258682) ,p_name=>'Before Navigation Bar' ,p_placeholder=>'REGION_POSITION_08' ,p_has_grid_support=>false ,p_glv_new_row=>true ); end; / prompt --application/shared_components/user_interface/templates/page/login begin wwv_flow_api.create_template( p_id=>wwv_flow_api.id(55689456536805258683) ,p_theme_id=>42 ,p_name=>'Login' ,p_internal_name=>'LOGIN' ,p_is_popup=>false ,p_javascript_code_onload=>'apex.theme42.initializePage.appLogin();' ,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<!DOCTYPE html>', '<html class="no-js #RTL_CLASS# page-&APP_PAGE_ID. app-&APP_ALIAS." lang="&BROWSER_LANGUAGE." #TEXT_DIRECTION#>', '<head>', ' <meta http-equiv="x-ua-compatible" content="IE=edge" />', ' <meta charset="utf-8">', ' <title>#TITLE#</title>', ' #APEX_CSS#', ' #THEME_CSS#', ' #TEMPLATE_CSS#', ' #THEME_STYLE_CSS#', ' #APPLICATION_CSS#', ' #PAGE_CSS#', ' #FAVICONS#', ' #HEAD#', ' <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>', '</head>', '<body class="t-PageBody--login no-anim #PAGE_CSS_CLASSES#" #TEXT_DIRECTION# #ONLOAD#>', '#FORM_OPEN#')) ,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Body">', ' #REGION_POSITION_01#', ' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#', ' <div class="t-Body-wrap">', ' <div class="t-Body-col t-Body-col--main">', ' <div class="t-Login-container">', ' #BODY#', ' </div>', ' </div>', ' </div>', '</div>')) ,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '#FORM_CLOSE#', '#DEVELOPER_TOOLBAR#', '#APEX_JAVASCRIPT#', '#GENERATED_CSS#', '#THEME_JAVASCRIPT#', '#TEMPLATE_JAVASCRIPT#', '#APPLICATION_JAVASCRIPT#', '#PAGE_JAVASCRIPT# ', '#GENERATED_JAVASCRIPT#', '</body>', '</html>')) ,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Body-alert">', ' <div class="t-Alert t-Alert--defaultIcons t-Alert--success t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Success" role="alert">', ' <div class="t-Alert-wrap">', ' <div class="t-Alert-icon">', ' <span class="t-Icon"></span>', ' </div>', ' <div class="t-Alert-content">', ' <div class="t-Alert-header">', ' <h2 class="t-Alert-title">#SUCCESS_MESSAGE#</h2>', ' </div>', ' </div>', ' <div class="t-Alert-buttons">', ' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Success'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>', ' </div>', ' </div>', ' </div>', '</div>')) ,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Body-alert">', ' <div class="t-Alert t-Alert--defaultIcons t-Alert--warning t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Notification" role="alert">', ' <div class="t-Alert-wrap">', ' <div class="t-Alert-icon">', ' <span class="t-Icon"></span>', ' </div>', ' <div class="t-Alert-content">', ' <div class="t-Alert-body">', ' #MESSAGE#', ' </div>', ' </div>', ' <div class="t-Alert-buttons">', ' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Notification'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>', ' </div>', ' </div>', ' </div>', '</div>')) ,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"' ,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01' ,p_theme_class_id=>6 ,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Alert t-Alert--danger t-Alert--wizard t-Alert--defaultIcons">', ' <div class="t-Alert-wrap">', ' <div class="t-Alert-icon">', ' <span class="t-Icon"></span>', ' </div>', ' <div class="t-Alert-content">', ' <div class="t-Alert-body">', ' <h3>#MESSAGE#</h3>', ' <p>#ADDITIONAL_INFO#</p>', ' <div class="t-Alert-inset">#TECHNICAL_INFO#</div>', ' </div>', ' </div>', ' <div class="t-Alert-buttons">', ' <button onclick="#BACK_LINK#" class="t-Button t-Button--hot w50p t-Button--large" type="button">#OK#</button>', ' </div>', ' </div>', '</div>')) ,p_grid_type=>'FIXED' ,p_grid_max_columns=>12 ,p_grid_always_use_max_columns=>true ,p_grid_has_column_span=>true ,p_grid_always_emit=>true ,p_grid_emit_empty_leading_cols=>true ,p_grid_emit_empty_trail_cols=>false ,p_grid_default_label_col_span=>2 ,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="container">', '#ROWS#', '</div>')) ,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="row">', '#COLUMNS#', '</div>')) ,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="col col-#COLUMN_SPAN_NUMBER# #CSS_CLASSES#" #ATTRIBUTES#>', '#CONTENT#', '</div>')) ,p_grid_first_column_attributes=>'alpha' ,p_grid_last_column_attributes=>'omega' ,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);' ,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);' ,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);' ,p_dialog_browser_frame=>'MODAL' ,p_reference_id=>2099711150063350616 ,p_translate_this_template=>'N' ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689456644835258683) ,p_page_template_id=>wwv_flow_api.id(55689456536805258683) ,p_name=>'Content Body' ,p_placeholder=>'BODY' ,p_has_grid_support=>true ,p_glv_new_row=>true ,p_max_fixed_grid_columns=>12 ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689456714793258683) ,p_page_template_id=>wwv_flow_api.id(55689456536805258683) ,p_name=>'Body Header' ,p_placeholder=>'REGION_POSITION_01' ,p_has_grid_support=>false ,p_glv_new_row=>true ); end; / prompt --application/shared_components/user_interface/templates/page/master_detail begin wwv_flow_api.create_template( p_id=>wwv_flow_api.id(55689456865710258683) ,p_theme_id=>42 ,p_name=>'Marquee' ,p_internal_name=>'MASTER_DETAIL' ,p_is_popup=>false ,p_javascript_code_onload=>'apex.theme42.initializePage.masterDetail();' ,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<!DOCTYPE html>', '<html class="no-js #RTL_CLASS# page-&APP_PAGE_ID. app-&APP_ALIAS." lang="&BROWSER_LANGUAGE." #TEXT_DIRECTION#>', '<head>', ' <meta http-equiv="x-ua-compatible" content="IE=edge" />', ' <meta charset="utf-8">', ' <title>#TITLE#</title>', ' #APEX_CSS#', ' #THEME_CSS#', ' #TEMPLATE_CSS#', ' #THEME_STYLE_CSS#', ' #APPLICATION_CSS#', ' #PAGE_CSS#', ' #FAVICONS#', ' #HEAD#', ' <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>', '</head>', '<body class="t-PageBody t-PageBody--masterDetail t-PageBody--hideLeft no-anim #PAGE_CSS_CLASSES#" #TEXT_DIRECTION# #ONLOAD# id="t_PageBody">', '#FORM_OPEN#', '<header class="t-Header" id="t_Header">', ' #REGION_POSITION_07#', ' <div class="t-Header-branding">', ' <div class="t-Header-controls">', ' <button class="t-Button t-Button--icon t-Button--header t-Button--headerTree" title="#EXPAND_COLLAPSE_NAV_LABEL#" id="t_Button_navControl" type="button"><span class="t-Icon fa fa-bars" aria-hidden="true"></span></button>', ' </div>', ' <div class="t-Header-logo">', ' <a href="#HOME_LINK#" class="t-Header-logo-link">#LOGO#</a>', ' </div>', ' <div class="t-Header-navBar">', ' #NAVIGATION_BAR#', ' </div>', ' </div>', ' <div class="t-Header-nav">', ' #TOP_GLOBAL_NAVIGATION_LIST#', ' #REGION_POSITION_06#', ' </div>', '</header>')) ,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Body">', '#SIDE_GLOBAL_NAVIGATION_LIST#', ' <div class="t-Body-main">', ' <div class="t-Body-title" id="t_Body_title">', ' #REGION_POSITION_01#', ' </div>', ' <div class="t-Body-content" id="t_Body_content">', ' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#', ' <div class="t-Body-info" id="t_Body_info">', ' #REGION_POSITION_02#', ' </div>', ' <div class="t-Body-contentInner">', ' #BODY#', ' </div>', ' <footer class="t-Footer">', ' <div class="t-Footer-body">', ' <div class="t-Footer-content">#REGION_POSITION_05#</div>', ' <div class="t-Footer-apex">', ' <div class="t-Footer-version">#APP_VERSION#</div> ', ' <div class="t-Footer-customize">#CUSTOMIZE#</div>', ' <div class="t-Footer-srMode">#SCREEN_READER_TOGGLE#</div>', ' </div>', ' </div>', ' <div class="t-Footer-top">', ' <a href="#top" class="t-Footer-topButton" id="t_Footer_topButton"><span class="a-Icon icon-up-chevron"></span></a>', ' </div>', ' </footer>', ' </div>', ' </div>', ' <div class="t-Body-actions" id="t_Body_actions">', ' <button class="t-Button t-Button--icon t-Button--header t-Button--headerRight" title="#EXPAND_COLLAPSE_SIDE_COL_LABEL#" id="t_Button_rightControlButton" type="button"><span class="t-Icon fa fa-bars" aria-hidden="true"></span></button>', ' <div class="t-Body-actionsContent">', ' #REGION_POSITION_03#', ' </div>', ' </div>', '</div>', '<div class="t-Body-inlineDialogs">', ' #REGION_POSITION_04#', '</div>')) ,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '#FORM_CLOSE#', '#DEVELOPER_TOOLBAR#', '#APEX_JAVASCRIPT#', '#GENERATED_CSS#', '#THEME_JAVASCRIPT#', '#TEMPLATE_JAVASCRIPT#', '#APPLICATION_JAVASCRIPT#', '#PAGE_JAVASCRIPT# ', '#GENERATED_JAVASCRIPT#', '</body>', '</html>')) ,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Body-alert">', ' <div class="t-Alert t-Alert--defaultIcons t-Alert--success t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Success" role="alert">', ' <div class="t-Alert-wrap">', ' <div class="t-Alert-icon">', ' <span class="t-Icon"></span>', ' </div>', ' <div class="t-Alert-content">', ' <div class="t-Alert-header">', ' <h2 class="t-Alert-title">#SUCCESS_MESSAGE#</h2>', ' </div>', ' </div>', ' <div class="t-Alert-buttons">', ' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Success'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>', ' </div>', ' </div>', ' </div>', '</div>')) ,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Body-alert">', ' <div class="t-Alert t-Alert--defaultIcons t-Alert--warning t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Notification" role="alert">', ' <div class="t-Alert-wrap">', ' <div class="t-Alert-icon">', ' <span class="t-Icon"></span>', ' </div>', ' <div class="t-Alert-content">', ' <div class="t-Alert-body">', ' #MESSAGE#', ' </div>', ' </div>', ' <div class="t-Alert-buttons">', ' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Notification'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>', ' </div>', ' </div>', ' </div>', '</div>')) ,p_navigation_bar=>wwv_flow_string.join(wwv_flow_t_varchar2( '<ul class="t-NavigationBar" data-mode="classic">', ' <li class="t-NavigationBar-item">', ' <span class="t-Button t-Button--icon t-Button--noUI t-Button--header t-Button--navBar t-Button--headerUser">', ' <span class="t-Icon a-Icon icon-user"></span>', ' <span class="t-Button-label">&APP_USER.</span>', ' </span>', ' </li>#BAR_BODY#', '</ul>')) ,p_navbar_entry=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li class="t-NavigationBar-item">', ' <a class="t-Button t-Button--icon t-Button--header t-Button--navBar" href="#LINK#">', ' <span class="t-Icon #IMAGE#"></span>', ' <span class="t-Button-label">#TEXT#</span>', ' </a>', '</li>')) ,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"' ,p_sidebar_def_reg_pos=>'REGION_POSITION_03' ,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01' ,p_theme_class_id=>17 ,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Alert t-Alert--danger t-Alert--wizard t-Alert--defaultIcons">', ' <div class="t-Alert-wrap">', ' <div class="t-Alert-icon">', ' <span class="t-Icon"></span>', ' </div>', ' <div class="t-Alert-content">', ' <div class="t-Alert-body">', ' <h3>#MESSAGE#</h3>', ' <p>#ADDITIONAL_INFO#</p>', ' <div class="t-Alert-inset">#TECHNICAL_INFO#</div>', ' </div>', ' </div>', ' <div class="t-Alert-buttons">', ' <button onclick="#BACK_LINK#" class="t-Button t-Button--hot w50p t-Button--large" type="button">#OK#</button>', ' </div>', ' </div>', '</div>')) ,p_grid_type=>'FIXED' ,p_grid_max_columns=>12 ,p_grid_always_use_max_columns=>true ,p_grid_has_column_span=>true ,p_grid_always_emit=>true ,p_grid_emit_empty_leading_cols=>true ,p_grid_emit_empty_trail_cols=>false ,p_grid_default_label_col_span=>2 ,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="container">', '#ROWS#', '</div>')) ,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="row">', '#COLUMNS#', '</div>')) ,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="col col-#COLUMN_SPAN_NUMBER# #CSS_CLASSES#" #ATTRIBUTES#>', '#CONTENT#', '</div>')) ,p_grid_first_column_attributes=>'alpha' ,p_grid_last_column_attributes=>'omega' ,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);' ,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);' ,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);' ,p_dialog_browser_frame=>'MODAL' ,p_reference_id=>1996914646461572319 ,p_translate_this_template=>'N' ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689456956555258683) ,p_page_template_id=>wwv_flow_api.id(55689456865710258683) ,p_name=>'Content Body' ,p_placeholder=>'BODY' ,p_has_grid_support=>true ,p_glv_new_row=>true ,p_max_fixed_grid_columns=>8 ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689457087903258683) ,p_page_template_id=>wwv_flow_api.id(55689456865710258683) ,p_name=>'Breadcrumb Bar' ,p_placeholder=>'REGION_POSITION_01' ,p_has_grid_support=>false ,p_glv_new_row=>true ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689457179613258683) ,p_page_template_id=>wwv_flow_api.id(55689456865710258683) ,p_name=>'Master Detail' ,p_placeholder=>'REGION_POSITION_02' ,p_has_grid_support=>false ,p_glv_new_row=>true ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689457216267258683) ,p_page_template_id=>wwv_flow_api.id(55689456865710258683) ,p_name=>'Right Side Column' ,p_placeholder=>'REGION_POSITION_03' ,p_has_grid_support=>false ,p_glv_new_row=>false ,p_max_fixed_grid_columns=>4 ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689457319015258683) ,p_page_template_id=>wwv_flow_api.id(55689456865710258683) ,p_name=>'Inline Dialogs' ,p_placeholder=>'REGION_POSITION_04' ,p_has_grid_support=>true ,p_glv_new_row=>true ,p_max_fixed_grid_columns=>12 ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689457431992258683) ,p_page_template_id=>wwv_flow_api.id(55689456865710258683) ,p_name=>'Footer' ,p_placeholder=>'REGION_POSITION_05' ,p_has_grid_support=>true ,p_glv_new_row=>true ,p_max_fixed_grid_columns=>8 ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689457582770258683) ,p_page_template_id=>wwv_flow_api.id(55689456865710258683) ,p_name=>'Page Navigation' ,p_placeholder=>'REGION_POSITION_06' ,p_has_grid_support=>false ,p_glv_new_row=>true ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689457693052258683) ,p_page_template_id=>wwv_flow_api.id(55689456865710258683) ,p_name=>'Page Header' ,p_placeholder=>'REGION_POSITION_07' ,p_has_grid_support=>false ,p_glv_new_row=>true ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689457744707258683) ,p_page_template_id=>wwv_flow_api.id(55689456865710258683) ,p_name=>'Before Navigation Bar' ,p_placeholder=>'REGION_POSITION_08' ,p_has_grid_support=>false ,p_glv_new_row=>true ); end; / prompt --application/shared_components/user_interface/templates/page/minimal_no_navigation begin wwv_flow_api.create_template( p_id=>wwv_flow_api.id(55689457861245258684) ,p_theme_id=>42 ,p_name=>'Minimal (No Navigation)' ,p_internal_name=>'MINIMAL_NO_NAVIGATION' ,p_is_popup=>false ,p_javascript_code_onload=>'apex.theme42.initializePage.noSideCol();' ,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<!DOCTYPE html>', '<html class="no-js #RTL_CLASS# page-&APP_PAGE_ID. app-&APP_ALIAS." lang="&BROWSER_LANGUAGE." #TEXT_DIRECTION#>', '<head>', ' <meta http-equiv="x-ua-compatible" content="IE=edge" />', ' <meta charset="utf-8">', ' <title>#TITLE#</title>', ' #APEX_CSS#', ' #THEME_CSS#', ' #TEMPLATE_CSS#', ' #THEME_STYLE_CSS#', ' #APPLICATION_CSS#', ' #PAGE_CSS# ', ' #FAVICONS#', ' #HEAD#', ' <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>', '</head>', '<body class="t-PageBody t-PageBody--hideLeft t-PageBody--hideActions no-anim #PAGE_CSS_CLASSES# t-PageBody--noNav" #TEXT_DIRECTION# #ONLOAD# id="t_PageBody">', '#FORM_OPEN#', '<header class="t-Header" id="t_Header">', ' #REGION_POSITION_07#', ' <div class="t-Header-branding">', ' <div class="t-Header-controls">', ' <button class="t-Button t-Button--icon t-Button--header t-Button--headerTree" title="#EXPAND_COLLAPSE_NAV_LABEL#" id="t_Button_navControl" type="button"><span class="t-Icon fa fa-bars" aria-hidden="true"></span></button>', ' </div>', ' <div class="t-Header-logo">', ' <a href="#HOME_LINK#" class="t-Header-logo-link">#LOGO#</a>', ' </div>', ' <div class="t-Header-navBar">', ' #NAVIGATION_BAR#', ' </div>', ' </div>', '</header>', ' ')) ,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Body">', ' <div class="t-Body-main">', ' <div class="t-Body-title" id="t_Body_title">', ' #REGION_POSITION_01#', ' </div>', ' <div class="t-Body-content" id="t_Body_content">', ' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#', ' <div class="t-Body-contentInner">', ' #BODY#', ' </div>', ' <footer class="t-Footer">', ' <div class="t-Footer-body">', ' <div class="t-Footer-content">#REGION_POSITION_05#</div>', ' <div class="t-Footer-apex">', ' <div class="t-Footer-version">#APP_VERSION#</div> ', ' <div class="t-Footer-customize">#CUSTOMIZE#</div>', ' <div class="t-Footer-srMode">#SCREEN_READER_TOGGLE#</div>', ' </div>', ' </div>', ' <div class="t-Footer-top">', ' <a href="#top" class="t-Footer-topButton" id="t_Footer_topButton"><span class="a-Icon icon-up-chevron"></span></a>', ' </div>', ' </footer>', ' </div>', ' </div>', '</div>', '<div class="t-Body-inlineDialogs">', ' #REGION_POSITION_04#', '</div>')) ,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '#FORM_CLOSE#', '#DEVELOPER_TOOLBAR#', '#APEX_JAVASCRIPT#', '#GENERATED_CSS#', '#THEME_JAVASCRIPT#', '#TEMPLATE_JAVASCRIPT#', '#APPLICATION_JAVASCRIPT#', '#PAGE_JAVASCRIPT# ', '#GENERATED_JAVASCRIPT#', '</body>', '</html>', '')) ,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Body-alert">', ' <div class="t-Alert t-Alert--defaultIcons t-Alert--success t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Success" role="alert">', ' <div class="t-Alert-wrap">', ' <div class="t-Alert-icon">', ' <span class="t-Icon"></span>', ' </div>', ' <div class="t-Alert-content">', ' <div class="t-Alert-header">', ' <h2 class="t-Alert-title">#SUCCESS_MESSAGE#</h2>', ' </div>', ' </div>', ' <div class="t-Alert-buttons">', ' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>', ' </div>', ' </div>', ' </div>', '</div>')) ,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Body-alert">', ' <div class="t-Alert t-Alert--defaultIcons t-Alert--warning t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Notification" role="alert">', ' <div class="t-Alert-wrap">', ' <div class="t-Alert-icon">', ' <span class="t-Icon"></span>', ' </div>', ' <div class="t-Alert-content">', ' <div class="t-Alert-body">', ' #MESSAGE#', ' </div>', ' </div>', ' <div class="t-Alert-buttons">', ' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>', ' </div>', ' </div>', ' </div>', '</div>')) ,p_navigation_bar=>wwv_flow_string.join(wwv_flow_t_varchar2( '<ul class="t-NavigationBar t-NavigationBar--classic" data-mode="classic">', ' <li class="t-NavigationBar-item">', ' <span class="t-Button t-Button--icon t-Button--noUI t-Button--header t-Button--navBar t-Button--headerUser">', ' <span class="t-Icon a-Icon icon-user"></span>', ' <span class="t-Button-label">&APP_USER.</span>', ' </span>', ' </li>#BAR_BODY#', '</ul>')) ,p_navbar_entry=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li class="t-NavigationBar-item">', ' <a class="t-Button t-Button--icon t-Button--header" href="#LINK#">', ' <span class="t-Icon #IMAGE#"></span>', ' <span class="t-Button-label">#TEXT#</span>', ' </a>', '</li>')) ,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"' ,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01' ,p_theme_class_id=>4 ,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Alert t-Alert--danger t-Alert--wizard t-Alert--defaultIcons">', ' <div class="t-Alert-wrap">', ' <div class="t-Alert-icon">', ' <span class="t-Icon"></span>', ' </div>', ' <div class="t-Alert-content">', ' <div class="t-Alert-body">', ' <h3>#MESSAGE#</h3>', ' <p>#ADDITIONAL_INFO#</p>', ' <div class="t-Alert-inset">#TECHNICAL_INFO#</div>', ' </div>', ' </div>', ' <div class="t-Alert-buttons">', ' <button onclick="#BACK_LINK#" class="t-Button t-Button--hot w50p t-Button--large" type="button">#OK#</button>', ' </div>', ' </div>', '</div>')) ,p_grid_type=>'FIXED' ,p_grid_max_columns=>12 ,p_grid_always_use_max_columns=>true ,p_grid_has_column_span=>true ,p_grid_always_emit=>true ,p_grid_emit_empty_leading_cols=>true ,p_grid_emit_empty_trail_cols=>false ,p_grid_default_label_col_span=>2 ,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="container">', '#ROWS#', '</div>')) ,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="row">', '#COLUMNS#', '</div>')) ,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="col col-#COLUMN_SPAN_NUMBER# #CSS_CLASSES#" #ATTRIBUTES#>', '#CONTENT#', '</div>')) ,p_grid_first_column_attributes=>'alpha' ,p_grid_last_column_attributes=>'omega' ,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);' ,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);' ,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);' ,p_dialog_browser_frame=>'MODAL' ,p_reference_id=>2977628563533209425 ,p_translate_this_template=>'N' ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689457902746258684) ,p_page_template_id=>wwv_flow_api.id(55689457861245258684) ,p_name=>'Content Body' ,p_placeholder=>'BODY' ,p_has_grid_support=>true ,p_glv_new_row=>true ,p_max_fixed_grid_columns=>12 ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689458039092258684) ,p_page_template_id=>wwv_flow_api.id(55689457861245258684) ,p_name=>'Breadcrumb Bar' ,p_placeholder=>'REGION_POSITION_01' ,p_has_grid_support=>false ,p_glv_new_row=>true ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689458199286258684) ,p_page_template_id=>wwv_flow_api.id(55689457861245258684) ,p_name=>'Inline Dialogs' ,p_placeholder=>'REGION_POSITION_04' ,p_has_grid_support=>true ,p_glv_new_row=>true ,p_max_fixed_grid_columns=>12 ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689458202681258684) ,p_page_template_id=>wwv_flow_api.id(55689457861245258684) ,p_name=>'Footer' ,p_placeholder=>'REGION_POSITION_05' ,p_has_grid_support=>true ,p_glv_new_row=>true ,p_max_fixed_grid_columns=>12 ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689458372172258684) ,p_page_template_id=>wwv_flow_api.id(55689457861245258684) ,p_name=>'Page Navigation' ,p_placeholder=>'REGION_POSITION_06' ,p_has_grid_support=>false ,p_glv_new_row=>true ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689458451714258684) ,p_page_template_id=>wwv_flow_api.id(55689457861245258684) ,p_name=>'Page Header' ,p_placeholder=>'REGION_POSITION_07' ,p_has_grid_support=>false ,p_glv_new_row=>true ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689458597474258684) ,p_page_template_id=>wwv_flow_api.id(55689457861245258684) ,p_name=>'Before Navigation Bar' ,p_placeholder=>'REGION_POSITION_08' ,p_has_grid_support=>false ,p_glv_new_row=>true ); end; / prompt --application/shared_components/user_interface/templates/page/modal_dialog begin wwv_flow_api.create_template( p_id=>wwv_flow_api.id(55689458617899258684) ,p_theme_id=>42 ,p_name=>'Modal Dialog' ,p_internal_name=>'MODAL_DIALOG' ,p_is_popup=>true ,p_javascript_code_onload=>'apex.theme42.initializePage.modalDialog();' ,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<!DOCTYPE html>', '<html class="no-js #RTL_CLASS# page-&APP_PAGE_ID. app-&APP_ALIAS." lang="&BROWSER_LANGUAGE." #TEXT_DIRECTION#>', '<head>', ' <meta http-equiv="x-ua-compatible" content="IE=edge" />', ' <meta charset="utf-8">', ' <title>#TITLE#</title>', ' #APEX_CSS#', ' #THEME_CSS#', ' #TEMPLATE_CSS#', ' #THEME_STYLE_CSS#', ' #APPLICATION_CSS#', ' #PAGE_CSS#', ' #FAVICONS#', ' #HEAD#', ' <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>', '</head>', '<body class="t-Dialog-page t-Dialog-page--standard #DIALOG_CSS_CLASSES# #PAGE_CSS_CLASSES#" #TEXT_DIRECTION# #ONLOAD#>', '#FORM_OPEN#')) ,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Dialog" role="dialog" aria-label="#TITLE#">', ' <div class="t-Dialog-header">#REGION_POSITION_01#</div>', ' <div class="t-Dialog-bodyWrapperOut">', ' <div class="t-Dialog-bodyWrapperIn"><div class="t-Dialog-body">', ' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#', ' #BODY#', ' </div></div>', ' </div>', ' <div class="t-Dialog-footer">#REGION_POSITION_03#</div>', '</div>')) ,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '#FORM_CLOSE#', '#DEVELOPER_TOOLBAR#', '#APEX_JAVASCRIPT#', '#GENERATED_CSS#', '#THEME_JAVASCRIPT#', '#TEMPLATE_JAVASCRIPT#', '#APPLICATION_JAVASCRIPT#', '#PAGE_JAVASCRIPT# ', '#GENERATED_JAVASCRIPT#', '</body>', '</html>')) ,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Body-alert">', ' <div class="t-Alert t-Alert--defaultIcons t-Alert--success t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Success" role="alert">', ' <div class="t-Alert-wrap">', ' <div class="t-Alert-icon">', ' <span class="t-Icon"></span>', ' </div>', ' <div class="t-Alert-content">', ' <div class="t-Alert-header">', ' <h2 class="t-Alert-title">#SUCCESS_MESSAGE#</h2>', ' </div>', ' </div>', ' <div class="t-Alert-buttons">', ' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Success'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>', ' </div>', ' </div>', ' </div>', '</div>')) ,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Body-alert">', ' <div class="t-Alert t-Alert--defaultIcons t-Alert--warning t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Notification" role="alert">', ' <div class="t-Alert-wrap">', ' <div class="t-Alert-icon">', ' <span class="t-Icon"></span>', ' </div>', ' <div class="t-Alert-content">', ' <div class="t-Alert-body">', ' #MESSAGE#', ' </div>', ' </div>', ' <div class="t-Alert-buttons">', ' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Notification'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>', ' </div>', ' </div>', ' </div>', '</div>')) ,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"' ,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01' ,p_theme_class_id=>3 ,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Alert t-Alert--danger t-Alert--wizard t-Alert--defaultIcons">', ' <div class="t-Alert-wrap">', ' <div class="t-Alert-icon">', ' <span class="t-Icon"></span>', ' </div>', ' <div class="t-Alert-content">', ' <div class="t-Alert-body">', ' <h3>#MESSAGE#</h3>', ' <p>#ADDITIONAL_INFO#</p>', ' <div class="t-Alert-inset">#TECHNICAL_INFO#</div>', ' </div>', ' </div>', ' <div class="t-Alert-buttons">', ' <button onclick="#BACK_LINK#" class="t-Button t-Button--hot w50p t-Button--large" type="button">#OK#</button>', ' </div>', ' </div>', '</div>')) ,p_grid_type=>'FIXED' ,p_grid_max_columns=>12 ,p_grid_always_use_max_columns=>true ,p_grid_has_column_span=>true ,p_grid_always_emit=>true ,p_grid_emit_empty_leading_cols=>true ,p_grid_emit_empty_trail_cols=>false ,p_grid_default_label_col_span=>2 ,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="container">', '#ROWS#', '</div>')) ,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="row">', '#COLUMNS#', '</div>')) ,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="col col-#COLUMN_SPAN_NUMBER# #CSS_CLASSES#" #ATTRIBUTES#>', '#CONTENT#', '</div>')) ,p_grid_first_column_attributes=>'alpha' ,p_grid_last_column_attributes=>'omega' ,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},''t-Dialog-page--standard ''+#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);' ,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);' ,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);' ,p_dialog_height=>'auto' ,p_dialog_width=>'720' ,p_dialog_max_width=>'960' ,p_dialog_browser_frame=>'MODAL' ,p_reference_id=>2098960803539086924 ,p_translate_this_template=>'N' ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689458735660258684) ,p_page_template_id=>wwv_flow_api.id(55689458617899258684) ,p_name=>'Content Body' ,p_placeholder=>'BODY' ,p_has_grid_support=>true ,p_glv_new_row=>true ,p_max_fixed_grid_columns=>12 ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689458835550258684) ,p_page_template_id=>wwv_flow_api.id(55689458617899258684) ,p_name=>'Dialog Header' ,p_placeholder=>'REGION_POSITION_01' ,p_has_grid_support=>false ,p_glv_new_row=>true ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689458988630258684) ,p_page_template_id=>wwv_flow_api.id(55689458617899258684) ,p_name=>'Dialog Footer' ,p_placeholder=>'REGION_POSITION_03' ,p_has_grid_support=>false ,p_glv_new_row=>true ); end; / prompt --application/shared_components/user_interface/templates/page/right_side_column begin wwv_flow_api.create_template( p_id=>wwv_flow_api.id(55689459137673258685) ,p_theme_id=>42 ,p_name=>'Right Side Column' ,p_internal_name=>'RIGHT_SIDE_COLUMN' ,p_is_popup=>false ,p_javascript_code_onload=>'apex.theme42.initializePage.rightSideCol();' ,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<!DOCTYPE html>', '<html class="no-js #RTL_CLASS# page-&APP_PAGE_ID. app-&APP_ALIAS." lang="&BROWSER_LANGUAGE." #TEXT_DIRECTION#>', '<head>', ' <meta http-equiv="x-ua-compatible" content="IE=edge" />', ' <meta charset="utf-8"> ', ' <title>#TITLE#</title>', ' #APEX_CSS#', ' #THEME_CSS#', ' #TEMPLATE_CSS#', ' #THEME_STYLE_CSS#', ' #APPLICATION_CSS#', ' #PAGE_CSS#', ' #FAVICONS#', ' #HEAD#', ' <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>', '</head>', '<body class="t-PageBody t-PageBody--hideLeft no-anim #PAGE_CSS_CLASSES#" #TEXT_DIRECTION# #ONLOAD# id="t_PageBody">', '#FORM_OPEN#', '<header class="t-Header" id="t_Header">', ' #REGION_POSITION_07#', ' <div class="t-Header-branding">', ' <div class="t-Header-controls">', ' <button class="t-Button t-Button--icon t-Button--header t-Button--headerTree" title="#EXPAND_COLLAPSE_NAV_LABEL#" id="t_Button_navControl" type="button"><span class="t-Icon fa fa-bars" aria-hidden="true"></span></button>', ' </div>', ' <div class="t-Header-logo">', ' <a href="#HOME_LINK#" class="t-Header-logo-link">#LOGO#</a>', ' </div>', ' <div class="t-Header-navBar">', ' #NAVIGATION_BAR#', ' </div>', ' </div>', ' <div class="t-Header-nav">', ' #TOP_GLOBAL_NAVIGATION_LIST#', ' #REGION_POSITION_06#', ' </div>', '</header>')) ,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Body">', '#SIDE_GLOBAL_NAVIGATION_LIST#', ' <div class="t-Body-main">', ' <div class="t-Body-title" id="t_Body_title">', ' #REGION_POSITION_01#', ' </div>', ' <div class="t-Body-content" id="t_Body_content">', ' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#', ' <div class="t-Body-contentInner">', ' #BODY#', ' </div>', ' <footer class="t-Footer">', ' <div class="t-Footer-body">', ' <div class="t-Footer-content">#REGION_POSITION_05#</div>', ' <div class="t-Footer-apex">', ' <div class="t-Footer-version">#APP_VERSION#</div> ', ' <div class="t-Footer-customize">#CUSTOMIZE#</div>', ' <div class="t-Footer-srMode">#SCREEN_READER_TOGGLE#</div>', ' </div>', ' </div>', ' <div class="t-Footer-top">', ' <a href="#top" class="t-Footer-topButton" id="t_Footer_topButton"><span class="a-Icon icon-up-chevron"></span></a>', ' </div>', ' </footer>', ' </div>', ' </div>', ' <div class="t-Body-actions" id="t_Body_actions">', ' <button class="t-Button t-Button--icon t-Button--header t-Button--headerRight" title="#EXPAND_COLLAPSE_SIDE_COL_LABEL#" id="t_Button_rightControlButton" type="button"><span class="t-Icon fa fa-bars" aria-hidden="true"></span></button>', ' <div class="t-Body-actionsContent">', ' #REGION_POSITION_03#', ' </div>', ' </div>', '</div>', '<div class="t-Body-inlineDialogs">', ' #REGION_POSITION_04#', '</div>')) ,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '#FORM_CLOSE#', '#DEVELOPER_TOOLBAR#', '#APEX_JAVASCRIPT#', '#GENERATED_CSS#', '#THEME_JAVASCRIPT#', '#TEMPLATE_JAVASCRIPT#', '#APPLICATION_JAVASCRIPT#', '#PAGE_JAVASCRIPT# ', '#GENERATED_JAVASCRIPT#', '</body>', '</html>')) ,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Body-alert">', ' <div class="t-Alert t-Alert--defaultIcons t-Alert--success t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Success" role="alert">', ' <div class="t-Alert-wrap">', ' <div class="t-Alert-icon">', ' <span class="t-Icon"></span>', ' </div>', ' <div class="t-Alert-content">', ' <div class="t-Alert-header">', ' <h2 class="t-Alert-title">#SUCCESS_MESSAGE#</h2>', ' </div>', ' </div>', ' <div class="t-Alert-buttons">', ' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Success'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>', ' </div>', ' </div>', ' </div>', '</div>')) ,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Body-alert">', ' <div class="t-Alert t-Alert--defaultIcons t-Alert--warning t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Notification" role="alert">', ' <div class="t-Alert-wrap">', ' <div class="t-Alert-icon">', ' <span class="t-Icon"></span>', ' </div>', ' <div class="t-Alert-content">', ' <div class="t-Alert-body">', ' #MESSAGE#', ' </div>', ' </div>', ' <div class="t-Alert-buttons">', ' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Notification'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>', ' </div>', ' </div>', ' </div>', '</div>')) ,p_navigation_bar=>wwv_flow_string.join(wwv_flow_t_varchar2( '<ul class="t-NavigationBar" data-mode="classic">', ' <li class="t-NavigationBar-item">', ' <span class="t-Button t-Button--icon t-Button--noUI t-Button--header t-Button--navBar t-Button--headerUser">', ' <span class="t-Icon a-Icon icon-user"></span>', ' <span class="t-Button-label">&APP_USER.</span>', ' </span>', ' </li>#BAR_BODY#', '</ul>')) ,p_navbar_entry=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li class="t-NavigationBar-item">', ' <a class="t-Button t-Button--icon t-Button--header t-Button--navBar" href="#LINK#">', ' <span class="t-Icon #IMAGE#"></span>', ' <span class="t-Button-label">#TEXT#</span>', ' </a>', '</li>')) ,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"' ,p_sidebar_def_reg_pos=>'REGION_POSITION_03' ,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01' ,p_theme_class_id=>17 ,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Alert t-Alert--danger t-Alert--wizard t-Alert--defaultIcons">', ' <div class="t-Alert-wrap">', ' <div class="t-Alert-icon">', ' <span class="t-Icon"></span>', ' </div>', ' <div class="t-Alert-content">', ' <div class="t-Alert-body">', ' <h3>#MESSAGE#</h3>', ' <p>#ADDITIONAL_INFO#</p>', ' <div class="t-Alert-inset">#TECHNICAL_INFO#</div>', ' </div>', ' </div>', ' <div class="t-Alert-buttons">', ' <button onclick="#BACK_LINK#" class="t-Button t-Button--hot w50p t-Button--large" type="button">#OK#</button>', ' </div>', ' </div>', '</div>')) ,p_grid_type=>'FIXED' ,p_grid_max_columns=>12 ,p_grid_always_use_max_columns=>true ,p_grid_has_column_span=>true ,p_grid_always_emit=>false ,p_grid_emit_empty_leading_cols=>true ,p_grid_emit_empty_trail_cols=>false ,p_grid_default_label_col_span=>2 ,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="container">', '#ROWS#', '</div>')) ,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="row">', '#COLUMNS#', '</div>')) ,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="col col-#COLUMN_SPAN_NUMBER# #CSS_CLASSES#" #ATTRIBUTES#>', '#CONTENT#', '</div>')) ,p_grid_first_column_attributes=>'alpha' ,p_grid_last_column_attributes=>'omega' ,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);' ,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);' ,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);' ,p_dialog_browser_frame=>'MODAL' ,p_reference_id=>2525200116240651575 ,p_translate_this_template=>'N' ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689459242118258686) ,p_page_template_id=>wwv_flow_api.id(55689459137673258685) ,p_name=>'Content Body' ,p_placeholder=>'BODY' ,p_has_grid_support=>true ,p_glv_new_row=>true ,p_max_fixed_grid_columns=>8 ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689459338547258686) ,p_page_template_id=>wwv_flow_api.id(55689459137673258685) ,p_name=>'Breadcrumb Bar' ,p_placeholder=>'REGION_POSITION_01' ,p_has_grid_support=>false ,p_glv_new_row=>true ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689459457237258686) ,p_page_template_id=>wwv_flow_api.id(55689459137673258685) ,p_name=>'Right Column' ,p_placeholder=>'REGION_POSITION_03' ,p_has_grid_support=>false ,p_glv_new_row=>false ,p_max_fixed_grid_columns=>4 ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689459551286258686) ,p_page_template_id=>wwv_flow_api.id(55689459137673258685) ,p_name=>'Inline Dialogs' ,p_placeholder=>'REGION_POSITION_04' ,p_has_grid_support=>true ,p_glv_new_row=>true ,p_max_fixed_grid_columns=>12 ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689459636284258686) ,p_page_template_id=>wwv_flow_api.id(55689459137673258685) ,p_name=>'Footer' ,p_placeholder=>'REGION_POSITION_05' ,p_has_grid_support=>true ,p_glv_new_row=>true ,p_max_fixed_grid_columns=>8 ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689459735533258686) ,p_page_template_id=>wwv_flow_api.id(55689459137673258685) ,p_name=>'Page Navigation' ,p_placeholder=>'REGION_POSITION_06' ,p_has_grid_support=>false ,p_glv_new_row=>true ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689459818833258686) ,p_page_template_id=>wwv_flow_api.id(55689459137673258685) ,p_name=>'Page Header' ,p_placeholder=>'REGION_POSITION_07' ,p_has_grid_support=>false ,p_glv_new_row=>true ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689459967232258686) ,p_page_template_id=>wwv_flow_api.id(55689459137673258685) ,p_name=>'Before Navigation Bar' ,p_placeholder=>'REGION_POSITION_08' ,p_has_grid_support=>false ,p_glv_new_row=>true ); end; / prompt --application/shared_components/user_interface/templates/page/standard begin wwv_flow_api.create_template( p_id=>wwv_flow_api.id(55689460020110258686) ,p_theme_id=>42 ,p_name=>'Standard' ,p_internal_name=>'STANDARD' ,p_is_popup=>false ,p_javascript_code_onload=>'apex.theme42.initializePage.noSideCol();' ,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<!DOCTYPE html>', '<html class="no-js #RTL_CLASS# page-&APP_PAGE_ID. app-&APP_ALIAS." lang="&BROWSER_LANGUAGE." #TEXT_DIRECTION#>', '<head>', ' <meta http-equiv="x-ua-compatible" content="IE=edge" />', ' <meta charset="utf-8">', ' <title>#TITLE#</title>', ' #APEX_CSS#', ' #THEME_CSS#', ' #TEMPLATE_CSS#', ' #THEME_STYLE_CSS#', ' #APPLICATION_CSS#', ' #PAGE_CSS# ', ' #FAVICONS#', ' #HEAD#', ' <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>', '</head>', '<body class="t-PageBody t-PageBody--hideLeft t-PageBody--hideActions no-anim #PAGE_CSS_CLASSES#" #TEXT_DIRECTION# #ONLOAD# id="t_PageBody">', '#FORM_OPEN#', '<header class="t-Header" id="t_Header">', ' #REGION_POSITION_07#', ' <div class="t-Header-branding">', ' <div class="t-Header-controls">', ' <button class="t-Button t-Button--icon t-Button--header t-Button--headerTree" title="#EXPAND_COLLAPSE_NAV_LABEL#" id="t_Button_navControl" type="button"><span class="t-Icon fa fa-bars" aria-hidden="true"></span></button>', ' </div>', ' <div class="t-Header-logo">', ' <a href="#HOME_LINK#" class="t-Header-logo-link">#LOGO#</a>', ' </div>', ' <div class="t-Header-navBar">', ' #NAVIGATION_BAR#', ' </div>', ' </div>', ' <div class="t-Header-nav">', ' #TOP_GLOBAL_NAVIGATION_LIST#', ' #REGION_POSITION_06#', ' </div>', '</header>', ' ')) ,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Body">', ' #SIDE_GLOBAL_NAVIGATION_LIST#', ' <div class="t-Body-main">', ' <div class="t-Body-title" id="t_Body_title">', ' #REGION_POSITION_01#', ' </div>', ' <div class="t-Body-content" id="t_Body_content">', ' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#', ' <div class="t-Body-contentInner">', ' #BODY#', ' </div>', ' <footer class="t-Footer">', ' <div class="t-Footer-body">', ' <div class="t-Footer-content">#REGION_POSITION_05#</div>', ' <div class="t-Footer-apex">', ' <div class="t-Footer-version">#APP_VERSION#</div> ', ' <div class="t-Footer-customize">#CUSTOMIZE#</div>', ' <div class="t-Footer-srMode">#SCREEN_READER_TOGGLE#</div>', ' </div>', ' </div>', ' <div class="t-Footer-top">', ' <a href="#top" class="t-Footer-topButton" id="t_Footer_topButton"><span class="a-Icon icon-up-chevron"></span></a>', ' </div>', ' </footer>', ' </div>', ' </div>', '</div>', '<div class="t-Body-inlineDialogs">', ' #REGION_POSITION_04#', '</div>')) ,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '#FORM_CLOSE#', '#DEVELOPER_TOOLBAR#', '#APEX_JAVASCRIPT#', '#GENERATED_CSS#', '#THEME_JAVASCRIPT#', '#TEMPLATE_JAVASCRIPT#', '#APPLICATION_JAVASCRIPT#', '#PAGE_JAVASCRIPT# ', '#GENERATED_JAVASCRIPT#', '</body>', '</html>', '')) ,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Body-alert">', ' <div class="t-Alert t-Alert--defaultIcons t-Alert--success t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Success" role="alert">', ' <div class="t-Alert-wrap">', ' <div class="t-Alert-icon">', ' <span class="t-Icon"></span>', ' </div>', ' <div class="t-Alert-content">', ' <div class="t-Alert-header">', ' <h2 class="t-Alert-title">#SUCCESS_MESSAGE#</h2>', ' </div>', ' </div>', ' <div class="t-Alert-buttons">', ' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>', ' </div>', ' </div>', ' </div>', '</div>')) ,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Body-alert">', ' <div class="t-Alert t-Alert--defaultIcons t-Alert--warning t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Notification" role="alert">', ' <div class="t-Alert-wrap">', ' <div class="t-Alert-icon">', ' <span class="t-Icon"></span>', ' </div>', ' <div class="t-Alert-content">', ' <div class="t-Alert-body">', ' #MESSAGE#', ' </div>', ' </div>', ' <div class="t-Alert-buttons">', ' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>', ' </div>', ' </div>', ' </div>', '</div>')) ,p_navigation_bar=>wwv_flow_string.join(wwv_flow_t_varchar2( '<ul class="t-NavigationBar t-NavigationBar--classic" data-mode="classic">', ' <li class="t-NavigationBar-item">', ' <span class="t-Button t-Button--icon t-Button--noUI t-Button--header t-Button--navBar t-Button--headerUser">', ' <span class="t-Icon a-Icon icon-user"></span>', ' <span class="t-Button-label">&APP_USER.</span>', ' </span>', ' </li>#BAR_BODY#', '</ul>')) ,p_navbar_entry=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li class="t-NavigationBar-item">', ' <a class="t-Button t-Button--icon t-Button--header" href="#LINK#">', ' <span class="t-Icon #IMAGE#"></span>', ' <span class="t-Button-label">#TEXT#</span>', ' </a>', '</li>')) ,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"' ,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01' ,p_theme_class_id=>1 ,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Alert t-Alert--danger t-Alert--wizard t-Alert--defaultIcons">', ' <div class="t-Alert-wrap">', ' <div class="t-Alert-icon">', ' <span class="t-Icon"></span>', ' </div>', ' <div class="t-Alert-content">', ' <div class="t-Alert-body">', ' <h3>#MESSAGE#</h3>', ' <p>#ADDITIONAL_INFO#</p>', ' <div class="t-Alert-inset">#TECHNICAL_INFO#</div>', ' </div>', ' </div>', ' <div class="t-Alert-buttons">', ' <button onclick="#BACK_LINK#" class="t-Button t-Button--hot w50p t-Button--large" type="button">#OK#</button>', ' </div>', ' </div>', '</div>')) ,p_grid_type=>'FIXED' ,p_grid_max_columns=>12 ,p_grid_always_use_max_columns=>true ,p_grid_has_column_span=>true ,p_grid_always_emit=>true ,p_grid_emit_empty_leading_cols=>true ,p_grid_emit_empty_trail_cols=>false ,p_grid_default_label_col_span=>2 ,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="container">', '#ROWS#', '</div>')) ,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="row">', '#COLUMNS#', '</div>')) ,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="col col-#COLUMN_SPAN_NUMBER# #CSS_CLASSES#" #ATTRIBUTES#>', '#CONTENT#', '</div>')) ,p_grid_first_column_attributes=>'alpha' ,p_grid_last_column_attributes=>'omega' ,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);' ,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);' ,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);' ,p_dialog_browser_frame=>'MODAL' ,p_reference_id=>4070909157481059304 ,p_translate_this_template=>'N' ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689460153850258686) ,p_page_template_id=>wwv_flow_api.id(55689460020110258686) ,p_name=>'Content Body' ,p_placeholder=>'BODY' ,p_has_grid_support=>true ,p_glv_new_row=>true ,p_max_fixed_grid_columns=>12 ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689460206052258686) ,p_page_template_id=>wwv_flow_api.id(55689460020110258686) ,p_name=>'Breadcrumb Bar' ,p_placeholder=>'REGION_POSITION_01' ,p_has_grid_support=>false ,p_glv_new_row=>true ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689460376340258686) ,p_page_template_id=>wwv_flow_api.id(55689460020110258686) ,p_name=>'Inline Dialogs' ,p_placeholder=>'REGION_POSITION_04' ,p_has_grid_support=>true ,p_glv_new_row=>true ,p_max_fixed_grid_columns=>12 ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689460450145258686) ,p_page_template_id=>wwv_flow_api.id(55689460020110258686) ,p_name=>'Footer' ,p_placeholder=>'REGION_POSITION_05' ,p_has_grid_support=>true ,p_glv_new_row=>true ,p_max_fixed_grid_columns=>12 ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689460568556258686) ,p_page_template_id=>wwv_flow_api.id(55689460020110258686) ,p_name=>'Page Navigation' ,p_placeholder=>'REGION_POSITION_06' ,p_has_grid_support=>false ,p_glv_new_row=>true ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689460620926258686) ,p_page_template_id=>wwv_flow_api.id(55689460020110258686) ,p_name=>'Page Header' ,p_placeholder=>'REGION_POSITION_07' ,p_has_grid_support=>false ,p_glv_new_row=>true ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689460724282258686) ,p_page_template_id=>wwv_flow_api.id(55689460020110258686) ,p_name=>'Before Navigation Bar' ,p_placeholder=>'REGION_POSITION_08' ,p_has_grid_support=>false ,p_glv_new_row=>false ); end; / prompt --application/shared_components/user_interface/templates/page/wizard_modal_dialog begin wwv_flow_api.create_template( p_id=>wwv_flow_api.id(55689460839149258686) ,p_theme_id=>42 ,p_name=>'Wizard Modal Dialog' ,p_internal_name=>'WIZARD_MODAL_DIALOG' ,p_is_popup=>true ,p_javascript_code_onload=>'apex.theme42.initializePage.wizardModal();' ,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<!DOCTYPE html>', '<html class="no-js #RTL_CLASS# page-&APP_PAGE_ID. app-&APP_ALIAS." lang="&BROWSER_LANGUAGE." #TEXT_DIRECTION#>', '<head>', ' <meta http-equiv="x-ua-compatible" content="IE=edge" />', ' <meta charset="utf-8">', ' <title>#TITLE#</title>', ' #APEX_CSS#', ' #THEME_CSS#', ' #TEMPLATE_CSS#', ' #THEME_STYLE_CSS#', ' #APPLICATION_CSS#', ' #PAGE_CSS#', ' #FAVICONS#', ' #HEAD#', ' <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>', '</head>', '<body class="t-Dialog-page t-Dialog-page--wizard #DIALOG_CSS_CLASSES# #PAGE_CSS_CLASSES#" #TEXT_DIRECTION# #ONLOAD#>', '#FORM_OPEN#')) ,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Dialog" role="dialog" aria-label="#TITLE#">', ' <div class="t-Dialog-header">#REGION_POSITION_01#</div>', ' <div class="t-Dialog-bodyWrapperOut">', ' <div class="t-Dialog-bodyWrapperIn"><div class="t-Dialog-body">', ' #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#', ' #BODY#', ' </div></div>', ' </div>', ' <div class="t-Dialog-footer">#REGION_POSITION_03#</div>', '</div>')) ,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '#FORM_CLOSE#', '#DEVELOPER_TOOLBAR#', '#APEX_JAVASCRIPT#', '#GENERATED_CSS#', '#THEME_JAVASCRIPT#', '#TEMPLATE_JAVASCRIPT#', '#APPLICATION_JAVASCRIPT#', '#PAGE_JAVASCRIPT# ', '#GENERATED_JAVASCRIPT#', '</body>', '</html>')) ,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Body-alert">', ' <div class="t-Alert t-Alert--defaultIcons t-Alert--success t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Success" role="alert">', ' <div class="t-Alert-wrap">', ' <div class="t-Alert-icon">', ' <span class="t-Icon"></span>', ' </div>', ' <div class="t-Alert-content">', ' <div class="t-Alert-header">', ' <h2 class="t-Alert-title">#SUCCESS_MESSAGE#</h2>', ' </div>', ' </div>', ' <div class="t-Alert-buttons">', ' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Success'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>', ' </div>', ' </div>', ' </div>', '</div>')) ,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Body-alert">', ' <div class="t-Alert t-Alert--defaultIcons t-Alert--warning t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Notification" role="alert">', ' <div class="t-Alert-wrap">', ' <div class="t-Alert-icon">', ' <span class="t-Icon"></span>', ' </div>', ' <div class="t-Alert-content">', ' <div class="t-Alert-body">', ' #MESSAGE#', ' </div>', ' </div>', ' <div class="t-Alert-buttons">', ' <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Notification'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>', ' </div>', ' </div>', ' </div>', '</div>')) ,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"' ,p_theme_class_id=>3 ,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Alert t-Alert--danger t-Alert--wizard t-Alert--defaultIcons">', ' <div class="t-Alert-wrap">', ' <div class="t-Alert-icon">', ' <span class="t-Icon"></span>', ' </div>', ' <div class="t-Alert-content">', ' <div class="t-Alert-body">', ' <h3>#MESSAGE#</h3>', ' <p>#ADDITIONAL_INFO#</p>', ' <div class="t-Alert-inset">#TECHNICAL_INFO#</div>', ' </div>', ' </div>', ' <div class="t-Alert-buttons">', ' <button onclick="#BACK_LINK#" class="t-Button t-Button--hot w50p t-Button--large" type="button">#OK#</button>', ' </div>', ' </div>', '</div>')) ,p_grid_type=>'FIXED' ,p_grid_max_columns=>12 ,p_grid_always_use_max_columns=>true ,p_grid_has_column_span=>true ,p_grid_always_emit=>true ,p_grid_emit_empty_leading_cols=>true ,p_grid_emit_empty_trail_cols=>false ,p_grid_default_label_col_span=>2 ,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="container">', '#ROWS#', '</div>')) ,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="row">', '#COLUMNS#', '</div>')) ,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="col col-#COLUMN_SPAN_NUMBER# #CSS_CLASSES#" #ATTRIBUTES#>', '#CONTENT#', '</div>')) ,p_grid_first_column_attributes=>'alpha' ,p_grid_last_column_attributes=>'omega' ,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},''t-Dialog-page--wizard ''+#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);' ,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);' ,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);' ,p_dialog_height=>'auto' ,p_dialog_width=>'720' ,p_dialog_max_width=>'960' ,p_dialog_browser_frame=>'MODAL' ,p_reference_id=>2120348229686426515 ,p_translate_this_template=>'N' ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689460970932258687) ,p_page_template_id=>wwv_flow_api.id(55689460839149258686) ,p_name=>'Wizard Body' ,p_placeholder=>'BODY' ,p_has_grid_support=>true ,p_glv_new_row=>true ,p_max_fixed_grid_columns=>12 ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689461027245258687) ,p_page_template_id=>wwv_flow_api.id(55689460839149258686) ,p_name=>'Wizard Progress Bar' ,p_placeholder=>'REGION_POSITION_01' ,p_has_grid_support=>false ,p_glv_new_row=>true ); wwv_flow_api.create_page_tmpl_display_point( p_id=>wwv_flow_api.id(55689461127563258687) ,p_page_template_id=>wwv_flow_api.id(55689460839149258686) ,p_name=>'Wizard Buttons' ,p_placeholder=>'REGION_POSITION_03' ,p_has_grid_support=>false ,p_glv_new_row=>true ); end; / prompt --application/shared_components/user_interface/templates/button/icon begin wwv_flow_api.create_button_templates( p_id=>wwv_flow_api.id(55689495826812258722) ,p_template_name=>'Icon' ,p_internal_name=>'ICON' ,p_template=>'<button class="t-Button t-Button--noLabel t-Button--icon #BUTTON_CSS_CLASSES#" #BUTTON_ATTRIBUTES# onclick="#JAVASCRIPT#" type="button" id="#BUTTON_ID#" title="#LABEL#" aria-label="#LABEL#"><span class="t-Icon #ICON_CSS_CLASSES#" aria-hidden="true"><' ||'/span></button>' ,p_hot_template=>'<button class="t-Button t-Button--noLabel t-Button--icon #BUTTON_CSS_CLASSES# t-Button--hot" #BUTTON_ATTRIBUTES# onclick="#JAVASCRIPT#" type="button" id="#BUTTON_ID#" title="#LABEL#" aria-label="#LABEL#"><span class="t-Icon #ICON_CSS_CLASSES#" aria-h' ||'idden="true"></span></button>' ,p_reference_id=>2347660919680321258 ,p_translate_this_template=>'N' ,p_theme_class_id=>5 ,p_theme_id=>42 ); end; / prompt --application/shared_components/user_interface/templates/button/text begin wwv_flow_api.create_button_templates( p_id=>wwv_flow_api.id(55689495911882258722) ,p_template_name=>'Text' ,p_internal_name=>'TEXT' ,p_template=>'<button onclick="#JAVASCRIPT#" class="t-Button #BUTTON_CSS_CLASSES#" type="button" #BUTTON_ATTRIBUTES# id="#BUTTON_ID#"><span class="t-Button-label">#LABEL#</span></button>' ,p_hot_template=>'<button onclick="#JAVASCRIPT#" class="t-Button t-Button--hot #BUTTON_CSS_CLASSES#" type="button" #BUTTON_ATTRIBUTES# id="#BUTTON_ID#"><span class="t-Button-label">#LABEL#</span></button>' ,p_reference_id=>4070916158035059322 ,p_translate_this_template=>'N' ,p_theme_class_id=>1 ,p_theme_id=>42 ); end; / prompt --application/shared_components/user_interface/templates/button/text_with_icon begin wwv_flow_api.create_button_templates( p_id=>wwv_flow_api.id(55689496010438258723) ,p_template_name=>'Text with Icon' ,p_internal_name=>'TEXT_WITH_ICON' ,p_template=>'<button class="t-Button t-Button--icon #BUTTON_CSS_CLASSES#" #BUTTON_ATTRIBUTES# onclick="#JAVASCRIPT#" type="button" id="#BUTTON_ID#"><span class="t-Icon t-Icon--left #ICON_CSS_CLASSES#" aria-hidden="true"></span><span class="t-Button-label">#LABEL#' ||'</span><span class="t-Icon t-Icon--right #ICON_CSS_CLASSES#" aria-hidden="true"></span></button>' ,p_hot_template=>'<button class="t-Button t-Button--icon #BUTTON_CSS_CLASSES# t-Button--hot" #BUTTON_ATTRIBUTES# onclick="#JAVASCRIPT#" type="button" id="#BUTTON_ID#"><span class="t-Icon t-Icon--left #ICON_CSS_CLASSES#" aria-hidden="true"></span><span class="t-Button-' ||'label">#LABEL#</span><span class="t-Icon t-Icon--right #ICON_CSS_CLASSES#" aria-hidden="true"></span></button>' ,p_reference_id=>2081382742158699622 ,p_translate_this_template=>'N' ,p_theme_class_id=>4 ,p_preset_template_options=>'t-Button--iconRight' ,p_theme_id=>42 ); end; / prompt --application/shared_components/user_interface/templates/region/alert begin wwv_flow_api.create_plug_template( p_id=>wwv_flow_api.id(55689461335851258687) ,p_layout=>'TABLE' ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Alert #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>', ' <div class="t-Alert-wrap">', ' <div class="t-Alert-icon">', ' <span class="t-Icon #ICON_CSS_CLASSES#"></span>', ' </div>', ' <div class="t-Alert-content">', ' <div class="t-Alert-header">', ' <h2 class="t-Alert-title" id="#REGION_STATIC_ID#_heading">#TITLE#</h2>', ' </div>', ' <div class="t-Alert-body">#BODY#</div>', ' </div>', ' <div class="t-Alert-buttons">#PREVIOUS##CLOSE##CREATE##NEXT#</div>', ' </div>', '</div>')) ,p_page_plug_template_name=>'Alert' ,p_internal_name=>'ALERT' ,p_plug_table_bgcolor=>'#ffffff' ,p_theme_id=>42 ,p_theme_class_id=>21 ,p_preset_template_options=>'t-Alert--horizontal:t-Alert--defaultIcons:t-Alert--warning' ,p_plug_heading_bgcolor=>'#ffffff' ,p_plug_font_size=>'-1' ,p_default_label_alignment=>'RIGHT' ,p_default_field_alignment=>'LEFT' ,p_reference_id=>2039236646100190748 ,p_translate_this_template=>'N' ,p_template_comment=>'Red Theme' ); wwv_flow_api.create_plug_tmpl_display_point( p_id=>wwv_flow_api.id(55689461462168258688) ,p_plug_template_id=>wwv_flow_api.id(55689461335851258687) ,p_name=>'Region Body' ,p_placeholder=>'BODY' ,p_has_grid_support=>true ,p_glv_new_row=>true ,p_max_fixed_grid_columns=>12 ); end; / prompt --application/shared_components/user_interface/templates/region/blank_with_attributes begin wwv_flow_api.create_plug_template( p_id=>wwv_flow_api.id(55689463106891258691) ,p_layout=>'TABLE' ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES# class="#REGION_CSS_CLASSES#"> ', '#PREVIOUS##BODY##SUB_REGIONS##NEXT#', '</div>')) ,p_page_plug_template_name=>'Blank with Attributes' ,p_internal_name=>'BLANK_WITH_ATTRIBUTES' ,p_theme_id=>42 ,p_theme_class_id=>7 ,p_default_label_alignment=>'RIGHT' ,p_default_field_alignment=>'LEFT' ,p_reference_id=>4499993862448380551 ,p_translate_this_template=>'N' ); end; / prompt --application/shared_components/user_interface/templates/region/blank_with_attributes_no_grid begin wwv_flow_api.create_plug_template( p_id=>wwv_flow_api.id(55689463243859258691) ,p_layout=>'TABLE' ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES# class="#REGION_CSS_CLASSES#"> ', '#PREVIOUS##BODY##SUB_REGIONS##NEXT#', '</div>')) ,p_page_plug_template_name=>'Blank with Attributes (No Grid)' ,p_internal_name=>'BLANK_WITH_ATTRIBUTES_NO_GRID' ,p_theme_id=>42 ,p_theme_class_id=>7 ,p_default_label_alignment=>'RIGHT' ,p_default_field_alignment=>'LEFT' ,p_reference_id=>3369790999010910123 ,p_translate_this_template=>'N' ); wwv_flow_api.create_plug_tmpl_display_point( p_id=>wwv_flow_api.id(55689463310260258691) ,p_plug_template_id=>wwv_flow_api.id(55689463243859258691) ,p_name=>'Body' ,p_placeholder=>'BODY' ,p_has_grid_support=>false ,p_glv_new_row=>true ); wwv_flow_api.create_plug_tmpl_display_point( p_id=>wwv_flow_api.id(55689463462214258691) ,p_plug_template_id=>wwv_flow_api.id(55689463243859258691) ,p_name=>'Sub Regions' ,p_placeholder=>'SUB_REGIONS' ,p_has_grid_support=>false ,p_glv_new_row=>true ); end; / prompt --application/shared_components/user_interface/templates/region/buttons_container begin wwv_flow_api.create_plug_template( p_id=>wwv_flow_api.id(55689463500379258691) ,p_layout=>'TABLE' ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-ButtonRegion t-Form--floatLeft #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>', ' <div class="t-ButtonRegion-wrap">', ' <div class="t-ButtonRegion-col t-ButtonRegion-col--left"><div class="t-ButtonRegion-buttons">#PREVIOUS##CLOSE##DELETE#</div></div>', ' <div class="t-ButtonRegion-col t-ButtonRegion-col--content">', ' <h2 class="t-ButtonRegion-title" id="#REGION_STATIC_ID#_heading">#TITLE#</h2>', ' #BODY#', ' <div class="t-ButtonRegion-buttons">#CHANGE#</div>', ' </div>', ' <div class="t-ButtonRegion-col t-ButtonRegion-col--right"><div class="t-ButtonRegion-buttons">#EDIT##CREATE##NEXT#</div></div>', ' </div>', '</div>')) ,p_page_plug_template_name=>'Buttons Container' ,p_internal_name=>'BUTTONS_CONTAINER' ,p_plug_table_bgcolor=>'#ffffff' ,p_theme_id=>42 ,p_theme_class_id=>17 ,p_plug_heading_bgcolor=>'#ffffff' ,p_plug_font_size=>'-1' ,p_default_label_alignment=>'RIGHT' ,p_default_field_alignment=>'LEFT' ,p_reference_id=>2124982336649579661 ,p_translate_this_template=>'N' ,p_template_comment=>'Red Theme' ); wwv_flow_api.create_plug_tmpl_display_point( p_id=>wwv_flow_api.id(55689463621182258691) ,p_plug_template_id=>wwv_flow_api.id(55689463500379258691) ,p_name=>'Region Body' ,p_placeholder=>'BODY' ,p_has_grid_support=>true ,p_glv_new_row=>true ,p_max_fixed_grid_columns=>12 ); wwv_flow_api.create_plug_tmpl_display_point( p_id=>wwv_flow_api.id(55689463722475258692) ,p_plug_template_id=>wwv_flow_api.id(55689463500379258691) ,p_name=>'Sub Regions' ,p_placeholder=>'SUB_REGIONS' ,p_has_grid_support=>true ,p_glv_new_row=>true ,p_max_fixed_grid_columns=>12 ); end; / prompt --application/shared_components/user_interface/templates/region/carousel_container begin wwv_flow_api.create_plug_template( p_id=>wwv_flow_api.id(55689464420429258692) ,p_layout=>'TABLE' ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Region t-Region--carousel #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>', ' <div class="t-Region-header">', ' <div class="t-Region-headerItems t-Region-headerItems--title">', ' <h2 class="t-Region-title" id="#REGION_STATIC_ID#_heading">#TITLE#</h2>', ' </div>', ' <div class="t-Region-headerItems t-Region-headerItems--buttons">#COPY##EDIT#<span class="js-maximizeButtonContainer"></span></div>', ' </div>', ' <div class="t-Region-bodyWrap">', ' <div class="t-Region-buttons t-Region-buttons--top">', ' <div class="t-Region-buttons-left">#PREVIOUS#</div>', ' <div class="t-Region-buttons-right">#NEXT#</div>', ' </div>', ' <div class="t-Region-body">', ' #BODY#', ' <div class="t-Region-carouselRegions">', ' #SUB_REGIONS#', ' </div>', ' </div>', ' <div class="t-Region-buttons t-Region-buttons--bottom">', ' <div class="t-Region-buttons-left">#CLOSE##HELP#</div>', ' <div class="t-Region-buttons-right">#DELETE##CHANGE##CREATE#</div>', ' </div>', ' </div>', '</div>')) ,p_sub_plug_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div data-label="#SUB_REGION_TITLE#" id="SR_#SUB_REGION_ID#">', ' #SUB_REGION#', '</div>')) ,p_page_plug_template_name=>'Carousel Container' ,p_internal_name=>'CAROUSEL_CONTAINER' ,p_javascript_file_urls=>'#IMAGE_PREFIX#plugins/com.oracle.apex.carousel/1.1/com.oracle.apex.carousel#MIN#.js?v=#APEX_VERSION#' ,p_plug_table_bgcolor=>'#ffffff' ,p_theme_id=>42 ,p_theme_class_id=>5 ,p_default_template_options=>'t-Region--showCarouselControls' ,p_preset_template_options=>'t-Region--hiddenOverflow' ,p_plug_heading_bgcolor=>'#ffffff' ,p_plug_font_size=>'-1' ,p_default_label_alignment=>'RIGHT' ,p_default_field_alignment=>'LEFT' ,p_reference_id=>2865840475322558786 ,p_translate_this_template=>'N' ); wwv_flow_api.create_plug_tmpl_display_point( p_id=>wwv_flow_api.id(55689464525950258692) ,p_plug_template_id=>wwv_flow_api.id(55689464420429258692) ,p_name=>'Region Body' ,p_placeholder=>'BODY' ,p_has_grid_support=>true ,p_glv_new_row=>true ,p_max_fixed_grid_columns=>12 ); wwv_flow_api.create_plug_tmpl_display_point( p_id=>wwv_flow_api.id(55689464602038258692) ,p_plug_template_id=>wwv_flow_api.id(55689464420429258692) ,p_name=>'Slides' ,p_placeholder=>'SUB_REGIONS' ,p_has_grid_support=>true ,p_glv_new_row=>true ,p_max_fixed_grid_columns=>12 ); end; / prompt --application/shared_components/user_interface/templates/region/collapsible begin wwv_flow_api.create_plug_template( p_id=>wwv_flow_api.id(55689467856975258694) ,p_layout=>'TABLE' ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Region t-Region--hideShow #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>', ' <div class="t-Region-header">', ' <div class="t-Region-headerItems t-Region-headerItems--controls">', ' <button class="t-Button t-Button--icon t-Button--hideShow" type="button"></button>', ' </div>', ' <div class="t-Region-headerItems t-Region-headerItems--title">', ' <h2 class="t-Region-title">#TITLE#</h2>', ' </div>', ' <div class="t-Region-headerItems t-Region-headerItems--buttons">#EDIT#</div>', ' </div>', ' <div class="t-Region-bodyWrap">', ' <div class="t-Region-buttons t-Region-buttons--top">', ' <div class="t-Region-buttons-left">#CLOSE#</div>', ' <div class="t-Region-buttons-right">#CREATE#</div>', ' </div>', ' <div class="t-Region-body">', ' #COPY#', ' #BODY#', ' #SUB_REGIONS#', ' #CHANGE#', ' </div>', ' <div class="t-Region-buttons t-Region-buttons--bottom">', ' <div class="t-Region-buttons-left">#PREVIOUS#</div>', ' <div class="t-Region-buttons-right">#NEXT#</div>', ' </div>', ' </div>', '</div>')) ,p_page_plug_template_name=>'Collapsible' ,p_internal_name=>'COLLAPSIBLE' ,p_plug_table_bgcolor=>'#ffffff' ,p_theme_id=>42 ,p_theme_class_id=>1 ,p_preset_template_options=>'is-expanded:t-Region--scrollBody' ,p_plug_heading_bgcolor=>'#ffffff' ,p_plug_font_size=>'-1' ,p_default_label_alignment=>'RIGHT' ,p_default_field_alignment=>'LEFT' ,p_reference_id=>2662888092628347716 ,p_translate_this_template=>'N' ,p_template_comment=>'Red Theme' ); wwv_flow_api.create_plug_tmpl_display_point( p_id=>wwv_flow_api.id(55689467962158258694) ,p_plug_template_id=>wwv_flow_api.id(55689467856975258694) ,p_name=>'Region Body' ,p_placeholder=>'BODY' ,p_has_grid_support=>true ,p_glv_new_row=>true ,p_max_fixed_grid_columns=>12 ); wwv_flow_api.create_plug_tmpl_display_point( p_id=>wwv_flow_api.id(55689468004192258694) ,p_plug_template_id=>wwv_flow_api.id(55689467856975258694) ,p_name=>'Sub Regions' ,p_placeholder=>'SUB_REGIONS' ,p_has_grid_support=>true ,p_glv_new_row=>true ,p_max_fixed_grid_columns=>12 ); end; / prompt --application/shared_components/user_interface/templates/region/content_block begin wwv_flow_api.create_plug_template( p_id=>wwv_flow_api.id(55689470075307258696) ,p_layout=>'TABLE' ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-ContentBlock #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>', ' <div class="t-ContentBlock-header"><h1 class="t-ContentBlock-title">#TITLE#</h1></div>', ' <div class="t-ContentBlock-body">#BODY#</div>', ' <div class="t-ContentBlock-buttons">#PREVIOUS##NEXT#</div>', '</div>')) ,p_page_plug_template_name=>'Content Block' ,p_internal_name=>'CONTENT_BLOCK' ,p_theme_id=>42 ,p_theme_class_id=>21 ,p_preset_template_options=>'t-ContentBlock--h1' ,p_default_label_alignment=>'RIGHT' ,p_default_field_alignment=>'LEFT' ,p_reference_id=>2320668864738842174 ,p_translate_this_template=>'N' ); end; / prompt --application/shared_components/user_interface/templates/region/hero begin wwv_flow_api.create_plug_template( p_id=>wwv_flow_api.id(55689470985259258697) ,p_layout=>'TABLE' ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-HeroRegion #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>', ' <div class="t-HeroRegion-wrap">', ' <div class="t-HeroRegion-col t-HeroRegion-col--left"><span class="t-HeroRegion-icon t-Icon #ICON_CSS_CLASSES#"></span></div>', ' <div class="t-HeroRegion-col t-HeroRegion-col--content">', ' <h1 class="t-HeroRegion-title">#TITLE#</h1>', ' #BODY#', ' </div>', ' <div class="t-HeroRegion-col t-HeroRegion-col--right"><div class="t-HeroRegion-form">#SUB_REGIONS#</div><div class="t-HeroRegion-buttons">#NEXT#</div></div>', ' </div>', '</div>')) ,p_page_plug_template_name=>'Hero' ,p_internal_name=>'HERO' ,p_theme_id=>42 ,p_theme_class_id=>22 ,p_default_label_alignment=>'RIGHT' ,p_default_field_alignment=>'LEFT' ,p_reference_id=>2672571031438297268 ,p_translate_this_template=>'N' ); wwv_flow_api.create_plug_tmpl_display_point( p_id=>wwv_flow_api.id(55689471002638258697) ,p_plug_template_id=>wwv_flow_api.id(55689470985259258697) ,p_name=>'Region Body' ,p_placeholder=>'#BODY#' ,p_has_grid_support=>false ,p_glv_new_row=>true ); end; / prompt --application/shared_components/user_interface/templates/region/inline_dialog begin wwv_flow_api.create_plug_template( p_id=>wwv_flow_api.id(55689471612158258697) ,p_layout=>'TABLE' ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div id="#REGION_STATIC_ID#_parent">', '<div id="#REGION_STATIC_ID#" class="t-DialogRegion #REGION_CSS_CLASSES# js-regionDialog" #REGION_ATTRIBUTES# style="display:none" title="#TITLE#">', ' <div class="t-DialogRegion-wrap">', ' <div class="t-DialogRegion-bodyWrapperOut"><div class="t-DialogRegion-bodyWrapperIn"><div class="t-DialogRegion-body">#BODY#</div></div></div>', ' <div class="t-DialogRegion-buttons">', ' <div class="t-ButtonRegion t-ButtonRegion--dialogRegion">', ' <div class="t-ButtonRegion-wrap">', ' <div class="t-ButtonRegion-col t-ButtonRegion-col--left"><div class="t-ButtonRegion-buttons">#PREVIOUS##DELETE##CLOSE#</div></div>', ' <div class="t-ButtonRegion-col t-ButtonRegion-col--right"><div class="t-ButtonRegion-buttons">#EDIT##CREATE##NEXT#</div></div>', ' </div>', ' </div>', ' </div>', ' </div>', '</div>', '</div>')) ,p_page_plug_template_name=>'Inline Dialog' ,p_internal_name=>'INLINE_DIALOG' ,p_theme_id=>42 ,p_theme_class_id=>24 ,p_default_template_options=>'js-modal:js-draggable:js-resizable' ,p_preset_template_options=>'js-dialog-size600x400' ,p_default_label_alignment=>'RIGHT' ,p_default_field_alignment=>'LEFT' ,p_reference_id=>2671226943886536762 ,p_translate_this_template=>'N' ); wwv_flow_api.create_plug_tmpl_display_point( p_id=>wwv_flow_api.id(55689471741185258698) ,p_plug_template_id=>wwv_flow_api.id(55689471612158258697) ,p_name=>'Region Body' ,p_placeholder=>'BODY' ,p_has_grid_support=>true ,p_glv_new_row=>true ); end; / prompt --application/shared_components/user_interface/templates/region/interactive_report begin wwv_flow_api.create_plug_template( p_id=>wwv_flow_api.id(55689472642365258698) ,p_layout=>'TABLE' ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES# class="t-IRR-region #REGION_CSS_CLASSES#" role="group" aria-labelledby="#REGION_STATIC_ID#_heading">', ' <h2 class="u-VisuallyHidden" id="#REGION_STATIC_ID#_heading">#TITLE#</h2>', '#PREVIOUS##BODY##SUB_REGIONS##NEXT#', '</div>')) ,p_page_plug_template_name=>'Interactive Report' ,p_internal_name=>'INTERACTIVE_REPORT' ,p_theme_id=>42 ,p_theme_class_id=>9 ,p_default_label_alignment=>'RIGHT' ,p_default_field_alignment=>'LEFT' ,p_reference_id=>2099079838218790610 ,p_translate_this_template=>'N' ); end; / prompt --application/shared_components/user_interface/templates/region/login begin wwv_flow_api.create_plug_template( p_id=>wwv_flow_api.id(55689472900365258698) ,p_layout=>'TABLE' ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Login-region t-Form--stretchInputs t-Form--labelsAbove #REGION_CSS_CLASSES#" id="#REGION_ID#" #REGION_ATTRIBUTES#>', ' <div class="t-Login-header">', ' <span class="t-Login-logo #ICON_CSS_CLASSES#"></span>', ' <h1 class="t-Login-title" id="#REGION_STATIC_ID#_heading">#TITLE#</h1>', ' </div>', ' <div class="t-Login-body">', ' #BODY#', ' </div>', ' <div class="t-Login-buttons">', ' #NEXT#', ' </div>', ' <div class="t-Login-links">', ' #EDIT##CREATE#', ' </div>', ' #SUB_REGIONS#', '</div>')) ,p_page_plug_template_name=>'Login' ,p_internal_name=>'LOGIN' ,p_theme_id=>42 ,p_theme_class_id=>23 ,p_default_label_alignment=>'RIGHT' ,p_default_field_alignment=>'LEFT' ,p_reference_id=>2672711194551076376 ,p_translate_this_template=>'N' ); wwv_flow_api.create_plug_tmpl_display_point( p_id=>wwv_flow_api.id(55689473064892258698) ,p_plug_template_id=>wwv_flow_api.id(55689472900365258698) ,p_name=>'Content Body' ,p_placeholder=>'BODY' ,p_has_grid_support=>false ,p_glv_new_row=>true ); end; / prompt --application/shared_components/user_interface/templates/region/standard begin wwv_flow_api.create_plug_template( p_id=>wwv_flow_api.id(55689473177657258698) ,p_layout=>'TABLE' ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Region #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>', ' <div class="t-Region-header">', ' <div class="t-Region-headerItems t-Region-headerItems--title">', ' <h2 class="t-Region-title" id="#REGION_STATIC_ID#_heading">#TITLE#</h2>', ' </div>', ' <div class="t-Region-headerItems t-Region-headerItems--buttons">#COPY##EDIT#<span class="js-maximizeButtonContainer"></span></div>', ' </div>', ' <div class="t-Region-bodyWrap">', ' <div class="t-Region-buttons t-Region-buttons--top">', ' <div class="t-Region-buttons-left">#PREVIOUS#</div>', ' <div class="t-Region-buttons-right">#NEXT#</div>', ' </div>', ' <div class="t-Region-body">', ' #BODY#', ' #SUB_REGIONS#', ' </div>', ' <div class="t-Region-buttons t-Region-buttons--bottom">', ' <div class="t-Region-buttons-left">#CLOSE##HELP#</div>', ' <div class="t-Region-buttons-right">#DELETE##CHANGE##CREATE#</div>', ' </div>', ' </div>', '</div>', '')) ,p_page_plug_template_name=>'Standard' ,p_internal_name=>'STANDARD' ,p_plug_table_bgcolor=>'#ffffff' ,p_theme_id=>42 ,p_theme_class_id=>8 ,p_preset_template_options=>'t-Region--scrollBody' ,p_plug_heading_bgcolor=>'#ffffff' ,p_plug_font_size=>'-1' ,p_default_label_alignment=>'RIGHT' ,p_default_field_alignment=>'LEFT' ,p_reference_id=>4070912133526059312 ,p_translate_this_template=>'N' ); wwv_flow_api.create_plug_tmpl_display_point( p_id=>wwv_flow_api.id(55689473283142258699) ,p_plug_template_id=>wwv_flow_api.id(55689473177657258698) ,p_name=>'Region Body' ,p_placeholder=>'BODY' ,p_has_grid_support=>true ,p_glv_new_row=>true ,p_max_fixed_grid_columns=>12 ); wwv_flow_api.create_plug_tmpl_display_point( p_id=>wwv_flow_api.id(55689473344507258699) ,p_plug_template_id=>wwv_flow_api.id(55689473177657258698) ,p_name=>'Sub Regions' ,p_placeholder=>'SUB_REGIONS' ,p_has_grid_support=>true ,p_glv_new_row=>true ,p_max_fixed_grid_columns=>12 ); end; / prompt --application/shared_components/user_interface/templates/region/tabs_container begin wwv_flow_api.create_plug_template( p_id=>wwv_flow_api.id(55689476396128258701) ,p_layout=>'TABLE' ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-TabsRegion #REGION_CSS_CLASSES#" #REGION_ATTRIBUTES# id="#REGION_STATIC_ID#">', ' #BODY#', ' <div class="t-TabsRegion-items">', ' #SUB_REGIONS#', ' </div>', '</div>')) ,p_sub_plug_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div data-label="#SUB_REGION_TITLE#" id="SR_#SUB_REGION_ID#">', ' #SUB_REGION#', '</div>')) ,p_page_plug_template_name=>'Tabs Container' ,p_internal_name=>'TABS_CONTAINER' ,p_theme_id=>42 ,p_theme_class_id=>5 ,p_preset_template_options=>'t-TabsRegion-mod--simple' ,p_default_label_alignment=>'RIGHT' ,p_default_field_alignment=>'LEFT' ,p_reference_id=>3221725015618492759 ,p_translate_this_template=>'N' ); wwv_flow_api.create_plug_tmpl_display_point( p_id=>wwv_flow_api.id(55689476466677258702) ,p_plug_template_id=>wwv_flow_api.id(55689476396128258701) ,p_name=>'Region Body' ,p_placeholder=>'BODY' ,p_has_grid_support=>true ,p_glv_new_row=>true ); wwv_flow_api.create_plug_tmpl_display_point( p_id=>wwv_flow_api.id(55689476593885258702) ,p_plug_template_id=>wwv_flow_api.id(55689476396128258701) ,p_name=>'Tabs' ,p_placeholder=>'SUB_REGIONS' ,p_has_grid_support=>false ,p_glv_new_row=>true ); end; / prompt --application/shared_components/user_interface/templates/region/title_bar begin wwv_flow_api.create_plug_template( p_id=>wwv_flow_api.id(55689477573158258703) ,p_layout=>'TABLE' ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES# class="t-BreadcrumbRegion #REGION_CSS_CLASSES#"> ', ' <div class="t-BreadcrumbRegion-body">', ' <div class="t-BreadcrumbRegion-breadcrumb">', ' #BODY#', ' </div>', ' <div class="t-BreadcrumbRegion-title">', ' <h1 class="t-BreadcrumbRegion-titleText">#TITLE#</h1>', ' </div>', ' </div>', ' <div class="t-BreadcrumbRegion-buttons">#PREVIOUS##CLOSE##DELETE##HELP##CHANGE##EDIT##COPY##CREATE##NEXT#</div>', '</div>')) ,p_page_plug_template_name=>'Title Bar' ,p_internal_name=>'TITLE_BAR' ,p_theme_id=>42 ,p_theme_class_id=>6 ,p_default_template_options=>'t-BreadcrumbRegion--showBreadcrumb' ,p_preset_template_options=>'t-BreadcrumbRegion--useBreadcrumbTitle' ,p_default_label_alignment=>'RIGHT' ,p_default_field_alignment=>'LEFT' ,p_reference_id=>2530016523834132090 ,p_translate_this_template=>'N' ); end; / prompt --application/shared_components/user_interface/templates/region/wizard_container begin wwv_flow_api.create_plug_template( p_id=>wwv_flow_api.id(55689477921324258703) ,p_layout=>'TABLE' ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Wizard #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>', ' <div class="t-Wizard-header">', ' <h1 class="t-Wizard-title">#TITLE#</h1>', ' <div class="u-Table t-Wizard-controls">', ' <div class="u-Table-fit t-Wizard-buttons">#PREVIOUS##CLOSE#</div>', ' <div class="u-Table-fill t-Wizard-steps">', ' #BODY#', ' </div>', ' <div class="u-Table-fit t-Wizard-buttons">#NEXT#</div>', ' </div>', ' </div>', ' <div class="t-Wizard-body">', ' #SUB_REGIONS#', ' </div>', '</div>')) ,p_page_plug_template_name=>'Wizard Container' ,p_internal_name=>'WIZARD_CONTAINER' ,p_theme_id=>42 ,p_theme_class_id=>8 ,p_preset_template_options=>'t-Wizard--hideStepsXSmall' ,p_default_label_alignment=>'RIGHT' ,p_default_field_alignment=>'LEFT' ,p_reference_id=>2117602213152591491 ,p_translate_this_template=>'N' ); wwv_flow_api.create_plug_tmpl_display_point( p_id=>wwv_flow_api.id(55689478032603258703) ,p_plug_template_id=>wwv_flow_api.id(55689477921324258703) ,p_name=>'Wizard Sub Regions' ,p_placeholder=>'SUB_REGIONS' ,p_has_grid_support=>true ,p_glv_new_row=>true ); end; / prompt --application/shared_components/user_interface/templates/list/badge_list begin wwv_flow_api.create_list_template( p_id=>wwv_flow_api.id(55689486519141258712) ,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li class="t-BadgeList-item #A02#">', ' <span class="t-BadgeList-label">#TEXT#</span>', ' <span class="t-BadgeList-value"><a href="#LINK#" #A03#>#A01#</a></span>', '</li>', '')) ,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li class="t-BadgeList-item #A02#">', ' <span class="t-BadgeList-label">#TEXT#</span>', ' <span class="t-BadgeList-value"><a href="#LINK#" #A03#>#A01#</a></span>', '</li>', '')) ,p_list_template_name=>'Badge List' ,p_internal_name=>'BADGE_LIST' ,p_theme_id=>42 ,p_theme_class_id=>3 ,p_list_template_before_rows=>'<ul class="t-BadgeList t-BadgeList--circular #COMPONENT_CSS_CLASSES#">' ,p_list_template_after_rows=>'</ul>' ,p_a01_label=>'Value' ,p_a02_label=>'List item CSS Classes' ,p_a03_label=>'Link Attributes' ,p_reference_id=>2062482847268086664 ,p_list_template_comment=>wwv_flow_string.join(wwv_flow_t_varchar2( 'A01: Large Number', 'A02: List Item Classes', 'A03: Link Attributes')) ); end; / prompt --application/shared_components/user_interface/templates/list/cards begin wwv_flow_api.create_list_template( p_id=>wwv_flow_api.id(55689488267663258714) ,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li class="t-Cards-item #A04#">', ' <div class="t-Card">', ' <a href="#LINK#" class="t-Card-wrap" #A05#>', ' <div class="t-Card-icon u-color #A06#"><span class="t-Icon #ICON_CSS_CLASSES#"><span class="t-Card-initials" role="presentation">#A03#</span></span></div>', ' <div class="t-Card-titleWrap"><h3 class="t-Card-title">#TEXT#</h3></div>', ' <div class="t-Card-body">', ' <div class="t-Card-desc">#A01#</div>', ' <div class="t-Card-info">#A02#</div>', ' </div>', ' <span class="t-Card-colorFill u-color #A06#"></span>', ' </a>', ' </div>', '</li>')) ,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li class="t-Cards-item #A04#">', ' <div class="t-Card">', ' <a href="#LINK#" class="t-Card-wrap" #A05#>', ' <div class="t-Card-icon u-color #A06#"><span class="t-Icon #ICON_CSS_CLASSES#"><span class="t-Card-initials" role="presentation">#A03#</span></span></div>', ' <div class="t-Card-titleWrap"><h3 class="t-Card-title">#TEXT#</h3></div>', ' <div class="t-Card-body">', ' <div class="t-Card-desc">#A01#</div>', ' <div class="t-Card-info">#A02#</div>', ' </div>', ' <span class="t-Card-colorFill u-color #A06#"></span>', ' </a>', ' </div>', '</li>')) ,p_list_template_name=>'Cards' ,p_internal_name=>'CARDS' ,p_theme_id=>42 ,p_theme_class_id=>4 ,p_preset_template_options=>'t-Cards--animColorFill:t-Cards--3cols:t-Cards--featured' ,p_list_template_before_rows=>'<ul class="t-Cards #COMPONENT_CSS_CLASSES#">' ,p_list_template_after_rows=>'</ul>' ,p_a01_label=>'Description' ,p_a02_label=>'Secondary Information' ,p_a03_label=>'Initials' ,p_a04_label=>'List Item CSS Classes' ,p_a05_label=>'Link Attributes' ,p_a06_label=>'Card Color Class' ,p_reference_id=>2885322685880632508 ); end; / prompt --application/shared_components/user_interface/templates/list/links_list begin wwv_flow_api.create_list_template( p_id=>wwv_flow_api.id(55689490661138258716) ,p_list_template_current=>'<li class="t-LinksList-item is-current #A03#"><a href="#LINK#" class="t-LinksList-link" #A02#><span class="t-LinksList-icon"><span class="t-Icon #ICON_CSS_CLASSES#"></span></span><span class="t-LinksList-label">#TEXT#</span><span class="t-LinksList-b' ||'adge">#A01#</span></a></li>' ,p_list_template_noncurrent=>'<li class="t-LinksList-item #A03#"><a href="#LINK#" class="t-LinksList-link" #A02#><span class="t-LinksList-icon"><span class="t-Icon #ICON_CSS_CLASSES#"></span></span><span class="t-LinksList-label">#TEXT#</span><span class="t-LinksList-badge">#A01#' ||'</span></a></li>' ,p_list_template_name=>'Links List' ,p_internal_name=>'LINKS_LIST' ,p_theme_id=>42 ,p_theme_class_id=>18 ,p_list_template_before_rows=>'<ul class="t-LinksList #COMPONENT_CSS_CLASSES#" id="#LIST_ID#">' ,p_list_template_after_rows=>'</ul>' ,p_before_sub_list=>'<ul class="t-LinksList-list">' ,p_after_sub_list=>'</ul>' ,p_sub_list_item_current=>'<li class="t-LinksList-item is-current #A03#"><a href="#LINK#" class="t-LinksList-link" #A02#><span class="t-LinksList-icon"><span class="t-Icon #ICON_CSS_CLASSES#"></span></span><span class="t-LinksList-label">#TEXT#</span><span class="t-LinksList-b' ||'adge">#A01#</span></a></li>' ,p_sub_list_item_noncurrent=>'<li class="t-LinksList-item#A03#"><a href="#LINK#" class="t-LinksList-link" #A02#><span class="t-LinksList-icon"><span class="t-Icon #ICON_CSS_CLASSES#"></span></span><span class="t-LinksList-label">#TEXT#</span><span class="t-LinksList-badge">#A01#<' ||'/span></a></li>' ,p_item_templ_curr_w_child=>'<li class="t-LinksList-item is-current is-expanded #A03#"><a href="#LINK#" class="t-LinksList-link" #A02#><span class="t-LinksList-icon"><span class="t-Icon #ICON_CSS_CLASSES#"></span></span><span class="t-LinksList-label">#TEXT#</span><span class="t' ||'-LinksList-badge">#A01#</span></a>#SUB_LISTS#</li>' ,p_item_templ_noncurr_w_child=>'<li class="t-LinksList-item #A03#"><a href="#LINK#" class="t-LinksList-link" #A02#><span class="t-LinksList-icon"><span class="t-Icon #ICON_CSS_CLASSES#"></span></span><span class="t-LinksList-label">#TEXT#</span><span class="t-LinksList-badge">#A01#' ||'</span></a></li>' ,p_a01_label=>'Badge Value' ,p_a02_label=>'Link Attributes' ,p_a03_label=>'List Item CSS Classes' ,p_reference_id=>4070914341144059318 ); end; / prompt --application/shared_components/user_interface/templates/list/media_list begin wwv_flow_api.create_list_template( p_id=>wwv_flow_api.id(55689491419617258716) ,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li class="t-MediaList-item is-active #A04#">', ' <a href="#LINK#" class="t-MediaList-itemWrap #A05#" #A03#>', ' <div class="t-MediaList-iconWrap">', ' <span class="t-MediaList-icon u-color #A06#"><span class="t-Icon #ICON_CSS_CLASSES# u-color #A06#" #IMAGE_ATTR#></span></span>', ' </div>', ' <div class="t-MediaList-body">', ' <h3 class="t-MediaList-title">#TEXT#</h3>', ' <p class="t-MediaList-desc">#A01#</p>', ' </div>', ' <div class="t-MediaList-badgeWrap">', ' <span class="t-MediaList-badge">#A02#</span>', ' </div>', ' </a>', '</li>')) ,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li class="t-MediaList-item #A04#">', ' <a href="#LINK#" class="t-MediaList-itemWrap #A05#" #A03#>', ' <div class="t-MediaList-iconWrap">', ' <span class="t-MediaList-icon u-color #A06#"><span class="t-Icon #ICON_CSS_CLASSES# u-color #A06#" #IMAGE_ATTR#></span></span>', ' </div>', ' <div class="t-MediaList-body">', ' <h3 class="t-MediaList-title">#TEXT#</h3>', ' <p class="t-MediaList-desc">#A01#</p>', ' </div>', ' <div class="t-MediaList-badgeWrap">', ' <span class="t-MediaList-badge">#A02#</span>', ' </div>', ' </a>', '</li>')) ,p_list_template_name=>'Media List' ,p_internal_name=>'MEDIA_LIST' ,p_theme_id=>42 ,p_theme_class_id=>5 ,p_default_template_options=>'t-MediaList--showIcons:t-MediaList--showDesc' ,p_list_template_before_rows=>'<ul class="t-MediaList #COMPONENT_CSS_CLASSES#">' ,p_list_template_after_rows=>'</ul>' ,p_a01_label=>'Description' ,p_a02_label=>'Badge Value' ,p_a03_label=>'Link Attributes' ,p_a04_label=>'List Item CSS Classes' ,p_a05_label=>'Link Class' ,p_a06_label=>'Icon Color Class' ,p_reference_id=>2066548068783481421 ); end; / prompt --application/shared_components/user_interface/templates/list/menu_bar begin wwv_flow_api.create_list_template( p_id=>wwv_flow_api.id(55689492606564258718) ,p_list_template_current=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>' ,p_list_template_noncurrent=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>' ,p_list_template_name=>'Menu Bar' ,p_internal_name=>'MENU_BAR' ,p_javascript_code_onload=>wwv_flow_string.join(wwv_flow_t_varchar2( 'var e = apex.jQuery("##PARENT_STATIC_ID#_menubar", apex.gPageContext$);', 'if (e.hasClass("js-addActions")) {', ' apex.actions.addFromMarkup( e );', '}', 'e.menu({', ' behaveLikeTabs: e.hasClass("js-tabLike"),', ' menubarShowSubMenuIcon: e.hasClass("js-showSubMenuIcons") || null,', ' iconType: ''fa'',', ' slide: e.hasClass("js-slide"),', ' menubar: true,', ' menubarOverflow: true', '});')) ,p_theme_id=>42 ,p_theme_class_id=>20 ,p_default_template_options=>'js-showSubMenuIcons' ,p_list_template_before_rows=>'<div class="t-MenuBar #COMPONENT_CSS_CLASSES#" id="#PARENT_STATIC_ID#_menubar"><ul style="display:none">' ,p_list_template_after_rows=>'</ul></div>' ,p_before_sub_list=>'<ul>' ,p_after_sub_list=>'</ul></li>' ,p_sub_list_item_current=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>' ,p_sub_list_item_noncurrent=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>' ,p_item_templ_curr_w_child=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>' ,p_item_templ_noncurr_w_child=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>' ,p_sub_templ_curr_w_child=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>' ,p_sub_templ_noncurr_w_child=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>' ,p_reference_id=>2008709236185638887 ); end; / prompt --application/shared_components/user_interface/templates/list/menu_popup begin wwv_flow_api.create_list_template( p_id=>wwv_flow_api.id(55689493148595258718) ,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>', '')) ,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>', '')) ,p_list_template_name=>'Menu Popup' ,p_internal_name=>'MENU_POPUP' ,p_javascript_code_onload=>wwv_flow_string.join(wwv_flow_t_varchar2( 'var e = apex.jQuery("##PARENT_STATIC_ID#_menu", apex.gPageContext$);', 'if (e.hasClass("js-addActions")) {', ' apex.actions.addFromMarkup( e );', '}', 'e.menu({ slide: e.hasClass("js-slide")});')) ,p_theme_id=>42 ,p_theme_class_id=>20 ,p_list_template_before_rows=>'<div id="#PARENT_STATIC_ID#_menu" class="#COMPONENT_CSS_CLASSES#" style="display:none;"><ul>' ,p_list_template_after_rows=>'</ul></div>' ,p_before_sub_list=>'<ul>' ,p_after_sub_list=>'</ul></li>' ,p_sub_list_item_current=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>' ,p_sub_list_item_noncurrent=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>' ,p_item_templ_curr_w_child=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>' ,p_item_templ_noncurr_w_child=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>' ,p_sub_templ_curr_w_child=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>' ,p_sub_templ_noncurr_w_child=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>' ,p_a01_label=>'Data ID' ,p_a02_label=>'Disabled (True/False)' ,p_a03_label=>'Hidden (True/False)' ,p_a04_label=>'Title Attribute' ,p_a05_label=>'Shortcut' ,p_reference_id=>3492264004432431646 ); end; / prompt --application/shared_components/user_interface/templates/list/navigation_bar begin wwv_flow_api.create_list_template( p_id=>wwv_flow_api.id(55689493206997258718) ,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li class="t-NavigationBar-item is-active #A02#">', ' <a class="t-Button t-Button--icon t-Button--header t-Button--navBar" href="#LINK#" role="button">', ' <span class="t-Icon #ICON_CSS_CLASSES#"></span><span class="t-Button-label">#TEXT_ESC_SC#</span><span class="t-Button-badge">#A01#</span>', ' </a>', '</li>')) ,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li class="t-NavigationBar-item #A02#">', ' <a class="t-Button t-Button--icon t-Button--header t-Button--navBar" href="#LINK#" role="button">', ' <span class="t-Icon #ICON_CSS_CLASSES#"></span><span class="t-Button-label">#TEXT_ESC_SC#</span><span class="t-Button-badge">#A01#</span>', ' </a>', '</li>')) ,p_list_template_name=>'Navigation Bar' ,p_internal_name=>'NAVIGATION_BAR' ,p_theme_id=>42 ,p_theme_class_id=>20 ,p_list_template_before_rows=>'<ul class="t-NavigationBar #COMPONENT_CSS_CLASSES#" id="#LIST_ID#">' ,p_list_template_after_rows=>'</ul>' ,p_before_sub_list=>'<div class="t-NavigationBar-menu" style="display: none" id="menu_#PARENT_LIST_ITEM_ID#"><ul>' ,p_after_sub_list=>'</ul></div></li>' ,p_sub_list_item_current=>'<li data-current="true" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#">#TEXT_ESC_SC#</a></li>' ,p_sub_list_item_noncurrent=>'<li data-current="false" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#">#TEXT_ESC_SC#</a></li>' ,p_item_templ_curr_w_child=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li class="t-NavigationBar-item is-active #A02#">', ' <button class="t-Button t-Button--icon t-Button t-Button--header t-Button--navBar js-menuButton" type="button" id="#LIST_ITEM_ID#" data-menu="menu_#LIST_ITEM_ID#">', ' <span class="t-Icon #ICON_CSS_CLASSES#"></span><span class="t-Button-label">#TEXT_ESC_SC#</span><span class="t-Button-badge">#A01#</span><span class="a-Icon icon-down-arrow"></span>', ' </button>')) ,p_item_templ_noncurr_w_child=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li class="t-NavigationBar-item #A02#">', ' <button class="t-Button t-Button--icon t-Button t-Button--header t-Button--navBar js-menuButton" type="button" id="#LIST_ITEM_ID#" data-menu="menu_#LIST_ITEM_ID#">', ' <span class="t-Icon #ICON_CSS_CLASSES#"></span><span class="t-Button-label">#TEXT_ESC_SC#</span><span class="t-Button-badge">#A01#</span><span class="a-Icon icon-down-arrow"></span>', ' </button>')) ,p_sub_templ_curr_w_child=>'<li data-current="true" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#">#TEXT_ESC_SC#</a></li>' ,p_sub_templ_noncurr_w_child=>'<li data-current="false" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#">#TEXT_ESC_SC#</a></li>' ,p_a01_label=>'Badge Value' ,p_a02_label=>'List Item CSS Classes' ,p_reference_id=>2846096252961119197 ); end; / prompt --application/shared_components/user_interface/templates/list/side_navigation_menu begin wwv_flow_api.create_list_template( p_id=>wwv_flow_api.id(55689493388841258719) ,p_list_template_current=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>' ,p_list_template_noncurrent=>'<li data-id="#A01#" data-disabled="#A02#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>' ,p_list_template_name=>'Side Navigation Menu' ,p_internal_name=>'SIDE_NAVIGATION_MENU' ,p_javascript_file_urls=>'#IMAGE_PREFIX#libraries/apex/#MIN_DIRECTORY#widget.treeView#MIN#.js?v=#APEX_VERSION#' ,p_javascript_code_onload=>'apex.jQuery(''body'').addClass(''t-PageBody--leftNav'');' ,p_theme_id=>42 ,p_theme_class_id=>19 ,p_list_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Body-nav" id="t_Body_nav" role="navigation" aria-label="&APP_TITLE!ATTR.">', '<div class="t-TreeNav #COMPONENT_CSS_CLASSES#" id="t_TreeNav" data-id="#PARENT_STATIC_ID#_tree" aria-label="&APP_TITLE!ATTR."><ul style="display:none">')) ,p_list_template_after_rows=>'</ul></div></div>' ,p_before_sub_list=>'<ul>' ,p_after_sub_list=>'</ul></li>' ,p_sub_list_item_current=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>' ,p_sub_list_item_noncurrent=>'<li data-id="#A01#" data-disabled="#A02#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>' ,p_item_templ_curr_w_child=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>' ,p_item_templ_noncurr_w_child=>'<li data-id="#A01#" data-disabled="#A02#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>' ,p_sub_templ_curr_w_child=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>' ,p_sub_templ_noncurr_w_child=>'<li data-id="#A01#" data-disabled="#A02#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>' ,p_a01_label=>'ID Attribute' ,p_a02_label=>'Disabled True/False' ,p_a04_label=>'Title' ,p_reference_id=>2466292414354694776 ); end; / prompt --application/shared_components/user_interface/templates/list/tabs begin wwv_flow_api.create_list_template( p_id=>wwv_flow_api.id(55689493437009258719) ,p_list_template_current=>'<li class="t-Tabs-item is-active"><a href="#LINK#" class="t-Tabs-link"><span class="t-Icon #ICON_CSS_CLASSES#"></span><span class="t-Tabs-label">#TEXT#</span></a></li>' ,p_list_template_noncurrent=>'<li class="t-Tabs-item"><a href="#LINK#" class="t-Tabs-link"><span class="t-Icon #ICON_CSS_CLASSES#"></span><span class="t-Tabs-label">#TEXT#</span></a></li>' ,p_list_template_name=>'Tabs' ,p_internal_name=>'TABS' ,p_theme_id=>42 ,p_theme_class_id=>7 ,p_preset_template_options=>'t-Tabs--simple' ,p_list_template_before_rows=>'<ul class="t-Tabs #COMPONENT_CSS_CLASSES#">' ,p_list_template_after_rows=>'</ul>' ,p_reference_id=>3288206686691809997 ); end; / prompt --application/shared_components/user_interface/templates/list/top_navigation_menu begin wwv_flow_api.create_list_template( p_id=>wwv_flow_api.id(55689494277853258719) ,p_list_template_current=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>' ,p_list_template_noncurrent=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>' ,p_list_template_name=>'Top Navigation Menu' ,p_internal_name=>'TOP_NAVIGATION_MENU' ,p_javascript_code_onload=>wwv_flow_string.join(wwv_flow_t_varchar2( 'var e = apex.jQuery("##PARENT_STATIC_ID#_menubar", apex.gPageContext$);', 'if (e.hasClass("js-addActions")) {', ' if ( apex.actions ) {', ' apex.actions.addFromMarkup( e );', ' } else {', ' apex.debug.warn("Include actions.js to support menu shortcuts");', ' }', '}', 'e.menu({', ' behaveLikeTabs: e.hasClass("js-tabLike"),', ' menubarShowSubMenuIcon: e.hasClass("js-showSubMenuIcons") || null,', ' slide: e.hasClass("js-slide"),', ' menubar: true,', ' menubarOverflow: true', '});')) ,p_theme_id=>42 ,p_theme_class_id=>20 ,p_default_template_options=>'js-tabLike' ,p_list_template_before_rows=>'<div class="t-Header-nav-list #COMPONENT_CSS_CLASSES#" id="#PARENT_STATIC_ID#_menubar"><ul style="display:none">' ,p_list_template_after_rows=>'</ul></div>' ,p_before_sub_list=>'<ul>' ,p_after_sub_list=>'</ul></li>' ,p_sub_list_item_current=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>' ,p_sub_list_item_noncurrent=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>' ,p_item_templ_curr_w_child=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>' ,p_item_templ_noncurr_w_child=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>' ,p_sub_templ_curr_w_child=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>' ,p_sub_templ_noncurr_w_child=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>' ,p_a01_label=>'ID Attribute' ,p_a02_label=>'Disabled True / False' ,p_a03_label=>'Hide' ,p_a04_label=>'Title Attribute' ,p_a05_label=>'Shortcut Key' ,p_reference_id=>2525307901300239072 ); end; / prompt --application/shared_components/user_interface/templates/list/wizard_progress begin wwv_flow_api.create_list_template( p_id=>wwv_flow_api.id(55689494753681258720) ,p_list_template_current=>'<li class="t-WizardSteps-step is-active" id="#LIST_ITEM_ID#"><div class="t-WizardSteps-wrap"><span class="t-WizardSteps-marker"></span><span class="t-WizardSteps-label">#TEXT# <span class="t-WizardSteps-labelState"></span></span></div></li>' ,p_list_template_noncurrent=>'<li class="t-WizardSteps-step" id="#LIST_ITEM_ID#"><div class="t-WizardSteps-wrap"><span class="t-WizardSteps-marker"><span class="t-Icon a-Icon icon-check"></span></span><span class="t-WizardSteps-label">#TEXT# <span class="t-WizardSteps-labelState"' ||'></span></span></div></li>' ,p_list_template_name=>'Wizard Progress' ,p_internal_name=>'WIZARD_PROGRESS' ,p_javascript_code_onload=>'apex.theme.initWizardProgressBar();' ,p_theme_id=>42 ,p_theme_class_id=>17 ,p_preset_template_options=>'t-WizardSteps--displayLabels' ,p_list_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( '<h2 class="u-VisuallyHidden">#CURRENT_PROGRESS#</h2>', '<ul class="t-WizardSteps #COMPONENT_CSS_CLASSES#" id="#LIST_ID#">')) ,p_list_template_after_rows=>'</ul>' ,p_reference_id=>2008702338707394488 ); end; / prompt --application/shared_components/user_interface/templates/report/alerts begin wwv_flow_api.create_row_template( p_id=>wwv_flow_api.id(55689478534313258705) ,p_row_template_name=>'Alerts' ,p_internal_name=>'ALERTS' ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Alert t-Alert--horizontal t-Alert--colorBG t-Alert--defaultIcons t-Alert--#ALERT_TYPE#" role="alert">', ' <div class="t-Alert-wrap">', ' <div class="t-Alert-icon">', ' <span class="t-Icon"></span>', ' </div>', ' <div class="t-Alert-content">', ' <div class="t-Alert-header">', ' <h2 class="t-Alert-title">#ALERT_TITLE#</h2>', ' </div>', ' <div class="t-Alert-body">', ' #ALERT_DESC#', ' </div>', ' </div>', ' <div class="t-Alert-buttons">', ' #ALERT_ACTION#', ' </div>', ' </div>', '</div>')) ,p_row_template_before_rows=>'<div class="t-Alerts">' ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( '</div>', '<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>')) ,p_row_template_type=>'NAMED_COLUMNS' ,p_row_template_display_cond1=>'0' ,p_row_template_display_cond2=>'0' ,p_row_template_display_cond3=>'0' ,p_row_template_display_cond4=>'0' ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>' ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#', '</a>')) ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#', '</a>')) ,p_theme_id=>42 ,p_theme_class_id=>14 ,p_reference_id=>2881456138952347027 ,p_translate_this_template=>'N' ); end; / prompt --application/shared_components/user_interface/templates/report/badge_list begin wwv_flow_api.create_row_template( p_id=>wwv_flow_api.id(55689478673498258705) ,p_row_template_name=>'Badge List' ,p_internal_name=>'BADGE_LIST' ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li class="t-BadgeList-item">', ' <span class="t-BadgeList-label">#COLUMN_HEADER#</span>', ' <span class="t-BadgeList-value">#COLUMN_VALUE#</span>', '</li>')) ,p_row_template_before_rows=>'<ul class="t-BadgeList t-BadgeList--circular #COMPONENT_CSS_CLASSES#">' ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( '</ul>', '<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>')) ,p_row_template_type=>'GENERIC_COLUMNS' ,p_row_template_display_cond1=>'0' ,p_row_template_display_cond2=>'0' ,p_row_template_display_cond3=>'0' ,p_row_template_display_cond4=>'0' ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>' ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#', '</a>')) ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#', '</a>')) ,p_theme_id=>42 ,p_theme_class_id=>6 ,p_default_template_options=>'t-BadgeList--responsive' ,p_preset_template_options=>'t-BadgeList--large:t-BadgeList--fixed' ,p_reference_id=>2103197159775914759 ,p_translate_this_template=>'N' ); end; / prompt --application/shared_components/user_interface/templates/report/cards begin wwv_flow_api.create_row_template( p_id=>wwv_flow_api.id(55689480336426258706) ,p_row_template_name=>'Cards' ,p_internal_name=>'CARDS' ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li class="t-Cards-item #CARD_MODIFIERS#">', ' <div class="t-Card">', ' <a href="#CARD_LINK#" class="t-Card-wrap">', ' <div class="t-Card-icon u-color #CARD_COLOR#"><span class="t-Icon fa #CARD_ICON#"><span class="t-Card-initials" role="presentation">#CARD_INITIALS#</span></span></div>', ' <div class="t-Card-titleWrap"><h3 class="t-Card-title">#CARD_TITLE#</h3></div>', ' <div class="t-Card-body">', ' <div class="t-Card-desc">#CARD_TEXT#</div>', ' <div class="t-Card-info">#CARD_SUBTEXT#</div>', ' </div>', ' <span class="t-Card-colorFill u-color #CARD_COLOR#"></span>', ' </a>', ' </div>', '</li>')) ,p_row_template_condition1=>':CARD_LINK is not null' ,p_row_template2=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li class="t-Cards-item #CARD_MODIFIERS#">', ' <div class="t-Card">', ' <div class="t-Card-wrap">', ' <div class="t-Card-icon u-color #CARD_COLOR#"><span class="t-Icon fa #CARD_ICON#"><span class="t-Card-initials" role="presentation">#CARD_INITIALS#</span></span></div>', ' <div class="t-Card-titleWrap"><h3 class="t-Card-title">#CARD_TITLE#</h3></div>', ' <div class="t-Card-body">', ' <div class="t-Card-desc">#CARD_TEXT#</div>', ' <div class="t-Card-info">#CARD_SUBTEXT#</div>', ' </div>', ' <span class="t-Card-colorFill u-color #CARD_COLOR#"></span>', ' </div>', ' </div>', '</li>')) ,p_row_template_before_rows=>'<ul class="t-Cards #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES# id="#REGION_STATIC_ID#_cards">' ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( '</ul>', '<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>')) ,p_row_template_type=>'NAMED_COLUMNS' ,p_row_template_display_cond1=>'NOT_CONDITIONAL' ,p_row_template_display_cond2=>'0' ,p_row_template_display_cond3=>'0' ,p_row_template_display_cond4=>'NOT_CONDITIONAL' ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>' ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#', '</a>')) ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#', '</a>')) ,p_theme_id=>42 ,p_theme_class_id=>7 ,p_preset_template_options=>'t-Cards--animColorFill:t-Cards--3cols:t-Cards--featured' ,p_reference_id=>2973535649510699732 ,p_translate_this_template=>'N' ); end; / prompt --application/shared_components/user_interface/templates/report/comments begin wwv_flow_api.create_row_template( p_id=>wwv_flow_api.id(55689482654924258709) ,p_row_template_name=>'Comments' ,p_internal_name=>'COMMENTS' ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li class="t-Comments-item #COMMENT_MODIFIERS#">', ' <div class="t-Comments-icon a-MediaBlock-graphic">', ' <div class="t-Comments-userIcon #ICON_MODIFIER#" aria-hidden="true">#USER_ICON#</div>', ' </div>', ' <div class="t-Comments-body a-MediaBlock-content">', ' <div class="t-Comments-info">', ' #USER_NAME# &middot; <span class="t-Comments-date">#COMMENT_DATE#</span> <span class="t-Comments-actions">#ACTIONS#</span>', ' </div>', ' <div class="t-Comments-comment">', ' #COMMENT_TEXT##ATTRIBUTE_1##ATTRIBUTE_2##ATTRIBUTE_3##ATTRIBUTE_4#', ' </div>', ' </div>', '</li>')) ,p_row_template_before_rows=>'<ul class="t-Comments #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES# id="#REGION_STATIC_ID#_report">' ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( '</ul>', '<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>')) ,p_row_template_type=>'NAMED_COLUMNS' ,p_row_template_display_cond1=>'0' ,p_row_template_display_cond2=>'NOT_CONDITIONAL' ,p_row_template_display_cond3=>'0' ,p_row_template_display_cond4=>'0' ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>' ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#', '</a>')) ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>', '</a>', '')) ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#', '</a>')) ,p_theme_id=>42 ,p_theme_class_id=>7 ,p_preset_template_options=>'t-Comments--chat' ,p_reference_id=>2611722012730764232 ,p_translate_this_template=>'N' ); end; / prompt --application/shared_components/user_interface/templates/report/search_results begin wwv_flow_api.create_row_template( p_id=>wwv_flow_api.id(55689483071227258709) ,p_row_template_name=>'Search Results' ,p_internal_name=>'SEARCH_RESULTS' ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2( ' <li class="t-SearchResults-item">', ' <h3 class="t-SearchResults-title"><a href="#SEARCH_LINK#">#SEARCH_TITLE#</a></h3>', ' <div class="t-SearchResults-info">', ' <p class="t-SearchResults-desc">#SEARCH_DESC#</p>', ' <span class="t-SearchResults-misc">#LABEL_01#: #VALUE_01#</span>', ' </div>', ' </li>')) ,p_row_template_condition1=>':LABEL_02 is null' ,p_row_template2=>wwv_flow_string.join(wwv_flow_t_varchar2( ' <li class="t-SearchResults-item">', ' <h3 class="t-SearchResults-title"><a href="#SEARCH_LINK#">#SEARCH_TITLE#</a></h3>', ' <div class="t-SearchResults-info">', ' <p class="t-SearchResults-desc">#SEARCH_DESC#</p>', ' <span class="t-SearchResults-misc">#LABEL_01#: #VALUE_01#</span>', ' <span class="t-SearchResults-misc">#LABEL_02#: #VALUE_02#</span>', ' </div>', ' </li>')) ,p_row_template_condition2=>':LABEL_03 is null' ,p_row_template3=>wwv_flow_string.join(wwv_flow_t_varchar2( ' <li class="t-SearchResults-item">', ' <h3 class="t-SearchResults-title"><a href="#SEARCH_LINK#">#SEARCH_TITLE#</a></h3>', ' <div class="t-SearchResults-info">', ' <p class="t-SearchResults-desc">#SEARCH_DESC#</p>', ' <span class="t-SearchResults-misc">#LABEL_01#: #VALUE_01#</span>', ' <span class="t-SearchResults-misc">#LABEL_02#: #VALUE_02#</span>', ' <span class="t-SearchResults-misc">#LABEL_03#: #VALUE_03#</span>', ' </div>', ' </li>')) ,p_row_template_condition3=>':LABEL_04 is null' ,p_row_template4=>wwv_flow_string.join(wwv_flow_t_varchar2( ' <li class="t-SearchResults-item">', ' <h3 class="t-SearchResults-title"><a href="#SEARCH_LINK#">#SEARCH_TITLE#</a></h3>', ' <div class="t-SearchResults-info">', ' <p class="t-SearchResults-desc">#SEARCH_DESC#</p>', ' <span class="t-SearchResults-misc">#LABEL_01#: #VALUE_01#</span>', ' <span class="t-SearchResults-misc">#LABEL_02#: #VALUE_02#</span>', ' <span class="t-SearchResults-misc">#LABEL_03#: #VALUE_03#</span>', ' <span class="t-SearchResults-misc">#LABEL_04#: #VALUE_04#</span>', ' </div>', ' </li>')) ,p_row_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-SearchResults #COMPONENT_CSS_CLASSES#">', '<ul class="t-SearchResults-list">')) ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( '</ul>', '<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>', '</div>')) ,p_row_template_type=>'NAMED_COLUMNS' ,p_row_template_display_cond1=>'NOT_CONDITIONAL' ,p_row_template_display_cond2=>'NOT_CONDITIONAL' ,p_row_template_display_cond3=>'NOT_CONDITIONAL' ,p_row_template_display_cond4=>'NOT_CONDITIONAL' ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>' ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#', '</a>')) ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#', '</a>')) ,p_theme_id=>42 ,p_theme_class_id=>1 ,p_reference_id=>4070913431524059316 ,p_translate_this_template=>'N' ,p_row_template_comment=>' (SELECT link_text, link_target, detail1, detail2, last_modified)' ); end; / prompt --application/shared_components/user_interface/templates/report/standard begin wwv_flow_api.create_row_template( p_id=>wwv_flow_api.id(55689483178799258709) ,p_row_template_name=>'Standard' ,p_internal_name=>'STANDARD' ,p_row_template1=>'<td class="t-Report-cell" #ALIGNMENT# headers="#COLUMN_HEADER_NAME#">#COLUMN_VALUE#</td>' ,p_row_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Report #COMPONENT_CSS_CLASSES#" id="report_#REGION_STATIC_ID#" #REPORT_ATTRIBUTES#>', ' <div class="t-Report-wrap">', ' <table class="t-Report-pagination" role="presentation">#TOP_PAGINATION#</table>', ' <div class="t-Report-tableWrap">', ' <table class="t-Report-report" summary="#REGION_TITLE#">')) ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( ' </tbody>', ' </table>', ' </div>', ' <div class="t-Report-links">#EXTERNAL_LINK##CSV_LINK#</div>', ' <table class="t-Report-pagination t-Report-pagination--bottom" role="presentation">#PAGINATION#</table>', ' </div>', '</div>')) ,p_row_template_type=>'GENERIC_COLUMNS' ,p_before_column_heading=>'<thead>' ,p_column_heading_template=>'<th class="t-Report-colHead" #ALIGNMENT# id="#COLUMN_HEADER_NAME#" #COLUMN_WIDTH#>#COLUMN_HEADER#</th>' ,p_after_column_heading=>wwv_flow_string.join(wwv_flow_t_varchar2( '</thead>', '<tbody>')) ,p_row_template_display_cond1=>'0' ,p_row_template_display_cond2=>'0' ,p_row_template_display_cond3=>'0' ,p_row_template_display_cond4=>'0' ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>' ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#', '</a>')) ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#', '</a>')) ,p_theme_id=>42 ,p_theme_class_id=>4 ,p_preset_template_options=>'t-Report--altRowsDefault:t-Report--rowHighlight' ,p_reference_id=>2537207537838287671 ,p_translate_this_template=>'N' ); begin wwv_flow_api.create_row_template_patch( p_id=>wwv_flow_api.id(55689483178799258709) ,p_row_template_before_first=>'<tr>' ,p_row_template_after_last=>'</tr>' ); exception when others then null; end; end; / prompt --application/shared_components/user_interface/templates/report/timeline begin wwv_flow_api.create_row_template( p_id=>wwv_flow_api.id(55689484460656258710) ,p_row_template_name=>'Timeline' ,p_internal_name=>'TIMELINE' ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li class="t-Timeline-item #EVENT_MODIFIERS#" #EVENT_ATTRIBUTES#>', ' <div class="t-Timeline-wrap">', ' <div class="t-Timeline-user">', ' <div class="t-Timeline-avatar #USER_COLOR#">', ' #USER_AVATAR#', ' </div>', ' <div class="t-Timeline-userinfo">', ' <span class="t-Timeline-username">#USER_NAME#</span>', ' <span class="t-Timeline-date">#EVENT_DATE#</span>', ' </div>', ' </div>', ' <div class="t-Timeline-content">', ' <div class="t-Timeline-typeWrap">', ' <div class="t-Timeline-type #EVENT_STATUS#">', ' <span class="t-Icon #EVENT_ICON#"></span>', ' <span class="t-Timeline-typename">#EVENT_TYPE#</span>', ' </div>', ' </div>', ' <div class="t-Timeline-body">', ' <h3 class="t-Timeline-title">#EVENT_TITLE#</h3>', ' <p class="t-Timeline-desc">#EVENT_DESC#</p>', ' </div>', ' </div>', ' </div>', '</li>')) ,p_row_template_condition1=>':EVENT_LINK is null' ,p_row_template2=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li class="t-Timeline-item #EVENT_MODIFIERS#" #EVENT_ATTRIBUTES#>', ' <a href="#EVENT_LINK#" class="t-Timeline-wrap">', ' <div class="t-Timeline-user">', ' <div class="t-Timeline-avatar #USER_COLOR#">', ' #USER_AVATAR#', ' </div>', ' <div class="t-Timeline-userinfo">', ' <span class="t-Timeline-username">#USER_NAME#</span>', ' <span class="t-Timeline-date">#EVENT_DATE#</span>', ' </div>', ' </div>', ' <div class="t-Timeline-content">', ' <div class="t-Timeline-typeWrap">', ' <div class="t-Timeline-type #EVENT_STATUS#">', ' <span class="t-Icon #EVENT_ICON#"></span>', ' <span class="t-Timeline-typename">#EVENT_TYPE#</span>', ' </div>', ' </div>', ' <div class="t-Timeline-body">', ' <h3 class="t-Timeline-title">#EVENT_TITLE#</h3>', ' <p class="t-Timeline-desc">#EVENT_DESC#</p>', ' </div>', ' </div>', ' </a>', '</li>')) ,p_row_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( '<ul class="t-Timeline #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES# id="#REGION_STATIC_ID#_timeline">', '')) ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( '</ul>', '<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>')) ,p_row_template_type=>'NAMED_COLUMNS' ,p_row_template_display_cond1=>'NOT_CONDITIONAL' ,p_row_template_display_cond2=>'0' ,p_row_template_display_cond3=>'0' ,p_row_template_display_cond4=>'NOT_CONDITIONAL' ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>' ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#', '</a>')) ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#', '</a>')) ,p_theme_id=>42 ,p_theme_class_id=>7 ,p_reference_id=>1513373588340069864 ,p_translate_this_template=>'N' ); end; / prompt --application/shared_components/user_interface/templates/report/value_attribute_pairs_column begin wwv_flow_api.create_row_template( p_id=>wwv_flow_api.id(55689484670002258710) ,p_row_template_name=>'Value Attribute Pairs - Column' ,p_internal_name=>'VALUE_ATTRIBUTE_PAIRS_COLUMN' ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2( '<dt class="t-AVPList-label">', ' #COLUMN_HEADER#', '</dt>', '<dd class="t-AVPList-value">', ' #COLUMN_VALUE#', '</dd>')) ,p_row_template_before_rows=>'<dl class="t-AVPList #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES#>' ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( '</dl>', '<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>')) ,p_row_template_type=>'GENERIC_COLUMNS' ,p_row_template_display_cond1=>'0' ,p_row_template_display_cond2=>'0' ,p_row_template_display_cond3=>'0' ,p_row_template_display_cond4=>'0' ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>' ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#', '</a>')) ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#', '</a>')) ,p_theme_id=>42 ,p_theme_class_id=>6 ,p_preset_template_options=>'t-AVPList--leftAligned' ,p_reference_id=>2099068636272681754 ,p_translate_this_template=>'N' ); end; / prompt --application/shared_components/user_interface/templates/report/value_attribute_pairs_row begin wwv_flow_api.create_row_template( p_id=>wwv_flow_api.id(55689485634595258711) ,p_row_template_name=>'Value Attribute Pairs - Row' ,p_internal_name=>'VALUE_ATTRIBUTE_PAIRS_ROW' ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2( '<dt class="t-AVPList-label">', ' #1#', '</dt>', '<dd class="t-AVPList-value">', ' #2#', '</dd>')) ,p_row_template_before_rows=>'<dl class="t-AVPList #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES# id="report_#REGION_STATIC_ID#">' ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( '</dl>', '<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>')) ,p_row_template_type=>'NAMED_COLUMNS' ,p_row_template_display_cond1=>'0' ,p_row_template_display_cond2=>'0' ,p_row_template_display_cond3=>'0' ,p_row_template_display_cond4=>'0' ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>' ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#', '</a>')) ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#', '</a>')) ,p_theme_id=>42 ,p_theme_class_id=>7 ,p_preset_template_options=>'t-AVPList--leftAligned' ,p_reference_id=>2099068321678681753 ,p_translate_this_template=>'N' ); end; / prompt --application/shared_components/user_interface/templates/report/value_attribute_pairs_column_ali begin wwv_flow_api.create_row_template( p_id=>wwv_flow_api.id(55693439011091522468) ,p_row_template_name=>'Value Attribute Pairs - Column _ali' ,p_internal_name=>'VALUE_ATTRIBUTE_PAIRS_-_COLUMN__ALI' ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2( '<dt class="t-AVPList-label">', ' #COLUMN_HEADER#', '</dt>', '<dd class="t-AVPList-value">', ' #COLUMN_VALUE#', '</dd>')) ,p_row_template_before_rows=>'<dl class="t-AVPList #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES#>' ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( '', '</dl>', '', '<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>')) ,p_row_template_type=>'GENERIC_COLUMNS' ,p_row_template_display_cond1=>'0' ,p_row_template_display_cond2=>'0' ,p_row_template_display_cond3=>'0' ,p_row_template_display_cond4=>'0' ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>' ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#', '</a>')) ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#', '</a>')) ,p_theme_id=>42 ,p_theme_class_id=>6 ,p_preset_template_options=>'t-AVPList--leftAligned' ); begin wwv_flow_api.create_row_template_patch( p_id=>wwv_flow_api.id(55693439011091522468) ,p_row_template_after_last=>'<hr>' ); exception when others then null; end; end; / prompt --application/shared_components/user_interface/templates/report/value_attribute_pairs_row_ali begin wwv_flow_api.create_row_template( p_id=>wwv_flow_api.id(55905964705647512565) ,p_row_template_name=>'Value Attribute Pairs - Row ali' ,p_internal_name=>'VALUE_ATTRIBUTE_PAIRS_-_ROW_ALI' ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2( '<dt class="t-AVPList-label">', ' #1#', '</dt>', '<dd class="t-AVPList-value">', ' #2#', '</dd>', '<dt class="t-AVPList-label">', ' #1#', '</dt>', '<dd class="t-AVPList-value">', ' #3#', '</dd>', '<dt class="t-AVPList-label">', ' #1#', '</dt>', '<dd class="t-AVPList-value">', ' #4#', '</dd>', '')) ,p_row_template_before_rows=>'<dl class="t-AVPList #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES# id="report_#REGION_STATIC_ID#">' ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( '</dl>', '<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>')) ,p_row_template_type=>'NAMED_COLUMNS' ,p_row_template_display_cond1=>'0' ,p_row_template_display_cond2=>'0' ,p_row_template_display_cond3=>'0' ,p_row_template_display_cond4=>'0' ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>' ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#', '</a>')) ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#', '</a>')) ,p_theme_id=>42 ,p_theme_class_id=>7 ,p_preset_template_options=>'t-AVPList--leftAligned' ); end; / prompt --application/shared_components/user_interface/templates/report/timeline_ali begin wwv_flow_api.create_row_template( p_id=>wwv_flow_api.id(55911169741861327352) ,p_row_template_name=>'Timeline ali' ,p_internal_name=>'TIMELINE_ALI' ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li class="t-Timeline-item #EVENT_MODIFIERS#" #EVENT_ATTRIBUTES#>', ' <div class="t-Timeline-wrap">', ' <div class="t-Timeline-user">', ' <div class="t-Timeline-avatar #USER_COLOR#">', ' #USER_AVATAR#', ' </div>', ' <div class="t-Timeline-userinfo">', ' <span class="t-Timeline-username">#USER_NAME#</span>', ' <span class="t-Timeline-date">#EVENT_DATE#</span>', ' </div>', ' </div>', ' <div class="t-Timeline-content">', ' <div class="t-Timeline-typeWrap">', ' <div class="t-Timeline-type #EVENT_STATUS#">', ' <span class="t-Icon #EVENT_ICON#"></span>', ' <span class="t-Timeline-typename">#EVENT_TYPE#</span>', ' </div>', ' </div>', ' <div class="t-Timeline-body">', ' <h3 class="t-Timeline-title">#EVENT_TITLE#</h3>', ' <p class="t-Timeline-desc">#EVENT_DESC#</p>', ' </div>', ' </div>', ' </div>', '</li>')) ,p_row_template_condition1=>':EVENT_LINK is null' ,p_row_template2=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li class="t-Timeline-item #EVENT_MODIFIERS#" #EVENT_ATTRIBUTES#>', ' <a href="#EVENT_LINK#" class="t-Timeline-wrap">', ' <div class="t-Timeline-user">', ' <div class="t-Timeline-avatar #USER_COLOR#">', ' #USER_AVATAR#', ' </div>', ' <div class="t-Timeline-userinfo">', ' <span class="t-Timeline-username">#USER_NAME#</span>', ' <span class="t-Timeline-date">#EVENT_DATE#</span>', ' </div>', ' </div>', ' <div class="t-Timeline-content">', ' <div class="t-Timeline-typeWrap">', ' <div class="t-Timeline-type #EVENT_STATUS#">', ' <span class="t-Icon #EVENT_ICON#"></span>', ' <span class="t-Timeline-typename">#EVENT_TYPE#</span>', ' </div>', ' </div>', ' <div class="t-Timeline-body">', ' <h3 class="t-Timeline-title">#EVENT_TITLE#</h3>', ' <p class="t-Timeline-desc">#EVENT_DESC#</p>', ' </div>', ' </div>', ' </a>', '</li>')) ,p_row_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( '<ul class="t-Timeline #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES# id="#REGION_STATIC_ID#_timeline">', '')) ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( '</ul>', '<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>')) ,p_row_template_type=>'NAMED_COLUMNS' ,p_row_template_display_cond1=>'NOT_CONDITIONAL' ,p_row_template_display_cond2=>'0' ,p_row_template_display_cond3=>'0' ,p_row_template_display_cond4=>'NOT_CONDITIONAL' ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>' ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#', '</a>')) ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#', '</a>')) ,p_theme_id=>42 ,p_theme_class_id=>7 ,p_translate_this_template=>'N' ); end; / prompt --application/shared_components/user_interface/templates/report/search_results_ali begin wwv_flow_api.create_row_template( p_id=>wwv_flow_api.id(55922354268516630598) ,p_row_template_name=>'Search Results ali' ,p_internal_name=>'SEARCH_RESULTS_ALI' ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2( ' <li class="t-SearchResults-item">', ' <h3 class="t-SearchResults-title"><a href="#SEARCH_LINK#">#SEARCH_TITLE#</a></h3>', ' <div class="t-SearchResults-info">', ' <p class="t-SearchResults-desc">#SEARCH_DESC#</p>', ' <span class="t-SearchResults-misc">#LABEL_01#: #VALUE_01#</span>', ' </div>', ' </li>')) ,p_row_template_condition1=>':LABEL_02 is null' ,p_row_template2=>wwv_flow_string.join(wwv_flow_t_varchar2( ' <li class="t-SearchResults-item">', ' <h3 class="t-SearchResults-title"><a href="#SEARCH_LINK#">#SEARCH_TITLE#</a></h3>', ' <div class="t-SearchResults-info">', ' <p class="t-SearchResults-desc">#SEARCH_DESC#</p>', ' <span class="t-SearchResults-misc">#LABEL_01#: #VALUE_01#</span>', ' <span class="t-SearchResults-misc">#LABEL_02#: #VALUE_02#</span>', ' </div>', ' </li>')) ,p_row_template_condition2=>':LABEL_03 is null' ,p_row_template3=>wwv_flow_string.join(wwv_flow_t_varchar2( ' <li class="t-SearchResults-item">', ' <h3 class="t-SearchResults-title"><a href="#SEARCH_LINK#">#SEARCH_TITLE#</a></h3>', ' <div class="t-SearchResults-info">', ' <p class="t-SearchResults-desc">#SEARCH_DESC#</p>', ' <span class="t-SearchResults-misc">#LABEL_01#: #VALUE_01#</span>', ' <span class="t-SearchResults-misc">#LABEL_02#: #VALUE_02#</span>', ' <span class="t-SearchResults-misc">#LABEL_03#: #VALUE_03#</span>', ' </div>', ' </li>')) ,p_row_template_condition3=>':LABEL_04 is null' ,p_row_template4=>wwv_flow_string.join(wwv_flow_t_varchar2( ' <li class="t-SearchResults-item">', ' <h3 class="t-SearchResults-title"><a href="#SEARCH_LINK#">#SEARCH_TITLE#</a></h3>', ' <div class="t-SearchResults-info">', ' <p class="t-SearchResults-desc">#SEARCH_DESC#</p>', ' <span class="t-SearchResults-misc">#LABEL_01#: #VALUE_01#</span>', ' <span class="t-SearchResults-misc">#LABEL_02#: #VALUE_02#</span>', ' <span class="t-SearchResults-misc">#LABEL_03#: #VALUE_03#</span>', ' <span class="t-SearchResults-misc">#LABEL_04#: #VALUE_04#</span>', ' </div>', ' </li>')) ,p_row_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-SearchResults #COMPONENT_CSS_CLASSES#">', '<ul class="t-SearchResults-list">')) ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( '</ul>', '<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>', '</div>')) ,p_row_template_type=>'NAMED_COLUMNS' ,p_row_template_display_cond1=>'NOT_CONDITIONAL' ,p_row_template_display_cond2=>'NOT_CONDITIONAL' ,p_row_template_display_cond3=>'NOT_CONDITIONAL' ,p_row_template_display_cond4=>'NOT_CONDITIONAL' ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>' ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#', '</a>')) ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#', '</a>')) ,p_theme_id=>42 ,p_theme_class_id=>1 ,p_translate_this_template=>'N' ,p_row_template_comment=>' (SELECT link_text, link_target, detail1, detail2, last_modified)' ); end; / prompt --application/shared_components/user_interface/templates/report/comments_ai begin wwv_flow_api.create_row_template( p_id=>wwv_flow_api.id(55922557049686632089) ,p_row_template_name=>'Comments ai' ,p_internal_name=>'COMMENTS_AI' ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li class="t-Comments-item #COMMENT_MODIFIERS#">', ' <div class="t-Comments-icon a-MediaBlock-graphic">', ' <div class="t-Comments-userIcon #ICON_MODIFIER#" aria-hidden="true">#USER_ICON#</div>', ' </div>', ' <div class="t-Comments-body a-MediaBlock-content">', ' <div class="t-Comments-info">', ' #USER_NAME# &middot; <span class="t-Comments-date">#COMMENT_DATE#</span> <span class="t-Comments-actions">#ACTIONS#</span>', ' </div>', ' <div class="t-Comments-comment">', ' #COMMENT_TEXT##ATTRIBUTE_1##ATTRIBUTE_2##ATTRIBUTE_3##ATTRIBUTE_4#', ' </div>', ' </div>', '</li>')) ,p_row_template_before_rows=>'<ul class="t-Comments #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES# id="#REGION_STATIC_ID#_report">' ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( '</ul>', '<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>')) ,p_row_template_type=>'NAMED_COLUMNS' ,p_row_template_display_cond1=>'0' ,p_row_template_display_cond2=>'NOT_CONDITIONAL' ,p_row_template_display_cond3=>'0' ,p_row_template_display_cond4=>'0' ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>' ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#', '</a>')) ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>', '</a>', '')) ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#', '</a>')) ,p_theme_id=>42 ,p_theme_class_id=>7 ,p_preset_template_options=>'t-Comments--chat' ,p_translate_this_template=>'N' ); end; / prompt --application/shared_components/user_interface/templates/report/cards_ali begin wwv_flow_api.create_row_template( p_id=>wwv_flow_api.id(55923070163834413654) ,p_row_template_name=>'Cards ali' ,p_internal_name=>'CARDS_ALI' ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li class="t-Cards-item #CARD_MODIFIERS#">', ' <div class="t-Card">', ' <a href="#CARD_LINK#" class="t-Card-wrap">', ' <div class="t-Card-icon u-color #CARD_COLOR#"><span class="t-Icon fa #CARD_ICON#"><span class="t-Card-initials" role="presentation">#CARD_INITIALS#</span></span></div>', ' <div class="t-Card-titleWrap"><h3 class="t-Card-title">#CARD_TITLE#</h3></div>', ' <div class="t-Card-body">', ' <div class="t-Card-desc">#CARD_TEXT#</div>', ' <div class="t-Card-info">#CARD_SUBTEXT#</div>', ' </div>', ' <span class="t-Card-colorFill u-color #CARD_COLOR#"></span>', ' </a>', ' </div>', '</li>')) ,p_row_template_condition1=>':CARD_LINK is not null' ,p_row_template2=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li class="t-Cards-item #CARD_MODIFIERS#">', ' <div class="t-Card">', ' <div class="t-Card-wrap">', ' <div class="t-Card-icon u-color #CARD_COLOR#"><span class="t-Icon fa #CARD_ICON#"><span class="t-Card-initials" role="presentation">#CARD_INITIALS#</span></span></div>', ' <div class="t-Card-titleWrap"><h3 class="t-Card-title">#CARD_TITLE#</h3></div>', ' <div class="t-Card-body">', ' <div class="t-Card-desc">#CARD_TEXT#</div>', ' <div class="t-Card-info">#CARD_SUBTEXT#</div>', ' </div>', ' <span class="t-Card-colorFill u-color #CARD_COLOR#"></span>', ' </div>', ' </div>', '</li>')) ,p_row_template_before_rows=>'<ul class="t-Cards #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES# id="#REGION_STATIC_ID#_cards">' ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( '</ul>', '<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>')) ,p_row_template_type=>'NAMED_COLUMNS' ,p_row_template_display_cond1=>'NOT_CONDITIONAL' ,p_row_template_display_cond2=>'0' ,p_row_template_display_cond3=>'0' ,p_row_template_display_cond4=>'NOT_CONDITIONAL' ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>' ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#', '</a>')) ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#', '</a>')) ,p_theme_id=>42 ,p_theme_class_id=>7 ,p_preset_template_options=>'t-Cards--animColorFill:t-Cards--3cols:t-Cards--featured' ); end; / prompt --application/shared_components/user_interface/templates/report/badge_list_ali begin wwv_flow_api.create_row_template( p_id=>wwv_flow_api.id(55923419440928416640) ,p_row_template_name=>'Badge List Ali' ,p_internal_name=>'BADGE_LIST_ALI' ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li class="t-BadgeList-item">', ' <span class="t-BadgeList-label">#COLUMN_HEADER#</span>', ' <span class="t-BadgeList-value">#COLUMN_VALUE#</span>', '</li>', '')) ,p_row_template_before_rows=>'<ul class="t-BadgeList t-BadgeList--circular #COMPONENT_CSS_CLASSES#">' ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( '</ul>', '<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>')) ,p_row_template_type=>'GENERIC_COLUMNS' ,p_row_template_display_cond1=>'0' ,p_row_template_display_cond2=>'0' ,p_row_template_display_cond3=>'0' ,p_row_template_display_cond4=>'0' ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>' ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#', '</a>')) ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#', '</a>')) ,p_theme_id=>42 ,p_theme_class_id=>6 ,p_default_template_options=>'t-BadgeList--responsive' ,p_preset_template_options=>'t-BadgeList--large:t-BadgeList--fixed' ); end; / prompt --application/shared_components/user_interface/templates/report/alerts_ali begin wwv_flow_api.create_row_template( p_id=>wwv_flow_api.id(55923564898923639408) ,p_row_template_name=>'Alerts ali' ,p_internal_name=>'ALERTS_ALI' ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Alert t-Alert--horizontal t-Alert--colorBG t-Alert--defaultIcons t-Alert--#ALERT_TYPE#" role="alert">', ' <div class="t-Alert-wrap">', ' <div class="t-Alert-icon">', ' <span class="t-Icon"></span>', ' </div>', ' <div class="t-Alert-content">', ' <div class="t-Alert-header">', ' <h2 class="t-Alert-title">#ALERT_TITLE#</h2>', ' </div>', ' <div class="t-Alert-body">', ' #ALERT_DESC#', ' </div>', ' </div>', ' <div class="t-Alert-buttons">', ' #ALERT_ACTION#', ' </div>', ' </div>', '</div>')) ,p_row_template_before_rows=>'<div class="t-Alerts">' ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( '</div>', '<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>')) ,p_row_template_type=>'NAMED_COLUMNS' ,p_row_template_display_cond1=>'0' ,p_row_template_display_cond2=>'0' ,p_row_template_display_cond3=>'0' ,p_row_template_display_cond4=>'0' ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>' ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#', '</a>')) ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#', '</a>')) ,p_theme_id=>42 ,p_theme_class_id=>14 ,p_translate_this_template=>'N' ); end; / prompt --application/shared_components/user_interface/templates/report/pricing begin wwv_flow_api.create_row_template( p_id=>wwv_flow_api.id(56210270446698389648) ,p_row_template_name=>'Pricing' ,p_internal_name=>'PRICING' ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li class="columns">', ' <div class="price">', ' <div class="header">#NAME#</div>', ' <div class="grey">$ #PRICE# </div>', ' <div>#DESCRIPTION#</div>', ' <div>#AVAIL#</div>', ' <div>10 Domains</div>', ' <div>1GB Bandwidth</div>', ' <div class="grey"><span class="button">#LINK#</span></div>', ' </div>', '</li>')) ,p_row_template_condition1=>':CARD_LINK is not null' ,p_row_template2=>wwv_flow_string.join(wwv_flow_t_varchar2( '<li class="columns">', ' <div class="price">', ' <div class="header">#NAME#</div>', ' <div class="grey">$ #PRICE# </div>', ' <div>#DESCRIPTION#</div>', ' <div>#AVAIL#</div>', ' <div>10 Domains</div>', ' <div>1GB Bandwidth</div>', ' <div class="grey"><span class="button">#LINK#</span></div>', ' </div>', '</li>')) ,p_row_template_before_rows=>'<ul class="t-Cards #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES# id="#REGION_STATIC_ID#_cards">' ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( '</ul>', '<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>')) ,p_row_template_type=>'NAMED_COLUMNS' ,p_row_template_display_cond1=>'NOT_CONDITIONAL' ,p_row_template_display_cond2=>'0' ,p_row_template_display_cond3=>'0' ,p_row_template_display_cond4=>'NOT_CONDITIONAL' ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>' ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#', '</a>')) ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#', '</a>')) ,p_theme_id=>42 ,p_theme_class_id=>7 ,p_preset_template_options=>'t-Cards--animColorFill:t-Cards--3cols:t-Cards--featured' ); end; / prompt --application/shared_components/user_interface/templates/report/pricing_2 begin wwv_flow_api.create_row_template( p_id=>wwv_flow_api.id(56722900093109423709) ,p_row_template_name=>'Pricing_2' ,p_internal_name=>'PRICING_2' ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="columns">', ' <ul class="price">', ' <li class="header">#NAME#</li>', ' <li class="grey">$ #PRICE# </li>', ' <li>#DESCRIPTION#</li>', ' <li>#AVAIL#</li>', ' <li>10 Domains</li>', ' <li>1GB Bandwidth</li>', ' <li class="grey"><span class="button">#LINK#</span></li>', ' </ul>', '</div>')) ,p_row_template_condition1=>':CARD_LINK is not null' ,p_row_template2=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="columns">', ' <ul class="price">', ' <li class="header">#NAME#</li>', ' <li class="grey">$ #PRICE# </li>', ' <li>#DESCRIPTION#</li>', ' <li>#AVAIL#</li>', ' <li>10 Domains</li>', ' <li>1GB Bandwidth</li>', ' <li class="grey"><span class="button">#LINK#</span></li>', ' </ul>', '</div>')) ,p_row_template_before_rows=>'<ul class="t-Cards #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES# id="#REGION_STATIC_ID#_cards">' ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2( '</ul>', '<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>')) ,p_row_template_type=>'NAMED_COLUMNS' ,p_row_template_display_cond1=>'NOT_CONDITIONAL' ,p_row_template_display_cond2=>'0' ,p_row_template_display_cond3=>'0' ,p_row_template_display_cond4=>'NOT_CONDITIONAL' ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>' ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#', '</a>')) ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">', ' #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>', '</a>')) ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2( '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">', ' <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#', '</a>')) ,p_theme_id=>42 ,p_theme_class_id=>7 ,p_preset_template_options=>'t-Cards--animColorFill:t-Cards--3cols:t-Cards--featured' ); end; / prompt --application/shared_components/user_interface/templates/label/hidden begin wwv_flow_api.create_field_template( p_id=>wwv_flow_api.id(55689495355838258720) ,p_template_name=>'Hidden' ,p_internal_name=>'HIDDEN' ,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Form-labelContainer t-Form-labelContainer--hiddenLabel col col-#LABEL_COLUMN_SPAN_NUMBER#">', '<label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#" class="t-Form-label u-VisuallyHidden">')) ,p_template_body2=>wwv_flow_string.join(wwv_flow_t_varchar2( '</label>', '</div>')) ,p_before_item=>'<div class="t-Form-fieldContainer t-Form-fieldContainer--hiddenLabel rel-col #ITEM_CSS_CLASSES#" id="#CURRENT_ITEM_CONTAINER_ID#">' ,p_after_item=>'</div>' ,p_item_pre_text=>'<span class="t-Form-itemText t-Form-itemText--pre">#CURRENT_ITEM_PRE_TEXT#</span>' ,p_item_post_text=>'<span class="t-Form-itemText t-Form-itemText--post">#CURRENT_ITEM_POST_TEXT#</span>' ,p_before_element=>'<div class="t-Form-inputContainer col col-#ITEM_COLUMN_SPAN_NUMBER#"><div class="t-Form-itemWrapper">#ITEM_PRE_TEXT#' ,p_after_element=>'#ITEM_POST_TEXT##HELP_TEMPLATE#</div>#INLINE_HELP_TEMPLATE##ERROR_TEMPLATE#</div>' ,p_help_link=>'<button class="t-Button t-Button--noUI t-Button--helpButton js-itemHelp" data-itemhelp="#CURRENT_ITEM_ID#" title="#CURRENT_ITEM_HELP_LABEL#" aria-label="#CURRENT_ITEM_HELP_LABEL#" tabindex="-1" type="button"><span class="a-Icon icon-help" aria-hidden' ||'="true"></span></button>' ,p_inline_help_text=>'<span class="t-Form-inlineHelp">#CURRENT_ITEM_INLINE_HELP_TEXT#</span>' ,p_error_template=>'<span class="t-Form-error">#ERROR_MESSAGE#</span>' ,p_theme_id=>42 ,p_theme_class_id=>13 ,p_reference_id=>2039339104148359505 ,p_translate_this_template=>'N' ); end; / prompt --application/shared_components/user_interface/templates/label/optional begin wwv_flow_api.create_field_template( p_id=>wwv_flow_api.id(55689495400300258721) ,p_template_name=>'Optional' ,p_internal_name=>'OPTIONAL' ,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Form-labelContainer col col-#LABEL_COLUMN_SPAN_NUMBER#">', '<label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#" class="t-Form-label">')) ,p_template_body2=>wwv_flow_string.join(wwv_flow_t_varchar2( '</label>', '</div>', '')) ,p_before_item=>'<div class="t-Form-fieldContainer rel-col #ITEM_CSS_CLASSES#" id="#CURRENT_ITEM_CONTAINER_ID#">' ,p_after_item=>'</div>' ,p_item_pre_text=>'<span class="t-Form-itemText t-Form-itemText--pre">#CURRENT_ITEM_PRE_TEXT#</span>' ,p_item_post_text=>'<span class="t-Form-itemText t-Form-itemText--post">#CURRENT_ITEM_POST_TEXT#</span>' ,p_before_element=>'<div class="t-Form-inputContainer col col-#ITEM_COLUMN_SPAN_NUMBER#"><div class="t-Form-itemWrapper">#ITEM_PRE_TEXT#' ,p_after_element=>'#ITEM_POST_TEXT##HELP_TEMPLATE#</div>#INLINE_HELP_TEMPLATE##ERROR_TEMPLATE#</div>' ,p_help_link=>'<button class="t-Button t-Button--noUI t-Button--helpButton js-itemHelp" data-itemhelp="#CURRENT_ITEM_ID#" title="#CURRENT_ITEM_HELP_LABEL#" aria-label="#CURRENT_ITEM_HELP_LABEL#" tabindex="-1" type="button"><span class="a-Icon icon-help" aria-hidden' ||'="true"></span></button>' ,p_inline_help_text=>'<span class="t-Form-inlineHelp">#CURRENT_ITEM_INLINE_HELP_TEXT#</span>' ,p_error_template=>'<span class="t-Form-error">#ERROR_MESSAGE#</span>' ,p_theme_id=>42 ,p_theme_class_id=>3 ,p_reference_id=>2317154212072806530 ,p_translate_this_template=>'N' ); end; / prompt --application/shared_components/user_interface/templates/label/optional_above begin wwv_flow_api.create_field_template( p_id=>wwv_flow_api.id(55689495561609258721) ,p_template_name=>'Optional - Above' ,p_internal_name=>'OPTIONAL_ABOVE' ,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Form-labelContainer">', '<label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#" class="t-Form-label">')) ,p_template_body2=>wwv_flow_string.join(wwv_flow_t_varchar2( '</label>#HELP_TEMPLATE#', '</div>')) ,p_before_item=>'<div class="t-Form-fieldContainer t-Form-fieldContainer--stacked #ITEM_CSS_CLASSES#" id="#CURRENT_ITEM_CONTAINER_ID#">' ,p_after_item=>'</div>' ,p_item_pre_text=>'<span class="t-Form-itemText t-Form-itemText--pre">#CURRENT_ITEM_PRE_TEXT#</span>' ,p_item_post_text=>'<span class="t-Form-itemText t-Form-itemText--post">#CURRENT_ITEM_POST_TEXT#</span>' ,p_before_element=>'<div class="t-Form-inputContainer"><div class="t-Form-itemWrapper">#ITEM_PRE_TEXT#' ,p_after_element=>'#ITEM_POST_TEXT#</div>#INLINE_HELP_TEMPLATE##ERROR_TEMPLATE#</div>' ,p_help_link=>'<button class="t-Button t-Button--noUI t-Button--helpButton js-itemHelp" data-itemhelp="#CURRENT_ITEM_ID#" title="#CURRENT_ITEM_HELP_LABEL#" aria-label="#CURRENT_ITEM_HELP_LABEL#" tabindex="-1" type="button"><span class="a-Icon icon-help" aria-hidden' ||'="true"></span></button>' ,p_inline_help_text=>'<span class="t-Form-inlineHelp">#CURRENT_ITEM_INLINE_HELP_TEXT#</span>' ,p_error_template=>'<span class="t-Form-error">#ERROR_MESSAGE#</span>' ,p_theme_id=>42 ,p_theme_class_id=>3 ,p_reference_id=>3030114864004968404 ,p_translate_this_template=>'N' ); end; / prompt --application/shared_components/user_interface/templates/label/required begin wwv_flow_api.create_field_template( p_id=>wwv_flow_api.id(55689495677984258721) ,p_template_name=>'Required' ,p_internal_name=>'REQUIRED' ,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Form-labelContainer col col-#LABEL_COLUMN_SPAN_NUMBER#">', ' <label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#" class="t-Form-label">')) ,p_template_body2=>wwv_flow_string.join(wwv_flow_t_varchar2( ' <span class="u-VisuallyHidden">(#VALUE_REQUIRED#)</span></label>', '</div>')) ,p_before_item=>'<div class="t-Form-fieldContainer is-required rel-col #ITEM_CSS_CLASSES#" id="#CURRENT_ITEM_CONTAINER_ID#">' ,p_after_item=>'</div>' ,p_item_pre_text=>'<span class="t-Form-itemText t-Form-itemText--pre">#CURRENT_ITEM_PRE_TEXT#</span>' ,p_item_post_text=>'<span class="t-Form-itemText t-Form-itemText--post">#CURRENT_ITEM_POST_TEXT#</span>' ,p_before_element=>'<div class="t-Form-inputContainer col col-#ITEM_COLUMN_SPAN_NUMBER#"><div class="t-Form-itemWrapper">#ITEM_PRE_TEXT#' ,p_after_element=>'#ITEM_POST_TEXT##HELP_TEMPLATE#</div>#INLINE_HELP_TEMPLATE##ERROR_TEMPLATE#</div>' ,p_help_link=>'<button class="t-Button t-Button--noUI t-Button--helpButton js-itemHelp" data-itemhelp="#CURRENT_ITEM_ID#" title="#CURRENT_ITEM_HELP_LABEL#" aria-label="#CURRENT_ITEM_HELP_LABEL#" tabindex="-1" type="button"><span class="a-Icon icon-help" aria-hidden' ||'="true"></span></button>' ,p_inline_help_text=>'<span class="t-Form-inlineHelp">#CURRENT_ITEM_INLINE_HELP_TEXT#</span>' ,p_error_template=>'<span class="t-Form-error">#ERROR_MESSAGE#</span>' ,p_theme_id=>42 ,p_theme_class_id=>4 ,p_reference_id=>2525313812251712801 ,p_translate_this_template=>'N' ); end; / prompt --application/shared_components/user_interface/templates/label/required_above begin wwv_flow_api.create_field_template( p_id=>wwv_flow_api.id(55689495739602258721) ,p_template_name=>'Required - Above' ,p_internal_name=>'REQUIRED_ABOVE' ,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-Form-labelContainer">', ' <label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#" class="t-Form-label">')) ,p_template_body2=>wwv_flow_string.join(wwv_flow_t_varchar2( ' <span class="u-VisuallyHidden">(#VALUE_REQUIRED#)</span></label><span class="t-Form-required"><span class="a-Icon icon-asterisk"></span></span> #HELP_TEMPLATE#', '</div>')) ,p_before_item=>'<div class="t-Form-fieldContainer t-Form-fieldContainer--stacked #ITEM_CSS_CLASSES#" id="#CURRENT_ITEM_CONTAINER_ID#">' ,p_after_item=>'</div>' ,p_item_pre_text=>'<span class="t-Form-itemText t-Form-itemText--pre">#CURRENT_ITEM_PRE_TEXT#</span>' ,p_item_post_text=>'<span class="t-Form-itemText t-Form-itemText--post">#CURRENT_ITEM_POST_TEXT#</span>' ,p_before_element=>'<div class="t-Form-inputContainer"><div class="t-Form-itemWrapper">#ITEM_PRE_TEXT#' ,p_after_element=>'#ITEM_POST_TEXT#</div>#INLINE_HELP_TEMPLATE##ERROR_TEMPLATE#</div>' ,p_help_link=>'<button class="t-Button t-Button--noUI t-Button--helpButton js-itemHelp" data-itemhelp="#CURRENT_ITEM_ID#" title="#CURRENT_ITEM_HELP_LABEL#" aria-label="#CURRENT_ITEM_HELP_LABEL#" tabindex="-1" type="button"><span class="a-Icon icon-help" aria-hidden' ||'="true"></span></button>' ,p_inline_help_text=>'<span class="t-Form-inlineHelp">#CURRENT_ITEM_INLINE_HELP_TEXT#</span>' ,p_error_template=>'<span class="t-Form-error">#ERROR_MESSAGE#</span>' ,p_theme_id=>42 ,p_theme_class_id=>4 ,p_reference_id=>3030115129444970113 ,p_translate_this_template=>'N' ); end; / prompt --application/shared_components/user_interface/templates/breadcrumb/breadcrumb begin wwv_flow_api.create_menu_template( p_id=>wwv_flow_api.id(55689496492117258723) ,p_name=>'Breadcrumb' ,p_internal_name=>'BREADCRUMB' ,p_before_first=>'<ul class="t-Breadcrumb #COMPONENT_CSS_CLASSES#">' ,p_current_page_option=>'<li class="t-Breadcrumb-item is-active"><h1 class="t-Breadcrumb-label">#NAME#</h1></li>' ,p_non_current_page_option=>'<li class="t-Breadcrumb-item"><a href="#LINK#" class="t-Breadcrumb-label">#NAME#</a></li>' ,p_after_last=>'</ul>' ,p_max_levels=>6 ,p_start_with_node=>'PARENT_TO_LEAF' ,p_theme_id=>42 ,p_theme_class_id=>1 ,p_reference_id=>4070916542570059325 ,p_translate_this_template=>'N' ); end; / prompt --application/shared_components/user_interface/templates/popuplov begin wwv_flow_api.create_popup_lov_template( p_id=>wwv_flow_api.id(55689496685973258725) ,p_page_name=>'winlov' ,p_page_title=>'Search Dialog' ,p_page_html_head=>wwv_flow_string.join(wwv_flow_t_varchar2( '<!DOCTYPE html>', '<html lang="&BROWSER_LANGUAGE.">', '<head>', '<title>#TITLE#</title>', '#APEX_CSS#', '#THEME_CSS#', '#THEME_STYLE_CSS#', '#FAVICONS#', '#APEX_JAVASCRIPT#', '#THEME_JAVASCRIPT#', '<meta name="viewport" content="width=device-width,initial-scale=1.0" />', '</head>')) ,p_page_body_attr=>'onload="first_field()" class="t-Page t-Page--popupLOV"' ,p_before_field_text=>'<div class="t-PopupLOV-actions t-Form--large">' ,p_filter_width=>'20' ,p_filter_max_width=>'100' ,p_filter_text_attr=>'class="t-Form-field t-Form-searchField"' ,p_find_button_text=>'Search' ,p_find_button_attr=>'class="t-Button t-Button--hot t-Button--padLeft"' ,p_close_button_text=>'Close' ,p_close_button_attr=>'class="t-Button u-pullRight"' ,p_next_button_text=>'Next &gt;' ,p_next_button_attr=>'class="t-Button t-PopupLOV-button"' ,p_prev_button_text=>'&lt; Previous' ,p_prev_button_attr=>'class="t-Button t-PopupLOV-button"' ,p_after_field_text=>'</div>' ,p_scrollbars=>'1' ,p_resizable=>'1' ,p_width=>'380' ,p_height=>'380' ,p_result_row_x_of_y=>'<div class="t-PopupLOV-pagination">Row(s) #FIRST_ROW# - #LAST_ROW#</div>' ,p_result_rows_per_pg=>100 ,p_before_result_set=>'<div class="t-PopupLOV-links">' ,p_theme_id=>42 ,p_theme_class_id=>1 ,p_reference_id=>2885398517835871876 ,p_translate_this_template=>'N' ,p_after_result_set=>'</div>' ); end; / prompt --application/shared_components/user_interface/templates/calendar/calendar begin wwv_flow_api.create_calendar_template( p_id=>wwv_flow_api.id(55689496599884258724) ,p_cal_template_name=>'Calendar' ,p_internal_name=>'CALENDAR' ,p_day_of_week_format=>wwv_flow_string.join(wwv_flow_t_varchar2( '<th id="#DY#" scope="col" class="t-ClassicCalendar-dayColumn">', ' <span class="visible-md visible-lg">#IDAY#</span>', ' <span class="hidden-md hidden-lg">#IDY#</span>', '</th>')) ,p_month_title_format=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-ClassicCalendar">', '<h1 class="t-ClassicCalendar-title">#IMONTH# #YYYY#</h1>')) ,p_month_open_format=>'<table class="t-ClassicCalendar-calendar" cellpadding="0" cellspacing="0" border="0" summary="#IMONTH# #YYYY#">' ,p_month_close_format=>wwv_flow_string.join(wwv_flow_t_varchar2( '</table>', '</div>', '')) ,p_day_title_format=>'<span class="t-ClassicCalendar-date">#DD#</span>' ,p_day_open_format=>'<td class="t-ClassicCalendar-day" headers="#DY#">#TITLE_FORMAT#<div class="t-ClassicCalendar-dayEvents">#DATA#</div>' ,p_day_close_format=>'</td>' ,p_today_open_format=>'<td class="t-ClassicCalendar-day is-today" headers="#DY#">#TITLE_FORMAT#<div class="t-ClassicCalendar-dayEvents">#DATA#</div>' ,p_weekend_title_format=>'<span class="t-ClassicCalendar-date">#DD#</span>' ,p_weekend_open_format=>'<td class="t-ClassicCalendar-day is-weekend" headers="#DY#">#TITLE_FORMAT#<div class="t-ClassicCalendar-dayEvents">#DATA#</div>' ,p_weekend_close_format=>'</td>' ,p_nonday_title_format=>'<span class="t-ClassicCalendar-date">#DD#</span>' ,p_nonday_open_format=>'<td class="t-ClassicCalendar-day is-inactive" headers="#DY#">' ,p_nonday_close_format=>'</td>' ,p_week_open_format=>'<tr>' ,p_week_close_format=>'</tr> ' ,p_daily_title_format=>'<table cellspacing="0" cellpadding="0" border="0" summary="" class="t1DayCalendarHolder"> <tr> <td class="t1MonthTitle">#IMONTH# #DD#, #YYYY#</td> </tr> <tr> <td>' ,p_daily_open_format=>'<tr>' ,p_daily_close_format=>'</tr>' ,p_weekly_title_format=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-ClassicCalendar t-ClassicCalendar--weekly">', '<h1 class="t-ClassicCalendar-title">#WTITLE#</h1>')) ,p_weekly_day_of_week_format=>wwv_flow_string.join(wwv_flow_t_varchar2( '<th scope="col" class="t-ClassicCalendar-dayColumn" id="#DY#">', ' <span class="visible-md visible-lg">#DD# #IDAY#</span>', ' <span class="hidden-md hidden-lg">#DD# #IDY#</span>', '</th>')) ,p_weekly_month_open_format=>'<table border="0" cellpadding="0" cellspacing="0" summary="#CALENDAR_TITLE# #START_DL# - #END_DL#" class="t-ClassicCalendar-calendar">' ,p_weekly_month_close_format=>wwv_flow_string.join(wwv_flow_t_varchar2( '</table>', '</div>')) ,p_weekly_day_open_format=>'<td class="t-ClassicCalendar-day" headers="#DY#"><div class="t-ClassicCalendar-dayEvents">' ,p_weekly_day_close_format=>'</div></td>' ,p_weekly_today_open_format=>'<td class="t-ClassicCalendar-day is-today" headers="#DY#"><div class="t-ClassicCalendar-dayEvents">' ,p_weekly_weekend_open_format=>'<td class="t-ClassicCalendar-day is-weekend" headers="#DY#"><div class="t-ClassicCalendar-dayEvents">' ,p_weekly_weekend_close_format=>'</div></td>' ,p_weekly_time_open_format=>'<th scope="row" class="t-ClassicCalendar-day t-ClassicCalendar-timeCol">' ,p_weekly_time_close_format=>'</th>' ,p_weekly_time_title_format=>'#TIME#' ,p_weekly_hour_open_format=>'<tr>' ,p_weekly_hour_close_format=>'</tr>' ,p_daily_day_of_week_format=>'<th scope="col" id="#DY#" class="t-ClassicCalendar-dayColumn">#IDAY#</th>' ,p_daily_month_title_format=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-ClassicCalendar t-ClassicCalendar--daily">', '<h1 class="t-ClassicCalendar-title">#IMONTH# #DD#, #YYYY#</h1>')) ,p_daily_month_open_format=>'<table border="0" cellpadding="0" cellspacing="0" summary="#CALENDAR_TITLE# #START_DL#" class="t-ClassicCalendar-calendar">' ,p_daily_month_close_format=>wwv_flow_string.join(wwv_flow_t_varchar2( '</table>', '</div>')) ,p_daily_day_open_format=>'<td class="t-ClassicCalendar-day" headers="#DY#"><div class="t-ClassicCalendar-dayEvents">' ,p_daily_day_close_format=>'</div></td>' ,p_daily_today_open_format=>'<td class="t-ClassicCalendar-day is-today" headers="#DY#"><div class="t-ClassicCalendar-dayEvents">' ,p_daily_time_open_format=>'<th scope="row" class="t-ClassicCalendar-day t-ClassicCalendar-timeCol" id="#TIME#">' ,p_daily_time_close_format=>'</th>' ,p_daily_time_title_format=>'#TIME#' ,p_daily_hour_open_format=>'<tr>' ,p_daily_hour_close_format=>'</tr>' ,p_cust_month_title_format=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-ClassicCalendar">', '<h1 class="t-ClassicCalendar-title">#IMONTH# #YYYY#</h1>')) ,p_cust_day_of_week_format=>wwv_flow_string.join(wwv_flow_t_varchar2( '<th id="#DY#" scope="col" class="t-ClassicCalendar-dayColumn">', ' <span class="visible-md visible-lg">#IDAY#</span>', ' <span class="hidden-md hidden-lg">#IDY#</span>', '</th>')) ,p_cust_month_open_format=>'<table class="t-ClassicCalendar-calendar" cellpadding="0" cellspacing="0" border="0" summary="#IMONTH# #YYYY#">' ,p_cust_month_close_format=>wwv_flow_string.join(wwv_flow_t_varchar2( '</table>', '</div>')) ,p_cust_week_open_format=>'<tr>' ,p_cust_week_close_format=>'</tr> ' ,p_cust_day_title_format=>'<span class="t-ClassicCalendar-date">#DD#</span>' ,p_cust_day_open_format=>'<td class="t-ClassicCalendar-day" headers="#DY#">' ,p_cust_day_close_format=>'</td>' ,p_cust_today_open_format=>'<td class="t-ClassicCalendar-day is-today" headers="#DY#">' ,p_cust_nonday_title_format=>'<span class="t-ClassicCalendar-date">#DD#</span>' ,p_cust_nonday_open_format=>'<td class="t-ClassicCalendar-day is-inactive" headers="#DY#">' ,p_cust_nonday_close_format=>'</td>' ,p_cust_weekend_title_format=>'<span class="t-ClassicCalendar-date">#DD#</span>' ,p_cust_weekend_open_format=>'<td class="t-ClassicCalendar-day is-weekend" headers="#DY#">' ,p_cust_weekend_close_format=>'</td>' ,p_cust_hour_open_format=>'<tr>' ,p_cust_hour_close_format=>'</tr>' ,p_cust_time_title_format=>'#TIME#' ,p_cust_time_open_format=>'<th scope="row" class="t-ClassicCalendar-day t-ClassicCalendar-timeCol">' ,p_cust_time_close_format=>'</th>' ,p_cust_wk_month_title_format=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-ClassicCalendar">', '<h1 class="t-ClassicCalendar-title">#WTITLE#</h1>')) ,p_cust_wk_day_of_week_format=>wwv_flow_string.join(wwv_flow_t_varchar2( '<th scope="col" class="t-ClassicCalendar-dayColumn" id="#DY#">', ' <span class="visible-md visible-lg">#DD# #IDAY#</span>', ' <span class="hidden-md hidden-lg">#DD# #IDY#</span>', '</th>')) ,p_cust_wk_month_open_format=>'<table border="0" cellpadding="0" cellspacing="0" summary="#CALENDAR_TITLE# #START_DL# - #END_DL#" class="t-ClassicCalendar-calendar">' ,p_cust_wk_month_close_format=>wwv_flow_string.join(wwv_flow_t_varchar2( '</table>', '</div>')) ,p_cust_wk_week_open_format=>'<tr>' ,p_cust_wk_week_close_format=>'</tr> ' ,p_cust_wk_day_open_format=>'<td class="t-ClassicCalendar-day" headers="#DY#"><div class="t-ClassicCalendar-dayEvents">' ,p_cust_wk_day_close_format=>'</div></td>' ,p_cust_wk_today_open_format=>'<td class="t-ClassicCalendar-day is-today" headers="#DY#"><div class="t-ClassicCalendar-dayEvents">' ,p_cust_wk_weekend_open_format=>'<td class="t-ClassicCalendar-day" headers="#DY#">' ,p_cust_wk_weekend_close_format=>'</td>' ,p_agenda_format=>wwv_flow_string.join(wwv_flow_t_varchar2( '<div class="t-ClassicCalendar t-ClassicCalendar--list">', ' <div class="t-ClassicCalendar-title">#IMONTH# #YYYY#</div>', ' <ul class="t-ClassicCalendar-list">', ' #DAYS#', ' </ul>', '</div>')) ,p_agenda_past_day_format=>wwv_flow_string.join(wwv_flow_t_varchar2( ' <li class="t-ClassicCalendar-listTitle is-past">', ' <span class="t-ClassicCalendar-listDayTitle">#IDAY#</span><span class="t-ClassicCalendar-listDayDate">#IMONTH# #DD#</span>', ' </li>')) ,p_agenda_today_day_format=>wwv_flow_string.join(wwv_flow_t_varchar2( ' <li class="t-ClassicCalendar-listTitle is-today">', ' <span class="t-ClassicCalendar-listDayTitle">#IDAY#</span><span class="t-ClassicCalendar-listDayDate">#IMONTH# #DD#</span>', ' </li>')) ,p_agenda_future_day_format=>wwv_flow_string.join(wwv_flow_t_varchar2( ' <li class="t-ClassicCalendar-listTitle is-future">', ' <span class="t-ClassicCalendar-listDayTitle">#IDAY#</span><span class="t-ClassicCalendar-listDayDate">#IMONTH# #DD#</span>', ' </li>')) ,p_agenda_past_entry_format=>' <li class="t-ClassicCalendar-listEvent is-past">#DATA#</li>' ,p_agenda_today_entry_format=>' <li class="t-ClassicCalendar-listEvent is-today">#DATA#</li>' ,p_agenda_future_entry_format=>' <li class="t-ClassicCalendar-listEvent is-future">#DATA#</li>' ,p_month_data_format=>'#DAYS#' ,p_month_data_entry_format=>'<span class="t-ClassicCalendar-event">#DATA#</span>' ,p_theme_id=>42 ,p_theme_class_id=>1 ,p_reference_id=>4070916747979059326 ); end; / prompt --application/shared_components/user_interface/themes begin wwv_flow_api.create_theme( p_id=>wwv_flow_api.id(55689497233401258727) ,p_theme_id=>42 ,p_theme_name=>'Universal Theme' ,p_theme_internal_name=>'UNIVERSAL_THEME' ,p_ui_type_name=>'DESKTOP' ,p_navigation_type=>'L' ,p_nav_bar_type=>'LIST' ,p_reference_id=>4070917134413059350 ,p_is_locked=>false ,p_default_page_template=>wwv_flow_api.id(55689460020110258686) ,p_default_dialog_template=>wwv_flow_api.id(55689458617899258684) ,p_error_template=>wwv_flow_api.id(55689456536805258683) ,p_printer_friendly_template=>wwv_flow_api.id(55689460020110258686) ,p_breadcrumb_display_point=>'REGION_POSITION_01' ,p_sidebar_display_point=>'REGION_POSITION_02' ,p_login_template=>wwv_flow_api.id(55689456536805258683) ,p_default_button_template=>wwv_flow_api.id(55689495911882258722) ,p_default_region_template=>wwv_flow_api.id(55689473177657258698) ,p_default_chart_template=>wwv_flow_api.id(55689473177657258698) ,p_default_form_template=>wwv_flow_api.id(55689473177657258698) ,p_default_reportr_template=>wwv_flow_api.id(55689473177657258698) ,p_default_tabform_template=>wwv_flow_api.id(55689473177657258698) ,p_default_wizard_template=>wwv_flow_api.id(55689473177657258698) ,p_default_menur_template=>wwv_flow_api.id(55689477573158258703) ,p_default_listr_template=>wwv_flow_api.id(55689473177657258698) ,p_default_irr_template=>wwv_flow_api.id(55689472642365258698) ,p_default_report_template=>wwv_flow_api.id(55689483178799258709) ,p_default_label_template=>wwv_flow_api.id(55689495400300258721) ,p_default_menu_template=>wwv_flow_api.id(55689496492117258723) ,p_default_calendar_template=>wwv_flow_api.id(55689496599884258724) ,p_default_list_template=>wwv_flow_api.id(55689490661138258716) ,p_default_nav_list_template=>wwv_flow_api.id(55689494277853258719) ,p_default_top_nav_list_temp=>wwv_flow_api.id(55689494277853258719) ,p_default_side_nav_list_temp=>wwv_flow_api.id(55689493388841258719) ,p_default_nav_list_position=>'SIDE' ,p_default_dialogbtnr_template=>wwv_flow_api.id(55689463500379258691) ,p_default_dialogr_template=>wwv_flow_api.id(55689463106891258691) ,p_default_option_label=>wwv_flow_api.id(55689495400300258721) ,p_default_required_label=>wwv_flow_api.id(55689495677984258721) ,p_default_page_transition=>'NONE' ,p_default_popup_transition=>'NONE' ,p_default_navbar_list_template=>wwv_flow_api.id(55689493206997258718) ,p_file_prefix => nvl(wwv_flow_application_install.get_static_theme_file_prefix(42),'#IMAGE_PREFIX#themes/theme_42/1.1/') ,p_files_version=>62 ,p_icon_library=>'FONTAPEX' ,p_javascript_file_urls=>wwv_flow_string.join(wwv_flow_t_varchar2( '#HAMMERJS_URL#', '#IMAGE_PREFIX#libraries/apex/#MIN_DIRECTORY#widget.apexTabs#MIN#.js?v=#APEX_VERSION#', '#IMAGE_PREFIX#libraries/apex/#MIN_DIRECTORY#widget.stickyWidget#MIN#.js?v=#APEX_VERSION#', '#IMAGE_PREFIX#libraries/apex/#MIN_DIRECTORY#widget.stickyTableHeader#MIN#.js?v=#APEX_VERSION#', '#THEME_IMAGES#js/modernizr-custom#MIN#.js?v=#APEX_VERSION#', '#THEME_IMAGES#js/theme42#MIN#.js?v=#APEX_VERSION#')) ,p_css_file_urls=>'#THEME_IMAGES#css/Core#MIN#.css?v=#APEX_VERSION#' ); end; / prompt --application/shared_components/user_interface/theme_style begin wwv_flow_api.create_theme_style( p_id=>wwv_flow_api.id(55689496765232258726) ,p_theme_id=>42 ,p_name=>'Vista' ,p_css_file_urls=>'#THEME_IMAGES#css/Vista#MIN#.css?v=#APEX_VERSION#' ,p_is_current=>false ,p_is_public=>true ,p_is_accessible=>false ,p_theme_roller_read_only=>true ,p_reference_id=>4007676303523989775 ); wwv_flow_api.create_theme_style( p_id=>wwv_flow_api.id(55689496850870258726) ,p_theme_id=>42 ,p_name=>'Vita' ,p_is_current=>true ,p_is_public=>true ,p_is_accessible=>true ,p_theme_roller_input_file_urls=>'#THEME_IMAGES#less/theme/Vita.less' ,p_theme_roller_output_file_url=>'#THEME_IMAGES#css/Vita#MIN#.css?v=#APEX_VERSION#' ,p_theme_roller_read_only=>true ,p_reference_id=>2719875314571594493 ); wwv_flow_api.create_theme_style( p_id=>wwv_flow_api.id(55689496950490258726) ,p_theme_id=>42 ,p_name=>'Vita - Dark' ,p_is_current=>false ,p_is_public=>true ,p_is_accessible=>false ,p_theme_roller_input_file_urls=>'#THEME_IMAGES#less/theme/Vita-Dark.less' ,p_theme_roller_output_file_url=>'#THEME_IMAGES#css/Vita-Dark#MIN#.css?v=#APEX_VERSION#' ,p_theme_roller_read_only=>true ,p_reference_id=>3543348412015319650 ); wwv_flow_api.create_theme_style( p_id=>wwv_flow_api.id(55689497090717258726) ,p_theme_id=>42 ,p_name=>'Vita - Red' ,p_is_current=>false ,p_is_public=>true ,p_is_accessible=>false ,p_theme_roller_input_file_urls=>'#THEME_IMAGES#less/theme/Vita-Red.less' ,p_theme_roller_output_file_url=>'#THEME_IMAGES#css/Vita-Red#MIN#.css?v=#APEX_VERSION#' ,p_theme_roller_read_only=>true ,p_reference_id=>1938457712423918173 ); wwv_flow_api.create_theme_style( p_id=>wwv_flow_api.id(55689497107417258726) ,p_theme_id=>42 ,p_name=>'Vita - Slate' ,p_is_current=>false ,p_is_public=>true ,p_is_accessible=>false ,p_theme_roller_input_file_urls=>'#THEME_IMAGES#less/theme/Vita-Slate.less' ,p_theme_roller_config=>'{"customCSS":"","vars":{"@g_Accent-BG":"#505f6d","@g_Accent-OG":"#ececec","@g_Body-Title-BG":"#dee1e4","@l_Link-Base":"#337ac0","@g_Body-BG":"#f5f5f5"}}' ,p_theme_roller_output_file_url=>'#THEME_IMAGES#css/Vita-Slate#MIN#.css?v=#APEX_VERSION#' ,p_theme_roller_read_only=>true ,p_reference_id=>3291983347983194966 ); end; / prompt --application/shared_components/user_interface/theme_files begin null; end; / prompt --application/shared_components/user_interface/theme_display_points begin null; end; / prompt --application/shared_components/user_interface/template_opt_groups begin wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689461674390258689) ,p_theme_id=>42 ,p_name=>'ALERT_TYPE' ,p_display_name=>'Alert Type' ,p_display_sequence=>3 ,p_template_types=>'REGION' ,p_help_text=>'Sets the type of alert which can be used to determine the icon, icon color, and the background color.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689461889845258690) ,p_theme_id=>42 ,p_name=>'ALERT_TITLE' ,p_display_name=>'Alert Title' ,p_display_sequence=>40 ,p_template_types=>'REGION' ,p_help_text=>'Determines how the title of the alert is displayed.' ,p_null_text=>'Visible - Default' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689462196078258690) ,p_theme_id=>42 ,p_name=>'ALERT_ICONS' ,p_display_name=>'Alert Icons' ,p_display_sequence=>2 ,p_template_types=>'REGION' ,p_help_text=>'Sets how icons are handled for the Alert Region.' ,p_null_text=>'Default' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689462344228258690) ,p_theme_id=>42 ,p_name=>'ALERT_DISPLAY' ,p_display_name=>'Alert Display' ,p_display_sequence=>1 ,p_template_types=>'REGION' ,p_help_text=>'Sets the layout of the Alert Region.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689463846850258692) ,p_theme_id=>42 ,p_name=>'STYLE' ,p_display_name=>'Style' ,p_display_sequence=>40 ,p_template_types=>'REGION' ,p_help_text=>'Determines how the region is styled. Use the "Remove Borders" template option to remove the region''s borders and shadows.' ,p_null_text=>'Default' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689464038863258692) ,p_theme_id=>42 ,p_name=>'BODY_PADDING' ,p_display_name=>'Body Padding' ,p_display_sequence=>1 ,p_template_types=>'REGION' ,p_help_text=>'Sets the Region Body padding for the region.' ,p_null_text=>'Default' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689464739872258692) ,p_theme_id=>42 ,p_name=>'TIMER' ,p_display_name=>'Timer' ,p_display_sequence=>2 ,p_template_types=>'REGION' ,p_help_text=>'Sets the timer for when to automatically navigate to the next region within the Carousel Region.' ,p_null_text=>'No Timer' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689465110146258693) ,p_theme_id=>42 ,p_name=>'BODY_HEIGHT' ,p_display_name=>'Body Height' ,p_display_sequence=>10 ,p_template_types=>'REGION' ,p_help_text=>'Sets the Region Body height. You can also specify a custom height by modifying the Region''s CSS Classes and using the height helper classes "i-hXXX" where XXX is any increment of 10 from 100 to 800.' ,p_null_text=>'Auto - Default' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689465760057258693) ,p_theme_id=>42 ,p_name=>'ACCENT' ,p_display_name=>'Accent' ,p_display_sequence=>30 ,p_template_types=>'REGION' ,p_help_text=>'Set the Region''s accent. This accent corresponds to a Theme-Rollable color and sets the background of the Region''s Header.' ,p_null_text=>'Default' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689466314763258693) ,p_theme_id=>42 ,p_name=>'HEADER' ,p_display_name=>'Header' ,p_display_sequence=>20 ,p_template_types=>'REGION' ,p_help_text=>'Determines the display of the Region Header which also contains the Region Title.' ,p_null_text=>'Visible - Default' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689466533997258693) ,p_theme_id=>42 ,p_name=>'BODY_OVERFLOW' ,p_display_name=>'Body Overflow' ,p_display_sequence=>1 ,p_template_types=>'REGION' ,p_help_text=>'Determines the scroll behavior when the region contents are larger than their container.' ,p_is_advanced=>'Y' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689467466853258693) ,p_theme_id=>42 ,p_name=>'ANIMATION' ,p_display_name=>'Animation' ,p_display_sequence=>10 ,p_template_types=>'REGION' ,p_help_text=>'Sets the animation when navigating within the Carousel Region.' ,p_null_text=>'Fade' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689469051462258695) ,p_theme_id=>42 ,p_name=>'DEFAULT_STATE' ,p_display_name=>'Default State' ,p_display_sequence=>1 ,p_template_types=>'REGION' ,p_help_text=>'Sets the default state of the region.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689470265970258696) ,p_theme_id=>42 ,p_name=>'REGION_TITLE' ,p_display_name=>'Region Title' ,p_display_sequence=>1 ,p_template_types=>'REGION' ,p_help_text=>'Sets the source of the Title Bar region''s title.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689470623516258697) ,p_theme_id=>42 ,p_name=>'BODY_STYLE' ,p_display_name=>'Body Style' ,p_display_sequence=>20 ,p_template_types=>'REGION' ,p_help_text=>'Controls the display of the region''s body container.' ,p_null_text=>'Default' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689471133466258697) ,p_theme_id=>42 ,p_name=>'DISPLAY_ICON' ,p_display_name=>'Display Icon' ,p_display_sequence=>50 ,p_template_types=>'REGION' ,p_help_text=>'Display the Hero Region icon.' ,p_null_text=>'Yes (Default)' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689472097998258698) ,p_theme_id=>42 ,p_name=>'DIALOG_SIZE' ,p_display_name=>'Dialog Size' ,p_display_sequence=>1 ,p_template_types=>'REGION' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689476602113258702) ,p_theme_id=>42 ,p_name=>'LAYOUT' ,p_display_name=>'Layout' ,p_display_sequence=>1 ,p_template_types=>'REGION' ,p_null_text=>'Default' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689476849737258702) ,p_theme_id=>42 ,p_name=>'TAB_STYLE' ,p_display_name=>'Tab Style' ,p_display_sequence=>1 ,p_template_types=>'REGION' ,p_null_text=>'Default' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689477268688258703) ,p_theme_id=>42 ,p_name=>'TABS_SIZE' ,p_display_name=>'Tabs Size' ,p_display_sequence=>1 ,p_template_types=>'REGION' ,p_null_text=>'Default' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689478154985258703) ,p_theme_id=>42 ,p_name=>'HIDE_STEPS_FOR' ,p_display_name=>'Hide Steps For' ,p_display_sequence=>1 ,p_template_types=>'REGION' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689478772313258705) ,p_theme_id=>42 ,p_name=>'BADGE_SIZE' ,p_display_name=>'Badge Size' ,p_display_sequence=>10 ,p_template_types=>'REPORT' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689478955221258706) ,p_theme_id=>42 ,p_name=>'LAYOUT' ,p_display_name=>'Layout' ,p_display_sequence=>30 ,p_template_types=>'REPORT' ,p_help_text=>'Determines the layout of Cards in the report.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689480574404258707) ,p_theme_id=>42 ,p_name=>'BODY_TEXT' ,p_display_name=>'Body Text' ,p_display_sequence=>40 ,p_template_types=>'REPORT' ,p_help_text=>'Determines the height of the card body.' ,p_null_text=>'Auto' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689481277974258708) ,p_theme_id=>42 ,p_name=>'STYLE' ,p_display_name=>'Style' ,p_display_sequence=>10 ,p_template_types=>'REPORT' ,p_help_text=>'Determines the overall style for the component.' ,p_null_text=>'Default' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689481441992258708) ,p_theme_id=>42 ,p_name=>'ANIMATION' ,p_display_name=>'Animation' ,p_display_sequence=>70 ,p_template_types=>'REPORT' ,p_help_text=>'Sets the hover and focus animation.' ,p_null_text=>'Default' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689481840449258708) ,p_theme_id=>42 ,p_name=>'ICONS' ,p_display_name=>'Icons' ,p_display_sequence=>20 ,p_template_types=>'REPORT' ,p_help_text=>'Controls how to handle icons in the report.' ,p_null_text=>'No Icons' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689482728578258709) ,p_theme_id=>42 ,p_name=>'COMMENTS_STYLE' ,p_display_name=>'Comments Style' ,p_display_sequence=>10 ,p_template_types=>'REPORT' ,p_help_text=>'Determines the style in which comments are displayed.' ,p_null_text=>'Default' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689483207724258710) ,p_theme_id=>42 ,p_name=>'ALTERNATING_ROWS' ,p_display_name=>'Alternating Rows' ,p_display_sequence=>10 ,p_template_types=>'REPORT' ,p_help_text=>'Shades alternate rows in the report with slightly different background colors.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689483519606258710) ,p_theme_id=>42 ,p_name=>'ROW_HIGHLIGHTING' ,p_display_name=>'Row Highlighting' ,p_display_sequence=>20 ,p_template_types=>'REPORT' ,p_help_text=>'Determines whether you want the row to be highlighted on hover.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689483723746258710) ,p_theme_id=>42 ,p_name=>'REPORT_BORDER' ,p_display_name=>'Report Border' ,p_display_sequence=>30 ,p_template_types=>'REPORT' ,p_help_text=>'Controls the display of the Report''s borders.' ,p_null_text=>'Default' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689484786760258710) ,p_theme_id=>42 ,p_name=>'LABEL_WIDTH' ,p_display_name=>'Label Width' ,p_display_sequence=>10 ,p_template_types=>'REPORT' ,p_null_text=>'Default' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689486637703258713) ,p_theme_id=>42 ,p_name=>'LAYOUT' ,p_display_name=>'Layout' ,p_display_sequence=>30 ,p_template_types=>'LIST' ,p_null_text=>'Default' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689487495504258713) ,p_theme_id=>42 ,p_name=>'BADGE_SIZE' ,p_display_name=>'Badge Size' ,p_display_sequence=>70 ,p_template_types=>'LIST' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689488459562258714) ,p_theme_id=>42 ,p_name=>'BODY_TEXT' ,p_display_name=>'Body Text' ,p_display_sequence=>40 ,p_template_types=>'LIST' ,p_help_text=>'Determines the height of the card body.' ,p_null_text=>'Auto' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689489120604258714) ,p_theme_id=>42 ,p_name=>'STYLE' ,p_display_name=>'Style' ,p_display_sequence=>10 ,p_template_types=>'LIST' ,p_null_text=>'Default' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689489466990258714) ,p_theme_id=>42 ,p_name=>'ANIMATION' ,p_display_name=>'Animation' ,p_display_sequence=>80 ,p_template_types=>'LIST' ,p_help_text=>'Sets the hover and focus animation.' ,p_null_text=>'Default' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689489799265258715) ,p_theme_id=>42 ,p_name=>'ICONS' ,p_display_name=>'Icons' ,p_display_sequence=>20 ,p_template_types=>'LIST' ,p_null_text=>'No Icons' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689491197865258716) ,p_theme_id=>42 ,p_name=>'DISPLAY_ICONS' ,p_display_name=>'Display Icons' ,p_display_sequence=>30 ,p_template_types=>'LIST' ,p_null_text=>'No Icons' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689492013423258717) ,p_theme_id=>42 ,p_name=>'SIZE' ,p_display_name=>'Size' ,p_display_sequence=>1 ,p_template_types=>'LIST' ,p_null_text=>'Default' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689494812811258720) ,p_theme_id=>42 ,p_name=>'LABEL_DISPLAY' ,p_display_name=>'Label Display' ,p_display_sequence=>50 ,p_template_types=>'LIST' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689496182448258723) ,p_theme_id=>42 ,p_name=>'ICON_POSITION' ,p_display_name=>'Icon Position' ,p_display_sequence=>50 ,p_template_types=>'BUTTON' ,p_help_text=>'Sets the position of the icon relative to the label.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689497307858258731) ,p_theme_id=>42 ,p_name=>'BOTTOM_MARGIN' ,p_display_name=>'Bottom Margin' ,p_display_sequence=>220 ,p_template_types=>'FIELD' ,p_help_text=>'Set the bottom margin for this field.' ,p_null_text=>'Default' ,p_is_advanced=>'Y' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689497544650258731) ,p_theme_id=>42 ,p_name=>'REGION_BOTTOM_MARGIN' ,p_display_name=>'Bottom Margin' ,p_display_sequence=>210 ,p_template_types=>'REGION' ,p_help_text=>'Set the bottom margin for this region.' ,p_null_text=>'Default' ,p_is_advanced=>'Y' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689498325554258731) ,p_theme_id=>42 ,p_name=>'LEFT_MARGIN' ,p_display_name=>'Left Margin' ,p_display_sequence=>220 ,p_template_types=>'FIELD' ,p_help_text=>'Set the left margin for this field.' ,p_null_text=>'Default' ,p_is_advanced=>'Y' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689498575491258731) ,p_theme_id=>42 ,p_name=>'REGION_LEFT_MARGIN' ,p_display_name=>'Left Margin' ,p_display_sequence=>220 ,p_template_types=>'REGION' ,p_help_text=>'Set the left margin for this region.' ,p_null_text=>'Default' ,p_is_advanced=>'Y' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689499302592258732) ,p_theme_id=>42 ,p_name=>'RIGHT_MARGIN' ,p_display_name=>'Right Margin' ,p_display_sequence=>230 ,p_template_types=>'FIELD' ,p_help_text=>'Set the right margin for this field.' ,p_null_text=>'Default' ,p_is_advanced=>'Y' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689499511073258732) ,p_theme_id=>42 ,p_name=>'REGION_RIGHT_MARGIN' ,p_display_name=>'Right Margin' ,p_display_sequence=>230 ,p_template_types=>'REGION' ,p_help_text=>'Set the right margin for this region.' ,p_null_text=>'Default' ,p_is_advanced=>'Y' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689500323941258733) ,p_theme_id=>42 ,p_name=>'TOP_MARGIN' ,p_display_name=>'Top Margin' ,p_display_sequence=>200 ,p_template_types=>'FIELD' ,p_help_text=>'Set the top margin for this field.' ,p_null_text=>'Default' ,p_is_advanced=>'Y' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689500511677258733) ,p_theme_id=>42 ,p_name=>'REGION_TOP_MARGIN' ,p_display_name=>'Top Margin' ,p_display_sequence=>200 ,p_template_types=>'REGION' ,p_help_text=>'Set the top margin for this region.' ,p_null_text=>'Default' ,p_is_advanced=>'Y' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689501373876258733) ,p_theme_id=>42 ,p_name=>'TYPE' ,p_display_name=>'Type' ,p_display_sequence=>20 ,p_template_types=>'BUTTON' ,p_null_text=>'Normal' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689501533043258733) ,p_theme_id=>42 ,p_name=>'SPACING_BOTTOM' ,p_display_name=>'Spacing Bottom' ,p_display_sequence=>100 ,p_template_types=>'BUTTON' ,p_help_text=>'Controls the spacing to the bottom of the button.' ,p_null_text=>'Default' ,p_is_advanced=>'Y' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689501733083258733) ,p_theme_id=>42 ,p_name=>'SPACING_LEFT' ,p_display_name=>'Spacing Left' ,p_display_sequence=>70 ,p_template_types=>'BUTTON' ,p_help_text=>'Controls the spacing to the left of the button.' ,p_null_text=>'Default' ,p_is_advanced=>'Y' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689501960171258733) ,p_theme_id=>42 ,p_name=>'SPACING_RIGHT' ,p_display_name=>'Spacing Right' ,p_display_sequence=>80 ,p_template_types=>'BUTTON' ,p_help_text=>'Controls the spacing to the right of the button.' ,p_null_text=>'Default' ,p_is_advanced=>'Y' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689502142741258733) ,p_theme_id=>42 ,p_name=>'SPACING_TOP' ,p_display_name=>'Spacing Top' ,p_display_sequence=>90 ,p_template_types=>'BUTTON' ,p_help_text=>'Controls the spacing to the top of the button.' ,p_null_text=>'Default' ,p_is_advanced=>'Y' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689502378391258734) ,p_theme_id=>42 ,p_name=>'SIZE' ,p_display_name=>'Size' ,p_display_sequence=>10 ,p_template_types=>'BUTTON' ,p_help_text=>'Sets the size of the button.' ,p_null_text=>'Default' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689502533745258734) ,p_theme_id=>42 ,p_name=>'STYLE' ,p_display_name=>'Style' ,p_display_sequence=>30 ,p_template_types=>'BUTTON' ,p_help_text=>'Sets the style of the button. Use the "Simple" option for secondary actions or sets of buttons. Use the "Remove UI Decoration" option to make the button appear as text.' ,p_null_text=>'Default' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689503274223258734) ,p_theme_id=>42 ,p_name=>'BUTTON_SET' ,p_display_name=>'Button Set' ,p_display_sequence=>40 ,p_template_types=>'BUTTON' ,p_help_text=>'Enables you to group many buttons together into a pill. You can use this option to specify where the button is within this set. Set the option to Default if this button is not part of a button set.' ,p_null_text=>'Default' ,p_is_advanced=>'Y' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689503963608258734) ,p_theme_id=>42 ,p_name=>'WIDTH' ,p_display_name=>'Width' ,p_display_sequence=>60 ,p_template_types=>'BUTTON' ,p_help_text=>'Sets the width of the button.' ,p_null_text=>'Auto - Default' ,p_is_advanced=>'Y' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689504415903258735) ,p_theme_id=>42 ,p_name=>'LABEL_POSITION' ,p_display_name=>'Label Position' ,p_display_sequence=>140 ,p_template_types=>'REGION' ,p_help_text=>'Sets the position of the label relative to the form item.' ,p_null_text=>'Inline - Default' ,p_is_advanced=>'Y' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689504664798258735) ,p_theme_id=>42 ,p_name=>'ITEM_SIZE' ,p_display_name=>'Item Size' ,p_display_sequence=>110 ,p_template_types=>'REGION' ,p_help_text=>'Sets the size of the form items within this region.' ,p_null_text=>'Default' ,p_is_advanced=>'Y' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689504847276258735) ,p_theme_id=>42 ,p_name=>'LABEL_ALIGNMENT' ,p_display_name=>'Label Alignment' ,p_display_sequence=>130 ,p_template_types=>'REGION' ,p_help_text=>'Set the label text alignment for items within this region.' ,p_null_text=>'Right' ,p_is_advanced=>'Y' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689505061219258735) ,p_theme_id=>42 ,p_name=>'ITEM_PADDING' ,p_display_name=>'Item Padding' ,p_display_sequence=>100 ,p_template_types=>'REGION' ,p_help_text=>'Sets the padding around items within this region.' ,p_null_text=>'Default' ,p_is_advanced=>'Y' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689505378003258735) ,p_theme_id=>42 ,p_name=>'ITEM_WIDTH' ,p_display_name=>'Item Width' ,p_display_sequence=>120 ,p_template_types=>'REGION' ,p_help_text=>'Sets the width of the form items within this region.' ,p_null_text=>'Default' ,p_is_advanced=>'Y' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689505675253258735) ,p_theme_id=>42 ,p_name=>'SIZE' ,p_display_name=>'Size' ,p_display_sequence=>10 ,p_template_types=>'FIELD' ,p_null_text=>'Default' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689505868848258735) ,p_theme_id=>42 ,p_name=>'ITEM_POST_TEXT' ,p_display_name=>'Item Post Text' ,p_display_sequence=>30 ,p_template_types=>'FIELD' ,p_help_text=>'Adjust the display of the Item Post Text' ,p_null_text=>'Default' ,p_is_advanced=>'Y' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689506076222258736) ,p_theme_id=>42 ,p_name=>'ITEM_PRE_TEXT' ,p_display_name=>'Item Pre Text' ,p_display_sequence=>20 ,p_template_types=>'FIELD' ,p_help_text=>'Adjust the display of the Item Pre Text' ,p_null_text=>'Default' ,p_is_advanced=>'Y' ); wwv_flow_api.create_template_opt_group( p_id=>wwv_flow_api.id(55689506266054258736) ,p_theme_id=>42 ,p_name=>'RADIO_GROUP_DISPLAY' ,p_display_name=>'Radio Group Display' ,p_display_sequence=>300 ,p_template_types=>'FIELD' ,p_help_text=>'Determines the display for radio group items.' ,p_null_text=>'Default' ,p_is_advanced=>'Y' ); end; / prompt --application/shared_components/user_interface/template_options begin wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689459056662258684) ,p_theme_id=>42 ,p_name=>'STRETCH_TO_FIT_WINDOW' ,p_display_name=>'Stretch to Fit Window' ,p_display_sequence=>1 ,p_page_template_id=>wwv_flow_api.id(55689458617899258684) ,p_css_classes=>'ui-dialog--stretch' ,p_template_types=>'PAGE' ,p_help_text=>'Stretch the dialog to fit the browser window.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689461256714258687) ,p_theme_id=>42 ,p_name=>'STRETCH_TO_FIT_WINDOW' ,p_display_name=>'Stretch to Fit Window' ,p_display_sequence=>10 ,p_page_template_id=>wwv_flow_api.id(55689460839149258686) ,p_css_classes=>'ui-dialog--stretch' ,p_template_types=>'PAGE' ,p_help_text=>'Stretch the dialog to fit the browser window.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689461598398258689) ,p_theme_id=>42 ,p_name=>'COLOREDBACKGROUND' ,p_display_name=>'Highlight Background' ,p_display_sequence=>1 ,p_region_template_id=>wwv_flow_api.id(55689461335851258687) ,p_css_classes=>'t-Alert--colorBG' ,p_template_types=>'REGION' ,p_help_text=>'Set alert background color to that of the alert type (warning, success, etc.)' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689461740142258690) ,p_theme_id=>42 ,p_name=>'DANGER' ,p_display_name=>'Danger' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689461335851258687) ,p_css_classes=>'t-Alert--danger' ,p_group_id=>wwv_flow_api.id(55689461674390258689) ,p_template_types=>'REGION' ,p_help_text=>'Show an error or danger alert.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689461910008258690) ,p_theme_id=>42 ,p_name=>'HIDDENHEADER' ,p_display_name=>'Hidden but Accessible' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689461335851258687) ,p_css_classes=>'t-Alert--accessibleHeading' ,p_group_id=>wwv_flow_api.id(55689461889845258690) ,p_template_types=>'REGION' ,p_help_text=>'Visually hides the alert title, but assistive technologies can still read it.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689462050089258690) ,p_theme_id=>42 ,p_name=>'HIDDENHEADERNOAT' ,p_display_name=>'Hidden' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689461335851258687) ,p_css_classes=>'t-Alert--removeHeading' ,p_group_id=>wwv_flow_api.id(55689461889845258690) ,p_template_types=>'REGION' ,p_help_text=>'Hides the Alert Title from being displayed.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689462282712258690) ,p_theme_id=>42 ,p_name=>'HIDE_ICONS' ,p_display_name=>'Hide Icons' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689461335851258687) ,p_css_classes=>'t-Alert--noIcon' ,p_group_id=>wwv_flow_api.id(55689462196078258690) ,p_template_types=>'REGION' ,p_help_text=>'Hides alert icons' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689462460935258690) ,p_theme_id=>42 ,p_name=>'HORIZONTAL' ,p_display_name=>'Horizontal' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689461335851258687) ,p_css_classes=>'t-Alert--horizontal' ,p_group_id=>wwv_flow_api.id(55689462344228258690) ,p_template_types=>'REGION' ,p_help_text=>'Show horizontal alert with buttons to the right.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689462509429258690) ,p_theme_id=>42 ,p_name=>'INFORMATION' ,p_display_name=>'Information' ,p_display_sequence=>30 ,p_region_template_id=>wwv_flow_api.id(55689461335851258687) ,p_css_classes=>'t-Alert--info' ,p_group_id=>wwv_flow_api.id(55689461674390258689) ,p_template_types=>'REGION' ,p_help_text=>'Show informational alert.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689462642226258690) ,p_theme_id=>42 ,p_name=>'SHOW_CUSTOM_ICONS' ,p_display_name=>'Show Custom Icons' ,p_display_sequence=>30 ,p_region_template_id=>wwv_flow_api.id(55689461335851258687) ,p_css_classes=>'t-Alert--customIcons' ,p_group_id=>wwv_flow_api.id(55689462196078258690) ,p_template_types=>'REGION' ,p_help_text=>'Set custom icons by modifying the Alert Region''s Icon CSS Classes property.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689462762447258691) ,p_theme_id=>42 ,p_name=>'SUCCESS' ,p_display_name=>'Success' ,p_display_sequence=>40 ,p_region_template_id=>wwv_flow_api.id(55689461335851258687) ,p_css_classes=>'t-Alert--success' ,p_group_id=>wwv_flow_api.id(55689461674390258689) ,p_template_types=>'REGION' ,p_help_text=>'Show success alert.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689462800672258691) ,p_theme_id=>42 ,p_name=>'USEDEFAULTICONS' ,p_display_name=>'Show Default Icons' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689461335851258687) ,p_css_classes=>'t-Alert--defaultIcons' ,p_group_id=>wwv_flow_api.id(55689462196078258690) ,p_template_types=>'REGION' ,p_help_text=>'Uses default icons for alert types.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689462900097258691) ,p_theme_id=>42 ,p_name=>'WARNING' ,p_display_name=>'Warning' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689461335851258687) ,p_css_classes=>'t-Alert--warning' ,p_group_id=>wwv_flow_api.id(55689461674390258689) ,p_template_types=>'REGION' ,p_help_text=>'Show a warning alert.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689463019076258691) ,p_theme_id=>42 ,p_name=>'WIZARD' ,p_display_name=>'Wizard' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689461335851258687) ,p_css_classes=>'t-Alert--wizard' ,p_group_id=>wwv_flow_api.id(55689462344228258690) ,p_template_types=>'REGION' ,p_help_text=>'Show the alert in a wizard style region.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689463947504258692) ,p_theme_id=>42 ,p_name=>'BORDERLESS' ,p_display_name=>'Borderless' ,p_display_sequence=>1 ,p_region_template_id=>wwv_flow_api.id(55689463500379258691) ,p_css_classes=>'t-ButtonRegion--noBorder' ,p_group_id=>wwv_flow_api.id(55689463846850258692) ,p_template_types=>'REGION' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689464137330258692) ,p_theme_id=>42 ,p_name=>'NOPADDING' ,p_display_name=>'No Padding' ,p_display_sequence=>3 ,p_region_template_id=>wwv_flow_api.id(55689463500379258691) ,p_css_classes=>'t-ButtonRegion--noPadding' ,p_group_id=>wwv_flow_api.id(55689464038863258692) ,p_template_types=>'REGION' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689464286604258692) ,p_theme_id=>42 ,p_name=>'REMOVEUIDECORATION' ,p_display_name=>'Remove UI Decoration' ,p_display_sequence=>4 ,p_region_template_id=>wwv_flow_api.id(55689463500379258691) ,p_css_classes=>'t-ButtonRegion--noUI' ,p_group_id=>wwv_flow_api.id(55689463846850258692) ,p_template_types=>'REGION' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689464382008258692) ,p_theme_id=>42 ,p_name=>'SLIMPADDING' ,p_display_name=>'Slim Padding' ,p_display_sequence=>5 ,p_region_template_id=>wwv_flow_api.id(55689463500379258691) ,p_css_classes=>'t-ButtonRegion--slimPadding' ,p_group_id=>wwv_flow_api.id(55689464038863258692) ,p_template_types=>'REGION' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689464873645258692) ,p_theme_id=>42 ,p_name=>'10_SECONDS' ,p_display_name=>'10 Seconds' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689464420429258692) ,p_css_classes=>'js-cycle10s' ,p_group_id=>wwv_flow_api.id(55689464739872258692) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689464949395258692) ,p_theme_id=>42 ,p_name=>'15_SECONDS' ,p_display_name=>'15 Seconds' ,p_display_sequence=>30 ,p_region_template_id=>wwv_flow_api.id(55689464420429258692) ,p_css_classes=>'js-cycle15s' ,p_group_id=>wwv_flow_api.id(55689464739872258692) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689465014336258692) ,p_theme_id=>42 ,p_name=>'20_SECONDS' ,p_display_name=>'20 Seconds' ,p_display_sequence=>40 ,p_region_template_id=>wwv_flow_api.id(55689464420429258692) ,p_css_classes=>'js-cycle20s' ,p_group_id=>wwv_flow_api.id(55689464739872258692) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689465202398258693) ,p_theme_id=>42 ,p_name=>'240PX' ,p_display_name=>'240px' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689464420429258692) ,p_css_classes=>'i-h240' ,p_group_id=>wwv_flow_api.id(55689465110146258693) ,p_template_types=>'REGION' ,p_help_text=>'Sets region body height to 240px.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689465389583258693) ,p_theme_id=>42 ,p_name=>'320PX' ,p_display_name=>'320px' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689464420429258692) ,p_css_classes=>'i-h320' ,p_group_id=>wwv_flow_api.id(55689465110146258693) ,p_template_types=>'REGION' ,p_help_text=>'Sets region body height to 320px.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689465415472258693) ,p_theme_id=>42 ,p_name=>'480PX' ,p_display_name=>'480px' ,p_display_sequence=>30 ,p_region_template_id=>wwv_flow_api.id(55689464420429258692) ,p_css_classes=>'i-h480' ,p_group_id=>wwv_flow_api.id(55689465110146258693) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689465526673258693) ,p_theme_id=>42 ,p_name=>'5_SECONDS' ,p_display_name=>'5 Seconds' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689464420429258692) ,p_css_classes=>'js-cycle5s' ,p_group_id=>wwv_flow_api.id(55689464739872258692) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689465698773258693) ,p_theme_id=>42 ,p_name=>'640PX' ,p_display_name=>'640px' ,p_display_sequence=>40 ,p_region_template_id=>wwv_flow_api.id(55689464420429258692) ,p_css_classes=>'i-h640' ,p_group_id=>wwv_flow_api.id(55689465110146258693) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689465876731258693) ,p_theme_id=>42 ,p_name=>'ACCENT_1' ,p_display_name=>'Accent 1' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689464420429258692) ,p_css_classes=>'t-Region--accent1' ,p_group_id=>wwv_flow_api.id(55689465760057258693) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689465921029258693) ,p_theme_id=>42 ,p_name=>'ACCENT_2' ,p_display_name=>'Accent 2' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689464420429258692) ,p_css_classes=>'t-Region--accent2' ,p_group_id=>wwv_flow_api.id(55689465760057258693) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689466055321258693) ,p_theme_id=>42 ,p_name=>'ACCENT_3' ,p_display_name=>'Accent 3' ,p_display_sequence=>30 ,p_region_template_id=>wwv_flow_api.id(55689464420429258692) ,p_css_classes=>'t-Region--accent3' ,p_group_id=>wwv_flow_api.id(55689465760057258693) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689466133098258693) ,p_theme_id=>42 ,p_name=>'ACCENT_4' ,p_display_name=>'Accent 4' ,p_display_sequence=>40 ,p_region_template_id=>wwv_flow_api.id(55689464420429258692) ,p_css_classes=>'t-Region--accent4' ,p_group_id=>wwv_flow_api.id(55689465760057258693) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689466244015258693) ,p_theme_id=>42 ,p_name=>'ACCENT_5' ,p_display_name=>'Accent 5' ,p_display_sequence=>50 ,p_region_template_id=>wwv_flow_api.id(55689464420429258692) ,p_css_classes=>'t-Region--accent5' ,p_group_id=>wwv_flow_api.id(55689465760057258693) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689466443020258693) ,p_theme_id=>42 ,p_name=>'HIDDENHEADERNOAT' ,p_display_name=>'Hidden' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689464420429258692) ,p_css_classes=>'t-Region--removeHeader' ,p_group_id=>wwv_flow_api.id(55689466314763258693) ,p_template_types=>'REGION' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689466610638258693) ,p_theme_id=>42 ,p_name=>'HIDEOVERFLOW' ,p_display_name=>'Hide' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689464420429258692) ,p_css_classes=>'t-Region--hiddenOverflow' ,p_group_id=>wwv_flow_api.id(55689466533997258693) ,p_template_types=>'REGION' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689466723688258693) ,p_theme_id=>42 ,p_name=>'HIDEREGIONHEADER' ,p_display_name=>'Hidden but accessible' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689464420429258692) ,p_css_classes=>'t-Region--hideHeader' ,p_group_id=>wwv_flow_api.id(55689466314763258693) ,p_template_types=>'REGION' ,p_help_text=>'This option will hide the region header. Note that the region title will still be audible for Screen Readers. Buttons placed in the region header will be hidden and inaccessible.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689466809941258693) ,p_theme_id=>42 ,p_name=>'NOBODYPADDING' ,p_display_name=>'Remove Body Padding' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689464420429258692) ,p_css_classes=>'t-Region--noPadding' ,p_template_types=>'REGION' ,p_help_text=>'Removes padding from region body.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689466907612258693) ,p_theme_id=>42 ,p_name=>'NOBORDER' ,p_display_name=>'Remove Borders' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689464420429258692) ,p_css_classes=>'t-Region--noBorder' ,p_group_id=>wwv_flow_api.id(55689463846850258692) ,p_template_types=>'REGION' ,p_help_text=>'Removes borders from the region.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689467091156258693) ,p_theme_id=>42 ,p_name=>'REMEMBER_CAROUSEL_SLIDE' ,p_display_name=>'Remember Carousel Slide' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689464420429258692) ,p_css_classes=>'js-useLocalStorage' ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689467182030258693) ,p_theme_id=>42 ,p_name=>'SCROLLBODY' ,p_display_name=>'Scroll' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689464420429258692) ,p_css_classes=>'t-Region--scrollBody' ,p_group_id=>wwv_flow_api.id(55689466533997258693) ,p_template_types=>'REGION' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689467268068258693) ,p_theme_id=>42 ,p_name=>'SHOW_MAXIMIZE_BUTTON' ,p_display_name=>'Show Maximize Button' ,p_display_sequence=>40 ,p_region_template_id=>wwv_flow_api.id(55689464420429258692) ,p_css_classes=>'js-showMaximizeButton' ,p_template_types=>'REGION' ,p_help_text=>'Displays a button in the Region Header to maximize the region. Clicking this button will toggle the maximize state and stretch the region to fill the screen.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689467309408258693) ,p_theme_id=>42 ,p_name=>'SHOW_NEXT_AND_PREVIOUS_BUTTONS' ,p_display_name=>'Show Next and Previous Buttons' ,p_display_sequence=>30 ,p_region_template_id=>wwv_flow_api.id(55689464420429258692) ,p_css_classes=>'t-Region--showCarouselControls' ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689467526698258694) ,p_theme_id=>42 ,p_name=>'SLIDE' ,p_display_name=>'Slide' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689464420429258692) ,p_css_classes=>'t-Region--carouselSlide' ,p_group_id=>wwv_flow_api.id(55689467466853258693) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689467654191258694) ,p_theme_id=>42 ,p_name=>'SPIN' ,p_display_name=>'Spin' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689464420429258692) ,p_css_classes=>'t-Region--carouselSpin' ,p_group_id=>wwv_flow_api.id(55689467466853258693) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689467782626258694) ,p_theme_id=>42 ,p_name=>'STACKED' ,p_display_name=>'Stack Region' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689464420429258692) ,p_css_classes=>'t-Region--stacked' ,p_group_id=>wwv_flow_api.id(55689463846850258692) ,p_template_types=>'REGION' ,p_help_text=>'Removes side borders and shadows, and can be useful for accordions and regions that need to be grouped together vertically.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689468180396258694) ,p_theme_id=>42 ,p_name=>'240PX' ,p_display_name=>'240px' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689467856975258694) ,p_css_classes=>'i-h240' ,p_group_id=>wwv_flow_api.id(55689465110146258693) ,p_template_types=>'REGION' ,p_help_text=>'Sets region body height to 240px.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689468251164258695) ,p_theme_id=>42 ,p_name=>'320PX' ,p_display_name=>'320px' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689467856975258694) ,p_css_classes=>'i-h320' ,p_group_id=>wwv_flow_api.id(55689465110146258693) ,p_template_types=>'REGION' ,p_help_text=>'Sets region body height to 320px.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689468394319258695) ,p_theme_id=>42 ,p_name=>'480PX' ,p_display_name=>'480px' ,p_display_sequence=>30 ,p_region_template_id=>wwv_flow_api.id(55689467856975258694) ,p_css_classes=>'i-h480' ,p_group_id=>wwv_flow_api.id(55689465110146258693) ,p_template_types=>'REGION' ,p_help_text=>'Sets body height to 480px.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689468410086258695) ,p_theme_id=>42 ,p_name=>'640PX' ,p_display_name=>'640px' ,p_display_sequence=>40 ,p_region_template_id=>wwv_flow_api.id(55689467856975258694) ,p_css_classes=>'i-h640' ,p_group_id=>wwv_flow_api.id(55689465110146258693) ,p_template_types=>'REGION' ,p_help_text=>'Sets body height to 640px.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689468543135258695) ,p_theme_id=>42 ,p_name=>'ACCENT_1' ,p_display_name=>'Accent 1' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689467856975258694) ,p_css_classes=>'t-Region--accent1' ,p_group_id=>wwv_flow_api.id(55689465760057258693) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689468699818258695) ,p_theme_id=>42 ,p_name=>'ACCENT_2' ,p_display_name=>'Accent 2' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689467856975258694) ,p_css_classes=>'t-Region--accent2' ,p_group_id=>wwv_flow_api.id(55689465760057258693) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689468737382258695) ,p_theme_id=>42 ,p_name=>'ACCENT_3' ,p_display_name=>'Accent 3' ,p_display_sequence=>30 ,p_region_template_id=>wwv_flow_api.id(55689467856975258694) ,p_css_classes=>'t-Region--accent3' ,p_group_id=>wwv_flow_api.id(55689465760057258693) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689468899684258695) ,p_theme_id=>42 ,p_name=>'ACCENT_4' ,p_display_name=>'Accent 4' ,p_display_sequence=>40 ,p_region_template_id=>wwv_flow_api.id(55689467856975258694) ,p_css_classes=>'t-Region--accent4' ,p_group_id=>wwv_flow_api.id(55689465760057258693) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689468951327258695) ,p_theme_id=>42 ,p_name=>'ACCENT_5' ,p_display_name=>'Accent 5' ,p_display_sequence=>50 ,p_region_template_id=>wwv_flow_api.id(55689467856975258694) ,p_css_classes=>'t-Region--accent5' ,p_group_id=>wwv_flow_api.id(55689465760057258693) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689469196427258695) ,p_theme_id=>42 ,p_name=>'COLLAPSED' ,p_display_name=>'Collapsed' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689467856975258694) ,p_css_classes=>'is-collapsed' ,p_group_id=>wwv_flow_api.id(55689469051462258695) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689469228155258695) ,p_theme_id=>42 ,p_name=>'EXPANDED' ,p_display_name=>'Expanded' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689467856975258694) ,p_css_classes=>'is-expanded' ,p_group_id=>wwv_flow_api.id(55689469051462258695) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689469356439258695) ,p_theme_id=>42 ,p_name=>'HIDEOVERFLOW' ,p_display_name=>'Hide' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689467856975258694) ,p_css_classes=>'t-Region--hiddenOverflow' ,p_group_id=>wwv_flow_api.id(55689466533997258693) ,p_template_types=>'REGION' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689469415822258696) ,p_theme_id=>42 ,p_name=>'NOBODYPADDING' ,p_display_name=>'Remove Body Padding' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689467856975258694) ,p_css_classes=>'t-Region--noPadding' ,p_template_types=>'REGION' ,p_help_text=>'Removes padding from region body.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689469594685258696) ,p_theme_id=>42 ,p_name=>'NOBORDER' ,p_display_name=>'Remove Borders' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689467856975258694) ,p_css_classes=>'t-Region--noBorder' ,p_group_id=>wwv_flow_api.id(55689463846850258692) ,p_template_types=>'REGION' ,p_help_text=>'Removes borders from the region.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689469638505258696) ,p_theme_id=>42 ,p_name=>'REMEMBER_COLLAPSIBLE_STATE' ,p_display_name=>'Remember Collapsible State' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689467856975258694) ,p_css_classes=>'js-useLocalStorage' ,p_template_types=>'REGION' ,p_help_text=>'This option saves the current state of the collapsible region for the duration of the session.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689469739746258696) ,p_theme_id=>42 ,p_name=>'REMOVE_UI_DECORATION' ,p_display_name=>'Remove UI Decoration' ,p_display_sequence=>30 ,p_region_template_id=>wwv_flow_api.id(55689467856975258694) ,p_css_classes=>'t-Region--noUI' ,p_group_id=>wwv_flow_api.id(55689463846850258692) ,p_template_types=>'REGION' ,p_help_text=>'Removes UI decoration (borders, backgrounds, shadows, etc) from the region.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689469846998258696) ,p_theme_id=>42 ,p_name=>'SCROLLBODY' ,p_display_name=>'Scroll - Default' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689467856975258694) ,p_css_classes=>'t-Region--scrollBody' ,p_group_id=>wwv_flow_api.id(55689466533997258693) ,p_template_types=>'REGION' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689469951969258696) ,p_theme_id=>42 ,p_name=>'STACKED' ,p_display_name=>'Stack Region' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689467856975258694) ,p_css_classes=>'t-Region--stacked' ,p_group_id=>wwv_flow_api.id(55689463846850258692) ,p_template_types=>'REGION' ,p_help_text=>'Removes side borders and shadows, and can be useful for accordions and regions that need to be grouped together vertically.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689470175895258696) ,p_theme_id=>42 ,p_name=>'ADD_BODY_PADDING' ,p_display_name=>'Add Body Padding' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689470075307258696) ,p_css_classes=>'t-ContentBlock--padded' ,p_template_types=>'REGION' ,p_help_text=>'Adds padding to the region''s body container.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689470355911258697) ,p_theme_id=>42 ,p_name=>'CONTENT_TITLE_H1' ,p_display_name=>'Heading Level 1' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689470075307258696) ,p_css_classes=>'t-ContentBlock--h1' ,p_group_id=>wwv_flow_api.id(55689470265970258696) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689470476412258697) ,p_theme_id=>42 ,p_name=>'CONTENT_TITLE_H2' ,p_display_name=>'Heading Level 2' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689470075307258696) ,p_css_classes=>'t-ContentBlock--h2' ,p_group_id=>wwv_flow_api.id(55689470265970258696) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689470538191258697) ,p_theme_id=>42 ,p_name=>'CONTENT_TITLE_H3' ,p_display_name=>'Heading Level 3' ,p_display_sequence=>30 ,p_region_template_id=>wwv_flow_api.id(55689470075307258696) ,p_css_classes=>'t-ContentBlock--h3' ,p_group_id=>wwv_flow_api.id(55689470265970258696) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689470746907258697) ,p_theme_id=>42 ,p_name=>'LIGHT_BACKGROUND' ,p_display_name=>'Light Background' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689470075307258696) ,p_css_classes=>'t-ContentBlock--lightBG' ,p_group_id=>wwv_flow_api.id(55689470623516258697) ,p_template_types=>'REGION' ,p_help_text=>'Gives the region body a slightly lighter background.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689470816680258697) ,p_theme_id=>42 ,p_name=>'SHADOW_BACKGROUND' ,p_display_name=>'Shadow Background' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689470075307258696) ,p_css_classes=>'t-ContentBlock--shadowBG' ,p_group_id=>wwv_flow_api.id(55689470623516258697) ,p_template_types=>'REGION' ,p_help_text=>'Gives the region body a slightly darker background.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689471241413258697) ,p_theme_id=>42 ,p_name=>'DISPLAY_ICON_NO' ,p_display_name=>'No' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689470985259258697) ,p_css_classes=>'t-HeroRegion--hideIcon' ,p_group_id=>wwv_flow_api.id(55689471133466258697) ,p_template_types=>'REGION' ,p_help_text=>'Hide the Hero Region icon.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689471382598258697) ,p_theme_id=>42 ,p_name=>'FEATURED' ,p_display_name=>'Featured' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689470985259258697) ,p_css_classes=>'t-HeroRegion--featured' ,p_group_id=>wwv_flow_api.id(55689463846850258692) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689471423716258697) ,p_theme_id=>42 ,p_name=>'REMOVE_BODY_PADDING' ,p_display_name=>'Remove Body Padding' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689470985259258697) ,p_css_classes=>'t-HeroRegion--noPadding' ,p_template_types=>'REGION' ,p_help_text=>'Removes the padding around the hero region.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689471532730258697) ,p_theme_id=>42 ,p_name=>'STACKED_FEATURED' ,p_display_name=>'Stacked Featured' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689470985259258697) ,p_css_classes=>'t-HeroRegion--featured t-HeroRegion--centered' ,p_group_id=>wwv_flow_api.id(55689463846850258692) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689471834401258698) ,p_theme_id=>42 ,p_name=>'AUTO_HEIGHT_INLINE_DIALOG' ,p_display_name=>'Auto Height' ,p_display_sequence=>1 ,p_region_template_id=>wwv_flow_api.id(55689471612158258697) ,p_css_classes=>'js-dialog-autoheight' ,p_template_types=>'REGION' ,p_help_text=>'This option will set the height of the dialog to fit its contents.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689471953832258698) ,p_theme_id=>42 ,p_name=>'DRAGGABLE' ,p_display_name=>'Draggable' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689471612158258697) ,p_css_classes=>'js-draggable' ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689472141800258698) ,p_theme_id=>42 ,p_name=>'LARGE_720X480' ,p_display_name=>'Large (720x480)' ,p_display_sequence=>30 ,p_region_template_id=>wwv_flow_api.id(55689471612158258697) ,p_css_classes=>'js-dialog-size720x480' ,p_group_id=>wwv_flow_api.id(55689472097998258698) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689472213435258698) ,p_theme_id=>42 ,p_name=>'MEDIUM_600X400' ,p_display_name=>'Medium (600x400)' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689471612158258697) ,p_css_classes=>'js-dialog-size600x400' ,p_group_id=>wwv_flow_api.id(55689472097998258698) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689472395592258698) ,p_theme_id=>42 ,p_name=>'MODAL' ,p_display_name=>'Modal' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689471612158258697) ,p_css_classes=>'js-modal' ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689472456328258698) ,p_theme_id=>42 ,p_name=>'RESIZABLE' ,p_display_name=>'Resizable' ,p_display_sequence=>30 ,p_region_template_id=>wwv_flow_api.id(55689471612158258697) ,p_css_classes=>'js-resizable' ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689472575696258698) ,p_theme_id=>42 ,p_name=>'SMALL_480X320' ,p_display_name=>'Small (480x320)' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689471612158258697) ,p_css_classes=>'js-dialog-size480x320' ,p_group_id=>wwv_flow_api.id(55689472097998258698) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689472740034258698) ,p_theme_id=>42 ,p_name=>'REMOVEBORDERS' ,p_display_name=>'Remove Borders' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689472642365258698) ,p_css_classes=>'t-IRR-region--noBorders' ,p_template_types=>'REGION' ,p_help_text=>'Removes borders around the Interactive Report' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689472884781258698) ,p_theme_id=>42 ,p_name=>'SHOW_MAXIMIZE_BUTTON' ,p_display_name=>'Show Maximize Button' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689472642365258698) ,p_css_classes=>'js-showMaximizeButton' ,p_template_types=>'REGION' ,p_help_text=>'Displays a button in the Interactive Reports toolbar to maximize the report. Clicking this button will toggle the maximize state and stretch the report to fill the screen.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689473492352258699) ,p_theme_id=>42 ,p_name=>'240PX' ,p_display_name=>'240px' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689473177657258698) ,p_css_classes=>'i-h240' ,p_group_id=>wwv_flow_api.id(55689465110146258693) ,p_template_types=>'REGION' ,p_help_text=>'Sets region body height to 240px.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689473582853258699) ,p_theme_id=>42 ,p_name=>'320PX' ,p_display_name=>'320px' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689473177657258698) ,p_css_classes=>'i-h320' ,p_group_id=>wwv_flow_api.id(55689465110146258693) ,p_template_types=>'REGION' ,p_help_text=>'Sets region body height to 320px.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689473642964258699) ,p_theme_id=>42 ,p_name=>'480PX' ,p_display_name=>'480px' ,p_display_sequence=>30 ,p_region_template_id=>wwv_flow_api.id(55689473177657258698) ,p_css_classes=>'i-h480' ,p_group_id=>wwv_flow_api.id(55689465110146258693) ,p_template_types=>'REGION' ); end; / begin wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689473729021258699) ,p_theme_id=>42 ,p_name=>'640PX' ,p_display_name=>'640px' ,p_display_sequence=>40 ,p_region_template_id=>wwv_flow_api.id(55689473177657258698) ,p_css_classes=>'i-h640' ,p_group_id=>wwv_flow_api.id(55689465110146258693) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689473860890258699) ,p_theme_id=>42 ,p_name=>'ACCENT_1' ,p_display_name=>'Accent 1' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689473177657258698) ,p_css_classes=>'t-Region--accent1' ,p_group_id=>wwv_flow_api.id(55689465760057258693) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689473948234258699) ,p_theme_id=>42 ,p_name=>'ACCENT_10' ,p_display_name=>'Accent 10' ,p_display_sequence=>100 ,p_region_template_id=>wwv_flow_api.id(55689473177657258698) ,p_css_classes=>'t-Region--accent10' ,p_group_id=>wwv_flow_api.id(55689465760057258693) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689474080021258699) ,p_theme_id=>42 ,p_name=>'ACCENT_11' ,p_display_name=>'Accent 11' ,p_display_sequence=>110 ,p_region_template_id=>wwv_flow_api.id(55689473177657258698) ,p_css_classes=>'t-Region--accent11' ,p_group_id=>wwv_flow_api.id(55689465760057258693) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689474140037258699) ,p_theme_id=>42 ,p_name=>'ACCENT_12' ,p_display_name=>'Accent 12' ,p_display_sequence=>120 ,p_region_template_id=>wwv_flow_api.id(55689473177657258698) ,p_css_classes=>'t-Region--accent12' ,p_group_id=>wwv_flow_api.id(55689465760057258693) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689474266100258699) ,p_theme_id=>42 ,p_name=>'ACCENT_13' ,p_display_name=>'Accent 13' ,p_display_sequence=>130 ,p_region_template_id=>wwv_flow_api.id(55689473177657258698) ,p_css_classes=>'t-Region--accent13' ,p_group_id=>wwv_flow_api.id(55689465760057258693) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689474305809258699) ,p_theme_id=>42 ,p_name=>'ACCENT_14' ,p_display_name=>'Accent 14' ,p_display_sequence=>140 ,p_region_template_id=>wwv_flow_api.id(55689473177657258698) ,p_css_classes=>'t-Region--accent14' ,p_group_id=>wwv_flow_api.id(55689465760057258693) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689474488823258699) ,p_theme_id=>42 ,p_name=>'ACCENT_15' ,p_display_name=>'Accent 15' ,p_display_sequence=>150 ,p_region_template_id=>wwv_flow_api.id(55689473177657258698) ,p_css_classes=>'t-Region--accent15' ,p_group_id=>wwv_flow_api.id(55689465760057258693) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689474521610258699) ,p_theme_id=>42 ,p_name=>'ACCENT_2' ,p_display_name=>'Accent 2' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689473177657258698) ,p_css_classes=>'t-Region--accent2' ,p_group_id=>wwv_flow_api.id(55689465760057258693) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689474615514258699) ,p_theme_id=>42 ,p_name=>'ACCENT_3' ,p_display_name=>'Accent 3' ,p_display_sequence=>30 ,p_region_template_id=>wwv_flow_api.id(55689473177657258698) ,p_css_classes=>'t-Region--accent3' ,p_group_id=>wwv_flow_api.id(55689465760057258693) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689474778863258699) ,p_theme_id=>42 ,p_name=>'ACCENT_4' ,p_display_name=>'Accent 4' ,p_display_sequence=>40 ,p_region_template_id=>wwv_flow_api.id(55689473177657258698) ,p_css_classes=>'t-Region--accent4' ,p_group_id=>wwv_flow_api.id(55689465760057258693) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689474817532258699) ,p_theme_id=>42 ,p_name=>'ACCENT_5' ,p_display_name=>'Accent 5' ,p_display_sequence=>50 ,p_region_template_id=>wwv_flow_api.id(55689473177657258698) ,p_css_classes=>'t-Region--accent5' ,p_group_id=>wwv_flow_api.id(55689465760057258693) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689474969477258699) ,p_theme_id=>42 ,p_name=>'ACCENT_6' ,p_display_name=>'Accent 6' ,p_display_sequence=>60 ,p_region_template_id=>wwv_flow_api.id(55689473177657258698) ,p_css_classes=>'t-Region--accent6' ,p_group_id=>wwv_flow_api.id(55689465760057258693) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689475029344258699) ,p_theme_id=>42 ,p_name=>'ACCENT_7' ,p_display_name=>'Accent 7' ,p_display_sequence=>70 ,p_region_template_id=>wwv_flow_api.id(55689473177657258698) ,p_css_classes=>'t-Region--accent7' ,p_group_id=>wwv_flow_api.id(55689465760057258693) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689475104667258701) ,p_theme_id=>42 ,p_name=>'ACCENT_8' ,p_display_name=>'Accent 8' ,p_display_sequence=>80 ,p_region_template_id=>wwv_flow_api.id(55689473177657258698) ,p_css_classes=>'t-Region--accent8' ,p_group_id=>wwv_flow_api.id(55689465760057258693) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689475229731258701) ,p_theme_id=>42 ,p_name=>'ACCENT_9' ,p_display_name=>'Accent 9' ,p_display_sequence=>90 ,p_region_template_id=>wwv_flow_api.id(55689473177657258698) ,p_css_classes=>'t-Region--accent9' ,p_group_id=>wwv_flow_api.id(55689465760057258693) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689475312103258701) ,p_theme_id=>42 ,p_name=>'HIDDENHEADERNOAT' ,p_display_name=>'Hidden' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689473177657258698) ,p_css_classes=>'t-Region--removeHeader' ,p_group_id=>wwv_flow_api.id(55689466314763258693) ,p_template_types=>'REGION' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689475416280258701) ,p_theme_id=>42 ,p_name=>'HIDEOVERFLOW' ,p_display_name=>'Hide' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689473177657258698) ,p_css_classes=>'t-Region--hiddenOverflow' ,p_group_id=>wwv_flow_api.id(55689466533997258693) ,p_template_types=>'REGION' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689475558099258701) ,p_theme_id=>42 ,p_name=>'HIDEREGIONHEADER' ,p_display_name=>'Hidden but accessible' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689473177657258698) ,p_css_classes=>'t-Region--hideHeader' ,p_group_id=>wwv_flow_api.id(55689466314763258693) ,p_template_types=>'REGION' ,p_help_text=>'This option will hide the region header. Note that the region title will still be audible for Screen Readers. Buttons placed in the region header will be hidden and inaccessible.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689475608725258701) ,p_theme_id=>42 ,p_name=>'NOBODYPADDING' ,p_display_name=>'Remove Body Padding' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689473177657258698) ,p_css_classes=>'t-Region--noPadding' ,p_template_types=>'REGION' ,p_help_text=>'Removes padding from region body.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689475789270258701) ,p_theme_id=>42 ,p_name=>'NOBORDER' ,p_display_name=>'Remove Borders' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689473177657258698) ,p_css_classes=>'t-Region--noBorder' ,p_group_id=>wwv_flow_api.id(55689463846850258692) ,p_template_types=>'REGION' ,p_help_text=>'Removes borders from the region.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689475840102258701) ,p_theme_id=>42 ,p_name=>'REMOVE_UI_DECORATION' ,p_display_name=>'Remove UI Decoration' ,p_display_sequence=>30 ,p_region_template_id=>wwv_flow_api.id(55689473177657258698) ,p_css_classes=>'t-Region--noUI' ,p_group_id=>wwv_flow_api.id(55689463846850258692) ,p_template_types=>'REGION' ,p_help_text=>'Removes UI decoration (borders, backgrounds, shadows, etc) from the region.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689475981201258701) ,p_theme_id=>42 ,p_name=>'SCROLLBODY' ,p_display_name=>'Scroll - Default' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689473177657258698) ,p_css_classes=>'t-Region--scrollBody' ,p_group_id=>wwv_flow_api.id(55689466533997258693) ,p_template_types=>'REGION' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689476051945258701) ,p_theme_id=>42 ,p_name=>'SHOW_MAXIMIZE_BUTTON' ,p_display_name=>'Show Maximize Button' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689473177657258698) ,p_css_classes=>'js-showMaximizeButton' ,p_template_types=>'REGION' ,p_help_text=>'Displays a button in the Region Header to maximize the region. Clicking this button will toggle the maximize state and stretch the region to fill the screen.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689476127705258701) ,p_theme_id=>42 ,p_name=>'STACKED' ,p_display_name=>'Stack Region' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689473177657258698) ,p_css_classes=>'t-Region--stacked' ,p_group_id=>wwv_flow_api.id(55689463846850258692) ,p_template_types=>'REGION' ,p_help_text=>'Removes side borders and shadows, and can be useful for accordions and regions that need to be grouped together vertically.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689476213777258701) ,p_theme_id=>42 ,p_name=>'TEXT_CONTENT' ,p_display_name=>'Text Content' ,p_display_sequence=>40 ,p_region_template_id=>wwv_flow_api.id(55689473177657258698) ,p_css_classes=>'t-Region--textContent' ,p_group_id=>wwv_flow_api.id(55689463846850258692) ,p_template_types=>'REGION' ,p_help_text=>'Useful for displaying primarily text-based content, such as FAQs and more.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689476731380258702) ,p_theme_id=>42 ,p_name=>'FILL_TAB_LABELS' ,p_display_name=>'Fill Tab Labels' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689476396128258701) ,p_css_classes=>'t-TabsRegion-mod--fillLabels' ,p_group_id=>wwv_flow_api.id(55689476602113258702) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689476941211258702) ,p_theme_id=>42 ,p_name=>'PILL' ,p_display_name=>'Pill' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689476396128258701) ,p_css_classes=>'t-TabsRegion-mod--pill' ,p_group_id=>wwv_flow_api.id(55689476849737258702) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689477021578258702) ,p_theme_id=>42 ,p_name=>'REMEMBER_ACTIVE_TAB' ,p_display_name=>'Remember Active Tab' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689476396128258701) ,p_css_classes=>'js-useLocalStorage' ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689477145987258702) ,p_theme_id=>42 ,p_name=>'SIMPLE' ,p_display_name=>'Simple' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689476396128258701) ,p_css_classes=>'t-TabsRegion-mod--simple' ,p_group_id=>wwv_flow_api.id(55689476849737258702) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689477332761258703) ,p_theme_id=>42 ,p_name=>'TABSLARGE' ,p_display_name=>'Large' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689476396128258701) ,p_css_classes=>'t-TabsRegion-mod--large' ,p_group_id=>wwv_flow_api.id(55689477268688258703) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689477422215258703) ,p_theme_id=>42 ,p_name=>'TABS_SMALL' ,p_display_name=>'Small' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689476396128258701) ,p_css_classes=>'t-TabsRegion-mod--small' ,p_group_id=>wwv_flow_api.id(55689477268688258703) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689477675600258703) ,p_theme_id=>42 ,p_name=>'GET_TITLE_FROM_BREADCRUMB' ,p_display_name=>'Use Current Breadcrumb Entry' ,p_display_sequence=>1 ,p_region_template_id=>wwv_flow_api.id(55689477573158258703) ,p_css_classes=>'t-BreadcrumbRegion--useBreadcrumbTitle' ,p_group_id=>wwv_flow_api.id(55689470265970258696) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689477769018258703) ,p_theme_id=>42 ,p_name=>'HIDE_BREADCRUMB' ,p_display_name=>'Show Breadcrumbs' ,p_display_sequence=>1 ,p_region_template_id=>wwv_flow_api.id(55689477573158258703) ,p_css_classes=>'t-BreadcrumbRegion--showBreadcrumb' ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689477871589258703) ,p_theme_id=>42 ,p_name=>'REGION_HEADER_VISIBLE' ,p_display_name=>'Use Region Title' ,p_display_sequence=>1 ,p_region_template_id=>wwv_flow_api.id(55689477573158258703) ,p_css_classes=>'t-BreadcrumbRegion--useRegionTitle' ,p_group_id=>wwv_flow_api.id(55689470265970258696) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689478232362258703) ,p_theme_id=>42 ,p_name=>'HIDESMALLSCREENS' ,p_display_name=>'Small Screens (Tablet)' ,p_display_sequence=>20 ,p_region_template_id=>wwv_flow_api.id(55689477921324258703) ,p_css_classes=>'t-Wizard--hideStepsSmall' ,p_group_id=>wwv_flow_api.id(55689478154985258703) ,p_template_types=>'REGION' ,p_help_text=>'Hides the wizard progress steps for screens that are smaller than 768px wide.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689478322501258704) ,p_theme_id=>42 ,p_name=>'HIDEXSMALLSCREENS' ,p_display_name=>'X Small Screens (Mobile)' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689477921324258703) ,p_css_classes=>'t-Wizard--hideStepsXSmall' ,p_group_id=>wwv_flow_api.id(55689478154985258703) ,p_template_types=>'REGION' ,p_help_text=>'Hides the wizard progress steps for screens that are smaller than 768px wide.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689478485592258705) ,p_theme_id=>42 ,p_name=>'SHOW_TITLE' ,p_display_name=>'Show Title' ,p_display_sequence=>10 ,p_region_template_id=>wwv_flow_api.id(55689477921324258703) ,p_css_classes=>'t-Wizard--showTitle' ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689478821609258705) ,p_theme_id=>42 ,p_name=>'128PX' ,p_display_name=>'128px' ,p_display_sequence=>50 ,p_report_template_id=>wwv_flow_api.id(55689478673498258705) ,p_css_classes=>'t-BadgeList--xxlarge' ,p_group_id=>wwv_flow_api.id(55689478772313258705) ,p_template_types=>'REPORT' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689479086678258706) ,p_theme_id=>42 ,p_name=>'2COLUMNGRID' ,p_display_name=>'2 Column Grid' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(55689478673498258705) ,p_css_classes=>'t-BadgeList--cols' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ,p_help_text=>'Arrange badges in a two column grid' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689479163223258706) ,p_theme_id=>42 ,p_name=>'32PX' ,p_display_name=>'32px' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(55689478673498258705) ,p_css_classes=>'t-BadgeList--small' ,p_group_id=>wwv_flow_api.id(55689478772313258705) ,p_template_types=>'REPORT' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689479293271258706) ,p_theme_id=>42 ,p_name=>'3COLUMNGRID' ,p_display_name=>'3 Column Grid' ,p_display_sequence=>30 ,p_report_template_id=>wwv_flow_api.id(55689478673498258705) ,p_css_classes=>'t-BadgeList--cols t-BadgeList--3cols' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ,p_help_text=>'Arrange badges in a 3 column grid' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689479368515258706) ,p_theme_id=>42 ,p_name=>'48PX' ,p_display_name=>'48px' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(55689478673498258705) ,p_css_classes=>'t-BadgeList--medium' ,p_group_id=>wwv_flow_api.id(55689478772313258705) ,p_template_types=>'REPORT' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689479467218258706) ,p_theme_id=>42 ,p_name=>'4COLUMNGRID' ,p_display_name=>'4 Column Grid' ,p_display_sequence=>40 ,p_report_template_id=>wwv_flow_api.id(55689478673498258705) ,p_css_classes=>'t-BadgeList--cols t-BadgeList--4cols' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689479555589258706) ,p_theme_id=>42 ,p_name=>'5COLUMNGRID' ,p_display_name=>'5 Column Grid' ,p_display_sequence=>50 ,p_report_template_id=>wwv_flow_api.id(55689478673498258705) ,p_css_classes=>'t-BadgeList--cols t-BadgeList--5cols' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689479646992258706) ,p_theme_id=>42 ,p_name=>'64PX' ,p_display_name=>'64px' ,p_display_sequence=>30 ,p_report_template_id=>wwv_flow_api.id(55689478673498258705) ,p_css_classes=>'t-BadgeList--large' ,p_group_id=>wwv_flow_api.id(55689478772313258705) ,p_template_types=>'REPORT' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689479790791258706) ,p_theme_id=>42 ,p_name=>'96PX' ,p_display_name=>'96px' ,p_display_sequence=>40 ,p_report_template_id=>wwv_flow_api.id(55689478673498258705) ,p_css_classes=>'t-BadgeList--xlarge' ,p_group_id=>wwv_flow_api.id(55689478772313258705) ,p_template_types=>'REPORT' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689479841490258706) ,p_theme_id=>42 ,p_name=>'FIXED' ,p_display_name=>'Span Horizontally' ,p_display_sequence=>60 ,p_report_template_id=>wwv_flow_api.id(55689478673498258705) ,p_css_classes=>'t-BadgeList--fixed' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689479978468258706) ,p_theme_id=>42 ,p_name=>'FLEXIBLEBOX' ,p_display_name=>'Flexible Box' ,p_display_sequence=>80 ,p_report_template_id=>wwv_flow_api.id(55689478673498258705) ,p_css_classes=>'t-BadgeList--flex' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689480012164258706) ,p_theme_id=>42 ,p_name=>'FLOATITEMS' ,p_display_name=>'Float Items' ,p_display_sequence=>70 ,p_report_template_id=>wwv_flow_api.id(55689478673498258705) ,p_css_classes=>'t-BadgeList--float' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689480151390258706) ,p_theme_id=>42 ,p_name=>'RESPONSIVE' ,p_display_name=>'Responsive' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(55689478673498258705) ,p_css_classes=>'t-BadgeList--responsive' ,p_template_types=>'REPORT' ,p_help_text=>'Automatically resize badges to smaller sizes as screen becomes smaller.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689480287371258706) ,p_theme_id=>42 ,p_name=>'STACKED' ,p_display_name=>'Stacked' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(55689478673498258705) ,p_css_classes=>'t-BadgeList--stacked' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689480449023258707) ,p_theme_id=>42 ,p_name=>'2_COLUMNS' ,p_display_name=>'2 Columns' ,p_display_sequence=>15 ,p_report_template_id=>wwv_flow_api.id(55689480336426258706) ,p_css_classes=>'t-Cards--cols' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689480636905258707) ,p_theme_id=>42 ,p_name=>'2_LINES' ,p_display_name=>'2 Lines' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(55689480336426258706) ,p_css_classes=>'t-Cards--desc-2ln' ,p_group_id=>wwv_flow_api.id(55689480574404258707) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689480799248258707) ,p_theme_id=>42 ,p_name=>'3_COLUMNS' ,p_display_name=>'3 Columns' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(55689480336426258706) ,p_css_classes=>'t-Cards--3cols' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689480896666258707) ,p_theme_id=>42 ,p_name=>'3_LINES' ,p_display_name=>'3 Lines' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(55689480336426258706) ,p_css_classes=>'t-Cards--desc-3ln' ,p_group_id=>wwv_flow_api.id(55689480574404258707) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689480983745258707) ,p_theme_id=>42 ,p_name=>'4_COLUMNS' ,p_display_name=>'4 Columns' ,p_display_sequence=>30 ,p_report_template_id=>wwv_flow_api.id(55689480336426258706) ,p_css_classes=>'t-Cards--4cols' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689481088741258707) ,p_theme_id=>42 ,p_name=>'4_LINES' ,p_display_name=>'4 Lines' ,p_display_sequence=>30 ,p_report_template_id=>wwv_flow_api.id(55689480336426258706) ,p_css_classes=>'t-Cards--desc-4ln' ,p_group_id=>wwv_flow_api.id(55689480574404258707) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689481119227258708) ,p_theme_id=>42 ,p_name=>'5_COLUMNS' ,p_display_name=>'5 Columns' ,p_display_sequence=>50 ,p_report_template_id=>wwv_flow_api.id(55689480336426258706) ,p_css_classes=>'t-Cards--5cols' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689481397554258708) ,p_theme_id=>42 ,p_name=>'BASIC' ,p_display_name=>'Basic' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(55689480336426258706) ,p_css_classes=>'t-Cards--basic' ,p_group_id=>wwv_flow_api.id(55689481277974258708) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689481550481258708) ,p_theme_id=>42 ,p_name=>'CARDS_COLOR_FILL' ,p_display_name=>'Color Fill' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(55689480336426258706) ,p_css_classes=>'t-Cards--animColorFill' ,p_group_id=>wwv_flow_api.id(55689481441992258708) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689481662830258708) ,p_theme_id=>42 ,p_name=>'CARD_RAISE_CARD' ,p_display_name=>'Raise Card' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(55689480336426258706) ,p_css_classes=>'t-Cards--animRaiseCard' ,p_group_id=>wwv_flow_api.id(55689481441992258708) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689481766136258708) ,p_theme_id=>42 ,p_name=>'COMPACT' ,p_display_name=>'Compact' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(55689480336426258706) ,p_css_classes=>'t-Cards--compact' ,p_group_id=>wwv_flow_api.id(55689481277974258708) ,p_template_types=>'REPORT' ,p_help_text=>'Use this option when you want to show smaller cards.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689481908092258708) ,p_theme_id=>42 ,p_name=>'DISPLAY_ICONS' ,p_display_name=>'Display Icons' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(55689480336426258706) ,p_css_classes=>'t-Cards--displayIcons' ,p_group_id=>wwv_flow_api.id(55689481840449258708) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689482016515258708) ,p_theme_id=>42 ,p_name=>'DISPLAY_INITIALS' ,p_display_name=>'Display Initials' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(55689480336426258706) ,p_css_classes=>'t-Cards--displayInitials' ,p_group_id=>wwv_flow_api.id(55689481840449258708) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689482161755258708) ,p_theme_id=>42 ,p_name=>'FEATURED' ,p_display_name=>'Featured' ,p_display_sequence=>30 ,p_report_template_id=>wwv_flow_api.id(55689480336426258706) ,p_css_classes=>'t-Cards--featured' ,p_group_id=>wwv_flow_api.id(55689481277974258708) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689482266064258708) ,p_theme_id=>42 ,p_name=>'FLOAT' ,p_display_name=>'Float' ,p_display_sequence=>60 ,p_report_template_id=>wwv_flow_api.id(55689480336426258706) ,p_css_classes=>'t-Cards--float' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689482329779258709) ,p_theme_id=>42 ,p_name=>'HIDDEN_BODY_TEXT' ,p_display_name=>'Hidden' ,p_display_sequence=>50 ,p_report_template_id=>wwv_flow_api.id(55689480336426258706) ,p_css_classes=>'t-Cards--hideBody' ,p_group_id=>wwv_flow_api.id(55689480574404258707) ,p_template_types=>'REPORT' ,p_help_text=>'This option hides the card body which contains description and subtext.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689482469847258709) ,p_theme_id=>42 ,p_name=>'SPAN_HORIZONTALLY' ,p_display_name=>'Span Horizontally' ,p_display_sequence=>70 ,p_report_template_id=>wwv_flow_api.id(55689480336426258706) ,p_css_classes=>'t-Cards--spanHorizontally' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689482576920258709) ,p_theme_id=>42 ,p_name=>'USE_THEME_COLORS' ,p_display_name=>'Apply Theme Colors' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(55689480336426258706) ,p_css_classes=>'u-colors' ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689482812025258709) ,p_theme_id=>42 ,p_name=>'BASIC' ,p_display_name=>'Basic' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(55689482654924258709) ,p_css_classes=>'t-Comments--basic' ,p_group_id=>wwv_flow_api.id(55689482728578258709) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689482953516258709) ,p_theme_id=>42 ,p_name=>'SPEECH_BUBBLES' ,p_display_name=>'Speech Bubbles' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(55689482654924258709) ,p_css_classes=>'t-Comments--chat' ,p_group_id=>wwv_flow_api.id(55689482728578258709) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689483396629258710) ,p_theme_id=>42 ,p_name=>'ALTROWCOLORSDISABLE' ,p_display_name=>'Disable' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(55689483178799258709) ,p_css_classes=>'t-Report--staticRowColors' ,p_group_id=>wwv_flow_api.id(55689483207724258710) ,p_template_types=>'REPORT' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689483440111258710) ,p_theme_id=>42 ,p_name=>'ALTROWCOLORSENABLE' ,p_display_name=>'Enable' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(55689483178799258709) ,p_css_classes=>'t-Report--altRowsDefault' ,p_group_id=>wwv_flow_api.id(55689483207724258710) ,p_template_types=>'REPORT' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689483638252258710) ,p_theme_id=>42 ,p_name=>'ENABLE' ,p_display_name=>'Enable' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(55689483178799258709) ,p_css_classes=>'t-Report--rowHighlight' ,p_group_id=>wwv_flow_api.id(55689483519606258710) ,p_template_types=>'REPORT' ,p_help_text=>'Enable row highlighting on mouse over' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689483849965258710) ,p_theme_id=>42 ,p_name=>'HORIZONTALBORDERS' ,p_display_name=>'Horizontal Only' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(55689483178799258709) ,p_css_classes=>'t-Report--horizontalBorders' ,p_group_id=>wwv_flow_api.id(55689483723746258710) ,p_template_types=>'REPORT' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689483915636258710) ,p_theme_id=>42 ,p_name=>'REMOVEALLBORDERS' ,p_display_name=>'No Borders' ,p_display_sequence=>30 ,p_report_template_id=>wwv_flow_api.id(55689483178799258709) ,p_css_classes=>'t-Report--noBorders' ,p_group_id=>wwv_flow_api.id(55689483723746258710) ,p_template_types=>'REPORT' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689484056151258710) ,p_theme_id=>42 ,p_name=>'REMOVEOUTERBORDERS' ,p_display_name=>'No Outer Borders' ,p_display_sequence=>40 ,p_report_template_id=>wwv_flow_api.id(55689483178799258709) ,p_css_classes=>'t-Report--inline' ,p_group_id=>wwv_flow_api.id(55689483723746258710) ,p_template_types=>'REPORT' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689484137747258710) ,p_theme_id=>42 ,p_name=>'ROWHIGHLIGHTDISABLE' ,p_display_name=>'Disable' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(55689483178799258709) ,p_css_classes=>'t-Report--rowHighlightOff' ,p_group_id=>wwv_flow_api.id(55689483519606258710) ,p_template_types=>'REPORT' ,p_help_text=>'Disable row highlighting on mouse over' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689484295894258710) ,p_theme_id=>42 ,p_name=>'STRETCHREPORT' ,p_display_name=>'Stretch Report' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(55689483178799258709) ,p_css_classes=>'t-Report--stretch' ,p_template_types=>'REPORT' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689484390152258710) ,p_theme_id=>42 ,p_name=>'VERTICALBORDERS' ,p_display_name=>'Vertical Only' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(55689483178799258709) ,p_css_classes=>'t-Report--verticalBorders' ,p_group_id=>wwv_flow_api.id(55689483723746258710) ,p_template_types=>'REPORT' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689484585820258710) ,p_theme_id=>42 ,p_name=>'COMPACT' ,p_display_name=>'Compact' ,p_display_sequence=>1 ,p_report_template_id=>wwv_flow_api.id(55689484460656258710) ,p_css_classes=>'t-Timeline--compact' ,p_group_id=>wwv_flow_api.id(55689481277974258708) ,p_template_types=>'REPORT' ,p_help_text=>'Displays a compact version of timeline with smaller text and fewer columns.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689484889910258710) ,p_theme_id=>42 ,p_name=>'FIXED_LARGE' ,p_display_name=>'Fixed - Large' ,p_display_sequence=>30 ,p_report_template_id=>wwv_flow_api.id(55689484670002258710) ,p_css_classes=>'t-AVPList--fixedLabelLarge' ,p_group_id=>wwv_flow_api.id(55689484786760258710) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689484923226258710) ,p_theme_id=>42 ,p_name=>'FIXED_MEDIUM' ,p_display_name=>'Fixed - Medium' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(55689484670002258710) ,p_css_classes=>'t-AVPList--fixedLabelMedium' ,p_group_id=>wwv_flow_api.id(55689484786760258710) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689485083797258711) ,p_theme_id=>42 ,p_name=>'FIXED_SMALL' ,p_display_name=>'Fixed - Small' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(55689484670002258710) ,p_css_classes=>'t-AVPList--fixedLabelSmall' ,p_group_id=>wwv_flow_api.id(55689484786760258710) ,p_template_types=>'REPORT' ); end; / begin wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689485115931258711) ,p_theme_id=>42 ,p_name=>'LEFT_ALIGNED_DETAILS' ,p_display_name=>'Left Aligned Details' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(55689484670002258710) ,p_css_classes=>'t-AVPList--leftAligned' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689485255220258711) ,p_theme_id=>42 ,p_name=>'RIGHT_ALIGNED_DETAILS' ,p_display_name=>'Right Aligned Details' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(55689484670002258710) ,p_css_classes=>'t-AVPList--rightAligned' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689485380572258711) ,p_theme_id=>42 ,p_name=>'VARIABLE_LARGE' ,p_display_name=>'Variable - Large' ,p_display_sequence=>60 ,p_report_template_id=>wwv_flow_api.id(55689484670002258710) ,p_css_classes=>'t-AVPList--variableLabelLarge' ,p_group_id=>wwv_flow_api.id(55689484786760258710) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689485449408258711) ,p_theme_id=>42 ,p_name=>'VARIABLE_MEDIUM' ,p_display_name=>'Variable - Medium' ,p_display_sequence=>50 ,p_report_template_id=>wwv_flow_api.id(55689484670002258710) ,p_css_classes=>'t-AVPList--variableLabelMedium' ,p_group_id=>wwv_flow_api.id(55689484786760258710) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689485525407258711) ,p_theme_id=>42 ,p_name=>'VARIABLE_SMALL' ,p_display_name=>'Variable - Small' ,p_display_sequence=>40 ,p_report_template_id=>wwv_flow_api.id(55689484670002258710) ,p_css_classes=>'t-AVPList--variableLabelSmall' ,p_group_id=>wwv_flow_api.id(55689484786760258710) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689485761181258711) ,p_theme_id=>42 ,p_name=>'FIXED_LARGE' ,p_display_name=>'Fixed - Large' ,p_display_sequence=>30 ,p_report_template_id=>wwv_flow_api.id(55689485634595258711) ,p_css_classes=>'t-AVPList--fixedLabelLarge' ,p_group_id=>wwv_flow_api.id(55689484786760258710) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689485819769258711) ,p_theme_id=>42 ,p_name=>'FIXED_MEDIUM' ,p_display_name=>'Fixed - Medium' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(55689485634595258711) ,p_css_classes=>'t-AVPList--fixedLabelMedium' ,p_group_id=>wwv_flow_api.id(55689484786760258710) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689485986744258711) ,p_theme_id=>42 ,p_name=>'FIXED_SMALL' ,p_display_name=>'Fixed - Small' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(55689485634595258711) ,p_css_classes=>'t-AVPList--fixedLabelSmall' ,p_group_id=>wwv_flow_api.id(55689484786760258710) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689486013498258711) ,p_theme_id=>42 ,p_name=>'LEFT_ALIGNED_DETAILS' ,p_display_name=>'Left Aligned Details' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(55689485634595258711) ,p_css_classes=>'t-AVPList--leftAligned' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689486134063258712) ,p_theme_id=>42 ,p_name=>'RIGHT_ALIGNED_DETAILS' ,p_display_name=>'Right Aligned Details' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(55689485634595258711) ,p_css_classes=>'t-AVPList--rightAligned' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689486295961258712) ,p_theme_id=>42 ,p_name=>'VARIABLE_LARGE' ,p_display_name=>'Variable - Large' ,p_display_sequence=>60 ,p_report_template_id=>wwv_flow_api.id(55689485634595258711) ,p_css_classes=>'t-AVPList--variableLabelLarge' ,p_group_id=>wwv_flow_api.id(55689484786760258710) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689486387235258712) ,p_theme_id=>42 ,p_name=>'VARIABLE_MEDIUM' ,p_display_name=>'Variable - Medium' ,p_display_sequence=>50 ,p_report_template_id=>wwv_flow_api.id(55689485634595258711) ,p_css_classes=>'t-AVPList--variableLabelMedium' ,p_group_id=>wwv_flow_api.id(55689484786760258710) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689486489251258712) ,p_theme_id=>42 ,p_name=>'VARIABLE_SMALL' ,p_display_name=>'Variable - Small' ,p_display_sequence=>40 ,p_report_template_id=>wwv_flow_api.id(55689485634595258711) ,p_css_classes=>'t-AVPList--variableLabelSmall' ,p_group_id=>wwv_flow_api.id(55689484786760258710) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689486742531258713) ,p_theme_id=>42 ,p_name=>'2COLUMNGRID' ,p_display_name=>'2 Column Grid' ,p_display_sequence=>20 ,p_list_template_id=>wwv_flow_api.id(55689486519141258712) ,p_css_classes=>'t-BadgeList--cols' ,p_group_id=>wwv_flow_api.id(55689486637703258713) ,p_template_types=>'LIST' ,p_help_text=>'Arrange badges in a two column grid' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689486891638258713) ,p_theme_id=>42 ,p_name=>'3COLUMNGRID' ,p_display_name=>'3 Column Grid' ,p_display_sequence=>30 ,p_list_template_id=>wwv_flow_api.id(55689486519141258712) ,p_css_classes=>'t-BadgeList--cols t-BadgeList--3cols' ,p_group_id=>wwv_flow_api.id(55689486637703258713) ,p_template_types=>'LIST' ,p_help_text=>'Arrange badges in a 3 column grid' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689486911476258713) ,p_theme_id=>42 ,p_name=>'4COLUMNGRID' ,p_display_name=>'4 Column Grid' ,p_display_sequence=>40 ,p_list_template_id=>wwv_flow_api.id(55689486519141258712) ,p_css_classes=>'t-BadgeList--cols t-BadgeList--4cols' ,p_group_id=>wwv_flow_api.id(55689486637703258713) ,p_template_types=>'LIST' ,p_help_text=>'Arrange badges in 4 column grid' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689487025889258713) ,p_theme_id=>42 ,p_name=>'5COLUMNGRID' ,p_display_name=>'5 Column Grid' ,p_display_sequence=>50 ,p_list_template_id=>wwv_flow_api.id(55689486519141258712) ,p_css_classes=>'t-BadgeList--cols t-BadgeList--5cols' ,p_group_id=>wwv_flow_api.id(55689486637703258713) ,p_template_types=>'LIST' ,p_help_text=>'Arrange badges in a 5 column grid' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689487170510258713) ,p_theme_id=>42 ,p_name=>'FIXED' ,p_display_name=>'Span Horizontally' ,p_display_sequence=>60 ,p_list_template_id=>wwv_flow_api.id(55689486519141258712) ,p_css_classes=>'t-BadgeList--fixed' ,p_group_id=>wwv_flow_api.id(55689486637703258713) ,p_template_types=>'LIST' ,p_help_text=>'Span badges horizontally' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689487282120258713) ,p_theme_id=>42 ,p_name=>'FLEXIBLEBOX' ,p_display_name=>'Flexible Box' ,p_display_sequence=>80 ,p_list_template_id=>wwv_flow_api.id(55689486519141258712) ,p_css_classes=>'t-BadgeList--flex' ,p_group_id=>wwv_flow_api.id(55689486637703258713) ,p_template_types=>'LIST' ,p_help_text=>'Use flexbox to arrange items' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689487356269258713) ,p_theme_id=>42 ,p_name=>'FLOATITEMS' ,p_display_name=>'Float Items' ,p_display_sequence=>70 ,p_list_template_id=>wwv_flow_api.id(55689486519141258712) ,p_css_classes=>'t-BadgeList--float' ,p_group_id=>wwv_flow_api.id(55689486637703258713) ,p_template_types=>'LIST' ,p_help_text=>'Float badges to left' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689487549943258713) ,p_theme_id=>42 ,p_name=>'LARGE' ,p_display_name=>'64px' ,p_display_sequence=>30 ,p_list_template_id=>wwv_flow_api.id(55689486519141258712) ,p_css_classes=>'t-BadgeList--large' ,p_group_id=>wwv_flow_api.id(55689487495504258713) ,p_template_types=>'LIST' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689487684337258713) ,p_theme_id=>42 ,p_name=>'MEDIUM' ,p_display_name=>'48px' ,p_display_sequence=>20 ,p_list_template_id=>wwv_flow_api.id(55689486519141258712) ,p_css_classes=>'t-BadgeList--medium' ,p_group_id=>wwv_flow_api.id(55689487495504258713) ,p_template_types=>'LIST' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689487721069258713) ,p_theme_id=>42 ,p_name=>'RESPONSIVE' ,p_display_name=>'Responsive' ,p_display_sequence=>10 ,p_list_template_id=>wwv_flow_api.id(55689486519141258712) ,p_css_classes=>'t-BadgeList--responsive' ,p_template_types=>'LIST' ,p_help_text=>'Automatically resize badges to smaller sizes as screen becomes smaller.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689487842903258713) ,p_theme_id=>42 ,p_name=>'SMALL' ,p_display_name=>'32px' ,p_display_sequence=>10 ,p_list_template_id=>wwv_flow_api.id(55689486519141258712) ,p_css_classes=>'t-BadgeList--small' ,p_group_id=>wwv_flow_api.id(55689487495504258713) ,p_template_types=>'LIST' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689487977669258713) ,p_theme_id=>42 ,p_name=>'STACKED' ,p_display_name=>'Stacked' ,p_display_sequence=>10 ,p_list_template_id=>wwv_flow_api.id(55689486519141258712) ,p_css_classes=>'t-BadgeList--stacked' ,p_group_id=>wwv_flow_api.id(55689486637703258713) ,p_template_types=>'LIST' ,p_help_text=>'Stack badges on top of each other' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689488022751258713) ,p_theme_id=>42 ,p_name=>'XLARGE' ,p_display_name=>'96px' ,p_display_sequence=>40 ,p_list_template_id=>wwv_flow_api.id(55689486519141258712) ,p_css_classes=>'t-BadgeList--xlarge' ,p_group_id=>wwv_flow_api.id(55689487495504258713) ,p_template_types=>'LIST' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689488180623258713) ,p_theme_id=>42 ,p_name=>'XXLARGE' ,p_display_name=>'128px' ,p_display_sequence=>50 ,p_list_template_id=>wwv_flow_api.id(55689486519141258712) ,p_css_classes=>'t-BadgeList--xxlarge' ,p_group_id=>wwv_flow_api.id(55689487495504258713) ,p_template_types=>'LIST' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689488306373258714) ,p_theme_id=>42 ,p_name=>'2_COLUMNS' ,p_display_name=>'2 Columns' ,p_display_sequence=>10 ,p_list_template_id=>wwv_flow_api.id(55689488267663258714) ,p_css_classes=>'t-Cards--cols' ,p_group_id=>wwv_flow_api.id(55689486637703258713) ,p_template_types=>'LIST' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689488562192258714) ,p_theme_id=>42 ,p_name=>'2_LINES' ,p_display_name=>'2 Lines' ,p_display_sequence=>10 ,p_list_template_id=>wwv_flow_api.id(55689488267663258714) ,p_css_classes=>'t-Cards--desc-2ln' ,p_group_id=>wwv_flow_api.id(55689488459562258714) ,p_template_types=>'LIST' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689488691741258714) ,p_theme_id=>42 ,p_name=>'3_COLUMNS' ,p_display_name=>'3 Columns' ,p_display_sequence=>20 ,p_list_template_id=>wwv_flow_api.id(55689488267663258714) ,p_css_classes=>'t-Cards--3cols' ,p_group_id=>wwv_flow_api.id(55689486637703258713) ,p_template_types=>'LIST' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689488747496258714) ,p_theme_id=>42 ,p_name=>'3_LINES' ,p_display_name=>'3 Lines' ,p_display_sequence=>20 ,p_list_template_id=>wwv_flow_api.id(55689488267663258714) ,p_css_classes=>'t-Cards--desc-3ln' ,p_group_id=>wwv_flow_api.id(55689488459562258714) ,p_template_types=>'LIST' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689488823469258714) ,p_theme_id=>42 ,p_name=>'4_COLUMNS' ,p_display_name=>'4 Columns' ,p_display_sequence=>30 ,p_list_template_id=>wwv_flow_api.id(55689488267663258714) ,p_css_classes=>'t-Cards--4cols' ,p_group_id=>wwv_flow_api.id(55689486637703258713) ,p_template_types=>'LIST' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689488927481258714) ,p_theme_id=>42 ,p_name=>'4_LINES' ,p_display_name=>'4 Lines' ,p_display_sequence=>30 ,p_list_template_id=>wwv_flow_api.id(55689488267663258714) ,p_css_classes=>'t-Cards--desc-4ln' ,p_group_id=>wwv_flow_api.id(55689488459562258714) ,p_template_types=>'LIST' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689489045534258714) ,p_theme_id=>42 ,p_name=>'5_COLUMNS' ,p_display_name=>'5 Columns' ,p_display_sequence=>50 ,p_list_template_id=>wwv_flow_api.id(55689488267663258714) ,p_css_classes=>'t-Cards--5cols' ,p_group_id=>wwv_flow_api.id(55689486637703258713) ,p_template_types=>'LIST' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689489260050258714) ,p_theme_id=>42 ,p_name=>'BASIC' ,p_display_name=>'Basic' ,p_display_sequence=>10 ,p_list_template_id=>wwv_flow_api.id(55689488267663258714) ,p_css_classes=>'t-Cards--basic' ,p_group_id=>wwv_flow_api.id(55689489120604258714) ,p_template_types=>'LIST' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689489310960258714) ,p_theme_id=>42 ,p_name=>'CARDS_STACKED' ,p_display_name=>'Stacked' ,p_display_sequence=>5 ,p_list_template_id=>wwv_flow_api.id(55689488267663258714) ,p_css_classes=>'t-Cards--stacked' ,p_group_id=>wwv_flow_api.id(55689486637703258713) ,p_template_types=>'LIST' ,p_help_text=>'Stacks the cards on top of each other.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689489589498258714) ,p_theme_id=>42 ,p_name=>'COLOR_FILL' ,p_display_name=>'Color Fill' ,p_display_sequence=>10 ,p_list_template_id=>wwv_flow_api.id(55689488267663258714) ,p_css_classes=>'t-Cards--animColorFill' ,p_group_id=>wwv_flow_api.id(55689489466990258714) ,p_template_types=>'LIST' ,p_help_text=>'Fills the card background with the color of the icon or default link style.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689489660919258714) ,p_theme_id=>42 ,p_name=>'COMPACT' ,p_display_name=>'Compact' ,p_display_sequence=>20 ,p_list_template_id=>wwv_flow_api.id(55689488267663258714) ,p_css_classes=>'t-Cards--compact' ,p_group_id=>wwv_flow_api.id(55689489120604258714) ,p_template_types=>'LIST' ,p_help_text=>'Use this option when you want to show smaller cards.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689489825698258715) ,p_theme_id=>42 ,p_name=>'DISPLAY_ICONS' ,p_display_name=>'Display Icons' ,p_display_sequence=>10 ,p_list_template_id=>wwv_flow_api.id(55689488267663258714) ,p_css_classes=>'t-Cards--displayIcons' ,p_group_id=>wwv_flow_api.id(55689489799265258715) ,p_template_types=>'LIST' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689489924637258715) ,p_theme_id=>42 ,p_name=>'DISPLAY_INITIALS' ,p_display_name=>'Display Initials' ,p_display_sequence=>20 ,p_list_template_id=>wwv_flow_api.id(55689488267663258714) ,p_css_classes=>'t-Cards--displayInitials' ,p_group_id=>wwv_flow_api.id(55689489799265258715) ,p_template_types=>'LIST' ,p_help_text=>'Initials come from List Attribute 3' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689490062971258715) ,p_theme_id=>42 ,p_name=>'FEATURED' ,p_display_name=>'Featured' ,p_display_sequence=>30 ,p_list_template_id=>wwv_flow_api.id(55689488267663258714) ,p_css_classes=>'t-Cards--featured' ,p_group_id=>wwv_flow_api.id(55689489120604258714) ,p_template_types=>'LIST' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689490186666258715) ,p_theme_id=>42 ,p_name=>'FLOAT' ,p_display_name=>'Float' ,p_display_sequence=>60 ,p_list_template_id=>wwv_flow_api.id(55689488267663258714) ,p_css_classes=>'t-Cards--float' ,p_group_id=>wwv_flow_api.id(55689486637703258713) ,p_template_types=>'LIST' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689490263810258715) ,p_theme_id=>42 ,p_name=>'HIDDEN_BODY_TEXT' ,p_display_name=>'Hidden' ,p_display_sequence=>50 ,p_list_template_id=>wwv_flow_api.id(55689488267663258714) ,p_css_classes=>'t-Cards--hideBody' ,p_group_id=>wwv_flow_api.id(55689488459562258714) ,p_template_types=>'LIST' ,p_help_text=>'This option hides the card body which contains description and subtext.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689490395330258716) ,p_theme_id=>42 ,p_name=>'RAISE_CARD' ,p_display_name=>'Raise Card' ,p_display_sequence=>20 ,p_list_template_id=>wwv_flow_api.id(55689488267663258714) ,p_css_classes=>'t-Cards--animRaiseCard' ,p_group_id=>wwv_flow_api.id(55689489466990258714) ,p_template_types=>'LIST' ,p_help_text=>'Raises the card so it pops up.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689490484444258716) ,p_theme_id=>42 ,p_name=>'SPAN_HORIZONTALLY' ,p_display_name=>'Span Horizontally' ,p_display_sequence=>70 ,p_list_template_id=>wwv_flow_api.id(55689488267663258714) ,p_css_classes=>'t-Cards--spanHorizontally' ,p_group_id=>wwv_flow_api.id(55689486637703258713) ,p_template_types=>'LIST' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689490541864258716) ,p_theme_id=>42 ,p_name=>'USE_THEME_COLORS' ,p_display_name=>'Apply Theme Colors' ,p_display_sequence=>10 ,p_list_template_id=>wwv_flow_api.id(55689488267663258714) ,p_css_classes=>'u-colors' ,p_template_types=>'LIST' ,p_help_text=>'Applies the colors from the theme''s color palette to the icons or initials within cards.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689490707155258716) ,p_theme_id=>42 ,p_name=>'ACTIONS' ,p_display_name=>'Actions' ,p_display_sequence=>10 ,p_list_template_id=>wwv_flow_api.id(55689490661138258716) ,p_css_classes=>'t-LinksList--actions' ,p_group_id=>wwv_flow_api.id(55689489120604258714) ,p_template_types=>'LIST' ,p_help_text=>'Render as actions to be placed on the right side column.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689490868270258716) ,p_theme_id=>42 ,p_name=>'DISABLETEXTWRAPPING' ,p_display_name=>'Disable Text Wrapping' ,p_display_sequence=>30 ,p_list_template_id=>wwv_flow_api.id(55689490661138258716) ,p_css_classes=>'t-LinksList--nowrap' ,p_template_types=>'LIST' ,p_help_text=>'Do not allow link text to wrap to new lines. Truncate with ellipsis.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689490912253258716) ,p_theme_id=>42 ,p_name=>'SHOWBADGES' ,p_display_name=>'Show Badges' ,p_display_sequence=>10 ,p_list_template_id=>wwv_flow_api.id(55689490661138258716) ,p_css_classes=>'t-LinksList--showBadge' ,p_template_types=>'LIST' ,p_help_text=>'Show badge to right of link (requires Attribute 1 to be populated)' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689491030506258716) ,p_theme_id=>42 ,p_name=>'SHOWGOTOARROW' ,p_display_name=>'Show Right Arrow' ,p_display_sequence=>20 ,p_list_template_id=>wwv_flow_api.id(55689490661138258716) ,p_css_classes=>'t-LinksList--showArrow' ,p_template_types=>'LIST' ,p_help_text=>'Show arrow to the right of link' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689491268497258716) ,p_theme_id=>42 ,p_name=>'SHOWICONS' ,p_display_name=>'For All Items' ,p_display_sequence=>20 ,p_list_template_id=>wwv_flow_api.id(55689490661138258716) ,p_css_classes=>'t-LinksList--showIcons' ,p_group_id=>wwv_flow_api.id(55689491197865258716) ,p_template_types=>'LIST' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689491312612258716) ,p_theme_id=>42 ,p_name=>'SHOWTOPICONS' ,p_display_name=>'For Top Level Items Only' ,p_display_sequence=>10 ,p_list_template_id=>wwv_flow_api.id(55689490661138258716) ,p_css_classes=>'t-LinksList--showTopIcons' ,p_group_id=>wwv_flow_api.id(55689491197865258716) ,p_template_types=>'LIST' ,p_help_text=>'This will show icons for top level items of the list only. It will not show icons for sub lists.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689491533406258716) ,p_theme_id=>42 ,p_name=>'2COLUMNGRID' ,p_display_name=>'2 Column Grid' ,p_display_sequence=>10 ,p_list_template_id=>wwv_flow_api.id(55689491419617258716) ,p_css_classes=>'t-MediaList--cols t-MediaList--2cols' ,p_group_id=>wwv_flow_api.id(55689486637703258713) ,p_template_types=>'LIST' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689491660107258716) ,p_theme_id=>42 ,p_name=>'3COLUMNGRID' ,p_display_name=>'3 Column Grid' ,p_display_sequence=>20 ,p_list_template_id=>wwv_flow_api.id(55689491419617258716) ,p_css_classes=>'t-MediaList--cols t-MediaList--3cols' ,p_group_id=>wwv_flow_api.id(55689486637703258713) ,p_template_types=>'LIST' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689491786558258717) ,p_theme_id=>42 ,p_name=>'4COLUMNGRID' ,p_display_name=>'4 Column Grid' ,p_display_sequence=>30 ,p_list_template_id=>wwv_flow_api.id(55689491419617258716) ,p_css_classes=>'t-MediaList--cols t-MediaList--4cols' ,p_group_id=>wwv_flow_api.id(55689486637703258713) ,p_template_types=>'LIST' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689491894915258717) ,p_theme_id=>42 ,p_name=>'5COLUMNGRID' ,p_display_name=>'5 Column Grid' ,p_display_sequence=>40 ,p_list_template_id=>wwv_flow_api.id(55689491419617258716) ,p_css_classes=>'t-MediaList--cols t-MediaList--5cols' ,p_group_id=>wwv_flow_api.id(55689486637703258713) ,p_template_types=>'LIST' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689491921061258717) ,p_theme_id=>42 ,p_name=>'APPLY_THEME_COLORS' ,p_display_name=>'Apply Theme Colors' ,p_display_sequence=>40 ,p_list_template_id=>wwv_flow_api.id(55689491419617258716) ,p_css_classes=>'u-colors' ,p_template_types=>'LIST' ,p_help_text=>'Applies colors from the Theme''s color palette to icons in the list.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689492124443258717) ,p_theme_id=>42 ,p_name=>'LIST_SIZE_LARGE' ,p_display_name=>'Large' ,p_display_sequence=>10 ,p_list_template_id=>wwv_flow_api.id(55689491419617258716) ,p_css_classes=>'t-MediaList--large' ,p_group_id=>wwv_flow_api.id(55689492013423258717) ,p_template_types=>'LIST' ,p_help_text=>'Increases the size of the text and icons in the list.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689492226152258717) ,p_theme_id=>42 ,p_name=>'SHOW_BADGES' ,p_display_name=>'Show Badges' ,p_display_sequence=>30 ,p_list_template_id=>wwv_flow_api.id(55689491419617258716) ,p_css_classes=>'t-MediaList--showBadges' ,p_template_types=>'LIST' ,p_help_text=>'Show a badge (Attribute 2) to the right of the list item.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689492310982258717) ,p_theme_id=>42 ,p_name=>'SHOW_DESCRIPTION' ,p_display_name=>'Show Description' ,p_display_sequence=>20 ,p_list_template_id=>wwv_flow_api.id(55689491419617258716) ,p_css_classes=>'t-MediaList--showDesc' ,p_template_types=>'LIST' ,p_help_text=>'Shows the description (Attribute 1) for each list item.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689492481605258717) ,p_theme_id=>42 ,p_name=>'SHOW_ICONS' ,p_display_name=>'Show Icons' ,p_display_sequence=>10 ,p_list_template_id=>wwv_flow_api.id(55689491419617258716) ,p_css_classes=>'t-MediaList--showIcons' ,p_template_types=>'LIST' ,p_help_text=>'Display an icon next to the list item.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689492595362258717) ,p_theme_id=>42 ,p_name=>'SPANHORIZONTAL' ,p_display_name=>'Span Horizontal' ,p_display_sequence=>50 ,p_list_template_id=>wwv_flow_api.id(55689491419617258716) ,p_css_classes=>'t-MediaList--horizontal' ,p_group_id=>wwv_flow_api.id(55689486637703258713) ,p_template_types=>'LIST' ,p_help_text=>'Show all list items in one horizontal row.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689492722893258718) ,p_theme_id=>42 ,p_name=>'ADD_ACTIONS' ,p_display_name=>'Add Actions' ,p_display_sequence=>40 ,p_list_template_id=>wwv_flow_api.id(55689492606564258718) ,p_css_classes=>'js-addActions' ,p_template_types=>'LIST' ,p_help_text=>'Use this option to add shortcuts for menu items. Note that actions.js must be included on your page to support this functionality.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689492897528258718) ,p_theme_id=>42 ,p_name=>'BEHAVE_LIKE_TABS' ,p_display_name=>'Behave Like Tabs' ,p_display_sequence=>10 ,p_list_template_id=>wwv_flow_api.id(55689492606564258718) ,p_css_classes=>'js-tabLike' ,p_template_types=>'LIST' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689492923905258718) ,p_theme_id=>42 ,p_name=>'ENABLE_SLIDE_ANIMATION' ,p_display_name=>'Enable Slide Animation' ,p_display_sequence=>20 ,p_list_template_id=>wwv_flow_api.id(55689492606564258718) ,p_css_classes=>'js-slide' ,p_template_types=>'LIST' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689493090265258718) ,p_theme_id=>42 ,p_name=>'SHOW_SUB_MENU_ICONS' ,p_display_name=>'Show Sub Menu Icons' ,p_display_sequence=>30 ,p_list_template_id=>wwv_flow_api.id(55689492606564258718) ,p_css_classes=>'js-showSubMenuIcons' ,p_template_types=>'LIST' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689493544787258719) ,p_theme_id=>42 ,p_name=>'ABOVE_LABEL' ,p_display_name=>'Above Label' ,p_display_sequence=>20 ,p_list_template_id=>wwv_flow_api.id(55689493437009258719) ,p_css_classes=>'t-Tabs--iconsAbove' ,p_group_id=>wwv_flow_api.id(55689489799265258715) ,p_template_types=>'LIST' ,p_help_text=>'Places icons above tab label.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689493646443258719) ,p_theme_id=>42 ,p_name=>'FILL_LABELS' ,p_display_name=>'Fill Labels' ,p_display_sequence=>1 ,p_list_template_id=>wwv_flow_api.id(55689493437009258719) ,p_css_classes=>'t-Tabs--fillLabels' ,p_group_id=>wwv_flow_api.id(55689486637703258713) ,p_template_types=>'LIST' ,p_help_text=>'Stretch tabs to fill to the width of the tabs container.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689493709867258719) ,p_theme_id=>42 ,p_name=>'INLINE_WITH_LABEL' ,p_display_name=>'Inline with Label' ,p_display_sequence=>10 ,p_list_template_id=>wwv_flow_api.id(55689493437009258719) ,p_css_classes=>'t-Tabs--inlineIcons' ,p_group_id=>wwv_flow_api.id(55689489799265258715) ,p_template_types=>'LIST' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689493848897258719) ,p_theme_id=>42 ,p_name=>'LARGE' ,p_display_name=>'Large' ,p_display_sequence=>10 ,p_list_template_id=>wwv_flow_api.id(55689493437009258719) ,p_css_classes=>'t-Tabs--large' ,p_group_id=>wwv_flow_api.id(55689492013423258717) ,p_template_types=>'LIST' ,p_help_text=>'Increases font size and white space around tab items.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689493965018258719) ,p_theme_id=>42 ,p_name=>'PILL' ,p_display_name=>'Pill' ,p_display_sequence=>20 ,p_list_template_id=>wwv_flow_api.id(55689493437009258719) ,p_css_classes=>'t-Tabs--pill' ,p_group_id=>wwv_flow_api.id(55689489120604258714) ,p_template_types=>'LIST' ,p_help_text=>'Displays tabs in a pill container.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689494064789258719) ,p_theme_id=>42 ,p_name=>'SIMPLE' ,p_display_name=>'Simple' ,p_display_sequence=>10 ,p_list_template_id=>wwv_flow_api.id(55689493437009258719) ,p_css_classes=>'t-Tabs--simple' ,p_group_id=>wwv_flow_api.id(55689489120604258714) ,p_template_types=>'LIST' ,p_help_text=>'A very simplistic tab UI.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689494113003258719) ,p_theme_id=>42 ,p_name=>'SMALL' ,p_display_name=>'Small' ,p_display_sequence=>5 ,p_list_template_id=>wwv_flow_api.id(55689493437009258719) ,p_css_classes=>'t-Tabs--small' ,p_group_id=>wwv_flow_api.id(55689492013423258717) ,p_template_types=>'LIST' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689494310472258720) ,p_theme_id=>42 ,p_name=>'ADD_ACTIONS' ,p_display_name=>'Add Actions' ,p_display_sequence=>1 ,p_list_template_id=>wwv_flow_api.id(55689494277853258719) ,p_css_classes=>'js-addActions' ,p_template_types=>'LIST' ,p_help_text=>'Use this option to add shortcuts for menu items. Note that actions.js must be included on your page to support this functionality.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689494476698258720) ,p_theme_id=>42 ,p_name=>'BEHAVE_LIKE_TABS' ,p_display_name=>'Behave Like Tabs' ,p_display_sequence=>1 ,p_list_template_id=>wwv_flow_api.id(55689494277853258719) ,p_css_classes=>'js-tabLike' ,p_template_types=>'LIST' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689494507089258720) ,p_theme_id=>42 ,p_name=>'ENABLE_SLIDE_ANIMATION' ,p_display_name=>'Enable Slide Animation' ,p_display_sequence=>1 ,p_list_template_id=>wwv_flow_api.id(55689494277853258719) ,p_css_classes=>'js-slide' ,p_template_types=>'LIST' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689494695800258720) ,p_theme_id=>42 ,p_name=>'SHOW_SUB_MENU_ICONS' ,p_display_name=>'Show Sub Menu Icons' ,p_display_sequence=>1 ,p_list_template_id=>wwv_flow_api.id(55689494277853258719) ,p_css_classes=>'js-showSubMenuIcons' ,p_template_types=>'LIST' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689494932200258720) ,p_theme_id=>42 ,p_name=>'ALLSTEPS' ,p_display_name=>'All Steps' ,p_display_sequence=>10 ,p_list_template_id=>wwv_flow_api.id(55689494753681258720) ,p_css_classes=>'t-WizardSteps--displayLabels' ,p_group_id=>wwv_flow_api.id(55689494812811258720) ,p_template_types=>'LIST' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689495052823258720) ,p_theme_id=>42 ,p_name=>'CURRENTSTEPONLY' ,p_display_name=>'Current Step Only' ,p_display_sequence=>20 ,p_list_template_id=>wwv_flow_api.id(55689494753681258720) ,p_css_classes=>'t-WizardSteps--displayCurrentLabelOnly' ,p_group_id=>wwv_flow_api.id(55689494812811258720) ,p_template_types=>'LIST' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689495113350258720) ,p_theme_id=>42 ,p_name=>'HIDELABELS' ,p_display_name=>'Hide Labels' ,p_display_sequence=>30 ,p_list_template_id=>wwv_flow_api.id(55689494753681258720) ,p_css_classes=>'t-WizardSteps--hideLabels' ,p_group_id=>wwv_flow_api.id(55689494812811258720) ,p_template_types=>'LIST' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689495223822258720) ,p_theme_id=>42 ,p_name=>'VERTICAL_LIST' ,p_display_name=>'Vertical Orientation' ,p_display_sequence=>10 ,p_list_template_id=>wwv_flow_api.id(55689494753681258720) ,p_css_classes=>'t-WizardSteps--vertical' ,p_template_types=>'LIST' ,p_help_text=>'Displays the wizard progress list in a vertical orientation and is suitable for displaying within a side column of a page.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689496288802258723) ,p_theme_id=>42 ,p_name=>'LEFTICON' ,p_display_name=>'Left' ,p_display_sequence=>10 ,p_button_template_id=>wwv_flow_api.id(55689496010438258723) ,p_css_classes=>'t-Button--iconLeft' ,p_group_id=>wwv_flow_api.id(55689496182448258723) ,p_template_types=>'BUTTON' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689496356317258723) ,p_theme_id=>42 ,p_name=>'RIGHTICON' ,p_display_name=>'Right' ,p_display_sequence=>20 ,p_button_template_id=>wwv_flow_api.id(55689496010438258723) ,p_css_classes=>'t-Button--iconRight' ,p_group_id=>wwv_flow_api.id(55689496182448258723) ,p_template_types=>'BUTTON' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689497435359258731) ,p_theme_id=>42 ,p_name=>'FBM_LARGE' ,p_display_name=>'Large' ,p_display_sequence=>40 ,p_css_classes=>'margin-bottom-lg' ,p_group_id=>wwv_flow_api.id(55689497307858258731) ,p_template_types=>'FIELD' ,p_help_text=>'Adds a large bottom margin for this field.' ); end; / begin wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689497699271258731) ,p_theme_id=>42 ,p_name=>'RBM_LARGE' ,p_display_name=>'Large' ,p_display_sequence=>40 ,p_css_classes=>'margin-bottom-lg' ,p_group_id=>wwv_flow_api.id(55689497544650258731) ,p_template_types=>'REGION' ,p_help_text=>'Adds a large bottom margin to the region.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689497702772258731) ,p_theme_id=>42 ,p_name=>'FBM_MEDIUM' ,p_display_name=>'Medium' ,p_display_sequence=>30 ,p_css_classes=>'margin-bottom-md' ,p_group_id=>wwv_flow_api.id(55689497307858258731) ,p_template_types=>'FIELD' ,p_help_text=>'Adds a medium bottom margin for this field.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689497874733258731) ,p_theme_id=>42 ,p_name=>'RBM_MEDIUM' ,p_display_name=>'Medium' ,p_display_sequence=>30 ,p_css_classes=>'margin-bottom-md' ,p_group_id=>wwv_flow_api.id(55689497544650258731) ,p_template_types=>'REGION' ,p_help_text=>'Adds a medium bottom margin to the region.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689497996224258731) ,p_theme_id=>42 ,p_name=>'FBM_NONE' ,p_display_name=>'None' ,p_display_sequence=>10 ,p_css_classes=>'margin-bottom-none' ,p_group_id=>wwv_flow_api.id(55689497307858258731) ,p_template_types=>'FIELD' ,p_help_text=>'Removes the bottom margin for this field.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689498083451258731) ,p_theme_id=>42 ,p_name=>'RBM_NONE' ,p_display_name=>'None' ,p_display_sequence=>10 ,p_css_classes=>'margin-bottom-none' ,p_group_id=>wwv_flow_api.id(55689497544650258731) ,p_template_types=>'REGION' ,p_help_text=>'Removes the bottom margin for this region.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689498148476258731) ,p_theme_id=>42 ,p_name=>'FBM_SMALL' ,p_display_name=>'Small' ,p_display_sequence=>20 ,p_css_classes=>'margin-bottom-sm' ,p_group_id=>wwv_flow_api.id(55689497307858258731) ,p_template_types=>'FIELD' ,p_help_text=>'Adds a small bottom margin for this field.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689498271930258731) ,p_theme_id=>42 ,p_name=>'RBM_SMALL' ,p_display_name=>'Small' ,p_display_sequence=>20 ,p_css_classes=>'margin-bottom-sm' ,p_group_id=>wwv_flow_api.id(55689497544650258731) ,p_template_types=>'REGION' ,p_help_text=>'Adds a small bottom margin to the region.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689498477383258731) ,p_theme_id=>42 ,p_name=>'FLM_LARGE' ,p_display_name=>'Large' ,p_display_sequence=>40 ,p_css_classes=>'margin-left-lg' ,p_group_id=>wwv_flow_api.id(55689498325554258731) ,p_template_types=>'FIELD' ,p_help_text=>'Adds a large left margin for this field.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689498661638258731) ,p_theme_id=>42 ,p_name=>'RLM_LARGE' ,p_display_name=>'Large' ,p_display_sequence=>40 ,p_css_classes=>'margin-left-lg' ,p_group_id=>wwv_flow_api.id(55689498575491258731) ,p_template_types=>'REGION' ,p_help_text=>'Adds a large right margin to the region.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689498716282258731) ,p_theme_id=>42 ,p_name=>'FLM_MEDIUM' ,p_display_name=>'Medium' ,p_display_sequence=>30 ,p_css_classes=>'margin-left-md' ,p_group_id=>wwv_flow_api.id(55689498325554258731) ,p_template_types=>'FIELD' ,p_help_text=>'Adds a medium left margin for this field.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689498872360258731) ,p_theme_id=>42 ,p_name=>'RLM_MEDIUM' ,p_display_name=>'Medium' ,p_display_sequence=>30 ,p_css_classes=>'margin-left-md' ,p_group_id=>wwv_flow_api.id(55689498575491258731) ,p_template_types=>'REGION' ,p_help_text=>'Adds a medium right margin to the region.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689498966997258731) ,p_theme_id=>42 ,p_name=>'FLM_NONE' ,p_display_name=>'None' ,p_display_sequence=>10 ,p_css_classes=>'margin-left-none' ,p_group_id=>wwv_flow_api.id(55689498325554258731) ,p_template_types=>'FIELD' ,p_help_text=>'Removes the left margin for this field.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689499064861258731) ,p_theme_id=>42 ,p_name=>'RLM_NONE' ,p_display_name=>'None' ,p_display_sequence=>10 ,p_css_classes=>'margin-left-none' ,p_group_id=>wwv_flow_api.id(55689498575491258731) ,p_template_types=>'REGION' ,p_help_text=>'Removes the left margin from the region.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689499193030258731) ,p_theme_id=>42 ,p_name=>'FLM_SMALL' ,p_display_name=>'Small' ,p_display_sequence=>20 ,p_css_classes=>'margin-left-sm' ,p_group_id=>wwv_flow_api.id(55689498325554258731) ,p_template_types=>'FIELD' ,p_help_text=>'Adds a small left margin for this field.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689499299441258732) ,p_theme_id=>42 ,p_name=>'RLM_SMALL' ,p_display_name=>'Small' ,p_display_sequence=>20 ,p_css_classes=>'margin-left-sm' ,p_group_id=>wwv_flow_api.id(55689498575491258731) ,p_template_types=>'REGION' ,p_help_text=>'Adds a small left margin to the region.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689499440141258732) ,p_theme_id=>42 ,p_name=>'FRM_LARGE' ,p_display_name=>'Large' ,p_display_sequence=>40 ,p_css_classes=>'margin-right-lg' ,p_group_id=>wwv_flow_api.id(55689499302592258732) ,p_template_types=>'FIELD' ,p_help_text=>'Adds a large right margin for this field.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689499645160258732) ,p_theme_id=>42 ,p_name=>'RRM_LARGE' ,p_display_name=>'Large' ,p_display_sequence=>40 ,p_css_classes=>'margin-right-lg' ,p_group_id=>wwv_flow_api.id(55689499511073258732) ,p_template_types=>'REGION' ,p_help_text=>'Adds a large right margin to the region.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689499745694258732) ,p_theme_id=>42 ,p_name=>'FRM_MEDIUM' ,p_display_name=>'Medium' ,p_display_sequence=>30 ,p_css_classes=>'margin-right-md' ,p_group_id=>wwv_flow_api.id(55689499302592258732) ,p_template_types=>'FIELD' ,p_help_text=>'Adds a medium right margin for this field.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689499885913258732) ,p_theme_id=>42 ,p_name=>'RRM_MEDIUM' ,p_display_name=>'Medium' ,p_display_sequence=>30 ,p_css_classes=>'margin-right-md' ,p_group_id=>wwv_flow_api.id(55689499511073258732) ,p_template_types=>'REGION' ,p_help_text=>'Adds a medium right margin to the region.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689499979656258732) ,p_theme_id=>42 ,p_name=>'FRM_NONE' ,p_display_name=>'None' ,p_display_sequence=>10 ,p_css_classes=>'margin-right-none' ,p_group_id=>wwv_flow_api.id(55689499302592258732) ,p_template_types=>'FIELD' ,p_help_text=>'Removes the right margin for this field.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689500043619258732) ,p_theme_id=>42 ,p_name=>'RRM_NONE' ,p_display_name=>'None' ,p_display_sequence=>10 ,p_css_classes=>'margin-right-none' ,p_group_id=>wwv_flow_api.id(55689499511073258732) ,p_template_types=>'REGION' ,p_help_text=>'Removes the right margin from the region.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689500143501258732) ,p_theme_id=>42 ,p_name=>'FRM_SMALL' ,p_display_name=>'Small' ,p_display_sequence=>20 ,p_css_classes=>'margin-right-sm' ,p_group_id=>wwv_flow_api.id(55689499302592258732) ,p_template_types=>'FIELD' ,p_help_text=>'Adds a small right margin for this field.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689500208190258732) ,p_theme_id=>42 ,p_name=>'RRM_SMALL' ,p_display_name=>'Small' ,p_display_sequence=>20 ,p_css_classes=>'margin-right-sm' ,p_group_id=>wwv_flow_api.id(55689499511073258732) ,p_template_types=>'REGION' ,p_help_text=>'Adds a small right margin to the region.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689500440658258733) ,p_theme_id=>42 ,p_name=>'FTM_LARGE' ,p_display_name=>'Large' ,p_display_sequence=>40 ,p_css_classes=>'margin-top-lg' ,p_group_id=>wwv_flow_api.id(55689500323941258733) ,p_template_types=>'FIELD' ,p_help_text=>'Adds a large top margin for this field.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689500661574258733) ,p_theme_id=>42 ,p_name=>'RTM_LARGE' ,p_display_name=>'Large' ,p_display_sequence=>40 ,p_css_classes=>'margin-top-lg' ,p_group_id=>wwv_flow_api.id(55689500511677258733) ,p_template_types=>'REGION' ,p_help_text=>'Adds a large top margin to the region.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689500728837258733) ,p_theme_id=>42 ,p_name=>'FTM_MEDIUM' ,p_display_name=>'Medium' ,p_display_sequence=>30 ,p_css_classes=>'margin-top-md' ,p_group_id=>wwv_flow_api.id(55689500323941258733) ,p_template_types=>'FIELD' ,p_help_text=>'Adds a medium top margin for this field.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689500803793258733) ,p_theme_id=>42 ,p_name=>'RTM_MEDIUM' ,p_display_name=>'Medium' ,p_display_sequence=>30 ,p_css_classes=>'margin-top-md' ,p_group_id=>wwv_flow_api.id(55689500511677258733) ,p_template_types=>'REGION' ,p_help_text=>'Adds a medium top margin to the region.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689500956175258733) ,p_theme_id=>42 ,p_name=>'FTM_NONE' ,p_display_name=>'None' ,p_display_sequence=>10 ,p_css_classes=>'margin-top-none' ,p_group_id=>wwv_flow_api.id(55689500323941258733) ,p_template_types=>'FIELD' ,p_help_text=>'Removes the top margin for this field.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689501040159258733) ,p_theme_id=>42 ,p_name=>'RTM_NONE' ,p_display_name=>'None' ,p_display_sequence=>10 ,p_css_classes=>'margin-top-none' ,p_group_id=>wwv_flow_api.id(55689500511677258733) ,p_template_types=>'REGION' ,p_help_text=>'Removes the top margin for this region.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689501183055258733) ,p_theme_id=>42 ,p_name=>'FTM_SMALL' ,p_display_name=>'Small' ,p_display_sequence=>20 ,p_css_classes=>'margin-top-sm' ,p_group_id=>wwv_flow_api.id(55689500323941258733) ,p_template_types=>'FIELD' ,p_help_text=>'Adds a small top margin for this field.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689501224247258733) ,p_theme_id=>42 ,p_name=>'RTM_SMALL' ,p_display_name=>'Small' ,p_display_sequence=>20 ,p_css_classes=>'margin-top-sm' ,p_group_id=>wwv_flow_api.id(55689500511677258733) ,p_template_types=>'REGION' ,p_help_text=>'Adds a small top margin to the region.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689501449991258733) ,p_theme_id=>42 ,p_name=>'DANGER' ,p_display_name=>'Danger' ,p_display_sequence=>30 ,p_css_classes=>'t-Button--danger' ,p_group_id=>wwv_flow_api.id(55689501373876258733) ,p_template_types=>'BUTTON' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689501638129258733) ,p_theme_id=>42 ,p_name=>'LARGEBOTTOMMARGIN' ,p_display_name=>'Large' ,p_display_sequence=>20 ,p_css_classes=>'t-Button--gapBottom' ,p_group_id=>wwv_flow_api.id(55689501533043258733) ,p_template_types=>'BUTTON' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689501806308258733) ,p_theme_id=>42 ,p_name=>'LARGELEFTMARGIN' ,p_display_name=>'Large' ,p_display_sequence=>20 ,p_css_classes=>'t-Button--gapLeft' ,p_group_id=>wwv_flow_api.id(55689501733083258733) ,p_template_types=>'BUTTON' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689502064452258733) ,p_theme_id=>42 ,p_name=>'LARGERIGHTMARGIN' ,p_display_name=>'Large' ,p_display_sequence=>20 ,p_css_classes=>'t-Button--gapRight' ,p_group_id=>wwv_flow_api.id(55689501960171258733) ,p_template_types=>'BUTTON' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689502295002258733) ,p_theme_id=>42 ,p_name=>'LARGETOPMARGIN' ,p_display_name=>'Large' ,p_display_sequence=>20 ,p_css_classes=>'t-Button--gapTop' ,p_group_id=>wwv_flow_api.id(55689502142741258733) ,p_template_types=>'BUTTON' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689502473316258734) ,p_theme_id=>42 ,p_name=>'LARGE' ,p_display_name=>'Large' ,p_display_sequence=>30 ,p_css_classes=>'t-Button--large' ,p_group_id=>wwv_flow_api.id(55689502378391258734) ,p_template_types=>'BUTTON' ,p_help_text=>'A large button.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689502618618258734) ,p_theme_id=>42 ,p_name=>'DISPLAY_AS_LINK' ,p_display_name=>'Display as Link' ,p_display_sequence=>30 ,p_css_classes=>'t-Button--link' ,p_group_id=>wwv_flow_api.id(55689502533745258734) ,p_template_types=>'BUTTON' ,p_help_text=>'This option makes the button appear as a text link.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689502786174258734) ,p_theme_id=>42 ,p_name=>'NOUI' ,p_display_name=>'Remove UI Decoration' ,p_display_sequence=>20 ,p_css_classes=>'t-Button--noUI' ,p_group_id=>wwv_flow_api.id(55689502533745258734) ,p_template_types=>'BUTTON' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689502875486258734) ,p_theme_id=>42 ,p_name=>'SMALLBOTTOMMARGIN' ,p_display_name=>'Small' ,p_display_sequence=>10 ,p_css_classes=>'t-Button--padBottom' ,p_group_id=>wwv_flow_api.id(55689501533043258733) ,p_template_types=>'BUTTON' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689502903955258734) ,p_theme_id=>42 ,p_name=>'SMALLLEFTMARGIN' ,p_display_name=>'Small' ,p_display_sequence=>10 ,p_css_classes=>'t-Button--padLeft' ,p_group_id=>wwv_flow_api.id(55689501733083258733) ,p_template_types=>'BUTTON' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689503063770258734) ,p_theme_id=>42 ,p_name=>'SMALLRIGHTMARGIN' ,p_display_name=>'Small' ,p_display_sequence=>10 ,p_css_classes=>'t-Button--padRight' ,p_group_id=>wwv_flow_api.id(55689501960171258733) ,p_template_types=>'BUTTON' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689503165213258734) ,p_theme_id=>42 ,p_name=>'SMALLTOPMARGIN' ,p_display_name=>'Small' ,p_display_sequence=>10 ,p_css_classes=>'t-Button--padTop' ,p_group_id=>wwv_flow_api.id(55689502142741258733) ,p_template_types=>'BUTTON' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689503333586258734) ,p_theme_id=>42 ,p_name=>'PILL' ,p_display_name=>'Inner Button' ,p_display_sequence=>20 ,p_css_classes=>'t-Button--pill' ,p_group_id=>wwv_flow_api.id(55689503274223258734) ,p_template_types=>'BUTTON' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689503452390258734) ,p_theme_id=>42 ,p_name=>'PILLEND' ,p_display_name=>'Last Button' ,p_display_sequence=>30 ,p_css_classes=>'t-Button--pillEnd' ,p_group_id=>wwv_flow_api.id(55689503274223258734) ,p_template_types=>'BUTTON' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689503590336258734) ,p_theme_id=>42 ,p_name=>'PILLSTART' ,p_display_name=>'First Button' ,p_display_sequence=>10 ,p_css_classes=>'t-Button--pillStart' ,p_group_id=>wwv_flow_api.id(55689503274223258734) ,p_template_types=>'BUTTON' ,p_help_text=>'Use this for the start of a pill button.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689503686552258734) ,p_theme_id=>42 ,p_name=>'PRIMARY' ,p_display_name=>'Primary' ,p_display_sequence=>10 ,p_css_classes=>'t-Button--primary' ,p_group_id=>wwv_flow_api.id(55689501373876258733) ,p_template_types=>'BUTTON' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689503778086258734) ,p_theme_id=>42 ,p_name=>'SIMPLE' ,p_display_name=>'Simple' ,p_display_sequence=>10 ,p_css_classes=>'t-Button--simple' ,p_group_id=>wwv_flow_api.id(55689502533745258734) ,p_template_types=>'BUTTON' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689503858946258734) ,p_theme_id=>42 ,p_name=>'SMALL' ,p_display_name=>'Small' ,p_display_sequence=>20 ,p_css_classes=>'t-Button--small' ,p_group_id=>wwv_flow_api.id(55689502378391258734) ,p_template_types=>'BUTTON' ,p_help_text=>'A small button.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689504093343258734) ,p_theme_id=>42 ,p_name=>'STRETCH' ,p_display_name=>'Stretch' ,p_display_sequence=>10 ,p_css_classes=>'t-Button--stretch' ,p_group_id=>wwv_flow_api.id(55689503963608258734) ,p_template_types=>'BUTTON' ,p_help_text=>'Stretches button to fill container' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689504149276258734) ,p_theme_id=>42 ,p_name=>'SUCCESS' ,p_display_name=>'Success' ,p_display_sequence=>40 ,p_css_classes=>'t-Button--success' ,p_group_id=>wwv_flow_api.id(55689501373876258733) ,p_template_types=>'BUTTON' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689504282030258734) ,p_theme_id=>42 ,p_name=>'TINY' ,p_display_name=>'Tiny' ,p_display_sequence=>10 ,p_css_classes=>'t-Button--tiny' ,p_group_id=>wwv_flow_api.id(55689502378391258734) ,p_template_types=>'BUTTON' ,p_help_text=>'A very small button.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689504391086258734) ,p_theme_id=>42 ,p_name=>'WARNING' ,p_display_name=>'Warning' ,p_display_sequence=>20 ,p_css_classes=>'t-Button--warning' ,p_group_id=>wwv_flow_api.id(55689501373876258733) ,p_template_types=>'BUTTON' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689504516392258735) ,p_theme_id=>42 ,p_name=>'SHOWFORMLABELSABOVE' ,p_display_name=>'Show Form Labels Above' ,p_display_sequence=>10 ,p_css_classes=>'t-Form--labelsAbove' ,p_group_id=>wwv_flow_api.id(55689504415903258735) ,p_template_types=>'REGION' ,p_help_text=>'Show form labels above input fields.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689504723642258735) ,p_theme_id=>42 ,p_name=>'FORMSIZELARGE' ,p_display_name=>'Large' ,p_display_sequence=>10 ,p_css_classes=>'t-Form--large' ,p_group_id=>wwv_flow_api.id(55689504664798258735) ,p_template_types=>'REGION' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689504959997258735) ,p_theme_id=>42 ,p_name=>'FORMLEFTLABELS' ,p_display_name=>'Left' ,p_display_sequence=>20 ,p_css_classes=>'t-Form--leftLabels' ,p_group_id=>wwv_flow_api.id(55689504847276258735) ,p_template_types=>'REGION' ,p_help_text=>'Align form labels to left.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689505120302258735) ,p_theme_id=>42 ,p_name=>'FORMREMOVEPADDING' ,p_display_name=>'Remove Padding' ,p_display_sequence=>20 ,p_css_classes=>'t-Form--noPadding' ,p_group_id=>wwv_flow_api.id(55689505061219258735) ,p_template_types=>'REGION' ,p_help_text=>'Removes padding between items.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689505256268258735) ,p_theme_id=>42 ,p_name=>'FORMSLIMPADDING' ,p_display_name=>'Slim Padding' ,p_display_sequence=>10 ,p_css_classes=>'t-Form--slimPadding' ,p_group_id=>wwv_flow_api.id(55689505061219258735) ,p_template_types=>'REGION' ,p_help_text=>'Reduces form item padding to 4px.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689505414271258735) ,p_theme_id=>42 ,p_name=>'STRETCH_FORM_FIELDS' ,p_display_name=>'Stretch Form Fields' ,p_display_sequence=>10 ,p_css_classes=>'t-Form--stretchInputs' ,p_group_id=>wwv_flow_api.id(55689505378003258735) ,p_template_types=>'REGION' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689505523961258735) ,p_theme_id=>42 ,p_name=>'FORMSIZEXLARGE' ,p_display_name=>'X Large' ,p_display_sequence=>20 ,p_css_classes=>'t-Form--xlarge' ,p_group_id=>wwv_flow_api.id(55689504664798258735) ,p_template_types=>'REGION' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689505734355258735) ,p_theme_id=>42 ,p_name=>'LARGE_FIELD' ,p_display_name=>'Large' ,p_display_sequence=>10 ,p_css_classes=>'t-Form-fieldContainer--large' ,p_group_id=>wwv_flow_api.id(55689505675253258735) ,p_template_types=>'FIELD' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689505974610258735) ,p_theme_id=>42 ,p_name=>'POST_TEXT_BLOCK' ,p_display_name=>'Display as Block' ,p_display_sequence=>10 ,p_css_classes=>'t-Form-fieldContainer--postTextBlock' ,p_group_id=>wwv_flow_api.id(55689505868848258735) ,p_template_types=>'FIELD' ,p_help_text=>'Displays the Item Post Text in a block style immediately after the item.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689506173461258736) ,p_theme_id=>42 ,p_name=>'PRE_TEXT_BLOCK' ,p_display_name=>'Display as Block' ,p_display_sequence=>10 ,p_css_classes=>'t-Form-fieldContainer--preTextBlock' ,p_group_id=>wwv_flow_api.id(55689506076222258736) ,p_template_types=>'FIELD' ,p_help_text=>'Displays the Item Pre Text in a block style immediately before the item.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689506399420258736) ,p_theme_id=>42 ,p_name=>'DISPLAY_AS_PILL_BUTTON' ,p_display_name=>'Display as Pill Button' ,p_display_sequence=>10 ,p_css_classes=>'t-Form-fieldContainer--radioButtonGroup' ,p_group_id=>wwv_flow_api.id(55689506266054258736) ,p_template_types=>'FIELD' ,p_help_text=>'Displays the radio buttons to look like a button set / pill button. Note that the the radio buttons must all be in the same row for this option to work.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689506406452258736) ,p_theme_id=>42 ,p_name=>'STRETCH_FORM_ITEM' ,p_display_name=>'Stretch Form Item' ,p_display_sequence=>10 ,p_css_classes=>'t-Form-fieldContainer--stretchInputs' ,p_template_types=>'FIELD' ,p_help_text=>'Stretches the form item to fill its container.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55689506504782258736) ,p_theme_id=>42 ,p_name=>'X_LARGE_SIZE' ,p_display_name=>'X Large' ,p_display_sequence=>20 ,p_css_classes=>'t-Form-fieldContainer--xlarge' ,p_group_id=>wwv_flow_api.id(55689505675253258735) ,p_template_types=>'FIELD' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55693439455428522470) ,p_theme_id=>42 ,p_name=>'FIXED_LARGE' ,p_display_name=>'Fixed - Large' ,p_display_sequence=>30 ,p_report_template_id=>wwv_flow_api.id(55693439011091522468) ,p_css_classes=>'t-AVPList--fixedLabelLarge' ,p_group_id=>wwv_flow_api.id(55689484786760258710) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55693439878320522472) ,p_theme_id=>42 ,p_name=>'FIXED_MEDIUM' ,p_display_name=>'Fixed - Medium' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(55693439011091522468) ,p_css_classes=>'t-AVPList--fixedLabelMedium' ,p_group_id=>wwv_flow_api.id(55689484786760258710) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55693440229048522472) ,p_theme_id=>42 ,p_name=>'FIXED_SMALL' ,p_display_name=>'Fixed - Small' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(55693439011091522468) ,p_css_classes=>'t-AVPList--fixedLabelSmall' ,p_group_id=>wwv_flow_api.id(55689484786760258710) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55693440653018522473) ,p_theme_id=>42 ,p_name=>'LEFT_ALIGNED_DETAILS' ,p_display_name=>'Left Aligned Details' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(55693439011091522468) ,p_css_classes=>'t-AVPList--leftAligned' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55693441071302522473) ,p_theme_id=>42 ,p_name=>'RIGHT_ALIGNED_DETAILS' ,p_display_name=>'Right Aligned Details' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(55693439011091522468) ,p_css_classes=>'t-AVPList--rightAligned' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55693461461155522473) ,p_theme_id=>42 ,p_name=>'VARIABLE_LARGE' ,p_display_name=>'Variable - Large' ,p_display_sequence=>60 ,p_report_template_id=>wwv_flow_api.id(55693439011091522468) ,p_css_classes=>'t-AVPList--variableLabelLarge' ,p_group_id=>wwv_flow_api.id(55689484786760258710) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55693461888107522473) ,p_theme_id=>42 ,p_name=>'VARIABLE_MEDIUM' ,p_display_name=>'Variable - Medium' ,p_display_sequence=>50 ,p_report_template_id=>wwv_flow_api.id(55693439011091522468) ,p_css_classes=>'t-AVPList--variableLabelMedium' ,p_group_id=>wwv_flow_api.id(55689484786760258710) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55693462225316522474) ,p_theme_id=>42 ,p_name=>'VARIABLE_SMALL' ,p_display_name=>'Variable - Small' ,p_display_sequence=>40 ,p_report_template_id=>wwv_flow_api.id(55693439011091522468) ,p_css_classes=>'t-AVPList--variableLabelSmall' ,p_group_id=>wwv_flow_api.id(55689484786760258710) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55905965543966512570) ,p_theme_id=>42 ,p_name=>'FIXED_LARGE' ,p_display_name=>'Fixed - Large' ,p_display_sequence=>30 ,p_report_template_id=>wwv_flow_api.id(55905964705647512565) ,p_css_classes=>'t-AVPList--fixedLabelLarge' ,p_group_id=>wwv_flow_api.id(55689484786760258710) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55905966068513512571) ,p_theme_id=>42 ,p_name=>'FIXED_MEDIUM' ,p_display_name=>'Fixed - Medium' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(55905964705647512565) ,p_css_classes=>'t-AVPList--fixedLabelMedium' ,p_group_id=>wwv_flow_api.id(55689484786760258710) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55905966498088512572) ,p_theme_id=>42 ,p_name=>'FIXED_SMALL' ,p_display_name=>'Fixed - Small' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(55905964705647512565) ,p_css_classes=>'t-AVPList--fixedLabelSmall' ,p_group_id=>wwv_flow_api.id(55689484786760258710) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55905966827628512572) ,p_theme_id=>42 ,p_name=>'LEFT_ALIGNED_DETAILS' ,p_display_name=>'Left Aligned Details' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(55905964705647512565) ,p_css_classes=>'t-AVPList--leftAligned' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55905967211298512572) ,p_theme_id=>42 ,p_name=>'RIGHT_ALIGNED_DETAILS' ,p_display_name=>'Right Aligned Details' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(55905964705647512565) ,p_css_classes=>'t-AVPList--rightAligned' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55905967636567512573) ,p_theme_id=>42 ,p_name=>'VARIABLE_LARGE' ,p_display_name=>'Variable - Large' ,p_display_sequence=>60 ,p_report_template_id=>wwv_flow_api.id(55905964705647512565) ,p_css_classes=>'t-AVPList--variableLabelLarge' ,p_group_id=>wwv_flow_api.id(55689484786760258710) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55905968150736512573) ,p_theme_id=>42 ,p_name=>'VARIABLE_MEDIUM' ,p_display_name=>'Variable - Medium' ,p_display_sequence=>50 ,p_report_template_id=>wwv_flow_api.id(55905964705647512565) ,p_css_classes=>'t-AVPList--variableLabelMedium' ,p_group_id=>wwv_flow_api.id(55689484786760258710) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55905968575769512573) ,p_theme_id=>42 ,p_name=>'VARIABLE_SMALL' ,p_display_name=>'Variable - Small' ,p_display_sequence=>40 ,p_report_template_id=>wwv_flow_api.id(55905964705647512565) ,p_css_classes=>'t-AVPList--variableLabelSmall' ,p_group_id=>wwv_flow_api.id(55689484786760258710) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55911170666814327358) ,p_theme_id=>42 ,p_name=>'COMPACT' ,p_display_name=>'Compact' ,p_display_sequence=>1 ,p_report_template_id=>wwv_flow_api.id(55911169741861327352) ,p_css_classes=>'t-Timeline--compact' ,p_group_id=>wwv_flow_api.id(55689481277974258708) ,p_template_types=>'REPORT' ,p_help_text=>'Displays a compact version of timeline with smaller text and fewer columns.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55922557685768632092) ,p_theme_id=>42 ,p_name=>'BASIC' ,p_display_name=>'Basic' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(55922557049686632089) ,p_css_classes=>'t-Comments--basic' ,p_group_id=>wwv_flow_api.id(55689482728578258709) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55922558082970632093) ,p_theme_id=>42 ,p_name=>'SPEECH_BUBBLES' ,p_display_name=>'Speech Bubbles' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(55922557049686632089) ,p_css_classes=>'t-Comments--chat' ,p_group_id=>wwv_flow_api.id(55689482728578258709) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923070858268413658) ,p_theme_id=>42 ,p_name=>'2_COLUMNS' ,p_display_name=>'2 Columns' ,p_display_sequence=>15 ,p_report_template_id=>wwv_flow_api.id(55923070163834413654) ,p_css_classes=>'t-Cards--cols' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923081313864413659) ,p_theme_id=>42 ,p_name=>'2_LINES' ,p_display_name=>'2 Lines' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(55923070163834413654) ,p_css_classes=>'t-Cards--desc-2ln' ,p_group_id=>wwv_flow_api.id(55689480574404258707) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923081745130413660) ,p_theme_id=>42 ,p_name=>'3_COLUMNS' ,p_display_name=>'3 Columns' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(55923070163834413654) ,p_css_classes=>'t-Cards--3cols' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923082203562413660) ,p_theme_id=>42 ,p_name=>'3_LINES' ,p_display_name=>'3 Lines' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(55923070163834413654) ,p_css_classes=>'t-Cards--desc-3ln' ,p_group_id=>wwv_flow_api.id(55689480574404258707) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923082610064413660) ,p_theme_id=>42 ,p_name=>'4_COLUMNS' ,p_display_name=>'4 Columns' ,p_display_sequence=>30 ,p_report_template_id=>wwv_flow_api.id(55923070163834413654) ,p_css_classes=>'t-Cards--4cols' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923083062227413660) ,p_theme_id=>42 ,p_name=>'4_LINES' ,p_display_name=>'4 Lines' ,p_display_sequence=>30 ,p_report_template_id=>wwv_flow_api.id(55923070163834413654) ,p_css_classes=>'t-Cards--desc-4ln' ,p_group_id=>wwv_flow_api.id(55689480574404258707) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923083449571413660) ,p_theme_id=>42 ,p_name=>'5_COLUMNS' ,p_display_name=>'5 Columns' ,p_display_sequence=>50 ,p_report_template_id=>wwv_flow_api.id(55923070163834413654) ,p_css_classes=>'t-Cards--5cols' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923083920821413661) ,p_theme_id=>42 ,p_name=>'BASIC' ,p_display_name=>'Basic' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(55923070163834413654) ,p_css_classes=>'t-Cards--basic' ,p_group_id=>wwv_flow_api.id(55689481277974258708) ,p_template_types=>'REPORT' ); end; / begin wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923084362500413662) ,p_theme_id=>42 ,p_name=>'CARDS_COLOR_FILL' ,p_display_name=>'Color Fill' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(55923070163834413654) ,p_css_classes=>'t-Cards--animColorFill' ,p_group_id=>wwv_flow_api.id(55689481441992258708) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923084710822413662) ,p_theme_id=>42 ,p_name=>'CARD_RAISE_CARD' ,p_display_name=>'Raise Card' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(55923070163834413654) ,p_css_classes=>'t-Cards--animRaiseCard' ,p_group_id=>wwv_flow_api.id(55689481441992258708) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923085123124413662) ,p_theme_id=>42 ,p_name=>'COMPACT' ,p_display_name=>'Compact' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(55923070163834413654) ,p_css_classes=>'t-Cards--compact' ,p_group_id=>wwv_flow_api.id(55689481277974258708) ,p_template_types=>'REPORT' ,p_help_text=>'Use this option when you want to show smaller cards.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923085690813413663) ,p_theme_id=>42 ,p_name=>'DISPLAY_ICONS' ,p_display_name=>'Display Icons' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(55923070163834413654) ,p_css_classes=>'t-Cards--displayIcons' ,p_group_id=>wwv_flow_api.id(55689481840449258708) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923086038285413663) ,p_theme_id=>42 ,p_name=>'DISPLAY_INITIALS' ,p_display_name=>'Display Initials' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(55923070163834413654) ,p_css_classes=>'t-Cards--displayInitials' ,p_group_id=>wwv_flow_api.id(55689481840449258708) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923086412418413663) ,p_theme_id=>42 ,p_name=>'FEATURED' ,p_display_name=>'Featured' ,p_display_sequence=>30 ,p_report_template_id=>wwv_flow_api.id(55923070163834413654) ,p_css_classes=>'t-Cards--featured' ,p_group_id=>wwv_flow_api.id(55689481277974258708) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923086898298413663) ,p_theme_id=>42 ,p_name=>'FLOAT' ,p_display_name=>'Float' ,p_display_sequence=>60 ,p_report_template_id=>wwv_flow_api.id(55923070163834413654) ,p_css_classes=>'t-Cards--float' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923087281502413664) ,p_theme_id=>42 ,p_name=>'HIDDEN_BODY_TEXT' ,p_display_name=>'Hidden' ,p_display_sequence=>50 ,p_report_template_id=>wwv_flow_api.id(55923070163834413654) ,p_css_classes=>'t-Cards--hideBody' ,p_group_id=>wwv_flow_api.id(55689480574404258707) ,p_template_types=>'REPORT' ,p_help_text=>'This option hides the card body which contains description and subtext.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923087689596413664) ,p_theme_id=>42 ,p_name=>'SPAN_HORIZONTALLY' ,p_display_name=>'Span Horizontally' ,p_display_sequence=>70 ,p_report_template_id=>wwv_flow_api.id(55923070163834413654) ,p_css_classes=>'t-Cards--spanHorizontally' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923088102529413664) ,p_theme_id=>42 ,p_name=>'USE_THEME_COLORS' ,p_display_name=>'Apply Theme Colors' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(55923070163834413654) ,p_css_classes=>'u-colors' ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923419876519416641) ,p_theme_id=>42 ,p_name=>'128PX' ,p_display_name=>'128px' ,p_display_sequence=>50 ,p_report_template_id=>wwv_flow_api.id(55923419440928416640) ,p_css_classes=>'t-BadgeList--xxlarge' ,p_group_id=>wwv_flow_api.id(55689478772313258705) ,p_template_types=>'REPORT' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923420398963416641) ,p_theme_id=>42 ,p_name=>'2COLUMNGRID' ,p_display_name=>'2 Column Grid' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(55923419440928416640) ,p_css_classes=>'t-BadgeList--cols' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ,p_help_text=>'Arrange badges in a two column grid' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923420715747416642) ,p_theme_id=>42 ,p_name=>'32PX' ,p_display_name=>'32px' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(55923419440928416640) ,p_css_classes=>'t-BadgeList--small' ,p_group_id=>wwv_flow_api.id(55689478772313258705) ,p_template_types=>'REPORT' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923421154725416642) ,p_theme_id=>42 ,p_name=>'3COLUMNGRID' ,p_display_name=>'3 Column Grid' ,p_display_sequence=>30 ,p_report_template_id=>wwv_flow_api.id(55923419440928416640) ,p_css_classes=>'t-BadgeList--cols t-BadgeList--3cols' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ,p_help_text=>'Arrange badges in a 3 column grid' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923431557883416642) ,p_theme_id=>42 ,p_name=>'48PX' ,p_display_name=>'48px' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(55923419440928416640) ,p_css_classes=>'t-BadgeList--medium' ,p_group_id=>wwv_flow_api.id(55689478772313258705) ,p_template_types=>'REPORT' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923431900886416642) ,p_theme_id=>42 ,p_name=>'4COLUMNGRID' ,p_display_name=>'4 Column Grid' ,p_display_sequence=>40 ,p_report_template_id=>wwv_flow_api.id(55923419440928416640) ,p_css_classes=>'t-BadgeList--cols t-BadgeList--4cols' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923432308978416643) ,p_theme_id=>42 ,p_name=>'5COLUMNGRID' ,p_display_name=>'5 Column Grid' ,p_display_sequence=>50 ,p_report_template_id=>wwv_flow_api.id(55923419440928416640) ,p_css_classes=>'t-BadgeList--cols t-BadgeList--5cols' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923432780700416643) ,p_theme_id=>42 ,p_name=>'64PX' ,p_display_name=>'64px' ,p_display_sequence=>30 ,p_report_template_id=>wwv_flow_api.id(55923419440928416640) ,p_css_classes=>'t-BadgeList--large' ,p_group_id=>wwv_flow_api.id(55689478772313258705) ,p_template_types=>'REPORT' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923433192983416643) ,p_theme_id=>42 ,p_name=>'96PX' ,p_display_name=>'96px' ,p_display_sequence=>40 ,p_report_template_id=>wwv_flow_api.id(55923419440928416640) ,p_css_classes=>'t-BadgeList--xlarge' ,p_group_id=>wwv_flow_api.id(55689478772313258705) ,p_template_types=>'REPORT' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923433579075416643) ,p_theme_id=>42 ,p_name=>'FIXED' ,p_display_name=>'Span Horizontally' ,p_display_sequence=>60 ,p_report_template_id=>wwv_flow_api.id(55923419440928416640) ,p_css_classes=>'t-BadgeList--fixed' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923434064118416643) ,p_theme_id=>42 ,p_name=>'FLEXIBLEBOX' ,p_display_name=>'Flexible Box' ,p_display_sequence=>80 ,p_report_template_id=>wwv_flow_api.id(55923419440928416640) ,p_css_classes=>'t-BadgeList--flex' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923434454632416644) ,p_theme_id=>42 ,p_name=>'FLOATITEMS' ,p_display_name=>'Float Items' ,p_display_sequence=>70 ,p_report_template_id=>wwv_flow_api.id(55923419440928416640) ,p_css_classes=>'t-BadgeList--float' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923434858695416644) ,p_theme_id=>42 ,p_name=>'RESPONSIVE' ,p_display_name=>'Responsive' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(55923419440928416640) ,p_css_classes=>'t-BadgeList--responsive' ,p_template_types=>'REPORT' ,p_help_text=>'Automatically resize badges to smaller sizes as screen becomes smaller.' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(55923435296736416644) ,p_theme_id=>42 ,p_name=>'STACKED' ,p_display_name=>'Stacked' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(55923419440928416640) ,p_css_classes=>'t-BadgeList--stacked' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ,p_is_advanced=>'N' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56210270899154389649) ,p_theme_id=>42 ,p_name=>'2_COLUMNS' ,p_display_name=>'2 Columns' ,p_display_sequence=>15 ,p_report_template_id=>wwv_flow_api.id(56210270446698389648) ,p_css_classes=>'t-Cards--cols' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56210291260593389650) ,p_theme_id=>42 ,p_name=>'2_LINES' ,p_display_name=>'2 Lines' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(56210270446698389648) ,p_css_classes=>'t-Cards--desc-2ln' ,p_group_id=>wwv_flow_api.id(55689480574404258707) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56210291626134389651) ,p_theme_id=>42 ,p_name=>'3_COLUMNS' ,p_display_name=>'3 Columns' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(56210270446698389648) ,p_css_classes=>'t-Cards--3cols' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56210292020539389651) ,p_theme_id=>42 ,p_name=>'3_LINES' ,p_display_name=>'3 Lines' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(56210270446698389648) ,p_css_classes=>'t-Cards--desc-3ln' ,p_group_id=>wwv_flow_api.id(55689480574404258707) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56210292464344389651) ,p_theme_id=>42 ,p_name=>'4_COLUMNS' ,p_display_name=>'4 Columns' ,p_display_sequence=>30 ,p_report_template_id=>wwv_flow_api.id(56210270446698389648) ,p_css_classes=>'t-Cards--4cols' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56210292827355389651) ,p_theme_id=>42 ,p_name=>'4_LINES' ,p_display_name=>'4 Lines' ,p_display_sequence=>30 ,p_report_template_id=>wwv_flow_api.id(56210270446698389648) ,p_css_classes=>'t-Cards--desc-4ln' ,p_group_id=>wwv_flow_api.id(55689480574404258707) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56210293298174389652) ,p_theme_id=>42 ,p_name=>'5_COLUMNS' ,p_display_name=>'5 Columns' ,p_display_sequence=>50 ,p_report_template_id=>wwv_flow_api.id(56210270446698389648) ,p_css_classes=>'t-Cards--5cols' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56210293639816389652) ,p_theme_id=>42 ,p_name=>'BASIC' ,p_display_name=>'Basic' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(56210270446698389648) ,p_css_classes=>'t-Cards--basic' ,p_group_id=>wwv_flow_api.id(55689481277974258708) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56210294070233389653) ,p_theme_id=>42 ,p_name=>'CARDS_COLOR_FILL' ,p_display_name=>'Color Fill' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(56210270446698389648) ,p_css_classes=>'t-Cards--animColorFill' ,p_group_id=>wwv_flow_api.id(55689481441992258708) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56210294466452389653) ,p_theme_id=>42 ,p_name=>'CARD_RAISE_CARD' ,p_display_name=>'Raise Card' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(56210270446698389648) ,p_css_classes=>'t-Cards--animRaiseCard' ,p_group_id=>wwv_flow_api.id(55689481441992258708) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56210294846506389653) ,p_theme_id=>42 ,p_name=>'COMPACT' ,p_display_name=>'Compact' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(56210270446698389648) ,p_css_classes=>'t-Cards--compact' ,p_group_id=>wwv_flow_api.id(55689481277974258708) ,p_template_types=>'REPORT' ,p_help_text=>'Use this option when you want to show smaller cards.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56210295271782389653) ,p_theme_id=>42 ,p_name=>'DISPLAY_ICONS' ,p_display_name=>'Display Icons' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(56210270446698389648) ,p_css_classes=>'t-Cards--displayIcons' ,p_group_id=>wwv_flow_api.id(55689481840449258708) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56210295697719389654) ,p_theme_id=>42 ,p_name=>'DISPLAY_INITIALS' ,p_display_name=>'Display Initials' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(56210270446698389648) ,p_css_classes=>'t-Cards--displayInitials' ,p_group_id=>wwv_flow_api.id(55689481840449258708) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56210296062954389654) ,p_theme_id=>42 ,p_name=>'FEATURED' ,p_display_name=>'Featured' ,p_display_sequence=>30 ,p_report_template_id=>wwv_flow_api.id(56210270446698389648) ,p_css_classes=>'t-Cards--featured' ,p_group_id=>wwv_flow_api.id(55689481277974258708) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56210296436926389654) ,p_theme_id=>42 ,p_name=>'FLOAT' ,p_display_name=>'Float' ,p_display_sequence=>60 ,p_report_template_id=>wwv_flow_api.id(56210270446698389648) ,p_css_classes=>'t-Cards--float' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56210296869583389654) ,p_theme_id=>42 ,p_name=>'HIDDEN_BODY_TEXT' ,p_display_name=>'Hidden' ,p_display_sequence=>50 ,p_report_template_id=>wwv_flow_api.id(56210270446698389648) ,p_css_classes=>'t-Cards--hideBody' ,p_group_id=>wwv_flow_api.id(55689480574404258707) ,p_template_types=>'REPORT' ,p_help_text=>'This option hides the card body which contains description and subtext.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56210297224026389655) ,p_theme_id=>42 ,p_name=>'SPAN_HORIZONTALLY' ,p_display_name=>'Span Horizontally' ,p_display_sequence=>70 ,p_report_template_id=>wwv_flow_api.id(56210270446698389648) ,p_css_classes=>'t-Cards--spanHorizontally' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56210297630150389655) ,p_theme_id=>42 ,p_name=>'USE_THEME_COLORS' ,p_display_name=>'Apply Theme Colors' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(56210270446698389648) ,p_css_classes=>'u-colors' ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56722900400267423711) ,p_theme_id=>42 ,p_name=>'2_COLUMNS' ,p_display_name=>'2 Columns' ,p_display_sequence=>15 ,p_report_template_id=>wwv_flow_api.id(56722900093109423709) ,p_css_classes=>'t-Cards--cols' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56722900834798423711) ,p_theme_id=>42 ,p_name=>'2_LINES' ,p_display_name=>'2 Lines' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(56722900093109423709) ,p_css_classes=>'t-Cards--desc-2ln' ,p_group_id=>wwv_flow_api.id(55689480574404258707) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56722901287136423712) ,p_theme_id=>42 ,p_name=>'3_COLUMNS' ,p_display_name=>'3 Columns' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(56722900093109423709) ,p_css_classes=>'t-Cards--3cols' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56722901620779423712) ,p_theme_id=>42 ,p_name=>'3_LINES' ,p_display_name=>'3 Lines' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(56722900093109423709) ,p_css_classes=>'t-Cards--desc-3ln' ,p_group_id=>wwv_flow_api.id(55689480574404258707) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56722902050440423712) ,p_theme_id=>42 ,p_name=>'4_COLUMNS' ,p_display_name=>'4 Columns' ,p_display_sequence=>30 ,p_report_template_id=>wwv_flow_api.id(56722900093109423709) ,p_css_classes=>'t-Cards--4cols' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56722902485682423712) ,p_theme_id=>42 ,p_name=>'4_LINES' ,p_display_name=>'4 Lines' ,p_display_sequence=>30 ,p_report_template_id=>wwv_flow_api.id(56722900093109423709) ,p_css_classes=>'t-Cards--desc-4ln' ,p_group_id=>wwv_flow_api.id(55689480574404258707) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56722902842306423713) ,p_theme_id=>42 ,p_name=>'5_COLUMNS' ,p_display_name=>'5 Columns' ,p_display_sequence=>50 ,p_report_template_id=>wwv_flow_api.id(56722900093109423709) ,p_css_classes=>'t-Cards--5cols' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56722903253338423713) ,p_theme_id=>42 ,p_name=>'BASIC' ,p_display_name=>'Basic' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(56722900093109423709) ,p_css_classes=>'t-Cards--basic' ,p_group_id=>wwv_flow_api.id(55689481277974258708) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56722903640423423714) ,p_theme_id=>42 ,p_name=>'CARDS_COLOR_FILL' ,p_display_name=>'Color Fill' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(56722900093109423709) ,p_css_classes=>'t-Cards--animColorFill' ,p_group_id=>wwv_flow_api.id(55689481441992258708) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56722904032113423714) ,p_theme_id=>42 ,p_name=>'CARD_RAISE_CARD' ,p_display_name=>'Raise Card' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(56722900093109423709) ,p_css_classes=>'t-Cards--animRaiseCard' ,p_group_id=>wwv_flow_api.id(55689481441992258708) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56722904448757423714) ,p_theme_id=>42 ,p_name=>'COMPACT' ,p_display_name=>'Compact' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(56722900093109423709) ,p_css_classes=>'t-Cards--compact' ,p_group_id=>wwv_flow_api.id(55689481277974258708) ,p_template_types=>'REPORT' ,p_help_text=>'Use this option when you want to show smaller cards.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56722904887169423714) ,p_theme_id=>42 ,p_name=>'DISPLAY_ICONS' ,p_display_name=>'Display Icons' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(56722900093109423709) ,p_css_classes=>'t-Cards--displayIcons' ,p_group_id=>wwv_flow_api.id(55689481840449258708) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56722905273062423715) ,p_theme_id=>42 ,p_name=>'DISPLAY_INITIALS' ,p_display_name=>'Display Initials' ,p_display_sequence=>20 ,p_report_template_id=>wwv_flow_api.id(56722900093109423709) ,p_css_classes=>'t-Cards--displayInitials' ,p_group_id=>wwv_flow_api.id(55689481840449258708) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56722905617501423715) ,p_theme_id=>42 ,p_name=>'FEATURED' ,p_display_name=>'Featured' ,p_display_sequence=>30 ,p_report_template_id=>wwv_flow_api.id(56722900093109423709) ,p_css_classes=>'t-Cards--featured' ,p_group_id=>wwv_flow_api.id(55689481277974258708) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56722906033385423715) ,p_theme_id=>42 ,p_name=>'FLOAT' ,p_display_name=>'Float' ,p_display_sequence=>60 ,p_report_template_id=>wwv_flow_api.id(56722900093109423709) ,p_css_classes=>'t-Cards--float' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56722906421753423715) ,p_theme_id=>42 ,p_name=>'HIDDEN_BODY_TEXT' ,p_display_name=>'Hidden' ,p_display_sequence=>50 ,p_report_template_id=>wwv_flow_api.id(56722900093109423709) ,p_css_classes=>'t-Cards--hideBody' ,p_group_id=>wwv_flow_api.id(55689480574404258707) ,p_template_types=>'REPORT' ,p_help_text=>'This option hides the card body which contains description and subtext.' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56722906894019423715) ,p_theme_id=>42 ,p_name=>'SPAN_HORIZONTALLY' ,p_display_name=>'Span Horizontally' ,p_display_sequence=>70 ,p_report_template_id=>wwv_flow_api.id(56722900093109423709) ,p_css_classes=>'t-Cards--spanHorizontally' ,p_group_id=>wwv_flow_api.id(55689478955221258706) ,p_template_types=>'REPORT' ); wwv_flow_api.create_template_option( p_id=>wwv_flow_api.id(56722907209957423716) ,p_theme_id=>42 ,p_name=>'USE_THEME_COLORS' ,p_display_name=>'Apply Theme Colors' ,p_display_sequence=>10 ,p_report_template_id=>wwv_flow_api.id(56722900093109423709) ,p_css_classes=>'u-colors' ,p_template_types=>'REPORT' ); end; / prompt --application/shared_components/logic/build_options begin null; end; / prompt --application/shared_components/globalization/language begin null; end; / prompt --application/shared_components/globalization/translations begin null; end; / prompt --application/shared_components/globalization/messages begin null; end; / prompt --application/shared_components/globalization/dyntranslations begin null; end; / prompt --application/shared_components/security/authentications/apex begin wwv_flow_api.create_authentication( p_id=>wwv_flow_api.id(55689506991647258739) ,p_name=>'APEX' ,p_scheme_type=>'NATIVE_APEX_ACCOUNTS' ,p_invalid_session_type=>'LOGIN' ,p_use_secure_cookie_yn=>'N' ,p_ras_mode=>0 ); end; / prompt --application/user_interfaces begin wwv_flow_api.create_user_interface( p_id=>wwv_flow_api.id(55689506780508258737) ,p_ui_type_name=>'DESKTOP' ,p_display_name=>'Desktop' ,p_display_seq=>10 ,p_use_auto_detect=>false ,p_is_default=>true ,p_theme_id=>42 ,p_home_url=>'f?p=&APP_ID.:1:&SESSION.' ,p_login_url=>'f?p=&APP_ID.:LOGIN_DESKTOP:&SESSION.' ,p_theme_style_by_user_pref=>false ,p_navigation_list_id=>wwv_flow_api.id(55689454520588258678) ,p_navigation_list_position=>'SIDE' ,p_navigation_list_template_id=>wwv_flow_api.id(55689493388841258719) ,p_nav_list_template_options=>'#DEFAULT#' ,p_include_legacy_javascript=>'18' ,p_include_jquery_migrate=>true ,p_nav_bar_type=>'LIST' ,p_nav_bar_list_id=>wwv_flow_api.id(55689506639207258737) ,p_nav_bar_list_template_id=>wwv_flow_api.id(55689493206997258718) ,p_nav_bar_template_options=>'#DEFAULT#' ); end; / prompt --application/user_interfaces/combined_files begin null; end; / prompt --application/pages/page_00001 begin wwv_flow_api.create_page( p_id=>1 ,p_user_interface_id=>wwv_flow_api.id(55689506780508258737) ,p_name=>'Home' ,p_step_title=>'Home' ,p_step_sub_title=>'Home' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_autocomplete_on_off=>'OFF' ,p_page_template_options=>'#DEFAULT#' ,p_last_upd_yyyymmddhh24miss=>'20180321074959' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(55689508672566258750) ,p_plug_name=>'Breadcrumbs' ,p_region_template_options=>'#DEFAULT#:t-BreadcrumbRegion--useBreadcrumbTitle' ,p_component_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(55689477573158258703) ,p_plug_display_sequence=>10 ,p_plug_display_point=>'REGION_POSITION_01' ,p_menu_id=>wwv_flow_api.id(55689508003166258744) ,p_plug_source_type=>'NATIVE_BREADCRUMB' ,p_menu_template_id=>wwv_flow_api.id(55689496492117258723) ); end; / prompt --application/pages/page_00002 begin wwv_flow_api.create_page( p_id=>2 ,p_user_interface_id=>wwv_flow_api.id(55689506780508258737) ,p_name=>'Classic Report' ,p_step_title=>'Classic Report' ,p_step_sub_title=>'Classic Report' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_autocomplete_on_off=>'OFF' ,p_page_template_options=>'#DEFAULT#' ,p_last_updated_by=>'ALI' ,p_last_upd_yyyymmddhh24miss=>'20180326190617' ); wwv_flow_api.create_report_region( p_id=>wwv_flow_api.id(55689554975583271118) ,p_name=>'Classic Report' ,p_template=>wwv_flow_api.id(55689473177657258698) ,p_display_sequence=>10 ,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody' ,p_component_template_options=>'#DEFAULT#:t-Report--altRowsDefault:t-Report--rowHighlight' ,p_display_point=>'BODY' ,p_source_type=>'NATIVE_SQL_REPORT' ,p_query_type=>'SQL' ,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( 'select EMPNO,', ' ENAME,', ' JOB,', ' MGR,', ' HIREDATE,', ' SAL,', ' COMM,', ' DEPTNO', ' from EMP')) ,p_ajax_enabled=>'Y' ,p_query_row_template=>wwv_flow_api.id(55689483178799258709) ,p_query_num_rows=>15 ,p_query_options=>'DERIVED_REPORT_COLUMNS' ,p_query_no_data_found=>'No data found.' ,p_query_num_rows_type=>'ROW_RANGES_IN_SELECT_LIST' ,p_query_row_count_max=>500 ,p_csv_output=>'Y' ,p_csv_output_link_text=>'Download' ,p_prn_output=>'N' ,p_prn_format=>'PDF' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55689555655027271121) ,p_query_column_id=>1 ,p_column_alias=>'EMPNO' ,p_column_display_sequence=>1 ,p_column_heading=>'Empno' ,p_heading_alignment=>'LEFT' ,p_default_sort_column_sequence=>1 ,p_disable_sort_column=>'N' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55689556085211271122) ,p_query_column_id=>2 ,p_column_alias=>'ENAME' ,p_column_display_sequence=>2 ,p_column_heading=>'Ename' ,p_heading_alignment=>'LEFT' ,p_disable_sort_column=>'N' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55689556400024271122) ,p_query_column_id=>3 ,p_column_alias=>'JOB' ,p_column_display_sequence=>3 ,p_column_heading=>'Job' ,p_heading_alignment=>'LEFT' ,p_disable_sort_column=>'N' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55689556865175271122) ,p_query_column_id=>4 ,p_column_alias=>'MGR' ,p_column_display_sequence=>4 ,p_column_heading=>'Mgr' ,p_heading_alignment=>'LEFT' ,p_disable_sort_column=>'N' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55689557206358271123) ,p_query_column_id=>5 ,p_column_alias=>'HIREDATE' ,p_column_display_sequence=>5 ,p_column_heading=>'Hiredate' ,p_heading_alignment=>'LEFT' ,p_disable_sort_column=>'N' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55689557607886271123) ,p_query_column_id=>6 ,p_column_alias=>'SAL' ,p_column_display_sequence=>6 ,p_column_heading=>'Sal' ,p_heading_alignment=>'LEFT' ,p_disable_sort_column=>'N' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55689558009233271124) ,p_query_column_id=>7 ,p_column_alias=>'COMM' ,p_column_display_sequence=>7 ,p_column_heading=>'Comm' ,p_heading_alignment=>'LEFT' ,p_disable_sort_column=>'N' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55689558402725271124) ,p_query_column_id=>8 ,p_column_alias=>'DEPTNO' ,p_column_display_sequence=>8 ,p_column_heading=>'Deptno' ,p_heading_alignment=>'LEFT' ,p_disable_sort_column=>'N' ); end; / prompt --application/pages/page_00003 begin wwv_flow_api.create_page( p_id=>3 ,p_user_interface_id=>wwv_flow_api.id(55689506780508258737) ,p_name=>'Value Attribute Pairs - Row' ,p_step_title=>'Value Attribute Pairs - Row' ,p_step_sub_title=>'Value Attribute Pairs - Row' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_autocomplete_on_off=>'OFF' ,p_page_template_options=>'#DEFAULT#' ,p_last_updated_by=>'ALI' ,p_last_upd_yyyymmddhh24miss=>'20180321194044' ); wwv_flow_api.create_report_region( p_id=>wwv_flow_api.id(111380142842221373038) ,p_name=>'Value Attribute Pairs - Row' ,p_template=>wwv_flow_api.id(55689473177657258698) ,p_display_sequence=>10 ,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody' ,p_component_template_options=>'#DEFAULT#:t-AVPList--leftAligned' ,p_display_point=>'BODY' ,p_source_type=>'NATIVE_SQL_REPORT' ,p_query_type=>'SQL' ,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( 'select EMPNO,', ' ', ' JOB,', ' MGR,', ' HIREDATE,', ' SAL,', ' COMM,', ' ENAME,', ' DEPTNO', ' from EMP')) ,p_ajax_enabled=>'Y' ,p_query_row_template=>wwv_flow_api.id(55905964705647512565) ,p_query_num_rows=>15 ,p_query_options=>'DERIVED_REPORT_COLUMNS' ,p_query_no_data_found=>'No data found.' ,p_query_num_rows_type=>'ROW_RANGES_IN_SELECT_LIST' ,p_query_row_count_max=>500 ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_csv_output=>'Y' ,p_csv_output_link_text=>'Download' ,p_prn_output=>'N' ,p_prn_format=>'PDF' ,p_sort_null=>'L' ,p_plug_query_strip_html=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55690588926225101926) ,p_query_column_id=>1 ,p_column_alias=>'EMPNO' ,p_column_display_sequence=>2 ,p_column_heading=>'Empno' ,p_use_as_row_header=>'N' ,p_heading_alignment=>'LEFT' ,p_default_sort_column_sequence=>1 ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55690589768551101927) ,p_query_column_id=>2 ,p_column_alias=>'JOB' ,p_column_display_sequence=>4 ,p_column_heading=>'Job' ,p_use_as_row_header=>'N' ,p_heading_alignment=>'LEFT' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55690590131025101927) ,p_query_column_id=>3 ,p_column_alias=>'MGR' ,p_column_display_sequence=>5 ,p_column_heading=>'Mgr' ,p_use_as_row_header=>'N' ,p_heading_alignment=>'LEFT' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55690590538235101928) ,p_query_column_id=>4 ,p_column_alias=>'HIREDATE' ,p_column_display_sequence=>6 ,p_column_heading=>'Hiredate' ,p_use_as_row_header=>'N' ,p_heading_alignment=>'LEFT' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55690590970550101928) ,p_query_column_id=>5 ,p_column_alias=>'SAL' ,p_column_display_sequence=>7 ,p_column_heading=>'Sal' ,p_use_as_row_header=>'N' ,p_heading_alignment=>'LEFT' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55690591374359101928) ,p_query_column_id=>6 ,p_column_alias=>'COMM' ,p_column_display_sequence=>8 ,p_column_heading=>'Comm' ,p_use_as_row_header=>'N' ,p_heading_alignment=>'LEFT' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55690589386031101927) ,p_query_column_id=>7 ,p_column_alias=>'ENAME' ,p_column_display_sequence=>3 ,p_column_heading=>'Ename' ,p_use_as_row_header=>'N' ,p_heading_alignment=>'LEFT' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55690591743018101929) ,p_query_column_id=>8 ,p_column_alias=>'DEPTNO' ,p_column_display_sequence=>1 ,p_column_heading=>'Deptno' ,p_use_as_row_header=>'N' ,p_heading_alignment=>'LEFT' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); end; / prompt --application/pages/page_00004 begin wwv_flow_api.create_page( p_id=>4 ,p_user_interface_id=>wwv_flow_api.id(55689506780508258737) ,p_name=>'Value Attribute Pairs - Column' ,p_step_title=>'Value Attribute Pairs - Column' ,p_step_sub_title=>'Value Attribute Pairs - Column' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_autocomplete_on_off=>'OFF' ,p_inline_css=>wwv_flow_string.join(wwv_flow_t_varchar2( '.t-AVPList-label', '{', ' background-color: Gray;', ' color:#ffffff !important;', ' ', '}', '', '.t-AVPList-value', '{', ' ', ' background-color:LightGray;', ' ', ' ', '}')) ,p_page_template_options=>'#DEFAULT#' ,p_last_updated_by=>'ALI' ,p_last_upd_yyyymmddhh24miss=>'20180321150536' ); wwv_flow_api.create_report_region( p_id=>wwv_flow_api.id(167071185823446714218) ,p_name=>'Value Attribute Pairs - Column' ,p_template=>wwv_flow_api.id(55689473177657258698) ,p_display_sequence=>10 ,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody' ,p_component_template_options=>'#DEFAULT#:t-AVPList--leftAligned' ,p_display_point=>'BODY' ,p_source_type=>'NATIVE_SQL_REPORT' ,p_query_type=>'SQL' ,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( 'select EMPNO,', ' ', ' JOB,', ' MGR,', ' HIREDATE,', ' SAL,', ' COMM,', ' ENAME,', ' DEPTNO', ' from EMP')) ,p_ajax_enabled=>'Y' ,p_query_row_template=>wwv_flow_api.id(55693439011091522468) ,p_query_num_rows=>15 ,p_query_options=>'DERIVED_REPORT_COLUMNS' ,p_query_no_data_found=>'No data found.' ,p_query_num_rows_type=>'ROW_RANGES_IN_SELECT_LIST' ,p_query_row_count_max=>500 ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_csv_output=>'Y' ,p_csv_output_link_text=>'Download' ,p_prn_output=>'N' ,p_prn_format=>'PDF' ,p_sort_null=>'L' ,p_plug_query_strip_html=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55691044065235341189) ,p_query_column_id=>1 ,p_column_alias=>'EMPNO' ,p_column_display_sequence=>2 ,p_column_heading=>'Empno' ,p_use_as_row_header=>'N' ,p_heading_alignment=>'LEFT' ,p_default_sort_column_sequence=>1 ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55691044888094341190) ,p_query_column_id=>2 ,p_column_alias=>'JOB' ,p_column_display_sequence=>4 ,p_column_heading=>'Job' ,p_use_as_row_header=>'N' ,p_heading_alignment=>'LEFT' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55691045262167341191) ,p_query_column_id=>3 ,p_column_alias=>'MGR' ,p_column_display_sequence=>5 ,p_column_heading=>'Mgr' ,p_use_as_row_header=>'N' ,p_heading_alignment=>'LEFT' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55691045618886341191) ,p_query_column_id=>4 ,p_column_alias=>'HIREDATE' ,p_column_display_sequence=>6 ,p_column_heading=>'Hiredate' ,p_use_as_row_header=>'N' ,p_heading_alignment=>'LEFT' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55691046076430341191) ,p_query_column_id=>5 ,p_column_alias=>'SAL' ,p_column_display_sequence=>7 ,p_column_heading=>'Sal' ,p_use_as_row_header=>'N' ,p_heading_alignment=>'LEFT' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55691046441716341192) ,p_query_column_id=>6 ,p_column_alias=>'COMM' ,p_column_display_sequence=>8 ,p_column_heading=>'Comm' ,p_use_as_row_header=>'N' ,p_heading_alignment=>'LEFT' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55691044448446341190) ,p_query_column_id=>7 ,p_column_alias=>'ENAME' ,p_column_display_sequence=>3 ,p_column_heading=>'Ename' ,p_use_as_row_header=>'N' ,p_heading_alignment=>'LEFT' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55691046850931341192) ,p_query_column_id=>8 ,p_column_alias=>'DEPTNO' ,p_column_display_sequence=>1 ,p_column_heading=>'Deptno' ,p_use_as_row_header=>'N' ,p_heading_alignment=>'LEFT' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); end; / prompt --application/pages/page_00005 begin wwv_flow_api.create_page( p_id=>5 ,p_user_interface_id=>wwv_flow_api.id(55689506780508258737) ,p_name=>'Timeline' ,p_step_title=>'Timeline' ,p_step_sub_title=>'Timeline' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_autocomplete_on_off=>'OFF' ,p_page_template_options=>'#DEFAULT#' ,p_last_updated_by=>'ALI' ,p_last_upd_yyyymmddhh24miss=>'20180321194640' ); wwv_flow_api.create_report_region( p_id=>wwv_flow_api.id(111600534521569597164) ,p_name=>'Timeline' ,p_template=>wwv_flow_api.id(55689473177657258698) ,p_display_sequence=>10 ,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody' ,p_component_template_options=>'#DEFAULT#' ,p_display_point=>'BODY' ,p_source_type=>'NATIVE_SQL_REPORT' ,p_query_type=>'SQL' ,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( 'select EMPNO,', ' ENAME USER_NAME,', ' JOB EVENT_TITLE,', ' MGR,', ' HIREDATE EVENT_DATE,', ' SAL,', ' COMM,', ' DEPTNO', ' from EMP')) ,p_ajax_enabled=>'Y' ,p_query_row_template=>wwv_flow_api.id(55911169741861327352) ,p_query_num_rows=>15 ,p_query_options=>'DERIVED_REPORT_COLUMNS' ,p_query_no_data_found=>'No data found.' ,p_query_num_rows_type=>'ROW_RANGES_IN_SELECT_LIST' ,p_query_row_count_max=>500 ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_csv_output=>'Y' ,p_csv_output_link_text=>'Download' ,p_prn_output=>'N' ,p_prn_format=>'PDF' ,p_sort_null=>'L' ,p_plug_query_strip_html=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55910992488052326070) ,p_query_column_id=>1 ,p_column_alias=>'EMPNO' ,p_column_display_sequence=>1 ,p_column_heading=>'Empno' ,p_heading_alignment=>'LEFT' ,p_default_sort_column_sequence=>1 ,p_disable_sort_column=>'N' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55912210301853334401) ,p_query_column_id=>2 ,p_column_alias=>'USER_NAME' ,p_column_display_sequence=>6 ,p_column_heading=>'User name' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55912210581281334403) ,p_query_column_id=>3 ,p_column_alias=>'EVENT_TITLE' ,p_column_display_sequence=>8 ,p_column_heading=>'Event title' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55910993648614326071) ,p_query_column_id=>4 ,p_column_alias=>'MGR' ,p_column_display_sequence=>2 ,p_column_heading=>'Mgr' ,p_use_as_row_header=>'N' ,p_heading_alignment=>'LEFT' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55912210409520334402) ,p_query_column_id=>5 ,p_column_alias=>'EVENT_DATE' ,p_column_display_sequence=>7 ,p_column_heading=>'Event date' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55910994470877326072) ,p_query_column_id=>6 ,p_column_alias=>'SAL' ,p_column_display_sequence=>3 ,p_column_heading=>'Sal' ,p_use_as_row_header=>'N' ,p_heading_alignment=>'LEFT' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55910994907965326072) ,p_query_column_id=>7 ,p_column_alias=>'COMM' ,p_column_display_sequence=>4 ,p_column_heading=>'Comm' ,p_use_as_row_header=>'N' ,p_heading_alignment=>'LEFT' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55910995326550326073) ,p_query_column_id=>8 ,p_column_alias=>'DEPTNO' ,p_column_display_sequence=>5 ,p_column_heading=>'Deptno' ,p_use_as_row_header=>'N' ,p_heading_alignment=>'LEFT' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); end; / prompt --application/pages/page_00006 begin wwv_flow_api.create_page( p_id=>6 ,p_user_interface_id=>wwv_flow_api.id(55689506780508258737) ,p_name=>'Search Results' ,p_step_title=>'Search Results' ,p_step_sub_title=>'Search Results' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_autocomplete_on_off=>'OFF' ,p_page_template_options=>'#DEFAULT#' ,p_last_updated_by=>'ALI' ,p_last_upd_yyyymmddhh24miss=>'20180321200252' ); wwv_flow_api.create_report_region( p_id=>wwv_flow_api.id(167524869281327020389) ,p_name=>'Search Results' ,p_template=>wwv_flow_api.id(55689473177657258698) ,p_display_sequence=>10 ,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody' ,p_component_template_options=>'#DEFAULT#' ,p_display_point=>'BODY' ,p_source_type=>'NATIVE_SQL_REPORT' ,p_query_type=>'SQL' ,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( 'select EMPNO,', ' ENAME SEARCH_TITLE,', ' JOB SEARCH_DESC,', ' MGR LABEL_01,', ' HIREDATE VALUE_01,', ' SAL LABEL_02,', ' COMM VALUE_02,', ' DEPTNO', ' from EMP')) ,p_ajax_enabled=>'Y' ,p_query_row_template=>wwv_flow_api.id(55922354268516630598) ,p_query_num_rows=>15 ,p_query_options=>'DERIVED_REPORT_COLUMNS' ,p_query_no_data_found=>'No data found.' ,p_query_num_rows_type=>'ROW_RANGES_IN_SELECT_LIST' ,p_query_row_count_max=>500 ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_csv_output=>'Y' ,p_csv_output_link_text=>'Download' ,p_prn_output=>'N' ,p_prn_format=>'PDF' ,p_sort_null=>'L' ,p_plug_query_strip_html=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55924339486418423238) ,p_query_column_id=>1 ,p_column_alias=>'EMPNO' ,p_column_display_sequence=>1 ,p_column_heading=>'Empno' ,p_heading_alignment=>'LEFT' ,p_default_sort_column_sequence=>1 ,p_disable_sort_column=>'N' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55912210631041334404) ,p_query_column_id=>2 ,p_column_alias=>'SEARCH_TITLE' ,p_column_display_sequence=>3 ,p_column_heading=>'Search title' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55912210706727334405) ,p_query_column_id=>3 ,p_column_alias=>'SEARCH_DESC' ,p_column_display_sequence=>4 ,p_column_heading=>'Search desc' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55912210875157334406) ,p_query_column_id=>4 ,p_column_alias=>'LABEL_01' ,p_column_display_sequence=>5 ,p_column_heading=>'Label 01' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55912210985983334407) ,p_query_column_id=>5 ,p_column_alias=>'VALUE_01' ,p_column_display_sequence=>6 ,p_column_heading=>'Value 01' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55912211070843334408) ,p_query_column_id=>6 ,p_column_alias=>'LABEL_02' ,p_column_display_sequence=>7 ,p_column_heading=>'Label 02' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55912211151661334409) ,p_query_column_id=>7 ,p_column_alias=>'VALUE_02' ,p_column_display_sequence=>8 ,p_column_heading=>'Value 02' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55924339010354423237) ,p_query_column_id=>8 ,p_column_alias=>'DEPTNO' ,p_column_display_sequence=>2 ,p_column_heading=>'Deptno' ,p_use_as_row_header=>'N' ,p_heading_alignment=>'LEFT' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); end; / prompt --application/pages/page_00007 begin wwv_flow_api.create_page( p_id=>7 ,p_user_interface_id=>wwv_flow_api.id(55689506780508258737) ,p_name=>'Comments' ,p_step_title=>'Comments' ,p_step_sub_title=>'Comments' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_autocomplete_on_off=>'OFF' ,p_page_template_options=>'#DEFAULT#' ,p_last_updated_by=>'ALI' ,p_last_upd_yyyymmddhh24miss=>'20180322072311' ); wwv_flow_api.create_report_region( p_id=>wwv_flow_api.id(223454272203017481759) ,p_name=>'Comments' ,p_template=>wwv_flow_api.id(55689463106891258691) ,p_display_sequence=>10 ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#:t-Comments--chat' ,p_display_point=>'BODY' ,p_source_type=>'NATIVE_SQL_REPORT' ,p_query_type=>'SQL' ,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( 'select '' <span class ="fa fa-user"><span>'' USER_ICON ,', ' ENAME USER_NAME,', ' JOB ACTIONS,', ' MGR LABEL_01,', ' HIREDATE COMMENT_DATE,', ' SAL COMMENT_TEXT,', ' COMM ATTRIBUTE_1,', ' DEPTNO ATTRIBUTE_2', ' from EMP')) ,p_ajax_enabled=>'Y' ,p_query_row_template=>wwv_flow_api.id(55922557049686632089) ,p_query_num_rows=>15 ,p_query_options=>'DERIVED_REPORT_COLUMNS' ,p_query_no_data_found=>'No data found.' ,p_query_num_rows_type=>'ROW_RANGES_IN_SELECT_LIST' ,p_query_row_count_max=>500 ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_csv_output=>'Y' ,p_csv_output_link_text=>'Download' ,p_prn_output=>'N' ,p_prn_format=>'PDF' ,p_sort_null=>'L' ,p_plug_query_strip_html=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55912221249783334410) ,p_query_column_id=>1 ,p_column_alias=>'USER_ICON' ,p_column_display_sequence=>2 ,p_column_heading=>'User icon' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_display_as=>'WITHOUT_MODIFICATION' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55912221350777334411) ,p_query_column_id=>2 ,p_column_alias=>'USER_NAME' ,p_column_display_sequence=>3 ,p_column_heading=>'User name' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55912221438245334412) ,p_query_column_id=>3 ,p_column_alias=>'ACTIONS' ,p_column_display_sequence=>4 ,p_column_heading=>'Actions' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55929406286244461379) ,p_query_column_id=>4 ,p_column_alias=>'LABEL_01' ,p_column_display_sequence=>1 ,p_column_heading=>'Label 01' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55912221568305334413) ,p_query_column_id=>5 ,p_column_alias=>'COMMENT_DATE' ,p_column_display_sequence=>5 ,p_column_heading=>'Comment date' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55912221603609334414) ,p_query_column_id=>6 ,p_column_alias=>'COMMENT_TEXT' ,p_column_display_sequence=>6 ,p_column_heading=>'Comment text' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55912221770176334415) ,p_query_column_id=>7 ,p_column_alias=>'ATTRIBUTE_1' ,p_column_display_sequence=>7 ,p_column_heading=>'Attribute 1' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55912221821541334416) ,p_query_column_id=>8 ,p_column_alias=>'ATTRIBUTE_2' ,p_column_display_sequence=>8 ,p_column_heading=>'Attribute 2' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); end; / prompt --application/pages/page_00008 begin wwv_flow_api.create_page( p_id=>8 ,p_user_interface_id=>wwv_flow_api.id(55689506780508258737) ,p_name=>'Cards' ,p_step_title=>'Cards' ,p_step_sub_title=>'Cards' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_autocomplete_on_off=>'OFF' ,p_page_template_options=>'#DEFAULT#' ,p_last_updated_by=>'ALI' ,p_last_upd_yyyymmddhh24miss=>'20180322072251' ); wwv_flow_api.create_report_region( p_id=>wwv_flow_api.id(279387380754564193054) ,p_name=>'Cards' ,p_template=>wwv_flow_api.id(55689463106891258691) ,p_display_sequence=>10 ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#:t-Cards--featured:t-Cards--displayIcons:t-Cards--3cols:t-Cards--animColorFill' ,p_display_point=>'BODY' ,p_source_type=>'NATIVE_SQL_REPORT' ,p_query_type=>'SQL' ,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( 'select ''fa-user'' CARD_ICON,', ' ENAME CARD_TITLE,', ' JOB CARD_TEXT,', ' MGR LABEL_01,', ' HIREDATE CARD_SUBTEXT,', ' SAL COMMENT_TEXT,', ' COMM ATTRIBUTE_1,', ' DEPTNO ATTRIBUTE_2', ' from EMP')) ,p_ajax_enabled=>'Y' ,p_query_row_template=>wwv_flow_api.id(55923070163834413654) ,p_query_num_rows=>15 ,p_query_options=>'DERIVED_REPORT_COLUMNS' ,p_query_no_data_found=>'No data found.' ,p_query_num_rows_type=>'ROW_RANGES_IN_SELECT_LIST' ,p_query_row_count_max=>500 ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_csv_output=>'Y' ,p_csv_output_link_text=>'Download' ,p_prn_output=>'N' ,p_prn_format=>'PDF' ,p_sort_null=>'L' ,p_plug_query_strip_html=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55912222489861334422) ,p_query_column_id=>1 ,p_column_alias=>'CARD_ICON' ,p_column_display_sequence=>8 ,p_column_heading=>'Card icon' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55912221980422334417) ,p_query_column_id=>2 ,p_column_alias=>'CARD_TITLE' ,p_column_display_sequence=>5 ,p_column_heading=>'Card title' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55912222090404334418) ,p_query_column_id=>3 ,p_column_alias=>'CARD_TEXT' ,p_column_display_sequence=>6 ,p_column_heading=>'Card text' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55933122641304711303) ,p_query_column_id=>4 ,p_column_alias=>'LABEL_01' ,p_column_display_sequence=>1 ,p_column_heading=>'Label 01' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55912222156874334419) ,p_query_column_id=>5 ,p_column_alias=>'CARD_SUBTEXT' ,p_column_display_sequence=>7 ,p_column_heading=>'Card subtext' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55933121809791711303) ,p_query_column_id=>6 ,p_column_alias=>'COMMENT_TEXT' ,p_column_display_sequence=>2 ,p_column_heading=>'Comment text' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55933122208744711303) ,p_query_column_id=>7 ,p_column_alias=>'ATTRIBUTE_1' ,p_column_display_sequence=>3 ,p_column_heading=>'Attribute 1' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(55933123085499711304) ,p_query_column_id=>8 ,p_column_alias=>'ATTRIBUTE_2' ,p_column_display_sequence=>4 ,p_column_heading=>'Attribute 2' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); end; / prompt --application/pages/page_00009 begin wwv_flow_api.create_page( p_id=>9 ,p_user_interface_id=>wwv_flow_api.id(55689506780508258737) ,p_name=>'Badge List' ,p_step_title=>'Badge List' ,p_step_sub_title=>'Badge List' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_autocomplete_on_off=>'OFF' ,p_page_template_options=>'#DEFAULT#' ,p_last_updated_by=>'ALI' ,p_last_upd_yyyymmddhh24miss=>'20180322072232' ); wwv_flow_api.create_report_region( p_id=>wwv_flow_api.id(335393875449612848339) ,p_name=>'Badge List' ,p_template=>wwv_flow_api.id(55689463106891258691) ,p_display_sequence=>10 ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#:t-BadgeList--large:t-BadgeList--cols t-BadgeList--4cols' ,p_display_point=>'BODY' ,p_source_type=>'NATIVE_SQL_REPORT' ,p_query_type=>'SQL' ,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( 'select ', ' ENAME ', ' from EMP')) ,p_ajax_enabled=>'Y' ,p_query_row_template=>wwv_flow_api.id(55923419440928416640) ,p_query_num_rows=>15 ,p_query_options=>'DERIVED_REPORT_COLUMNS' ,p_query_no_data_found=>'No data found.' ,p_query_num_rows_type=>'ROW_RANGES_IN_SELECT_LIST' ,p_query_row_count_max=>500 ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_csv_output=>'Y' ,p_csv_output_link_text=>'Download' ,p_prn_output=>'N' ,p_prn_format=>'PDF' ,p_sort_null=>'L' ,p_plug_query_strip_html=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(56006602273005659006) ,p_query_column_id=>1 ,p_column_alias=>'ENAME' ,p_column_display_sequence=>1 ,p_column_heading=>'Ename' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); end; / prompt --application/pages/page_00010 begin wwv_flow_api.create_page( p_id=>10 ,p_user_interface_id=>wwv_flow_api.id(55689506780508258737) ,p_name=>'Alerts' ,p_step_title=>'Alerts' ,p_step_sub_title=>'Alerts' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_autocomplete_on_off=>'OFF' ,p_page_template_options=>'#DEFAULT#' ,p_last_updated_by=>'ALI' ,p_last_upd_yyyymmddhh24miss=>'20180322072203' ); wwv_flow_api.create_report_region( p_id=>wwv_flow_api.id(391400630658027558697) ,p_name=>'Alerts' ,p_template=>wwv_flow_api.id(55689463106891258691) ,p_display_sequence=>10 ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#' ,p_display_point=>'BODY' ,p_source_type=>'NATIVE_SQL_REPORT' ,p_query_type=>'SQL' ,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( 'select ', ' ENAME ALERT_TITLE,', ' SAL ALERT_DESC,', ' ''<span class="fa fa-user"></span>'' ALERT_ACTION', ' from EMP')) ,p_ajax_enabled=>'Y' ,p_query_row_template=>wwv_flow_api.id(55923564898923639408) ,p_query_num_rows=>15 ,p_query_options=>'DERIVED_REPORT_COLUMNS' ,p_query_no_data_found=>'No data found.' ,p_query_num_rows_type=>'ROW_RANGES_IN_SELECT_LIST' ,p_query_row_count_max=>500 ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_csv_output=>'Y' ,p_csv_output_link_text=>'Download' ,p_prn_output=>'N' ,p_prn_format=>'PDF' ,p_sort_null=>'L' ,p_plug_query_strip_html=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(56006602558372659009) ,p_query_column_id=>1 ,p_column_alias=>'ALERT_TITLE' ,p_column_display_sequence=>1 ,p_column_heading=>'Alert title' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(56006602603255659010) ,p_query_column_id=>2 ,p_column_alias=>'ALERT_DESC' ,p_column_display_sequence=>2 ,p_column_heading=>'Alert desc' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(56006602758642659011) ,p_query_column_id=>3 ,p_column_alias=>'ALERT_ACTION' ,p_column_display_sequence=>3 ,p_column_heading=>'Alert action' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_display_as=>'WITHOUT_MODIFICATION' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); end; / prompt --application/pages/page_00011 begin wwv_flow_api.create_page( p_id=>11 ,p_user_interface_id=>wwv_flow_api.id(55689506780508258737) ,p_name=>'Pricing' ,p_step_title=>'Pricing' ,p_step_sub_title=>'Pricing' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_autocomplete_on_off=>'OFF' ,p_inline_css=>wwv_flow_string.join(wwv_flow_t_varchar2( '* {', ' box-sizing: border-box;', '}', '', '/* Create three columns of equal width */', '.columns {', ' float: left;', ' width: 33.3%;', ' padding: 8px;', '}', '', '/* Style the list */', '.price {', ' list-style-type: none;', ' border: 1px solid #eee;', ' margin: 0;', ' padding: 0;', ' -webkit-transition: 0.3s;', ' transition: 0.3s;', '}', '', '/* Add shadows on hover */', '.price:hover {', ' box-shadow: 0 8px 12px 0 rgba(0,0,0,0.2)', '}', '', '', '/* Pricing header */', '.price .header {', ' background-color: rgb(14, 73, 165);', ' color: white;', ' font-size: 25px;', '}', '/* Pricing header */', '.price .header:hover {', ' background-color:rgb(31, 108, 226);', ' color:white; ', ' font-size: 28px;', '}', '', '/* List items */', '.price div {', ' border-bottom: 1px solid #eee;', ' padding: 20px;', ' text-align: center;', '}', '', '/* Grey list item */', '.price .grey {', ' background-color: #eee;', ' font-size: 20px;', '}', '', '/* The "Sign Up" button */', '.button {', ' background-color: #4CAF50;', ' border: none;', ' color: white;', ' padding: 10px 25px;', ' text-align: center;', ' text-decoration: none;', ' font-size: 18px;', '}', '', '/* Change the width of the three columns to 100% ', '(to stack horizontally on small screens) */', '@media only screen and (max-width: 600px) {', ' .columns {', ' width: 100%;', ' }', '}')) ,p_page_template_options=>'#DEFAULT#' ,p_last_updated_by=>'ALI' ,p_last_upd_yyyymmddhh24miss=>'20180326190426' ); wwv_flow_api.create_report_region( p_id=>wwv_flow_api.id(447408489838400116290) ,p_name=>'Pricing table' ,p_template=>wwv_flow_api.id(55689463106891258691) ,p_display_sequence=>10 ,p_region_template_options=>'#DEFAULT#' ,p_component_template_options=>'#DEFAULT#:u-colors:t-Cards--featured:t-Cards--4cols:t-Cards--animColorFill' ,p_display_point=>'BODY' ,p_source_type=>'NATIVE_SQL_REPORT' ,p_query_type=>'SQL' ,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2( 'select DEMO_PRODUCT_INFO.PRODUCT_NAME as NAME,', ' DEMO_PRODUCT_INFO.PRODUCT_DESCRIPTION as DESCRIPTION,', ' DEMO_PRODUCT_INFO.LIST_PRICE as PRICE ,', ' DEMO_PRODUCT_INFO.PRODUCT_AVAIL as AVAIL ,', ' ''<span class="fa fa-user"></spn>'' LINK', ' ', ' from DEMO_PRODUCT_INFO DEMO_PRODUCT_INFO')) ,p_ajax_enabled=>'Y' ,p_query_row_template=>wwv_flow_api.id(56210270446698389648) ,p_query_num_rows=>15 ,p_query_options=>'DERIVED_REPORT_COLUMNS' ,p_query_no_data_found=>'No data found.' ,p_query_num_rows_type=>'ROW_RANGES_IN_SELECT_LIST' ,p_query_row_count_max=>500 ,p_pagination_display_position=>'BOTTOM_RIGHT' ,p_csv_output=>'Y' ,p_csv_output_link_text=>'Download' ,p_prn_output=>'N' ,p_prn_format=>'PDF' ,p_sort_null=>'L' ,p_plug_query_strip_html=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(56006603619329659020) ,p_query_column_id=>1 ,p_column_alias=>'NAME' ,p_column_display_sequence=>1 ,p_column_heading=>'Name' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(56006603783465659021) ,p_query_column_id=>2 ,p_column_alias=>'DESCRIPTION' ,p_column_display_sequence=>2 ,p_column_heading=>'Description' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(56006603811319659022) ,p_query_column_id=>3 ,p_column_alias=>'PRICE' ,p_column_display_sequence=>3 ,p_column_heading=>'Price' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(56006603963167659023) ,p_query_column_id=>4 ,p_column_alias=>'AVAIL' ,p_column_display_sequence=>4 ,p_column_heading=>'Avail' ,p_use_as_row_header=>'N' ,p_disable_sort_column=>'N' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); wwv_flow_api.create_report_columns( p_id=>wwv_flow_api.id(56006604056143659024) ,p_query_column_id=>5 ,p_column_alias=>'LINK' ,p_column_display_sequence=>5 ,p_column_heading=>'Link' ,p_column_link=>'f?p=&APP_ID.:1:&SESSION.::&DEBUG.:RP::' ,p_column_linktext=>'<img src="#IMAGE_PREFIX#app_ui/img/icons/apex-edit-page.png" class="apex-edit-page" alt="">' ,p_disable_sort_column=>'N' ,p_display_as=>'WITHOUT_MODIFICATION' ,p_derived_column=>'N' ,p_include_in_export=>'Y' ); end; / prompt --application/pages/page_00101 begin wwv_flow_api.create_page( p_id=>101 ,p_user_interface_id=>wwv_flow_api.id(55689506780508258737) ,p_name=>'Login Page' ,p_alias=>'LOGIN_DESKTOP' ,p_step_title=>'Classic Report Template - Log In' ,p_warn_on_unsaved_changes=>'N' ,p_step_sub_title_type=>'TEXT_WITH_SUBSTITUTIONS' ,p_first_item=>'AUTO_FIRST_ITEM' ,p_autocomplete_on_off=>'OFF' ,p_step_template=>wwv_flow_api.id(55689456536805258683) ,p_page_template_options=>'#DEFAULT#' ,p_page_is_public_y_n=>'Y' ,p_last_upd_yyyymmddhh24miss=>'20180321074959' ); wwv_flow_api.create_page_plug( p_id=>wwv_flow_api.id(55689507275144258741) ,p_plug_name=>'Classic Report Template' ,p_icon_css_classes=>'fa-sign-in' ,p_region_template_options=>'#DEFAULT#' ,p_plug_template=>wwv_flow_api.id(55689472900365258698) ,p_plug_display_sequence=>10 ,p_plug_display_point=>'BODY' ,p_attribute_01=>'N' ,p_attribute_02=>'TEXT' ,p_attribute_03=>'Y' ); wwv_flow_api.create_page_button( p_id=>wwv_flow_api.id(55689507512647258743) ,p_button_sequence=>30 ,p_button_plug_id=>wwv_flow_api.id(55689507275144258741) ,p_button_name=>'LOGIN' ,p_button_action=>'SUBMIT' ,p_button_template_options=>'#DEFAULT#' ,p_button_template_id=>wwv_flow_api.id(55689495911882258722) ,p_button_is_hot=>'Y' ,p_button_image_alt=>'Log In' ,p_button_position=>'REGION_TEMPLATE_NEXT' ,p_button_alignment=>'LEFT' ,p_grid_new_grid=>false ,p_grid_new_row=>'Y' ,p_grid_new_column=>'Y' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(55689507304695258742) ,p_name=>'P101_USERNAME' ,p_item_sequence=>10 ,p_item_plug_id=>wwv_flow_api.id(55689507275144258741) ,p_prompt=>'username' ,p_placeholder=>'username' ,p_display_as=>'NATIVE_TEXT_FIELD' ,p_cSize=>40 ,p_cMaxlength=>100 ,p_label_alignment=>'RIGHT' ,p_field_template=>wwv_flow_api.id(55689495355838258720) ,p_item_icon_css_classes=>'fa-user' ,p_item_template_options=>'#DEFAULT#' ,p_attribute_01=>'N' ,p_attribute_02=>'N' ,p_attribute_03=>'N' ,p_attribute_04=>'TEXT' ,p_attribute_05=>'NONE' ); wwv_flow_api.create_page_item( p_id=>wwv_flow_api.id(55689507426697258743) ,p_name=>'P101_PASSWORD' ,p_item_sequence=>20 ,p_item_plug_id=>wwv_flow_api.id(55689507275144258741) ,p_prompt=>'password' ,p_placeholder=>'password' ,p_display_as=>'NATIVE_PASSWORD' ,p_cSize=>40 ,p_cMaxlength=>100 ,p_label_alignment=>'RIGHT' ,p_field_template=>wwv_flow_api.id(55689495355838258720) ,p_item_icon_css_classes=>'fa-key' ,p_item_template_options=>'#DEFAULT#' ,p_attribute_01=>'Y' ,p_attribute_02=>'Y' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(55689507765347258743) ,p_process_sequence=>10 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'Set Username Cookie' ,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2( 'apex_authentication.send_login_username_cookie (', ' p_username => lower(:P101_USERNAME) );')) ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(55689507615365258743) ,p_process_sequence=>20 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'Login' ,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2( 'apex_authentication.login(', ' p_username => :P101_USERNAME,', ' p_password => :P101_PASSWORD );')) ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(55689507947561258744) ,p_process_sequence=>30 ,p_process_point=>'AFTER_SUBMIT' ,p_process_type=>'NATIVE_SESSION_STATE' ,p_process_name=>'Clear Page(s) Cache' ,p_attribute_01=>'CLEAR_CACHE_CURRENT_PAGE' ,p_error_display_location=>'INLINE_IN_NOTIFICATION' ); wwv_flow_api.create_page_process( p_id=>wwv_flow_api.id(55689507845619258744) ,p_process_sequence=>10 ,p_process_point=>'BEFORE_HEADER' ,p_process_type=>'NATIVE_PLSQL' ,p_process_name=>'Get Username Cookie' ,p_process_sql_clob=>':P101_USERNAME := apex_authentication.get_login_username_cookie;' ); end; / prompt --application/deployment/definition begin null; end; / prompt --application/deployment/checks begin null; end; / prompt --application/deployment/buildoptions begin null; end; / prompt --application/end_environment begin wwv_flow_api.import_end(p_auto_install_sup_obj => nvl(wwv_flow_application_install.get_auto_install_sup_obj, false)); commit; end; / set verify on feedback on define on prompt ...done
    true
    c551f0c8def021b328374dd4ee2f5fe717548e16
    SQL
    MaryamGowifel/cafetrai
    /cafeteria.sql
    UTF-8
    8,490
    3.03125
    3
    []
    no_license
    -- phpMyAdmin SQL Dump -- version 4.6.6deb5 -- https://www.phpmyadmin.net/ -- -- Host: localhost:3306 -- Generation Time: Mar 13, 2020 at 02:51 AM -- Server version: 5.7.29-0ubuntu0.18.04.1 -- PHP Version: 7.2.24-0ubuntu0.18.04.3 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `cafeteria` -- -- -------------------------------------------------------- -- -- Table structure for table `category` -- CREATE TABLE `category` ( `category_id` int(11) NOT NULL, `name` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `category` -- INSERT INTO `category` (`category_id`, `name`) VALUES (1, 'hot drinks'), (2, 'cold drinks'), (3, 'dessert'); -- -------------------------------------------------------- -- -- Table structure for table `orders` -- CREATE TABLE `orders` ( `order_id` int(255) NOT NULL, `user_id` int(11) NOT NULL, `cost` varchar(255) NOT NULL, `STATUS` enum('done','processing','delivery') DEFAULT 'processing', `order_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `notes` varchar(500) DEFAULT NULL, `room_no` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `orders` -- INSERT INTO `orders` (`order_id`, `user_id`, `cost`, `STATUS`, `order_date`, `notes`, `room_no`) VALUES (1, 2, '20 LE', 'processing', '2020-03-12 19:15:28', 'skmsdds', 3), (2, 1, '43 LE', 'processing', '2020-03-12 19:17:51', 'cffccf', 1), (3, 2, '6 LE', 'processing', '2020-03-12 19:18:59', 'suger free', 5), (4, 1, '14 LE', 'processing', '2020-03-12 19:28:43', '', 1), (5, 1, '30 LE', 'processing', '2020-03-12 21:39:41', 'cffcfcf', 3), (6, 1, '16 LE', 'processing', '2020-03-12 21:40:07', 'suger free', 4), (7, 1, '16 LE', 'processing', '2020-03-12 21:41:36', 'suger free', 4), (8, 4, '30 LE', 'processing', '2020-03-12 21:43:20', 'ksxkmx', 1), (9, 4, '30 LE', 'processing', '2020-03-12 21:44:49', 'ksxkmx', 1), (10, 2, '25 LE', 'processing', '2020-03-12 21:45:04', 'kkk', 1), (11, 2, '25 LE', 'processing', '2020-03-12 21:46:12', 'kkk', 1), (12, 3, '50', 'processing', '2020-03-12 21:47:38', 'klo', 2), (13, 2, '25 LE', 'processing', '2020-03-12 21:51:11', 'kkk', 1), (14, 4, '18 LE', 'processing', '2020-03-12 21:52:13', 'kkk', 3), (15, 4, '18 LE', 'processing', '2020-03-12 21:53:00', 'kkk', 3), (16, 3, '129 LE', 'processing', '2020-03-12 22:01:58', 'suger 3 spoons', 5), (17, 4, '40 LE', 'processing', '2020-03-12 22:03:56', 'diet', 3), (18, 3, '120 LE', 'processing', '2020-03-12 22:04:56', 'ededdedee', 4), (19, 3, '91 LE', 'processing', '2020-03-12 22:11:41', 'suger free', 5), (20, 3, '91 LE', 'processing', '2020-03-12 22:12:00', 'suger free', 5), (21, 3, '91 LE', 'processing', '2020-03-12 22:12:01', 'suger free', 5), (22, 3, '66 LE', 'processing', '2020-03-12 22:12:22', 'cffcfcf', 3), (23, 1, '58 LE', 'processing', '2020-03-12 23:32:20', 'nice', 1), (24, 1, '50 LE', 'processing', '2020-03-13 01:03:17', 'new order ', 3), (25, 1, '69 LE', 'processing', '2020-03-13 01:04:55', 'new order', 5), (26, 1, '22 LE', 'processing', '2020-03-13 01:10:33', '', 1), (27, 1, '16 LE', 'processing', '2020-03-13 01:11:33', '', 3), (28, 2, '22 LE', 'processing', '2020-03-13 01:13:21', 'mmama', 1), (29, 1, '20 LE', 'processing', '2020-03-13 01:14:49', 'mmama', 1); -- -------------------------------------------------------- -- -- Table structure for table `product` -- CREATE TABLE `product` ( `product_id` int(11) NOT NULL, `product_name` varchar(255) NOT NULL, `price` varchar(20) NOT NULL, `picture` varchar(255) NOT NULL, `category_id` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `product` -- INSERT INTO `product` (`product_id`, `product_name`, `price`, `picture`, `category_id`) VALUES (12, 'tea', '6 LE', 'tea2.png', 1), (13, 'coffee', '10 LE', 'coffee.png', 1), (14, 'cola', '10 LE', 'cola.png', 2), (15, 'nescafe', '12 LE', 'nescafe.png', 1), (16, 'green tea', '8 LE', 'green-tea.png', 1), (17, 'mint', '8 LE', 'mint.png', 1), (18, 'cappuccino', '15 LE', 'cappuccino.png', 1), (19, 'pepsi', '10 LE', 'pepsi.png', 2), (20, 'milkshake', '15 LE', 'milkshake.png', 2), (21, 'limon', '15 LE', 'limon.png', 2), (22, 'strawbary', '15 LE', 'strawbary.png', 2), (23, 'croissant', '10 LE', 'croissant.png', 3), (24, 'donuts', '15 LE', 'donuts.png', 3); -- -------------------------------------------------------- -- -- Table structure for table `products_items` -- CREATE TABLE `products_items` ( `order_id` int(255) NOT NULL, `product_id` int(255) NOT NULL, `amount` int(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `products_items` -- INSERT INTO `products_items` (`order_id`, `product_id`, `amount`) VALUES (23, 12, 1), (24, 12, 1), (25, 12, 1), (27, 12, 1), (29, 12, 2), (24, 13, 2), (23, 14, 2), (27, 14, 1), (26, 15, 1), (28, 15, 1), (23, 16, 4), (25, 16, 1), (29, 16, 1), (24, 17, 3), (25, 18, 3), (25, 19, 1), (26, 19, 1), (28, 19, 1); -- -------------------------------------------------------- -- -- Table structure for table `rooms` -- CREATE TABLE `rooms` ( `id` int(11) NOT NULL, `name` varchar(50) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE `users` ( `id` int(11) NOT NULL, `name` varchar(255) NOT NULL, `username` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `password` varchar(255) NOT NULL, `room_no` int(11) NOT NULL, `ext` varchar(255) NOT NULL, `picture` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `users` -- INSERT INTO `users` (`id`, `name`, `username`, `email`, `password`, `room_no`, `ext`, `picture`) VALUES (1, 'mahmoud', 'mahmoud94', '[email protected]', '123', 2, '3231', ''), (2, 'salah', 'salah93', '[email protected]', '123', 3, '66454', ''), (3, 'mina', 'mina95', '[email protected]', '123', 1, '22345', ''), (4, 'hazem', 'hazem96', '[email protected]', '123', 4, '12234', ''); -- -- Indexes for dumped tables -- -- -- Indexes for table `category` -- ALTER TABLE `category` ADD PRIMARY KEY (`category_id`); -- -- Indexes for table `orders` -- ALTER TABLE `orders` ADD PRIMARY KEY (`order_id`), ADD KEY `orders_ibfk_1` (`user_id`); -- -- Indexes for table `product` -- ALTER TABLE `product` ADD PRIMARY KEY (`product_id`), ADD KEY `product_category_id` (`category_id`); -- -- Indexes for table `products_items` -- ALTER TABLE `products_items` ADD PRIMARY KEY (`product_id`,`order_id`), ADD KEY `order_id` (`order_id`); -- -- Indexes for table `rooms` -- ALTER TABLE `rooms` ADD PRIMARY KEY (`id`); -- -- Indexes for table `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `category` -- ALTER TABLE `category` MODIFY `category_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT for table `orders` -- ALTER TABLE `orders` MODIFY `order_id` int(255) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=30; -- -- AUTO_INCREMENT for table `product` -- ALTER TABLE `product` MODIFY `product_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25; -- -- AUTO_INCREMENT for table `rooms` -- ALTER TABLE `rooms` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; -- -- AUTO_INCREMENT for table `users` -- ALTER TABLE `users` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- Constraints for dumped tables -- -- -- Constraints for table `orders` -- ALTER TABLE `orders` ADD CONSTRAINT `orders_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`); -- -- Constraints for table `product` -- ALTER TABLE `product` ADD CONSTRAINT `product_ibfk_1` FOREIGN KEY (`category_id`) REFERENCES `category` (`category_id`); -- -- Constraints for table `products_items` -- ALTER TABLE `products_items` ADD CONSTRAINT `products_items_ibfk_1` FOREIGN KEY (`order_id`) REFERENCES `orders` (`order_id`), ADD CONSTRAINT `products_items_ibfk_2` FOREIGN KEY (`product_id`) REFERENCES `product` (`product_id`); /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
    true
    af33183c743353b52238e6871b351b9b3d7a6db4
    SQL
    MiichaelD/fundamentosBD
    /src/backupRefaccionaria.sql
    UTF-8
    7,295
    2.90625
    3
    []
    no_license
    -- MySQL dump 10.13 Distrib 5.5.11, for Win64 (x86) -- -- Host: localhost Database: refaccionaria -- ------------------------------------------------------ -- Server version 5.5.11 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; -- -- Table structure for table `articulo` -- DROP TABLE IF EXISTS `articulo`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `articulo` ( `art_id` varchar(25) NOT NULL, `nombre` varchar(25) NOT NULL, `cantidad` int(10) DEFAULT NULL, `tipo_carro` varchar(10) NOT NULL DEFAULT 'General', `precio` double DEFAULT NULL, `descripcion` varchar(300) DEFAULT NULL, `fecha_adq` date NOT NULL, `disponible` int(1) NOT NULL DEFAULT '1', PRIMARY KEY (`art_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `articulo` -- LOCK TABLES `articulo` WRITE; /*!40000 ALTER TABLE `articulo` DISABLE KEYS */; INSERT INTO `articulo` VALUES ('000Foco-2W','Foco-2W',6,'General',8.52,NULL,'2011-05-25',1),('001AceiteMotor-1L','AceiteMotor-1L',12,'General',45.95,NULL,'2011-05-25',1),('001Bujia','Bujia',29,'Chico',20,NULL,'2011-05-25',1),('001Foco-5W','Foco-5W',5,'Chico',9,NULL,'2011-05-25',1),('002Pila','Pila',15,'Chico',750,NULL,'2011-05-31',1),('002Wiper','Wiper',1,'Chico',89.56,NULL,'2011-05-25',1),('003TapaGasolina','TapaGasolina',8,'Mediano',55.8,NULL,'2011-05-25',1); /*!40000 ALTER TABLE `articulo` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `checador` -- DROP TABLE IF EXISTS `checador`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `checador` ( `emple_id` int(11) NOT NULL, `entrada` time NOT NULL, `salida` time NOT NULL, `fecha` date NOT NULL, PRIMARY KEY (`emple_id`,`fecha`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `checador` -- LOCK TABLES `checador` WRITE; /*!40000 ALTER TABLE `checador` DISABLE KEYS */; INSERT INTO `checador` VALUES (1,'08:12:05','17:03:45','2011-05-27'),(1,'14:13:57','17:01:57','2011-05-28'),(1,'08:00:00','17:50:07','2011-05-30'),(2,'12:15:16','17:27:56','2011-05-23'),(2,'02:51:27','17:33:31','2011-05-24'),(2,'02:51:27','17:33:37','2011-05-25'),(2,'02:51:27','17:33:41','2011-05-26'),(2,'12:51:27','17:33:50','2011-05-27'),(2,'12:51:27','17:33:57','2011-05-28'); /*!40000 ALTER TABLE `checador` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `empleado` -- DROP TABLE IF EXISTS `empleado`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `empleado` ( `emple_id` int(11) NOT NULL AUTO_INCREMENT, `nombre` varchar(15) DEFAULT NULL, `apellido` varchar(15) DEFAULT NULL, `calle` varchar(20) DEFAULT NULL, `numero` int(11) DEFAULT NULL, `facc` varchar(20) DEFAULT NULL, `email` varchar(40) DEFAULT NULL, `telefono` varchar(20) DEFAULT NULL, `puesto_id` tinyint(4) DEFAULT NULL, PRIMARY KEY (`emple_id`) ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `empleado` -- LOCK TABLES `empleado` WRITE; /*!40000 ALTER TABLE `empleado` DISABLE KEYS */; INSERT INTO `empleado` VALUES (1,'Hector','Garc¡a','Calle 1ra',125,'Tecolotes','[email protected]','(686)512-3456',2),(2,'Michael','Duarte','Grito de dolores',120,'Hidalgo','[email protected]','(686)232-7433',1),(3,'Manuel','Iribe','Calle 2da',215,'Barcelona','[email protected]','(686)512-2676',3),(4,'Juan Luis','Olguin','Calle 3ra',521,'Heroico','[email protected]','(686)123-2321',4),(5,'Yolanda','Roro','Calle 4ta',512,'Lejos','[email protected]','(686)741-8520',5); /*!40000 ALTER TABLE `empleado` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `puesto` -- DROP TABLE IF EXISTS `puesto`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `puesto` ( `puesto_id` tinyint(4) NOT NULL, `puesto` varchar(25) NOT NULL, `sueldo` double NOT NULL, PRIMARY KEY (`puesto_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `puesto` -- LOCK TABLES `puesto` WRITE; /*!40000 ALTER TABLE `puesto` DISABLE KEYS */; INSERT INTO `puesto` VALUES (1,'jefe',88888.88),(2,'cajero',1250.5),(3,'chalan',150.5),(4,'conserje',5550.5),(5,'secretaria',15550.5); /*!40000 ALTER TABLE `puesto` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `vent_art` -- DROP TABLE IF EXISTS `vent_art`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `vent_art` ( `venta_id` int(11) NOT NULL, `art_id` varchar(25) NOT NULL DEFAULT '', `cant` tinyint(4) DEFAULT '1', PRIMARY KEY (`art_id`,`venta_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `vent_art` -- LOCK TABLES `vent_art` WRITE; /*!40000 ALTER TABLE `vent_art` DISABLE KEYS */; INSERT INTO `vent_art` VALUES (2,'000Foco-2W',1),(1,'001Bujia',10),(2,'001Foco-5W',1),(2,'003TapaGasolina',1); /*!40000 ALTER TABLE `vent_art` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `venta` -- DROP TABLE IF EXISTS `venta`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `venta` ( `venta_id` int(11) NOT NULL AUTO_INCREMENT, `total` double NOT NULL, `fecha_venta` date NOT NULL, `emple_id` int(8) NOT NULL DEFAULT '1', PRIMARY KEY (`venta_id`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `venta` -- LOCK TABLES `venta` WRITE; /*!40000 ALTER TABLE `venta` DISABLE KEYS */; INSERT INTO `venta` VALUES (1,200,'2011-05-26',1),(2,73.32,'2011-05-27',2); /*!40000 ALTER TABLE `venta` ENABLE KEYS */; UNLOCK TABLES; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; -- Dump completed on 2011-06-04 20:10:13
    true
    d058609a5c1a5b28f1c726ca7ffbc255386edf23
    SQL
    alvirarhiza/Tugas-Keamanan-Perangkat-Lunak-2
    /kpl (2).sql
    UTF-8
    2,197
    3.046875
    3
    []
    no_license
    -- phpMyAdmin SQL Dump -- version 5.0.2 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Waktu pembuatan: 21 Sep 2021 pada 07.03 -- Versi server: 10.4.13-MariaDB -- Versi PHP: 7.4.8 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `php` -- -- -------------------------------------------------------- -- -- Struktur dari tabel `users` -- CREATE TABLE `users` ( `id_user` int(30) NOT NULL, `username` varchar(30) NOT NULL, `nim` int(50) DEFAULT NULL, `nama` varchar(50) DEFAULT NULL, `email` varchar(30) DEFAULT NULL, `jurusan` varchar(30) DEFAULT NULL, `jenis_kelamin` varchar(30) DEFAULT NULL, `level` int(11) DEFAULT NULL, `password` varchar(200) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data untuk tabel `users` -- INSERT INTO `users` (`id_user`, `username`, `nim`, `nama`, `email`, `jurusan`, `jenis_kelamin`, `level`, `password`) VALUES (1, 'tania', 190513026, 'Tania Nastika Putri Mosha', '[email protected]', 'Teknik Informatika', 'Perempuan', 1, '7488e331b8b64e5794da3fa4eb10ad5d'), (2, 'lula', 190756098, 'Lula Lafah', '[email protected]', 'Teknik SipilL', 'Perempuan', 2, '80ec08504af83331911f5882349af59d'), (3, 'wuni', 190513010, 'Nur Wulan Cahyani', '[email protected]', 'Teknik Informatika', 'Perempuan', 1, '7488e331b8b64e5794da3fa4eb10ad5d'), (4, 'icha', 190513007, 'Alvira Rhiza Ridwani', '[email protected]', 'Teknik Informatika', 'Perempuan', 1, '7488e331b8b64e5794da3fa4eb10ad5d'); -- -- Indexes for dumped tables -- -- -- Indeks untuk tabel `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id_user`), ADD KEY `username` (`username`); -- -- AUTO_INCREMENT untuk tabel yang dibuang -- -- -- AUTO_INCREMENT untuk tabel `users` -- ALTER TABLE `users` MODIFY `id_user` int(30) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=51; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
    true
    1e0d603ed240e3e375cbc75bd3ec1622f6930126
    SQL
    galeb/galeb
    /api/src/main/resources/db/migration/V2__rolegroup_roles_on_delete.sql
    UTF-8
    223
    2.765625
    3
    [ "Apache-2.0" ]
    permissive
    ALTER TABLE `rolegroup_roles` DROP FOREIGN KEY `FK_rolegroup_role_id`; ALTER TABLE `rolegroup_roles` ADD CONSTRAINT `FK_rolegroup_role_id` FOREIGN KEY (`rolegroup_id`) REFERENCES `rolegroup` (`id`) ON DELETE CASCADE;
    true
    80090b1a1764a853426330bd77754ce6fb019c25
    SQL
    KristelDi/DB
    /script.sql
    UTF-8
    5,511
    3.828125
    4
    []
    no_license
    use forum; DROP TABLE IF EXISTS Followers; DROP TABLE IF EXISTS Subscribers; DROP TABLE IF EXISTS Posts; DROP TABLE IF EXISTS Threads; DROP TABLE IF EXISTS Forums; DROP TABLE IF EXISTS Users; CREATE TABLE Users ( id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY, email VARCHAR(50) NOT NULL, username VARCHAR(50), about TEXT, name VARCHAR(50), isAnonymous BOOLEAN NOT NULL DEFAULT 0, UNIQUE KEY(email) ) DEFAULT CHARSET=utf8; CREATE TABLE Forums ( id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY, name VARCHAR(40) UNIQUE KEY, short_name VARCHAR(40) UNIQUE KEY, user VARCHAR(50) NOT NULL, FOREIGN KEY (user) REFERENCES Users(email) ON DELETE CASCADE ) DEFAULT CHARSET=utf8; CREATE TABLE Threads ( id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY, forum VARCHAR(40) UNIQUE KEY, user VARCHAR(50) NOT NULL, title VARCHAR(50) NOT NULL, slug VARCHAR(50) NOT NULL, message TEXT NOT NULL, date TIME NOT NULL DEFAULT CURRENT_TIME, likes INT NOT NULL DEFAULT 0, dislikes INT NOT NULL DEFAULT 0, isClosed BOOLEAN NOT NULL DEFAULT 0, isDeleted BOOLEAN NOT NULL DEFAULT 0, FOREIGN KEY (user) REFERENCES Users(email) ON DELETE CASCADE, FOREIGN KEY (forum) REFERENCES Forums(short_name) ON DELETE CASCADE ) DEFAULT CHARSET=utf8; CREATE TABLE Posts ( id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY, user VARCHAR(50) NOT NULL, message TEXT NOT NULL, forum VARCHAR(40), thread_id INT UNSIGNED NOT NULL, parent INT NULL DEFAULT NULL, date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, likes INT NOT NULL DEFAULT 0, dislikes INT NOT NULL DEFAULT 0, isApproved BOOLEAN NOT NULL DEFAULT 0, isHighlighted BOOLEAN NOT NULL DEFAULT 0, isEdited BOOLEAN NOT NULL DEFAULT 0, isSpam BOOLEAN NOT NULL DEFAULT 0, isDeleted BOOLEAN NOT NULL DEFAULT 0, FOREIGN KEY (user) REFERENCES Users(email) ON DELETE CASCADE, FOREIGN KEY (thread_id) REFERENCES Threads(id) ON DELETE CASCADE, FOREIGN KEY fo (forum) REFERENCES Forums(short_name) ON DELETE CASCADE ) DEFAULT CHARSET=utf8; CREATE TABLE Followers ( follower_id INT UNSIGNED NOT NULL, followee_id INT UNSIGNED NOT NULL, UNIQUE (followee_id, follower_id), FOREIGN KEY (follower_id) REFERENCES Users(id), FOREIGN KEY (followee_id) REFERENCES Users(id) ) DEFAULT CHARSET=utf8; CREATE TABLE Subscribers ( user VARCHAR(50) NOT NULL, thread_id INT UNSIGNED NOT NULL, UNIQUE (user, thread_id), FOREIGN KEY (user) REFERENCES Users(email), FOREIGN KEY (thread_id) REFERENCES Threads(id) ) DEFAULT CHARSET=utf8; !!!!!!!!!!!!!!!!!!!! use forum; DROP TABLE IF EXISTS Followers; DROP TABLE IF EXISTS Subscribers; DROP TABLE IF EXISTS Posts; DROP TABLE IF EXISTS Threads; DROP TABLE IF EXISTS Forums; DROP TABLE IF EXISTS Users; CREATE TABLE Users ( id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY, email VARCHAR(50) NOT NULL, username VARCHAR(50), about TEXT, name VARCHAR(50), isAnonymous BOOLEAN NOT NULL DEFAULT 0, UNIQUE KEY(email) ) DEFAULT CHARSET=utf8; CREATE TABLE Forums ( id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY, name VARCHAR(40) UNIQUE KEY, short_name VARCHAR(40) UNIQUE KEY, user VARCHAR(50) NOT NULL, FOREIGN KEY (user) REFERENCES Users(email) ON DELETE CASCADE ON UPDATE CASCADE ) DEFAULT CHARSET=utf8; CREATE TABLE Threads ( id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY, forum VARCHAR(40) UNIQUE KEY, user VARCHAR(50) NOT NULL, title VARCHAR(50) NOT NULL, slug VARCHAR(50) NOT NULL, message TEXT NOT NULL, date TIMESTAMP NOT NULL, likes INT NOT NULL DEFAULT 0, dislikes INT NOT NULL DEFAULT 0, isClosed BOOLEAN NOT NULL DEFAULT 0, isDeleted BOOLEAN NOT NULL DEFAULT 0, FOREIGN KEY (user) REFERENCES Users(email) ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY (forum) REFERENCES Forums(short_name) ON DELETE CASCADE ON UPDATE CASCADE ) DEFAULT CHARSET=utf8; CREATE TABLE Posts ( id INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY, user VARCHAR(50) NOT NULL, message TEXT NOT NULL, forum VARCHAR(40), thread_id INT UNSIGNED NOT NULL, parent INT NULL DEFAULT NULL, date TIMESTAMP NOT NULL, likes INT NOT NULL DEFAULT 0, dislikes INT NOT NULL DEFAULT 0, isApproved BOOLEAN NOT NULL DEFAULT 0, isHighlighted BOOLEAN NOT NULL DEFAULT 0, isEdited BOOLEAN NOT NULL DEFAULT 0, isSpam BOOLEAN NOT NULL DEFAULT 0, isDeleted BOOLEAN NOT NULL DEFAULT 0, FOREIGN KEY (user) REFERENCES Users(email) ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY (thread_id) REFERENCES Threads(id) ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY fo (forum) REFERENCES Forums(short_name) ON DELETE CASCADE ON UPDATE CASCADE ) DEFAULT CHARSET=utf8; CREATE TABLE Followers ( follower_id INT UNSIGNED NOT NULL, followee_id INT UNSIGNED NOT NULL, UNIQUE (followee_id, follower_id), FOREIGN KEY (follower_id) REFERENCES Users(id), FOREIGN KEY (followee_id) REFERENCES Users(id) ) DEFAULT CHARSET=utf8; CREATE TABLE Subscribers ( user VARCHAR(50) NOT NULL, thread_id INT UNSIGNED NOT NULL, UNIQUE (user, thread_id), FOREIGN KEY (user) REFERENCES Users(email) ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY (thread_id) REFERENCES Threads(id) ) DEFAULT CHARSET=utf8; session
    true
    145a9a01f82b07d532507f9746ddab972948000e
    SQL
    leduardovb/Modelagem-SQL
    /Trabalho de Modelagem Fazenda - FÍSICA.sql
    UTF-8
    1,869
    3.59375
    4
    []
    no_license
    CREATE DATABASE fazenda; USE fazenda; CREATE TABLE cultura ( culturaId int not null auto_increment, nome varchar(40) not null, primary key (culturaId) ); CREATE TABLE praga ( pragaId int not null auto_increment, nome varchar (40) not null, primary key (pragaId) ); CREATE TABLE agrotoxico ( agrotoxicoId int not null auto_increment, nome varchar (45) not null, descricao varchar(60) not null, und_med char(3) not null, quant_disp decimal (10,2), primary key (agrotoxicoId) ); CREATE TABLE funcionario ( funcId int not null auto_increment, nome varchar (40) not null, primary key (funcId) ); CREATE TABLE areaPlantio ( areaId int not null auto_increment, funcId int not null, culturaId int, tamanho varchar (10) not null, dataInicio date, dataMax date, primary key (areaId), foreign key (funcId) references funcionario (funcId), foreign key (culturaId) references cultura (culturaId) ); CREATE TABLE pragaAgro ( pragaId int not null, agrotoxicoId int not null, primary key (pragaId , agrotoxicoId), foreign key (pragaId) references praga (pragaId), foreign key (agrotoxicoId) references agrotoxico (agrotoxicoId) ); CREATE TABLE estacao ( estacaoId int not null auto_increment, nome varchar(20) not null, primary key (estacaoId) ); CREATE TABLE pragaCultura ( pragaId int not null, culturaId int not null, primary key (pragaId , culturaId), foreign key (pragaId) references praga (pragaId), foreign key (culturaId) references cultura (culturaId) ); CREATE TABLE pragaCulturaFrequencia ( estacaoId int not null, pragaId int not null, culturaId int not null, primary key (estacaoId , pragaId , culturaId), foreign key (estacaoId) references estacao (estacaoId), foreign key (pragaId) references pragaCultura (pragaId), foreign key (culturaId) references pragaCultura (culturaId) );
    true
    9f9f342714488c1a8ee98120545d615a4f2df301
    SQL
    jonamuen/sql-reduce
    /test/sqlsmith/sqlite/966.sql
    UTF-8
    289
    2.546875
    3
    [ "MIT" ]
    permissive
    select ref_0.name as c0, ref_0.id as c1, ref_0.id as c2, case when ref_0.id is not NULL then ref_0.name else ref_0.name end as c3, ref_0.id as c4, ref_0.id as c5, ref_0.name as c6, ref_0.name as c7 from main.t0 as ref_0 where ref_0.name is NULL limit 130;
    true
    e4cecec4b8159d16788fcfc19e117d002823398a
    SQL
    HYBG/DX
    /live/backstage/dx.sql
    UTF-8
    3,655
    3.609375
    4
    []
    no_license
    CREATE TABLE `dx`.`dx_global` ( `name` varchar(32) NOT NULL COMMENT '变量名称', `value` varchar(32) NOT NULL COMMENT '变量值', PRIMARY KEY (`name`)) ENGINE = InnoDB DEFAULT CHARACTER SET = utf8; CREATE TABLE `dx`.`dx_code` ( `code` varchar(6) NOT NULL COMMENT '股票代码', `name` varchar(20) NOT NULL COMMENT '股票名称', `status` int(1) NOT NULL COMMENT '状态0:初始化,1:正常,2:停牌,3:注销', PRIMARY KEY (`code`), INDEX `st` (`status` ASC)) ENGINE = InnoDB DEFAULT CHARACTER SET = utf8; CREATE TABLE `dx`.`dx_user` ( `userid` varchar(32) NOT NULL COMMENT '用户ID全局唯一', `created` TIMESTAMP default now() COMMENT '开户时间', `cash` double NOT NULL DEFAULT '0', `value` double NOT NULL DEFAULT '0', PRIMARY KEY (`userid`)) ENGINE = InnoDB DEFAULT CHARACTER SET = utf8; CREATE TABLE `dx`.`dx_account_record` ( `seqid` VARCHAR(20) NOT NULL, `userid` VARCHAR(32) NOT NULL, `created` TIMESTAMP default now(), `amount` double NOT NULL, PRIMARY KEY (`seqid`), INDEX `ud` (`userid` ASC)) ENGINE = InnoDB DEFAULT CHARACTER SET = utf8; CREATE TABLE `dx`.`dx_order_put` ( `orderid` varchar(20) NOT NULL COMMENT '订单ID', `userid` VARCHAR(32) NOT NULL COMMENT '用户ID', `created` TIMESTAMP default now(), `win` double COMMENT '止盈价格', `lose` double COMMENT '止损价格', `code` varchar(6) NOT NULL COMMENT '股票代码', `amount` double NOT NULL COMMENT '股票数量', `putprice` double NOT NULL COMMENT '开仓价格', `freeze` double NOT NULL COMMENT '冻结资金', PRIMARY KEY (`orderid`), INDEX `ud` (`userid` ASC)) ENGINE = InnoDB DEFAULT CHARACTER SET = utf8; CREATE TABLE `dx`.`dx_order_cancel` ( `orderid` varchar(20) NOT NULL COMMENT '订单ID', `userid` VARCHAR(32) NOT NULL COMMENT '用户ID', `puttime` TIMESTAMP NOT NULL, `created` TIMESTAMP default now(), `tag` int(1) DEFAULT '0' COMMENT '撤单标识0:主动撤单,1:系统撤单', `code` varchar(6) NOT NULL COMMENT '股票代码', `amount` double NOT NULL COMMENT '股票数量', `putprice` double NOT NULL COMMENT '开仓价格', PRIMARY KEY (`orderid`), INDEX `ud` (`userid` ASC)) ENGINE = InnoDB DEFAULT CHARACTER SET = utf8; CREATE TABLE `dx`.`dx_order_open` ( `orderid` varchar(20) NOT NULL COMMENT '订单ID', `userid` VARCHAR(32) NOT NULL COMMENT '用户ID', `puttime` TIMESTAMP, `created` TIMESTAMP default now(), `win` double COMMENT '止盈价格', `lose` double COMMENT '止损价格', `code` varchar(6) NOT NULL COMMENT '股票代码', `amount` double NOT NULL COMMENT '股票数量', `openprice` double NOT NULL COMMENT '开仓价格', `benefit` double NOT NULL DEFAULT '0' COMMENT '浮动盈亏,未计算手续费', `surviving` int(4) NOT NULL DEFAULT '0' COMMENT '持有天数', PRIMARY KEY (`orderid`), INDEX `ud` (`userid` ASC), INDEX `bf` (`benefit` ASC)) ENGINE = InnoDB DEFAULT CHARACTER SET = utf8; CREATE TABLE `dx`.`dx_order_close` ( `orderid` varchar(20) NOT NULL COMMENT '订单ID', `userid` VARCHAR(32) NOT NULL COMMENT '用户ID', `opentime` TIMESTAMP NOT NULL, `created` TIMESTAMP default now(), `code` varchar(6) NOT NULL COMMENT '股票代码', `openamount` double NOT NULL COMMENT '开仓股票数量', `openprice` double NOT NULL COMMENT '开仓价格', `closeamount` double NOT NULL COMMENT '平仓股票数量', `closeprice` double NOT NULL COMMENT '平仓价格', `commission` double NOT NULL COMMENT '手续费', `earn` double NOT NULL COMMENT '净收益', PRIMARY KEY (`orderid`), INDEX `ud` (`userid` ASC)) ENGINE = InnoDB DEFAULT CHARACTER SET = utf8;
    true
    3eb4a98db0755671806f8b7eab9b7d5f99d982ea
    SQL
    engwesterberg/piproject
    /sql/ddl.sql
    UTF-8
    8,101
    4.5
    4
    []
    no_license
    DROP DATABASE IF EXISTS internetbanken; CREATE DATABASE internetbanken; USE internetbanken; SHOW GRANTS; DROP USER 'user1'@'localhost'; CREATE USER 'user1'@'localhost' IDENTIFIED BY 'pass'; GRANT ALL PRIVILEGES ON * . * TO 'user1'@'localhost'; -- ----------------------------------------- tabeller --------------------------------------------- DROP TABLE IF EXISTS Account; CREATE TABLE Account ( accountNumber INT PRIMARY KEY AUTO_INCREMENT, balance INT ) AUTO_INCREMENT=1000; DROP TABLE IF EXISTS AccountHolder; CREATE TABLE AccountHolder ( userId INT PRIMARY KEY AUTO_INCREMENT, pincode INT(4), name CHAR(20), birth DATE, street VARCHAR(50), city VARCHAR(50) ) AUTO_INCREMENT=100000; DROP TABLE IF EXISTS AccountHolder_Account; CREATE TABLE AccountHolder_Account ( id INT PRIMARY KEY AUTO_INCREMENT, accountNumber INT, userId INT, FOREIGN KEY (accountNumber) REFERENCES Account(accountNumber), FOREIGN KEY (userId) REFERENCES AccountHolder(userId) ); show tables; use skolan; select * from logg2; DROP TABLE IF EXISTS Interest; CREATE TABLE Interest ( id INT PRIMARY KEY AUTO_INCREMENT, accountNumber INT(6), interest DECIMAL (20, 5), dateOfCalculation DATE, FOREIGN KEY (accountNumber) REFERENCES Account(accountNumber) ); DROP TABLE IF EXISTS Log; CREATE TABLE Log ( accountNumber INT(6), currentBalance DECIMAL (20, 5), amountChanged DECIMAL (20, 5), time DATETIME ); -- välj ut alla konton och visa användare DROP VIEW IF EXISTS accountsAndUserNames; CREATE VIEW accountsAndUserNames AS SELECT aha.accountNumber, a.balance, GROUP_CONCAT((select name from AccountHolder AS ah where ah.userId = aha.userId )) AS userId FROM AccountHolder_Account AS aha, Account AS a where a.accountNumber = aha.accountNumber GROUP BY accountNumber ; select * from accountsAndUserNames; -- -------------------------------------------------------------------------------- lagrade procedurer -------------------------------------------------------------------------------- DROP PROCEDURE IF EXISTS createAccountHolder; DELIMITER // CREATE PROCEDURE createAccountHolder ( aName CHAR(20), aPincode INT(4), aBirth DATE, aStreet VARCHAR(50), aCity VARCHAR(50) ) INSERT INTO AccountHolder (name, pincode, birth, street, city) VALUES (aName, aPincode, aBirth, aStreet, aCity); // DELIMITER ; DROP PROCEDURE IF EXISTS createAccount; DELIMITER // CREATE PROCEDURE createAccount ( balance INT ) INSERT INTO Account (balance) VALUES (balance); // DELIMITER ; DROP PROCEDURE IF EXISTS connectAccount; DELIMITER // CREATE PROCEDURE connectAccount ( aAccountNumber INT(4), aUserId INT(6) ) BEGIN INSERT INTO AccountHolder_Account (accountNumber, userId) VALUES (aAccountNumber, aUserId); END // DELIMITER ; DROP PROCEDURE IF EXISTS showAccountsOfUser; -- denna DELIMITER // CREATE PROCEDURE showAccountsOfUser ( aUserId INT(6) ) select distinct aha.accountNumber, a.balance, v.userId as owners from accountsAndUserNames AS v JOIN AccountHolder_Account AS aha ON v.accountNumber = aha.accountNumber JOIN Account AS a ON a.accountNumber = aha.accountNumber WHERE aha.accountNumber IN (select aha.accountNumber WHERE aha.userId = aUserId ) // DELIMITER ; CALL showAccountsOfUser(100001); DROP PROCEDURE IF EXISTS showUsersAndAccounts; DELIMITER // CREATE PROCEDURE showUsersAndAccounts () SELECT aha.userId, GROUP_CONCAT(CONCAT(aha.accountNumber)) AS Konton, ah.name, ah.pincode, ah.birth, ah.street, ah.city FROM AccountHolder_Account AS aha JOIN AccountHolder AS ah ON ah.userId = aha.userId GROUP BY userId ; // DELIMITER ; CALL showUsersAndAccounts(); -- test ---------- SELECT aha.userId, GROUP_CONCAT(CONCAT(aha.accountNumber)) AS Konton, ah.name, ah.pincode, ah.birth, ah.street, ah.city FROM AccountHolder_Account AS aha JOIN AccountHolder AS ah ON ah.userId = aha.userId GROUP BY userId ; DROP PROCEDURE IF EXISTS calculateInterest; DELIMITER // CREATE PROCEDURE calculateInterest ( interestRate DECIMAL(3,2), dateOfCalculation DATE ) INSERT INTO Interest (accountNumber, interest, dateOfCalculation) SELECT accountNumber, interestRate * balance / 365, dateOfCalculation FROM Account; // DELIMITER ; CALL calculateInterest(0.01, '2017-10-15'); DROP PROCEDURE IF EXISTS showAccountsAndInterest; DELIMITER // CREATE PROCEDURE showAccountsAndInterest() SELECT accountNumber AS accountNumber, SUM(interest) AS interest FROM Interest GROUP BY accountNumber; // DELIMITER ; call showAccountsAndInterest(); DROP PROCEDURE IF EXISTS moveMoney; DELIMITER // CREATE PROCEDURE moveMoney ( fromAccountNumber INT(4), toAccountNumber INT(4), amount DECIMAL ) BEGIN UPDATE Account SET balance = balance - amount*1.03 WHERE accountNumber = fromAccountNumber; UPDATE Account SET balance = balance + amount WHERE accountNumber = toAccountNumber; UPDATE Account SET balance = balance + amount*0.03 WHERE accountNumber = 1000; END // DELIMITER ; CALL moveMoney(1001, 1002, 50); DROP PROCEDURE IF EXISTS showInterestDay; DELIMITER // CREATE PROCEDURE showInterestDay ( aDay DATE ) BEGIN SELECT * FROM Interest WHERE dateOfCalculation = aDay; END // DELIMITER ; call showInterestDay('1992-01-16'); DROP PROCEDURE IF EXISTS showAccountInterest; DELIMITER // CREATE PROCEDURE showAccountInterest ( aAccountNumber INT(4) ) BEGIN SELECT accountNumber, SUM(interest) AS interest FROM Interest WHERE accountNumber = aAccountNumber GROUP BY AccountNumber; END // DELIMITER ; CALL showAccountInterest(1000); DROP PROCEDURE IF EXISTS showAccumulatedInterestDay; DELIMITER // CREATE PROCEDURE showAccumulatedInterestDay ( day DATE ) BEGIN SELECT dateOfCalculation, SUM(interest) FROM Interest WHERE dateOfCalculation = day GROUP BY dateOfCalculation; END // DELIMITER ; DROP PROCEDURE IF EXISTS showAccumulatedInterestYear; DELIMITER // CREATE PROCEDURE showAccumulatedInterestYear ( aYear YEAR ) BEGIN SELECT distinct year(dateOfCalculation) AS year, SUM(interest) as interestYear FROM Interest WHERE YEAR(dateOfCalculation) = aYear GROUP BY year; END // DELIMITER ; call showAccumulatedInterestYear(2008); DROP PROCEDURE IF EXISTS showUserInterest; DELIMITER // CREATE PROCEDURE showUserInterest ( aUserId INT(6) ) BEGIN SELECT aha.accountNumber, SUM(interest) AS interest from AccountHolder_Account AS aha JOIN Interest AS i ON i.accountNumber = aha.accountNumber WHERE userId = aUserId GROUP BY accountNumber ; END // DELIMITER ; call showUserinterest(100000); -- ----------------------------------------- funktioner --------------------------------------------- DELIMITER // DROP FUNCTION IF EXISTS swishMoney // CREATE FUNCTION swishMoney( aUserId INT(6), aPincode INT(4), fromAccountNumber INT(4), amount DECIMAL, toAccountNumber INT(4) ) RETURNS BOOL BEGIN IF aPincode = (SELECT pincode FROM AccountHolder WHERE userId = aUserId) AND (SELECT balance from Account WHERE accountNumber = fromAccountNumber) > amount THEN UPDATE Account SET balance = balance - amount*1.02 WHERE accountNumber = fromAccountNumber; UPDATE Account SET balance = balance + amount WHERE accountNumber = toAccountNumber; UPDATE Account SET balance = balance + amount*0.02 WHERE accountNumber = 1000; RETURN true; ELSE RETURN false; END IF; END // DELIMITER ; use skolan; select * from kurstillfalle2; -- ----------------------------------------- triggers --------------------------------------------- DROP TRIGGER IF EXISTS LogBalanceUpdate; CREATE TRIGGER LogBalanceUpdate AFTER UPDATE ON Account FOR EACH ROW INSERT INTO Log (`accountNumber`,`currentBalance`,`amountChanged`,`time`) VALUES (OLD.accountNumber, NEW.balance, NEW.balance - OLD.balance, CURTIME()); select * from interest; SELECT * FROM Account WHERE accountNumber = 1000; select * from log where accountNumber = 1003;
    true
    2073373f786335d3c9810d37cbda92278d55ff7f
    SQL
    ManojKumarPatnaik/citytransportsystem
    /cts-datasource/src/main/resources/sql/m_view_static_stops.sql
    UTF-8
    697
    3.984375
    4
    []
    no_license
    CREATE MATERIALIZED VIEW IF NOT EXISTS static_stops AS SELECT route_short_name, stop_name, stop_lat, stop_lon, route_color, route_text_color FROM trips t INNER JOIN calendar_dates USING(service_id) INNER JOIN routes USING(route_id) INNER JOIN ( select trip_id, stop_sequence, stop_name, departure_time, stop_lat, stop_lon FROM stop_times INNER JOIN stops USING(stop_id) ) s USING(trip_id) GROUP BY route_short_name, stop_sequence, stop_name, stop_lat, stop_lon, route_color, route_text_color ORDER BY route_short_name; CREATE INDEX IF NOT EXISTS lat_lng_idx ON static_stops (stop_lat, stop_lon); CREATE INDEX IF NOT EXISTS stop_names ON static_stops (stop_name)^;
    true
    047fbf1792702cadd5e22ca0477f58461fce3d1e
    SQL
    Perezc1143/MVP
    /seed.sql
    UTF-8
    434
    2.671875
    3
    []
    no_license
    DROP DATABASE IF EXISTS dealership; CREATE DATABASE dealership; INSERT INTO customer (name, phone_number, address, new_customer) VALUES ('Rick James', '951-258-6325', '2504 N Alxander Ave', TRUE), ('Mike Jones', '281-384-8004', '234 Houston Dr', TRUE); INSERT INTO vehicle (make, model, year, mileage, under_warranty,customer_id) VALUES ('Honda', 'Civic', 2020, 12000, TRUE,1), ('Honda', 'Accord', 2015, 57000, FALSE,2);
    true
    c596d365264fa8c83e684bb803edcd58ca04fdc3
    SQL
    Ubagaly/les_database
    /lessons5/Задание 3 к 6 уроку.sql
    UTF-8
    745
    3.828125
    4
    []
    no_license
    -- 3. Подсчитать общее количество лайков, которые получили 10 самых молодых пользователей. -- 3.1 получаем посты самых молодых пользователей select id as post_id from posts where user_id in ( SELECT * FROM ( SELECT id as user_id FROM users ORDER by birthday DESC LIMIT 10 ) as user_id ); -- 3.2 считаем количество лайков пост самых молодых пользователей SELECT count(*) as total FROM likes_posts WHERE post_id in ( select id as post_id from posts where user_id in ( SELECT * FROM ( SELECT id as user_id FROM users ORDER by birthday DESC LIMIT 10 ) as user_id ) );
    true
    284545d3cea7befd8838dc54e78741fc3ef13560
    SQL
    lcliucheng/springboot-micro-service-temp
    /lc-micro-service/lc-services/lc-service-xx-admin/src/main/resources/sql/sql.sql
    UTF-8
    1,361
    3.046875
    3
    []
    no_license
    CREATE TABLE `cms_dict` ( `id` BIGINT(20) UNSIGNED NOT NULL COMMENT '主键', `code` VARCHAR(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '代码', `value` VARCHAR(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '值', `name` VARCHAR(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '名称', `desc` VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '描述', `sort_no` INT(11) DEFAULT NULL COMMENT '排序号', `is_disabled` TINYINT(3) UNSIGNED DEFAULT '0' COMMENT '是否禁用 0:否 1:是', `is_deleted` TINYINT(3) UNSIGNED DEFAULT '0' COMMENT '是否删除 0:否 1:是', `ext` json DEFAULT NULL COMMENT '拓展字段', `created_by` VARCHAR(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建人', `created_at` DATETIME DEFAULT NULL COMMENT '创建时间', `last_modified_by` VARCHAR(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '修改人', `last_modified_at` DATETIME DEFAULT NULL COMMENT '修改时间', `version` BIGINT(20) UNSIGNED DEFAULT '0' COMMENT '版本号', PRIMARY KEY (`id`), KEY `idx_code_sn` (`code`,`sort_no`), KEY `idx_name` (`name`) ) ENGINE=INNODB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='数据字典';
    true
    515dc124806bc9376a4887d2f8f89bb1cfa2251b
    SQL
    devzer01/complaints
    /cmp.sql
    UTF-8
    5,314
    3.0625
    3
    []
    no_license
    -- MySQL dump 10.13 Distrib 5.1.57, for apple-darwin10.0.0 (i386) -- -- Host: localhost Database: complaintsbbb -- ------------------------------------------------------ -- Server version 5.1.57 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; -- -- Table structure for table `business` -- DROP TABLE IF EXISTS `business`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `business` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(45) DEFAULT NULL, `location` varchar(45) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `business` -- LOCK TABLES `business` WRITE; /*!40000 ALTER TABLE `business` DISABLE KEYS */; INSERT INTO `business` VALUES (1,'Landlord','Vancouver, BC'),(2,'Landlord','Vancouver, BC'),(3,'Landlord','Vancouver, BC'),(4,'Landlord','Vancouver, BC'); /*!40000 ALTER TABLE `business` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `complaint` -- DROP TABLE IF EXISTS `complaint`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `complaint` ( `id` int(11) NOT NULL AUTO_INCREMENT, `business_id` int(11) DEFAULT NULL, `author_user_id` int(11) DEFAULT NULL, `created_date` datetime DEFAULT NULL, `posted` tinyint(4) DEFAULT NULL, `title` varchar(200) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `complaint` -- LOCK TABLES `complaint` WRITE; /*!40000 ALTER TABLE `complaint` DISABLE KEYS */; INSERT INTO `complaint` VALUES (1,1,0,NULL,1,'Sitting in the balcony happens to be illegal'),(2,2,1,NULL,1,'Sitting in the balcony happens to be illegal'),(3,3,2,'2011-09-09 14:24:19',1,'Sitting in the balcony happens to be illegal'),(4,4,3,'2011-09-09 14:25:47',1,'Sitting in the balcony happens to be illegal'); /*!40000 ALTER TABLE `complaint` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `complaint_text` -- DROP TABLE IF EXISTS `complaint_text`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `complaint_text` ( `id` int(11) NOT NULL AUTO_INCREMENT, `complaint_id` int(11) DEFAULT NULL, `comment_type` tinyint(4) DEFAULT NULL, `comment` mediumtext, PRIMARY KEY (`id`), KEY `complaint` (`complaint_id`,`comment_type`) ) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `complaint_text` -- LOCK TABLES `complaint_text` WRITE; /*!40000 ALTER TABLE `complaint_text` DISABLE KEYS */; INSERT INTO `complaint_text` VALUES (1,2,1,'My land loard is affraid of my death caused by the balcony falling apart, therefore wishes that i do not sit outside in the balcony but be stuck inside a room with hardly any ventilation. what gives! '),(2,3,1,'My land loard is affraid of my death caused by the balcony falling apart, therefore wishes that i do not sit outside in the balcony but be stuck inside a room with hardly any ventilation. what gives! '),(3,4,1,'My land loard is affraid of my death caused by the balcony falling apart, therefore wishes that i do not sit outside in the balcony but be stuck inside a room with hardly any ventilation. what gives! '); /*!40000 ALTER TABLE `complaint_text` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `user` -- DROP TABLE IF EXISTS `user`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `user` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(45) DEFAULT NULL, `email` varchar(45) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `user` -- LOCK TABLES `user` WRITE; /*!40000 ALTER TABLE `user` DISABLE KEYS */; INSERT INTO `user` VALUES (1,'Nick Smith','[email protected]'),(2,'Nick Smith','[email protected]'),(3,'Nick Smith','[email protected]'); /*!40000 ALTER TABLE `user` ENABLE KEYS */; UNLOCK TABLES; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; -- Dump completed on 2011-09-12 18:37:02
    true
    ee8f0da792e3acad02c8fe724ba4b08008527cd0
    SQL
    celiaxie816/MOOC
    /Relational Database and SQL Programming/HW2_DB.sql
    UTF-8
    2,910
    4.125
    4
    []
    no_license
    #db_hw2 is the database name for table Region, Product and Sales_Totals. INSERT INTO db_hw2.Region (region_id, region_name, super_region_id) VALUES (101, 'North America', null), (102, 'USA', 101), (103, 'Canada', 101), (104, 'USA-Northeast', 102), (105, 'USA-Southeast', 102), (106, 'USA-West', 102), (107, 'Mexico', 101); select * from db_hw2.Region; INSERT INTO db_hw2.Product (product_id, product_name) VALUES (1256, 'Gear-Large'), (4437, 'Gear-Small'), (5567, 'Crankshaft'), (7684, 'Sprocket'); select * from db_hw2.Product; INSERT INTO db_hw2.Sales_Totals (product_id, region_id, year, month, sales) VALUES (1256, 104, 2020, 1, 1000), (4437, 105, 2020, 2, 1200), (7684, 106, 2020, 3, 800), (1256, 103, 2020, 4, 2200), (4437, 107, 2020, 5, 1700), (7684, 104, 2020, 6, 750), (1256, 104, 2020, 7, 1100), (4437, 105, 2020, 8, 1050), (7684, 106, 2020, 9, 600), (1256, 103, 2020, 10, 1900), (4437, 107, 2020, 11, 1500), (7684, 104, 2020, 12, 900); select * from db_hw2.Sales_Totals; #Q1 select * ,case when month between 1 and 3 then 1 when month between 3 and 6 then 2 when month between 6 and 9 then 3 when month between 9 and 12 then 4 end as quarter from db_hw2.sales_Totals order by month; #Q2 select sum(case product_id when 1256 then sales else 0 end) as tot_sales_large_gears, sum(case product_id when 4437 then sales else 0 end) as tot_sales_small_gears, sum(case product_id when 5567 then sales else 0 end) as tot_sales_crankshafts, sum(case product_id when 7684 then sales else 0 end) as tot_sales_sprockets from db_hw2.Sales_Totals group by year; #Q3 select * ,RANK() over(order by sales desc)sales_rank from db_hw2.Sales_Totals; #Q4 select * ,RANK() over (partition by product_id order by sales desc) as product_sales_rank from db_hw2.Sales_Totals; #Q5 select * from (select * ,RANK() over (partition by product_id order by sales desc) as product_sales_rank from db_hw2.Sales_Totals )a where product_sales_rank between 1 and 2; #Q6 START TRANSACTION; insert into db_hw2.Region(region_id, region_name, super_region_id) VALUES(108, 'Europe', NULL); SAVEPOINT sales_totals_savepoint; Insert into db_hw2.Sales_Totals(product_id,region_id, year, month, sales) VALUES(7684, 108, '2020', '10', 1500); COMMIT; #Q7 CREATE VIEW db_hw2.Product_Sales_Totals_View AS select product_id ,year ,sum(sales) as product_sales ,sum(sum(case when product_id in (1256, 4437) then sales else 0 end)) over() as gear_sales from db_hw2.Sales_Totals group by product_id, year; #Q8 select product_id ,region_id ,month ,sales ,sales / sum(sales) over() * 100 as pct_product_sales from db_hw2.sales_totals; #Q9 select year ,month ,sales ,lag(sales) over (order by month asc) as prior_month from db_hw2.Sales_Totals; #Q10 describe sales.product;
    true
    18be8e97e82f9fa94c3d78358f37cb14cd1d884d
    SQL
    silence-do-good/stress-test-Postgres-and-MySQL
    /dump/high/day17/select1327.sql
    UTF-8
    178
    2.640625
    3
    []
    no_license
    SELECT timeStamp, temperature FROM ThermometerOBSERVATION o WHERE timestamp>'2017-11-16T13:27:00Z' AND timestamp<'2017-11-17T13:27:00Z' AND temperature>=35 AND temperature<=44
    true
    95d484531c94cb4aefc1a083d340a18ad8bbfe6a
    SQL
    jccode/spring-boot-sample
    /spring-cloud-integrated-demo/account-service/account-service-app/src/main/resources/db/hsqldb/schema.sql
    UTF-8
    441
    3.609375
    4
    []
    no_license
    DROP TABLE account IF EXISTS ; CREATE TABLE account ( id INTEGER IDENTITY PRIMARY KEY, user_id INTEGER NOT NULL , name VARCHAR(50) NOT NULL , balance INTEGER, create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL , update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP NOT NULL ); -- ALTER TABLE account ADD FOREIGN KEY (user_id) REFERENCES account(id); CREATE INDEX account_name ON account (name);
    true
    03b086f176739b44d85e3905fefc197e2fcc5a6c
    SQL
    rgjr/battleship-code-challenge
    /database/install_db.sql
    UTF-8
    6,944
    2.984375
    3
    []
    no_license
    # ************************************************************ # Sequel Pro SQL dump # Version 4541 # # http://www.sequelpro.com/ # https://github.com/sequelpro/sequelpro # # Host: 0.0.0.0 (MySQL 5.5.62) # Database: battleship # Generation Time: 2020-01-02 04:50:49 +0000 # ************************************************************ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; # Dump of table board_states # ------------------------------------------------------------ CREATE TABLE `board_states` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `state` varchar(11) DEFAULT NULL, `value` int(11) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; LOCK TABLES `board_states` WRITE; /*!40000 ALTER TABLE `board_states` DISABLE KEYS */; INSERT INTO `board_states` (`id`, `state`, `value`) VALUES (1,'empty',0), (2,'patrol-boat',1), (3,'submarine',2), (4,'destroyer',3), (5,'battleship',4), (6,'carrier',5), (7,'hidden',6), (8,'p1_ship_hit',7), (9,'p1_fog',8), (10,'p2_ship_hit',9), (11,'p2_fog',10); /*!40000 ALTER TABLE `board_states` ENABLE KEYS */; UNLOCK TABLES; # Dump of table p1_board # ------------------------------------------------------------ CREATE TABLE `p1_board` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `A` int(11) DEFAULT '0', `B` int(11) DEFAULT '0', `C` int(11) DEFAULT '0', `D` int(11) DEFAULT '0', `E` int(11) DEFAULT '0', `F` int(11) DEFAULT '0', `G` int(11) DEFAULT '0', `H` int(11) DEFAULT '0', `I` int(11) DEFAULT '0', `J` int(11) DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; LOCK TABLES `p1_board` WRITE; /*!40000 ALTER TABLE `p1_board` DISABLE KEYS */; INSERT INTO `p1_board` (`id`, `A`, `B`, `C`, `D`, `E`, `F`, `G`, `H`, `I`, `J`) VALUES (1,0,0,0,0,0,0,0,0,0,0), (2,0,0,0,0,0,0,0,0,0,0), (3,0,0,0,0,0,0,0,0,0,0), (4,0,0,0,0,0,0,0,0,0,0), (5,0,0,0,0,0,0,0,0,0,0), (6,0,0,0,0,0,0,0,0,0,0), (7,0,0,0,0,0,0,0,0,0,0), (8,0,0,0,0,0,0,0,0,0,0), (9,0,0,0,0,0,0,0,0,0,0), (10,0,0,0,0,0,0,0,0,0,0); /*!40000 ALTER TABLE `p1_board` ENABLE KEYS */; UNLOCK TABLES; # Dump of table p1_enemy_board # ------------------------------------------------------------ CREATE TABLE `p1_enemy_board` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `A` int(11) DEFAULT '0', `B` int(11) DEFAULT '0', `C` int(11) DEFAULT '0', `D` int(11) DEFAULT '0', `E` int(11) DEFAULT '0', `F` int(11) DEFAULT '0', `G` int(11) DEFAULT '0', `H` int(11) DEFAULT '0', `I` int(11) DEFAULT '0', `J` int(11) DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; LOCK TABLES `p1_enemy_board` WRITE; /*!40000 ALTER TABLE `p1_enemy_board` DISABLE KEYS */; INSERT INTO `p1_enemy_board` (`id`, `A`, `B`, `C`, `D`, `E`, `F`, `G`, `H`, `I`, `J`) VALUES (1,0,0,0,0,0,0,0,0,0,0), (2,0,0,0,0,0,0,0,0,0,0), (3,0,0,0,0,0,0,0,0,0,0), (4,0,0,0,0,0,0,0,0,0,0), (5,0,0,0,0,0,0,0,0,0,0), (6,0,0,0,0,0,0,0,0,0,0), (7,0,0,0,0,0,0,0,0,0,0), (8,0,0,0,0,0,0,0,0,0,0), (9,0,0,0,0,0,0,0,0,0,0), (10,0,0,0,0,0,0,0,0,0,0); /*!40000 ALTER TABLE `p1_enemy_board` ENABLE KEYS */; UNLOCK TABLES; # Dump of table p2_board # ------------------------------------------------------------ CREATE TABLE `p2_board` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `A` int(11) DEFAULT '0', `B` int(11) DEFAULT '0', `C` int(11) DEFAULT '0', `D` int(11) DEFAULT '0', `E` int(11) DEFAULT '0', `F` int(11) DEFAULT '0', `G` int(11) DEFAULT '0', `H` int(11) DEFAULT '0', `I` int(11) DEFAULT '0', `J` int(11) DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; LOCK TABLES `p2_board` WRITE; /*!40000 ALTER TABLE `p2_board` DISABLE KEYS */; INSERT INTO `p2_board` (`id`, `A`, `B`, `C`, `D`, `E`, `F`, `G`, `H`, `I`, `J`) VALUES (1,0,0,0,0,0,0,0,0,0,0), (2,0,0,0,0,0,0,0,0,0,0), (3,0,0,0,0,0,0,0,0,0,0), (4,0,0,0,0,0,0,0,0,0,0), (5,0,0,0,0,0,0,0,0,0,0), (6,0,0,0,0,0,0,0,0,0,0), (7,0,0,0,0,0,0,0,0,0,0), (8,0,0,0,0,0,0,0,0,0,0), (9,0,0,0,0,0,0,0,0,0,0), (10,0,0,0,0,0,0,0,0,0,0); /*!40000 ALTER TABLE `p2_board` ENABLE KEYS */; UNLOCK TABLES; # Dump of table p2_enemy_board # ------------------------------------------------------------ CREATE TABLE `p2_enemy_board` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `A` int(11) DEFAULT '0', `B` int(11) DEFAULT '0', `C` int(11) DEFAULT '0', `D` int(11) DEFAULT '0', `E` int(11) DEFAULT '0', `F` int(11) DEFAULT '0', `G` int(11) DEFAULT '0', `H` int(11) DEFAULT '0', `I` int(11) DEFAULT '0', `J` int(11) DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; LOCK TABLES `p2_enemy_board` WRITE; /*!40000 ALTER TABLE `p2_enemy_board` DISABLE KEYS */; INSERT INTO `p2_enemy_board` (`id`, `A`, `B`, `C`, `D`, `E`, `F`, `G`, `H`, `I`, `J`) VALUES (1,0,0,0,0,0,0,0,0,0,0), (2,0,0,0,0,0,0,0,0,0,0), (3,0,0,0,0,0,0,0,0,0,0), (4,0,0,0,0,0,0,0,0,0,0), (5,0,0,0,0,0,0,0,0,0,0), (6,0,0,0,0,0,0,0,0,0,0), (7,0,0,0,0,0,0,0,0,0,0), (8,0,0,0,0,0,0,0,0,0,0), (9,0,0,0,0,0,0,0,0,0,0), (10,0,0,0,0,0,0,0,0,0,0); /*!40000 ALTER TABLE `p2_enemy_board` ENABLE KEYS */; UNLOCK TABLES; # Dump of table players # ------------------------------------------------------------ CREATE TABLE `players` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(11) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; LOCK TABLES `players` WRITE; /*!40000 ALTER TABLE `players` DISABLE KEYS */; INSERT INTO `players` (`id`, `name`) VALUES (1,'Player One'), (2,'Player Two'); /*!40000 ALTER TABLE `players` ENABLE KEYS */; UNLOCK TABLES; # Dump of table ships # ------------------------------------------------------------ CREATE TABLE `ships` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `type` varchar(12) DEFAULT NULL, `size` int(1) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; LOCK TABLES `ships` WRITE; /*!40000 ALTER TABLE `ships` DISABLE KEYS */; INSERT INTO `ships` (`id`, `type`, `size`) VALUES (1,'patrol-boat',2), (2,'submarine',3), (3,'destroyer',3), (4,'battleship',4), (5,'carrier',5); /*!40000 ALTER TABLE `ships` ENABLE KEYS */; UNLOCK TABLES; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
    true
    948dc3263b6616c51432dff973a23b010799d2de
    SQL
    seguracarlos/gamification
    /data/gamification.sql
    UTF-8
    12,100
    3.265625
    3
    []
    no_license
    -- phpMyAdmin SQL Dump -- version 4.2.11 -- http://www.phpmyadmin.net -- -- Servidor: 127.0.0.1 -- Tiempo de generación: 09-05-2019 a las 12:55:04 -- Versión del servidor: 5.6.21 -- Versión de PHP: 5.5.19 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Base de datos: `gamification` -- CREATE DATABASE IF NOT EXISTS `gamification` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; USE `gamification`; -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `achievements` -- CREATE TABLE IF NOT EXISTS `achievements` ( `id` int(11) NOT NULL, `name` varchar(45) DEFAULT NULL, `badge` varchar(45) DEFAULT NULL, `imgpath` varchar(45) DEFAULT NULL, `points` int(11) DEFAULT NULL ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; -- -- Volcado de datos para la tabla `achievements` -- INSERT INTO `achievements` (`id`, `name`, `badge`, `imgpath`, `points`) VALUES (1, 'Achievment 1', 'champ.png', 'ruta', 10); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `achivecategory` -- CREATE TABLE IF NOT EXISTS `achivecategory` ( `id_achive` int(11) NOT NULL, `id_category` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Volcado de datos para la tabla `achivecategory` -- INSERT INTO `achivecategory` (`id_achive`, `id_category`) VALUES (1, 1); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `achivetask` -- CREATE TABLE IF NOT EXISTS `achivetask` ( `id_task` int(11) NOT NULL, `id_achive` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Volcado de datos para la tabla `achivetask` -- INSERT INTO `achivetask` (`id_task`, `id_achive`) VALUES (1, 1), (2, 1), (3, 1); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `categories` -- CREATE TABLE IF NOT EXISTS `categories` ( `id` int(11) NOT NULL, `name` varchar(45) DEFAULT NULL, `badge` varchar(45) DEFAULT NULL, `imgpath` varchar(45) DEFAULT NULL, `points` int(11) DEFAULT NULL ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8; -- -- Volcado de datos para la tabla `categories` -- INSERT INTO `categories` (`id`, `name`, `badge`, `imgpath`, `points`) VALUES (1, 'Fortalezas', 'forta.png', 'ruta', 1000), (2, 'hola', 'hola', 'holasa', 4); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `games` -- CREATE TABLE IF NOT EXISTS `games` ( `id` int(11) NOT NULL, `name` varchar(45) DEFAULT NULL, `image` varchar(45) DEFAULT NULL, `imgpath` varchar(100) DEFAULT NULL ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; -- -- Volcado de datos para la tabla `games` -- INSERT INTO `games` (`id`, `name`, `image`, `imgpath`) VALUES (1, 'Aurora', 'aurora-png', 'ruta'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `levels` -- CREATE TABLE IF NOT EXISTS `levels` ( `id` int(11) NOT NULL, `name` varchar(45) DEFAULT NULL, `badge` varchar(45) DEFAULT NULL, `imgpath` varchar(45) DEFAULT NULL, `minpoints` int(11) DEFAULT NULL, `points` int(11) DEFAULT NULL ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; -- -- Volcado de datos para la tabla `levels` -- INSERT INTO `levels` (`id`, `name`, `badge`, `imgpath`, `minpoints`, `points`) VALUES (1, 'Valiente Azul', 'valienteazul.png', 'ruta2', 10, 10005), (2, 'Valiente Rojo', 'valienterojo.png', 'ruta', NULL, 1000); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `tasks` -- CREATE TABLE IF NOT EXISTS `tasks` ( `id` int(11) NOT NULL, `name` varchar(45) DEFAULT NULL, `badge` varchar(45) DEFAULT NULL, `imgpath` varchar(45) DEFAULT NULL, `points` int(11) DEFAULT NULL, `maxDate` date DEFAULT NULL, `typetask` int(1) NOT NULL, `descriptiont` varchar(300) NOT NULL, `calculateValue1` varchar(30) NOT NULL, `calculateValue2` varchar(30) NOT NULL, `calculateValue3` varchar(30) NOT NULL ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8; -- -- Volcado de datos para la tabla `tasks` -- INSERT INTO `tasks` (`id`, `name`, `badge`, `imgpath`, `points`, `maxDate`, `typetask`, `descriptiont`, `calculateValue1`, `calculateValue2`, `calculateValue3`) VALUES (1, 'Define 3 variables', 'ordenado.png', 'ruta', 2, NULL, 1, 'Define 3 variables correctamente', '3', '', ''), (2, 'Muestra 5 alteras', NULL, NULL, 4, NULL, 1, 'Muestra 3 alertas en pantalla', '3', '', ''), (3, 'Muestra 2 mensajes en consola', NULL, NULL, 1, NULL, 1, 'Mostrar 2 mensajes en la consola', '2', '', ''); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `userachievement` -- CREATE TABLE IF NOT EXISTS `userachievement` ( `id` int(11) NOT NULL, `Achievements_idAchive` int(11) NOT NULL, `date` date DEFAULT NULL, `time` time DEFAULT NULL, `isDone` tinyint(1) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Volcado de datos para la tabla `userachievement` -- INSERT INTO `userachievement` (`id`, `Achievements_idAchive`, `date`, `time`, `isDone`) VALUES (1, 1, NULL, NULL, 0); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `usercategory` -- CREATE TABLE IF NOT EXISTS `usercategory` ( `id_category` int(11) NOT NULL, `id_user` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Volcado de datos para la tabla `usercategory` -- INSERT INTO `usercategory` (`id_category`, `id_user`) VALUES (1, 2); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `users` -- CREATE TABLE IF NOT EXISTS `users` ( `id` int(11) NOT NULL, `name` varchar(45) DEFAULT NULL, `Levels_idLvl` int(11) NOT NULL, `points` mediumtext ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8; -- -- Volcado de datos para la tabla `users` -- INSERT INTO `users` (`id`, `name`, `Levels_idLvl`, `points`) VALUES (1, 'Usuario Prueba', 1, '14'), (2, 'paboqed', 2, '5002562'); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `usertask` -- CREATE TABLE IF NOT EXISTS `usertask` ( `id` int(11) NOT NULL, `Users_iduser` int(11) NOT NULL, `date` date DEFAULT NULL, `time` time DEFAULT NULL, `isDone` tinyint(1) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Volcado de datos para la tabla `usertask` -- INSERT INTO `usertask` (`id`, `Users_iduser`, `date`, `time`, `isDone`) VALUES (1, 1, NULL, NULL, 1), (2, 1, NULL, NULL, 1), (3, 1, NULL, NULL, 1); -- -------------------------------------------------------- -- -- Estructura de tabla para la tabla `user_task_history` -- CREATE TABLE IF NOT EXISTS `user_task_history` ( `id` int(11) NOT NULL, `id_user` int(11) NOT NULL, `id_task` int(11) NOT NULL, `date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `value` double DEFAULT NULL ) ENGINE=InnoDB AUTO_INCREMENT=69 DEFAULT CHARSET=utf8; -- -- Índices para tablas volcadas -- -- -- Indices de la tabla `achievements` -- ALTER TABLE `achievements` ADD PRIMARY KEY (`id`); -- -- Indices de la tabla `achivecategory` -- ALTER TABLE `achivecategory` ADD PRIMARY KEY (`id_achive`,`id_category`), ADD KEY `fk_AchiveCategory_Categories1_idx` (`id_category`); -- -- Indices de la tabla `achivetask` -- ALTER TABLE `achivetask` ADD PRIMARY KEY (`id_task`,`id_achive`), ADD KEY `fk_AchiveTask_Achievements1_idx` (`id_achive`); -- -- Indices de la tabla `categories` -- ALTER TABLE `categories` ADD PRIMARY KEY (`id`); -- -- Indices de la tabla `games` -- ALTER TABLE `games` ADD PRIMARY KEY (`id`); -- -- Indices de la tabla `levels` -- ALTER TABLE `levels` ADD PRIMARY KEY (`id`); -- -- Indices de la tabla `tasks` -- ALTER TABLE `tasks` ADD PRIMARY KEY (`id`); -- -- Indices de la tabla `userachievement` -- ALTER TABLE `userachievement` ADD PRIMARY KEY (`id`,`Achievements_idAchive`), ADD KEY `fk_UserAchievement_Achievements1_idx` (`Achievements_idAchive`); -- -- Indices de la tabla `usercategory` -- ALTER TABLE `usercategory` ADD PRIMARY KEY (`id_category`,`id_user`), ADD KEY `fk_UserCategory_Users1_idx` (`id_user`); -- -- Indices de la tabla `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`,`Levels_idLvl`), ADD KEY `fk_Users_Levels1_idx` (`Levels_idLvl`); -- -- Indices de la tabla `usertask` -- ALTER TABLE `usertask` ADD PRIMARY KEY (`id`,`Users_iduser`), ADD KEY `fk_UserTask_Users1_idx` (`Users_iduser`); -- -- Indices de la tabla `user_task_history` -- ALTER TABLE `user_task_history` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT de las tablas volcadas -- -- -- AUTO_INCREMENT de la tabla `achievements` -- ALTER TABLE `achievements` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2; -- -- AUTO_INCREMENT de la tabla `categories` -- ALTER TABLE `categories` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=4; -- -- AUTO_INCREMENT de la tabla `games` -- ALTER TABLE `games` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2; -- -- AUTO_INCREMENT de la tabla `levels` -- ALTER TABLE `levels` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=3; -- -- AUTO_INCREMENT de la tabla `tasks` -- ALTER TABLE `tasks` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=4; -- -- AUTO_INCREMENT de la tabla `users` -- ALTER TABLE `users` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=6; -- -- AUTO_INCREMENT de la tabla `user_task_history` -- ALTER TABLE `user_task_history` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=69; -- -- Restricciones para tablas volcadas -- -- -- Filtros para la tabla `achivecategory` -- ALTER TABLE `achivecategory` ADD CONSTRAINT `fk_AchiveCategory_Achievements1` FOREIGN KEY (`id_achive`) REFERENCES `achievements` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `fk_AchiveCategory_Categories1` FOREIGN KEY (`id_category`) REFERENCES `categories` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `achivetask` -- ALTER TABLE `achivetask` ADD CONSTRAINT `fk_AchiveTask_Achievements1` FOREIGN KEY (`id_achive`) REFERENCES `achievements` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `fk_UserTask_Tasks1` FOREIGN KEY (`id_task`) REFERENCES `tasks` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `userachievement` -- ALTER TABLE `userachievement` ADD CONSTRAINT `fk_UserAchievement_Achievements1` FOREIGN KEY (`Achievements_idAchive`) REFERENCES `achievements` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `fk_UserAchievement_Users1` FOREIGN KEY (`id`) REFERENCES `users` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `usercategory` -- ALTER TABLE `usercategory` ADD CONSTRAINT `fk_UserCategory_Categories1` FOREIGN KEY (`id_category`) REFERENCES `categories` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `fk_UserCategory_Users1` FOREIGN KEY (`id_user`) REFERENCES `users` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `users` -- ALTER TABLE `users` ADD CONSTRAINT `fk_Users_Levels1` FOREIGN KEY (`Levels_idLvl`) REFERENCES `levels` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION; -- -- Filtros para la tabla `usertask` -- ALTER TABLE `usertask` ADD CONSTRAINT `fk_UserTask_Tasks2` FOREIGN KEY (`id`) REFERENCES `tasks` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION, ADD CONSTRAINT `fk_UserTask_Users1` FOREIGN KEY (`Users_iduser`) REFERENCES `users` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
    true
    0ad201b7a9ec0d369d5d063720130ed4b4a2d1fa
    SQL
    shu-csas-changgar/assignment-1-josdes
    /Josephine_DesRosiers_Homework1.sql
    UTF-8
    1,559
    3.59375
    4
    []
    no_license
    #Josephine Des Rosiers Homework #1 /* Question 1 */ SELECT first_name, last_name FROM actor WHERE first_name = "Penelope"; /* Question 2 */ SELECT first_name, last_name FROM actor JOIN film_actor ON actor.actor_id = film_actor.actor_id JOIN film ON film_actor.film_id = film.film_id AND film.title = "ZOOLANDER FICTION"; /* Question 3 */ SELECT title FROM actor JOIN film_actor ON actor.actor_id = film_actor.actor_id JOIN film ON film_actor.film_id = film.film_id AND actor.first_name = "JENNIFER" AND actor.last_name = "DAVIS"; /* Question 4 */ SELECT title FROM rental JOIN inventory ON rental.inventory_id = inventory.inventory_id JOIN film ON film.film_id = inventory.film_id WHERE rental.return_date IS NULL AND rental.customer_id = 11; /* Question 5 */ SELECT title FROM film_category JOIN film ON film.film_id = film_category.film_id WHERE film_category.category_id = 2; /* Question 6 */ SELECT amount, payment_date FROM payment JOIN rental ON payment.rental_id = rental.rental_id JOIN inventory ON rental.inventory_id = inventory.inventory_id JOIN film ON film.film_id = inventory.film_id AND payment.customer_id = 95 AND title = "CLOSER BANG"; /* Question 7 */ SELECT staff.first_name, staff.last_name FROM staff JOIN rental ON rental.staff_id = staff.staff_id JOIN inventory ON inventory.inventory_id = rental.inventory_id JOIN film ON film.film_id = inventory.film_id JOIN customer ON rental.customer_id = customer.customer_id AND customer.first_name = "MARIE" AND customer.last_name = "TURNER" AND film.title = "CHAINSAW UPTOWN";
    true
    91140a39156c613b4650a02bc961272e00ad1283
    SQL
    zivarbabayeva/Hospitaldb
    /SQLQuery1hospital.sql
    UTF-8
    1,177
    2.640625
    3
    []
    no_license
    Create Database Hospital Create Table Doctors( Id int identity primary key, Name varchar(100), Surname varchar(100), Phonenumber varchar(100), Speciality_Id int, Email varchar(100) ) Create Table Registration( Id int identity primary key, [Date] datetime, Doctors_Id int, Patient_Id int, [Time] time, Room_Id int, Department varchar(200), DurationOfStay int, Queue int ) Create Table Patients( Id int identity primary key, Name varchar(100), Surname varchar(100), Adress varchar(100), Phonenumber varchar(100), Registration_Id int, Email varchar(100), Insurance varchar(100), InsuranceNumber int, Complaint varchar(250), Birthday datetime, Payment int, DurationOfStay int, [Queue] int ) Create Table Department( Id int identity primary key, Speciality varchar(150), Prices int ) Create Table Rooms( Id int identity primary key, Department_Id int, ) Create Table Visits( Id int identity primary key, Diagnosis varchar(200), Patient_Id int, Department_Id int, Complaint varchar(255) ) Create Table RegistrationCard( Id int identity primary key, Insurance varchar(100), InsuranceNumber int, Patient_Id int )
    true
    21e25f81af79e73f1f5e3919e9c73e6bb9bdcf9d
    SQL
    shijianzsh/fenggubao
    /update/v2.0/upgraded/释放锁定资产.sql
    UTF-8
    1,966
    3.6875
    4
    []
    no_license
    DROP PROCEDURE IF EXISTS `Release_lock`; DELIMITER ;; CREATE PROCEDURE `Release_lock`(OUT error INT(11)) BEGIN DECLARE done INT DEFAULT 0; DECLARE c_user_id INT DEFAULT 0; DECLARE c_lock_amount INT DEFAULT 0; # 获取所有释放队列 DECLARE c_user CURSOR FOR SELECT m.id, a.account_bonus_balance FROM zc_account AS a LEFT JOIN zc_member AS m ON a.user_id = m.id WHERE a.account_tag = 0 AND a.account_bonus_balance > 0 AND m.is_lock = 0; DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = 1; DECLARE CONTINUE HANDLER FOR SQLEXCEPTION SET error = 1; -- 异常错误 SET error = 0; out_label: BEGIN SET @releaseBai = GetSetting('goldcoin_release_bai'); IF @releaseBai <= 0 THEN LEAVE out_label; END IF; OPEN c_user; REPEAT FETCH c_user INTO c_user_id, c_lock_amount; IF NOT done THEN BEGIN out_repeat: BEGIN SET @releaseAmount = c_lock_amount * @releaseBai * 0.01; # 添加明细 CALL AddAccountRecord(c_user_id, 'bonus', 254, -@releaseAmount, UNIX_TIMESTAMP(), '', 'sdjcsf', @releaseBai, error); IF error THEN LEAVE out_label; END IF; # 添加明细 CALL AddAccountRecord(c_user_id, 'goldcoin', 113, @releaseAmount, UNIX_TIMESTAMP(), '', 'sdjcsf', @releaseBai, error); IF error THEN LEAVE out_label; END IF; END out_repeat; END; END IF; UNTIL done END REPEAT; CLOSE c_user; END out_label; END ;; DELIMITER ;
    true
    fb3d52ccabc0c7f239527fa243c5366ef986788f
    SQL
    Archanam5282/Medplus-Database-Design-using-Oracle-SQL
    /sql/ins_customer.sql
    UTF-8
    5,986
    2.5625
    3
    []
    no_license
    ---------------------------------------------------------------------- -- File: ins_customer.sql -- Date : 17 Nov, 2019 -- Purpose: To insert data into customer table ---------------------------------------------------------------------- Prompt ... Inserting into customer INSERT INTO CUSTOMER VALUES (101,'Jon','Snow',1234567891,'[email protected]',30,'Avalon gates 100','Fairfield ',12345) / INSERT INTO CUSTOMER VALUES (102,'Math','Will',1234567892,'[email protected]',31,'Avalon gates 101','New Haven',12346) / INSERT INTO CUSTOMER VALUES (103,'Shawn','Mendes',1234567893,'[email protected]',32,'Avalon gates 102','New York',12347) / INSERT INTO CUSTOMER VALUES (104,'Uru','Ruth',1234567894,'[email protected]',33,'Avalon gates 103','San Francisco ',12348) / INSERT INTO CUSTOMER VALUES (105,'Archana','Marol',1234567895,'[email protected]',34,'Avalon gates 104','Fairfield ',12345) / INSERT INTO CUSTOMER VALUES (106,'Manish','Patil',1234567896,'[email protected]',35,'Avalon gates 105','New Haven',12346) / INSERT INTO CUSTOMER VALUES (107,'Lasya','Gudi',1234567897,'[email protected]',36,'Avalon gates 106','New York',12347) / INSERT INTO CUSTOMER VALUES (108,'Varshini','Reddy',1234567898,'[email protected]',37,'Avalon gates 107','San Francisco ',12348) / INSERT INTO CUSTOMER VALUES (109,'Harshit','Das',1234567899,'[email protected]',38,'Avalon gates 108','Fairfield ',12345) / INSERT INTO CUSTOMER VALUES (110,'Meena','Venkata',1234567900,'[email protected]',39,'Avalon gates 109','New Haven',12346) / INSERT INTO CUSTOMER VALUES (111,'Meenakshi','Lavu',1234567901,'[email protected]',40,'Avalon gates 110','New York',12347) / INSERT INTO CUSTOMER VALUES (112,'Kiran','Patil',1234567902,'[email protected]',41,'Avalon gates 111','San Francisco ',12348) / INSERT INTO CUSTOMER VALUES (113,'Karan','Snow',1234567903,'[email protected]',42,'Avalon gates 112','Fairfield ',12345) / INSERT INTO CUSTOMER VALUES (114,'Ashwini','Will',1234567904,'[email protected]',43,'Avalon gates 113','New Haven',12346) / INSERT INTO CUSTOMER VALUES (115,'Anu','Mendes',1234567905,'[email protected]',44,'Avalon gates 114','New York',12347) / INSERT INTO CUSTOMER VALUES (116,'Dhriti','Ruth',1234567906,'[email protected]',45,'Avalon gates 115','San Francisco ',12348) / INSERT INTO CUSTOMER VALUES (117,'Niyati','Marol',1234567907,'[email protected]',46,'Avalon gates 116','Fairfield ',12345) / INSERT INTO CUSTOMER VALUES (118,'Abhi','Patil',1234567908,'[email protected]',47,'Avalon gates 117','New Haven',12346) / INSERT INTO CUSTOMER VALUES (119,'Shruti','Gudi',1234567909,'[email protected]',48,'Avalon gates 118','New York',12347) / INSERT INTO CUSTOMER VALUES (120,'Mala','Reddy',1234567910,'[email protected]',49,'Avalon gates 119','San Francisco ',12348) / INSERT INTO CUSTOMER VALUES (121,'Navin','Das',1234567911,'[email protected]',50,'Avalon gates 120','Fairfield ',12345) / INSERT INTO CUSTOMER VALUES (122,'Sowmya','Venkata',1234567912,'[email protected]',51,'Avalon gates 121','New Haven',12346) / INSERT INTO CUSTOMER VALUES (123,'Anusha','Lavu',1234567913,'[email protected]',52,'Avalon gates 122','New York',12347) / INSERT INTO CUSTOMER VALUES (124,'Jon','Patil',1234567914,'[email protected]',53,'Avalon gates 123','San Francisco ',12348) / INSERT INTO CUSTOMER VALUES (125,'Math','Snow',1234567915,'[email protected]',54,'Avalon gates 124','Trumbull',12349) / INSERT INTO CUSTOMER VALUES (126,'Shawn','Will',1234567916,'[email protected]',55,'Avalon gates 125','Bridgeport',12350) / INSERT INTO CUSTOMER VALUES (127,'Uru','Mendes',1234567917,'[email protected]',56,'Avalon gates 126','New York',12347) / INSERT INTO CUSTOMER VALUES (128,'Archana','Ruth',1234567918,'[email protected]',57,'Avalon gates 127','San Francisco ',12348) / INSERT INTO CUSTOMER VALUES (129,'Manish','Marol',1234567919,'[email protected]',58,'Avalon gates 128','Trumbull',12349) / INSERT INTO CUSTOMER VALUES (130,'Lasya','Patil',1234567920,'[email protected]',59,'Avalon gates 129','Bridgeport',12350) / INSERT INTO CUSTOMER VALUES (131,'Varshini','Gudi',1234567921,'[email protected]',60,'Avalon gates 130','New York',12347) / INSERT INTO CUSTOMER VALUES (132,'Harshit','Reddy',1234567922,'[email protected]',61,'Avalon gates 131','San Francisco ',12348) / INSERT INTO CUSTOMER VALUES (133,'Meena','Das',1234567923,'[email protected]',62,'Avalon gates 132','Trumbull',12349) / INSERT INTO CUSTOMER VALUES (134,'Meenakshi','Venkata',1234567924,'[email protected]',63,'Avalon gates 133','Bridgeport',12350) / INSERT INTO CUSTOMER VALUES (135,'Kiran','Lavu',1234567925,'[email protected]',64,'Avalon gates 134','New Haven',12346) / INSERT INTO CUSTOMER VALUES (136,'Karan','Patil',1234567926,'[email protected]',65,'Avalon gates 135','New York',12347) / INSERT INTO CUSTOMER VALUES (137,'Ashwini','Snow',1234567927,'[email protected]',66,'Avalon gates 136','San Francisco ',12348) / INSERT INTO CUSTOMER VALUES (138,'Anu','Will',1234567928,'[email protected]',67,'Avalon gates 137','Fairfield ',12345) / INSERT INTO CUSTOMER VALUES (139,'Dhriti','Mendes',1234567929,'[email protected]',68,'Avalon gates 138','New Haven',12346) / INSERT INTO CUSTOMER VALUES (140,'Niyati','Ruth',1234567930,'[email protected]',69,'Avalon gates 139','New York',12347) / INSERT INTO CUSTOMER VALUES (141,'Abhi','Marol',1234567931,'[email protected]',70,'Avalon gates 140','San Francisco ',12348) / INSERT INTO CUSTOMER VALUES (142,'Shruti','Patil',1234567932,'[email protected]',71,'Avalon gates 141','Fairfield ',12345) / INSERT INTO CUSTOMER VALUES (143,'Maya','Gudi',1234567933,'[email protected]',72,'Avalon gates 142','New Haven',12346) / INSERT INTO CUSTOMER VALUES (144,'Navin','Reddy',1234567934,'[email protected]',73,'Avalon gates 143','New York',12347) / INSERT INTO CUSTOMER VALUES (145,'Sowmya','Das',1234567935,'[email protected]',74,'Avalon gates 144','San Francisco ',12348) / INSERT INTO CUSTOMER VALUES (146,'Anusha','Venkata',1234567936,'[email protected]',75,'Avalon gates 145','Trumbull',12349) / INSERT INTO CUSTOMER VALUES (147,'Niyati','Lavu',1234567937,'[email protected]',76,'Avalon gates 146','Bridgeport',12350) / INSERT INTO CUSTOMER VALUES (148,'Abhi','Patil',1234567938,'[email protected]',77,'Avalon gates 147','New York',12347) / INSERT INTO CUSTOMER VALUES (149,'Shruti','Venkata',1234567939,'[email protected]',78,'Avalon gates 148','San Francisco ',12348) /
    true
    aa5d6df2b0d24ee3c3f09f4d91b247cdafb9c16a
    SQL
    repitaneo/DWES_2019_IniciandoJDBC
    /cinesbd.sql
    UTF-8
    1,490
    2.84375
    3
    []
    no_license
    CREATE DATABASE IF NOT EXISTS `cines` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci */; USE `cines`; -- MySQL dump 10.13 Distrib 8.0.11, for Win64 (x86_64) -- -- Host: 127.0.0.1 Database: cines -- ------------------------------------------------------ -- Server version 8.0.11 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; SET NAMES utf8 ; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; -- -- Table structure for table `cines` -- DROP TABLE IF EXISTS `cines`; /*!40101 SET @saved_cs_client = @@character_set_client */; SET character_set_client = utf8mb4 ; CREATE TABLE `cines` ( `idcines` int(11) NOT NULL AUTO_INCREMENT, `nombre` varchar(45) DEFAULT NULL, `direccion` varchar(45) DEFAULT NULL, `CIF` varchar(10) DEFAULT NULL, `responsable` varchar(45) DEFAULT NULL, `telefono` varchar(9) DEFAULT NULL, PRIMARY KEY (`idcines`) ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; /*!40101 SET character_set_client = @saved_cs_client */;
    true
    aaa4c57a0b1a3f0567fc551354db0204fda36d91
    SQL
    pratima5/training
    /sql/create_car2_functionality.sql
    UTF-8
    221
    2.78125
    3
    []
    no_license
    create table car2.functionality ( ID int primary key auto_increment, feature varchar(20), value boolean, created_on timestamp DEFAULT CURRENT_TIMESTAMP, carID INT, FOREIGN KEY (ID) REFERENCES car2.car(carID) );
    true
    aeed9377bf31aea8146e1ce7b36a107ceec5a10c
    SQL
    pirangy/turma30java
    /SQL/listas/lista1/exercicio3_todasAsQuerys.sql
    UTF-8
    1,876
    3.765625
    4
    []
    no_license
    CREATE DATABASE db_escola; -- criar banco de dados "db_escola" USE db_escola; -- realizar operações no banco de dados "db_escola" -- criar tabela "tb_alunos" CREATE TABLE tb_alunos ( id_aluno bigint(5) auto_increment, -- atributo "id_aluno" com auto_increment (preenchimento automático de identificação: 1, 2, 3...) nome varchar(20) not null, -- atributo "nome" com not null (não aceita preenchimento vazio) idade bigint (2) not null, -- atributo "idade" com not null (não aceita preenchimento vazio) nota bigint (2) not null, -- atributo "ano" com not null (não aceita preenchimento vazio) ativo boolean, -- atributo "ativo" como boolean (true para ativo/false para inativo) primary key (id_aluno) -- atributo "id_aluno" estabelecido como chave primária da tabela "tb_alunos" ); -- comandos para popular tabela com até 8 dados (sem a necessidade de setar o atributo "id_alunos", pois este foi definido com auto_increment) INSERT INTO tb_alunos (nome, idade, nota, ativo) VALUES ("Ariel", 10, 4, true); INSERT INTO tb_alunos (nome, idade, nota, ativo) VALUES ("Juliana", 10, 4, true); INSERT INTO tb_alunos (nome, idade, nota, ativo) VALUES ("Cássia", 8, 10, true); INSERT INTO tb_alunos (nome, idade, nota, ativo) VALUES ("Henrique", 8, 10, true); INSERT INTO tb_alunos (nome, idade, nota, ativo) VALUES ("Ana Paula", 12, 10, true); INSERT INTO tb_alunos (nome, idade, nota, ativo) VALUES ("Gabriel", 12, 8, true); INSERT INTO tb_alunos (nome, idade, nota, ativo) VALUES ("Giovana", 14, 8, true); INSERT INTO tb_alunos (nome, idade, nota, ativo) VALUES ("Stefani", 14, 10, true); -- comandos para seleção SELECT * FROM tb_alunos WHERE nota > 7; SELECT * FROM tb_alunos WHERE nota < 7; -- comandos de atualização UPDATE tb_alunos SET nota = 6 WHERE id_aluno = 2; -- atualiza o valor de produto de "id_aluno = 2" ("Juliana", nota = 4)
    true
    02d6977e2d3d985bcb7fdc2c5a3449d6275a7347
    SQL
    ringolip/Learn-Java
    /Day44/<Day3>SQL99语法连接查询习题解答.sql
    UTF-8
    678
    4.46875
    4
    []
    no_license
    -- 一、查询编号>3 的女神的男朋友信息,如果有则列出详细,如果没有,用 null 填充 SELECT b.id, b.`name`, y.* FROM `beauty` AS b LEFT OUTER JOIN boys AS y ON b.`boyfriend_id` = y.id WHERE b.id > 3; -- 二、查询哪个城市没有部门 SELECT city, `department_name` FROM `locations` AS l LEFT OUTER JOIN `departments` AS d ON d.`location_id` = l.`location_id` WHERE d.`department_id` IS NULL; -- 三、查询部门名为 SAL 或 IT 的员工信息 SELECT department_name, e.`last_name`, e.`department_id` FROM departments AS d LEFT OUTER JOIN `employees` AS e ON e.`department_id` = d.`department_id` WHERE d.`department_name` IN("SAL", "IT");
    true
    78a106b38d14dc3def083e12d5392a5339385abc
    SQL
    minziappa/basic_sample
    /document/make_table.ddl
    UTF-8
    363
    3.234375
    3
    []
    no_license
    /* DROP TABLE sample_user; */ CREATE DATABASE sample_db; CREATE TABLE user ( user_id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, user_name VARCHAR(45) NOT NULL, user_status CHAR(1) NOT NULL, insert_date TIMESTAMP NOT NULL, update_date TIMESTAMP NOT NULL, PRIMARY KEY (user_id) ) ENGINE=innoDB DEFAULT CHARSET=utf8; CREATE INDEX user_idx1 ON user(user_name);
    true
    345d7f8a7f27c89d8cf5dd33e4456437e521d2d1
    SQL
    hezhiquan/softwareTest
    /src/main/resources/banks.sql
    UTF-8
    5,428
    3.234375
    3
    []
    no_license
    CREATE DATABASE IF NOT EXISTS `bank`; USE `bank`; DROP TABLE IF EXISTS `institutions`; CREATE TABLE `institutions` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'id', `name` varchar(40) NOT NULL COMMENT '机构名', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; LOCK TABLES `institutions` WRITE; /*!40000 ALTER TABLE `institutions` DISABLE KEYS */; INSERT INTO `institutions` VALUES (10,'南小食有限公司'),(9,'南食'),(8,'野村证券公司'); /*!40000 ALTER TABLE `institutions` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `customers`; CREATE TABLE `customers` ( `id` int(40) not null AUTO_INCREMENT, `code` varchar(40) NOT NULL COMMENT '客户号', `name` varchar(40) NOT NULL COMMENT '用户名', `id_number` varchar(20) NOT NULL COMMENT '证件号', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; LOCK TABLES `customers` WRITE; /*!40000 ALTER TABLE `customers` DISABLE KEYS */; INSERT INTO `customers` VALUES (14,'demo001202104079','南小食客户一','465432134566789097'),(13,'demo001202104078','张三','432561200009087821'); /*!40000 ALTER TABLE `customers` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `cards`; CREATE TABLE `cards` ( `id` int(40) NOT NULL AUTO_INCREMENT, `balance` double(20,4) DEFAULT 0 , `customer_code` varchar(40) DEFAULT NULL COMMENT '客户号', `account_num` varchar(20) DEFAULT NULL COMMENT '银行卡账号', `password` varchar(40) not null COMMENT '加密后的银行卡密码', PRIMARY KEY (`id`) -- foreign key(customer_code) references customers(code), 外键约束,银行卡客户号来自客户号或者机构号 ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- 创建属于南小食客户一的两张信用卡,属于南小食有限公司的一张信用卡 LOCK TABLES `cards` WRITE; /*!40000 ALTER TABLE `cards` DISABLE KEYS */; -- todo 写密码加密算法的时候把这三个乱填的密码换成加密后的密码 INSERT INTO `cards` VALUES (27,84911.6586,'demo001202104079','6161779470821245928','dsaddadaewradada'), (30,0.0000,'demo001202104079','6161779470821216793','wrrewrsdfsfsfgdfgd'), (28,4567.0000,'南小食有限公司','716177967387571','dadadafddagfdfgdd'); /*!40000 ALTER TABLE `cards` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `loans`; CREATE TABLE `loans` ( `id` int(40) NOT NULL AUTO_INCREMENT, `iou_num` varchar(40) NOT NULL COMMENT '借据号', `customer_code` varchar(40) DEFAULT NULL COMMENT '客户号', `account_num` varchar(20) not NULL COMMENT '银行卡账号', `yearly_rate` double(20,4) default 0.0 COMMENT '年利率', `repayment_count` int(10) not null comment '', `due_date` Date not null COMMENT '应还日期', `loan_date` Date not null COMMENT '贷款日期', `loan_cost` double(20,4) not null COMMENT '贷款相关费用', `loan_amount` double(20,4) not null COMMENT '贷款费用', `product_code` varchar(20) not null COMMENT '产品编号', `institution_account_num` varchar(20) not NULL COMMENT '所贷款机构的银行卡', PRIMARY KEY (`id`) -- todo KEY `loans_ibfk_1` (`account_num`), -- CONSTRAINT `loans_ibfk_1` FOREIGN KEY (`account_num`) REFERENCES `cards`(`account_num`) ON DELETE NO ACTION ON UPDATE NO ACTION ) ENGINE=InnoDB DEFAULT CHARSET=utf8; LOCK TABLES `loans` WRITE; /*!40000 ALTER TABLE `loans` DISABLE KEYS */; -- 创建南小食客户一的两个贷款,一个未过期,一个过期 INSERT INTO `loans` VALUES (8,"L2104081553341","demo001202104079",'6161779470821245928',4.0000,2,'2021-06-07','2021-04-07',10.0000,9990.0000,"40001","716177967387571"), (9,"L2104081553342","demo001202104079",'6161779470821245928',4.0000,3,'2021-04-07','2021-01-07',10.0000,19990.0000,"40001","716177967387571"); /*!40000 ALTER TABLE `loans` ENABLE KEYS */; UNLOCK TABLES; DROP TABLE IF EXISTS `repay_plans`; CREATE TABLE `repay_plans` ( `id` int(40) not null AUTO_INCREMENT, `iou_num` varchar(40) NOT NULL COMMENT '' , `create_time` datetime not null , `plan_num` double(20,4) not null COMMENT '本次贷款的第几期', `plan_amount` double(20,4) not null, `plan_principal` double(20,4) default 0, `plan_interest` double(20,4) default 0, `plan_date` date not null, `remain_amount` double(20,4) not null, `remain_principal` double(20,4) not null, `remain_interest` double(20,4) default 0, `fine` double(20,4) default 0 COMMENT '罚金', `status` int(2) default 0 COMMENT '0:默认,1:逾期,有罚金且未还罚金,2,逾期,已还罚金,3:正常还款', PRIMARY KEY (`id`) -- todo foreign key(iou_num) references loans(iou_num) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; LOCK TABLES `repay_plans` WRITE; /*!40000 ALTER TABLE `repay_plans` DISABLE KEYS */; INSERT INTO `repay_plans` VALUES (11,'L2104081553341','2021-04-07 20:53:27',1,5025.0114,4991.6814,33.3300,'2021-05-07',5025.0114,4991.6814,33.3300,0,0), (12,'L2104081553341','2021-04-07 20:53:27',2,5025.0114,5008.3187,16.6927,'2021-06-07',5025.0114,5008.3187,16.6927,0,0), (13,'L2104081553342','2021-01-07 20:53:27',1,6712.2785,6643.9385,68.3400,'2021-02-07',6712.2785,6643.9385,68.3400,335.6139,1), (14,'L2104081553342','2021-01-07 20:53:27',2,6712.2785,6666.6408,45.6377,'2021-03-07',6712.2785,6666.6408,45.6377,0,0), (15,'L2104081553342','2021-01-07 20:53:27',3,6712.2785,6689.4207,22.8578,'2021-04-07',6712.2785,6689.4207,22.8578,0,0); /*!40000 ALTER TABLE `repay_plans` ENABLE KEYS */; UNLOCK TABLES;
    true
    de75177708623d02989383211364296598ffc4d0
    SQL
    CFRealEstateServices/DomoCLR
    /dbo/Stored Procedures/AddUserMapping.sql
    UTF-8
    545
    2.703125
    3
    [ "MIT" ]
    permissive
     -- ============================================= -- Author: Ryan Nigro -- Create date: 3/18/17 -- Description: Add user mapping -- ============================================= CREATE PROCEDURE AddUserMapping -- Add the parameters for the stored procedure here @domain varchar(200), @DOMOUserId int, @ExternalUserID int AS BEGIN -- SET NOCOUNT ON added to prevent extra result sets from -- interfering with SELECT statements. SET NOCOUNT ON; insert into dbo.UserRecordMappings select @domain, @DOMOUserId, @ExternalUserID END
    true
    e9d9f550573f3176bbaee89c6781b18768bc881e
    SQL
    miguelmontiel30/BD-GMG
    /Procedimientos/Search Procedures.sql
    UTF-8
    479
    2.640625
    3
    []
    no_license
    use sistema_gmg; /*PROCEDIMIENTO BUSQUEDA DE USUARIOS*/ DELIMITER $$ CREATE PROCEDURE validacion(user varchar(20), pass varchar(50)) BEGIN SELECT tipo_usuario FROM login where usuario = user and password = pass; END $$ /* PROCEDIMIENTO BUSQUEDA */ DELIMITER $$ CREATE PROCEDURE busqueda_ciclo(nombre_ciclo varchar(12)) BEGIN SELECT * FROM vista_ciclos where Ciclos like CONCAT('%',nombre_ciclo,'%'); END$$
    true
    fdaf7fa907c964e180eb16b2cefa9a22e36a011a
    SQL
    Pontus12345/shoes
    /sami_Database_Mysql/running_shoes.sql
    UTF-8
    30,317
    3.203125
    3
    [ "MIT" ]
    permissive
    -- phpMyAdmin SQL Dump -- version 4.0.10deb1 -- http://www.phpmyadmin.net -- -- Värd: localhost -- Skapad: 04 maj 2016 kl 22:08 -- Serverversion: 5.5.46-0ubuntu0.14.04.2 -- PHP-version: 5.5.9-1ubuntu4.16 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Databas: `running_shoes` -- -- -------------------------------------------------------- -- -- Tabellstruktur `blog` -- CREATE TABLE IF NOT EXISTS `blog` ( `ID` int(11) NOT NULL AUTO_INCREMENT, `By` varchar(200) DEFAULT NULL, `blog_label` varchar(200) DEFAULT NULL, `Date` date DEFAULT NULL, `blog_content` text, `blog_image` text, `blog_title` varchar(200) DEFAULT NULL, PRIMARY KEY (`ID`), UNIQUE KEY `By` (`By`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ; -- -- Dumpning av Data i tabell `blog` -- INSERT INTO `blog` (`ID`, `By`, `blog_label`, `Date`, `blog_content`, `blog_image`, `blog_title`) VALUES (1, 'Pontus', 'Shoes', '2016-03-03', 'IPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsum', 'images/laravel-5-test.jpg', 'Date some shoes'), (2, 'Pontus2', 'Shoes2', '2016-03-07', 'IPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsum', 'images/laravel-5-test.jpg', 'Date some shoes'), (3, 'Pontus3', 'Shoes3', '2016-03-07', 'IPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsumIPSUM lorem ipsum', 'images/laravel-5-test.jpg', 'Date some shoes'); -- -------------------------------------------------------- -- -- Tabellstruktur `brands` -- CREATE TABLE IF NOT EXISTS `brands` ( `Brand_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `banner_link` text, `link` text, `Brand_title` varchar(200) DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`Brand_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=45 ; -- -- Dumpning av Data i tabell `brands` -- INSERT INTO `brands` (`Brand_id`, `banner_link`, `link`, `Brand_title`, `created_at`, `updated_at`) VALUES (41, '/images/sample_banner.jpg', 'Addidas', 'Addidas', '2016-01-22 11:58:59', '2016-01-22 11:58:59'), (42, '/images/sample_banner.jpg', 'ALDO', 'ALDO', '2016-01-22 11:58:59', '2016-01-22 11:58:59'), (43, '/images/sample_banner.jpg', 'ASOS', 'ASOS', '2016-01-22 11:58:59', '2016-01-22 11:58:59'), (44, '/images/sample_banner.jpg', 'Boohoo', 'Boohoo', '2016-01-22 11:58:59', '2016-01-22 11:58:59'); -- -------------------------------------------------------- -- -- Tabellstruktur `cats` -- CREATE TABLE IF NOT EXISTS `cats` ( `Cat_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `link` text, `cat_title` varchar(200) DEFAULT NULL, `banner_link` text, `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`Cat_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=45 ; -- -- Dumpning av Data i tabell `cats` -- INSERT INTO `cats` (`Cat_id`, `link`, `cat_title`, `banner_link`, `created_at`, `updated_at`) VALUES (41, 'Runningshoes', 'Runningshoes', '/images/sample_banner.jpg', '2016-01-22 11:58:59', '2016-01-22 11:58:59'), (42, 'Walkingshoes', 'Walkingshoes', '/images/sample_banner.jpg', '2016-01-22 11:58:59', '2016-01-22 11:58:59'), (43, 'Flat-Boots', 'Flat-Boots', '/images/sample_banner.jpg', '2016-01-22 11:58:59', '2016-01-22 11:58:59'), (44, 'Flat-shoes', 'Flat-shoes', '/images/sample_banner.jpg', '2016-01-22 11:58:59', '2016-01-22 11:58:59'); -- -------------------------------------------------------- -- -- Tabellstruktur `comments` -- CREATE TABLE IF NOT EXISTS `comments` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(200) DEFAULT NULL, `comments` text NOT NULL, `rate` int(11) DEFAULT NULL, `comments_products_id` int(10) unsigned DEFAULT NULL, `comments_blogg_id` int(11) DEFAULT NULL, `pages` varchar(200) NOT NULL, `date` date NOT NULL, PRIMARY KEY (`id`), KEY `comments_products_id` (`comments_products_id`), KEY `comments_blogg_id` (`comments_blogg_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=150 ; -- -- Dumpning av Data i tabell `comments` -- INSERT INTO `comments` (`id`, `name`, `comments`, `rate`, `comments_products_id`, `comments_blogg_id`, `pages`, `date`) VALUES (142, 'Test', 'Tetsttsts s t', NULL, NULL, 3, 'blogg3', '2016-05-02'), (143, 'Test', 'Tetsttsts s t', NULL, NULL, 3, 'blogg3', '2016-05-02'), (144, 'This Is Great', 'HJKHSAJHSDKJHAS DKJAH SKJAHSD', 3, 43, NULL, 'products43', '2016-05-04'), (145, 'Pontus', 'aölskdöalsdk alöskdöalksd aölsdkaö', 5, 43, NULL, 'products43', '2016-05-04'), (146, 'asdadssasdadsasda', 'asdasdadadssad', 1, 43, NULL, 'products43', '2016-05-04'), (147, 'Pontus', 'lkajsdla lasdjlald', 0, NULL, 2, 'blogg2', '2016-05-04'), (148, 'sadasdasdadad', 'asdadadsasd', 5, 46, NULL, 'products46', '2016-05-04'), (149, 'Pontus', 'öasmdalsd aa ö kaö', 3, 45, NULL, 'products45', '2016-05-04'); -- -------------------------------------------------------- -- -- Tabellstruktur `forum_cat` -- CREATE TABLE IF NOT EXISTS `forum_cat` ( `Forum_cat_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `Forum_cat_name` varchar(200) DEFAULT NULL, `forum_qty` int(10) unsigned NOT NULL, `Forum_cat_desc` text, `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`Forum_cat_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=44 ; -- -- Dumpning av Data i tabell `forum_cat` -- INSERT INTO `forum_cat` (`Forum_cat_id`, `Forum_cat_name`, `forum_qty`, `Forum_cat_desc`, `created_at`, `updated_at`) VALUES (41, 'Shoes', 3, 'Any Good shoes', '2016-01-22 11:58:59', '2016-01-22 11:58:59'), (42, 'Running', 0, 'The consept of running', '2016-01-22 11:58:59', '2016-01-22 11:58:59'), (43, 'Webbsite', 1, 'What can be better?\r\n', '2016-01-22 11:58:59', '2016-01-22 11:58:59'); -- -------------------------------------------------------- -- -- Tabellstruktur `menus` -- CREATE TABLE IF NOT EXISTS `menus` ( `menu_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `menu_name` varchar(200) DEFAULT NULL, `menu_href` text, `info` text, `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`menu_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=49 ; -- -- Dumpning av Data i tabell `menus` -- INSERT INTO `menus` (`menu_id`, `menu_name`, `menu_href`, `info`, `created_at`, `updated_at`) VALUES (43, 'Home', '', NULL, '2016-01-22 11:58:59', '2016-01-22 11:58:59'), (44, 'All Products', 'Products&products_id', NULL, '2016-01-22 11:58:59', '2016-01-22 11:58:59'), (45, 'Blogg', 'Blogg&ID', '<h2>Our Blogg</h2>', '2016-01-22 11:58:59', '2016-01-22 11:58:59'), (46, 'Forum', 'Forum', NULL, '2016-01-22 11:58:59', '2016-01-22 11:58:59'), (47, 'About us', 'about-us', 'Ipsu lorem taxida Sopin Ipsum BLaOPsum hye paos ipsum lorem albina sorema astaba boppaaee ipsum Ipsu lorem taxida Sopin Ipsum BLaOPsum hye paos ipsum lorem albina sorema astaba boppaaee ipsum Ipsu lorem taxida Sopin Ipsum BLaOPsum hye paos ipsum lorem albina sorema astaba boppaaee ipsum Ipsu lorem taxida Sopin Ipsum BLaOPsum hye paos ipsum lorem albina sorema astaba boppaaee ipsum ', '2016-01-22 11:58:59', '2016-01-22 11:58:59'), (48, 'Contact us', 'contact-us', NULL, '2016-01-22 11:58:59', '2016-01-22 11:58:59'); -- -------------------------------------------------------- -- -- Tabellstruktur `migrations` -- CREATE TABLE IF NOT EXISTS `migrations` ( `migration` varchar(255) NOT NULL, `batch` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumpning av Data i tabell `migrations` -- INSERT INTO `migrations` (`migration`, `batch`) VALUES ('2014_10_12_100000_create_password_resets_table', 1), ('2015_12_14_224721_create_slides_table', 1), ('2015_12_16_133517_create_users_table', 1), ('2016_01_14_181324_create_brands_table', 1), ('2016_01_14_181433_create_cats_table', 1), ('2016_01_14_181547_create_forum_cat_table', 1), ('2016_01_14_181634_create_menus_table', 1), ('2016_01_14_181719_create_postsubject_table', 1), ('2016_01_14_181857_create_products_table', 1), ('2016_01_14_181916_create_reply_table', 1), ('2016_01_14_182126_create_shoppingcart_table', 1), ('2016_01_14_182152_create_subjects_table', 1), ('2016_01_14_182224_create_submenu_table', 1), ('2016_01_14_182312_create_toplinks_table', 1), ('2016_01_20_200824_wishlist_table', 2); -- -------------------------------------------------------- -- -- Tabellstruktur `password_resets` -- CREATE TABLE IF NOT EXISTS `password_resets` ( `email` varchar(255) NOT NULL, `token` varchar(255) NOT NULL, `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', KEY `password_resets_email_index` (`email`), KEY `password_resets_token_index` (`token`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Tabellstruktur `postsubject` -- CREATE TABLE IF NOT EXISTS `postsubject` ( `post_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `post_name` varchar(200) DEFAULT NULL, `post_content` text, `cat_page` varchar(100) DEFAULT NULL, `post_date` date DEFAULT NULL, `post_by` varchar(255) DEFAULT NULL, `post_subject_id` int(10) unsigned DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`post_id`), KEY `postsubject_post_subject_id_index` (`post_subject_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=25 ; -- -- Dumpning av Data i tabell `postsubject` -- INSERT INTO `postsubject` (`post_id`, `post_name`, `post_content`, `cat_page`, `post_date`, `post_by`, `post_subject_id`, `created_at`, `updated_at`) VALUES (21, 'Awesine', 'This IS Nice!! :)', '41', '2016-05-02', 'pontus', NULL, '0000-00-00 00:00:00', '0000-00-00 00:00:00'), (22, 'Pontus', 'Thsi IS greta', '43', '2016-05-04', 'Pontus', NULL, '0000-00-00 00:00:00', '0000-00-00 00:00:00'), (23, 'Pontus', 'Pontus aosdla ', '41', '2016-05-04', 'Pontus', NULL, '0000-00-00 00:00:00', '0000-00-00 00:00:00'), (24, 'Pontusasd', 'sasdasdasdasda', '41', '2016-05-04', 'Pontus', NULL, '0000-00-00 00:00:00', '0000-00-00 00:00:00'); -- -------------------------------------------------------- -- -- Tabellstruktur `products` -- CREATE TABLE IF NOT EXISTS `products` ( `products_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `products_name` varchar(200) DEFAULT NULL, `Products_price` int(11) DEFAULT NULL, `product_image` text, `product_title` varchar(200) DEFAULT NULL, `product_desc` text, `product_cat` int(10) unsigned DEFAULT NULL, `product_brand` int(10) DEFAULT NULL, `categories_title` varchar(100) DEFAULT NULL, `products_antal` int(11) NOT NULL DEFAULT '0', `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `order_page` varchar(80) DEFAULT NULL, PRIMARY KEY (`products_id`), KEY `products_product_cat_foreign` (`product_cat`), KEY `order_page` (`order_page`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=47 ; -- -- Dumpning av Data i tabell `products` -- INSERT INTO `products` (`products_id`, `products_name`, `Products_price`, `product_image`, `product_title`, `product_desc`, `product_cat`, `product_brand`, `categories_title`, `products_antal`, `created_at`, `updated_at`, `order_page`) VALUES (34, 'Test', 500, '/images/demo-prod.png', 'This IS A testing product', '"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."', 41, 41, 'Boohoo', 50, '2016-01-22 11:58:59', '2016-05-04 19:48:47', NULL), (35, 'Test2', 500, '/images/demo-prod.png', 'This Is A Testing product', '"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."', 41, 41, 'Boohoo', 49, '2016-01-22 11:58:59', '2016-05-04 21:57:57', NULL), (36, 'Test3', 500, '/images/demo-prod.png', 'This is A testing product', '"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."', 41, 42, 'Boohoo', 49, '2016-01-22 11:58:59', '2016-05-04 19:36:34', NULL), (37, 'Test4', 500, '/images/demo-prod.png', 'This Is A testing product', '"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."', 41, 50, 'ASOS', 20, '2016-01-22 11:58:59', '2016-01-22 11:58:59', NULL), (38, 'Test5', 500, '/images/demo-prod.png', 'This Is A testing product', '"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."', 41, 50, 'ASOS', 39, '2016-01-22 11:58:59', '2016-05-04 19:33:27', NULL), (39, 'Test6', 500, '/images/demo-prod.png', 'This IS A testing product', '"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."', 41, 41, 'ASOS', 50, '2016-01-22 11:58:59', '2016-01-22 11:58:59', NULL), (40, 'Test7', 500, '/images/demo-prod.png', 'This IS A Testing product', '"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."', 41, 42, 'ASOS', 49, '2016-01-22 11:58:59', '2016-05-04 19:34:32', NULL), (41, 'Test8', 500, '/images/demo-prod.png', 'This Is A testing product', '"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."', 41, 44, 'Addidas', 0, '2016-01-22 11:58:59', '2016-01-22 11:58:59', NULL), (42, 'Test9', 500, '/images/demo-prod.png', 'This Is A Testing Product', '"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."', 41, 43, 'Addidas', 50, '2016-01-22 11:58:59', '2016-05-04 19:48:58', NULL), (43, 'Test41,0', 500, '/images/demo-prod.png', 'This IS A testing product', '"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."', 41, 44, 'Flat-shoes', 50, '2016-01-22 11:58:59', '2016-05-04 19:56:40', NULL), (44, 'Testing 45', 500, '/images/demo-prod.png', 'This Is A testing product', 'This Is A Testing Products only so dont care if you see it', 41, NULL, 'Runningshoes', 51, '2016-01-22 11:58:59', '2016-05-04 21:53:44', NULL), (45, 'Shoes 55', 500, '/images/demo-prod.png', 'This is for shoes title', '"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."', 41, 41, 'Flat-Boots', 51, '2016-04-06 22:00:00', '2016-05-04 22:06:26', 'shoes'), (46, 'First Assecories', 250, '/images/demo-prod.png', 'First Assecories', '"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."', 44, 43, 'ALDO', 48, '2016-04-11 22:00:00', '2016-05-04 21:58:04', 'Accessories'); -- -------------------------------------------------------- -- -- Tabellstruktur `reply` -- CREATE TABLE IF NOT EXISTS `reply` ( `reply_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `reply_text` text, `reply_date` date DEFAULT NULL, `reply_topic` varchar(200) DEFAULT NULL, `reply_by` varchar(200) DEFAULT NULL, `reply_name` varchar(200) DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`reply_id`), UNIQUE KEY `reply_name` (`reply_name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ; -- -- Dumpning av Data i tabell `reply` -- INSERT INTO `reply` (`reply_id`, `reply_text`, `reply_date`, `reply_topic`, `reply_by`, `reply_name`, `created_at`, `updated_at`) VALUES (3, 'ölskdöaskaök', '2016-05-04', 'Awesine', 'Pontus', 'Pontus', '0000-00-00 00:00:00', '0000-00-00 00:00:00'), (4, 'sadadsadsadsasd', '2016-05-04', 'Awesine', 'Pontus', 'asdasdadssdsda', '0000-00-00 00:00:00', '0000-00-00 00:00:00'); -- -------------------------------------------------------- -- -- Tabellstruktur `shoppingcart` -- CREATE TABLE IF NOT EXISTS `shoppingcart` ( `shoppingcart_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `shoppingcart_prod_name` varchar(255) DEFAULT NULL, `shoppingcart_prod_price` int(11) DEFAULT NULL, `full_prise_prod` int(11) NOT NULL, `shoppingcart_prod_title` varchar(200) DEFAULT NULL, `shoppingcart_prod_label` text, `shoppingcart_prod_img` text, `cart_pro_qty` int(10) unsigned NOT NULL, `cart_user_id` int(10) unsigned NOT NULL, `prod_id` int(10) unsigned NOT NULL, `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`shoppingcart_id`), KEY `shoppingcart_prod_id_foreign` (`prod_id`), KEY `shoppingcart_cart_user_id_foreign` (`cart_user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=31 ; -- -------------------------------------------------------- -- -- Tabellstruktur `slides` -- CREATE TABLE IF NOT EXISTS `slides` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(200) DEFAULT NULL, `image` varchar(200) DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=10 ; -- -- Dumpning av Data i tabell `slides` -- INSERT INTO `slides` (`id`, `name`, `image`, `created_at`, `updated_at`) VALUES (7, 'Test', '/images/test-slideshow.jpg', '2016-01-22 11:58:59', '2016-01-22 11:58:59'), (8, 'Test2', '/images/test-slide2.jpg', '2016-01-22 11:58:59', '2016-01-22 11:58:59'), (9, 'Test3', '/images/test-slideshow.jpg', '2016-01-22 11:58:59', '2016-01-22 11:58:59'); -- -------------------------------------------------------- -- -- Tabellstruktur `subjects` -- CREATE TABLE IF NOT EXISTS `subjects` ( `subjects_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `subjects_name` varchar(200) DEFAULT NULL, `subject_post_content` text, `subjects_date` date DEFAULT NULL, `subjects_username` varchar(200) DEFAULT NULL, `sub_cat_id` int(10) unsigned NOT NULL, `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`subjects_id`), UNIQUE KEY `subjects_name` (`subjects_name`), KEY `subjects_sub_cat_id_foreign` (`sub_cat_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=30 ; -- -- Dumpning av Data i tabell `subjects` -- INSERT INTO `subjects` (`subjects_id`, `subjects_name`, `subject_post_content`, `subjects_date`, `subjects_username`, `sub_cat_id`, `created_at`, `updated_at`) VALUES (26, 'Awesine', 'This IS Nice!! :)', '2016-05-02', 'pontus', 41, '0000-00-00 00:00:00', '0000-00-00 00:00:00'), (29, 'Pontusasd', 'sasdasdasdasda', '2016-05-04', 'Pontus', 41, '0000-00-00 00:00:00', '0000-00-00 00:00:00'); -- -------------------------------------------------------- -- -- Tabellstruktur `submenu` -- CREATE TABLE IF NOT EXISTS `submenu` ( `submenu_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `submenu_link` text, `submenu_name` varchar(200) DEFAULT NULL, `banner_link` text, `submenu_menu_id` int(10) unsigned NOT NULL, `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`submenu_id`), KEY `submenus_submenu_menu_id_foreign` (`submenu_menu_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=13 ; -- -- Dumpning av Data i tabell `submenu` -- INSERT INTO `submenu` (`submenu_id`, `submenu_link`, `submenu_name`, `banner_link`, `submenu_menu_id`, `created_at`, `updated_at`) VALUES (9, 'Shoes&products_id', 'Shoes', 'images/sample_banner.jpg', 44, '2016-01-22 11:58:59', '2016-01-22 11:58:59'), (10, 'Accessories&products_id', 'Accessories', 'images/sample_banner.jpg', 44, '2016-01-22 11:58:59', '2016-01-22 11:58:59'), (11, 'Forum/create/Subjects', 'Create forum', 'images/sample_banner.jpg', 46, '2016-01-22 11:58:59', '2016-01-22 11:58:59'), (12, 'Forum/Aktive/Aktuella-Subjects', 'aktive topics', 'images/sample_banner.jpg', 46, '2016-01-22 11:58:59', '2016-01-22 11:58:59'); -- -------------------------------------------------------- -- -- Tabellstruktur `toplinks` -- CREATE TABLE IF NOT EXISTS `toplinks` ( `topLink_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `link` text, `name` varchar(200) DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`topLink_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=9 ; -- -- Dumpning av Data i tabell `toplinks` -- INSERT INTO `toplinks` (`topLink_id`, `link`, `name`, `created_at`, `updated_at`) VALUES (6, 'Account', 'Account', '2016-01-22 11:58:59', '2016-01-22 11:58:59'), (7, 'Shoppingcart', 'Shoppingcart', '2016-01-22 11:58:59', '2016-01-22 11:58:59'), (8, 'Log-in', 'Login', '2016-01-22 11:58:59', '2016-01-22 11:58:59'); -- -------------------------------------------------------- -- -- Tabellstruktur `users` -- CREATE TABLE IF NOT EXISTS `users` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `username` varchar(100) DEFAULT NULL, `image` text, `email` varchar(200) DEFAULT NULL, `password` varchar(100) DEFAULT NULL, `remember_token` varchar(100) DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`), UNIQUE KEY `username` (`username`), UNIQUE KEY `email` (`email`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=24 ; -- -- Dumpning av Data i tabell `users` -- INSERT INTO `users` (`id`, `username`, `image`, `email`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES (21, 'Pon', '/images/demo-icon.jpg', '[email protected]', '$2y$10$93ywVjZL9kC/G.F7IQt.EesfiUeFEdfDNBV5TRMTKBSTcL3VeNtpC', NULL, '2016-04-14 04:37:32', '2016-04-14 04:37:32'), (22, 'Pontus', '/images/demo-icon.jpg', '[email protected]', '$2y$10$KZva10MF2K.FcJKLnWCX.OVJer0WtBv/DsHkV8g64cXr3rxdOf8Z2', NULL, '2016-04-14 05:25:31', '2016-04-14 05:25:31'), (23, 'KristofferPettersson', NULL, '[email protected]', '$2y$10$VbNiNrdBeknlzI4sb4qSI.tTTOuedyDrvxb1.qhAy//agtUTCkLgC', NULL, '2016-05-04 21:13:03', '2016-05-04 21:13:03'); -- -------------------------------------------------------- -- -- Tabellstruktur `wishlist` -- CREATE TABLE IF NOT EXISTS `wishlist` ( `wishlist_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `wishlist_prod_name` varchar(255) DEFAULT NULL, `wishlist_prod_price` int(11) DEFAULT NULL, `wishlistfullprise_prod` int(11) NOT NULL, `wishlist_prod_title` varchar(200) DEFAULT NULL, `wishlist_prod_label` text, `wishlist_prod_img` text, `wishlist_pro_qty` int(10) unsigned NOT NULL, `wishlist_user_id` int(10) unsigned NOT NULL, `wishlist_prod_id` int(10) unsigned NOT NULL, `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`wishlist_id`), KEY `wishlist_wishlist_prod_id_foreign` (`wishlist_prod_id`), KEY `wishlist_wishlist_user_id_foreign` (`wishlist_user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -- Restriktioner för dumpade tabeller -- -- -- Restriktioner för tabell `comments` -- ALTER TABLE `comments` ADD CONSTRAINT `comments_ibfk_1` FOREIGN KEY (`comments_products_id`) REFERENCES `products` (`products_id`), ADD CONSTRAINT `comments_ibfk_2` FOREIGN KEY (`comments_blogg_id`) REFERENCES `blog` (`ID`); -- -- Restriktioner för tabell `postsubject` -- ALTER TABLE `postsubject` ADD CONSTRAINT `postsubject_ibfk_1` FOREIGN KEY (`post_subject_id`) REFERENCES `subjects` (`subjects_id`); -- -- Restriktioner för tabell `products` -- ALTER TABLE `products` ADD CONSTRAINT `products_product_cat_foreign` FOREIGN KEY (`product_cat`) REFERENCES `cats` (`Cat_id`); -- -- Restriktioner för tabell `shoppingcart` -- ALTER TABLE `shoppingcart` ADD CONSTRAINT `shoppingcart_cart_user_id_foreign` FOREIGN KEY (`cart_user_id`) REFERENCES `users` (`id`), ADD CONSTRAINT `shoppingcart_prod_id_foreign` FOREIGN KEY (`prod_id`) REFERENCES `products` (`products_id`); -- -- Restriktioner för tabell `subjects` -- ALTER TABLE `subjects` ADD CONSTRAINT `subjects_sub_cat_id_foreign` FOREIGN KEY (`sub_cat_id`) REFERENCES `forum_cat` (`Forum_cat_id`); -- -- Restriktioner för tabell `submenu` -- ALTER TABLE `submenu` ADD CONSTRAINT `submenus_submenu_menu_id_foreign` FOREIGN KEY (`submenu_menu_id`) REFERENCES `menus` (`menu_id`); -- -- Restriktioner för tabell `wishlist` -- ALTER TABLE `wishlist` ADD CONSTRAINT `wishlist_wishlist_prod_id_foreign` FOREIGN KEY (`wishlist_prod_id`) REFERENCES `products` (`products_id`), ADD CONSTRAINT `wishlist_wishlist_user_id_foreign` FOREIGN KEY (`wishlist_user_id`) REFERENCES `users` (`id`); /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
    true
    de97ed4b6ff70567e58f0023fbbdae28e8fe2f84
    SQL
    wdaweb/etax-list-leohsu999
    /invoice.sql
    UTF-8
    4,038
    3.046875
    3
    []
    no_license
    -- phpMyAdmin SQL Dump -- version 4.9.0.1 -- https://www.phpmyadmin.net/ -- -- 主機: 127.0.0.1 -- 產生時間: 2019-11-15 14:34:19 -- 伺服器版本: 10.4.6-MariaDB -- PHP 版本: 7.3.9 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- 資料庫: `invoice` -- -- -------------------------------------------------------- -- -- 資料表結構 `accounting` -- CREATE TABLE `accounting` ( `id` int(10) UNSIGNED NOT NULL, `year` int(20) NOT NULL COMMENT '年份', `period` int(10) NOT NULL COMMENT '期別', `Enum` varchar(5) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT ' 英文數字', `num` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '數字', `expend` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '發票金額' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- 傾印資料表的資料 `accounting` -- INSERT INTO `accounting` (`id`, `year`, `period`, `Enum`, `num`, `expend`) VALUES (1, 2019, 1, 'FG', '00106725', '1234'), (2, 2019, 3, 'BU', '36977198', '7331'), (3, 2019, 4, 'PH', '59100502', '9713'), (4, 2019, 6, 'XH', '78740004', '409'), (5, 2019, 5, 'IS', '43479209', '6572'), (6, 2019, 1, 'MQ', '48017810', '952'), (7, 2019, 2, 'PL', '98452399', '4079'), (8, 0, 3, 'WL', '72767544', '363'), (9, 2019, 3, 'IZ', '72410493', '8096'), (10, 2019, 4, 'QW', '15587626', '2640'), (11, 2019, 5, 'OM', '15587626', '3804'), (12, 2019, 6, 'MV', '16797328', '2849'), (13, 2019, 1, 'MV', '42415813', '5059'), (14, 2019, 2, 'LC', '57796679', '8192'), (15, 2019, 2, 'KB', '47464012', '343'), (16, 2019, 2, 'DD', '32324240', '333'), (17, 2019, 2, 'YT', '35343022', '2222'); -- -------------------------------------------------------- -- -- 資料表結構 `winning` -- CREATE TABLE `winning` ( `id` int(6) UNSIGNED NOT NULL, `year` year(4) NOT NULL, `period` int(6) NOT NULL, `sp1` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL, `sp2` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL, `jackpot1` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL, `jackpot2` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL, `jackpot3` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL, `six1` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL, `six2` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL, `six3` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- 傾印資料表的資料 `winning` -- INSERT INTO `winning` (`id`, `year`, `period`, `sp1`, `sp2`, `jackpot1`, `jackpot2`, `jackpot3`, `six1`, `six2`, `six3`) VALUES (1, 2019, 1, '00106725', '90819218', '13440631', '26650552', '09775722', '809', '264', ''), (2, 2019, 2, '03802602', '00708299', '33877270', '21772506', '61786409', '136', '022', ''), (3, 2019, 3, '46356460', '56337787', '93339845', '83390355', '80431063', '984', '240', ''), (4, 2019, 4, '45698621', '19614436', '96182420', '47464012', '62781818', '928', '899', ''); -- -- 已傾印資料表的索引 -- -- -- 資料表索引 `accounting` -- ALTER TABLE `accounting` ADD PRIMARY KEY (`id`); -- -- 資料表索引 `winning` -- ALTER TABLE `winning` ADD PRIMARY KEY (`id`); -- -- 在傾印的資料表使用自動遞增(AUTO_INCREMENT) -- -- -- 使用資料表自動遞增(AUTO_INCREMENT) `accounting` -- ALTER TABLE `accounting` MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18; -- -- 使用資料表自動遞增(AUTO_INCREMENT) `winning` -- ALTER TABLE `winning` MODIFY `id` int(6) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
    true
    d20a189f8396dac79bb1727a0f5eb25519b0c24f
    SQL
    opabekova/fire-system-application
    /php/src/fire_sensors/fire_sensors.sql
    UTF-8
    2,272
    3.21875
    3
    []
    no_license
    -- phpMyAdmin SQL Dump -- version 5.0.2 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Jan 08, 2021 at 12:07 AM -- Server version: 10.4.13-MariaDB -- PHP Version: 7.3.19 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `fire_sensors` -- -- -------------------------------------------------------- -- -- Table structure for table `sensors` -- CREATE TABLE `sensors` ( `id` int(11) NOT NULL, `name` varchar(255) NOT NULL, `sensor_type` int(11) NOT NULL, `active` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `sensors` -- INSERT INTO `sensors` (`id`, `name`, `sensor_type`, `active`) VALUES (1, 'Smoke Sensor in 606', 2, 0), (2, 'Sensor For Temperature in 606', 1, 0), (3, 'Movement Sensor in 606', 3, 0), (4, 'Manual Alarm in 606', 4, 0); -- -------------------------------------------------------- -- -- Table structure for table `sensor_types` -- CREATE TABLE `sensor_types` ( `id` int(11) NOT NULL, `name` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Dumping data for table `sensor_types` -- INSERT INTO `sensor_types` (`id`, `name`) VALUES (1, 'Temperature Sensor'), (2, 'Smoke Sensor'), (3, 'Movement Sensor'), (4, 'Manual Alarm'); -- -- Indexes for dumped tables -- -- -- Indexes for table `sensors` -- ALTER TABLE `sensors` ADD PRIMARY KEY (`id`); -- -- Indexes for table `sensor_types` -- ALTER TABLE `sensor_types` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `sensors` -- ALTER TABLE `sensors` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; -- -- AUTO_INCREMENT for table `sensor_types` -- ALTER TABLE `sensor_types` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
    true
    8accbecfedefda86501a98757f812a59c9205322
    SQL
    AlRusMil/db_231120
    /topic11/Optimization/task1(log).sql
    UTF-8
    2,922
    4.1875
    4
    []
    no_license
    -- 1. Создайте таблицу logs типа Archive. -- Пусть при каждом создании записи в таблицах users, catalogs, products -- в таблицу logs время и дата создания записи, название таблицы, -- идентификатор первичного ключа и содержимое поля name. USE shop; DROP TABLE IF EXISTS logs; CREATE TABLE logs( create_at DATETIME NOT NULL, tab_name VARCHAR(10) NOT NULL, key_value BIGINT UNSIGNED NOT NULL, name_value VARCHAR(255) NOT NULL ) ENGINE=ARCHIVE; DELIMITER // DROP TRIGGER IF EXISTS log_users_insert// CREATE TRIGGER log_users_insert AFTER INSERT ON shop.users FOR EACH ROW BEGIN INSERT INTO logs (create_at, tab_name, key_value, name_value) VALUES (CURRENT_TIMESTAMP, 'users', NEW.id, NEW.name); END// DELIMITER ; DELIMITER // DROP TRIGGER IF EXISTS log_catalogs_insert// CREATE TRIGGER log_catalogs_insert AFTER INSERT ON shop.catalogs FOR EACH ROW BEGIN INSERT INTO logs (create_at, tab_name, key_value, name_value) VALUES (CURRENT_TIMESTAMP, 'catalogs', NEW.id, NEW.name); END// DELIMITER ; DELIMITER // DROP TRIGGER IF EXISTS log_products_insert// CREATE TRIGGER log_products_insert AFTER INSERT ON shop.products FOR EACH ROW BEGIN INSERT INTO logs (create_at, tab_name, key_value, name_value) VALUES (CURRENT_TIMESTAMP, 'products', NEW.id, NEW.name); END// DELIMITER ; INSERT INTO users (name, birthday_at) VALUES ('Михаил', '1991-10-05'), ('Никита', '1984-12-12'); INSERT INTO users (name, birthday_at) VALUES ('Алексей', '1989-05-20'); INSERT INTO products (name, description, price, catalog_id) VALUES ('Intel Core i7-9100', 'Процессор для настольных персональных компьютеров, основанных на платформе Intel.', 17890.00, 1), ('Intel Core i7-7500', 'Процессор для настольных персональных компьютеров, основанных на платформе Intel.', 22700.00, 1); INSERT INTO products (name, description, price, catalog_id) VALUES ('AMD FXX-8320E', 'Процессор для настольных персональных компьютеров, основанных на платформе AMD.', 4720.00, 1), ('AMD FX-822320', 'Процессор для настольных персональных компьютеров, основанных на платформе AMD.', 9120.00, 1); INSERT INTO catalogs VALUES (NULL, 'Блок питания'); INSERT INTO catalogs VALUES (NULL, 'Системный блок'); INSERT INTO products (name, description, price, catalog_id) VALUES ('Acer Nitro N50-610', 'Системный блок Acer.', 81990.00, 7); SELECT * FROM users; SELECT * FROM catalogs; SELECT * FROM products; SELECT * FROM logs;
    true
    e21fac0d6d7e494106428408f44be5624fce1122
    SQL
    kiko-g/feup-bdad
    /SQL/gatilho3_adiciona.sql
    UTF-8
    340
    3.34375
    3
    []
    no_license
    .mode columns .headers on .nullvalue NULL PRAGMA foreign_keys = ON; -- Inserir na tabela de Stock o produto e por stock = 0 para cada loja CREATE TRIGGER insertProduto AFTER INSERT ON Produto FOR EACH ROW BEGIN INSERT INTO Stock(codigoBarras, idLoja, stock) SELECT NEW.codigoBarras, Loja.idLoja , 0 FROM Loja; END;
    true
    88c4735d8061270392f7dc0e876adc66d6b44658
    SQL
    eliwitt/SqlWork
    /tva/dds/Mine he.sql
    UTF-8
    254
    3.109375
    3
    []
    no_license
    select e_name, e_ina01, itmv02_e_name, i.itmv02_value from chaaedmn1.site_accp.dbo.element he inner join chaaedmn1.site_accp.dbo.item_mv_custom02 i on he.e_name = i.itmv02_e_name where he.e_ina01 like 'HOLDER,%' aND left(i.itmv02_value,3) = 'tva'
    true
    1a2768a05b782dae0e68c161acc0e74fb4df7f8b
    SQL
    Malagutte/training-back-base
    /dbs/transactions/files/sql/transaction-manager/oracle/upgrade_2_9_0_to_2_10_0/transaction-manager.sql
    UTF-8
    533
    3.40625
    3
    []
    no_license
    DROP INDEX ix_ap_trans_01; ALTER TABLE add_prop_transaction MODIFY add_prop_transaction_id VARCHAR2(255) NOT NULL; ALTER TABLE add_prop_transaction MODIFY property_key VARCHAR2(50) NOT NULL; ALTER TABLE add_prop_transaction ADD CONSTRAINT pk_add_prop_transaction PRIMARY KEY (add_prop_transaction_id, property_key); ALTER TABLE add_prop_transaction ADD CONSTRAINT fk_add_prop_tran2fin_txn FOREIGN KEY (add_prop_transaction_id) REFERENCES fin_txn(id); CREATE INDEX ix_ap_trans_01 ON add_prop_transaction(add_prop_transaction_id);
    true
    23098e0bbdf7a1c1910cfb7afe231635c8207be9
    SQL
    Maksim-Yeudakimenka/Northwind
    /Northwind/Scripts/Point 1/Subpoint 1.3/Task 3.sql
    UTF-8
    432
    3.625
    4
    []
    no_license
    -- Выбрать всех заказчиков из таблицы Customers, у которых название страны -- начинается на буквы из диапазона b и g, не используя оператор BETWEEN SELECT CustomerID, Country FROM Customers WHERE LEFT(Country, 1) >= 'B' AND LEFT(Country, 1) <= 'G' --WHERE LEFT(Country, 1) IN ('B', 'C', 'D', 'E', 'F', 'G') ORDER BY Country
    true
    4662d923521fe5f2c87eb233f3b92b70a001336d
    SQL
    ikhalid356/software-construction-labs
    /Lab6_Haseeb_Shah/Task2/db.sql
    UTF-8
    610
    3.078125
    3
    []
    no_license
    CREATE DATABASE IF NOT EXISTS University; CREATE TABLE IF NOT EXISTS Student ( ID INT auto_increment primary key, RegNo INT unique, Name VARCHAR(100), Section VARCHAR(5), Contact VARCHAR(20), Address VARCHAR(20) ); INSERT INTO Student (RegNo, Name, Section, Contact, Address) VALUES (11, "name1", "a", "12345", "Behind market"), (12, "name2", "b", "23456", "Beside market"), (13, "name3", "a", "34567", "Left of market"), (14, "name4", "c", "45678", "Right of market"), (15, "name5", "a", "56789", "Top of market");
    true
    710d966d6c461f48332d3f13f3cc16f37aded1e4
    SQL
    fbscott/BYU-I
    /CIT225 (Database Design & Development)/final/create_tables.sql
    UTF-8
    4,952
    3.484375
    3
    []
    no_license
    /****************************************************************************** * Drop all tables before adding *****************************************************************************/ DROP TABLE IF EXISTS studentdb.pres_details; DROP TABLE IF EXISTS studentdb.quote; DROP TABLE IF EXISTS studentdb.document_signer; DROP TABLE IF EXISTS studentdb.ticket; DROP TABLE IF EXISTS studentdb.military_branch; DROP TABLE IF EXISTS studentdb.pres; DROP TABLE IF EXISTS studentdb.vice_pres; DROP TABLE IF EXISTS studentdb.first_lady; DROP TABLE IF EXISTS studentdb.party; DROP TABLE IF EXISTS studentdb.document; DROP TABLE IF EXISTS studentdb.state; DROP TABLE IF EXISTS studentdb.reason_left_office; /****************************************************************************** * Create all tables *****************************************************************************/ CREATE TABLE IF NOT EXISTS studentdb.pres ( pres_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, first VARCHAR(80) NOT NULL, middle VARCHAR(80), last VARCHAR(80) NOT NULL ); CREATE TABLE IF NOT EXISTS studentdb.vice_pres ( vice_pres_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, first VARCHAR(80) NOT NULL, middle VARCHAR(80), last VARCHAR(80) NOT NULL ); CREATE TABLE IF NOT EXISTS studentdb.first_lady ( first_lady_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, first VARCHAR(80) NOT NULL, middle VARCHAR(80), last VARCHAR(80) NOT NULL ); CREATE TABLE IF NOT EXISTS studentdb.party ( party_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, name VARCHAR(80) NOT NULL, CONSTRAINT uc_party UNIQUE (name) ); CREATE TABLE IF NOT EXISTS studentdb.document ( document_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, title VARCHAR(80) NOT NULL, CONSTRAINT uc_document UNIQUE (title) ); CREATE TABLE IF NOT EXISTS studentdb.state ( state_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, name VARCHAR(80) NOT NULL, CONSTRAINT uc_state UNIQUE (name) ); CREATE TABLE IF NOT EXISTS studentdb.reason_left_office ( reason_left_office_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, reason VARCHAR(80) NOT NULL, CONSTRAINT uc_reason_left_office UNIQUE (reason) ); CREATE TABLE IF NOT EXISTS studentdb.military_branch ( military_branch_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, branch VARCHAR(80) NOT NULL, CONSTRAINT uc_military_branch UNIQUE (branch) ); CREATE TABLE IF NOT EXISTS studentdb.ticket ( ticket_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, pres_id INT NOT NULL, vice_pres_id INT, party_id INT NOT NULL, slogan VARCHAR(80), CONSTRAINT fk_ticket_pres FOREIGN KEY(pres_id) REFERENCES studentdb.pres(pres_id), CONSTRAINT fk_ticket_vice_pres FOREIGN KEY(vice_pres_id) REFERENCES studentdb.vice_pres(vice_pres_id), CONSTRAINT fk_ticket_party FOREIGN KEY(party_id) REFERENCES studentdb.party(party_id) ); CREATE TABLE IF NOT EXISTS studentdb.document_signer ( document_signer_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, document_id INT NOT NULL, pres_id INT NOT NULL, CONSTRAINT fk_document_signer_document FOREIGN KEY(document_id) REFERENCES studentdb.document(document_id), CONSTRAINT fk_document_signer_pres FOREIGN KEY(pres_id) REFERENCES studentdb.pres(pres_id) ); CREATE TABLE IF NOT EXISTS studentdb.quote ( quote_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, title VARCHAR(255) NOT NULL, pres_id INT NOT NULL, CONSTRAINT fk_quote_pres FOREIGN KEY(pres_id) REFERENCES studentdb.pres(pres_id) ); CREATE TABLE IF NOT EXISTS studentdb.pres_details ( pres_details_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, pres_id INT NOT NULL, vice_pres_id INT, party_id INT NOT NULL, state_id INT NOT NULL, terms_served INT NOT NULL, reason_left_office_id INT NOT NULL, military_branch_id INT, first_lady_id INT, living BOOLEAN NOT NULL, CONSTRAINT fk_pres_details_pres FOREIGN KEY(pres_id) REFERENCES studentdb.pres(pres_id), CONSTRAINT fk_pres_details_vice_pres FOREIGN KEY(vice_pres_id) REFERENCES studentdb.vice_pres(vice_pres_id), CONSTRAINT fk_pres_details_party FOREIGN KEY(party_id) REFERENCES studentdb.party(party_id), CONSTRAINT fk_pres_details_state FOREIGN KEY(state_id) REFERENCES studentdb.state(state_id), CONSTRAINT fk_pres_details_reason_left_office FOREIGN KEY(reason_left_office_id) REFERENCES studentdb.reason_left_office(reason_left_office_id), CONSTRAINT fk_pres_details_military_branch FOREIGN KEY(military_branch_id) REFERENCES studentdb.military_branch(military_branch_id), CONSTRAINT fk_pres_details_first_lady FOREIGN KEY(first_lady_id) REFERENCES studentdb.first_lady(first_lady_id) );
    true
    ad9c997861f78842d8924f9f90fe31573bb6caa1
    SQL
    sonitgregorio/taclobanairsofter
    /tag.sql
    UTF-8
    6,374
    3.125
    3
    [ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
    permissive
    -- phpMyAdmin SQL Dump -- version 4.5.1 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Oct 02, 2017 at 06:29 AM -- Server version: 10.1.19-MariaDB -- PHP Version: 5.5.38 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `tag` -- -- -------------------------------------------------------- -- -- Table structure for table `cart` -- CREATE TABLE `cart` ( `id` int(11) NOT NULL, `product` int(11) NOT NULL, `quantity` int(11) NOT NULL, `cid` int(11) NOT NULL, `price` decimal(11,2) NOT NULL, `status` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `cart` -- INSERT INTO `cart` (`id`, `product`, `quantity`, `cid`, `price`, `status`) VALUES (3, 3, 5, 2, '50.00', 1), (8, 4, 5, 1, '50.00', 1), (9, 2, 5, 1, '300.00', 1), (10, 2, 20, 1, '300.00', 0); -- -------------------------------------------------------- -- -- Table structure for table `contacts` -- CREATE TABLE `contacts` ( `id` int(11) NOT NULL, `first_name` varchar(255) NOT NULL, `last_name` varchar(255) NOT NULL, `dob` date NOT NULL, `pob` varchar(255) NOT NULL, `work` varchar(255) NOT NULL, `location` varchar(255) NOT NULL, `contact` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `gender` varchar(255) NOT NULL, `image` text NOT NULL, `deleted` int(1) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `contacts` -- INSERT INTO `contacts` (`id`, `first_name`, `last_name`, `dob`, `pob`, `work`, `location`, `contact`, `email`, `gender`, `image`, `deleted`) VALUES (1, 'John Pauls', 'Bueno', '1993-02-07', 'Alang-Alang Leyte', 'Developer', 'Tacloban', '09172580624', '[email protected]', 'male', '65427d0b0a44a32151b6000054d4f457.jpg', 0), (2, 'Dearly', 'IDK', '0000-00-00', 'Tacloban City', '9172580624', 'Tacloban City', '+639172580624', '[email protected]', 'male', '16e96fac6e58a96a647a7508c02fc6fb.jpg', 0), (3, 'Test', 'Test', '2017-10-01', 'Tacloban', 'Developer', 'Tacloban', '09172580624', '[email protected]', 'male', 'person.png', 1), (4, 'Test', 'Contact', '2017-10-02', 'Tacloban', 'Developer', 'Tacloban', '09172580624', '[email protected]', 'male', 'person.png', 0), (5, 'Tacloban', 'Try', '2017-10-02', 'Tacloban', 'Fighter', 'Tacloban', '064613274968', '[email protected]', 'male', 'person.png', 1), (6, 'Dev', 'Software', '2017-10-02', 'Tacloban', 'Developer', 'Tacloban', '09090909', '[email protected]', 'male', 'person.png', 0); -- -------------------------------------------------------- -- -- Table structure for table `position` -- CREATE TABLE `position` ( `id` int(11) NOT NULL, `description` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `position` -- INSERT INTO `position` (`id`, `description`) VALUES (1, 'Administrator'), (2, 'User'); -- -------------------------------------------------------- -- -- Table structure for table `products` -- CREATE TABLE `products` ( `id` int(11) NOT NULL, `item_name` varchar(255) NOT NULL, `quantity` int(11) NOT NULL, `serial` varchar(255) NOT NULL, `price` double(11,2) NOT NULL, `image` text NOT NULL, `short_description` text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `products` -- INSERT INTO `products` (`id`, `item_name`, `quantity`, `serial`, `price`, `image`, `short_description`) VALUES (2, 'Item 2', 0, '3587654', 300.00, '41e94003ad95334c4e5fe43a7488b393.jpg', 'Sample Description for this item'), (3, 'test item 3', 20, '1324a682', 50.00, '4dce267dd0c505d418792c02bf6a46c3.jpg', 'Armalite'), (4, 'Product Image 1', 15, 'XYYTZZ', 50.00, '0c074389da664ac791fcbb71d882a88a.jpg', 'Gun'), (5, 'Riffle', 50, '123456789', 1500.00, 'no_image.png', 'Colt® is the original manufacturer of the M16 rifles and M4 carbines used by the US Armed Forces; and through those 40+ years of experience has gained a wealth of knowledge in producing reliable weapons that function in harsh environments.'); -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE `users` ( `id` int(11) NOT NULL, `password` text NOT NULL, `position` int(11) NOT NULL, `pid` int(11) NOT NULL, `username` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `users` -- INSERT INTO `users` (`id`, `password`, `position`, `pid`, `username`) VALUES (1, '40be4e59b9a2a2b5dffb918c0e86b3d7', 1, 1, 'john.bueno'), (2, '40be4e59b9a2a2b5dffb918c0e86b3d7', 2, 2, 'sales'), (3, '098f6bcd4621d373cade4e832627b4f6', 2, 3, 'sales2'), (4, 'd41d8cd98f00b204e9800998ecf8427e', 1, 4, ''), (5, '40be4e59b9a2a2b5dffb918c0e86b3d7', 2, 3, 'tacloban'), (6, '5858ea228cc2edf88721699b2c8638e5', 2, 4, 'test.contact'), (7, '5858ea228cc2edf88721699b2c8638e5', 2, 5, 'tac.try'), (8, '5858ea228cc2edf88721699b2c8638e5', 2, 6, 'sample'); -- -- Indexes for dumped tables -- -- -- Indexes for table `cart` -- ALTER TABLE `cart` ADD PRIMARY KEY (`id`); -- -- Indexes for table `contacts` -- ALTER TABLE `contacts` ADD PRIMARY KEY (`id`); -- -- Indexes for table `position` -- ALTER TABLE `position` ADD PRIMARY KEY (`id`); -- -- Indexes for table `products` -- ALTER TABLE `products` ADD PRIMARY KEY (`id`); -- -- Indexes for table `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `cart` -- ALTER TABLE `cart` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11; -- -- AUTO_INCREMENT for table `contacts` -- ALTER TABLE `contacts` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT for table `position` -- ALTER TABLE `position` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT for table `products` -- ALTER TABLE `products` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6; -- -- AUTO_INCREMENT for table `users` -- ALTER TABLE `users` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
    true
    69b7ba0fcf42f73293e3cefe07ebc94b200a04a4
    SQL
    hqottsz/MXI
    /assetmanagement-database/src/upgrade/plsql/lib/current/sql/0040-OPER-25604.sql
    UTF-8
    1,917
    2.765625
    3
    []
    no_license
    --liquibase formatted sql --changeSet OPER-25604:1 stripComments:false endDelimiter:\n\s*/\s*\n|\n\s*/\s*$ --comment insert new config parm BEGIN utl_migr_data_pkg.config_parm_insert( 'CONTENT_SECURITY_POLICY_MIXED_CONTENT_DIRECTIVE', 'HTTP', 'Declares which mixed-content directive to append to the Content-Security-Policy response header when HTTPS is used. A value of UPGRADE will tell the browser to transparently change HTTP resource URLs to HTTPS, while a value of BLOCK will tell the browser to prevent any resources from being fetched over HTTP.', 'GLOBAL', 'UPGRADE/BLOCK', 'UPGRADE', 1, 'Security', '8.3-SP2', 0 ); END; / --changeSet OPER-25604:2 stripComments:false endDelimiter:\n\s*/\s*\n|\n\s*/\s*$ --comment insert new config parm BEGIN utl_migr_data_pkg.config_parm_insert( 'ENABLE_STRICT_TRANSPORT_SECURITY_HEADER', 'HTTP', 'Controls if the Strict-Transport-Security header is added to each HTTP response. This header tells the browser that it should only access Maintenix using HTTPS, instead of using HTTP.', 'GLOBAL', 'TRUE/FALSE', 'TRUE', 1, 'Security', '8.3-SP2', 0 ); END; / --changeSet OPER-25604:3 stripComments:false endDelimiter:\n\s*/\s*\n|\n\s*/\s*$ --comment insert new config parm BEGIN utl_migr_data_pkg.config_parm_insert( 'STRICT_TRANSPORT_SECURITY_MAX_AGE', 'HTTP', 'The time, in seconds, that the browser should remember that a site is only to be accessed using HTTPS. This value is used to populate the max-age attribute of the Strict-Transport-Security header, the presence of which is controlled by the ENABLE_STRICT_TRANSPORT_SECURITY_HEADER parameter. The default value is 86400 seconds (24 hours).', 'GLOBAL', 'INTEGER', '86400', 1, 'Security', '8.3-SP2', 0 ); END; /
    true
    4438f3ed8ac88787c92015510e17c29f014969d0
    SQL
    Wagsnerlund/bloom
    /express-back-end/db/schema/03_plots.sql
    UTF-8
    232
    2.625
    3
    []
    no_license
    DROP TABLE IF EXISTS plots CASCADE; CREATE TABLE plots ( id SERIAL PRIMARY KEY NOT NULL, user_id INTEGER REFERENCES users(id) ON DELETE CASCADE, dimensions_length SMALLINT, dimensions_width SMALLINT, location VARCHAR(50) NOT NULL );
    true
    359acf92c294fa8a57c84bc65b3a427379987f56
    SQL
    thomasfuhringer/pylax
    /Hinterland/Hinterland.sql
    UTF-8
    4,074
    3.734375
    4
    []
    no_license
    -- Create script for Hinterland -- Thomas Führinger, 2017-03-16 -- modified 2017-08-29 ; PRAGMA application_id = 7; PRAGMA encoding = "UTF-8"; DROP TABLE Person; CREATE TABLE Person ( PersonID INTEGER PRIMARY KEY, FirstName TEXT, MiddleName TEXT, LastName TEXT, Transcription TEXT, EMail TEXT, Phone TEXT, Picture BLOB, PublicKey BLOB, Handle TEXT COLLATE NOCASE UNIQUE, Language INTEGER, -- ISO 3166-1 Location BLOB, Password BLOB, PasswordSalt BLOB, ModUser INTEGER, ModDate TIMESTAMP DEFAULT CURRENT_TIMESTAMP); INSERT INTO Person (PersonID, FirstName, LastName, Handle) VALUES (0, 'Main', 'Administrator', 'Admin'); DROP TABLE Org; CREATE TABLE Org ( OrgID INTEGER PRIMARY KEY, Parent INTEGER, Name TEXT, Description TEXT, Logo BLOB, HostName TEXT, HostPort INTEGER, PublicKey BLOB, Location BLOB, ModUser INTEGER, ModDate TIMESTAMP DEFAULT CURRENT_TIMESTAMP, FOREIGN KEY (Parent) REFERENCES Page(OrgID)); INSERT INTO Org (OrgID, Name, HostName, HostPort) VALUES (1, 'Hinterland Center', '45.76.133.182', 1550); DROP TABLE Enum; CREATE TABLE Enum ( -- Type 0: general (1: token), Type 1: Role types, 2: encryption keys (0: public, 1: private) Type INTEGER, Item INTEGER, Name TEXT, ModUser INTEGER DEFAULT 0, ModDate TIMESTAMP DEFAULT CURRENT_TIMESTAMP); CREATE UNIQUE INDEX EnumPK ON Enum (Type, Item); INSERT INTO Enum (Type, Item, Name) VALUES (0, 0, '0'); INSERT INTO Enum (Type, Item, Name) VALUES (0, 1, NULL); INSERT INTO Enum (Type, Item, Name) VALUES (1, 0, 'Observer'); INSERT INTO Enum (Type, Item, Name) VALUES (1, 10, 'Member'); INSERT INTO Enum (Type, Item, Name) VALUES (1, 20, 'Employee'); INSERT INTO Enum (Type, Item, Name) VALUES (1, 50, 'Manager'); INSERT INTO Enum (Type, Item, Name) VALUES (2, 0, NULL); INSERT INTO Enum (Type, Item, Name) VALUES (2, 1, NULL); DROP TABLE Role; CREATE TABLE Role ( Org INTEGER, Person INTEGER, Type INTEGER DEFAULT 0, Title TEXT, Public INTEGER DEFAULT 0, Administrator INTEGER DEFAULT 0, ModUser INTEGER, ModDate TIMESTAMP DEFAULT CURRENT_TIMESTAMP); CREATE UNIQUE INDEX RolePK ON Role (Org, Person); INSERT INTO Role (Org, Person, Type, Administrator) VALUES (NULL, 0, 0, 1); -- Administrator everywhere DROP TABLE Page; CREATE TABLE Page ( PageID INTEGER PRIMARY KEY, KeyWord TEXT COLLATE NOCASE, Org INTEGER, Person INTEGER, Heading TEXT, Text TEXT, Data BLOB, Tags TEXT, Language INTEGER, Parent INTEGER, Views INTEGER DEFAULT 0, LastView TIMESTAMP, ModUser INTEGER, ModDate TIMESTAMP DEFAULT CURRENT_TIMESTAMP, FOREIGN KEY (Parent) REFERENCES Page(PageID)); CREATE UNIQUE INDEX PageUK ON Page (KeyWord, Parent, Org, Person, Language); INSERT INTO Page (KeyWord, Text) VALUES (NULL, '### Welcome to Hinterland!'); DROP TABLE Message; CREATE TABLE Message ( MessageID INTEGER PRIMARY KEY, Person INTEGER NOT NULL, Org INTEGER, Heading TEXT, Text TEXT, Data BLOB, Encrypted INTEGER DEFAULT 0, Page INTEGER, Tags TEXT, Parent INTEGER, Location BLOB, ModUser INTEGER DEFAULT 0, ModDate TIMESTAMP DEFAULT CURRENT_TIMESTAMP, FOREIGN KEY (Parent) REFERENCES Page(MessageID)); DROP TABLE Addressee; CREATE TABLE Addressee ( Message INTEGER, Person INTEGER, Org INTEGER, Delivered TIMESTAMP, Read TIMESTAMP); CREATE UNIQUE INDEX AddresseePK ON Addressee (Message, Person, Org); DROP TABLE Log; CREATE TABLE Log ( Level INTEGER, Session INTEGER, Message TEXT, User INTEGER, ModDate TIMESTAMP DEFAULT CURRENT_TIMESTAMP); DROP TABLE Item; CREATE TABLE Item ( ItemID INTEGER PRIMARY KEY, Name TEXT UNIQUE, Description TEXT, Picture BLOB, Parent INTEGER, ModUser INTEGER, ModDate TIMESTAMP DEFAULT CURRENT_TIMESTAMP); INSERT INTO Item (ItemID, Name, Description) VALUES ( 1, 'Apple', 'Delicious fruit'); INSERT INTO Item (ItemID, Name, Description) VALUES ( 2, 'Orange', 'Another delicious fruit');
    true
    8ae5ee71800f6b5deee9a20097d70c6f9b4e9365
    SQL
    NandunGodage/Year1-Sem2
    /ISDM/Lab Sheets/Lab Sheet 6/db_Script.sql
    UTF-8
    1,930
    4.40625
    4
    [ "MIT" ]
    permissive
    # 1. Make a list of customer names and the respective states they live in. SELECT (fname + lname) AS 'Name', s.sname AS 'State' FROM customer c, state s WHERE s.code = c.state; # 2. Display the stock details with the corresponding manufacture’s name. SELECT s.description,m.manu_name AS 'Manufacture Name' FROM manufact m, stock s WHERE s.manu_code = m.manu_code; # 3. Prepare a list of manufacturers that supply kickboards. SELECT m.manu_name AS 'Manufacture Name',s.description AS 'Description' FROM manufact m,stock s WHERE s.manu_code = m.manu_code AND s.description = 'kick board'; # 4. Find the number of customers live in each state. Display the name of the state and the number of customers. SELECT s.sname AS 'State Name',COUNT(c.customer_num) AS 'No of Customers' FROM customer c, state s WHERE c.state = s.code GROUP BY s.sname; # 5. Make a list of customers who have placed orders that weigh greater than 180. Display the customer’s First name along with the shipping weight. SELECT c.fname AS 'Name', SUM(o.ship_weight) AS 'Shipping Weight' FROM customer c, orders o WHERE c.customer_num = o.customer_num GROUP BY c.fname HAVING SUM(o.ship_weight) > 180; # 6. Who are the customers that have ordered more than 100 items? SELECT c.fname AS 'Name',SUM(i.quantity) AS 'Quantity' FROM customer c, orders o,items i WHERE c.customer_num = o.customer_num AND o.order_num = i.order_num GROUP BY c.fname HAVING SUM(i.quantity) > 100; # 7. Find the orders which are having a total price greater than $20,000. Prepare a list containing order number, the first name of the customer who has placed the order and the total price. # Not yet completed SELECT o.order_num AS 'Order No', i.total_price AS 'Total Price' FROM customer c,orders o,items i WHERE c.customer_num = o.customer_num AND o.order_num = i.order_num GROUP BY o.order_num; # 8. Display the First name of the customers who have ordered swimcaps.
    true
    cc4c978c7e4cce04bb2641689dd55ddef4395b76
    SQL
    leprekon91/AES14
    /src/createDB.sql
    UTF-8
    11,293
    3.84375
    4
    [ "MIT" ]
    permissive
    -- MySQL Workbench Forward Engineering SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0; SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0; SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL,ALLOW_INVALID_DATES'; -- ----------------------------------------------------- -- Schema AES -- ----------------------------------------------------- -- ----------------------------------------------------- -- Schema AES -- ----------------------------------------------------- CREATE SCHEMA IF NOT EXISTS `AES` DEFAULT CHARACTER SET utf8 ; USE `AES` ; -- ----------------------------------------------------- -- Table `users` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `users` ( `user_name` VARCHAR(50) NOT NULL, `pass` VARCHAR(50) NOT NULL, `first_name` VARCHAR(45) NOT NULL, `last_name` VARCHAR(45) NOT NULL, `type` INT NOT NULL, PRIMARY KEY (`user_name`), UNIQUE INDEX `username_UNIQUE` (`user_name` ASC)) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `subjects` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `subjects` ( `id_subject` INT(2) NOT NULL, `subject_name` VARCHAR(45) NOT NULL, PRIMARY KEY (`id_subject`), UNIQUE INDEX `idsubjects_UNIQUE` (`id_subject` ASC)) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `courses` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `courses` ( `id_course` INT(2) NOT NULL, `subjects_id_subjects` INT NOT NULL, `course_name` VARCHAR(45) NULL, PRIMARY KEY (`id_course`), INDEX `fk_courses_subjects_idx` (`subjects_id_subjects` ASC), CONSTRAINT `fk_courses_subjects` FOREIGN KEY (`subjects_id_subjects`) REFERENCES `AES`.`subjects` (`id_subject`) ON DELETE NO ACTION ON UPDATE NO ACTION) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `student_studies_in_course` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `student_studies_in_course` ( `student_name` VARCHAR(50) NOT NULL, `courses_id_course` INT(2) NOT NULL, PRIMARY KEY (`student_name`, `courses_id_course`), INDEX `fk_users_has_courses_courses1_idx` (`courses_id_course` ASC), INDEX `fk_users_has_courses_users1_idx` (`student_name` ASC), CONSTRAINT `fk_users_has_courses_users1` FOREIGN KEY (`student_name`) REFERENCES `AES`.`users` (`user_name`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `fk_users_has_courses_courses1` FOREIGN KEY (`courses_id_course`) REFERENCES `AES`.`courses` (`id_course`) ON DELETE NO ACTION ON UPDATE NO ACTION) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `questions` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `questions` ( `id_question` INT(3) NOT NULL AUTO_INCREMENT, `question_text` TEXT(200) NOT NULL, `ans_1` TEXT(200) NOT NULL, `ans_2` TEXT(200) NOT NULL, `ans_3` TEXT(200) NOT NULL, `ans_4` TEXT(200) NOT NULL, `indicator` INT NULL, `subjects_id_subject` INT NOT NULL, `teacher_user` VARCHAR(50) NOT NULL, PRIMARY KEY (`id_question`, `subjects_id_subject`), INDEX `fk_questions_subjects1_idx` (`subjects_id_subject` ASC), INDEX `fk_questions_users1_idx` (`teacher_user` ASC), CONSTRAINT `fk_questions_subjects1` FOREIGN KEY (`subjects_id_subject`) REFERENCES `AES`.`subjects` (`id_subject`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `fk_questions_users1` FOREIGN KEY (`teacher_user`) REFERENCES `AES`.`users` (`user_name`) ON DELETE NO ACTION ON UPDATE NO ACTION) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `teachers_teach_subjects` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `teachers_teach_subjects` ( `teacher_name` VARCHAR(50) NOT NULL, `subjects_id_subject` INT NOT NULL, PRIMARY KEY (`teacher_name`, `subjects_id_subject`), INDEX `fk_users_has_subjects_subjects1_idx` (`subjects_id_subject` ASC), INDEX `fk_users_has_subjects_users1_idx` (`teacher_name` ASC), CONSTRAINT `fk_users_has_subjects_users1` FOREIGN KEY (`teacher_name`) REFERENCES `AES`.`users` (`user_name`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `fk_users_has_subjects_subjects1` FOREIGN KEY (`subjects_id_subject`) REFERENCES `AES`.`subjects` (`id_subject`) ON DELETE NO ACTION ON UPDATE NO ACTION) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `exams` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `exams` ( `id_exam` INT(2) NOT NULL AUTO_INCREMENT, `exam_duration` INT NULL, `teacher_instructions` TEXT(200) NULL, `student_instructions` TEXT(200) NULL, `subjects_id_subject` INT NOT NULL, `courses_id_course` INT NOT NULL, `users_user_name` VARCHAR(50) NOT NULL, `used` TINYINT(1) NOT NULL, PRIMARY KEY (`id_exam`, `subjects_id_subject`, `courses_id_course`), INDEX `fk_exams_subjects1_idx` (`subjects_id_subject` ASC), INDEX `fk_exams_courses1_idx` (`courses_id_course` ASC), INDEX `fk_exams_users1_idx` (`users_user_name` ASC), CONSTRAINT `fk_exams_subjects1` FOREIGN KEY (`subjects_id_subject`) REFERENCES `AES`.`subjects` (`id_subject`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `fk_exams_courses1` FOREIGN KEY (`courses_id_course`) REFERENCES `AES`.`courses` (`id_course`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `fk_exams_users1` FOREIGN KEY (`users_user_name`) REFERENCES `AES`.`users` (`user_name`) ON DELETE NO ACTION ON UPDATE NO ACTION) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `exams_has_questions` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `exams_has_questions` ( `exams_id_exam` INT NOT NULL, `questions_id_question` INT NOT NULL, `exam_courses_id` INT NOT NULL, `questions_subjects_id_subject` INT NOT NULL, `question_grade` INT NULL, PRIMARY KEY (`exams_id_exam`, `questions_id_question`, `exam_courses_id`, `questions_subjects_id_subject`), INDEX `fk_exams_has_questions_questions1_idx` (`questions_id_question` ASC, `questions_subjects_id_subject` ASC), INDEX `fk_exams_has_questions_exams1_idx` (`exams_id_exam` ASC), CONSTRAINT `fk_exams_has_questions_exams1` FOREIGN KEY (`exams_id_exam`) REFERENCES `AES`.`exams` (`id_exam`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `fk_exams_has_questions_questions1` FOREIGN KEY (`questions_id_question` , `questions_subjects_id_subject`) REFERENCES `AES`.`questions` (`id_question` , `subjects_id_subject`) ON DELETE NO ACTION ON UPDATE NO ACTION) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `student_answers` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `student_answers` ( `answer` INT NOT NULL, `exams_has_questions_exams_id_exam` INT NOT NULL, `exams_has_questions_questions_id_question` INT NOT NULL, `exams_has_questions_exam_courses_id` INT NOT NULL, `exams_has_questions_questions_subjects_id_subject` INT NOT NULL, `student_user` VARCHAR(50) NOT NULL, INDEX `fk_student_answers_exams_has_questions1_idx` (`exams_has_questions_exams_id_exam` ASC, `exams_has_questions_questions_id_question` ASC, `exams_has_questions_exam_courses_id` ASC, `exams_has_questions_questions_subjects_id_subject` ASC), INDEX `fk_student_answers_users1_idx` (`student_user` ASC), PRIMARY KEY (`exams_has_questions_exams_id_exam`, `exams_has_questions_questions_id_question`, `exams_has_questions_exam_courses_id`, `exams_has_questions_questions_subjects_id_subject`, `student_user`), CONSTRAINT `fk_student_answers_exams_has_questions1` FOREIGN KEY (`exams_has_questions_exams_id_exam` , `exams_has_questions_questions_id_question` , `exams_has_questions_exam_courses_id` , `exams_has_questions_questions_subjects_id_subject`) REFERENCES `AES`.`exams_has_questions` (`exams_id_exam` , `questions_id_question` , `exam_courses_id` , `questions_subjects_id_subject`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `fk_student_answers_users1` FOREIGN KEY (`student_user`) REFERENCES `AES`.`users` (`user_name`) ON DELETE NO ACTION ON UPDATE NO ACTION) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `exam_solutions` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `exam_solutions` ( `student_user` VARCHAR(50) NOT NULL, `exams_id_exam` INT NOT NULL, `exams_subjects_id_subject` INT NOT NULL, `exams_courses_id_course` INT NOT NULL, `grade` INT NULL, `approved` TINYINT(1) NOT NULL, `teacher_notes` TEXT(200) NULL, `teacher_user` VARCHAR(50) NOT NULL, `execution_duration` VARCHAR(45) NULL, `suspected_of_copying` TINYINT(1) NOT NULL, `exam_type` VARCHAR(45) NOT NULL, PRIMARY KEY (`student_user`, `exams_id_exam`, `exams_subjects_id_subject`, `exams_courses_id_course`), INDEX `fk_users_has_exams_exams1_idx` (`exams_id_exam` ASC, `exams_subjects_id_subject` ASC, `exams_courses_id_course` ASC), INDEX `fk_users_has_exams_users1_idx` (`student_user` ASC), INDEX `fk_student_grades_users1_idx` (`teacher_user` ASC), CONSTRAINT `fk_users_has_exams_users1` FOREIGN KEY (`student_user`) REFERENCES `AES`.`users` (`user_name`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `fk_users_has_exams_exams1` FOREIGN KEY (`exams_id_exam` , `exams_subjects_id_subject` , `exams_courses_id_course`) REFERENCES `AES`.`exams` (`id_exam` , `subjects_id_subject` , `courses_id_course`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `fk_student_grades_users1` FOREIGN KEY (`teacher_user`) REFERENCES `AES`.`users` (`user_name`) ON DELETE NO ACTION ON UPDATE NO ACTION) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `word_file_solutions` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `word_file_solutions` ( `exam_solutions_student_user` VARCHAR(50) NOT NULL, `exam_solutions_exams_id_exam` INT NOT NULL, `exam_solutions_exams_subjects_id_subject` INT NOT NULL, `exam_solutions_exams_courses_id_course` INT NOT NULL, `word_file_add` VARCHAR(45) NOT NULL, PRIMARY KEY (`exam_solutions_student_user`, `exam_solutions_exams_id_exam`, `exam_solutions_exams_subjects_id_subject`, `exam_solutions_exams_courses_id_course`), CONSTRAINT `fk_word_file_solutions_exam_solutions1` FOREIGN KEY (`exam_solutions_student_user` , `exam_solutions_exams_id_exam` , `exam_solutions_exams_subjects_id_subject` , `exam_solutions_exams_courses_id_course`) REFERENCES `AES`.`exam_solutions` (`student_user` , `exams_id_exam` , `exams_subjects_id_subject` , `exams_courses_id_course`) ON DELETE NO ACTION ON UPDATE NO ACTION) ENGINE = InnoDB; SET SQL_MODE=@OLD_SQL_MODE; SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS; SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS;
    true
    a1e2b6e8b150b883dcecf5c202afc1650555181d
    SQL
    kaoutharElbakouri/contactManagement
    /contacts.sql
    UTF-8
    4,394
    3.046875
    3
    []
    no_license
    -- phpMyAdmin SQL Dump -- version 5.1.0 -- https://www.phpmyadmin.net/ -- -- Hôte : 127.0.0.1 -- Généré le : sam. 14 août 2021 à 13:28 -- Version du serveur : 10.4.19-MariaDB -- Version de PHP : 8.0.6 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Base de données : `contacts` -- -- -------------------------------------------------------- -- -- Structure de la table `gender` -- CREATE TABLE `gender` ( `idg` int(11) NOT NULL, `lib` varchar(50) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Déchargement des données de la table `gender` -- INSERT INTO `gender` (`idg`, `lib`) VALUES (1, 'female'), (2, 'male'); -- -------------------------------------------------------- -- -- Structure de la table `groupe` -- CREATE TABLE `groupe` ( `id1` int(11) NOT NULL, `groupeName` varchar(11) NOT NULL, `Icon` varchar(250) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Déchargement des données de la table `groupe` -- INSERT INTO `groupe` (`id1`, `groupeName`, `Icon`) VALUES (25, 'amie', 'handwritten-lettering-welcome-to-our-online-store-vector-illustration-vector-illustration-handwritten-lettering-welcome-to-174735689.jpg'); -- -------------------------------------------------------- -- -- Structure de la table `groupepersonne` -- CREATE TABLE `groupepersonne` ( `idgp` int(11) NOT NULL, `id` int(11) NOT NULL, `id1` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Déchargement des données de la table `groupepersonne` -- INSERT INTO `groupepersonne` (`idgp`, `id`, `id1`) VALUES (23, 51, 23), (24, 51, 24), (25, 52, 24), (26, 51, 25), (27, 52, 25), (28, 54, 26); -- -------------------------------------------------------- -- -- Structure de la table `personne` -- CREATE TABLE `personne` ( `id` int(11) NOT NULL, `firstName` varchar(50) DEFAULT NULL, `lastName` varchar(50) DEFAULT NULL, `perEmail` varchar(255) DEFAULT NULL, `proEmail` varchar(255) DEFAULT NULL, `image` longblob DEFAULT NULL, `telNo1` varchar(20) DEFAULT NULL, `telNo2` varchar(20) DEFAULT NULL, `address` varchar(255) DEFAULT NULL, `idg` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Déchargement des données de la table `personne` -- INSERT INTO `personne` (`id`, `firstName`, `lastName`, `perEmail`, `proEmail`, `image`, `telNo1`, `telNo2`, `address`, `idg`) VALUES (54, 'kaouthar ', 'abakouy', '[email protected]', '[email protected]', 0x70686f746f312e706e67, '0611298878', '0698754123', 'tetouan', 1), (55, 'kaouthar ', 'elbakouri', '[email protected]', '[email protected]', 0x3230303732303231323234373035333631333038363032313330202831292e706e67, '1235', '0698754123', 'meknes', 1); -- -- Index pour les tables déchargées -- -- -- Index pour la table `gender` -- ALTER TABLE `gender` ADD PRIMARY KEY (`idg`); -- -- Index pour la table `groupe` -- ALTER TABLE `groupe` ADD PRIMARY KEY (`id1`); -- -- Index pour la table `groupepersonne` -- ALTER TABLE `groupepersonne` ADD PRIMARY KEY (`idgp`); -- -- Index pour la table `personne` -- ALTER TABLE `personne` ADD PRIMARY KEY (`id`), ADD KEY `idg` (`idg`); -- -- AUTO_INCREMENT pour les tables déchargées -- -- -- AUTO_INCREMENT pour la table `gender` -- ALTER TABLE `gender` MODIFY `idg` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; -- -- AUTO_INCREMENT pour la table `groupe` -- ALTER TABLE `groupe` MODIFY `id1` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=27; -- -- AUTO_INCREMENT pour la table `groupepersonne` -- ALTER TABLE `groupepersonne` MODIFY `idgp` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=29; -- -- AUTO_INCREMENT pour la table `personne` -- ALTER TABLE `personne` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=56; -- -- Contraintes pour les tables déchargées -- -- -- Contraintes pour la table `personne` -- ALTER TABLE `personne` ADD CONSTRAINT `personne_ibfk_1` FOREIGN KEY (`idg`) REFERENCES `gender` (`idg`); COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
    true
    cc88b9f2838737532225ff96debe386d39cf1daa
    SQL
    DougZheng/kingdom_training
    /bin/gmall_build.sql
    UTF-8
    53,014
    3.453125
    3
    []
    no_license
    use gmall; drop table if exists ods_log; CREATE EXTERNAL TABLE ods_log ( line string) PARTITIONED BY ( dt string) -- 按照时间创建分区 STORED AS -- 指定存储方式,读数据采用LzoTextInputFormat; INPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' LOCATION '/warehouse/gmall/ods/ods_log' -- 指定数据在hdfs上的存储位置 ; drop table if exists ods_order_info; create external table ods_order_info ( id string COMMENT '编号', consignee string COMMENT '收货人', consignee_tel string COMMENT '收件人电话', final_total_amount decimal(16,2) COMMENT '总金额', order_status string COMMENT '订单状态', user_id string COMMENT '用户id', delivery_address string COMMENT '送货地址', order_comment string COMMENT '订单备注', out_trade_no string COMMENT '订单交易编号(第三方支付用)', trade_body string COMMENT '订单描述(第三方支付用)', create_time string COMMENT '创建时间', operate_time string COMMENT '操作时间', expire_time string COMMENT '失效时间', tracking_no string COMMENT '物流单编号', parent_order_id string COMMENT '父订单编号', img_url string COMMENT '图片路径', province_id string COMMENT '地区', benefit_reduce_amount decimal(16,2) COMMENT '优惠金额', original_total_amount decimal(16,2) COMMENT '原价金额', feight_fee decimal(16,2) COMMENT '运费' ) COMMENT '订单表' PARTITIONED BY ( dt string) row format delimited fields terminated by '\t' STORED AS INPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' location '/warehouse/gmall/ods/ods_order_info/'; drop table if exists ods_order_detail; create external table ods_order_detail ( id string COMMENT '编号', order_id string COMMENT '订单编号', user_id string COMMENT '用户id', sku_id string COMMENT 'sku_id', sku_name string COMMENT 'sku名称(冗余)', img_url string COMMENT '图片名称(冗余)', order_price decimal(16,2) COMMENT '购买价格(下单时sku价格)', sku_num bigint COMMENT '购买个数', create_time string COMMENT '创建时间', source_type string COMMENT '来源类型', source_id string COMMENT '来源编号' ) COMMENT '订单详情表' PARTITIONED BY ( dt string) row format delimited fields terminated by '\t' STORED AS INPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' location '/warehouse/gmall/ods/ods_order_detail/'; drop table if exists ods_sku_info; create external table ods_sku_info ( id string COMMENT 'skuid(itemID)', spu_id string COMMENT 'spuid', price decimal(16,2) COMMENT '价格', sku_name string COMMENT 'sku名称', sku_desc string COMMENT '商品规格描述', weight decimal(16,2) COMMENT '重量', tm_id string COMMENT '品牌(冗余)', category3_id string COMMENT '三级分类id(冗余)', sku_default_img string COMMENT '默认显示图片(冗余)', create_time string COMMENT '创建时间' ) COMMENT 'SKU商品表' PARTITIONED BY ( dt string) row format delimited fields terminated by '\t' STORED AS INPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' location '/warehouse/gmall/ods/ods_sku_info/'; drop table if exists ods_user_info; create external table ods_user_info ( id string COMMENT '编号', login_name string COMMENT '用户名称', nick_name string COMMENT '用户昵称', passwd string COMMENT '用户密码', name string COMMENT '用户姓名', phone_num string COMMENT '手机号', email string COMMENT '邮箱', head_img string COMMENT '头像', user_level string COMMENT '用户级别', birthday string COMMENT '用户生日', gender string COMMENT '性别 M男,F女', create_time string COMMENT '创建时间', operate_time string COMMENT '修改时间' ) COMMENT '用户表' PARTITIONED BY ( dt string) row format delimited fields terminated by '\t' STORED AS INPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' location '/warehouse/gmall/ods/ods_user_info/'; drop table if exists ods_base_category1; create external table ods_base_category1 ( id string COMMENT '编号', name string COMMENT '分类名称' ) COMMENT '商品一级分类表' PARTITIONED BY ( dt string) row format delimited fields terminated by '\t' STORED AS INPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' location '/warehouse/gmall/ods/ods_base_category1/'; drop table if exists ods_base_category2; create external table ods_base_category2 ( id string COMMENT '编号', name string COMMENT '二级分类名称', category1_id string COMMENT '一级分类编号' ) COMMENT '商品二级分类表' PARTITIONED BY ( dt string) row format delimited fields terminated by '\t' STORED AS INPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' location '/warehouse/gmall/ods/ods_base_category2/'; drop table if exists ods_base_category3; create external table ods_base_category3 ( id string COMMENT '编号', name string COMMENT '三级分类名称', category2_id string COMMENT '二级分类编号' ) COMMENT '商品三级分类表' PARTITIONED BY ( dt string) row format delimited fields terminated by '\t' STORED AS INPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' location '/warehouse/gmall/ods/ods_base_category3/'; drop table if exists ods_payment_info; create external table ods_payment_info ( id string COMMENT '编号', out_trade_no string COMMENT '对外业务编号', order_id string COMMENT '订单编号', user_id string COMMENT '用户编号', alipay_trade_no string COMMENT '支付宝交易流水编号', total_amount decimal(16,2) COMMENT '支付金额', subject string COMMENT '交易内容', payment_type string COMMENT '支付方式', payment_time string COMMENT '支付时间' ) COMMENT '支付流水表' PARTITIONED BY ( dt string) row format delimited fields terminated by '\t' STORED AS INPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' location '/warehouse/gmall/ods/ods_payment_info/'; drop table if exists ods_base_province; create external table ods_base_province ( id bigint COMMENT 'id', name string COMMENT '省份名称', region_id string COMMENT '地区id', area_code string COMMENT '地区编码', iso_code string COMMENT '国际编码' ) COMMENT '省份表' row format delimited fields terminated by '\t' STORED AS INPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' location '/warehouse/gmall/ods/ods_base_province/'; drop table if exists ods_base_region; create external table ods_base_region ( id string COMMENT '地区id', region_name string COMMENT '地区名称' ) COMMENT '地区表' row format delimited fields terminated by '\t' STORED AS INPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' location '/warehouse/gmall/ods/ods_base_region/'; drop table if exists ods_base_trademark; create external table ods_base_trademark ( tm_id string COMMENT '品牌id', tm_name string COMMENT '品牌名称' ) COMMENT '品牌表' PARTITIONED BY ( dt string) row format delimited fields terminated by '\t' STORED AS INPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' location '/warehouse/gmall/ods/ods_base_trademark/'; drop table if exists ods_order_status_log; create external table ods_order_status_log ( id string COMMENT '编号', order_id string COMMENT '订单编号', order_status string COMMENT '订单状态', operate_time string COMMENT '操作时间' ) COMMENT '订单状态表' PARTITIONED BY ( dt string) row format delimited fields terminated by '\t' STORED AS INPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' location '/warehouse/gmall/ods/ods_order_status_log/'; drop table if exists ods_spu_info; create external table ods_spu_info ( id string COMMENT '商品id', spu_name string COMMENT '商品名称', description string COMMENT '商品描述(后台简述)', category3_id string COMMENT '三级分类id', tm_id string COMMENT '品牌id' ) COMMENT 'SPU商品表' PARTITIONED BY ( dt string) row format delimited fields terminated by '\t' STORED AS INPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' location '/warehouse/gmall/ods/ods_spu_info/'; drop table if exists ods_comment_info; create external table ods_comment_info ( id string COMMENT '编号', user_id string COMMENT '用户名称', sku_id string COMMENT 'skuid', spu_id string COMMENT '商品id', order_id string COMMENT '订单编号', appraise string COMMENT '评价 1 好评 2 中评 3 差评', comment_txt string COMMENT '评价内容', create_time string COMMENT '创建时间', operate_time string COMMENT '修改时间' ) COMMENT '商品评论表' PARTITIONED BY ( dt string) row format delimited fields terminated by '\t' STORED AS INPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' location '/warehouse/gmall/ods/ods_comment_info/'; drop table if exists ods_order_refund_info; create external table ods_order_refund_info ( id string COMMENT '编号', user_id string COMMENT '用户id', order_id string COMMENT '订单编号', sku_id string COMMENT 'skuid', refund_type string COMMENT '退款类型', refund_num bigint COMMENT '退货件数', refund_amount decimal(16,2) COMMENT '退款金额', refund_reason_type string COMMENT '原因类型', refund_reason_txt string COMMENT '原因内容', create_time string COMMENT '创建时间' ) COMMENT '退单表' PARTITIONED BY ( dt string) row format delimited fields terminated by '\t' STORED AS INPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' location '/warehouse/gmall/ods/ods_order_refund_info/'; drop table if exists ods_cart_info; create external table ods_cart_info ( id string COMMENT '编号', user_id string COMMENT '用户id', sku_id string COMMENT 'skuid', cart_price decimal(16,2) COMMENT '放入购物车时价格', sku_num bigint COMMENT '数量', img_url string COMMENT '图片文件', sku_name string COMMENT 'sku名称(冗余)', create_time string COMMENT '创建时间', operate_time string COMMENT '修改时间', is_ordered string COMMENT '是否已经下单', order_time string COMMENT '下单时间', source_type string COMMENT '来源类型', source_id string COMMENT '来源编号' ) COMMENT '加购表' PARTITIONED BY ( dt string) row format delimited fields terminated by '\t' STORED AS INPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' location '/warehouse/gmall/ods/ods_cart_info/'; drop table if exists ods_favor_info; create external table ods_favor_info ( id string COMMENT '编号', user_id string COMMENT '用户id', sku_id string COMMENT 'skuid', spu_id string COMMENT '商品id', is_cancel string COMMENT '是否已取消 0 正常 1 已取消', create_time string COMMENT '创建时间', cancel_time string COMMENT '修改时间' ) COMMENT '商品收藏表' PARTITIONED BY ( dt string) row format delimited fields terminated by '\t' STORED AS INPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' location '/warehouse/gmall/ods/ods_favor_info/'; drop table if exists ods_coupon_use; create external table ods_coupon_use ( id string COMMENT '编号', coupon_id string COMMENT '优惠券ID', user_id string COMMENT '用户ID', order_id string COMMENT '订单ID', coupon_status string COMMENT '购物券状态', get_time string COMMENT '领券时间', using_time string COMMENT '使用时间', used_time string COMMENT '支付时间', expire_time string COMMENT '过期时间' ) COMMENT '优惠券领用表' PARTITIONED BY ( dt string) row format delimited fields terminated by '\t' STORED AS INPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' location '/warehouse/gmall/ods/ods_coupon_use/'; drop table if exists ods_coupon_info; create external table ods_coupon_info ( id string COMMENT '优惠券编号', coupon_name string COMMENT '优惠券名称', coupon_type string COMMENT '优惠券类型 1 现金券 2 折扣券 3 满减券 4 满件打折券', condition_amount decimal(16,2) COMMENT '满减金额', condition_num bigint COMMENT '满减件数', activity_id string COMMENT '活动编号', benefit_amount decimal(16,2) COMMENT '优惠金额', benefit_discount decimal(16,2) COMMENT '优惠折扣', create_time string COMMENT '创建时间', range_type string COMMENT '范围类型 1、商品 2、品类 3、品牌', spu_id string COMMENT '商品id', tm_id string COMMENT '品牌id', category3_id string COMMENT '品类id', limit_num bigint COMMENT '最多领用次数', operate_time string COMMENT '修改时间', expire_time string COMMENT '过期时间' ) COMMENT '优惠券表' PARTITIONED BY ( dt string) row format delimited fields terminated by '\t' STORED AS INPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' location '/warehouse/gmall/ods/ods_coupon_info/'; drop table if exists ods_activity_info; create external table ods_activity_info ( id string COMMENT '活动id', activity_name string COMMENT '活动名称', activity_type string COMMENT '活动类型', activity_desc string COMMENT '活动描述', start_time string COMMENT '开始时间', end_time string COMMENT '结束时间', create_time string COMMENT '创建时间' ) COMMENT '活动表' PARTITIONED BY ( dt string) row format delimited fields terminated by '\t' STORED AS INPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' location '/warehouse/gmall/ods/ods_activity_info/'; drop table if exists ods_activity_order; create external table ods_activity_order ( id string COMMENT '编号', activity_id string COMMENT '活动id', order_id string COMMENT '订单编号', create_time string COMMENT '发生时间' ) COMMENT '活动订单关联表' PARTITIONED BY ( dt string) row format delimited fields terminated by '\t' STORED AS INPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' location '/warehouse/gmall/ods/ods_activity_order/'; drop table if exists ods_activity_rule; create external table ods_activity_rule ( id string COMMENT '编号', activity_id string COMMENT '活动id', condition_amount decimal(16,2) COMMENT '满减金额', condition_num string COMMENT '满减件数', benefit_amount decimal(16,2) COMMENT '优惠金额', benefit_discount decimal(16,2) COMMENT '优惠折扣', benefit_level string COMMENT '优惠级别' ) COMMENT '优惠规则表' PARTITIONED BY ( dt string) row format delimited fields terminated by '\t' STORED AS INPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' location '/warehouse/gmall/ods/ods_activity_rule/'; drop table if exists ods_base_dic; create external table ods_base_dic ( dic_code string COMMENT '编号', dic_name string COMMENT '编码名称', parent_code string COMMENT '父编码', create_time string COMMENT '创建日期', operate_time string COMMENT '修改日期' ) COMMENT '编码字典表' PARTITIONED BY ( dt string) row format delimited fields terminated by '\t' STORED AS INPUTFORMAT 'com.hadoop.mapred.DeprecatedLzoTextInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' location '/warehouse/gmall/ods/ods_base_dic/'; drop table if exists dwd_start_log; CREATE EXTERNAL TABLE dwd_start_log( area_code string COMMENT '地区编码', brand string COMMENT '手机品牌', channel string COMMENT '渠道', model string COMMENT '手机型号', mid_id string COMMENT '设备id', os string COMMENT '操作系统', user_id string COMMENT '会员id', version_code string COMMENT 'app版本号', entry string COMMENT ' icon手机图标 notice 通知 install 安装后启动', loading_time bigint COMMENT '启动加载时间', open_ad_id string COMMENT '广告页ID ', open_ad_ms bigint COMMENT '广告总共播放时间', open_ad_skip_ms bigint COMMENT '用户跳过广告时点', ts bigint COMMENT '时间' ) COMMENT '启动日志表' PARTITIONED BY (dt string) -- 按照时间创建分区 stored as parquet -- 采用parquet列式存储 LOCATION '/warehouse/gmall/dwd/dwd_start_log' -- 指定在HDFS上存储位置 TBLPROPERTIES('parquet.compression'='lzo') -- 采用LZO压缩 ; drop table if exists dwd_page_log; CREATE EXTERNAL TABLE dwd_page_log( area_code string COMMENT '地区编码', brand string COMMENT '手机品牌', channel string COMMENT '渠道', model string COMMENT '手机型号', mid_id string COMMENT '设备id', os string COMMENT '操作系统', user_id string COMMENT '会员id', version_code string COMMENT 'app版本号', during_time bigint COMMENT '持续时间毫秒', page_item string COMMENT '目标id ', page_item_type string COMMENT '目标类型', last_page_id string COMMENT '上页类型', page_id string COMMENT '页面ID ', source_type string COMMENT '来源类型', ts bigint ) COMMENT '页面日志表' PARTITIONED BY (dt string) stored as parquet LOCATION '/warehouse/gmall/dwd/dwd_page_log' TBLPROPERTIES('parquet.compression'='lzo'); drop table if exists dwd_action_log; CREATE EXTERNAL TABLE dwd_action_log( area_code string COMMENT '地区编码', brand string COMMENT '手机品牌', channel string COMMENT '渠道', model string COMMENT '手机型号', mid_id string COMMENT '设备id', os string COMMENT '操作系统', user_id string COMMENT '会员id', version_code string COMMENT 'app版本号', during_time bigint COMMENT '持续时间毫秒', page_item string COMMENT '目标id ', page_item_type string COMMENT '目标类型', last_page_id string COMMENT '上页类型', page_id string COMMENT '页面id ', source_type string COMMENT '来源类型', action_id string COMMENT '动作id', item string COMMENT '目标id ', item_type string COMMENT '目标类型', ts bigint COMMENT '时间' ) COMMENT '动作日志表' PARTITIONED BY (dt string) stored as parquet LOCATION '/warehouse/gmall/dwd/dwd_action_log' TBLPROPERTIES('parquet.compression'='lzo'); drop table if exists dwd_display_log; CREATE EXTERNAL TABLE dwd_display_log( area_code string COMMENT '地区编码', brand string COMMENT '手机品牌', channel string COMMENT '渠道', model string COMMENT '手机型号', mid_id string COMMENT '设备id', os string COMMENT '操作系统', user_id string COMMENT '会员id', version_code string COMMENT 'app版本号', during_time bigint COMMENT 'app版本号', page_item string COMMENT '目标id ', page_item_type string COMMENT '目标类型', last_page_id string COMMENT '上页类型', page_id string COMMENT '页面ID ', source_type string COMMENT '来源类型', ts bigint COMMENT 'app版本号', display_type string COMMENT '曝光类型', item string COMMENT '曝光对象id ', item_type string COMMENT 'app版本号', `order` bigint COMMENT '出现顺序' ) COMMENT '曝光日志表' PARTITIONED BY (dt string) stored as parquet LOCATION '/warehouse/gmall/dwd/dwd_display_log' TBLPROPERTIES('parquet.compression'='lzo'); drop table if exists dwd_error_log; CREATE EXTERNAL TABLE dwd_error_log( area_code string COMMENT '地区编码', brand string COMMENT '手机品牌', channel string COMMENT '渠道', model string COMMENT '手机型号', mid_id string COMMENT '设备id', os string COMMENT '操作系统', user_id string COMMENT '会员id', version_code string COMMENT 'app版本号', page_item string COMMENT '目标id ', page_item_type string COMMENT '目标类型', last_page_id string COMMENT '上页类型', page_id string COMMENT '页面ID ', source_type string COMMENT '来源类型', entry string COMMENT ' icon手机图标 notice 通知 install 安装后启动', loading_time string COMMENT '启动加载时间', open_ad_id string COMMENT '广告页ID ', open_ad_ms string COMMENT '广告总共播放时间', open_ad_skip_ms string COMMENT '用户跳过广告时点', actions string COMMENT '动作', displays string COMMENT '曝光', ts string COMMENT '时间', error_code string COMMENT '错误码', msg string COMMENT '错误信息' ) COMMENT '错误日志表' PARTITIONED BY (dt string) stored as parquet LOCATION '/warehouse/gmall/dwd/dwd_error_log' TBLPROPERTIES('parquet.compression'='lzo'); DROP TABLE IF EXISTS dwd_dim_sku_info ; CREATE EXTERNAL TABLE dwd_dim_sku_info ( id string COMMENT '商品id', spu_id string COMMENT 'spuid', price decimal(16,2) COMMENT '商品价格', sku_name string COMMENT '商品名称', sku_desc string COMMENT '商品描述', weight decimal(16,2) COMMENT '重量', tm_id string COMMENT '品牌id', tm_name string COMMENT '品牌名称', category3_id string COMMENT '三级分类id', category2_id string COMMENT '二级分类id', category1_id string COMMENT '一级分类id', category3_name string COMMENT '三级分类名称', category2_name string COMMENT '二级分类名称', category1_name string COMMENT '一级分类名称', spu_name string COMMENT 'spu名称', create_time string COMMENT '创建时间' ) COMMENT '商品维度表' PARTITIONED BY ( dt string) stored as parquet location '/warehouse/gmall/dwd/dwd_dim_sku_info/' tblproperties ("parquet.compression"="lzo"); drop table if exists dwd_dim_coupon_info; create external table dwd_dim_coupon_info( id string COMMENT '购物券编号', coupon_name string COMMENT '购物券名称', coupon_type string COMMENT '购物券类型 1 现金券 2 折扣券 3 满减券 4 满件打折券', condition_amount decimal(16,2) COMMENT '满额数', condition_num bigint COMMENT '满件数', activity_id string COMMENT '活动编号', benefit_amount decimal(16,2) COMMENT '减金额', benefit_discount decimal(16,2) COMMENT '折扣', create_time string COMMENT '创建时间', range_type string COMMENT '范围类型 1、商品 2、品类 3、品牌', spu_id string COMMENT '商品id', tm_id string COMMENT '品牌id', category3_id string COMMENT '品类id', limit_num bigint COMMENT '最多领用次数', operate_time string COMMENT '修改时间', expire_time string COMMENT '过期时间' ) COMMENT '优惠券维度表' PARTITIONED BY ( dt string) stored as parquet location '/warehouse/gmall/dwd/dwd_dim_coupon_info/' tblproperties ("parquet.compression"="lzo"); drop table if exists dwd_dim_activity_info; create external table dwd_dim_activity_info( id string COMMENT '编号', activity_name string COMMENT '活动名称', activity_type string COMMENT '活动类型', start_time string COMMENT '开始时间', end_time string COMMENT '结束时间', create_time string COMMENT '创建时间' ) COMMENT '活动信息表' PARTITIONED BY ( dt string) stored as parquet location '/warehouse/gmall/dwd/dwd_dim_activity_info/' tblproperties ("parquet.compression"="lzo"); DROP TABLE IF EXISTS dwd_dim_base_province ; CREATE EXTERNAL TABLE dwd_dim_base_province ( id string COMMENT 'id', province_name string COMMENT '省市名称', area_code string COMMENT '地区编码', iso_code string COMMENT 'ISO编码', region_id string COMMENT '地区id', region_name string COMMENT '地区名称' ) COMMENT '地区维度表' stored as parquet location '/warehouse/gmall/dwd/dwd_dim_base_province/' tblproperties ("parquet.compression"="lzo"); DROP TABLE IF EXISTS dwd_dim_date_info ; CREATE EXTERNAL TABLE dwd_dim_date_info ( date_id string COMMENT '日', week_id string COMMENT '周', week_day string COMMENT '周的第几天', day string COMMENT '每月的第几天', month string COMMENT '第几月', quarter string COMMENT '第几季度', year string COMMENT '年', is_workday string COMMENT '是否是周末', holiday_id string COMMENT '是否是节假日' ) COMMENT '时间维度表' stored as parquet location '/warehouse/gmall/dwd/dwd_dim_date_info/' tblproperties ("parquet.compression"="lzo"); drop table if exists dwd_fact_order_detail; create external table dwd_fact_order_detail ( id string COMMENT '订单编号', order_id string COMMENT '订单号', user_id string COMMENT '用户id', sku_id string COMMENT 'sku商品id', sku_name string COMMENT '商品名称', order_price decimal(16,2) COMMENT '商品价格', sku_num bigint COMMENT '商品数量', create_time string COMMENT '创建时间', province_id string COMMENT '省份ID', source_type string COMMENT '来源类型', source_id string COMMENT '来源编号', original_amount_d decimal(20,2) COMMENT '原始价格分摊', final_amount_d decimal(20,2) COMMENT '购买价格分摊', feight_fee_d decimal(20,2) COMMENT '分摊运费', benefit_reduce_amount_d decimal(20,2) COMMENT '分摊优惠' ) COMMENT '订单明细事实表表' PARTITIONED BY ( dt string) stored as parquet location '/warehouse/gmall/dwd/dwd_fact_order_detail/' tblproperties ("parquet.compression"="lzo"); drop table if exists dwd_fact_payment_info; create external table dwd_fact_payment_info ( id string COMMENT 'id', out_trade_no string COMMENT '对外业务编号', order_id string COMMENT '订单编号', user_id string COMMENT '用户编号', alipay_trade_no string COMMENT '支付宝交易流水编号', payment_amount decimal(16,2) COMMENT '支付金额', subject string COMMENT '交易内容', payment_type string COMMENT '支付类型', payment_time string COMMENT '支付时间', province_id string COMMENT '省份ID' ) COMMENT '支付事实表表' PARTITIONED BY ( dt string) stored as parquet location '/warehouse/gmall/dwd/dwd_fact_payment_info/' tblproperties ("parquet.compression"="lzo"); drop table if exists dwd_fact_order_refund_info; create external table dwd_fact_order_refund_info( id string COMMENT '编号', user_id string COMMENT '用户ID', order_id string COMMENT '订单ID', sku_id string COMMENT '商品ID', refund_type string COMMENT '退款类型', refund_num bigint COMMENT '退款件数', refund_amount decimal(16,2) COMMENT '退款金额', refund_reason_type string COMMENT '退款原因类型', create_time string COMMENT '退款时间' ) COMMENT '退款事实表' PARTITIONED BY ( dt string) stored as parquet location '/warehouse/gmall/dwd/dwd_fact_order_refund_info/' tblproperties ("parquet.compression"="lzo"); drop table if exists dwd_fact_comment_info; create external table dwd_fact_comment_info( id string COMMENT '编号', user_id string COMMENT '用户ID', sku_id string COMMENT '商品sku', spu_id string COMMENT '商品spu', order_id string COMMENT '订单ID', appraise string COMMENT '评价', create_time string COMMENT '评价时间' ) COMMENT '评价事实表' PARTITIONED BY ( dt string) stored as parquet location '/warehouse/gmall/dwd/dwd_fact_comment_info/' tblproperties ("parquet.compression"="lzo"); drop table if exists dwd_fact_cart_info; create external table dwd_fact_cart_info( id string COMMENT '编号', user_id string COMMENT '用户id', sku_id string COMMENT 'skuid', cart_price string COMMENT '放入购物车时价格', sku_num string COMMENT '数量', sku_name string COMMENT 'sku名称 (冗余)', create_time string COMMENT '创建时间', operate_time string COMMENT '修改时间', is_ordered string COMMENT '是否已经下单。1为已下单;0为未下单', order_time string COMMENT '下单时间', source_type string COMMENT '来源类型', srouce_id string COMMENT '来源编号' ) COMMENT '加购事实表' PARTITIONED BY ( dt string) stored as parquet location '/warehouse/gmall/dwd/dwd_fact_cart_info/' tblproperties ("parquet.compression"="lzo"); drop table if exists dwd_fact_favor_info; create external table dwd_fact_favor_info( id string COMMENT '编号', user_id string COMMENT '用户id', sku_id string COMMENT 'skuid', spu_id string COMMENT 'spuid', is_cancel string COMMENT '是否取消', create_time string COMMENT '收藏时间', cancel_time string COMMENT '取消时间' ) COMMENT '收藏事实表' PARTITIONED BY ( dt string) stored as parquet location '/warehouse/gmall/dwd/dwd_fact_favor_info/' tblproperties ("parquet.compression"="lzo"); drop table if exists dwd_fact_coupon_use; create external table dwd_fact_coupon_use( id string COMMENT '编号', coupon_id string COMMENT '优惠券ID', user_id string COMMENT 'userid', order_id string COMMENT '订单id', coupon_status string COMMENT '优惠券状态', get_time string COMMENT '领取时间', using_time string COMMENT '使用时间(下单)', used_time string COMMENT '使用时间(支付)' ) COMMENT '优惠券领用事实表' PARTITIONED BY ( dt string) stored as parquet location '/warehouse/gmall/dwd/dwd_fact_coupon_use/' tblproperties ("parquet.compression"="lzo"); drop table if exists dwd_fact_order_info; create external table dwd_fact_order_info ( id string COMMENT '订单编号', order_status string COMMENT '订单状态', user_id string COMMENT '用户id', out_trade_no string COMMENT '支付流水号', create_time string COMMENT '创建时间(未支付状态)', payment_time string COMMENT '支付时间(已支付状态)', cancel_time string COMMENT '取消时间(已取消状态)', finish_time string COMMENT '完成时间(已完成状态)', refund_time string COMMENT '退款时间(退款中状态)', refund_finish_time string COMMENT '退款完成时间(退款完成状态)', province_id string COMMENT '省份ID', activity_id string COMMENT '活动ID', original_total_amount decimal(16,2) COMMENT '原价金额', benefit_reduce_amount decimal(16,2) COMMENT '优惠金额', feight_fee decimal(16,2) COMMENT '运费', final_total_amount decimal(16,2) COMMENT '订单金额' ) COMMENT '订单事实表' PARTITIONED BY ( dt string) stored as parquet location '/warehouse/gmall/dwd/dwd_fact_order_info/' tblproperties ("parquet.compression"="lzo"); drop table if exists dwd_dim_user_info_his; create external table dwd_dim_user_info_his( id string COMMENT '用户id', name string COMMENT '姓名', birthday string COMMENT '生日', gender string COMMENT '性别', email string COMMENT '邮箱', user_level string COMMENT '用户等级', create_time string COMMENT '创建时间', operate_time string COMMENT '操作时间', start_date string COMMENT '有效开始日期', end_date string COMMENT '有效结束日期' ) COMMENT '用户拉链表' stored as parquet location '/warehouse/gmall/dwd/dwd_dim_user_info_his/' tblproperties ("parquet.compression"="lzo"); drop table if exists dwd_dim_user_info_his_tmp; create external table dwd_dim_user_info_his_tmp( id string COMMENT '用户id', name string COMMENT '姓名', birthday string COMMENT '生日', gender string COMMENT '性别', email string COMMENT '邮箱', user_level string COMMENT '用户等级', create_time string COMMENT '创建时间', operate_time string COMMENT '操作时间', start_date string COMMENT '有效开始日期', end_date string COMMENT '有效结束日期' ) COMMENT '订单拉链临时表' stored as parquet location '/warehouse/gmall/dwd/dwd_dim_user_info_his_tmp/' tblproperties ("parquet.compression"="lzo"); drop table if exists dws_uv_detail_daycount; create external table dws_uv_detail_daycount ( mid_id string COMMENT '设备id', brand string COMMENT '手机品牌', model string COMMENT '手机型号', login_count bigint COMMENT '活跃次数', page_stats array<struct<page_id:string,page_count:bigint>> COMMENT '页面访问统计' ) COMMENT '每日设备行为表' partitioned by(dt string) stored as parquet location '/warehouse/gmall/dws/dws_uv_detail_daycount' tblproperties ("parquet.compression"="lzo"); drop table if exists dws_user_action_daycount; create external table dws_user_action_daycount ( user_id string comment '用户 id', login_count bigint comment '登录次数', cart_count bigint comment '加入购物车次数', order_count bigint comment '下单次数', order_amount decimal(16,2) comment '下单金额', payment_count bigint comment '支付次数', payment_amount decimal(16,2) comment '支付金额', order_detail_stats array<struct<sku_id:string,sku_num:bigint,order_count:bigint,order_amount:decimal(20,2)>> comment '下单明细统计' ) COMMENT '每日会员行为' PARTITIONED BY ( dt string) stored as parquet location '/warehouse/gmall/dws/dws_user_action_daycount/' tblproperties ("parquet.compression"="lzo"); drop table if exists dws_sku_action_daycount; create external table dws_sku_action_daycount ( sku_id string comment 'sku_id', order_count bigint comment '被下单次数', order_num bigint comment '被下单件数', order_amount decimal(16,2) comment '被下单金额', payment_count bigint comment '被支付次数', payment_num bigint comment '被支付件数', payment_amount decimal(16,2) comment '被支付金额', refund_count bigint comment '被退款次数', refund_num bigint comment '被退款件数', refund_amount decimal(16,2) comment '被退款金额', cart_count bigint comment '被加入购物车次数', favor_count bigint comment '被收藏次数', appraise_good_count bigint comment '好评数', appraise_mid_count bigint comment '中评数', appraise_bad_count bigint comment '差评数', appraise_default_count bigint comment '默认评价数', sku_name string comment 'sku_name', spu_id string comment 'spu_id', spu_name string comment 'spu_name', tm_id string comment 'tm_id', tm_name string comment 'tm_name' ) COMMENT '每日商品行为' PARTITIONED BY ( dt string) stored as parquet location '/warehouse/gmall/dws/dws_sku_action_daycount/' tblproperties ("parquet.compression"="lzo"); drop table if exists dws_activity_info_daycount; create external table dws_activity_info_daycount( id string COMMENT '编号', activity_name string COMMENT '活动名称', activity_type string COMMENT '活动类型', start_time string COMMENT '开始时间', end_time string COMMENT '结束时间', create_time string COMMENT '创建时间', display_count bigint COMMENT '曝光次数', order_count bigint COMMENT '下单次数', order_amount decimal(20,2) COMMENT '下单金额', payment_count bigint COMMENT '支付次数', payment_amount decimal(20,2) COMMENT '支付金额' ) COMMENT '每日活动统计' PARTITIONED BY ( dt string) stored as parquet location '/warehouse/gmall/dws/dws_activity_info_daycount/' tblproperties ("parquet.compression"="lzo"); drop table if exists dws_area_stats_daycount; create external table dws_area_stats_daycount( id bigint COMMENT '编号', province_name string COMMENT '省份名称', area_code string COMMENT '地区编码', iso_code string COMMENT 'iso编码', region_id string COMMENT '地区ID', region_name string COMMENT '地区名称', login_count string COMMENT '活跃设备数', order_count bigint COMMENT '下单次数', order_amount decimal(20,2) COMMENT '下单金额', payment_count bigint COMMENT '支付次数', payment_amount decimal(20,2) COMMENT '支付金额' ) COMMENT '每日地区统计表' PARTITIONED BY ( dt string) stored as parquet location '/warehouse/gmall/dws/dws_area_stats_daycount/' tblproperties ("parquet.compression"="lzo"); drop table if exists dwt_uv_topic; create external table dwt_uv_topic ( mid_id string comment '设备id', brand string comment '手机品牌', model string comment '手机型号', login_date_first string comment '首次活跃时间', login_date_last string comment '末次活跃时间', login_day_count bigint comment '当日活跃次数', login_count bigint comment '累积活跃天数' ) COMMENT '设备主题宽表' partitioned by(dt string) stored as parquet location '/warehouse/gmall/dwt/dwt_uv_topic' tblproperties ("parquet.compression"="lzo"); drop table if exists dwt_user_topic; create external table dwt_user_topic ( user_id string comment '用户id', login_date_first string comment '首次登录时间', login_date_last string comment '末次登录时间', login_count bigint comment '累积登录天数', login_last_30d_count bigint comment '最近30日登录天数', order_date_first string comment '首次下单时间', order_date_last string comment '末次下单时间', order_count bigint comment '累积下单次数', order_amount decimal(16,2) comment '累积下单金额', order_last_30d_count bigint comment '最近30日下单次数', order_last_30d_amount bigint comment '最近30日下单金额', payment_date_first string comment '首次支付时间', payment_date_last string comment '末次支付时间', payment_count decimal(16,2) comment '累积支付次数', payment_amount decimal(16,2) comment '累积支付金额', payment_last_30d_count decimal(16,2) comment '最近30日支付次数', payment_last_30d_amount decimal(16,2) comment '最近30日支付金额' )COMMENT '会员主题宽表' PARTITIONED BY ( dt string) stored as parquet location '/warehouse/gmall/dwt/dwt_user_topic/' tblproperties ("parquet.compression"="lzo"); drop table if exists dwt_sku_topic; create external table dwt_sku_topic ( sku_id string comment 'sku_id', spu_id string comment 'spu_id', order_last_30d_count bigint comment '最近30日被下单次数', order_last_30d_num bigint comment '最近30日被下单件数', order_last_30d_amount decimal(16,2) comment '最近30日被下单金额', order_count bigint comment '累积被下单次数', order_num bigint comment '累积被下单件数', order_amount decimal(16,2) comment '累积被下单金额', payment_last_30d_count bigint comment '最近30日被支付次数', payment_last_30d_num bigint comment '最近30日被支付件数', payment_last_30d_amount decimal(16,2) comment '最近30日被支付金额', payment_count bigint comment '累积被支付次数', payment_num bigint comment '累积被支付件数', payment_amount decimal(16,2) comment '累积被支付金额', refund_last_30d_count bigint comment '最近三十日退款次数', refund_last_30d_num bigint comment '最近三十日退款件数', refund_last_30d_amount decimal(16,2) comment '最近三十日退款金额', refund_count bigint comment '累积退款次数', refund_num bigint comment '累积退款件数', refund_amount decimal(16,2) comment '累积退款金额', cart_last_30d_count bigint comment '最近30日被加入购物车次数', cart_count bigint comment '累积被加入购物车次数', favor_last_30d_count bigint comment '最近30日被收藏次数', favor_count bigint comment '累积被收藏次数', appraise_last_30d_good_count bigint comment '最近30日好评数', appraise_last_30d_mid_count bigint comment '最近30日中评数', appraise_last_30d_bad_count bigint comment '最近30日差评数', appraise_last_30d_default_count bigint comment '最近30日默认评价数', appraise_good_count bigint comment '累积好评数', appraise_mid_count bigint comment '累积中评数', appraise_bad_count bigint comment '累积差评数', appraise_default_count bigint comment '累积默认评价数', sku_name string comment 'sku_name', spu_name string comment 'spu_name', tm_id string comment 'tm_id', tm_name string comment 'tm_name' )COMMENT '商品主题宽表' PARTITIONED BY ( dt string) stored as parquet location '/warehouse/gmall/dwt/dwt_sku_topic/' tblproperties ("parquet.compression"="lzo"); drop table if exists dwt_activity_topic; create external table dwt_activity_topic( id string COMMENT '编号', activity_name string COMMENT '活动名称', activity_type string COMMENT '活动类型', start_time string COMMENT '开始时间', end_time string COMMENT '结束时间', create_time string COMMENT '创建时间', display_day_count bigint COMMENT '当日曝光次数', order_day_count bigint COMMENT '当日下单次数', order_day_amount decimal(20,2) COMMENT '当日下单金额', payment_day_count bigint COMMENT '当日支付次数', payment_day_amount decimal(20,2) COMMENT '当日支付金额', display_count bigint COMMENT '累积曝光次数', order_count bigint COMMENT '累积下单次数', order_amount decimal(20,2) COMMENT '累积下单金额', payment_count bigint COMMENT '累积支付次数', payment_amount decimal(20,2) COMMENT '累积支付金额' ) COMMENT '活动主题宽表' PARTITIONED BY ( dt string) stored as parquet location '/warehouse/gmall/dwt/dwt_activity_topic/' tblproperties ("parquet.compression"="lzo"); drop table if exists dwt_area_topic; create external table dwt_area_topic( id bigint COMMENT '编号', province_name string COMMENT '省份名称', area_code string COMMENT '地区编码', iso_code string COMMENT 'iso编码', region_id string COMMENT '地区ID', region_name string COMMENT '地区名称', login_day_count string COMMENT '当天活跃设备数', login_last_30d_count string COMMENT '最近30天活跃设备数', order_day_count bigint COMMENT '当天下单次数', order_day_amount decimal(16,2) COMMENT '当天下单金额', order_last_30d_count bigint COMMENT '最近30天下单次数', order_last_30d_amount decimal(16,2) COMMENT '最近30天下单金额', payment_day_count bigint COMMENT '当天支付次数', payment_day_amount decimal(16,2) COMMENT '当天支付金额', payment_last_30d_count bigint COMMENT '最近30天支付次数', payment_last_30d_amount decimal(16,2) COMMENT '最近30天支付金额' ) COMMENT '地区主题宽表' PARTITIONED BY ( dt string) stored as parquet location '/warehouse/gmall/dwt/dwt_area_topic/' tblproperties ("parquet.compression"="lzo"); drop table if exists ads_uv_count; create external table ads_uv_count( dt string COMMENT '统计日期', day_count bigint COMMENT '当日用户数量', wk_count bigint COMMENT '当周用户数量', mn_count bigint COMMENT '当月用户数量', is_weekend string COMMENT 'Y,N是否是周末,用于得到本周最终结果', is_monthend string COMMENT 'Y,N是否是月末,用于得到本月最终结果' ) COMMENT '活跃设备数' row format delimited fields terminated by '\t' location '/warehouse/gmall/ads/ads_uv_count/'; drop table if exists ads_new_mid_count; create external table ads_new_mid_count ( create_date string comment '创建时间' , new_mid_count BIGINT comment '新增设备数量' ) COMMENT '每日新增设备数量' row format delimited fields terminated by '\t' location '/warehouse/gmall/ads/ads_new_mid_count/'; drop table if exists ads_wastage_count; create external table ads_wastage_count( dt string COMMENT '统计日期', wastage_count bigint COMMENT '流失设备数' ) COMMENT '流失用户数' row format delimited fields terminated by '\t' location '/warehouse/gmall/ads/ads_wastage_count'; drop table if exists ads_back_count; create external table ads_back_count( dt string COMMENT '统计日期', wk_dt string COMMENT '统计日期所在周', wastage_count bigint COMMENT '回流设备数' ) COMMENT '本周回流用户数' row format delimited fields terminated by '\t' location '/warehouse/gmall/ads/ads_back_count'; drop table if exists ads_continuity_uv_count; create external table ads_continuity_uv_count( dt string COMMENT '统计日期', wk_dt string COMMENT '最近7天日期', continuity_count bigint ) COMMENT '最近七天内连续三天活跃用户数' row format delimited fields terminated by '\t' location '/warehouse/gmall/ads/ads_continuity_uv_count'; drop table if exists ads_user_topic; create external table ads_user_topic( dt string COMMENT '统计日期', day_users string COMMENT '活跃会员数', day_new_users string COMMENT '新增会员数', day_new_payment_users string COMMENT '新增消费会员数', payment_users string COMMENT '总付费会员数', users string COMMENT '总会员数', day_users2users decimal(16,2) COMMENT '会员活跃率', payment_users2users decimal(16,2) COMMENT '会员付费率', day_new_users2users decimal(16,2) COMMENT '会员新鲜度' ) COMMENT '会员信息表' row format delimited fields terminated by '\t' location '/warehouse/gmall/ads/ads_user_topic'; drop table if exists ads_user_action_convert_day; create external table ads_user_action_convert_day( dt string COMMENT '统计日期', home_count bigint COMMENT '浏览首页人数', good_detail_count bigint COMMENT '浏览商品详情页人数', home2good_detail_convert_ratio decimal(16,2) COMMENT '首页到商品详情转化率', cart_count bigint COMMENT '加入购物车的人数', good_detail2cart_convert_ratio decimal(16,2) COMMENT '商品详情页到加入购物车转化率', order_count bigint COMMENT '下单人数', cart2order_convert_ratio decimal(16,2) COMMENT '加入购物车到下单转化率', payment_amount bigint COMMENT '支付人数', order2payment_convert_ratio decimal(16,2) COMMENT '下单到支付的转化率' ) COMMENT '漏斗分析' row format delimited fields terminated by '\t' location '/warehouse/gmall/ads/ads_user_action_convert_day/'; drop table if exists ads_product_sale_topN; create external table ads_product_sale_topN( dt string COMMENT '统计日期', sku_id string COMMENT '商品ID', sku_name string COMMENT '商品名称', payment_amount bigint COMMENT '销量' ) COMMENT '商品销量排名' row format delimited fields terminated by '\t' location '/warehouse/gmall/ads/ads_product_sale_topN'; drop table if exists ads_product_cart_topN; create external table ads_product_cart_topN( dt string COMMENT '统计日期', sku_id string COMMENT '商品ID', sku_name string COMMENT '商品名称', cart_count bigint COMMENT '加入购物车次数' ) COMMENT '商品加入购物车排名' row format delimited fields terminated by '\t' location '/warehouse/gmall/ads/ads_product_cart_topN'; drop table if exists ads_trademark_sale; create external table ads_trademark_sale( dt string COMMENT '统计日期', tm_name string COMMENT '品牌名称', payment_num bigint COMMENT '销售量', payment_amount bigint COMMENT '销售额' ) COMMENT '品牌销量' row format delimited fields terminated by '\t' location '/warehouse/gmall/ads/ads_trademark_sale'; drop table if exists ads_spu_sale; create external table ads_spu_sale( dt string COMMENT '统计日期', tm_name string COMMENT '品牌名称', spu_name string COMMENT 'spu名称', payment_num bigint COMMENT '销售量', payment_amount bigint COMMENT '销售额' ) COMMENT '品牌销量' row format delimited fields terminated by '\t' location '/warehouse/gmall/ads/ads_spu_sale'; drop table if exists ads_trademark_appraise; create external table ads_trademark_appraise( dt string COMMENT '统计日期', tm_name string COMMENT '商品ID', appraise_last_30d_good_ratio decimal(16,2) COMMENT '最近30天好评率', appraise_last_30d_bad_ratio decimal(16,2) COMMENT '最近30天差评率' ) COMMENT '品牌评价' row format delimited fields terminated by '\t' location '/warehouse/gmall/ads/ads_trademark_appraise'; drop table if exists ads_order_daycount; create external table ads_order_daycount( dt string comment '统计日期', order_count bigint comment '单日下单笔数', order_amount bigint comment '单日下单金额', order_users bigint comment '单日下单用户数' ) comment '下单数目统计' row format delimited fields terminated by '\t' location '/warehouse/gmall/ads/ads_order_daycount'; drop table if exists ads_payment_daycount; create external table ads_payment_daycount( dt string comment '统计日期', order_count bigint comment '单日支付笔数', order_amount bigint comment '单日支付金额', payment_user_count bigint comment '单日支付人数', payment_sku_count bigint comment '单日支付商品数', payment_avg_time decimal(16,2) comment '下单到支付的平均时长,取分钟数' ) comment '支付信息统计' row format delimited fields terminated by '\t' location '/warehouse/gmall/ads/ads_payment_daycount'; drop table if exists ads_area_topic; create external table ads_area_topic( dt string COMMENT '统计日期', id string COMMENT '编号', province_name string COMMENT '省份名称', area_code string COMMENT '地区编码', iso_code string COMMENT 'iso编码', region_id string COMMENT '地区ID', region_name string COMMENT '地区名称', login_day_count bigint COMMENT '当天活跃设备数', order_day_count bigint COMMENT '当天下单次数', order_day_amount decimal(16,2) COMMENT '当天下单总量', payment_day_count bigint COMMENT '当天支付次数', payment_day_amount decimal(16,2) COMMENT '当天支付总金额', successful_pay_rate decimal(16,2) COMMENT '成功下单率', user_purchase_rate decimal(16,2) COMMENT '用户购买率' ) COMMENT '地区主题信息' row format delimited fields terminated by '\t' location '/warehouse/gmall/ads/ads_area_topic/';
    true
    194646405d34d43b45761e1d057abeb5c91f6f96
    SQL
    jasonblog/note
    /ds_algo/src/leetcode_v2/database/DepartmentHighestSalary/solve.sql
    UTF-8
    916
    4.4375
    4
    [ "MIT" ]
    permissive
    use leetcode; drop table if exists Employee; create table Employee(Id int, Name varchar(20), Salary int, DepartmentId int); insert into Employee values (1, "Joe", 70000, 1), (2, "Henry", 80000, 2), (3,"Sam", 60000, 2), (4,"Max", 90000, 1); drop table if exists Department; create table Department(Id int, Name varchar(20)); insert into Department values (1,"IT"), (2,"Sales"); select DepartmentId, max(Salary) as max from Employee group by DepartmentId; /* select d.Name as Department, e1.Name as Employee, e1.Salary as Salary from Employee as e1 join (select DepartmentId, max(Salary) as max from Employee group by DepartmentId) as t on e1.DepartmentId = t.DepartmentId join Department as d on e1.DepartmentId = d.Id where e1.Salary = max; */ /* select d.Name as Department, e.Name as Employee, max(e.Salary) as Salary from Employee as e join Department as d on e.DepartmentId = d.Id group by e.DepartmentId; */
    true
    0c83425ee447fc646bcf8f1e305713d42d06a3ca
    SQL
    gravesmedical/CONNECT
    /Product/DBScripts/nhincdb/nhincdb_oracle.sql
    UTF-8
    37,952
    2.90625
    3
    [ "BSD-3-Clause" ]
    permissive
    -------------------------------------------------------- -- File created - Tuesday-February-25-2014 -------------------------------------------------------- CREATE USER nhincuser identified by nhincpass; GRANT RESOURCE,CONNECT to nhincuser; CREATE USER configuser identified by configpass; GRANT RESOURCE,CONNECT to configuser; -------------------------------------------------------- -- DDL for Sequence HIBERNATE_SEQUENCE -------------------------------------------------------- CREATE SEQUENCE "NHINCUSER"."HIBERNATE_SEQUENCE" MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 2961 CACHE 20 NOORDER NOCYCLE ; CREATE SEQUENCE "CONFIGUSER"."HIBERNATE_SEQUENCE" MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 2961 CACHE 20 NOORDER NOCYCLE ; -------------------------------------------------------- -- DDL for Table AA_TO_HOME_COMMUNITY_MAPPING -------------------------------------------------------- CREATE TABLE "NHINCUSER"."AA_TO_HOME_COMMUNITY_MAPPING" ( "ID" NUMBER(10,0), "ASSIGNINGAUTHORITYID" VARCHAR2(64 BYTE), "HOMECOMMUNITYID" VARCHAR2(64 BYTE) ) ; -------------------------------------------------------- -- DDL for Table ADDRESS -------------------------------------------------------- CREATE TABLE "NHINCUSER"."ADDRESS" ( "ADDRESSID" NUMBER(11,0), "PATIENTID" NUMBER(11,0), "STREET1" VARCHAR2(128 BYTE), "STREET2" VARCHAR2(128 BYTE), "CITY" VARCHAR2(128 BYTE), "STATE" VARCHAR2(128 BYTE), "POSTAL" VARCHAR2(45 BYTE) ) ; -------------------------------------------------------- -- DDL for Table ASYNCMSGREPO -------------------------------------------------------- CREATE TABLE "NHINCUSER"."ASYNCMSGREPO" ( "ID" NUMBER(10,0), "MESSAGEID" VARCHAR2(100 BYTE), "CREATIONTIME" DATE, "RESPONSETIME" DATE, "DURATION" NUMBER(10,0), "SERVICENAME" VARCHAR2(45 BYTE), "DIRECTION" VARCHAR2(10 BYTE), "COMMUNITYID" VARCHAR2(100 BYTE), "STATUS" VARCHAR2(45 BYTE), "RESPONSETYPE" VARCHAR2(10 BYTE), "RESERVED" VARCHAR2(100 BYTE), "MSGDATA" BLOB, "RSPDATA" BLOB, "ACKDATA" BLOB ) ; -------------------------------------------------------- -- DDL for Table AUDITREPOSITORY -------------------------------------------------------- CREATE TABLE "NHINCUSER"."AUDITREPOSITORY" ( "ID" NUMBER, "AUDIT_TIMESTAMP" DATE, "EVENTID" NUMBER, "USERID" VARCHAR2(100 BYTE), "PARTICIPATIONTYPECODE" NUMBER, "PARTICIPATIONTYPECODEROLE" NUMBER, "PARTICIPATIONIDTYPECODE" VARCHAR2(100 BYTE), "RECEIVERPATIENTID" VARCHAR2(128 BYTE), "SENDERPATIENTID" VARCHAR2(128 BYTE), "COMMUNITYID" VARCHAR2(255 BYTE), "MESSAGETYPE" VARCHAR2(100 BYTE), "MESSAGE" BLOB ) ; -------------------------------------------------------- -- DDL for Table CORRELATEDIDENTIFIERS -------------------------------------------------------- CREATE TABLE "NHINCUSER"."CORRELATEDIDENTIFIERS" ( "CORRELATIONID" NUMBER(10,0), "PATIENTASSIGNINGAUTHORITYID" VARCHAR2(64 BYTE), "PATIENTID" VARCHAR2(128 BYTE), "CORRELATEDPATIENTASSIGNAUTHID" VARCHAR2(64 BYTE), "CORRELATEDPATIENTID" VARCHAR2(128 BYTE), "CORRELATIONEXPIRATIONDATE" DATE ) ; -------------------------------------------------------- -- DDL for Table DOCUMENT -------------------------------------------------------- CREATE TABLE "NHINCUSER"."DOCUMENT" ( "DOCUMENTID" NUMBER(11,0), "DOCUMENTUNIQUEID" VARCHAR2(64 BYTE), "DOCUMENTTITLE" VARCHAR2(128 BYTE) DEFAULT NULL, "AUTHORPERSON" VARCHAR2(64 BYTE) DEFAULT NULL, "AUTHORINSTITUTION" VARCHAR2(64 BYTE) DEFAULT NULL, "AUTHORROLE" VARCHAR2(64 BYTE) DEFAULT NULL, "AUTHORSPECIALTY" VARCHAR2(64 BYTE) DEFAULT NULL, "AVAILABILITYSTATUS" VARCHAR2(64 BYTE) DEFAULT NULL, "CLASSCODE" VARCHAR2(64 BYTE) DEFAULT NULL, "CLASSCODESCHEME" VARCHAR2(64 BYTE) DEFAULT NULL, "CLASSCODEDISPLAYNAME" VARCHAR2(64 BYTE) DEFAULT NULL, "CONFIDENTIALITYCODE" VARCHAR2(64 BYTE) DEFAULT NULL, "CONFIDENTIALITYCODESCHEME" VARCHAR2(64 BYTE) DEFAULT NULL, "CONFIDENTIALITYCODEDISPLAYNAME" VARCHAR2(64 BYTE) DEFAULT NULL, "CREATIONTIME" DATE DEFAULT NULL, "FORMATCODE" VARCHAR2(64 BYTE) DEFAULT NULL, "FORMATCODESCHEME" VARCHAR2(64 BYTE) DEFAULT NULL, "FORMATCODEDISPLAYNAME" VARCHAR2(64 BYTE) DEFAULT NULL, "PATIENTID" VARCHAR2(128 BYTE) DEFAULT NULL, "SERVICESTARTTIME" DATE DEFAULT NULL, "SERVICESTOPTIME" DATE DEFAULT NULL, "STATUS" VARCHAR2(64 BYTE) DEFAULT NULL, "COMMENTS" VARCHAR2(256 BYTE) DEFAULT NULL, "HASH" VARCHAR2(1028 BYTE) DEFAULT NULL, "FACILITYCODE" VARCHAR2(64 BYTE) DEFAULT NULL, "FACILITYCODESCHEME" VARCHAR2(64 BYTE) DEFAULT NULL, "FACILITYCODEDISPLAYNAME" VARCHAR2(64 BYTE) DEFAULT NULL, "INTENDEDRECIPIENTPERSON" VARCHAR2(128 BYTE) DEFAULT NULL, "INTENDEDRECIPIENTORGANIZATION" VARCHAR2(128 BYTE) DEFAULT NULL, "LANGUAGECODE" VARCHAR2(64 BYTE) DEFAULT NULL, "LEGALAUTHENTICATOR" VARCHAR2(128 BYTE) DEFAULT NULL, "MIMETYPE" VARCHAR2(32 BYTE) DEFAULT NULL, "PARENTDOCUMENTID" VARCHAR2(64 BYTE) DEFAULT NULL, "PARENTDOCUMENTRELATIONSHIP" VARCHAR2(64 BYTE) DEFAULT NULL, "PRACTICESETTING" VARCHAR2(64 BYTE) DEFAULT NULL, "PRACTICESETTINGSCHEME" VARCHAR2(64 BYTE) DEFAULT NULL, "PRACTICESETTINGDISPLAYNAME" VARCHAR2(64 BYTE) DEFAULT NULL, "DOCUMENTSIZE" NUMBER(11,0) DEFAULT NULL, "SOURCEPATIENTID" VARCHAR2(128 BYTE) DEFAULT NULL, "PID3" VARCHAR2(128 BYTE) DEFAULT NULL, "PID5" VARCHAR2(128 BYTE) DEFAULT NULL, "PID7" VARCHAR2(128 BYTE) DEFAULT NULL, "PID8" VARCHAR2(128 BYTE) DEFAULT NULL, "PID11" VARCHAR2(128 BYTE) DEFAULT NULL, "TYPECODE" VARCHAR2(64 BYTE) DEFAULT NULL, "TYPECODESCHEME" VARCHAR2(64 BYTE) DEFAULT NULL, "TYPECODEDISPLAYNAME" VARCHAR2(64 BYTE) DEFAULT NULL, "DOCUMENTURI" VARCHAR2(128 BYTE) DEFAULT NULL, "RAWDATA" BLOB, "PERSISTENT" NUMBER(11,0), "ONDEMAND" NUMBER(1,0), "NEWDOCUMENTUNIQUEID" VARCHAR2(128 BYTE) DEFAULT NULL, "NEWREPOSITORYUNIQUEID" VARCHAR2(128 BYTE) DEFAULT NULL ) ; -------------------------------------------------------- -- DDL for Table EVENT -------------------------------------------------------- CREATE TABLE "NHINCUSER"."EVENT" ( "ID" NUMBER(11,0), "NAME" VARCHAR2(100 BYTE), "TRANSACTIONID" VARCHAR2(100 BYTE), "MESSAGEID" VARCHAR2(100 BYTE), "SERVICETYPE" VARCHAR2(100 BYTE), "INITIATINGHCID" VARCHAR2(100 BYTE), "RESPONDINGHCIDS" VARCHAR2(100 BYTE), "EVENTTIME" DATE, "DESCRIPTION" VARCHAR2(4000 BYTE) ) ; -------------------------------------------------------- -- DDL for Table EVENTCODE -------------------------------------------------------- CREATE TABLE "NHINCUSER"."EVENTCODE" ( "EVENTCODEID" NUMBER(11,0), "DOCUMENTID" NUMBER(11,0), "EVENTCODE" VARCHAR2(64 BYTE) DEFAULT NULL, "EVENTCODESCHEME" VARCHAR2(64 BYTE) DEFAULT NULL, "EVENTCODEDISPLAYNAME" VARCHAR2(64 BYTE) DEFAULT NULL ) ; -------------------------------------------------------- -- DDL for Table IDENTIFIER -------------------------------------------------------- CREATE TABLE "NHINCUSER"."IDENTIFIER" ( "IDENTIFIERID" NUMBER(11,0), "PATIENTID" NUMBER(11,0), "ID" VARCHAR2(64 BYTE), "ORGANIZATIONID" VARCHAR2(64 BYTE) ) ; -------------------------------------------------------- -- DDL for Table PATIENT -------------------------------------------------------- CREATE TABLE "NHINCUSER"."PATIENT" ( "PATIENTID" NUMBER(11,0), "DATEOFBIRTH" DATE, "GENDER" CHAR(2 BYTE), "SSN" CHAR(9 BYTE) ) ; -------------------------------------------------------- -- DDL for Table PDDEFERREDCORRELATION -------------------------------------------------------- CREATE TABLE "NHINCUSER"."PDDEFERREDCORRELATION" ( "ID" NUMBER(11,0), "MESSAGEID" VARCHAR2(100 BYTE), "ASSIGNINGAUTHORITYID" VARCHAR2(64 BYTE), "PATIENTID" VARCHAR2(128 BYTE), "CREATIONTIME" DATE ) ; -------------------------------------------------------- -- DDL for Table PERSONNAME -------------------------------------------------------- CREATE TABLE "NHINCUSER"."PERSONNAME" ( "PERSONNAMEID" NUMBER(11,0), "PATIENTID" NUMBER(11,0), "PREFIX" VARCHAR2(64 BYTE), "FIRSTNAME" VARCHAR2(64 BYTE), "MIDDLENAME" VARCHAR2(64 BYTE), "LASTNAME" VARCHAR2(64 BYTE), "SUFFIX" VARCHAR2(64 BYTE) ) ; -------------------------------------------------------- -- DDL for Table PHONENUMBER -------------------------------------------------------- CREATE TABLE "NHINCUSER"."PHONENUMBER" ( "PHONENUMBERID" NUMBER(11,0), "PATIENTID" NUMBER(11,0), "VALUE" VARCHAR2(64 BYTE) ) ; -------------------------------------------------------- -- DDL for Table TRANSACTIONREPOSITORY -------------------------------------------------------- CREATE TABLE "NHINCUSER"."TRANSACTIONREPOSITORY" ( "ID" NUMBER(11,0), "TRANSACTIONID" VARCHAR2(100 BYTE), "MESSAGEID" VARCHAR2(100 BYTE), "TRANSACTIONTIME" DATE ) ; -------------------------------------------------------- -- DDL for Table TRANSFER_DATA -------------------------------------------------------- CREATE TABLE "NHINCUSER"."TRANSFER_DATA" ( "ID" NUMBER, "REQUESTKEYGUID" VARCHAR2(64 BYTE), "TRANSFERSTATE" VARCHAR2(32 BYTE) ) ; -------------------------------------------------------- -- DDL for Table USERLOGIN -------------------------------------------------------- CREATE TABLE "NHINCUSER"."USERLOGIN" ( "ID" NUMBER(19,0), "SALT" VARCHAR2(100 BYTE), "SHA1" VARCHAR2(100 BYTE), "USERNAME" VARCHAR2(100 BYTE), "USERROLE" NUMBER(19,0) NOT NULL ) ; -------------------------------------------------------- -- DDL for Table Domain -------------------------------------------------------- CREATE TABLE "CONFIGUSER"."DOMAIN" ( "ID" NUMBER(19,0), "POSTMASTERADDRESSID" NUMBER(19, 0), "DOMAINNAME" VARCHAR2(255 BYTE), "STATUS" NUMBER(10, 0) DEFAULT 0, "CREATETIME" DATE, "UPDATETIME" DATE ); -- ----------------------------------------------------- -- DDL for Table ADDRESS -- ----------------------------------------------------- CREATE TABLE "CONFIGUSER"."ADDRESS" ( "ID" NUMBER(19,0), "EMAILADDRESS" VARCHAR2(255 BYTE) NOT NULL, "DISPLAYNAME" VARCHAR2(100 BYTE), "ENDPOINT" VARCHAR2(255 BYTE), "TYPE" VARCHAR2(10 BYTE), "STATUS" NUMBER(10, 0) DEFAULT 0, "CREATETIME" DATE, "UPDATETIME" DATE, "DOMAINID" NUMBER(19, 0) NOT NULL ); -- ----------------------------------------------------- -- DDL for Table ANCHOR -- ----------------------------------------------------- CREATE TABLE "CONFIGUSER"."ANCHOR" ( "ID" NUMBER(19, 0), "CERTIFICATEID" NUMBER(19, 0), "OWNER" VARCHAR2(255 BYTE), "THUMBPRINT" VARCHAR2(64 BYTE), "CERTIFICATEDATA" BLOB, "VALIDSTARTDATE" DATE, "VALIDENDDATE" DATE, "INCOMING" NUMBER(1) DEFAULT 1, "OUTGOING" NUMBER(1) DEFAULT 1, "STATUS" NUMBER(10, 0) DEFAULT 0, "CREATETIME" DATE ); -- ----------------------------------------------------- -- DDL for Table CERTIFICATE -- ----------------------------------------------------- CREATE TABLE "CONFIGUSER"."CERTIFICATE" ( "ID" NUMBER(19,0), "OWNER" VARCHAR2(255 BYTE), "THUMBPRINT" VARCHAR2(64 BYTE), "CERTIFICATEDATA" BLOB, "VALIDSTARTDATE" DATE, "VALIDENDDATE" DATE , "PRIVATEKEY" NUMBER(1) DEFAULT 0, "STATUS" NUMBER(10, 0) DEFAULT 0, "CREATETIME" DATE ); -- ----------------------------------------------------- -- DDL for Table SETTING -- ----------------------------------------------------- CREATE TABLE "CONFIGUSER"."SETTING" ( "ID" NUMBER(19,0), "NAME" VARCHAR2(255 BYTE), "VALUE" VARCHAR2(4000 BYTE), "STATUS" NUMBER(10, 0) DEFAULT 0, "CREATETIME" DATE NOT NULL, "UPDATETIME" DATE ); -- ----------------------------------------------------- -- DDL for Table TRUSTBUNDLE -- ----------------------------------------------------- CREATE TABLE "CONFIGUSER"."TRUSTBUNDLE" ( "ID" NUMBER(19,0), "BUNDLENAME" VARCHAR2(255 BYTE), "BUNDLEURL" VARCHAR2(255 BYTE), "BUNDLECHECKSUM" VARCHAR2(255 BYTE), "LASTREFRESHATTEMPT" DATE, "LASTSUCCESSFULREFRESH" DATE, "REFRESHINTERVAL" NUMBER(10, 0), "LASTREFRESHERROR" NUMBER(10, 0), "SIGNINGCERTIFICATEDATA" BLOB, "CREATETIME" DATE ); -- ----------------------------------------------------- -- DDL for Table TRUSTBUNDLEANCHOR -- ----------------------------------------------------- CREATE TABLE "CONFIGUSER"."TRUSTBUNDLEANCHOR" ( "ID" NUMBER(19,0), "ANCHORDATA" BLOB, "THUMBPRINT" VARCHAR2(64 BYTE), "VALIDSTARTDATE" DATE, "VALIDENDDATE" DATE, "TRUSTBUNDLEID" NUMBER(19,0) ); -- ----------------------------------------------------- -- DDL for Table TRUSTBUNDLEDOAMINRELTN -- ----------------------------------------------------- CREATE TABLE "CONFIGUSER"."TRUSTBUNDLEDOMAINRELTN" ( "ID" NUMBER(19,0), "INCOMING" NUMBER(1) DEFAULT 1, "OUTGOING" NUMBER(1) DEFAULT 1, "DOMAIN_ID" NUMBER(19,0), "TRUST_BUNDLE_ID" NUMBER(19,0) ); -- ----------------------------------------------------- -- DDL for Table CERTPOLICY -- ----------------------------------------------------- CREATE TABLE "CONFIGUSER"."CERTPOLICY" ( "ID" NUMBER(19,0), "CREATETIME" DATE, "LEXICON" NUMBER(19,0), "POLICYDATA" BLOB, "POLICYNAME" VARCHAR2(255 BYTE) ); -- ----------------------------------------------------- -- Table `configdb`.`certpolicygroup` -- ----------------------------------------------------- CREATE TABLE "CONFIGUSER"."CERTPOLICYGROUP" ( "ID" NUMBER(19,0), "CREATETIME" DATE , "POLICYGROUPNAME" VARCHAR2(255 BYTE) ); -- ----------------------------------------------------- -- Table `configdb`.`certpolicygroupdomainreltn` -- ----------------------------------------------------- CREATE TABLE "CONFIGUSER"."CERTPOLICYGROUPDOMAINRELTN" ( "ID" NUMBER(19,0), "POLICY_GROUP_ID" NUMBER(19,0), "DOMAIN_ID" NUMBER(19,0) NOT NULL ); -- ----------------------------------------------------- -- Table `configdb`.`certpolicygroupreltn` -- ----------------------------------------------------- CREATE TABLE "CONFIGUSER"."CERTPOLICYGROUPRELTN" ( "ID" NUMBER(19,0), "INCOMING" NUMBER(4,0), "OUTGOING" NUMBER(4,0), "POLICYUSE" NUMBER(10,0) , "CERTPOLICYID" NUMBER(19,0), "CERTPOLICYGROUPID" NUMBER(19,0) ); -- ----------------------------------------------------- -- Table `configdb`.`dnsrecord` -- ----------------------------------------------------- CREATE TABLE "CONFIGUSER"."DNSRECORD" ( "ID" NUMBER(19,0), "CREATETIME" DATE NOT NULL, "DATA" BLOB, "DCLASS" NUMBER(10,0), "NAME" VARCHAR2(255 BYTE), "TTL" NUMBER(19,0), "TYPE" NUMBER(10,0) ); -- end configdb ------------------------------------------------------------------ -- ADMINGUIDB TABLES ------------------------------------------------------------------ -- ----------------------------------------------------- -- Table USERROLE -- ----------------------------------------------------- CREATE TABLE "NHINCUSER"."USERROLE" ( "ROLEID" NUMBER(19,0), "ROLENAME" VARCHAR2(100 BYTE) NOT NULL ); -- ----------------------------------------------------- -- Table PagePreference -- ----------------------------------------------------- CREATE TABLE "NHINCUSER"."PAGEPREFERENCE" ( "PREFID" NUMBER(19,0), "PAGENAME" VARCHAR2(100 BYTE) NOT NULL, "PAGEDESC" VARCHAR2(100 BYTE) NOT NULL, "ACCESSPAGE" NUMBER(19,0) NOT NULL, "PREFROLEID" NUMBER(19,0) NOT NULL ); CREATE TABLE "NHINCUSER"."MONITOREDMESSAGE" ( "ID" NUMBER(19,0), "SENDEREMAILID" VARCHAR2(255 BYTE) DEFAULT NULL, "SUBJECT" VARCHAR2(255 BYTE) DEFAULT NULL, "MESSAGEID" VARCHAR2(100 BYTE), "RECIPIENTS" VARCHAR2(4000 BYTE) DEFAULT NULL, "DELIVERYREQUESTED" NUMBER(3) DEFAULT '0', "STATUS" VARCHAR2(30 BYTE) DEFAULT NULL, "CREATETIME" DATE DEFAULT NULL, "UPDATETIME" DATE DEFAULT NULL ); CREATE TABLE "NHINCUSER"."MONITOREDMESSAGENOTIFICATION" ( "ID" NUMBER(19,0), "EMAILID" VARCHAR2(255) NOT NULL, "MESSAGEID" VARCHAR2(100) DEFAULT NULL, "MONITOREDMESSAGEID" NUMBER(19,0) NOT NULL, "STATUS" VARCHAR2(30) , "CREATETIME" DATE DEFAULT NULL, "UPDATETIME" DATE DEFAULT NULL ); -------------------------------------------------------- -- Constraints for Table Domain -------------------------------------------------------- ALTER TABLE "CONFIGUSER"."DOMAIN" ADD PRIMARY KEY ("ID") ENABLE; ALTER TABLE "CONFIGUSER"."DOMAIN" MODIFY ("DOMAINNAME" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."DOMAIN" MODIFY ("CREATETIME" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."DOMAIN" ADD CONSTRAINT DOMAIN UNIQUE ("DOMAINNAME") ENABLE; -------------------------------------------------------- -- DDL for Index fk_domainId -------------------------------------------------------- CREATE UNIQUE INDEX "CONFIGUSER"."fk_domainId" ON "CONFIGUSER"."ADDRESS" ("DOMAINID" ASC); -------------------------------------------------------- -- Constraints for Table ADDRESS -------------------------------------------------------- ALTER TABLE "CONFIGUSER"."ADDRESS" ADD PRIMARY KEY ("ID") ENABLE; ALTER TABLE "CONFIGUSER"."ADDRESS" MODIFY ("CREATETIME" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."ADDRESS" ADD CONSTRAINT FK_DOMAINID FOREIGN KEY (DOMAINID) REFERENCES "CONFIGUSER"."DOMAIN" (ID) ENABLE; -------------------------------------------------------- -- Constraints for Table ANCHOR -------------------------------------------------------- ALTER TABLE "CONFIGUSER"."ANCHOR" ADD PRIMARY KEY ("ID") ENABLE; ALTER TABLE "CONFIGUSER"."ANCHOR" MODIFY ("CERTIFICATEID" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."ANCHOR" MODIFY ("OWNER" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."ANCHOR" MODIFY ("THUMBPRINT" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."ANCHOR" MODIFY ("CERTIFICATEDATA" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."ANCHOR" MODIFY ("VALIDSTARTDATE" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."ANCHOR" MODIFY ("VALIDENDDATE" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."ANCHOR" MODIFY ("INCOMING" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."ANCHOR" MODIFY ("OUTGOING" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."ANCHOR" MODIFY ("CREATETIME" NOT NULL ENABLE); -------------------------------------------------------- -- Constraints for Table CERTIFICATE -------------------------------------------------------- ALTER TABLE "CONFIGUSER"."CERTIFICATE" ADD PRIMARY KEY ("ID") ENABLE; ALTER TABLE "CONFIGUSER"."CERTIFICATE" MODIFY ("OWNER" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."CERTIFICATE" MODIFY ("THUMBPRINT" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."CERTIFICATE" MODIFY ("VALIDSTARTDATE" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."CERTIFICATE" MODIFY ("VALIDENDDATE" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."CERTIFICATE" MODIFY ("CERTIFICATEDATA" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."CERTIFICATE" MODIFY ("PRIVATEKEY" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."CERTIFICATE" MODIFY ("STATUS" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."CERTIFICATE" MODIFY ("CREATETIME" NOT NULL ENABLE); ------------------------------------------------------------- -- Constraints for Table SETTING ------------------------------------------------------------- ALTER TABLE "CONFIGUSER"."SETTING" ADD PRIMARY KEY ("ID") ENABLE; -------------------------------------------------------- -- Constraints for Table TRUSTBUNDLE -------------------------------------------------------- ALTER TABLE "CONFIGUSER"."TRUSTBUNDLE" ADD PRIMARY KEY ("ID") ENABLE; ALTER TABLE "CONFIGUSER"."TRUSTBUNDLE" MODIFY ("BUNDLENAME" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."TRUSTBUNDLE" MODIFY ("BUNDLEURL" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."TRUSTBUNDLE" MODIFY ("BUNDLECHECKSUM" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."TRUSTBUNDLE" MODIFY ("CREATETIME" NOT NULL ENABLE); -------------------------------------------------------- -- DDL for Index fk_trustbundleId -------------------------------------------------------- CREATE UNIQUE INDEX "CONFIGUSER"."fk_trustbundleId" ON "CONFIGUSER"."TRUSTBUNDLEANCHOR" ("TRUSTBUNDLEID" ASC); -------------------------------------------------------- -- Constraints for Table TRUSTBUNDLEANCHOR -------------------------------------------------------- ALTER TABLE "CONFIGUSER"."TRUSTBUNDLEANCHOR" ADD PRIMARY KEY ("ID") ENABLE; ALTER TABLE "CONFIGUSER"."TRUSTBUNDLEANCHOR" MODIFY ("ANCHORDATA" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."TRUSTBUNDLEANCHOR" MODIFY ("THUMBPRINT" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."TRUSTBUNDLEANCHOR" MODIFY ("VALIDSTARTDATE" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."TRUSTBUNDLEANCHOR" MODIFY ("VALIDENDDATE" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."TRUSTBUNDLEANCHOR" MODIFY ("TRUSTBUNDLEID" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."TRUSTBUNDLEANCHOR" ADD CONSTRAINT fk_trustbundleId FOREIGN KEY (TRUSTBUNDLEID) REFERENCES "CONFIGUSER"."TRUSTBUNDLE"("ID") ENABLE; -------------------------------------------------------- -- DDL for Index fk_domain_id -------------------------------------------------------- CREATE UNIQUE INDEX "CONFIGUSER"."fk_domain_id" ON "CONFIGUSER"."TRUSTBUNDLEDOMAINRELTN" ("DOMAIN_ID" ASC); -------------------------------------------------------- -- DDL for Index fk_trust_bundle_id -------------------------------------------------------- CREATE UNIQUE INDEX "CONFIGUSER"."fk_trust_bundle_id" ON "CONFIGUSER"."TRUSTBUNDLEDOMAINRELTN" ("TRUST_BUNDLE_ID" ASC); ----------------------------------------------------------- -- Constraints for Table TRUSTBUNDLEDOMAINRELTN ----------------------------------------------------------- ALTER TABLE "CONFIGUSER"."TRUSTBUNDLEDOMAINRELTN" ADD PRIMARY KEY ("ID") ENABLE; ALTER TABLE "CONFIGUSER"."TRUSTBUNDLEDOMAINRELTN" MODIFY ("INCOMING" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."TRUSTBUNDLEDOMAINRELTN" MODIFY ("OUTGOING" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."TRUSTBUNDLEDOMAINRELTN" MODIFY ("DOMAIN_ID" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."TRUSTBUNDLEDOMAINRELTN" MODIFY ("TRUST_BUNDLE_ID" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."TRUSTBUNDLEDOMAINRELTN" ADD CONSTRAINT fk_domain_id FOREIGN KEY (DOMAIN_ID) REFERENCES "CONFIGUSER"."DOMAIN"("ID"); ALTER TABLE "CONFIGUSER"."TRUSTBUNDLEDOMAINRELTN" ADD CONSTRAINT fk_trust_bundle_id FOREIGN KEY (TRUST_BUNDLE_ID) REFERENCES "CONFIGUSER"."TRUSTBUNDLE"("ID"); ----------------------------------------------------------- -- Constraints for Table CERTPOLICY ----------------------------------------------------------- ALTER TABLE "CONFIGUSER"."CERTPOLICY" ADD PRIMARY KEY ("ID") ENABLE; ALTER TABLE "CONFIGUSER"."CERTPOLICY" MODIFY ("CREATETIME" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."CERTPOLICY" MODIFY ("LEXICON" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."CERTPOLICY" MODIFY ("POLICYDATA" NOT NULL ENABLE); ----------------------------------------------------------- -- Constraints for Table CERTPOLICYGROUP ----------------------------------------------------------- ALTER TABLE "CONFIGUSER"."CERTPOLICYGROUP" ADD PRIMARY KEY ("ID") ENABLE; ALTER TABLE "CONFIGUSER"."CERTPOLICYGROUP" MODIFY ("CREATETIME" NOT NULL ENABLE); ---------------------------------------------------------- -- Constraints for Table CERTPOLICYGROUPDOMAINRELTN ----------------------------------------------------------- ALTER TABLE "CONFIGUSER"."CERTPOLICYGROUPDOMAINRELTN" ADD PRIMARY KEY ("ID") ENABLE; ALTER TABLE "CONFIGUSER"."CERTPOLICYGROUPDOMAINRELTN" MODIFY ("POLICY_GROUP_ID" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."CERTPOLICYGROUPDOMAINRELTN" ADD CONSTRAINT fk_cert_domain_id FOREIGN KEY ("DOMAIN_ID") REFERENCES "CONFIGUSER"."DOMAIN"("ID"); ALTER TABLE "CONFIGUSER"."CERTPOLICYGROUPDOMAINRELTN" ADD CONSTRAINT fk_cert_policy_group_id FOREIGN KEY ("POLICY_GROUP_ID") REFERENCES "CONFIGUSER"."CERTPOLICYGROUP"("ID"); ----------------------------------------------------------- -- Constraints for Table CERTPOLICYGROUPRELTN ----------------------------------------------------------- ALTER TABLE "CONFIGUSER"."CERTPOLICYGROUPRELTN" ADD PRIMARY KEY ("ID") ENABLE; ALTER TABLE "CONFIGUSER"."CERTPOLICYGROUPRELTN" MODIFY ("POLICYUSE" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."CERTPOLICYGROUPRELTN" MODIFY ("CERTPOLICYID" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."CERTPOLICYGROUPRELTN" MODIFY ("CERTPOLICYGROUPID" NOT NULL ENABLE); ALTER TABLE "CONFIGUSER"."CERTPOLICYGROUPRELTN" ADD CONSTRAINT fk_cert_policy_id FOREIGN KEY ("CERTPOLICYID") REFERENCES "CONFIGUSER"."CERTPOLICY"("ID"); ALTER TABLE "CONFIGUSER"."CERTPOLICYGROUPRELTN" ADD CONSTRAINT fk_cert_policy_reltn_group_id FOREIGN KEY ("CERTPOLICYGROUPID") REFERENCES "CONFIGUSER"."CERTPOLICYGROUP"("ID"); ----------------------------------------------------------- -- Constraints for Table DNSRECORD ----------------------------------------------------------- ALTER TABLE "CONFIGUSER"."DNSRECORD" ADD PRIMARY KEY ("ID") ENABLE; ----------------------------------------------------------- -- Constraints for Table USERROLE ----------------------------------------------------------- ALTER TABLE "NHINCUSER"."USERROLE" ADD PRIMARY KEY ("ROLEID") ENABLE; ALTER TABLE "NHINCUSER"."USERROLE" ADD CONSTRAINT USERROLE UNIQUE ("ROLENAME") ENABLE; ----------------------------------------------------------- -- Constraints for Table PAGEPREFERENCE ----------------------------------------------------------- ALTER TABLE "NHINCUSER"."PAGEPREFERENCE" ADD PRIMARY KEY ("PREFID") ENABLE; ALTER TABLE "NHINCUSER"."PAGEPREFERENCE" ADD CONSTRAINT fk_role_pref FOREIGN KEY (prefRoleId) REFERENCES "NHINCUSER"."USERROLE"("ROLEID"); ----------------------------------------------------------- -- Constraints for Table MONITOREDMESSAGE ----------------------------------------------------------- ALTER TABLE "NHINCUSER"."MONITOREDMESSAGE" ADD PRIMARY KEY ("ID") ENABLE; ALTER TABLE "NHINCUSER"."MONITOREDMESSAGE" MODIFY ("ID" NOT NULL ENABLE); ----------------------------------------------------------- -- Constraints for Table MONITOREDMESSAGENOTIFICATION ----------------------------------------------------------- ALTER TABLE "NHINCUSER"."MONITOREDMESSAGENOTIFICATION" MODIFY ("STATUS" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."MONITOREDMESSAGENOTIFICATION" ADD CONSTRAINT fk_monitoredmessageId FOREIGN KEY (MONITOREDMESSAGEID) REFERENCES "NHINCUSER"."MONITOREDMESSAGE"("ID") ; -------------------------------------------------------- -- DDL for Index MESSAGEID_IDX -------------------------------------------------------- CREATE UNIQUE INDEX "NHINCUSER"."MESSAGEID_IDX" ON "NHINCUSER"."TRANSACTIONREPOSITORY" ("MESSAGEID"); -------------------------------------------------------- -- Constraints for Table CORRELATEDIDENTIFIERS -------------------------------------------------------- ALTER TABLE "NHINCUSER"."CORRELATEDIDENTIFIERS" ADD PRIMARY KEY ("CORRELATIONID") ENABLE; ALTER TABLE "NHINCUSER"."CORRELATEDIDENTIFIERS" MODIFY ("CORRELATEDPATIENTID" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."CORRELATEDIDENTIFIERS" MODIFY ("CORRELATEDPATIENTASSIGNAUTHID" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."CORRELATEDIDENTIFIERS" MODIFY ("PATIENTID" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."CORRELATEDIDENTIFIERS" MODIFY ("PATIENTASSIGNINGAUTHORITYID" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."CORRELATEDIDENTIFIERS" MODIFY ("CORRELATIONID" NOT NULL ENABLE); -------------------------------------------------------- -- Constraints for Table AUDITREPOSITORY -------------------------------------------------------- ALTER TABLE "NHINCUSER"."AUDITREPOSITORY" ADD PRIMARY KEY ("ID") ENABLE; ALTER TABLE "NHINCUSER"."AUDITREPOSITORY" MODIFY ("MESSAGETYPE" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."AUDITREPOSITORY" MODIFY ("EVENTID" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."AUDITREPOSITORY" MODIFY ("ID" NOT NULL ENABLE); -------------------------------------------------------- -- Constraints for Table PATIENT -------------------------------------------------------- ALTER TABLE "NHINCUSER"."PATIENT" ADD PRIMARY KEY ("PATIENTID") ENABLE; ALTER TABLE "NHINCUSER"."PATIENT" MODIFY ("PATIENTID" NOT NULL ENABLE); -------------------------------------------------------- -- Constraints for Table ADDRESS -------------------------------------------------------- ALTER TABLE "NHINCUSER"."ADDRESS" ADD PRIMARY KEY ("ADDRESSID") ENABLE; ALTER TABLE "NHINCUSER"."ADDRESS" MODIFY ("PATIENTID" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."ADDRESS" MODIFY ("ADDRESSID" NOT NULL ENABLE); -------------------------------------------------------- -- Constraints for Table IDENTIFIER -------------------------------------------------------- ALTER TABLE "NHINCUSER"."IDENTIFIER" ADD PRIMARY KEY ("IDENTIFIERID") ENABLE; ALTER TABLE "NHINCUSER"."IDENTIFIER" MODIFY ("PATIENTID" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."IDENTIFIER" MODIFY ("IDENTIFIERID" NOT NULL ENABLE); -------------------------------------------------------- -- Constraints for Table EVENTCODE -------------------------------------------------------- ALTER TABLE "NHINCUSER"."EVENTCODE" ADD PRIMARY KEY ("EVENTCODEID") ENABLE; ALTER TABLE "NHINCUSER"."EVENTCODE" MODIFY ("DOCUMENTID" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."EVENTCODE" MODIFY ("EVENTCODEID" NOT NULL ENABLE); -------------------------------------------------------- -- Constraints for Table PERSONNAME -------------------------------------------------------- ALTER TABLE "NHINCUSER"."PERSONNAME" ADD PRIMARY KEY ("PERSONNAMEID") ENABLE; ALTER TABLE "NHINCUSER"."PERSONNAME" MODIFY ("PATIENTID" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."PERSONNAME" MODIFY ("PERSONNAMEID" NOT NULL ENABLE); -------------------------------------------------------- -- Constraints for Table EVENT -------------------------------------------------------- ALTER TABLE "NHINCUSER"."EVENT" ADD PRIMARY KEY ("ID") ENABLE; ALTER TABLE "NHINCUSER"."EVENT" MODIFY ("NAME" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."EVENT" MODIFY ("ID" NOT NULL ENABLE); -------------------------------------------------------- -- Constraints for Table TRANSFER_DATA -------------------------------------------------------- ALTER TABLE "NHINCUSER"."TRANSFER_DATA" ADD PRIMARY KEY ("ID") ENABLE; ALTER TABLE "NHINCUSER"."TRANSFER_DATA" MODIFY ("TRANSFERSTATE" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."TRANSFER_DATA" MODIFY ("REQUESTKEYGUID" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."TRANSFER_DATA" MODIFY ("ID" NOT NULL ENABLE); -------------------------------------------------------- -- Constraints for Table DOCUMENT -------------------------------------------------------- ALTER TABLE "NHINCUSER"."DOCUMENT" ADD PRIMARY KEY ("DOCUMENTID") ENABLE; ALTER TABLE "NHINCUSER"."DOCUMENT" MODIFY ("ONDEMAND" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."DOCUMENT" MODIFY ("PERSISTENT" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."DOCUMENT" MODIFY ("DOCUMENTUNIQUEID" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."DOCUMENT" MODIFY ("DOCUMENTID" NOT NULL ENABLE); -------------------------------------------------------- -- Constraints for Table TRANSACTIONREPOSITORY -------------------------------------------------------- ALTER TABLE "NHINCUSER"."TRANSACTIONREPOSITORY" ADD PRIMARY KEY ("ID") ENABLE; ALTER TABLE "NHINCUSER"."TRANSACTIONREPOSITORY" MODIFY ("MESSAGEID" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."TRANSACTIONREPOSITORY" MODIFY ("TRANSACTIONID" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."TRANSACTIONREPOSITORY" MODIFY ("ID" NOT NULL ENABLE); -------------------------------------------------------- -- Constraints for Table AA_TO_HOME_COMMUNITY_MAPPING -------------------------------------------------------- ALTER TABLE "NHINCUSER"."AA_TO_HOME_COMMUNITY_MAPPING" ADD PRIMARY KEY ("ID", "ASSIGNINGAUTHORITYID") ENABLE; ALTER TABLE "NHINCUSER"."AA_TO_HOME_COMMUNITY_MAPPING" MODIFY ("HOMECOMMUNITYID" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."AA_TO_HOME_COMMUNITY_MAPPING" MODIFY ("ASSIGNINGAUTHORITYID" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."AA_TO_HOME_COMMUNITY_MAPPING" MODIFY ("ID" NOT NULL ENABLE); -------------------------------------------------------- -- Constraints for Table PDDEFERREDCORRELATION -------------------------------------------------------- ALTER TABLE "NHINCUSER"."PDDEFERREDCORRELATION" ADD PRIMARY KEY ("ID") ENABLE; ALTER TABLE "NHINCUSER"."PDDEFERREDCORRELATION" MODIFY ("CREATIONTIME" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."PDDEFERREDCORRELATION" MODIFY ("PATIENTID" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."PDDEFERREDCORRELATION" MODIFY ("ASSIGNINGAUTHORITYID" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."PDDEFERREDCORRELATION" MODIFY ("MESSAGEID" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."PDDEFERREDCORRELATION" MODIFY ("ID" NOT NULL ENABLE); -------------------------------------------------------- -- Constraints for Table PHONENUMBER -------------------------------------------------------- ALTER TABLE "NHINCUSER"."PHONENUMBER" ADD PRIMARY KEY ("PHONENUMBERID") ENABLE; ALTER TABLE "NHINCUSER"."PHONENUMBER" MODIFY ("PATIENTID" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."PHONENUMBER" MODIFY ("PHONENUMBERID" NOT NULL ENABLE); -------------------------------------------------------- -- Constraints for Table ASYNCMSGREPO -------------------------------------------------------- ALTER TABLE "NHINCUSER"."ASYNCMSGREPO" ADD PRIMARY KEY ("ID") ENABLE; ALTER TABLE "NHINCUSER"."ASYNCMSGREPO" MODIFY ("CREATIONTIME" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."ASYNCMSGREPO" MODIFY ("MESSAGEID" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."ASYNCMSGREPO" MODIFY ("ID" NOT NULL ENABLE); -------------------------------------------------------- -- Constraints for Table USERLOGIN -------------------------------------------------------- ALTER TABLE "NHINCUSER"."USERLOGIN" ADD PRIMARY KEY ("ID") ENABLE; ALTER TABLE "NHINCUSER"."USERLOGIN" MODIFY ("SALT" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."USERLOGIN" MODIFY ("SHA1" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."USERLOGIN" MODIFY ("USERNAME" NOT NULL ENABLE); ALTER TABLE "NHINCUSER"."USERLOGIN" ADD CONSTRAINT fk_role_user FOREIGN KEY (USERROLE) REFERENCES "NHINCUSER"."USERROLE"("ROLEID"); -------------------------------------------------------------------------------------------------------------------------------------------- INSERT INTO "NHINCUSER"."USERROLE" (ROLEID, ROLENAME) VALUES (1, 'ADMIN'); INSERT INTO "NHINCUSER"."USERROLE" (ROLEID, ROLENAME) VALUES (2, 'SUPER USER'); INSERT INTO "NHINCUSER"."USERROLE" (ROLEID, ROLENAME) VALUES (3, 'USER'); ----------------------------------------------------------------------------------------------------------------------------------------------- INSERT INTO "NHINCUSER"."USERLOGIN" (ID, SALT, SHA1, USERNAME, USERROLE) VALUES (1, 'ABCD', 'TxMu4SPUdek0XU5NovS9U2llt3Q=', 'CONNECTAdmin', 1); ------------------------------------------------------------------------------------------------------------------------------------------------ INSERT INTO "NHINCUSER"."PAGEPREFERENCE" (PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (4, 'acctmanage.xhtml', 'Account Management', 0, 1); INSERT INTO "NHINCUSER"."PAGEPREFERENCE" (PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (5, 'acctmanage.xhtml', 'Account Management', -1, 2); INSERT INTO "NHINCUSER"."PAGEPREFERENCE" (PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (6, 'acctmanage.xhtml', 'Account Management', -1, 3); INSERT INTO "NHINCUSER"."PAGEPREFERENCE" (PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (10, 'direct.xhtml', 'Direct Config', 0, 1); INSERT INTO "NHINCUSER"."PAGEPREFERENCE"(PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (11, 'direct.xhtml', 'Direct Config', 0, 2); INSERT INTO "NHINCUSER"."PAGEPREFERENCE"(PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (12, 'direct.xhtml', 'Direct Config', 0, 3); INSERT INTO "NHINCUSER"."PAGEPREFERENCE" (PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (13, 'connectionManager.xhtml', 'Connection Management', 0, 1); INSERT INTO "NHINCUSER"."PAGEPREFERENCE" (PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (14, 'connectionManager.xhtml', 'Connection Management', 0, 2); INSERT INTO "NHINCUSER"."PAGEPREFERENCE"(PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (15, 'connectionManager.xhtml', 'Connection Management', 0, 3); INSERT INTO "NHINCUSER"."PAGEPREFERENCE"(PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (16, 'properties.xhtml', 'CONNECT Properties', 0, 1); INSERT INTO "NHINCUSER"."PAGEPREFERENCE"(PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (17, 'properties.xhtml', 'CONNECT Properties', 0, 2); INSERT INTO "NHINCUSER"."PAGEPREFERENCE"(PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (18, 'properties.xhtml', 'CONNECT Properties', 0, 3); INSERT INTO "NHINCUSER"."PAGEPREFERENCE"(PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (19, 'fhir.xhtml', 'FHIR Resources', 0, 1); INSERT INTO "NHINCUSER"."PAGEPREFERENCE"(PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (20, 'fhir.xhtml', 'FHIR Resources', 0, 2); INSERT INTO "NHINCUSER"."PAGEPREFERENCE"(PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (21, 'fhir.xhtml', 'FHIR Resources', 0, 3); INSERT INTO "NHINCUSER"."PAGEPREFERENCE"(PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (22, 'patientDiscovery.xhtml', 'Universal Client', 0, 1); INSERT INTO "NHINCUSER"."PAGEPREFERENCE"(PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (23, 'patientDiscovery.xhtml', 'Universal Client', 0, 2); INSERT INTO "NHINCUSER"."PAGEPREFERENCE"(PREFID, PAGENAME, PAGEDESC, ACCESSPAGE, PREFROLEID) VALUES (24, 'patientDiscovery.xhtml', 'Universal Client', 0, 3); COMMIT;
    true
    c6e4848ea190b008201605ecc3c20cb5e0ea28d0
    SQL
    panye7606/SSMWebDemo
    /src/main/resources/mysql/ibooker.sql
    UTF-8
    10,420
    3.875
    4
    []
    no_license
    CREATE USER ibooker@localhost IDENTIFIED BY 'ibooker006008.'; CREATE DATABASE ibookerdata; GRANT ALL ON ibookerdata.* TO ibooker@localhost; #用户表 CREATE TABLE IF NOT EXISTS t_user( u_id BIGINT UNSIGNED AUTO_INCREMENT NOT NULL COMMENT '编号', u_phone BIGINT NOT NULL COMMENT '账号-手机号', u_passwd VARCHAR(100) NOT NULL COMMENT '密码,4-20字符,MD5加密', u_pic VARCHAR(100) DEFAULT 'http://localhost:8080/ibooker/images/pics/init_pic.png' COMMENT '头像,格式:账号+时间戳+后缀(.png/.jpg等)', u_regtime BIGINT UNSIGNED NOT NULL COMMENT '注册时间,时间戳', u_realname VARCHAR(15) DEFAULT '未填写' COMMENT '真实姓名,最多15个汉字', u_sex ENUM('男','女','保密') DEFAULT '保密' COMMENT '性别', u_height FLOAT(5,2) UNSIGNED DEFAULT 0 COMMENT '身高,单位CM', u_weight FLOAT(6,2) UNSIGNED DEFAULT 0 COMMENT '体重,单位KG', u_birthday VARCHAR(10) DEFAULT '未填写' COMMENT '出生日期,格式:yyyy-MM-dd', u_domicile VARCHAR(50) DEFAULT '未填写' COMMENT '现居住地', u_pointx DOUBLE UNSIGNED DEFAULT 0 COMMENT '现居住地-经度', u_pointy DOUBLE UNSIGNED DEFAULT 0 COMMENT '现居住地-维度', u_email VARCHAR(40) DEFAULT '未绑定' COMMENT '绑定邮箱账号', u_weixin VARCHAR(40) DEFAULT '未绑定' COMMENT '绑定微信账号', u_weibo VARCHAR(40) DEFAULT '未绑定' COMMENT '绑定微博账号', u_qq VARCHAR(40) DEFAULT '未绑定' COMMENT '绑定QQ账号', u_introduce VARCHAR(500) DEFAULT '未填写' COMMENT '自我简介,最多500个汉字', u_inviter_phone VARCHAR(11) COMMENT '邀请人账号', u_isboard ENUM('0','1') DEFAULT '0' COMMENT '基本信息是否对外公开,0不公开,1公开', u_realname_identify_state ENUM('0','1','2','3') DEFAULT '0' COMMENT '实名认证状态,0未认证,1待认证,2已认证,3过期', u_tx_token VARCHAR(200) COMMENT '即时通讯token', u_type ENUM('0','11','12','13','14','15','2','3','4') NOT NULL DEFAULT '0' COMMENT '用户类型,0普通用户,11,12,13,14,15分别为爱书客一到五级用户,2普通管理员,3系统管理员,4高级管理员', u_check_uid BIGINT UNSIGNED COMMENT '用户类型审核人员ID', PRIMARY KEY(u_id) COMMENT '主键', UNIQUE KEY(u_phone) COMMENT '唯一键', FOREIGN KEY(u_check_uid) REFERENCES t_user(u_id) ON DELETE CASCADE, KEY index_regtime(u_regtime) COMMENT '注册时间-索引', KEY index_pointx(u_pointx) COMMENT '经度-索引', KEY index_pointy(u_pointy) COMMENT '维度-索引', KEY index_inviter_phone(u_inviter_phone) COMMENT '邀请人账号-索引', KEY index_student_identify_state(u_student_identify_state) COMMENT '学生认证状态-索引', KEY index_health_identify_state(u_health_identify_state) COMMENT '健康认证状态-索引', KEY index_realname_identify_state(u_realname_identify_state) COMMENT '实名认证状态-索引' )ENGINE=INNODB DEFAULT CHARSET=utf8 COMMENT '用户表'; #文章分类表 CREATE TABLE IF NOT EXISTS t_article_style( as_id BIGINT UNSIGNED AUTO_INCREMENT NOT NULL COMMENT '编号', as_name VARCHAR(20) NOT NULL COMMENT '分类名', as_pinyin VARCHAR(20) NOT NULL COMMENT '分类名拼音', PRIMARY KEY(as_id) COMMENT '主键', UNIQUE KEY(as_name) COMMENT '唯一键', KEY index_as_name(as_name) COMMENT '分类名-索引' )ENGINE=INNODB DEFAULT CHARSET=utf8 COMMENT '文章分类表'; #文章类别表 CREATE TABLE IF NOT EXISTS t_article_type( at_id BIGINT UNSIGNED AUTO_INCREMENT NOT NULL COMMENT '编号', at_name VARCHAR(20) NOT NULL COMMENT '类别名', at_name_desc VARCHAR(200) NOT NULL DEFAULT '未填写' COMMENT '类别描述信息', at_pinyin VARCHAR(20) NOT NULL COMMENT '类别名拼音', at_asid BIGINT UNSIGNED NOT NULL COMMENT '文章分类ID', PRIMARY KEY(at_id) COMMENT '主键', FOREIGN KEY(at_asid) REFERENCES t_article_style(as_id) ON DELETE CASCADE, UNIQUE KEY(at_name) COMMENT '唯一键', KEY index_at_name(at_name) COMMENT '类别名-索引' )ENGINE=INNODB DEFAULT CHARSET=utf8 COMMENT '文章类别表'; #文章表 CREATE TABLE IF NOT EXISTS t_article( a_id BIGINT UNSIGNED AUTO_INCREMENT NOT NULL COMMENT '编号', a_title VARCHAR(30) NOT NULL COMMENT '文章标题', a_abstract VARCHAR(100) NOT NULL COMMENT '文章摘要', a_pubtime BIGINT NOT NULL COMMENT '发布时间,时间戳', a_cover_path VARCHAR(100) DEFAULT 'http://localhost:8080/ibooker/images/covers/init_cover.png' NOT NULL COMMENT '文章封面图地址,格式:账号+时间戳+后缀(.png/.jpg等)', a_browsenum INT UNSIGNED NOT NULL DEFAULT 0 COMMENT '浏览量', a_isdelete ENUM('0','1') DEFAULT '0' NOT NULL COMMENT '是否删除,0未删除,1删除', a_isallow ENUM('0','1') DEFAULT '0' NOT NULL COMMENT '是否审核通过,0未审核,1已审核', a_uid BIGINT UNSIGNED NOT NULL COMMENT '用户ID', a_atid BIGINT UNSIGNED NOT NULL COMMENT '文章类别ID', PRIMARY KEY(a_id) COMMENT '主键', FOREIGN KEY(a_atid) REFERENCES t_article_type(at_id) ON DELETE CASCADE, FOREIGN KEY(a_uid) REFERENCES t_user(u_id) ON DELETE CASCADE )ENGINE=INNODB DEFAULT CHARSET=utf8 COMMENT '文章表'; #插入数据 INSERT INTO t_article(a_title, a_abstract, a_pubtime, a_cover_path, a_isallow, a_uid, a_atid) VALUES ('测试主题1','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701401.jpg','1',1,1), ('测试主题2','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701402.jpg','1',1,1), ('测试主题3','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701403.jpg','1',1,1), ('测试主题4','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701404.jpg','1',1,1), ('测试主题5','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701405.jpg','1',1,1), ('测试主题6','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701406.jpg','1',1,1), ('测试主题7','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701407.jpg','1',1,1), ('测试主题8','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701408.jpg','1',1,1), ('测试主题9','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701409.jpg','1',1,1), ('测试主题10','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701410.jpg','1',1,1), ('测试主题11','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701411.jpg','1',1,1), ('测试主题12','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701412.jpg','1',1,1), ('测试主题13','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701413.jpg','1',1,1), ('测试主题14','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701414.jpg','1',1,1), ('测试主题15','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701415.jpg','1',1,1), ('测试主题16','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701416.jpg','1',1,1), ('测试主题17','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701417.jpg','1',1,1), ('测试主题18','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701418.jpg','1',1,1), ('测试主题19','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701419.jpg','1',1,1), ('测试主题20','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701420.jpg','1',1,1), ('测试主题21','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701421.jpg','1',1,1), ('测试主题22','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701422.jpg','1',1,1), ('测试主题23','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701423.jpg','1',1,1), ('测试主题24','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701424.jpg','1',1,1), ('测试主题25','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701425.jpg','1',1,1), ('测试主题26','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701426.jpg','1',1,1), ('测试主题27','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701427.jpg','1',1,1), ('测试主题28','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701428.jpg','1',1,1), ('测试主题29','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701429.jpg','1',1,1), ('测试主题30','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701430.jpg','1',1,1), ('测试主题31','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701431.jpg','1',1,1), ('测试主题32','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701432.jpg','1',1,1), ('测试主题33','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701433.jpg','1',1,1), ('测试主题34','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701434.jpg','1',1,1), ('测试主题35','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701435.jpg','1',1,1), ('测试主题36','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701436.jpg','1',1,1), ('测试主题37','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701437.jpg','1',1,1), ('测试主题38','测试描述',1234,'http://localhost:8080/ibooker/images/covers/153087390131502694701438.jpg','1',1,1); #文章原文地址表 CREATE TABLE IF NOT EXISTS t_article_addr( aa_id BIGINT UNSIGNED AUTO_INCREMENT NOT NULL COMMENT '编号', aa_organization VARCHAR(50) NOT NULL COMMENT '所属机构', aa_path VARCHAR(100) NOT NULL COMMENT '文章原文地址', aa_isdefault ENUM('0','1') DEFAULT '0' NOT NULL COMMENT '是否为默认文章地址,0不是,1是', aa_aid BIGINT UNSIGNED NOT NULL COMMENT '文章ID', PRIMARY KEY(aa_id) COMMENT '主键', FOREIGN KEY(aa_aid) REFERENCES t_article(a_id) ON DELETE CASCADE )ENGINE=INNODB DEFAULT CHARSET=utf8 COMMENT '文章原文地址表';
    true
    5a4b2a3d8f5f56768eac13057f292ccee35c5e4a
    SQL
    bdeske/WEB289_project
    /dump.sql
    UTF-8
    15,138
    3.359375
    3
    []
    no_license
    # # DUMP FILE # # Database is ported from MS Access #------------------------------------------------------------------ # Created using "MS Access to MySQL" form http://www.bullzip.com # Program Version 5.3.259 # # OPTIONS: # sourcefilename=C:\Users\william\Desktop\WEB289\littlebirdDB.accdb # sourceusername= # sourcepassword= # sourcesystemdatabase= # destinationdatabase=littlebirddb # storageengine=MyISAM # dropdatabase=0 # createtables=1 # unicode=1 # autocommit=1 # transferdefaultvalues=1 # transferindexes=1 # transferautonumbers=1 # transferrecords=1 # columnlist=1 # tableprefix= # negativeboolean=0 # ignorelargeblobs=0 # memotype=LONGTEXT # CREATE DATABASE IF NOT EXISTS `littlebirddb`; USE `littlebirddb`; # # Table structure for table 'Cart' # DROP TABLE IF EXISTS `Cart`; CREATE TABLE `Cart` ( `ProductID` VARCHAR(255), `Plant_Name` VARCHAR(255), `Quantity_Ordered` VARCHAR(255), `Total_Price` VARCHAR(255), `UserID` INTEGER DEFAULT 0, INDEX (`ProductID`), UNIQUE (`UserID`) ) ENGINE=myisam DEFAULT CHARSET=utf8; SET autocommit=1; # # Dumping data for table 'Cart' # # 0 records # # Table structure for table 'Categories' # DROP TABLE IF EXISTS `Categories`; CREATE TABLE `Categories` ( `CatID` INTEGER NOT NULL AUTO_INCREMENT, `Category` VARCHAR(255), `Category_Description` LONGTEXT, `Category_Size_Description` LONGTEXT, UNIQUE (`Category`), PRIMARY KEY (`CatID`) ) ENGINE=myisam DEFAULT CHARSET=utf8; SET autocommit=1; # # Dumping data for table 'Categories' # INSERT INTO `Categories` (`CatID`, `Category`, `Category_Description`, `Category_Size_Description`) VALUES (1, 'Perennials', 'Perennials are flowers that bloom once a year and die back to the ground or crown at the end of each season', 'Perennials will be sold in 1 and 2 gallon containers'); INSERT INTO `Categories` (`CatID`, `Category`, `Category_Description`, `Category_Size_Description`) VALUES (2, 'Shrubs', 'These are low growing to medium sized plants. They will have either a bush like growth habit or are open and airy.', 'Shrubs will be sold in 3 gallon containers'); INSERT INTO `Categories` (`CatID`, `Category`, `Category_Description`, `Category_Size_Description`) VALUES (3, 'Evergreen_Trees', 'These specimens will maintain their foliage throughout the yearand will have a medium to large growth habit', 'Evergreens are sold in 5 and 10 gallon containers'); INSERT INTO `Categories` (`CatID`, `Category`, `Category_Description`, `Category_Size_Description`) VALUES (4, 'Deciduous_Trees', 'These specimens will loose their foliage in the winter season', 'Deciduous trees are sold in 5 and 10 gallon containers'); # 4 records # # Table structure for table 'Invoices' # DROP TABLE IF EXISTS `Invoices`; CREATE TABLE `Invoices` ( `InvoiceID` INTEGER NOT NULL AUTO_INCREMENT, `UserID` INTEGER DEFAULT 0, `Invoice_Date` DATETIME, `Total_Price` DECIMAL(19,4) DEFAULT 0, INDEX (`InvoiceID`), PRIMARY KEY (`InvoiceID`), INDEX (`UserID`) ) ENGINE=myisam DEFAULT CHARSET=utf8; SET autocommit=1; # # Dumping data for table 'Invoices' # # 0 records # # Table structure for table 'Products' # DROP TABLE IF EXISTS `Products`; CREATE TABLE `Products` ( `ProductID` VARCHAR(255) NOT NULL, `CatID` INTEGER DEFAULT 0, `Plant_Name` VARCHAR(255), `Description` LONGTEXT, `Size` VARCHAR(255), `In_Stock` INTEGER DEFAULT 0, `Price` DECIMAL(19,4) DEFAULT 0, `Order_Quantity` INTEGER DEFAULT 0, INDEX (`CatID`), UNIQUE (`Plant_Name`), PRIMARY KEY (`ProductID`), INDEX (`ProductID`) ) ENGINE=myisam DEFAULT CHARSET=utf8; SET autocommit=1; # # Dumping data for table 'Products' # INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('P1', 1, 'Echinecea', 'Beautiful purple daisy like flowers with a bunching habit', '1 Gallon', 48, 12, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('P2', 1, 'Shasta Daisy', 'Beautiful White daisy flowers with a great bunching habit', '1 Gallon', 64, 12, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('P3', 1, 'Sedum \"Autumn Joy\"', 'A favorite of the bees in the late season. Beautiful pink to rosy red flower heads with great clumping habit', '1 Gallon', 38, 12, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('S1', 2, 'Forsythia', '\tThese are early spring yellow flowering with an open growing habit', '3 Gallon', 35, 40, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('S2', 2, 'Azalea \"Delaware Valley White\"', 'This variety of Azalea has a nicce tight growth habit with late season white blossoms', '3 Gallon', 42, 45, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('S3', 2, 'Leather Leaf Viburnum', 'This member of the viburnum family has a leather look to the foliage with early summer season white blooms turning to red berries in fall.', '5 Gallon', 32, 85, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('S4', 2, 'Buddlea \"Black Knight\"', 'A Butterfly bush with a large growth habit. Bearing dark purple blooms throughout summer.', '3 Gallon', 28, 30, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('E1', 3, 'Hinoki Cypress', 'These ornamental trees are perfect for a Japanese garden. Their life long growth size is 10 x 6 feet', '5 - 6 ft', 24, 150, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('E2', 3, 'Thuja Occ. \"Emerald Green\"', 'A member of the native arborvitae. These trees will reach a gradual maximum height of 12 - 14 feet', '6 - 8 ft', 30, 200, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('E3', 3, 'Dwarf Gold Thread', 'A member of the camacypress family having a golden color throughout the season. Perfect for an accent plant in any landscape.', '6 - 7 ft', 28, 175, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('D1', 4, 'River Birch', 'A good tree choice for moist locations with a large growth habit having peeling bark of a copper color.', '6 - 7 ft', 42, 150, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('D2', 4, 'Red Bud', 'This tree has a loose growing habit bearing bright purple blossoms in the spring.', '5 - 6 ft', 32, 125, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('D3', 4, 'Silver Maple', 'This tree has a light green foliage in summer and a bright yellow foliage into late fall.', '5 - 6 ft', 35, 155, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('D4', 4, 'Dogwood \"Pink Lady\"', 'This Dogwood has the truest pink color with a strong branching habit.', '5 - 6 ft', 38, 175, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('P4', 1, 'Liatris', 'This full clumping perennial has large light purple spike blooms', '1 Gallon', 47, 12, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('P5', 1, 'Siberian Iris', 'This perennial has good clumping habit with prolific blooms of purple with golden center', '1 Gallon', 58, 12, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('P6', 1, 'Toadflax', 'A wispy perennial with fine spikes of pink, purple, and white', '1 Gallon', 57, 12, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('P7', 1, 'Rudebekia \"Black Eyed Susan\"', 'Bright yellow daisy like blooms with good clumping habit', '1 Gallon', 68, 12, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('P8', 1, 'Crocosmia \"Lucifer\"', 'Tall plant with arching bright red flowers. A favorite of hummingbirds', '1 Gallon', 45, 12, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('P9', 1, 'Stoksia', 'Large frilly purple blooms amass atop this clumping perennial', '1 Gallon', 53, 12, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('P10', 1, 'Perovskia \"Russian Sage\"', 'This perennial has a shrub like growth habit with tall purple spike flowers', '1 Gallon', 68, 12, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('D5', 4, 'Red Bark Maple', 'This specimen has bright red bark adding interest to winter landscapes', '5 - 6 ft', 43, 160, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('D6', 4, 'Acer Palmatin \" Blood Good\"', 'This japanese Maple has a large lace cut foliage of dark burgundy', '6 - 8 ft', 54, 220, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('D7', 4, 'Beech', 'This specimen has a good bracnching habit with bright yellow foliage long into fall', '5 - 7 ft', 33, 180, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('D8', 4, 'White Birch', 'This specimen has a nice open growth habit with peeling white bark', '5 - 7 ft', 42, 140, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('D9', 4, 'Dogwood \"Fire Chief\"', 'This Dogwood has reddish blossoms with a strong branching habit', '5 - 6 ft', 38, 175, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('D10', 4, 'Red Maple', 'This member of the maple family has bright red orasnge foliage in the fall', '5 - 6 ft', 49, 125, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('E4', 3, 'Ilex \"Nellie Stevens\"', 'This holly has a nice tight growth habit reaching a mature size of 15 x 10 feet', '6 - 8 ft', 47, 160, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('E5', 3, 'Magnolia \"Teddy Bear\"', 'This specimen has a tight growth habit reaching a mature size of 15 x 8 feet', '5 - 6 ft', 38, 175, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('E6', 3, 'Carolina Hemlock', 'This specimen has short needles and a tight growth habit reaching a mature height of 20 x 10 feet', '7 - 8 ft', 42, 155, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('E7', 3, 'Austrian Pine', 'This specimen has an open branching habit and will reach a mature size of 30 x 15 feet', '7 - 8 ft', 53, 225, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('E8', 3, 'Blue Spruce \"Fat Albert\"', 'This Blue Spruce specimen has a tight branching habit and will reach a mature height of 14 x 10 feet', '7 - 8 ft', 43, 200, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('E9', 3, 'Deadora Cedar', 'This specimen has a very short needle length and loose growing habit reaching a mature size of 30 x 15 feet', '7 - 8 ft', 48, 185, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('E10', 3, 'White Cedar', 'This specimen has a tight growth habit with a light citrus scent. Reaching a mature size of 25 x 15 feet', '7 - 8 ft', 38, 200, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('S5', 2, 'Ilex \"Blue Maid\"', 'A member of the blue holly variety with medium green foliage and a tight growth habit', '3 Gallon', 47, 35, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('S6', 2, 'Lilac \"Delightful\"', 'A tall Shrub with light purple fragrant flowers in spring', '3 Gallon', 53, 25, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('S7', 2, 'Helleri Holly', 'This shrub has a very tight growth habit with tiny foliage of bright green', '3 Gallon', 49, 30, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('S8', 2, 'Oak Leaf Hydrangea', 'This hydrangea has a peeling copper bark and large white to pink blooms in summer', '3 Gallon', 51, 35, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('S9', 2, 'Annabelle Hydrangea', 'This hydrangea has an up right habit and large pom-pom shaped white blooms in summer', '3 Gallon', 63, 30, 0); INSERT INTO `Products` (`ProductID`, `CatID`, `Plant_Name`, `Description`, `Size`, `In_Stock`, `Price`, `Order_Quantity`) VALUES ('S10', 2, 'Juniper \"Grey Owl\"', 'This juniper specimen has a large branching habit with light grey blue foliage', '3 Gallon', 57, 30, 0); # 40 records # # Table structure for table 'Users' # DROP TABLE IF EXISTS `Users`; CREATE TABLE `Users` ( `UserID` INTEGER NOT NULL AUTO_INCREMENT, `First_Name` VARCHAR(255), `Last_Name` VARCHAR(255), `Email` VARCHAR(255), `Address` VARCHAR(255), `City` VARCHAR(255), `State` VARCHAR(255), `Zip_Code` INTEGER DEFAULT 0, `Login` VARCHAR(255), `Password` VARCHAR(255), `Level` VARCHAR(255), UNIQUE (`Last_Name`), PRIMARY KEY (`UserID`), UNIQUE (`UserID`), INDEX (`City`), UNIQUE (`Zip_Code`) ) ENGINE=myisam DEFAULT CHARSET=utf8; SET autocommit=1; # # Dumping data for table 'Users' # # 0 records
    true
    b641b3374dd901c7a02c3c3762dcda4e0a481f20
    SQL
    zgdkik/springcloud-g
    /sql/user_permission.sql
    UTF-8
    1,709
    3.203125
    3
    [ "Apache-2.0" ]
    permissive
    /* Navicat Premium Data Transfer Source Server : cat Source Server Type : MySQL Source Server Version : 50724 Source Host : 193.112.113.194:3366 Source Schema : books Target Server Type : MySQL Target Server Version : 50724 File Encoding : 65001 Date: 26/10/2018 14:01:10 */ SET NAMES utf8mb4; SET FOREIGN_KEY_CHECKS = 0; -- ---------------------------- -- Table structure for user_permission -- ---------------------------- DROP TABLE IF EXISTS `user_permission`; CREATE TABLE `user_permission` ( `id` int(255) NOT NULL AUTO_INCREMENT COMMENT 'ID', `role` varchar(25) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户名', `function` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `service_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '机能名', `visible_function` tinyint(1) NULL DEFAULT NULL COMMENT '功能是否显示', `add_function` tinyint(1) NULL DEFAULT NULL COMMENT '数据追加功能', `update_function` tinyint(1) NULL DEFAULT NULL COMMENT '数据更新功能', `delete_function` tinyint(1) NULL DEFAULT NULL COMMENT '数据删除功能', `ctime` timestamp(0) NULL DEFAULT NULL COMMENT '创建时间', `utime` timestamp(0) NULL DEFAULT NULL COMMENT '更新时间', `operator` varchar(25) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '操作人', PRIMARY KEY (`id`) USING BTREE, INDEX `Index_1`(`role`) USING BTREE, INDEX `Index_2`(`service_id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact; SET FOREIGN_KEY_CHECKS = 1;
    true