sql
stringlengths
6
1.05M
-- phpMyAdmin SQL Dump -- version 5.0.1 -- https://www.phpmyadmin.net/ -- -- Host: localhost -- Generation Time: Mar 21, 2020 at 03:13 AM -- Server version: 10.4.11-MariaDB -- PHP Version: 7.4.2 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 */; -- -------------------------------------------------------- -- -- Table structure for table `path_access` -- DROP TABLE IF EXISTS `path_access`; CREATE TABLE IF NOT EXISTS `path_access` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user` char(12) NOT NULL, `path_name` char(128) NOT NULL, `_author` char(12) NOT NULL, `_created` datetime NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`id`), KEY `user` (`user`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; -- -- Dumping data for table `path_access` -- INSERT INTO `path_access` (`id`, `user`, `path_name`, `_author`) VALUES (1, 'DFOWNER', 'project-admin/', 'DFOWNER'); -- -------------------------------------------------------- -- -- Table structure for table `user` -- DROP TABLE IF EXISTS `user`; CREATE TABLE IF NOT EXISTS `user` ( `_id` char(12) NOT NULL, `status` char(25) NOT NULL DEFAULT 'PENDING', `work_group` char(32) NOT NULL, `email` char(55) NOT NULL, `phone` char(16) DEFAULT NULL, `password` varchar(128) DEFAULT NULL, `name` char(32) NOT NULL, `surname` char(32) NOT NULL, `country_code` char(2) NOT NULL, `state_code` char(8) NOT NULL, `_author` char(12) NOT NULL, `_created` datetime NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`_id`), UNIQUE KEY `email` (`email`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `user` -- INSERT INTO `user` (`_id`, `status`, `work_group`, `email`, `phone`, `password`, `name`, `surname`, `country_code`, `state_code`, `_author`) VALUES ('DFOWNER', 'ACTIVE', 'OWNER', '<EMAIL>', NULL, '$2y$10$ZGNkNjhkZDc3OTAwZDQ2Z.cOwfggpgrg3GFo/mzscbQf9im5Mf.yK', 'Default', 'Owner', 'NG', 'NGLAG', 'DFOWNER'); -- -------------------------------------------------------- -- -- Table structure for table `work_domain` -- DROP TABLE IF EXISTS `work_domain`; CREATE TABLE IF NOT EXISTS `work_domain` ( `name` char(98) NOT NULL, `acronym` char(16) NOT NULL, `path` char(72) NOT NULL, `icon` char(72) NOT NULL, `description` varchar(256) NOT NULL, PRIMARY KEY (`name`), UNIQUE KEY `acronym` (`acronym`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `work_domain` -- INSERT INTO `work_domain` (`name`, `acronym`, `path`, `icon`, `description`) VALUES ('project-admin', 'ADM', '/admin', 'fas fa-cogs', 'Admin Web portal'); -- -------------------------------------------------------- -- -- Table structure for table `work_group` -- DROP TABLE IF EXISTS `work_group`; CREATE TABLE IF NOT EXISTS `work_group` ( `name` char(32) NOT NULL, `rank` tinyint(2) NOT NULL, PRIMARY KEY (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `work_group` -- INSERT INTO `work_group` (`name`, `rank`) VALUES ('ADMIN', 6), ('ADVERTISER', 3), ('ANALYST', 2), ('DEVELOPER', 7), ('EDITOR', 5), ('GUEST', 0), ('MODERATOR', 4), ('OWNER', 14), ('SUPERADMIN', 8), ('USER', 1); -- -------------------------------------------------------- -- -- Table structure for table `work_path` -- DROP TABLE IF EXISTS `work_path`; CREATE TABLE IF NOT EXISTS `work_path` ( `name` char(128) NOT NULL COMMENT 'domain/path', `domain` char(98) NOT NULL, `path` char(56) NOT NULL, `nav_visible` tinyint(1) NOT NULL DEFAULT 0, `access_rank` tinyint(2) NOT NULL, `access_rank_strict` tinyint(1) DEFAULT 0, `onclick` char(32) DEFAULT NULL, `classname` char(56) DEFAULT NULL, `title` char(56) NOT NULL, `icon` char(72) DEFAULT NULL, `sort` tinyint(3) UNSIGNED DEFAULT 0, `description` varchar(256) NOT NULL, `_created` datetime NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`name`), KEY `domain` (`domain`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `work_path` -- INSERT INTO `work_path` (`name`, `domain`, `path`, `nav_visible`, `access_rank`, `access_rank_strict`, `onclick`, `classname`, `title`, `icon`, `sort`, `description`) VALUES ('project-admin/', 'project-admin', '/', 0, 7, 0, NULL, NULL, 'Ultimate access', NULL, 0, 'Ultimate domain -path/access'), ('project-admin/dashboard', 'project-admin', '/dashboard', 1, 4, 0, '', '', 'Dashboard', '&lt;i class=&quot;fas fa-tachometer-alt&quot;&gt;&lt;/i&gt;', 0, 'Admin dashboard'), ('project-admin/path-access', 'project-admin', '/path-access', 0, 6, 0, NULL, NULL, '/Path-access', NULL, 0, 'Path access management grant'), ('project-admin/path-accesses', 'project-admin', '/path-accesses', 1, 6, 0, '', '', 'Path access', '&lt;i class=&quot;fas fa-universal-access&quot;&gt;&lt;/i&gt;', 4, 'Path access listing'), ('project-admin/sign-out', 'project-admin', '/sign-out', 1, 1, 1, '', '', 'Sign out', '&lt;i class=&quot;fas fa-sign-out-alt&quot;&gt;&lt;/i&gt;', 50, 'Link to sign out'), ('project-admin/user', 'project-admin', '/user', 0, 6, 0, NULL, NULL, '/User', NULL, 0, 'Path access for user management'), ('project-admin/users', 'project-admin', '/users', 1, 4, 0, '', '', 'Users', '&lt;i class=&quot;fas fa-users&quot;&gt;&lt;/i&gt;', 1, 'Admin user accounts'), ('project-admin/work-domain', 'project-admin', '/work-domain', 0, 6, 0, NULL, NULL, '/WorkDomain', NULL, 0, 'Work domain management access'), ('project-admin/work-domains', 'project-admin', '/work-domains', 1, 4, 0, '', '', 'Work domains', '&lt;i class=&quot;fas fa-globe&quot;&gt;&lt;/i&gt;', 2, 'Work domain list'), ('project-admin/work-path', 'project-admin', '/work-path', 0, 6, 0, NULL, NULL, '/Work-Path', NULL, 0, 'Work path manager access'), ('project-admin/work-paths', 'project-admin', '/work-paths', 1, 6, 0, '', '', 'Work paths', '&lt;i class=&quot;fas fa-folder-open&quot;&gt;&lt;/i&gt;', 3, 'List of work paths'), ('project-admin/setting', 'project-admin', '/setting', 0, 5, 0, NULL, NULL, '/Setting access', NULL, 0, 'Path access for settings'), ('project-admin/setting-option', 'project-admin', '/setting-option', 0, 7, 0, NULL, NULL, '/Setting option', NULL, 0, 'Access to manage setting options'), ('project-admin/setting-options', 'project-admin', '/setting-options', 1, 7, 0, '', '', 'Setting options', '&lt;i class=&quot;fas fa-cogs&quot;&gt;&lt;/i&gt;', 11, 'View setting options'), ('project-admin/settings', 'project-admin', '/settings', 1, 4, 0, NULL, NULL, 'Settings', '&lt;i class=&quot;fas fa-cog&quot;&gt;&lt;/i&gt;', 10, 'Settings list/options'); 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 */;
<reponame>condee78/SQL-Server<filename>Change Data Capture/CDC_Disable_Table.sql USE yourdbname GO EXECUTE sys.sp_cdc_disable_table @source_schema = N'dbo', @source_name = N'yourtablename', @capture_instance = N'yourcaptureinstance_name'; GO
<filename>templates/SQL/MySQL/CREATE SCRIPT.sql -- ----------------------------------------------------- -- Table `Template` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `Template` ( `id` INT NOT NULL AUTO_INCREMENT , `Title` VARCHAR(30) NOT NULL , PRIMARY KEY (`id`) ) ENGINE = InnoDB; -- ----------------------------------------------------- -- Table `References` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `References` ( `url` VARCHAR(400) NOT NULL , `Templates_id` INT NOT NULL , PRIMARY KEY (`url`, `Templates_id`) , INDEX `fk_References_Template_idx` (`Templates_id` ASC) , CONSTRAINT `fk_References_Template` FOREIGN KEY (`Template_id`) REFERENCES `Template` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION) ENGINE = InnoDB;
<filename>bookmytalkies_full_backup/ACCESSIBLE_SEAT_DATA_TABLE.sql REM INSERTING into CS669.ACCESSIBLE_SEAT SET DEFINE OFF; Insert into CS669.ACCESSIBLE_SEAT (SEAT_ID) values ('131'); Insert into CS669.ACCESSIBLE_SEAT (SEAT_ID) values ('132'); Insert into CS669.ACCESSIBLE_SEAT (SEAT_ID) values ('133'); Insert into CS669.ACCESSIBLE_SEAT (SEAT_ID) values ('134'); Insert into CS669.ACCESSIBLE_SEAT (SEAT_ID) values ('135'); Insert into CS669.ACCESSIBLE_SEAT (SEAT_ID) values ('181'); Insert into CS669.ACCESSIBLE_SEAT (SEAT_ID) values ('182'); Insert into CS669.ACCESSIBLE_SEAT (SEAT_ID) values ('183'); Insert into CS669.ACCESSIBLE_SEAT (SEAT_ID) values ('184'); Insert into CS669.ACCESSIBLE_SEAT (SEAT_ID) values ('185'); Insert into CS669.ACCESSIBLE_SEAT (SEAT_ID) values ('31'); Insert into CS669.ACCESSIBLE_SEAT (SEAT_ID) values ('32'); Insert into CS669.ACCESSIBLE_SEAT (SEAT_ID) values ('33'); Insert into CS669.ACCESSIBLE_SEAT (SEAT_ID) values ('34'); Insert into CS669.ACCESSIBLE_SEAT (SEAT_ID) values ('35'); Insert into CS669.ACCESSIBLE_SEAT (SEAT_ID) values ('81'); Insert into CS669.ACCESSIBLE_SEAT (SEAT_ID) values ('82'); Insert into CS669.ACCESSIBLE_SEAT (SEAT_ID) values ('83'); Insert into CS669.ACCESSIBLE_SEAT (SEAT_ID) values ('84'); Insert into CS669.ACCESSIBLE_SEAT (SEAT_ID) values ('85');
<reponame>Lotes/mysql-meta-modeling --input SELECT * FROM t; --output NEEDED t:TABLE_LIKE
<gh_stars>0 insert into public.usuario (login, nome, senha, nivel_acesso, datacadastro) select 'admin', 'admin', md5('admin'), 'ADMIN', now();
SELECT b.name, b.address, b.phone, a.product_id, a.subscription_date FROM subscription a JOIN customer b ON a.customer_id=b.id WHERE b.id IN ( SELECT customer_id FROM Subscription GROUP BY customer_id HAVING COUNT(customer_id) > 1 ) ORDER BY b.id ASC;
/* SQLyog Ultimate v13.1.5 (64 bit) MySQL - 192.168.3.11 : Database - costs_to_expect_api ********************************************************************* */ /*!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*/`costs_to_expect_api` /*!40100 DEFAULT CHARACTER SET utf8 */; USE `costs_to_expect_api`; /*Table structure for table `category` */ DROP TABLE IF EXISTS `category`; CREATE TABLE `category` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `resource_type_id` bigint(20) unsigned NOT NULL DEFAULT '1', `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `category_name_resource_type_id_unique` (`name`,`resource_type_id`), KEY `category_resource_type_id_foreign` (`resource_type_id`), CONSTRAINT `category_resource_type_id_foreign` FOREIGN KEY (`resource_type_id`) REFERENCES `resource_type` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*Table structure for table `error_log` */ DROP TABLE IF EXISTS `error_log`; CREATE TABLE `error_log` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `message` text COLLATE utf8mb4_unicode_ci NOT NULL, `file` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `line` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `trace` text COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*Table structure for table `item` */ DROP TABLE IF EXISTS `item`; CREATE TABLE `item` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `resource_id` bigint(20) unsigned NOT NULL, `created_by` bigint(20) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_by` bigint(20) unsigned DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `item_resource_id_foreign` (`resource_id`), KEY `item_created_by_foreign` (`created_by`), KEY `item_updated_by_foreign` (`updated_by`), CONSTRAINT `item_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`), CONSTRAINT `item_resource_id_foreign` FOREIGN KEY (`resource_id`) REFERENCES `resource` (`id`), CONSTRAINT `item_updated_by_foreign` FOREIGN KEY (`updated_by`) REFERENCES `users` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*Table structure for table `item_category` */ DROP TABLE IF EXISTS `item_category`; CREATE TABLE `item_category` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `item_id` bigint(20) unsigned NOT NULL, `category_id` bigint(20) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `item_category_item_id_unique` (`item_id`), KEY `item_category_category_id_foreign` (`category_id`), CONSTRAINT `item_category_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `category` (`id`), CONSTRAINT `item_category_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `item` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*Table structure for table `item_sub_category` */ DROP TABLE IF EXISTS `item_sub_category`; CREATE TABLE `item_sub_category` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `item_category_id` bigint(20) unsigned NOT NULL, `sub_category_id` bigint(20) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `item_sub_category_item_category_id_unique` (`item_category_id`), KEY `item_sub_category_sub_category_id_foreign` (`sub_category_id`), CONSTRAINT `item_sub_category_item_category_id_foreign` FOREIGN KEY (`item_category_id`) REFERENCES `item_category` (`id`), CONSTRAINT `item_sub_category_sub_category_id_foreign` FOREIGN KEY (`sub_category_id`) REFERENCES `sub_category` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*Table structure for table `item_type` */ DROP TABLE IF EXISTS `item_type`; CREATE TABLE `item_type` ( `id` int(3) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(25) COLLATE utf8mb4_unicode_ci NOT NULL, `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `item_type_name_index` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*Table structure for table `item_type_allocated_expense` */ DROP TABLE IF EXISTS `item_type_allocated_expense`; CREATE TABLE `item_type_allocated_expense` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `item_id` bigint(20) unsigned NOT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `effective_date` date NOT NULL, `publish_after` date DEFAULT NULL, `total` decimal(10,2) NOT NULL, `percentage` tinyint(3) NOT NULL, `actualised_total` decimal(10,2) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `effective_date` (`effective_date`), KEY `publish_after` (`publish_after`), KEY `item_id` (`item_id`), CONSTRAINT `item_type_allocated_expense_ibfk_1` FOREIGN KEY (`item_id`) REFERENCES `item` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*Table structure for table `item_type_simple_expense` */ DROP TABLE IF EXISTS `item_type_simple_expense`; CREATE TABLE `item_type_simple_expense` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `item_id` bigint(20) unsigned NOT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `effective_date` date NOT NULL, `total` decimal(10,2) NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `effective_date` (`effective_date`), KEY `item_id` (`item_id`), CONSTRAINT `item_type_simple_expense_ibfk_1` FOREIGN KEY (`item_id`) REFERENCES `item` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*Table structure for table `permitted_user` */ DROP TABLE IF EXISTS `permitted_user`; CREATE TABLE `permitted_user` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `resource_type_id` bigint(20) unsigned NOT NULL, `user_id` bigint(20) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `permitted_users_resource_type_id_foreign` (`resource_type_id`), KEY `permitted_users_user_id_foreign` (`user_id`), CONSTRAINT `permitted_user_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`), CONSTRAINT `permitted_users_resource_type_id_foreign` FOREIGN KEY (`resource_type_id`) REFERENCES `resource_type` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*Table structure for table `request_error_log` */ DROP TABLE IF EXISTS `request_error_log`; CREATE TABLE `request_error_log` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `method` char(8) COLLATE utf8mb4_unicode_ci NOT NULL, `source` varchar(25) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'api', `debug` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `expected_status_code` smallint(5) unsigned NOT NULL, `returned_status_code` smallint(5) unsigned NOT NULL, `request_uri` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `request_error_log_source_index` (`source`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*Table structure for table `request_log` */ DROP TABLE IF EXISTS `request_log`; CREATE TABLE `request_log` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `method` char(8) COLLATE utf8mb4_unicode_ci NOT NULL, `source` varchar(25) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'api', `request` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `request_log_source_index` (`source`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*Table structure for table `resource` */ DROP TABLE IF EXISTS `resource`; CREATE TABLE `resource` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `resource_type_id` bigint(20) unsigned NOT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `effective_date` date NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `resource_resource_type_id_name_unique` (`resource_type_id`,`name`), CONSTRAINT `resource_resource_type_id_foreign` FOREIGN KEY (`resource_type_id`) REFERENCES `resource_type` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*Table structure for table `resource_type` */ DROP TABLE IF EXISTS `resource_type`; CREATE TABLE `resource_type` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `public` tinyint(1) NOT NULL DEFAULT '0', `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `resource_type_name_unique` (`name`), KEY `resource_type_public_index` (`public`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*Table structure for table `resource_type_item_type` */ DROP TABLE IF EXISTS `resource_type_item_type`; CREATE TABLE `resource_type_item_type` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `resource_type_id` bigint(20) unsigned DEFAULT NULL, `item_type_id` int(3) unsigned DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `resource_type_id` (`resource_type_id`), KEY `item_type_id` (`item_type_id`), CONSTRAINT `resource_type_item_type_ibfk_1` FOREIGN KEY (`resource_type_id`) REFERENCES `resource_type` (`id`), CONSTRAINT `resource_type_item_type_ibfk_2` FOREIGN KEY (`item_type_id`) REFERENCES `item_type` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*Table structure for table `sub_category` */ DROP TABLE IF EXISTS `sub_category`; CREATE TABLE `sub_category` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `category_id` bigint(20) unsigned NOT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `sub_category_category_id_name_unique` (`category_id`,`name`), CONSTRAINT `sub_category_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `category` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!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 */; ======= /* SQLyog Ultimate v13.1.2 (64 bit) MySQL - 5.6.39.0 : Database - costs_to_expect_api ********************************************************************* */ /*!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*/`costs_to_expect_api` /*!40100 DEFAULT CHARACTER SET utf8 */; USE `costs_to_expect_api`; /*Table structure for table `category` */ DROP TABLE IF EXISTS `category`; CREATE TABLE `category` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `resource_type_id` bigint(20) unsigned NOT NULL DEFAULT '1', `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `category_name_resource_type_id_unique` (`name`,`resource_type_id`), KEY `category_resource_type_id_foreign` (`resource_type_id`), CONSTRAINT `category_resource_type_id_foreign` FOREIGN KEY (`resource_type_id`) REFERENCES `resource_type` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*Table structure for table `item` */ DROP TABLE IF EXISTS `item`; CREATE TABLE `item` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `resource_id` bigint(20) unsigned NOT NULL, `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `effective_date` date NOT NULL, `publish_after` date DEFAULT NULL, `total` decimal(10,2) NOT NULL, `percentage` tinyint(3) unsigned NOT NULL DEFAULT '100', `actualised_total` decimal(10,2) NOT NULL, `user_id` int(10) unsigned NOT NULL DEFAULT '1', `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `item_resource_id_foreign` (`resource_id`), KEY `item_user_id_foreign` (`user_id`), KEY `item_publish_after_index` (`publish_after`), CONSTRAINT `item_resource_id_foreign` FOREIGN KEY (`resource_id`) REFERENCES `resource` (`id`), CONSTRAINT `item_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=1610 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*Table structure for table `item_category` */ DROP TABLE IF EXISTS `item_category`; CREATE TABLE `item_category` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `item_id` bigint(20) unsigned NOT NULL, `category_id` bigint(20) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `item_category_item_id_unique` (`item_id`), KEY `item_category_category_id_foreign` (`category_id`), CONSTRAINT `item_category_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `category` (`id`), CONSTRAINT `item_category_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `item` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=1499 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*Table structure for table `item_sub_category` */ DROP TABLE IF EXISTS `item_sub_category`; CREATE TABLE `item_sub_category` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `item_category_id` bigint(20) unsigned NOT NULL, `sub_category_id` bigint(20) unsigned NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `item_sub_category_item_category_id_unique` (`item_category_id`), KEY `item_sub_category_sub_category_id_foreign` (`sub_category_id`), CONSTRAINT `item_sub_category_item_category_id_foreign` FOREIGN KEY (`item_category_id`) REFERENCES `item_category` (`id`), CONSTRAINT `item_sub_category_sub_category_id_foreign` FOREIGN KEY (`sub_category_id`) REFERENCES `sub_category` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=1496 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*Table structure for table `request_error_log` */ DROP TABLE IF EXISTS `request_error_log`; CREATE TABLE `request_error_log` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `method` char(8) COLLATE utf8mb4_unicode_ci NOT NULL, `source` varchar(25) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'api', `expected_status_code` smallint(5) unsigned NOT NULL, `returned_status_code` smallint(5) unsigned NOT NULL, `request_uri` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `request_error_log_source_index` (`source`) ) ENGINE=InnoDB AUTO_INCREMENT=47 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*Table structure for table `request_log` */ DROP TABLE IF EXISTS `request_log`; CREATE TABLE `request_log` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `method` char(8) COLLATE utf8mb4_unicode_ci NOT NULL, `source` varchar(25) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'api', `request` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), KEY `request_log_source_index` (`source`) ) ENGINE=InnoDB AUTO_INCREMENT=151786 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*Table structure for table `resource` */ DROP TABLE IF EXISTS `resource`; CREATE TABLE `resource` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `resource_type_id` bigint(20) unsigned NOT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `effective_date` date NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `resource_resource_type_id_name_unique` (`resource_type_id`,`name`), CONSTRAINT `resource_resource_type_id_foreign` FOREIGN KEY (`resource_type_id`) REFERENCES `resource_type` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=65 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*Table structure for table `resource_type` */ DROP TABLE IF EXISTS `resource_type`; CREATE TABLE `resource_type` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `private` tinyint(4) NOT NULL DEFAULT '0', `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `resource_type_name_unique` (`name`), KEY `resource_type_private_index` (`private`) ) ENGINE=InnoDB AUTO_INCREMENT=64 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*Table structure for table `sub_category` */ DROP TABLE IF EXISTS `sub_category`; CREATE TABLE `sub_category` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `category_id` bigint(20) unsigned NOT NULL, `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `created_at` timestamp NULL DEFAULT NULL, `updated_at` timestamp NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `sub_category_category_id_name_unique` (`category_id`,`name`), CONSTRAINT `sub_category_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `category` (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=44 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!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 *
Create table If Not Exists Accounts (id int, name varchar(10)); Create table If Not Exists Logins (id int, login_date date); Truncate table Accounts; insert into Accounts (id, name) values ('1', 'Winston'); insert into Accounts (id, name) values ('7', 'Jonathan'); Truncate table Logins; insert into Logins (id, login_date) values ('7', '2020-05-30'); insert into Logins (id, login_date) values ('1', '2020-05-30'); insert into Logins (id, login_date) values ('7', '2020-05-31'); insert into Logins (id, login_date) values ('7', '2020-06-01'); insert into Logins (id, login_date) values ('7', '2020-06-02'); insert into Logins (id, login_date) values ('7', '2020-06-02'); insert into Logins (id, login_date) values ('7', '2020-06-03'); insert into Logins (id, login_date) values ('1', '2020-06-07'); insert into Logins (id, login_date) values ('7', '2020-06-10');
-- randexpr1.test -- -- db eval {SELECT (select case case min(d) when abs(cast(avg((abs(a)/abs(coalesce((select (select abs(cast(avg(t1.f) AS integer)) from t1) from t1 where (case when t1.e in (select 11 from t1 union select 17 from t1) then -t1.e- -t1.e else a end<>a) and not not exists(select 1 from t1 where t1.b in (select ~+max( -t1.b) & max(t1.c) from t1 union select count(distinct -t1.a) from t1))),t1.a)))) AS integer)) then (count(*) & ((count(distinct b)))-count(*)) else min(11) end when max(a) then count(distinct f) else (min(17)) end from t1) FROM t1 WHERE NOT (coalesce((select max(13) from t1 where t1.b not in ( -case when 13 not between 17 and b then f when t1.e+~+e between coalesce((select max(case 19 when e then 17 else coalesce((select coalesce((select max(f) from t1 where exists(select 1 from t1 where t1.b not between t1.a and a)),e)*b*t1.f from t1 where t1.f>=t1.c),c) end) from t1 where e>b),t1.f) | f and f then c else 11 end,(c),t1.e)),19)-t1.c in (select t1.a from t1 union select e from t1))} SELECT (select case case min(d) when abs(cast(avg((abs(a)/abs(coalesce((select (select abs(cast(avg(t1.f) AS integer)) from t1) from t1 where (case when t1.e in (select 11 from t1 union select 17 from t1) then -t1.e- -t1.e else a end<>a) and not not exists(select 1 from t1 where t1.b in (select ~+max( -t1.b) & max(t1.c) from t1 union select count(distinct -t1.a) from t1))),t1.a)))) AS integer)) then (count(*) & ((count(distinct b)))-count(*)) else min(11) end when max(a) then count(distinct f) else (min(17)) end from t1) FROM t1 WHERE NOT (coalesce((select max(13) from t1 where t1.b not in ( -case when 13 not between 17 and b then f when t1.e+~+e between coalesce((select max(case 19 when e then 17 else coalesce((select coalesce((select max(f) from t1 where exists(select 1 from t1 where t1.b not between t1.a and a)),e)*b*t1.f from t1 where t1.f>=t1.c),c) end) from t1 where e>b),t1.f) | f and f then c else 11 end,(c),t1.e)),19)-t1.c in (select t1.a from t1 union select e from t1))
<reponame>samposig/Employee2<gh_stars>0 DROP TABLE IF EXISTS departments; DROP TABLE IF EXISTS employees; DROP TABLE IF EXISTS roles; CREATE TABLE departments( id INTEGER AUTO_INCREMENT PRIMARY KEY, name NOT NULL, ) CREATE TABLE employees( id INTEGER AUTO_INCREMENT PRIMARY KEY, first_name NOT NULL, last_name NOT NULL, role_id INTEGER, constraint FK_ROLE FOREIGN KEY (role_id) REFERENCES roles(id) ON DELETE SET NULL, manager_id INTEGER, constraint FK_MANAGER FOREIGN KEY (manager_id) REFERENCES employees(id) ON DELETE SET NULL ) CREATE TABLE roles( id INTEGER AUTO_INCREMENT PRIMARY KEY, role_name NOT NULL, salary DECIMAL, department_id INTEGER, constraint FK_DEPARMENT FOREIGN KEY (department_id) REFERENCES departments(id) ON DELETE SET NULL, )
<filename>recipes/dates/age.sql # age.sql: demonstrate age-in-years and age-in-months calculations # age in years SELECT name, birth, CURDATE() AS today, #@ _AGE_IN_YEARS_1_ (YEAR(CURDATE()) - YEAR(birth)) - (RIGHT(CURDATE(),5) < RIGHT(birth,5)) #@ _AGE_IN_YEARS_1_ AS 'age in years', #@ _AGE_IN_YEARS_2_ (YEAR(CURDATE()) - YEAR(birth)) - IF(RIGHT(CURDATE(),5) < RIGHT(birth,5),1,0) #@ _AGE_IN_YEARS_2_ AS 'age in years 2' FROM siblings ; # age in months, first by extending the technique used in the previous # statement, and then by extracting the month and day directly rather than # by using a string comparison SELECT name, birth, CURDATE() AS today, (YEAR(CURDATE()) - YEAR(birth)) * 12 + (MONTH(CURDATE()) - MONTH(birth)) - IF(RIGHT(CURDATE(),2) < RIGHT(birth,2),1,0) AS 'age in months' FROM siblings ; SELECT name, birth, CURDATE() AS today, (YEAR(CURDATE()) - YEAR(birth)) * 12 + (MONTH(CURDATE()) - MONTH(birth)) - IF(DAYOFMONTH(CURDATE()) < DAYOFMONTH(birth),1,0) AS 'age in months' FROM siblings ;
-- noinspection SqlResolveForFile -- noinspection SqlNoDataSourceInspectionForFile select dom_base_uri(dom) as url, str_substring_between(dom_first_href(dom, 'span.zg-item a:expr(img=1)'), '/dp/', '/ref=') as `asin`, dom_first_href(dom, 'a[href~=/dp/]') as `asin_url`, str_substring_between(dom_base_uri(dom), 'movers-and-shakers/', '/') as `categoryinurl`, array_join_to_string(dom_all_texts(dom_owner_body(dom), 'ul#zg_browseRoot li.zg_browseUp'), ' > ') as `categorylevel`, dom_first_text(dom_owner_body(dom), 'ul#zg_browseRoot .zg_selected') as `selectedcategory`, dom_base_uri(dom) as `category_url`, dom_first_text(dom, 'span.zg-badge-text') as `rank`, dom_first_text(dom, 'span:containsOwn(offers from)') as `offers`, dom_first_text(dom, '.p13n-sc-price') as `price`, dom_first_text(dom, 'span.zg-item a > div:expr(img=0 && char>10)') as title, dom_first_attr(dom, 'span.zg-item div img[src]', 'src') as `pic`, str_substring_between(dom_first_attr(dom, 'span.zg-item div a i.a-icon-star', 'class'), ' a-star-', ' ') as score, dom_first_text(dom, 'span.zg-item div a:has(i.a-icon-star) ~ a') as starnum, dom_first_text(dom, 'span.zg-percent-change') as `sales_rank_change`, dom_first_text(dom, 'span.zg-sales-movement') as `sales_rank`, time_first_mysql_date_time(dom_attr(dom_select_first(dom_owner_body(dom), '#PulsarMetaInformation'), 'taskTime')) as `task_time` from load_and_select(@url, 'ol#zg-ordered-list li.zg-item-immersion');
<reponame>alondhe/Achilles -- 1310 Number of visit detail records with invalid care_site_id SELECT 1310 AS analysis_id, CAST(NULL AS VARCHAR(255)) AS stratum_1, CAST(NULL AS VARCHAR(255)) AS stratum_2, CAST(NULL AS VARCHAR(255)) AS stratum_3, CAST(NULL AS VARCHAR(255)) AS stratum_4, CAST(NULL AS VARCHAR(255)) AS stratum_5, COUNT_BIG(vd.person_id) AS count_value INTO @scratchDatabaseSchema@schemaDelim@tempAchillesPrefix_1310 FROM @cdmDatabaseSchema.visit_detail vd LEFT JOIN @cdmDatabaseSchema.care_site cs ON vd.care_site_id = cs.care_site_id WHERE vd.care_site_id IS NOT NULL AND cs.care_site_id IS NULL;
<reponame>scossin/Achilles -- 230 Number of visit_occurrence records inside a valid observation period SELECT 230 AS analysis_id, CAST(NULL AS VARCHAR(255)) AS stratum_1, CAST(NULL AS VARCHAR(255)) AS stratum_2, CAST(NULL AS VARCHAR(255)) AS stratum_3, CAST(NULL AS VARCHAR(255)) AS stratum_4, CAST(NULL AS VARCHAR(255)) AS stratum_5, COUNT_BIG(*) AS count_value INTO @scratchDatabaseSchema@schemaDelim@tempAchillesPrefix_230 FROM @cdmDatabaseSchema.visit_occurrence vo LEFT JOIN @cdmDatabaseSchema.observation_period op ON vo.person_id = op.person_id AND vo.visit_start_date >= op.observation_period_start_date AND vo.visit_start_date <= op.observation_period_end_date ;
<reponame>rrickgauer/api.tasks<filename>scripts/testing/mock-data/Events.sql insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('ad195c74-d5e5-4495-a48a-df58124ef65a', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'expedite innovative initiatives', 'Sed ante. Vivamus tortor. Duis mattis egestas metus.', '8581083795', '34434 Arizona Trail', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'CA', '92121', '2020-11-28', '2021-05-25', '7:11', '23:34', 'DAILY', 21, 1, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('b881e935-c201-4972-ab27-127dca98647b', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'recontextualize mission-critical content', 'Quisque porta volutpat erat. Quisque erat eros, viverra eget, congue eget, semper rutrum, nulla. Nunc purus . Phasellus in felis. Donec semper sapien a libero. Nam dui.', '5418672591', '367 5th Circle', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'OR', '97405', '2020-11-25', '2021-11-14', '2:11', '14:57', 'DAILY', 20, 0, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('c31fd327-8ce5-420d-bdf4-d23f8f677983', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'enhance granular bandwidth', 'In quis justo. Maecenas rhoncus aliquam lacus. Morbi quis tortor id nulla ultrices aliquet.', '4142145000', '726 Fuller Circle', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'WI', '53234', '2020-09-08', '2021-11-09', '19:31', '8:57', 'DAILY', 28, 6, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('0852f2b4-68db-44cb-86b0-96c12fc23e19', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'envisioneer extensible infrastructures', 'Fusce consequat. Nulla nisl. Nunc nisl . Duis bibendum, felis sed interdum venenatis, turpis enim blandit mi, in porttitor pede justo eu massa. Donec dapibus. Duis at velit eu est congue elementum.', '9895067698', '86480 7th Park', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'MI', '48609', '2020-10-08', '2020-12-09', '4:29', '14:49', 'DAILY', 12, 4, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('2e3dd5e1-5518-45ab-bced-e0f3484899d5', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'engineer out-of-the-box vortals', 'Praesent blandit. Nam nulla. Integer pede justo, lacinia eget, tincidunt eget, tempus vel, pede.', '3254171557', '458 Texas Pass', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'TX', '79699', '2020-10-26', '2021-07-15', '21:11', '1:23', 'DAILY', 30, 5, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('ae626e27-deb6-4e6c-9d8f-21b7d0f7e480', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'seize wireless e-services', 'Morbi porttitor lorem id ligula. Suspendisse ornare consequat lectus. In est risus, auctor sed, tristique in, tempus sit amet, sem . Fusce consequat. Nulla nisl. Nunc nisl . Duis bibendum, felis sed interdum venenatis, turpis enim blandit mi, in porttitor pede justo eu massa. Donec dapibus. Duis at velit eu est congue elementum.', '7195130563', '0249 Hansons Crossing', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'CO', '81010', '2020-11-20', '2021-05-16', '7:44', '9:04', 'DAILY', 1, 4, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('cb873956-79ff-4894-8d0b-474c364eb6e8', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'deploy impactful partnerships', 'Fusce consequat. Nulla nisl. Nunc nisl.', '7273250689', '21492 Myrtle Drive', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'FL', '33731', '2020-10-10', '2021-05-31', '12:39', '0:07', 'DAILY', 8, 0, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('2aab7fa4-b064-471c-ad55-136972e3ea91', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'orchestrate value-added networks', 'Donec diam neque, vestibulum eget, vulputate ut, ultrices vel, augue. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Donec pharetra, magna vestibulum aliquet ultrices, erat tortor sollicitudin mi, sit amet lobortis sapien sapien non mi. Integer ac neque . Duis bibendum. Morbi non quam nec dui luctus rutrum. Nulla tellus . In sagittis dui vel nisl. Duis ac nibh. Fusce lacus purus, aliquet at, feugiat non, pretium quis, lectus.', '9163676325', '99136 Elka Way', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'CA', '95852', '2020-11-07', '2021-09-15', '12:04', '1:46', 'DAILY', 14, 0, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('cb25a258-d867-4785-8193-2356926d50fd', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'mesh proactive convergence', 'Proin interdum mauris non ligula pellentesque ultrices. Phasellus id sapien in sapien iaculis congue. Vivamus metus arcu, adipiscing molestie, hendrerit at, vulputate vitae, nisl . Aenean lectus. Pellentesque eget nunc. Donec quis orci eget orci vehicula condimentum.', '8592146241', '6 Sachtjen Junction', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'KY', '40581', '2020-11-03', '2022-07-03', '6:25', '11:53', 'DAILY', 5, 2, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('72c4872d-446d-489f-89b8-1ba861885c50', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'recontextualize collaborative models', 'Cras mi pede, malesuada in, imperdiet et, commodo vulputate, justo. In blandit ultrices enim. Lorem ipsum dolor sit amet, consectetuer adipiscing elit . Proin interdum mauris non ligula pellentesque ultrices. Phasellus id sapien in sapien iaculis congue. Vivamus metus arcu, adipiscing molestie, hendrerit at, vulputate vitae, nisl.', '8069849923', '71164 Nova Hill', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'TX', '79405', '2020-11-20', '2022-06-09', '19:14', '4:22', 'DAILY', 15, 4, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('3eccfb33-3e94-481c-80c0-a33d631d06f8', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'grow transparent ROI', 'Morbi non lectus. Aliquam sit amet diam in magna bibendum imperdiet. Nullam orci pede, venenatis non, sodales sed, tincidunt eu, felis . Fusce posuere felis sed lacus. Morbi sem mauris, laoreet ut, rhoncus aliquet, pulvinar sed, nisl. Nunc rhoncus dui vel sem . Sed sagittis. Nam congue, risus semper porta volutpat, quam pede lobortis ligula, sit amet eleifend pede libero quis orci. Nullam molestie nibh in lectus.', '5709852269', '4158 Marquette Court', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'PA', '18768', '2020-11-09', '2021-08-14', '8:17', '5:35', 'DAILY', 15, 1, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('12786308-0dcc-4477-a868-b1c98233fa53', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'reinvent scalable convergence', 'Phasellus sit amet erat. Nulla tempus. Vivamus in felis eu sapien cursus vestibulum . Proin eu mi. Nulla ac enim. In tempor, turpis nec euismod scelerisque, quam turpis adipiscing lorem, vitae mattis nibh ligula nec sem.', '9163448749', '500 Iowa Junction', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'CA', '94237', '2020-11-11', '2020-12-11', '20:54', '12:21', 'DAILY', 21, 2, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('e5184d99-39a6-424e-ac6b-0f2591e8256f', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'implement real-time niches', 'Integer ac leo. Pellentesque ultrices mattis odio. Donec vitae nisi . Nam ultrices, libero non mattis pulvinar, nulla pede ullamcorper augue, a suscipit nulla elit ac nulla. Sed vel enim sit amet nunc viverra dapibus. Nulla suscipit ligula in lacus.', '8155479845', '8 Westend Crossing', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'IL', '61105', '2020-09-17', '2021-04-16', '1:21', '21:03', 'DAILY', 18, 6, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('d09dc010-ee7a-4eff-9278-d6b9c42a6665', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'incubate granular solutions', 'Sed sagittis. Nam congue, risus semper porta volutpat, quam pede lobortis ligula, sit amet eleifend pede libero quis orci. Nullam molestie nibh in lectus . Pellentesque at nulla. Suspendisse potenti. Cras in purus eu magna vulputate luctus.', '6519358208', '2688 Magdeline Alley', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'MN', '55123', '2020-11-06', '2021-03-07', '11:21', '17:09', 'DAILY', 17, 5, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('9b526ae6-85d6-4941-bfc9-77aa23500585', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'incentivize compelling e-commerce', 'Maecenas tristique, est et tempus semper, est quam pharetra magna, ac consequat metus sapien ut nunc. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Mauris viverra diam vitae quam. Suspendisse potenti.', '9718506390', '619 Merrick Center', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'OR', '97271', '2020-09-16', '2022-08-15', '1:47', '18:07', 'DAILY', 19, 3, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('4c0bf54f-ca27-45b6-b193-d486b4e58fd7', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'strategize leading-edge experiences', 'Vestibulum ac est lacinia nisi venenatis tristique. Fusce congue, diam id ornare imperdiet, sapien urna pretium nisl, ut volutpat sapien arcu sed augue. Aliquam erat volutpat . In congue. Etiam justo. Etiam pretium iaculis justo . In hac habitasse platea dictumst. Etiam faucibus cursus urna. Ut tellus.', '2021343925', '6031 Caliangt Trail', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'DC', '20566', '2020-10-21', '2020-12-21', '3:20', '0:41', 'DAILY', 30, 2, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('81db846e-3c88-46b8-8baf-577323682353', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'incubate virtual systems', 'Duis bibendum. Morbi non quam nec dui luctus rutrum. Nulla tellus . In sagittis dui vel nisl. Duis ac nibh. Fusce lacus purus, aliquet at, feugiat non, pretium quis, lectus . Suspendisse potenti. In eleifend quam a odio. In hac habitasse platea dictumst.', '3215171529', '330 Sage Trail', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'FL', '32825', '2020-08-29', '2021-12-11', '8:54', '22:47', 'DAILY', 19, 1, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('79a7b467-2750-475d-bbd8-fd265da53231', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'seize dynamic e-business', 'Nam ultrices, libero non mattis pulvinar, nulla pede ullamcorper augue, a suscipit nulla elit ac nulla. Sed vel enim sit amet nunc viverra dapibus. Nulla suscipit ligula in lacus . Curabitur at ipsum ac tellus semper interdum. Mauris ullamcorper purus sit amet nulla. Quisque arcu libero, rutrum ac, lobortis vel, dapibus at, diam.', '3055564339', '571 Killdeer Parkway', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'FL', '33141', '2020-09-22', '2022-01-04', '4:53', '16:29', 'DAILY', 29, 6, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('0e186cdb-7449-476c-868d-315f22a0a89d', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'revolutionize scalable niches', 'In hac habitasse platea dictumst. Morbi vestibulum, velit id pretium iaculis, diam erat fermentum justo, nec condimentum neque sapien placerat ante. Nulla justo . Aliquam quis turpis eget elit sodales scelerisque. Mauris sit amet eros. Suspendisse accumsan tortor quis turpis.', '7862972453', '4508 Del Sol Way', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'FL', '33153', '2020-09-24', '2021-01-23', '15:26', '19:04', 'DAILY', 16, 6, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('fb34072a-8f79-4709-88c7-568f5735b704', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'orchestrate dynamic metrics', 'Mauris enim leo, rhoncus sed, vestibulum sit amet, cursus id, turpis. Integer aliquet, massa id lobortis convallis, tortor risus dapibus augue, vel accumsan tellus nisi eu orci. Mauris lacinia sapien quis libero.', '5046502409', '32958 Lukken Parkway', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'LA', '70149', '2020-11-25', '2021-09-22', '0:35', '19:35', 'DAILY', 13, 5, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('36fcebbb-b2f7-4e81-97b8-f7b0c46fc539', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'reinvent clicks-and-mortar infomediaries', 'Praesent blandit. Nam nulla. Integer pede justo, lacinia eget, tincidunt eget, tempus vel, pede.', '9045294301', '29 Sage Plaza', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'FL', '32244', '2020-11-29', '2021-02-19', '20:38', '12:40', 'DAILY', 13, 1, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('19b0ce66-3c7b-41fa-9ad3-409b1d39256d', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'synergize dot-com initiatives', 'Morbi non lectus. Aliquam sit amet diam in magna bibendum imperdiet. Nullam orci pede, venenatis non, sodales sed, tincidunt eu, felis . Fusce posuere felis sed lacus. Morbi sem mauris, laoreet ut, rhoncus aliquet, pulvinar sed, nisl. Nunc rhoncus dui vel sem . Sed sagittis. Nam congue, risus semper porta volutpat, quam pede lobortis ligula, sit amet eleifend pede libero quis orci. Nullam molestie nibh in lectus.', '2391214591', '48945 Kensington Place', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'FL', '33915', '2020-10-26', '2021-03-03', '5:50', '1:12', 'DAILY', 28, 4, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('c93c4f9c-503d-4a68-8eb7-a044c13589ef', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'benchmark bleeding-edge architectures', 'Quisque porta volutpat erat. Quisque erat eros, viverra eget, congue eget, semper rutrum, nulla. Nunc purus . Phasellus in felis. Donec semper sapien a libero. Nam dui.', '5052352743', '3794 Old Shore Hill', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'NM', '87121', '2020-10-02', '2021-05-05', '7:01', '9:48', 'DAILY', 28, 4, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('375a81ba-9632-46e6-8c24-08dff31ab027', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'revolutionize open-source technologies', 'Quisque porta volutpat erat. Quisque erat eros, viverra eget, congue eget, semper rutrum, nulla. Nunc purus.', '8057082061', '18477 Doe Crossing Junction', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'CA', '93150', '2020-08-30', '2021-01-13', '0:19', '17:35', 'DAILY', 1, 1, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('a124129c-c04c-4ab0-9172-79cecff23a23', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'enable scalable bandwidth', 'Quisque porta volutpat erat. Quisque erat eros, viverra eget, congue eget, semper rutrum, nulla. Nunc purus . Phasellus in felis. Donec semper sapien a libero. Nam dui.', '5208007280', '71883 Ludington Terrace', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'AZ', '85705', '2020-09-09', '2020-12-04', '13:16', '8:01', 'DAILY', 7, 6, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('ba810c66-c8dc-4d03-b9bb-e985688be15d', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'reintermediate mission-critical mindshare', 'Proin eu mi. Nulla ac enim. In tempor, turpis nec euismod scelerisque, quam turpis adipiscing lorem, vitae mattis nibh ligula nec sem.', '7349001367', '7041 Hintze Alley', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'MI', '48206', '2020-10-05', '2021-06-22', '21:32', '22:46', 'DAILY', 8, 4, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('25c160c4-ef5f-4b8d-98eb-84066b57718d', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'optimize next-generation partnerships', 'Nullam sit amet turpis elementum ligula vehicula consequat. Morbi a ipsum. Integer a nibh . In quis justo. Maecenas rhoncus aliquam lacus. Morbi quis tortor id nulla ultrices aliquet.', '2037261611', '6657 Armistice Road', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'CT', '06606', '2020-10-12', '2021-10-13', '19:35', '16:08', 'DAILY', 8, 0, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('6afc3ec4-f9ce-40fa-91ab-364284747566', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'exploit proactive portals', 'Maecenas leo odio, condimentum id, luctus nec, molestie sed, justo. Pellentesque viverra pede ac diam. Cras pellentesque volutpat dui . Maecenas tristique, est et tempus semper, est quam pharetra magna, ac consequat metus sapien ut nunc. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Mauris viverra diam vitae quam. Suspendisse potenti . Nullam porttitor lacus at turpis. Donec posuere metus vitae ipsum. Aliquam non mauris.', '6179587363', '61 Laurel Plaza', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'MA', '02208', '2020-08-30', '2021-09-08', '16:10', '11:02', 'DAILY', 24, 0, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('8b9b74e7-e9da-4a3f-8327-90946faf46a4', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'empower transparent content', 'In hac habitasse platea dictumst. Morbi vestibulum, velit id pretium iaculis, diam erat fermentum justo, nec condimentum neque sapien placerat ante. Nulla justo . Aliquam quis turpis eget elit sodales scelerisque. Mauris sit amet eros. Suspendisse accumsan tortor quis turpis.', '6266537930', '464 Novick Way', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'CA', '91520', '2020-09-09', '2022-06-19', '11:35', '2:07', 'DAILY', 10, 4, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('d6b49fc9-e65e-47b9-9040-92016974ca5d', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'leverage enterprise infomediaries', 'Praesent blandit. Nam nulla. Integer pede justo, lacinia eget, tincidunt eget, tempus vel, pede . Morbi porttitor lorem id ligula. Suspendisse ornare consequat lectus. In est risus, auctor sed, tristique in, tempus sit amet, sem.', '3154071512', '98 Valley Edge Drive', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'NY', '13205', '2020-10-19', '2021-03-12', '8:27', '9:21', 'DAILY', 25, 3, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('8ef3ea46-62c4-4505-bf8f-3ef51284c937', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'recontextualize distributed functionalities', 'Proin leo odio, porttitor id, consequat in, consequat ut, nulla. Sed accumsan felis. Ut at dolor quis odio consequat varius . Integer ac leo. Pellentesque ultrices mattis odio. Donec vitae nisi.', '5625145131', '30758 Iowa Circle', null, 'Long Beach', 'CA', '90831', '2020-08-24', '2021-12-03', '8:57', '14:59', 'ONCE', null, null, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('7ea7f787-55fd-47e8-a417-a71853d8eb2a', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'maximize seamless infrastructures', 'Praesent id massa id nisl venenatis lacinia. Aenean sit amet justo. Morbi ut odio.', '6195343998', '3771 Boyd Crossing', null, 'San Diego', 'CA', '92115', '2020-11-13', '2021-07-02', '17:02', '7:58', 'ONCE', null, null, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('44b8310c-cdde-40cd-85ee-94e83abc0fa6', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'architect viral eyeballs', 'Morbi porttitor lorem id ligula. Suspendisse ornare consequat lectus. In est risus, auctor sed, tristique in, tempus sit amet, sem.', '5159978025', '8486 Southridge Avenue', null, 'Des Moines', 'IA', '50981', '2020-09-02', '2022-03-19', '2:38', '8:19', 'ONCE', null, null, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('90f2e9a3-d0d2-4fe7-9aeb-2be495756b71', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'reintermediate revolutionary communities', 'Maecenas ut massa quis augue luctus tincidunt. Nulla mollis molestie lorem. Quisque ut erat . Curabitur gravida nisi at nibh. In hac habitasse platea dictumst. Aliquam augue quam, sollicitudin vitae, consectetuer eget, rutrum at, lorem.', '8154038663', '7 Portage Park', null, 'Rockford', 'IL', '61110', '2020-10-16', '2022-07-23', '20:01', '1:13', 'ONCE', null, null, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('572415c7-61f8-4b92-abf5-75804acb4772', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'scale sticky web-readiness', 'Vestibulum quam sapien, varius ut, blandit non, interdum in, ante. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Duis faucibus accumsan odio. Curabitur convallis . Duis consequat dui nec nisi volutpat eleifend. Donec ut dolor. Morbi vel lectus in quam fringilla rhoncus.', '5597891424', '84 Golf Pass', null, 'Fresno', 'CA', '93740', '2020-11-18', '2021-07-04', '0:11', '8:50', 'ONCE', null, null, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('fc7fd95b-9d27-4ae2-826f-b6d8fe58bdd2', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'harness back-end applications', 'In hac habitasse platea dictumst. Etiam faucibus cursus urna. Ut tellus.', '5635017718', '7939 Warbler Pass', null, 'Davenport', 'IA', '52804', '2020-09-12', '2022-01-09', '2:16', '11:17', 'ONCE', null, null, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('9bc38213-add5-4af7-bc58-8c91e1653460', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'envisioneer ubiquitous solutions', 'Curabitur gravida nisi at nibh. In hac habitasse platea dictumst. Aliquam augue quam, sollicitudin vitae, consectetuer eget, rutrum at, lorem.', '4048005900', '67 Lukken Court', null, 'Lawrenceville', 'GA', '30045', '2020-10-12', '2022-01-17', '11:07', '4:08', 'ONCE', null, null, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('5b3eae6e-ecf8-42f8-806f-6be2f6803198', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'scale seamless web-readiness', 'In quis justo. Maecenas rhoncus aliquam lacus. Morbi quis tortor id nulla ultrices aliquet . Maecenas leo odio, condimentum id, luctus nec, molestie sed, justo. Pellentesque viverra pede ac diam. Cras pellentesque volutpat dui.', '7573747634', '1923 Doe Crossing Street', null, 'Chesapeake', 'VA', '23324', '2020-11-30', '2021-05-29', '12:42', '0:57', 'ONCE', null, null, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('504038c9-a331-4ba4-bb5e-6b4443d361d1', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'matrix best-of-breed communities', 'Maecenas tristique, est et tempus semper, est quam pharetra magna, ac consequat metus sapien ut nunc. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Mauris viverra diam vitae quam. Suspendisse potenti.', '3126155782', '585 Vermont Point', null, 'Chicago', 'IL', '60681', '2020-10-25', '2022-03-07', '22:00', '16:14', 'ONCE', null, null, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('2bcb4919-822c-4433-aa66-821a6523ecbc', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'unleash scalable e-markets', 'In hac habitasse platea dictumst. Morbi vestibulum, velit id pretium iaculis, diam erat fermentum justo, nec condimentum neque sapien placerat ante. Nulla justo . Aliquam quis turpis eget elit sodales scelerisque. Mauris sit amet eros. Suspendisse accumsan tortor quis turpis.', '7203988207', '84729 Straubel Terrace', null, 'Denver', 'CO', '80235', '2020-09-27', '2021-11-04', '18:05', '2:34', 'ONCE', null, null, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('d0150937-de44-462a-802e-5c5ebe10182c', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'seize world-class content', 'Maecenas leo odio, condimentum id, luctus nec, molestie sed, justo. Pellentesque viverra pede ac diam. Cras pellentesque volutpat dui . Maecenas tristique, est et tempus semper, est quam pharetra magna, ac consequat metus sapien ut nunc. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Mauris viverra diam vitae quam. Suspendisse potenti . Nullam porttitor lacus at turpis. Donec posuere metus vitae ipsum. Aliquam non mauris.', '2026617404', '6494 Scofield Pass', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'DC', '20414', '2020-09-17', '2021-06-27', '13:49', '21:23', 'WEEKLY', 3, 5, 1, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('a980ca01-0e74-4401-a967-3f98186b71be', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'drive one-to-one initiatives', 'Nullam sit amet turpis elementum ligula vehicula consequat. Morbi a ipsum. Integer a nibh . In quis justo. Maecenas rhoncus aliquam lacus. Morbi quis tortor id nulla ultrices aliquet.', '6503142359', '54889 Dakota Avenue', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'CA', '94064', '2020-10-23', '2021-02-27', '17:14', '5:47', 'WEEKLY', 1, 2, -1, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('79e4e4d7-0ee7-41ea-a651-e3ded7271fe2', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'expedite vertical interfaces', 'In congue. Etiam justo. Etiam pretium iaculis justo . In hac habitasse platea dictumst. Etiam faucibus cursus urna. Ut tellus . Nulla ut erat id mauris vulputate elementum. Nullam varius. Nulla facilisi.', '8803597', '96781 Springview Place', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'PA', '15266', '2020-10-08', '2022-08-05', '1:09', '5:51', 'WEEKLY', 3, 5, -3, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('d108c7ff-7ec2-4328-bd26-156f4e17e6b3', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'e-enable one-to-one communities', 'Phasellus sit amet erat. Nulla tempus. Vivamus in felis eu sapien cursus vestibulum.', '4042044570', '962 Vermont Point', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'GA', '31136', '2020-11-23', '2022-07-18', '14:22', '9:08', 'WEEKLY', 2, 6, -1, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('de12ab99-c457-4db9-aa81-eb40dba6f7e4', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'engage distributed web services', 'Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus vestibulum sagittis sapien. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus . Etiam vel augue. Vestibulum rutrum rutrum neque. Aenean auctor gravida sem . Praesent id massa id nisl venenatis lacinia. Aenean sit amet justo. Morbi ut odio.', '2514961761', '7340 Arkansas Center', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'AL', '36628', '2020-09-10', '2021-07-28', '23:02', '19:18', 'WEEKLY', 2, 1, 2, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('c93936b5-51ad-4c45-a7d1-4bd7a031dade', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'extend virtual niches', 'Quisque id justo sit amet sapien dignissim vestibulum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nulla dapibus dolor vel est. Donec odio justo, sollicitudin ut, suscipit a, feugiat et, eros . Vestibulum ac est lacinia nisi venenatis tristique. Fusce congue, diam id ornare imperdiet, sapien urna pretium nisl, ut volutpat sapien arcu sed augue. Aliquam erat volutpat . In congue. Etiam justo. Etiam pretium iaculis justo.', '3034758147', '09 Messerschmidt Plaza', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'CO', '80310', '2020-10-08', '2022-03-31', '20:48', '6:32', 'WEEKLY', 3, 3, -3, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('7fa8caa4-0224-40ef-8585-b245654c3cb4', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'exploit B2C systems', 'Pellentesque at nulla. Suspendisse potenti. Cras in purus eu magna vulputate luctus.', '2139970287', '0 Farwell Avenue', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'CA', '90087', '2020-11-27', '2020-12-29', '1:20', '0:59', 'WEEKLY', 4, 0, 3, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('e9439cf9-09a2-4d47-b8fd-bd7ee1cebd7c', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'incentivize bricks-and-clicks interfaces', 'In hac habitasse platea dictumst. Etiam faucibus cursus urna. Ut tellus . Nulla ut erat id mauris vulputate elementum. Nullam varius. Nulla facilisi.', '8648592581', '6 Oak Valley Crossing', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'SC', '29610', '2020-09-08', '2021-04-06', '12:20', '21:47', 'WEEKLY', 3, 4, -3, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('9a73d389-e466-4420-bdd7-e2399cd56548', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'implement bricks-and-clicks models', 'Cras non velit nec nisi vulputate nonummy. Maecenas tincidunt lacus at velit. Vivamus vel nulla eget eros elementum pellentesque.', '7191346821', '7419 Bultman Court', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'CO', '81010', '2020-09-15', '2022-02-04', '19:10', '10:53', 'WEEKLY', 1, 1, 2, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('4a3eb6d8-b5d1-4297-b182-f68d626cc4b4', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'expedite granular portals', 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin risus. Praesent lectus . Vestibulum quam sapien, varius ut, blandit non, interdum in, ante. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Duis faucibus accumsan odio. Curabitur convallis . Duis consequat dui nec nisi volutpat eleifend. Donec ut dolor. Morbi vel lectus in quam fringilla rhoncus.', '8138816141', '34431 Sommers Avenue', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'FL', '33605', '2020-11-10', '2021-04-13', '9:34', '21:46', 'WEEKLY', 4, 4, -1, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('b2e7d9a6-7543-42ce-899c-f575c92f67a9', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'repurpose sexy partnerships', 'Sed ante. Vivamus tortor. Duis mattis egestas metus.', '6172947258', '8 Schlimgen Court', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'MA', '01905', '2020-11-19', '2021-12-08', '15:29', '20:39', 'WEEKLY', 1, 4, -2, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('b97f936d-595b-4621-89ee-38e411bbe7cb', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'expedite ubiquitous platforms', 'Nulla ut erat id mauris vulputate elementum. Nullam varius. Nulla facilisi . Cras non velit nec nisi vulputate nonummy. Maecenas tincidunt lacus at velit. Vivamus vel nulla eget eros elementum pellentesque . Quisque porta volutpat erat. Quisque erat eros, viverra eget, congue eget, semper rutrum, nulla. Nunc purus.', '3146128417', '4001 Ruskin Road', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'MO', '63196', '2020-09-09', '2021-06-23', '11:33', '18:28', 'WEEKLY', 2, 2, 2, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('55db7045-4a00-40ad-a7c6-ade4a16a7075', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'aggregate vertical systems', 'Maecenas tristique, est et tempus semper, est quam pharetra magna, ac consequat metus sapien ut nunc. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Mauris viverra diam vitae quam. Suspendisse potenti.', '2035414760', '51 Cambridge Point', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'CT', '06533', '2020-10-13', '2021-02-20', '16:20', '18:34', 'WEEKLY', 2, 5, -2, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('a5ac61bf-643e-4048-9ace-2a45464a8844', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'harness web-enabled applications', 'Integer ac leo. Pellentesque ultrices mattis odio. Donec vitae nisi.', '7754870251', '7088 Prairie Rose Way', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'NV', '89714', '2020-10-27', '2022-06-10', '22:44', '15:39', 'WEEKLY', 4, 4, -1, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('f6f2ed05-8216-44a0-822c-3b7dc43a705d', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'brand visionary mindshare', 'In hac habitasse platea dictumst. Etiam faucibus cursus urna. Ut tellus . Nulla ut erat id mauris vulputate elementum. Nullam varius. Nulla facilisi . Cras non velit nec nisi vulputate nonummy. Maecenas tincidunt lacus at velit. Vivamus vel nulla eget eros elementum pellentesque.', '8325633537', '24602 Crescent Oaks Pass', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'TX', '77015', '2020-11-29', '2021-04-20', '11:34', '11:08', 'WEEKLY', 2, 6, 2, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('fe3bd906-e087-4531-88cc-23caceb68f77', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'mesh revolutionary mindshare', 'Duis bibendum, felis sed interdum venenatis, turpis enim blandit mi, in porttitor pede justo eu massa. Donec dapibus. Duis at velit eu est congue elementum.', '2039376289', '21168 Marcy Drive', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'CT', '06510', '2020-11-06', '2020-12-17', '6:17', '0:38', 'WEEKLY', 4, 3, 1, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('7f6dc3b9-8895-4d38-8c57-42819385d239', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'revolutionize leading-edge infrastructures', 'Morbi porttitor lorem id ligula. Suspendisse ornare consequat lectus. In est risus, auctor sed, tristique in, tempus sit amet, sem.', '3302645946', '57 Eggendart Junction', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'OH', '44315', '2020-09-04', '2022-02-26', '21:17', '14:59', 'WEEKLY', 3, 0, -3, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('0136c4f3-3fb4-4b84-9752-a6936754736c', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'innovate front-end networks', 'Nullam porttitor lacus at turpis. Donec posuere metus vitae ipsum. Aliquam non mauris.', '8147840255', '42352 Drewry Terrace', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'PA', '16505', '2020-11-16', '2022-02-17', '23:23', '11:45', 'WEEKLY', 1, 0, -3, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('eb41ef3a-a43b-464e-9330-a9850d44b21f', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'visualize customized paradigms', 'Etiam vel augue. Vestibulum rutrum rutrum neque. Aenean auctor gravida sem.', '7163493064', '76 East Trail', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'NY', '14225', '2020-10-27', '2022-02-24', '16:48', '5:13', 'WEEKLY', 1, 4, 2, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('9a484593-299e-4903-84cc-54730e174cc9', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'evolve granular eyeballs', 'Praesent id massa id nisl venenatis lacinia. Aenean sit amet justo. Morbi ut odio . Cras mi pede, malesuada in, imperdiet et, commodo vulputate, justo. In blandit ultrices enim. Lorem ipsum dolor sit amet, consectetuer adipiscing elit . Proin interdum mauris non ligula pellentesque ultrices. Phasellus id sapien in sapien iaculis congue. Vivamus metus arcu, adipiscing molestie, hendrerit at, vulputate vitae, nisl.', '7199782450', '2018 East Drive', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'CO', '80925', '2020-09-27', '2021-04-30', '22:42', '16:16', 'WEEKLY', 2, 6, -2, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('d2d1deb1-1980-49c5-9564-f04ab1b53ef7', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'streamline bricks-and-clicks solutions', 'Praesent blandit. Nam nulla. Integer pede justo, lacinia eget, tincidunt eget, tempus vel, pede . Morbi porttitor lorem id ligula. Suspendisse ornare consequat lectus. In est risus, auctor sed, tristique in, tempus sit amet, sem . Fusce consequat. Nulla nisl. Nunc nisl.', '6517973634', '35 Stephen Pass', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'MN', '55166', '2020-09-02', '2021-07-18', '11:22', '0:13', 'WEEKLY', 4, 6, -2, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('6e38be42-e379-4c1b-9e25-7c3fb921523d', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'engineer bricks-and-clicks e-business', 'Proin interdum mauris non ligula pellentesque ultrices. Phasellus id sapien in sapien iaculis congue. Vivamus metus arcu, adipiscing molestie, hendrerit at, vulputate vitae, nisl . Aenean lectus. Pellentesque eget nunc. Donec quis orci eget orci vehicula condimentum.', '2039070235', '2656 Lawn Center', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'CT', '06721', '2020-10-10', '2021-03-11', '20:44', '13:24', 'WEEKLY', 2, 3, 1, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('f12264b3-c043-4cf3-8fd9-0eebd4fcad69', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'enable dynamic markets', 'Aenean fermentum. Donec ut mauris eget massa tempor convallis. Nulla neque libero, convallis eget, eleifend luctus, ultricies eu, nibh . Quisque id justo sit amet sapien dignissim vestibulum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nulla dapibus dolor vel est. Donec odio justo, sollicitudin ut, suscipit a, feugiat et, eros . Vestibulum ac est lacinia nisi venenatis tristique. Fusce congue, diam id ornare imperdiet, sapien urna pretium nisl, ut volutpat sapien arcu sed augue. Aliquam erat volutpat.', '6174063153', '9 Cor<NAME>', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'MA', '02142', '2020-08-27', '2022-05-08', '5:45', '20:49', 'WEEKLY', 2, 0, -2, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('59e8a0d3-fcb2-4095-83ed-e3999eadac75', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'extend ubiquitous applications', 'Quisque id justo sit amet sapien dignissim vestibulum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nulla dapibus dolor vel est. Donec odio justo, sollicitudin ut, suscipit a, feugiat et, eros.', '2131803404', '4474 Washington Circle', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'CA', '90087', '2020-09-24', '2021-06-15', '19:11', '21:07', 'WEEKLY', 3, 2, -3, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('95f1d761-22da-4d9e-81cb-2d9774a5aafa', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'innovate 24/365 platforms', 'Aenean fermentum. Donec ut mauris eget massa tempor convallis. Nulla neque libero, convallis eget, eleifend luctus, ultricies eu, nibh . Quisque id justo sit amet sapien dignissim vestibulum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nulla dapibus dolor vel est. Donec odio justo, sollicitudin ut, suscipit a, feugiat et, eros.', '8646200740', '40 Meadow Ridge Center', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'SC', '29615', '2020-11-27', '2022-04-27', '14:41', '19:27', 'WEEKLY', 3, 5, 1, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('2ae34cdf-b714-43bb-9b7e-bb6487011819', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'matrix plug-and-play relationships', 'Morbi porttitor lorem id ligula. Suspendisse ornare consequat lectus. In est risus, auctor sed, tristique in, tempus sit amet, sem . Fusce consequat. Nulla nisl. Nunc nisl . Duis bibendum, felis sed interdum venenatis, turpis enim blandit mi, in porttitor pede justo eu massa. Donec dapibus. Duis at velit eu est congue elementum.', '3189842559', '913 Emmet Hill', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'LA', '71115', '2020-11-13', '2022-03-03', '2:46', '8:02', 'WEEKLY', 3, 2, 1, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('8a99ae5f-0255-43f4-8d5e-1fc5d75529bc', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'incentivize back-end ROI', 'Nulla ut erat id mauris vulputate elementum. Nullam varius. Nulla facilisi . Cras non velit nec nisi vulputate nonummy. Maecenas tincidunt lacus at velit. Vivamus vel nulla eget eros elementum pellentesque.', '7196475595', '49 Sachtjen Center', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'CO', '80910', '2020-10-03', '2021-05-12', '0:56', '8:57', 'WEEKLY', 2, 3, 2, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('371f3992-0b81-4826-be72-8c6adf07f153', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'embrace impactful methodologies', 'In quis justo. Maecenas rhoncus aliquam lacus. Morbi quis tortor id nulla ultrices aliquet . Maecenas leo odio, condimentum id, luctus nec, molestie sed, justo. Pellentesque viverra pede ac diam. Cras pellentesque volutpat dui . Maecenas tristique, est et tempus semper, est quam pharetra magna, ac consequat metus sapien ut nunc. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Mauris viverra diam vitae quam. Suspendisse potenti.', '5027406205', '5355 Bartelt Place', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'KY', '40233', '2020-10-22', '2022-08-13', '23:15', '5:35', 'WEEKLY', 3, 1, -1, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('838c7f87-fe74-42f1-a1f4-0457138eedc1', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'facilitate scalable applications', 'Cras non velit nec nisi vulputate nonummy. Maecenas tincidunt lacus at velit. Vivamus vel nulla eget eros elementum pellentesque.', '5714689343', '97 Dunning Drive', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'VA', '22313', '2020-11-06', '2021-12-04', '18:32', '6:32', 'WEEKLY', 3, 1, 1, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('19814295-c3f3-4c01-8cd3-65ed1fb1da68', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'maximize bleeding-edge convergence', 'Duis consequat dui nec nisi volutpat eleifend. Donec ut dolor. Morbi vel lectus in quam fringilla rhoncus . Mauris enim leo, rhoncus sed, vestibulum sit amet, cursus id, turpis. Integer aliquet, massa id lobortis convallis, tortor risus dapibus augue, vel accumsan tellus nisi eu orci. Mauris lacinia sapien quis libero.', '9011249158', '55 Heffernan Junction', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'TN', '38150', '2020-08-30', '2022-05-22', '17:23', '13:42', 'WEEKLY', 1, 0, -2, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('a74907d9-fc33-419f-8893-0f7c2b4bb317', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'transform rich paradigms', 'Etiam vel augue. Vestibulum rutrum rutrum neque. Aenean auctor gravida sem . Praesent id massa id nisl venenatis lacinia. Aenean sit amet justo. Morbi ut odio.', '6092465229', '31531 Comanche Way', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'NJ', '08619', '2020-11-02', '2022-07-31', '23:29', '14:02', 'WEEKLY', 1, 10, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('b18f7ad2-47cb-40c5-8efc-e76bdb98d147', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'unleash efficient portals', 'Vestibulum ac est lacinia nisi venenatis tristique. Fusce congue, diam id ornare imperdiet, sapien urna pretium nisl, ut volutpat sapien arcu sed augue. Aliquam erat volutpat . In congue. Etiam justo. Etiam pretium iaculis justo.', '8325590105', '224 Jay Trail', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'TX', '77090', '2020-10-30', '2022-01-09', '14:00', '11:07', 'WEEKLY', 1, 26, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('bc0f0eb4-9854-47f9-8eb7-41a3f024cfba', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'matrix killer e-services', 'Sed ante. Vivamus tortor. Duis mattis egestas metus . Aenean fermentum. Donec ut mauris eget massa tempor convallis. Nulla neque libero, convallis eget, eleifend luctus, ultricies eu, nibh . Quisque id justo sit amet sapien dignissim vestibulum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nulla dapibus dolor vel est. Donec odio justo, sollicitudin ut, suscipit a, feugiat et, eros.', '5092675710', '259 Hoepker Terrace', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'WA', '99220', '2020-10-29', '2022-01-03', '15:30', '3:31', 'WEEKLY', 4, 0, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('090dc2b2-ea5d-4a41-93ad-79abfc687583', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'aggregate best-of-breed models', 'Integer tincidunt ante vel ipsum. Praesent blandit lacinia erat. Vestibulum sed magna at nunc commodo placerat.', '7275925585', '246 High Crossing Plaza', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'FL', '33763', '2020-11-26', '2022-07-06', '17:20', '12:18', 'WEEKLY', 3, 13, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('af6489d6-dda6-49ff-8615-b96bc129c021', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'transition enterprise supply-chains', 'Duis consequat dui nec nisi volutpat eleifend. Donec ut dolor. Morbi vel lectus in quam fringilla rhoncus.', '4196162311', '517 Alpine Avenue', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'OH', '43666', '2020-10-13', '2022-04-07', '4:38', '14:52', 'WEEKLY', 3, 1, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('46a9958f-cc23-4772-91c2-fc5795fa9b24', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'expedite viral e-services', 'Maecenas tristique, est et tempus semper, est quam pharetra magna, ac consequat metus sapien ut nunc. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Mauris viverra diam vitae quam. Suspendisse potenti . Nullam porttitor lacus at turpis. Donec posuere metus vitae ipsum. Aliquam non mauris.', '3042490434', '56047 Rigney Street', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'WV', '25775', '2020-11-20', '2022-04-19', '5:15', '8:41', 'WEEKLY', 4, 9, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('b5f82050-0bdf-4a35-b13f-08af406d6d6d', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'streamline innovative ROI', 'Phasellus in felis. Donec semper sapien a libero. Nam dui . Proin leo odio, porttitor id, consequat in, consequat ut, nulla. Sed accumsan felis. Ut at dolor quis odio consequat varius . Integer ac leo. Pellentesque ultrices mattis odio. Donec vitae nisi.', '8311468629', '22025 Meadow Ridge Park', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'CA', '93907', '2020-11-20', '2021-10-05', '17:59', '0:32', 'WEEKLY', 3, 14, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('9b2d6e32-b72e-44d9-95aa-352fe3306982', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'utilize dynamic methodologies', 'Suspendisse potenti. In eleifend quam a odio. In hac habitasse platea dictumst . Maecenas ut massa quis augue luctus tincidunt. Nulla mollis molestie lorem. Quisque ut erat . Curabitur gravida nisi at nibh. In hac habitasse platea dictumst. Aliquam augue quam, sollicitudin vitae, consectetuer eget, rutrum at, lorem.', '5617669018', '9 Carpenter Drive', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'FL', '33467', '2020-11-15', '2021-01-18', '14:54', '7:18', 'WEEKLY', 3, 8, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('a38170e8-62e1-4149-bedb-e24d7fa40398', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'facilitate rich systems', 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin risus. Praesent lectus . Vestibulum quam sapien, varius ut, blandit non, interdum in, ante. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Duis faucibus accumsan odio. Curabitur convallis . Duis consequat dui nec nisi volutpat eleifend. Donec ut dolor. Morbi vel lectus in quam fringilla rhoncus.', '4806870581', '08 Susan Road', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'AZ', '85246', '2020-10-09', '2021-10-13', '10:54', '19:18', 'WEEKLY', 3, 22, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('473b3b07-dc3a-483f-8ca4-3f20793f3847', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'strategize collaborative convergence', 'Aenean fermentum. Donec ut mauris eget massa tempor convallis. Nulla neque libero, convallis eget, eleifend luctus, ultricies eu, nibh . Quisque id justo sit amet sapien dignissim vestibulum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nulla dapibus dolor vel est. Donec odio justo, sollicitudin ut, suscipit a, feugiat et, eros . Vestibulum ac est lacinia nisi venenatis tristique. Fusce congue, diam id ornare imperdiet, sapien urna pretium nisl, ut volutpat sapien arcu sed augue. Aliquam erat volutpat.', '2025400647', '79728 Lukken Way', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'DC', '20540', '2020-09-12', '2021-04-29', '22:49', '4:52', 'WEEKLY', 1, 25, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('7cecf51e-e060-44c2-9416-f6997e1d7a0c', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'empower revolutionary relationships', 'Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus vestibulum sagittis sapien. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus . Etiam vel augue. Vestibulum rutrum rutrum neque. Aenean auctor gravida sem . Praesent id massa id nisl venenatis lacinia. Aenean sit amet justo. Morbi ut odio.', '5047314514', '6773 Independence Point', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'LA', '70142', '2020-11-26', '2021-01-25', '17:52', '21:12', 'WEEKLY', 1, 17, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('1a8b54b1-7649-4dd6-876f-6d21c653112b', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'revolutionize impactful functionalities', 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin risus. Praesent lectus . Vestibulum quam sapien, varius ut, blandit non, interdum in, ante. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Duis faucibus accumsan odio. Curabitur convallis.', '9791770822', '053 Arkansas Way', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'TX', '77806', '2020-10-29', '2021-02-17', '19:34', '21:18', 'WEEKLY', 4, 21, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('5e3e9694-bfaa-40f0-9616-be79947a191d', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'seize mission-critical metrics', 'Sed ante. Vivamus tortor. Duis mattis egestas metus.', '4781003973', '52417 Springs Point', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'GA', '31205', '2020-11-12', '2021-05-21', '15:45', '4:47', 'WEEKLY', 1, 18, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('aab68c85-b230-46ae-9231-a3b7768c5768', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'scale sticky paradigms', 'Duis aliquam convallis nunc. Proin at turpis a pede posuere nonummy. Integer non velit . Donec diam neque, vestibulum eget, vulputate ut, ultrices vel, augue. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Donec pharetra, magna vestibulum aliquet ultrices, erat tortor sollicitudin mi, sit amet lobortis sapien sapien non mi. Integer ac neque . Duis bibendum. Morbi non quam nec dui luctus rutrum. Nulla tellus.', '3522089969', '520 Laurel Trail', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'FL', '32610', '2020-11-17', '2021-11-26', '17:53', '1:53', 'WEEKLY', 4, 16, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('431b58eb-63b0-4659-a885-3c3344b7f0c7', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'engineer B2B eyeballs', 'Maecenas tristique, est et tempus semper, est quam pharetra magna, ac consequat metus sapien ut nunc. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Mauris viverra diam vitae quam. Suspendisse potenti.', '8179503955', '7 Homewood Junction', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'TX', '76096', '2020-11-21', '2021-09-19', '2:33', '0:38', 'WEEKLY', 3, 16, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('eb3484ef-166c-4dcd-967a-84fda7a6bee1', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'optimize collaborative systems', 'Aliquam quis turpis eget elit sodales scelerisque. Mauris sit amet eros. Suspendisse accumsan tortor quis turpis.', '5027518134', '1 Pawling Court', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'KY', '40205', '2020-10-21', '2021-05-10', '9:47', '19:32', 'WEEKLY', 3, 11, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('5cf87308-e5e3-444d-a813-d0b5bb2885a9', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'syndicate mission-critical technologies', 'Nullam sit amet turpis elementum ligula vehicula consequat. Morbi a ipsum. Integer a nibh . In quis justo. Maecenas rhoncus aliquam lacus. Morbi quis tortor id nulla ultrices aliquet . Maecenas leo odio, condimentum id, luctus nec, molestie sed, justo. Pellentesque viverra pede ac diam. Cras pellentesque volutpat dui.', '2544960541', '37 Novick Circle', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'TX', '76598', '2020-10-27', '2021-10-18', '20:47', '4:03', 'WEEKLY', 3, 14, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('4084ea83-d1ff-4f36-b72a-4ca406070130', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'envisioneer extensible paradigms', 'Vestibulum quam sapien, varius ut, blandit non, interdum in, ante. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Duis faucibus accumsan odio. Curabitur convallis . Duis consequat dui nec nisi volutpat eleifend. Donec ut dolor. Morbi vel lectus in quam fringilla rhoncus . Mauris enim leo, rhoncus sed, vestibulum sit amet, cursus id, turpis. Integer aliquet, massa id lobortis convallis, tortor risus dapibus augue, vel accumsan tellus nisi eu orci. Mauris lacinia sapien quis libero.', '2024472404', '893 Parkside Hill', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'DC', '20238', '2020-09-28', '2022-05-03', '6:33', '8:27', 'WEEKLY', 4, 9, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('efd4af1b-e126-4e03-a076-bc77ca62edc8', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'unleash impactful vortals', 'Duis consequat dui nec nisi volutpat eleifend. Donec ut dolor. Morbi vel lectus in quam fringilla rhoncus . Mauris enim leo, rhoncus sed, vestibulum sit amet, cursus id, turpis. Integer aliquet, massa id lobortis convallis, tortor risus dapibus augue, vel accumsan tellus nisi eu orci. Mauris lacinia sapien quis libero . Nullam sit amet turpis elementum ligula vehicula consequat. Morbi a ipsum. Integer a nibh.', '7142422096', '222 Mifflin Alley', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'CA', '92717', '2020-09-22', '2022-06-09', '10:22', '21:32', 'WEEKLY', 3, 28, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('b44edc22-3e4b-45bb-a5c2-2417e473e307', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'cultivate cross-media mindshare', 'Quisque porta volutpat erat. Quisque erat eros, viverra eget, congue eget, semper rutrum, nulla. Nunc purus . Phasellus in felis. Donec semper sapien a libero. Nam dui.', '2021854604', '4 Schmedeman Avenue', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'DC', '20088', '2020-09-28', '2020-12-12', '5:46', '8:28', 'WEEKLY', 3, 9, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('c73f5c62-2bda-490e-93a5-fe166c5dc6c7', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'target impactful systems', 'Sed sagittis. Nam congue, risus semper porta volutpat, quam pede lobortis ligula, sit amet eleifend pede libero quis orci. Nullam molestie nibh in lectus . Pellentesque at nulla. Suspendisse potenti. Cras in purus eu magna vulputate luctus.', '9154644510', '71137 Shoshone Court', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'TX', '88558', '2020-09-14', '2021-02-10', '17:40', '16:26', 'WEEKLY', 1, 12, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('372149b5-89c3-457a-8201-02a79ada688e', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'incubate revolutionary e-tailers', 'Nullam porttitor lacus at turpis. Donec posuere metus vitae ipsum. Aliquam non mauris.', '5134313468', '7 David Plaza', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'OH', '45223', '2020-08-26', '2021-07-07', '23:34', '22:09', 'WEEKLY', 4, 19, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('d73c3863-4540-416b-9624-7927c6aebb64', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'productize seamless e-business', 'Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus vestibulum sagittis sapien. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus . Etiam vel augue. Vestibulum rutrum rutrum neque. Aenean auctor gravida sem.', '3093130173', '2 Eastlawn Alley', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'IL', '61656', '2020-09-27', '2021-02-07', '11:46', '2:07', 'WEEKLY', 1, 12, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('38ade979-1c22-4360-81c9-0e6495bd4499', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'embrace magnetic paradigms', 'Quisque porta volutpat erat. Quisque erat eros, viverra eget, congue eget, semper rutrum, nulla. Nunc purus . Phasellus in felis. Donec semper sapien a libero. Nam dui.', '5305811666', '93026 Reindahl Plaza', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'CA', '95833', '2020-09-06', '2022-02-22', '18:01', '14:20', 'WEEKLY', 4, 30, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('dac645e1-ddaa-45b4-96a0-e8c46a89dca7', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'repurpose front-end eyeballs', 'Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus vestibulum sagittis sapien. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus . Etiam vel augue. Vestibulum rutrum rutrum neque. Aenean auctor gravida sem . Praesent id massa id nisl venenatis lacinia. Aenean sit amet justo. Morbi ut odio.', '4343107224', '17362 Hansons Point', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'VA', '24503', '2020-11-25', '2020-12-26', '20:02', '4:14', 'WEEKLY', 2, 23, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('68b864a9-cdfb-44fb-8dd4-ec6fc8747380', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'unleash turn-key partnerships', 'In quis justo. Maecenas rhoncus aliquam lacus. Morbi quis tortor id nulla ultrices aliquet . Maecenas leo odio, condimentum id, luctus nec, molestie sed, justo. Pellentesque viverra pede ac diam. Cras pellentesque volutpat dui . Maecenas tristique, est et tempus semper, est quam pharetra magna, ac consequat metus sapien ut nunc. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Mauris viverra diam vitae quam. Suspendisse potenti.', '8047414815', '640 Waywood Point', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'VA', '23237', '2020-10-12', '2022-03-26', '5:17', '17:22', 'WEEKLY', 2, 21, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('ae28894e-9b9f-4673-889a-80e59a6bc2f8', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'synthesize plug-and-play e-services', 'Suspendisse potenti. In eleifend quam a odio. In hac habitasse platea dictumst.', '6618875998', '24817 Chinook Alley', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'CA', '93584', '2020-08-31', '2021-12-09', '8:43', '11:06', 'WEEKLY', 2, 18, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('cd41fe96-fe11-4718-a832-17dfbc3f690a', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'deploy virtual initiatives', 'Etiam vel augue. Vestibulum rutrum rutrum neque. Aenean auctor gravida sem . Praesent id massa id nisl venenatis lacinia. Aenean sit amet justo. Morbi ut odio.', '2155392227', '1840 Jenifer Junction', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'PA', '19125', '2020-10-24', '2022-08-16', '0:38', '8:11', 'WEEKLY', 1, 20, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('fbd455f3-84c2-497e-ba89-09867c411836', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'generate compelling e-markets', 'In hac habitasse platea dictumst. Etiam faucibus cursus urna. Ut tellus . Nulla ut erat id mauris vulputate elementum. Nullam varius. Nulla facilisi . Cras non velit nec nisi vulputate nonummy. Maecenas tincidunt lacus at velit. Vivamus vel nulla eget eros elementum pellentesque.', '3869812839', '443 Manufacturers Street', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'FL', '32123', '2020-09-03', '2021-10-30', '4:11', '1:21', 'WEEKLY', 3, 8, null, null); insert into Events (id, user_id, name, description, phone_number, location_address_1, location_address_2, location_city, location_state, location_zip, starts_on, ends_on, starts_at, ends_at, frequency, seperation, recurrence_day, recurrence_week, recurrence_month) values ('1777ef06-ba5b-4b5e-a812-2f598df88e78', '291b69e9-029f-11ec-acf9-002590d0b8f0', 'harness sexy communities', 'Praesent blandit. Nam nulla. Integer pede justo, lacinia eget, tincidunt eget, tempus vel, pede . Morbi porttitor lorem id ligula. Suspendisse ornare consequat lectus. In est risus, auctor sed, tristique in, tempus sit amet, sem.', '5869408852', '69 Portage Drive', null, '291b69e9-029f-11ec-acf9-002590d0b8f0', 'MI', '48206', '2020-08-31', '2021-06-05', '14:43', '22:37', 'WEEKLY', 4, 7, null, null);
-- Had to comment out avg, running into DRILL-3653 select sum(j1_v.c_integer) over(partition by j1_v.c_date order by j1_v.c_time), sum(j1_v.c_integer) over(), sum(j1_v.c_integer) over(partition by j1_v.c_bigint, j1_v.c_date, j1_v.c_time), --avg(j1_v.c_integer) over(partition by j1_v.c_date order by j1_v.c_time), --avg(j1_v.c_integer) over(), --avg(j1_v.c_integer) over(partition by j1_v.c_bigint, j1_v.c_date, j1_v.c_time), count(j1_v.c_integer) over(partition by j1_v.c_date order by j1_v.c_time), count(j1_v.c_integer) over(), count(j1_v.c_integer) over(partition by j1_v.c_bigint, j1_v.c_date, j1_v.c_time), rank() over(partition by j1_v.c_date order by j1_v.c_date ), rank() over(partition by j1_v.c_bigint, j1_v.c_date, j1_v.c_time order by j1_v.c_bigint, j1_v.c_date, j1_v.c_time) from j1_v, j2_v j2 where j1_v.c_integer = j2.c_integer group by j1_v.c_date, j1_v.c_time, j1_v.c_integer, j1_v.c_bigint;
<filename>Database/scripts/db-create.sql -- Table: public.usuario -- DROP TABLE public.usuario; CREATE TABLE public.usuario ( dtype character varying(31) COLLATE pg_catalog."default" NOT NULL, id integer NOT NULL, email character varying(200) COLLATE pg_catalog."default" NOT NULL, nome character varying(100) COLLATE pg_catalog."default" NOT NULL, numero character varying(11) COLLATE pg_catalog."default", senha character varying(500) COLLATE pg_catalog."default" NOT NULL, tipo_usuario integer NOT NULL, url_imagem character varying(255) COLLATE pg_catalog."default", cpf character varying(255) COLLATE pg_catalog."default", cnpj character varying(255) COLLATE pg_catalog."default", creci character varying(255) COLLATE pg_catalog."default", CONSTRAINT usuario_pkey PRIMARY KEY (id) ) WITH ( OIDS = FALSE ) TABLESPACE pg_default; ALTER TABLE public.usuario OWNER to postgres; -- Table: public.imagem -- DROP TABLE public.imagem; CREATE TABLE public.imagem ( id character varying(255) COLLATE pg_catalog."default" NOT NULL, imagem_url character varying(255) COLLATE pg_catalog."default" NOT NULL, id_anuncio integer, CONSTRAINT imagem_pkey PRIMARY KEY (id), CONSTRAINT fkpj66s2pdpdn3rg8myr2wud6ac FOREIGN KEY (id_anuncio) REFERENCES public.anuncio (id) MATCH SIMPLE ON UPDATE NO ACTION ON DELETE NO ACTION ) WITH ( OIDS = FALSE ) TABLESPACE pg_default; ALTER TABLE public.imagem OWNER to postgres; -- Table: public.header -- DROP TABLE public.header; CREATE TABLE public.header ( id integer NOT NULL, key character varying(500) COLLATE pg_catalog."default" NOT NULL, value character varying(500) COLLATE pg_catalog."default" NOT NULL, id_crashlytics integer NOT NULL, CONSTRAINT header_pkey PRIMARY KEY (id), CONSTRAINT fk_header_crashlytics FOREIGN KEY (id_crashlytics) REFERENCES public.crashlytics (id) MATCH SIMPLE ON UPDATE NO ACTION ON DELETE NO ACTION ) WITH ( OIDS = FALSE ) TABLESPACE pg_default; ALTER TABLE public.header OWNER to postgres; -- Table: public.favorito -- DROP TABLE public.favorito; CREATE TABLE public.favorito ( id integer NOT NULL, id_anuncio integer, id_anunciante integer, CONSTRAINT favorito_pkey PRIMARY KEY (id), CONSTRAINT fkc60u995hkaqtn6y8mqxl532nw FOREIGN KEY (id_anunciante) REFERENCES public.usuario (id) MATCH SIMPLE ON UPDATE NO ACTION ON DELETE NO ACTION, CONSTRAINT fks9n8oq9oc8nqi9rsfud5dpcjc FOREIGN KEY (id_anuncio) REFERENCES public.anuncio (id) MATCH SIMPLE ON UPDATE NO ACTION ON DELETE NO ACTION ) WITH ( OIDS = FALSE ) TABLESPACE pg_default; ALTER TABLE public.favorito OWNER to postgres; -- Table: public.endereco -- DROP TABLE public.endereco; CREATE TABLE public.endereco ( id integer NOT NULL, bairro character varying(100) COLLATE pg_catalog."default" NOT NULL, cep character varying(100) COLLATE pg_catalog."default" NOT NULL, cidade character varying(100) COLLATE pg_catalog."default" NOT NULL, complemento character varying(100) COLLATE pg_catalog."default", endereco character varying(200) COLLATE pg_catalog."default" NOT NULL, estado character varying(2) COLLATE pg_catalog."default" NOT NULL, latitude double precision NOT NULL, longitude double precision NOT NULL, numero integer, CONSTRAINT endereco_pkey PRIMARY KEY (id) ) WITH ( OIDS = FALSE ) TABLESPACE pg_default; ALTER TABLE public.endereco OWNER to postgres; -- Table: public.crashlytics -- DROP TABLE public.crashlytics; CREATE TABLE public.crashlytics ( id integer NOT NULL, class_error character varying(500) COLLATE pg_catalog."default", class_name character varying(100) COLLATE pg_catalog."default", exception_stack character varying(30000) COLLATE pg_catalog."default", file_name character varying(100) COLLATE pg_catalog."default", language character varying(10) COLLATE pg_catalog."default", line_number character varying(10) COLLATE pg_catalog."default", method_name character varying(500) COLLATE pg_catalog."default", method_url character varying(10) COLLATE pg_catalog."default", url character varying(500) COLLATE pg_catalog."default", CONSTRAINT crashlytics_pkey PRIMARY KEY (id) ) WITH ( OIDS = FALSE ) TABLESPACE pg_default; ALTER TABLE public.crashlytics OWNER to postgres; -- Table: public.anuncio -- DROP TABLE public.anuncio; CREATE TABLE public.anuncio ( id integer NOT NULL, descricao character varying(1000) COLLATE pg_catalog."default" NOT NULL, tipo_imovel integer NOT NULL, tipo_negocio integer NOT NULL, titulo character varying(50) COLLATE pg_catalog."default" NOT NULL, valor double precision NOT NULL, id_anunciante integer, id_endereco integer, CONSTRAINT anuncio_pkey PRIMARY KEY (id), CONSTRAINT fk_anuncio_anunciante FOREIGN KEY (id_anunciante) REFERENCES public.usuario (id) MATCH SIMPLE ON UPDATE NO ACTION ON DELETE NO ACTION, CONSTRAINT fk_anuncio_endereco FOREIGN KEY (id_endereco) REFERENCES public.endereco (id) MATCH SIMPLE ON UPDATE NO ACTION ON DELETE NO ACTION ) WITH ( OIDS = FALSE ) TABLESPACE pg_default; ALTER TABLE public.anuncio OWNER to postgres;
/****** Object: View [dbo].[V_Instrument_Group_Detail_Report] ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[V_Instrument_Group_Detail_Report] as SELECT I.IN_Group AS Instrument_Group, I.Usage, I.Comment, I.Active, I.Sample_Prep_Visible, I.Requested_Run_Visible, I.Allocation_Tag, ISNULL(DT.DST_name, '') AS [Default Dataset Type], '!Headers!Instrument Name:Instrument ID|' + dbo.GetInstrumentGroupMembershipList(I.IN_Group, 2, 0) AS Instruments, dbo.GetInstrumentGroupDatasetTypeList(I.IN_Group, ', ') AS Allowed_Dataset_Types FROM T_Instrument_Group I LEFT OUTER JOIN dbo.T_DatasetTypeName DT ON I.Default_Dataset_Type = DT.DST_Type_ID GO GRANT VIEW DEFINITION ON [dbo].[V_Instrument_Group_Detail_Report] TO [DDL_Viewer] AS [dbo] GO
<reponame>svrakitin/x<gh_stars>10-100 CREATE INDEX "identity_verification_tokens_verifiable_address_id_idx" ON "identity_verification_tokens" (identity_verifiable_address_id)
<reponame>postgrespro/tsvector2 create extension tsvector2; SELECT '1'::tsvector2; SELECT '1 '::tsvector2; SELECT ' 1'::tsvector2; SELECT ' 1 '::tsvector2; SELECT '1 2'::tsvector2; SELECT '''1 2'''::tsvector2; SELECT E'''1 \\''2'''::tsvector2; SELECT E'''1 \\''2''3'::tsvector2; SELECT E'''1 \\''2'' 3'::tsvector2; SELECT E'''1 \\''2'' '' 3'' 4 '::tsvector2; SELECT $$'\\as' ab\c ab\\c AB\\\c ab\\\\c$$::tsvector2; SELECT tsvector2in(tsvector2out($$'\\as' ab\c ab\\c AB\\\c ab\\\\c$$::tsvector2)); SELECT '''w'':4A,3B,2C,1D,5 a:8'; SELECT 'a:3A b:2a'::tsvector2 || 'ba:1234 a:1B'; -- comparison select 'a:1 b:2'::tsvector2 < 'a:1 b:3'::tsvector2; select 'a:1 b:2'::tsvector2 <= 'a:1 b:3'::tsvector2; select 'a:1 b:2'::tsvector2 > 'a:1 b:3'::tsvector2; select 'a:1 b:2'::tsvector2 >= 'a:1 b:3'::tsvector2; select 'a:1 b:4'::tsvector2 < 'a:1 b:3'::tsvector2; select 'a:1 b:4'::tsvector2 <= 'a:1 b:3'::tsvector2; select 'a:1 b:4'::tsvector2 > 'a:1 b:3'::tsvector2; select 'a:1 b:4'::tsvector2 >= 'a:1 b:3'::tsvector2; select 'a:1 b:2'::tsvector2 = 'a:1 b:2'::tsvector2; select 'a:1 b:2'::tsvector2 <> 'a:1 b:2'::tsvector2; select 'a:1 b:2'::tsvector2 <= 'a:1 b:2'::tsvector2; select 'a:1 b:2'::tsvector2 >= 'a:1 b:2'::tsvector2; select 'a:1 b:2'::tsvector2 = 'a:2 b:4'::tsvector2; select 'a:1 b:2'::tsvector2 <> 'a:2 b:4'::tsvector2; select 'a:7 b:9'::tsvector2 = 'a:2 b:4'::tsvector2; select 'a:7 b:9'::tsvector2 <> 'a:2 b:4'::tsvector2; drop extension tsvector2;
<gh_stars>1000+ -- #57 -- When distribution column is changed for a table, we don't check for dependecies such as UNIQUE indexes CREATE TABLE xl_atm ( product_no INT8, product_id INT2, primary key (product_id) ) DISTRIBUTE BY HASH (product_no); CREATE TABLE xl_atm ( product_no INT8, product_id INT2, primary key (product_id) ) DISTRIBUTE BY HASH (product_id); \d+ xl_atm; INSERT into xl_atm VALUES (11,1); INSERT into xl_atm VALUES (12,2); INSERT into xl_atm VALUES (13,3); INSERT into xl_atm VALUES (14,4); INSERT into xl_atm VALUES (11,5);--repeate a value in non-distribution column ALTER TABLE xl_atm DISTRIBUTE BY HASH (product_no); \d+ xl_atm; DROP TABLE xl_atm; -- #27 -- Distribution column can be dropped for MODULO distribution tables. CREATE TABLE xl_at2m ( product_no INT8, product_id INT2 ) DISTRIBUTE BY MODULO (product_id); ALTER TABLE xl_at2m DROP COLUMN product_id; DROP TABLE xl_at2m; -- #6 -- REFRESH MATERIALISED VIEW CONCURRENTLY gives error CREATE TABLE t (a int, b int); CREATE MATERIALIZED VIEW mvt AS SELECT * FROM t; CREATE UNIQUE INDEX mvidx ON mvt(a); REFRESH MATERIALIZED VIEW mvt; REFRESH MATERIALIZED VIEW CONCURRENTLY mvt; DROP MATERIALIZED VIEW mvt; DROP TABLE t; -- #74 -- SQL error codes are not correctly sent back to the client when dealing with error on COPY protocol \set VERBOSITY verbose create table copytbl(a integer, b text default 'a_copytbl', primary key (a)); insert into copytbl select generate_series(1,200); COPY copytbl (a, b) from stdin; 10000 789 10001 789 1 789 10002 789 10003 789 \. drop table copytbl; \set VERBOSITY default -- #13 -- INSERT query with SELECT part using joins on OID fails to insert all rows correctly create table tmp_films(a int, b text default 'a_tmp_film') with oids; create table films(a int, b text default 'a_film') with oids; insert into tmp_films select generate_series(1, 10000);-- 10K entries select count(*) from tmp_films; insert into films select * from tmp_films where oid >= (select oid from tmp_films order by oid limit 1); select count(*) from films; -- #9 -- Fails to see DDL's effect inside a function create function xl_getint() returns integer as $$ declare i integer; BEGIN create table inttest(a int, b int); insert into inttest values (1,1); select a into i from inttest limit 1; RETURN i; END;$$ language plpgsql; select xl_getint(); select * from inttest; create function xl_cleanup() returns integer as $$ declare i integer; BEGIN drop function xl_getint(); drop table inttest; select a into i from inttest limit 1; RETURN i; END;$$ language plpgsql; select xl_cleanup(); drop function xl_cleanup(); -- #4 -- Tableoid to relation name mapping broken create table cities ( name text, population float8, altitude int -- (in ft) ); create table capitals ( state char(2) ) inherits (cities); -- Create unique indexes. Due to a general limitation of inheritance, -- uniqueness is only enforced per-relation. Unique index inference -- specification will do the right thing, though. create unique index cities_names_unique on cities (name); create unique index capitals_names_unique on capitals (name); -- prepopulate the tables. insert into cities values ('San Francisco', 7.24E+5, 63); insert into cities values ('Las Vegas', 2.583E+5, 2174); insert into cities values ('Mariposa', 1200, 1953); insert into capitals values ('Sacramento', 3.694E+5, 30, 'CA'); insert into capitals values ('Madison', 1.913E+5, 845, 'WI'); -- Tests proper for inheritance: select * from capitals; -- Succeeds: insert into cities values ('Las Vegas', 2.583E+5, 2174) on conflict do nothing; insert into capitals values ('Sacramento', 4664.E+5, 30, 'CA') on conflict (name) do update set population = excluded.population; -- Wrong "Sacramento", so do nothing: insert into capitals values ('Sacramento', 50, 2267, 'NE') on conflict (name) do nothing; select * from capitals; insert into cities values ('Las Vegas', 5.83E+5, 2001) on conflict (name) do update set population = excluded.population, altitude = excluded.altitude; select tableoid::regclass, * from cities; insert into capitals values ('Las Vegas', 5.83E+5, 2222, 'NV') on conflict (name) do update set population = excluded.population; -- Capitals will contain new capital, Las Vegas: select * from capitals; -- Cities contains two instances of "Las Vegas", since unique constraints don't -- work across inheritance: select tableoid::regclass, * from cities; -- This only affects "cities" version of "Las Vegas": insert into cities values ('Las Vegas', 5.86E+5, 2223) on conflict (name) do update set population = excluded.population, altitude = excluded.altitude; select tableoid::regclass, * from cities; -- clean up drop table capitals; drop table cities; -- #16 -- Windowing function throws an error when subquery has ORDER BY clause CREATE TABLE test (a int, b int); EXPLAIN SELECT last_value(a) OVER (PARTITION by b) FROM (SELECT * FROM test) AS s ORDER BY a; EXPLAIN SELECT last_value(a) OVER (PARTITION by b) FROM (SELECT * FROM test ORDER BY a) AS s ORDER BY a; DROP TABLE test; -- #5 -- Type corresponding to a view does not exist on datanode CREATE TABLE test (a int, b int); CREATE VIEW v AS SELECT * FROM test; -- Using view type throws an error CREATE FUNCTION testf (x v) RETURNS INTEGER AS $$ SELECT 1; $$ LANGUAGE SQL; -- Same works for table type though CREATE FUNCTION testf (x test) RETURNS INTEGER AS $$ SELECT 1; $$ LANGUAGE SQL; DROP FUNCTION testf (x test); DROP VIEW v; DROP TABLE test; -- #7 -- "cache lookup failed" error CREATE TABLE test (a int, b int); CREATE VIEW v AS SELECT * FROM test; SELECT v FROM v; DROP VIEW v; DROP TABLE test;
-- @testpoint: 输入为有效值(整数、浮点数) drop table if exists atan_test_01; create table atan_test_01(f1 int,f2 bigint,f3 integer,f4 binary_integer,f5 bigint, f6 real,f7 float,f8 binary_double,f9 decimal,f10 number,f11 numeric); insert into atan_test_01(f1,f2,f3,f4,f5,f6,f7,f8,f9,f10,f11) values(11,22,33,44,55,11.1,22.2,33.3,44.4,55.5,66.6); insert into atan_test_01(f1,f2,f3,f4,f5,f6,f7,f8,f9,f10,f11) values(66,77,88,99,00,'11.1','22.2','33.3','44.4','55.5','66.6'); select atan(f1),atan(f2),atan(f3),atan(f4),atan(f5) from atan_test_01; select atan(f6),atan(f7),atan(f8),atan(f9),atan(f10),atan(f11) from atan_test_01; drop table if exists atan_test_01;
CREATE TABLE "MIS_WAREHOUSE"."DAILY_FREQ_METRICS" ( "ID" NUMBER GENERATED BY DEFAULT ON NULL AS IDENTITY, "DATA_TIME" DATE NOT NULL ENABLE, "METRIC_NAME" VARCHAR2(100 BYTE) NOT NULL ENABLE, "DATA_VAL" VARCHAR2(100 BYTE) NOT NULL ENABLE, UNIQUE ("METRIC_NAME", "DATA_TIME") )
/* Deployment script for stuff This code was generated by a tool. Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. */ GO SET ANSI_NULLS, ANSI_PADDING, ANSI_WARNINGS, ARITHABORT, CONCAT_NULL_YIELDS_NULL, QUOTED_IDENTIFIER ON; SET NUMERIC_ROUNDABORT OFF; GO :setvar DatabaseName "stuff" :setvar DefaultFilePrefix "stuff" :setvar DefaultDataPath "C:\Users\HP\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\" :setvar DefaultLogPath "C:\Users\HP\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB\" GO :on error exit GO /* Detect SQLCMD mode and disable script execution if SQLCMD mode is not supported. To re-enable the script after enabling SQLCMD mode, execute the following: SET NOEXEC OFF; */ :setvar __IsSqlCmdEnabled "True" GO IF N'$(__IsSqlCmdEnabled)' NOT LIKE N'True' BEGIN PRINT N'SQLCMD mode must be enabled to successfully execute this script.'; SET NOEXEC ON; END GO USE [$(DatabaseName)]; GO IF (SELECT OBJECT_ID('tempdb..#tmpErrors')) IS NOT NULL DROP TABLE #tmpErrors GO CREATE TABLE #tmpErrors (Error int) GO SET XACT_ABORT ON GO SET TRANSACTION ISOLATION LEVEL READ COMMITTED GO BEGIN TRANSACTION GO PRINT N'Creating [dbo].[Items]...'; GO CREATE TABLE [dbo].[Items] ( [Id] INT IDENTITY (1, 1) NOT NULL, [Name] NVARCHAR (256) NOT NULL, PRIMARY KEY CLUSTERED ([Id] ASC) ); GO IF @@ERROR <> 0 AND @@TRANCOUNT > 0 BEGIN ROLLBACK; END IF @@TRANCOUNT = 0 BEGIN INSERT INTO #tmpErrors (Error) VALUES (1); BEGIN TRANSACTION; END GO PRINT N'Creating [dbo].[Items].[IX_Items_Name]...'; GO CREATE UNIQUE NONCLUSTERED INDEX [IX_Items_Name] ON [dbo].[Items]([Name] ASC); GO IF @@ERROR <> 0 AND @@TRANCOUNT > 0 BEGIN ROLLBACK; END IF @@TRANCOUNT = 0 BEGIN INSERT INTO #tmpErrors (Error) VALUES (1); BEGIN TRANSACTION; END GO IF EXISTS (SELECT * FROM #tmpErrors) ROLLBACK TRANSACTION GO IF @@TRANCOUNT>0 BEGIN PRINT N'The transacted portion of the database update succeeded.' COMMIT TRANSACTION END ELSE PRINT N'The transacted portion of the database update failed.' GO DROP TABLE #tmpErrors GO PRINT N'Update complete.'; GO
CREATE OR REPLACE FUNCTION get_total_farm_worth_of_farmer(farmer char(11)) RETURNS numeric(1000, 2) AS $$ SELECT SUM(area * unit_worth) FROM Farms WHERE owner_id = farmer; $$ LANGUAGE sql; CREATE VIEW farms_that_worth_more_than_average AS SELECT * FROM Farms GROUP BY owner_id, id HAVING (area * unit_worth) > AVG(area * unit_worth); CREATE OR REPLACE FUNCTION get_farmers_that_plant_crop(crop integer) RETURNS TABLE (LIKE Farmers) AS $$ SELECT Farmers.* FROM FarmCrop,Farms,Farmers WHERE crop = FarmCrop.crop_id AND FarmCrop.farm_id = Farms.id AND Farms.owner_id = Farmers.id; $$ LANGUAGE sql; CREATE VIEW address_list AS SELECT address FROM Farmers UNION SELECT address FROM Cooperatives;
BACKUP DATABASE SoftUni TO DISK = 'C:\usb flash\softuni-backup.Bak' WITH FORMAT, MEDIANAME = 'Z_SQLServerBackups', NAME = 'Full Backup of softuni-backup'; DROP DATABASE SoftUni USE master RESTORE DATABASE SoftUni FROM DISK = 'C:\usb flash\softuni-backup.Bak' USE SoftUni
CREATE INDEX [IX_Venues_ProviderUkprn] ON [Pttcd].[Venues] ([ProviderUkprn])
<reponame>ilyamore88/design-and-implementation-of-databases CREATE TRIGGER trgDBDump ON DATABASE FOR DDL_DATABASE_LEVEL_EVENTS AS SELECT EVENTDATA() GO
DELETE t1 FROM release_items t1 INNER JOIN release_items t2 WHERE t1.releaseprocess_id < t2.releaseprocess_id AND t1.releasetfi_id = t2.releasetfi_id;
<gh_stars>0 CREATE DATABASE T_SSolve; USE T_SSolve; CREATE TABLE Colaboradores ( IdColaborador INT PRIMARY KEY IDENTITY NOT NULL, NomeFantasia VARCHAR(100) NOT NULL UNIQUE, Cnpj VARCHAR(15) NOT NULL UNIQUE, RazaoSocial VARCHAR(100) NOT NULL, Endereco VARCHAR(255) NOT NULL ); CREATE TABLE Servicos( IdServico INT PRIMARY KEY IDENTITY NOT NULL, IdColaborador INT FOREIGN KEY REFERENCES Colaboradores(IdColaborador) NOT NULL, Comodo VARCHAR(255) NOT NULL, Tipo VARCHAR(255) NOT NULL, Preco FLOAT NOT NULL, Inicio DATETIME NOT NULL, Termino DATETIME NOT NULL ); CREATE TABLE ServicosFuncionarios( IdServico INT FOREIGN KEY REFERENCES Servicos(IdServico) NOT NULL, IdColaborador INT FOREIGN KEY REFERENCES Colaboradores(IdColaborador) NOT NULL, );
<filename>mtuc_survey.sql -- phpMyAdmin SQL Dump -- version 4.0.10.18 -- https://www.phpmyadmin.net -- -- Host: localhost:3306 -- Generation Time: Jun 27, 2018 at 03:43 AM -- Server version: 5.6.39-cll-lve -- PHP Version: 5.6.30 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: `mtuc_survey` -- -- -------------------------------------------------------- -- -- Table structure for table `survey` -- CREATE TABLE IF NOT EXISTS `survey` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(250) NOT NULL, `email` varchar(250) NOT NULL, `question1` varchar(250) NOT NULL, `question2` varchar(250) NOT NULL, `question3` varchar(250) NOT NULL, `survey_date` date NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=43 ; -- -- Dumping data for table `survey` -- INSERT INTO `survey` (`id`, `name`, `email`, `question1`, `question2`, `question3`, `survey_date`) VALUES (1, '', '', 'RM1,100 - RM1,500', 'Industri pembuatan', '11', '2017-10-14'), (2, 'test', '<EMAIL>', 'RM900 - RM1,000', 'Test', '11,Test', '2017-10-14'), (3, 'fghfgh', 'gfhfg', 'RM900 - RM1,000', 'gfhfghfgh', '10,11,gfhfgh', '2017-10-14'), (4, '', '', 'RM1,100 - RM1,500', 'Industri servis', '1,5,10,', '2017-10-14'), (5, '', '', 'RM1,100 - RM1,500', 'Industri servis', '1,5,10,', '2017-10-14'), (6, '', '', 'More than RM2,800', 'Kerajaan', '2,', '2017-10-14'), (7, '', '', 'More than RM2,800', 'Kerajaan', '2,T', '2017-10-14'), (8, 'test', '<EMAIL>', 'RM900 - RM1,000', 'Kerajaan', '10,11,', '2017-10-14'), (9, 'Test', '<EMAIL>', 'RM1,100 - RM1,500', 'Test', '11,Test', '2017-10-14'), (10, 'test', '<EMAIL>', 'RM900 - RM1,000', 'Kerajaan', '11,', '2017-10-14'), (11, '', '', 'RM1,600 - RM2,800', 'Kerajaan', '2,', '2017-10-14'), (12, '', '', 'RM1,100 - RM1,500', 'Industri servis', '1,2,3,4,', '2017-10-14'), (13, '', '', 'RM1,600 - RM2,800', 'Kerajaan', '2,', '2017-10-15'), (14, '', '', 'RM1,600 - RM2,800', 'Test', '7,8,11,A', '2017-10-15'), (15, '', '', 'RM1,600 - RM2,800', 'Kerajaan', '1,2,3,', '2017-10-15'), (16, '', '', 'RM1,600 - RM2,800', 'Kerajaan', '', '2017-10-15'), (17, 'sdfsd', '<EMAIL>', 'RM900 - RM1,000', 'Kerajaan', '10,11,', '2017-10-15'), (18, 'Test', '<EMAIL>', 'RM1,100 - RM1,500', 'Industri servis', '10,11,', '2017-10-15'), (19, 'test', '<EMAIL>', 'RM1,100 - RM1,500', 'Industri servis', '11,', '2017-10-15'), (20, '', '', 'RM900 - RM1,000', 'Tsc', '6,10,11,V', '2017-10-15'), (21, 'Test', '<EMAIL>', 'RM900 - RM1,000', 'Test', '11,Test', '2017-10-15'), (22, 'tesr', 'tes', 'More than RM2,800', 'test', '11,test', '2017-10-15'), (23, '', '', 'RM1,100 - RM1,500', 'Gshdvdv', '10,11,G', '2017-10-15'), (24, '', '', 'More than RM2,800', 'Vhhh', '10,11,Gghhvv', '2017-10-15'), (25, '', '', 'RM900 - RM1,000', 'Health', '2,3,5,Isteri kedua ', '2017-10-15'), (26, '', '', 'RM900 - RM1,000', 'Health', '2,3,5,Isteri kedua ', '2017-10-15'), (27, '', '', 'RM900 - RM1,000', 'Health', '2,3,5,Isteri kedua ', '2017-10-15'), (28, '', '', 'RM900 - RM1,000', 'Health', '2,3,5,Isteri kedua ', '2017-10-15'), (29, '', '', 'RM1,600 - RM2,800', 'Kerajaan', '1,2,3,4,6,', '2017-10-15'), (30, 'sd', 'sfdf', 'RM900 - RM1,000', 'Industri pembuatan', 'cxzcxc', '2017-10-16'), (31, 'sd', 'sdsd', 'RM900 - RM1,000', 'dsadsd', '9,10,11,sdsadsd', '2017-10-16'), (32, 'test', 'test', 'RM900 - RM1,000', 'Kerajaan', '11,test', '2017-10-16'), (33, '', '', 'RM1,100 - RM1,500', 'Hdnd', '9,10,11,Bsjdbdb', '2017-10-16'), (34, '', '', 'RM1,100 - RM1,500', 'Industri servis', '2,3,', '2017-10-16'), (35, '', '', 'More than RM2,800', 'frsfdsf', '10,11,sdfsdf', '2017-10-16'), (36, 'w', 'wqr', 'More than RM2,800', 'fefefe', '', '2017-10-16'), (37, '', '', 'More than RM2,800', 'Transportation ', '1,4,5,8,9,10,11,Transportation ', '2017-10-16'), (38, 'sxdsaf', 'scsacs', 'More than RM2,800', 'dsf', '', '2017-10-16'), (39, 'C', 'XCZXC', 'More than RM2,800', 'on', '', '2017-10-16'), (40, 'sd', 'adsd', 'More than RM2,800', 'asdsad', '', '2017-10-16'), (41, 'asd', 'dasd', 'RM1,600 - RM2,800', 'Kerajaan', '2,asdsd', '2017-10-16'), (42, 'Tedt', '<EMAIL>', 'RM900 - RM1,000', 'Industri servis', '3,', '2018-02-28'); -- -------------------------------------------------------- -- -- Table structure for table `tour_reg_form` -- CREATE TABLE IF NOT EXISTS `tour_reg_form` ( `id` int(15) NOT NULL AUTO_INCREMENT, `fullname` varchar(255) DEFAULT NULL, `address` text, `mobileno` varchar(50) DEFAULT NULL, `emailid` varchar(50) DEFAULT NULL, `age` int(10) DEFAULT NULL, `sex` varchar(25) DEFAULT NULL, `marital_status` varchar(25) DEFAULT NULL, `physical_limitations` text, `date` date NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=46 ; -- -- Dumping data for table `tour_reg_form` -- INSERT INTO `tour_reg_form` (`id`, `fullname`, `address`, `mobileno`, `emailid`, `age`, `sex`, `marital_status`, `physical_limitations`, `date`) VALUES (45, 'anitha', 'hjhhhh', '9876543210', '<EMAIL>', 23, 'female', 'single', 'no', '0000-00-00'); -- -------------------------------------------------------- -- -- Table structure for table `user` -- CREATE TABLE IF NOT EXISTS `user` ( `user_id` bigint(20) NOT NULL AUTO_INCREMENT, `password` varchar(255) NOT NULL, `user_type` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `logged_in` varchar(255) NOT NULL, `last_login` datetime NOT NULL, `first_name` varchar(255) NOT NULL, `middle_name` varchar(255) NOT NULL, `last_name` varchar(255) NOT NULL, `emp_no` int(11) NOT NULL, `created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `modified` datetime NOT NULL, PRIMARY KEY (`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ; -- -- Dumping data for table `user` -- INSERT INTO `user` (`user_id`, `password`, `user_type`, `email`, `logged_in`, `last_login`, `first_name`, `middle_name`, `last_name`, `emp_no`, `created`, `modified`) VALUES (1, '1234', 'ADMIN', '<EMAIL>', 'FALSE', '2017-10-10 19:59:32', 'Survey', '', '', 0, '2017-07-30 20:48:33', '0000-00-00 00:00:00'); /*!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 */;
SELECT name customers FROM customers c LEFT JOIN orders o ON o.customerid = c.id WHERE customerid IS NULL
/* MIT License Copyright (c) 2021 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -- Things to Note: -- 1) The [TodayFlag] needs to be updated once per day by a scheduled task (timezone dependent: might need a flag for each timezone). -- 2) If you use an unusual Fiscal year (say 5-4-4), it will need to be loaded from an external source (such as an Excel/Google spreadsheet). -- 3) Where possible, public holidays are calculated for each region. -- 4) Easter dates for years 1901 to 2099 and Chinese New year dates for years 1971 to 2099. -- 5) The precise start date of the month Ramadan is by proclamation, so these need to be added, year by year. -- https://travel.stackexchange.com/questions/46148/how-to-calculate-when-ramadan-finishes -- https://en.wikipedia.org/wiki/Ramadan_%28calendar_month%29 ------------------------------------------------------------------------- -- Create a daily scheduled job to set the TodayFlag CREATE OR ALTER PROCEDURE SetDimDateTodayFlag AS BEGIN SET NOCOUNT ON; update DimDate set TodayFlag = 0 where TodayFlag = 1; declare @today date = getdate(); update DimDate set TodayFlag = 1 where DateKey = @today; END GO ------------------------------------------------------------------------- CREATE OR ALTER FUNCTION dbo.AddHolidayDescription ( @desc varchar(4000), @string_to_find varchar(120), @country_to_add varchar(100) ) RETURNS varchar(8000) AS BEGIN declare @pos int, @parens int declare @result varchar(8000) IF @desc IS NULL RETURN @string_to_find + ' (' + @country_to_add + ')'; SET @pos = CHARINDEX(@string_to_find, @desc); IF @pos > 0 BEGIN SET @parens = CHARINDEX(')', @desc, @pos) -- if found, add country to existing list of countries IF @parens > 0 BEGIN SET @result = substring(@desc, 1, @parens - 1) + ', ' + @country_to_add + substring(@desc, @parens , LEN(@desc) - @parens + 1); END END IF @result IS NULL BEGIN SET @result = @desc + '; ' + @string_to_find + ' (' + @country_to_add + ')'; END RETURN @result END GO --select dbo.AddHolidayDescription('Christmas Day Holiday (UK)', 'Christmas Day Holiday', 'XXX') --select dbo.AddHolidayDescription('Blah Blah Day (UK)', 'Christmas Day Holiday', 'XXX') --select dbo.AddHolidayDescription(NULL, 'Christmas Day Holiday', 'XXX') --select dbo.AddHolidayDescription(NULL, 'Labour Day', 'AU-NSW') --select dbo.AddHolidayDescription('Something', 'Labour Day', 'AU-NSW') GO ------------------------------------------------------------------------- CREATE OR ALTER PROCEDURE CreateDateDimension ( @startDate date = '2000-01-01', @endDate date = '2050-12-31', @FYStartMonth int = 7, -- FY start July 1st. (October 1st is accounting period for the US federal government; July 1st for most states) @unknownDate date = '1901-01-01' ) AS BEGIN SET NOCOUNT ON; If @startDate >= @endDate BEGIN RAISERROR ('Start date must be less than end date.', 0, 1) WITH NOWAIT RETURN END If @unknownDate >= @startdate BEGIN RAISERROR ('Unknown date must be less than start date.', 0, 1) WITH NOWAIT RETURN END If @startDate < '1901-01-01' BEGIN RAISERROR ('Easter dates will be incorrect prior to 1901', 0, 1) WITH NOWAIT END IF EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_NAME = 'DimDate') BEGIN DROP TABLE dbo.DimDate; END declare @baseDate date; -- if your dates start earlier than this pick another date (1753-01-01 maybe) SET @baseDate = @unknownDate --declare @FiscalDates table --( -- [Period] int, -- [MonthNo] tinyint, -- [Year] smallint, -- [YearName] varchar(7), -- [Qtr] varchar(2), -- [Semester] varchar(2), -- [MonthName] varchar(9), -- [StartDate] date, -- [EndDate] date, -- [PeriodWeeks] tinyint, -- [YearStartDate] date --); ----This would be populated from a Calendar Spreadsheet supplied by Accounts, for example. -- --INSERT INTO @FiscalDates -- ([Period], [MonthNo], [Year], [YearName], [Qtr], [Semester], [MonthName], [StartDate], [EndDate], [PeriodWeeks], YearStartDate) --VALUES -- (201501, 1, 2015, '2014-15', 'Q1', 'S1', '1/07/2014', '2014-06-29', '2014-07-26', 4, '2014-06-29'), -- (201502, 2, 2015, '2014-15', 'Q1', 'S1', '1/08/2014', '2014-07-27', '2014-08-23', 4, '2014-06-29'), -- (201503, 3, 2015, '2014-15', 'Q1', 'S1', '1/09/2014', '2014-08-24', '2014-09-27', 5, '2014-06-29'), -- (201504, 4, 2015, '2014-15', 'Q2', 'S1', '1/10/2014', '2014-09-28', '2014-10-25', 4, '2014-06-29'), -- (201505, 5, 2015, '2014-15', 'Q2', 'S1', '1/11/2014', '2014-10-26', '2014-11-22', 4, '2014-06-29'), -- (201506, 6, 2015, '2014-15', 'Q2', 'S1', '1/12/2014', '2014-11-23', '2014-12-27', 5, '2014-06-29'), -- (201507, 7, 2015, '2014-15', 'Q3', 'S2', '1/01/2015', '2014-12-28', '2015-01-24', 4, '2014-06-29'), -- (201508, 8, 2015, '2014-15', 'Q3', 'S2', '1/02/2015', '2015-01-25', '2015-02-21', 4, '2014-06-29'), -- (201509, 9, 2015, '2014-15', 'Q3', 'S2', '1/03/2015', '2015-02-22', '2015-03-28', 5, '2014-06-29'), -- (201510, 10, 2015, '2014-15', 'Q4', 'S2', '1/04/2015', '2015-03-29', '2015-04-25', 4, '2014-06-29'), -- (201511, 11, 2015, '2014-15', 'Q4', 'S2', '1/05/2015', '2015-04-26', '2015-05-23', 4, '2014-06-29'), -- (201512, 12, 2015, '2014-15', 'Q4', 'S2', '1/06/2015', '2015-05-24', '2015-06-27', 5, '2014-06-29') --; ------------------------------------------------------------------------------------------ CREATE TABLE DimDate ( DateKey date NOT NULL CONSTRAINT PK_DimDate_DateKey PRIMARY KEY, DateLabelUS varchar(10) NOT NULL, DateLabelUK varchar(10) NOT NULL, DateLabelISO varchar(10) NOT NULL, DayName varchar(9) NOT NULL, DayShortName varchar(3) NOT NULL, MonthName varchar(9) NOT NULL, MonthShortName varchar(3) NOT NULL, HolidayDescription varchar(200) NULL, [DayOfYear] smallint NOT NULL, [DayOfWeek] tinyint NOT NULL, [DayOfMonth] tinyint NOT NULL, WeekInMonth tinyint NOT NULL, ISOWeekNumber tinyint NOT NULL, IsWeekDay tinyint NOT NULL, TodayFlag tinyint NOT NULL, DayIsLastOfMonth tinyint NOT NULL, IsHolidayUS tinyint NOT NULL, IsHolidayUK tinyint NOT NULL, IsHolidayMalta tinyint NOT NULL, IsHolidayAU tinyint NOT NULL, IsHolidayIreland tinyint NOT NULL, IsHolidayCanada tinyint NOT NULL, IsHolidayPhilippines tinyint NOT NULL, -- Some Australian States IsHolidayAU_WA tinyint NOT NULL, IsHolidayAU_NSW tinyint NOT NULL, IsHolidayAU_VIC tinyint NOT NULL, IsHolidayAU_QLD tinyint NOT NULL, IsHolidayAU_SA tinyint NOT NULL, CalendarYear smallint NOT NULL, CalendarSemester tinyint NOT NULL, CalendarQuarter tinyint NOT NULL, CalendarMonth tinyint NOT NULL, CalendarWeek tinyint NOT NULL, CalendarYearLabel varchar(7) NOT NULL, CalendarSemesterLabel varchar(5) NOT NULL, CalendarQuarterLabel varchar(5) NOT NULL, CalendarMonthLabel varchar(10) NOT NULL, CalendarWeekLabel varchar(9) NOT NULL, -- Start of fiscal year configurable in the load process FiscalYear smallint NOT NULL, FiscalQuarter tinyint NOT NULL, FiscalMonth tinyint NOT NULL, FiscalWeek tinyint NOT NULL, FiscalDayOfYear smallint NOT NULL, FiscalYearLabel varchar(6) NOT NULL, FiscalQuarterLabel varchar(5) NOT NULL, FiscalMonthLabel varchar(10) NOT NULL, DaysInMonth tinyint NOT NULL, StartOfMonthDate date NOT NULL, EndOfMonthDate date NOT NULL, -- Used to give Relative positioning, such as the previous 10 months etc RelativeDayCount int NOT NULL, RelativeWeekCount int NOT NULL, RelativeMonthCount int NOT NULL, -- If needed, these can be filled in after table load... --FiscalStartOfYearDate Date NULL, --FiscalEndOfYearDate Date NULL, --FiscalStartOfMonthDate Date NULL, --FiscalEndOfMonthDate Date NULL, --FiscalStartOfQuarterDate Date NULL, --FiscalEndOfQuarterDate Date NULL, --FiscalWeekEndDate Date NULL, --FiscalWeeksInPeriod int NULL ); ------------------------------------------------------------------------------------------ ;WITH digits(i) AS ( SELECT 1 AS I UNION ALL SELECT 2 AS I UNION ALL SELECT 3 UNION ALL SELECT 4 UNION ALL SELECT 5 UNION ALL SELECT 6 UNION ALL SELECT 7 UNION ALL SELECT 8 UNION ALL SELECT 9 UNION ALL SELECT 0 ) ,sequence(i) AS ( SELECT D1.i + (10*D2.i) + (100*D3.i) + (1000*D4.i) + (10000*D5.i) + + (100000*D6.i) FROM digits AS D1 CROSS JOIN digits AS D2 CROSS JOIN digits AS D3 CROSS JOIN digits AS D4 CROSS JOIN digits AS D5 CROSS JOIN digits AS D6 ) ,dates(d) AS ( SELECT DATEADD(day, i, '17530101') AS d FROM sequence ) INSERT DimDate ( DateKey, DateLabelUS, DateLabelUK, DateLabelISO, [DayName], DayShortName, [MonthName], MonthShortName, [DayOfYear], [DayOfMonth], [DayOfWeek], WeekInMonth, IsWeekDay, TodayFlag, DayIsLastOfMonth, IsHolidayUS, IsHolidayUK, IsHolidayAU, IsHolidayMalta, IsHolidayIreland, IsHolidayCanada, IsHolidayPhilippines, IsHolidayAU_WA, IsHolidayAU_NSW, IsHolidayAU_VIC, IsHolidayAU_QLD, IsHolidayAU_SA, ISOWeekNumber, CalendarYear, CalendarSemester, CalendarQuarter, CalendarMonth, CalendarWeek, -- This is US WeekNumberOfYear CalendarYearLabel, CalendarSemesterLabel, CalendarQuarterLabel, CalendarMonthLabel, CalendarWeekLabel, FiscalYear, FiscalQuarter, FiscalMonth, FiscalWeek, FiscalDayOfYear, FiscalYearLabel, FiscalQuarterLabel, FiscalMonthLabel, DaysInMonth, StartOfMonthDate, EndOfMonthDate, RelativeDayCount, RelativeWeekCount, RelativeMonthCount ) SELECT DateKey = cast(dates.d as date), --Other option is encoded integer: YEAR(dates.d) * 10000 + MONTH(dates.d) * 100 + DAY(dates.d), DateLabelUS = right('0' + cast(datepart(month, dates.d) as varchar(2)),2) + '-' + right('0' + cast(datepart(day, dates.d) as varchar(2)),2) + '-' + cast(datepart(year, dates.d) as varchar(4)), -- Date in MM-dd-yyyy format DateLabelUK = right('0' + cast(datepart(day, dates.d) as varchar(2)),2) + '-' + right('0' + cast(datepart(month, dates.d) as varchar(2)),2) + '-' + cast(datepart(year, dates.d) as varchar(4)), -- Date in dd-MM-yyyy format DateLabelISO = cast(datepart(year, dates.d) as varchar(4)) + '-' + right('0' + cast(datepart(month, dates.d) as varchar(2)),2) + '-' + right('0' + cast(datepart(day, dates.d) as varchar(2)),2), -- Date in yyyy-MM-dd format [DayName] = DATENAME(weekday, dates.d), -- Monday [DayShortName] = LEFT(DATENAME(dw, dates.d), 3), -- Mon [MonthName] = DATENAME(month, dates.d), -- April [MonthShortName] = LEFT(DATENAME(month, dates.d), 3), -- Apr [DayOfYear] = DATEPART(dayofyear, dates.d), -- 1 - 366 [DayOfMonth] = DATEPART(day, dates.d), -- 1 - 31 [DayOfWeek] = DATEPART(weekday, dates.d), -- 1 - 7, Using Sunday = 1 [USA standard] (In the UK Monday = 1 and Sunday = 7) WeekInMonth = ((DATEPART(day, dates.d) - 1)/7) + 1, -- 1 - 5 IsWeekDay = CASE WHEN DATENAME(weekday, dates.d) in ('Saturday','Sunday') THEN 0 ELSE 1 END, -- 0 = WeekEnd, 1 = WeekDay TodayFlag = 0, -- This is us updated by a task that needs to runs daily... DayIsLastOfMonth = CASE WHEN DATEPART(day, DATEADD(d, -1, DATEADD(m, DATEDIFF(m, 0, dates.d) + 1, 0))) = DAY(dates.d) THEN 1 ELSE 0 END, IsHolidayUS = 0, -- Needs to be filled in after population IsHolidayUK = 0, -- Needs to be filled in after population IsHolidayAU = 0, -- Needs to be filled in after population IsHolidayMalta = 0, -- Needs to be filled in after population IsHolidayIreland = 0, -- Needs to be filled in after population IsHolidayCanada = 0, -- Needs to be filled in after population IsHolidayPhilippines = 0, -- Needs to be filled in after population IsHolidayAU_WA = 0, -- Needs to be filled in after population IsHolidayAU_NSW = 0, -- Needs to be filled in after population IsHolidayAU_VIC = 0, -- Needs to be filled in after population IsHolidayAU_QLD = 0, -- Needs to be filled in after population IsHolidayAU_SA = 0, -- Needs to be filled in after population ISOWeekNumber = DATEPART(ISO_WEEK, dates.d), CalendarYear = DATEPART(year, dates.d), -- e.g. 2013 CalendarSemester = CASE WHEN MONTH(dates.d) <= 6 THEN 1 ELSE 2 END, -- 1 - 2, CalendarQuarter = (MONTH(dates.d) - 1)/3 + 1, -- 1 - 4 CalendarMonth = MONTH(dates.d), -- 1 - 12 CalendarWeek = (DATEPART(dayofyear, dates.d) + 6) / 7, -- 1 - 53 CalendarYearLabel = 'CY ' + CAST(YEAR(dates.d) AS varchar(4)), CalendarSemesterLabel = 'CY-S' + CAST((MONTH(dates.d) - 1) / 6 + 1 AS varchar(10)), CalendarQuarterLabel = 'CY-Q' + CAST((MONTH(dates.d) - 1) / 3 + 1 AS varchar(10)), CalendarMonthLabel = 'CY' + CAST(YEAR(dates.d) AS varchar(4)) + '-' + LEFT(DATENAME(month, dates.d), 3), CalendarWeekLabel = 'CY Week' + CAST((DATEPART(dayofyear, dates.d) + 6) / 7 AS varchar(2)), CASE WHEN MONTH(dates.d) >= @FYStartMonth THEN YEAR(dates.d) + 1 ELSE YEAR(dates.d) END AS FiscalYear, (CASE WHEN MONTH(dates.d) >= @FYStartMonth THEN MONTH(dates.d) - @FYStartMonth + 1 ELSE MONTH(dates.d) + 13 - @FYStartMonth END - 1) / 3 + 1 AS FiscalQuarter, CASE WHEN MONTH(dates.d) >= @FYStartMonth THEN MONTH(dates.d) - @FYStartMonth + 1 ELSE MONTH(dates.d) + 13 - @FYStartMonth END AS FiscalMonth, ((CASE WHEN MONTH(dates.d) >= @FYStartMonth THEN DATEDIFF(day, DATEFROMPARTS(YEAR(dates.d), @FYStartMonth, 1), dates.d) + 1 ELSE DATEDIFF(day, DATEFROMPARTS(YEAR(dates.d) - 1, @FYStartMonth, 1), dates.d) + 1 END) + 6) / 7 AS FiscalWeek, CASE WHEN MONTH(dates.d) >= @FYStartMonth THEN DATEDIFF(day, DATEFROMPARTS(YEAR(dates.d), @FYStartMonth, 1), dates.d) + 1 ELSE DATEDIFF(day, DATEFROMPARTS(YEAR(dates.d) - 1, @FYStartMonth, 1), dates.d) + 1 END AS FiscalDayOfYear, 'FY' + CAST(CASE WHEN MONTH(dates.d) >= @FYStartMonth THEN YEAR(dates.d) + 1 ELSE YEAR(dates.d) END AS varchar(4)) AS FiscalYearLabel, 'FY-Q' + CAST((CASE WHEN MONTH(dates.d) >= @FYStartMonth THEN MONTH(dates.d) - @FYStartMonth + 1 ELSE MONTH(dates.d) + 13 - @FYStartMonth END - 1) / 3 + 1 AS varchar(10)) AS FiscalQuarterLabel, 'FY' + CAST(CASE WHEN MONTH(dates.d) >= @FYStartMonth THEN YEAR(dates.d) + 1 ELSE YEAR(dates.d) END AS varchar(4)) + '-' + SUBSTRING(DATENAME(month, dates.d), 1, 3) AS FiscalMonthLabel, DaysInMonth = datediff(day, cast(DATEFROMPARTS(YEAR(dates.d), MONTH(dates.d), 1) as date), cast(EOMONTH(dates.d) as date)) + 1, cast(DATEFROMPARTS(YEAR(dates.d), MONTH(dates.d), 1) as date) AS StartOfMonthDate, cast(EOMONTH(dates.d) as date) AS EndOfMonthDate, -- These values can be based from any date, as long as they provide contiguous values on year and month boundries DATEDIFF(day, @baseDate, dates.d) AS RelativeDayCount, DATEDIFF(week, @baseDate, dates.d) AS RelativeWeekCount, DATEDIFF(month, @baseDate, dates.d) AS RelativeMonthCount from dates where ((dates.d between @startDate and @endDate) or dates.d = @baseDate) -- Placeholder for unknown dates. order by DateKey; EXEC SetAllHolidays; EXEC SetDimDateTodayFlag; END GO ------------------------------------------------------------------------- CREATE OR ALTER PROCEDURE SetCommonHolidayDays AS BEGIN SET NOCOUNT ON; -- Common Holidays -- xmas day where it falls on Mon to Fri UPDATE dbo.DimDate SET HolidayDescription = CASE WHEN HolidayDescription IS NOT NULL THEN HolidayDescription + '; ' ELSE '' END + 'Christmas Day (US, UK, MLT, IRE, AU, CAN, PHL)', IsHolidayUS = 1, IsHolidayUK = 1, IsHolidayMalta = 1, IsHolidayIreland = 1, IsHolidayAU = 1, IsHolidayCanada = 1, IsHolidayPhilippines = 1 WHERE CalendarMonth = 12 AND DayOfMonth = 25 AND DayOfWeek BETWEEN 2 AND 6 -- New Year's day where it falls on Mon to Fri UPDATE dbo.DimDate SET HolidayDescription = CASE WHEN HolidayDescription IS NOT NULL THEN HolidayDescription + '; ' ELSE '' END + 'New Year''s Day (US, UK, MLT, IRE, AU, CAN, PHL)', IsHolidayUS = 1, IsHolidayUK = 1, IsHolidayMalta = 1, IsHolidayIreland = 1, IsHolidayAU = 1, IsHolidayCanada = 1, IsHolidayPhilippines = 1 WHERE CalendarMonth = 1 AND DayOfMonth = 1 AND DayOfWeek BETWEEN 2 AND 6 ------------------------------------------------------ -- Easter if object_id('tempdb..#EasterDates') is not null drop table #EasterDates; create table #EasterDates ( EasterFriday date not null, EasterMonday date not null primary key ); ;WITH digits(i) AS ( SELECT 1 AS I UNION ALL SELECT 2 AS I UNION ALL SELECT 3 UNION ALL SELECT 4 UNION ALL SELECT 5 UNION ALL SELECT 6 UNION ALL SELECT 7 UNION ALL SELECT 8 UNION ALL SELECT 9 UNION ALL SELECT 0 ) ,sequence(i) AS ( SELECT D1.i + (10*D2.i) + (100*D3.i) + (1000*D4.i) FROM digits AS D1 CROSS JOIN digits AS D2 CROSS JOIN digits AS D3 CROSS JOIN digits AS D4 ) insert into #EasterDates(EasterFriday, EasterMonday) select EasterFriday = dateadd(day, -2, dbo.GetEasterSunday1900_2099(i)), EasterMonday = dateadd(day, 1, dbo.GetEasterSunday1900_2099(i)) FROM sequence where i between 1901 AND 2099 order by i; -- Easter Friday UPDATE d SET HolidayDescription = CASE WHEN HolidayDescription IS NOT NULL THEN HolidayDescription + '; ' ELSE '' END + 'Good Friday (UK, AU, MLT, CAN, PHL)', IsHolidayUK = 1, IsHolidayAU = 1, IsHolidayMalta = 1, IsHolidayCanada = 1, IsHolidayPhilippines = 1 FROM dbo.DimDate d JOIN #EasterDates e ON e.EasterFriday = d.DateKey; -- Easter Monday (Not AU) UPDATE d SET HolidayDescription = CASE WHEN HolidayDescription IS NOT NULL THEN HolidayDescription + '; ' ELSE '' END + 'Easter Monday (UK, IRL)', IsHolidayUK = 1, IsHolidayIreland = 1 FROM dbo.DimDate d JOIN #EasterDates e ON e.EasterMonday = d.DateKey -- Easter Monday (Australia) not coinciding with Anzac day UPDATE d SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Easter Monday', 'AU'), IsHolidayAU = 1 FROM dbo.DimDate d JOIN ( select EasterMonday from #EasterDates e WHERE (MONTH(EasterMonday) != 4 OR DAY(EasterMonday) NOT IN (25, 26, 27)) ) e ON e.EasterMonday = d.DateKey -- Easter Monday (Australia) coinciding with Anzac day, moved to Tuesday UPDATE d SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Easter Monday Holiday', 'AU'), IsHolidayAU = 1 FROM dbo.DimDate d WHERE d.DateKey IN (SELECT dateadd(day, 1, EasterMonday) FROM #EasterDates WHERE MONTH(EasterMonday) = 4 AND DAY(EasterMonday) IN (25, 26, 27)) -- Maundy Thursday UPDATE d SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Maundy Thursday', 'PHL'), IsHolidayPhilippines = 1 FROM dbo.DimDate d JOIN #EasterDates e ON dateadd(day, -1, e.EasterFriday) = d.DateKey; -- Black Saturday UPDATE d SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Black Saturday', 'PHL'), IsHolidayPhilippines = 1 FROM dbo.DimDate d JOIN #EasterDates e ON dateadd(day, +1, e.EasterFriday) = d.DateKey; drop table #EasterDates; --------------------------------------------------------------------- -- Chinese New Year if object_id('tempdb..#ChineseNewYearDates') is not null drop table #ChineseNewYearDates; create table #ChineseNewYearDates ( [Date] date not null ); -- Computed from here: https://stackoverflow.com/a/30719491/16076 INSERT INTO #ChineseNewYearDates([Date]) VALUES ('1971-01-27'), ('1972-02-15'), ('1973-02-03'), ('1974-01-23'), ('1975-02-11'), ('1976-01-31'), ('1977-02-18'), ('1978-02-07'), ('1979-01-28'), ('1980-02-16'), ('1981-02-05'), ('1982-01-25'), ('1983-02-13'), ('1984-02-02'), ('1985-02-20'), ('1986-02-09'), ('1987-01-29'), ('1988-02-17'), ('1989-02-06'), ('1990-01-27'), ('1991-02-15'), ('1992-02-04'), ('1993-01-23'), ('1994-02-10'), ('1995-01-31'), ('1996-02-19'), ('1997-02-07'), ('1998-01-28'), ('1999-02-16'), ('2000-02-05'), ('2001-01-24'), ('2002-02-12'), ('2003-02-01'), ('2004-01-22'), ('2005-02-09'), ('2006-01-29'), ('2007-02-18'), ('2008-02-07'), ('2009-01-26'), ('2010-02-14'), ('2011-02-03'), ('2012-01-23'), ('2013-02-10'), ('2014-01-31'), ('2015-02-19'), ('2016-02-08'), ('2017-01-28'), ('2018-02-16'), ('2019-02-05'), ('2020-01-25'), ('2021-02-12'), ('2022-02-01'), ('2023-01-22'), ('2024-02-10'), ('2025-01-29'), ('2026-02-17'), ('2027-02-06'), ('2028-01-26'), ('2029-02-13'), ('2030-02-03'), ('2031-01-23'), ('2032-02-11'), ('2033-01-31'), ('2034-02-19'), ('2035-02-08'), ('2036-01-28'), ('2037-02-15'), ('2038-02-04'), ('2039-01-24'), ('2040-02-12'), ('2041-02-01'), ('2042-01-22'), ('2043-02-10'), ('2044-01-30'), ('2045-02-17'), ('2046-02-06'), ('2047-01-26'), ('2048-02-14'), ('2049-02-02'), ('2050-01-23'), ('2051-02-11'), ('2052-02-01'), ('2053-02-19'), ('2054-02-08'), ('2055-01-28'), ('2056-02-15'), ('2057-02-04'), ('2058-01-24'), ('2059-02-12'), ('2060-02-02'), ('2061-01-21'), ('2062-02-09'), ('2063-01-29'), ('2064-02-17'), ('2065-02-05'), ('2066-01-26'), ('2067-02-14'), ('2068-02-03'), ('2069-01-23'), ('2070-02-11'), ('2071-01-31'), ('2072-02-19'), ('2073-02-07'), ('2074-01-27'), ('2075-02-15'), ('2076-02-05'), ('2077-01-24'), ('2078-02-12'), ('2079-02-02'), ('2080-01-22'), ('2081-02-09'), ('2082-01-29'), ('2083-02-17'), ('2084-02-06'), ('2085-01-26'), ('2086-02-14'), ('2087-02-03'), ('2088-01-24'), ('2089-02-10'), ('2090-01-30'), ('2091-02-18'), ('2092-02-07'), ('2093-01-27'), ('2094-02-15'), ('2095-02-05'), ('2096-01-25'), ('2097-02-12'), ('2098-02-01'), ('2099-01-21') UPDATE d SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Chinese Lunar New Year', 'PHL'), IsHolidayPhilippines = 1 FROM dbo.DimDate d JOIN #ChineseNewYearDates e ON e.Date = d.DateKey; DROP TABLE #ChineseNewYearDates; END GO ------------------------------------------------------------------------- -- For Years 1900 - 2099 -- https://stackoverflow.com/questions/2192533/function-to-return-date-of-easter-for-the-given-year -- CREATE OR ALTER FUNCTION dbo.GetEasterSunday1900_2099(@year INT) RETURNS Date AS BEGIN DECLARE @EpactCalc INT, @PaschalDaysCalc INT, @NumOfDaysToSunday INT, @EasterMonth INT, @EasterDay INT SET @EpactCalc = (24 + 19 * (@year % 19)) % 30 SET @PaschalDaysCalc = @EpactCalc - (@EpactCalc / 28) SET @NumOfDaysToSunday = @PaschalDaysCalc - ((@year + @year / 4 + @PaschalDaysCalc - 13) % 7) SET @EasterMonth = 3 + (@NumOfDaysToSunday + 40) / 44 SET @EasterDay = @NumOfDaysToSunday + 28 - (31 * (@EasterMonth / 4)) RETURN CONVERT(Date, RTRIM(@year) + RIGHT('0' + RTRIM(@EasterMonth), 2) + RIGHT('0' + RTRIM(@EasterDay), 2)) END GO ------------------------------------------------------------------------------------------ -- Set Region based holidays CREATE OR ALTER PROCEDURE SetAllHolidays AS BEGIN SET NOCOUNT ON; EXEC SetCommonHolidayDays; EXEC SetUSHolidays; EXEC SetUKHolidays; EXEC SetAUHolidays; EXEC SetIrelandHolidays; EXEC SetMaltaHolidays; EXEC SetCanadaHolidays EXEC SetPhilippinesHolidays; END GO ------------------------------------------------------------------------------------------ CREATE OR ALTER PROCEDURE SetUSHolidays AS BEGIN SET NOCOUNT ON; -- US federal holidays -- USA standard DayOfWeek: -- Sunday = 1 -- Monday = 2 -- Tuesday = 3 -- Wedsnesday = 4 -- Thursday = 5 -- Friday = 6 -- Saturday = 7 -- New Years Day falling Mon to Fri is Common (above) UPDATE d SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'New Year''s Day Holiday', 'US'), IsHolidayUS = 1 FROM dbo.DimDate d WHERE (CalendarMonth = 12 AND DayOfMonth = 31 AND DayOfWeek = 6) OR (CalendarMonth = 1 AND DayOfMonth = 2 AND DayOfWeek = 2) ---------- -- <NAME> King Day - Third Monday in January starting in 1983 UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, '<NAME> King Jr Day', 'US'), IsHolidayUS = 1 WHERE CalendarMonth = 1 AND DayOfWeek = 2 AND CalendarYear >= 1983 AND WeekInMonth = 3 -- President's Day - Third Monday in February UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'President''s Day', 'US'), IsHolidayUS = 1 WHERE CalendarMonth = 2 AND DayOfWeek = 2 AND WeekInMonth = 3 -- Memorial Day - Last Monday in May UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Memorial Day', 'US'), IsHolidayUS = 1 WHERE DateKey IN ( SELECT MAX(DateKey) FROM dbo.DimDate WHERE CalendarMonth = 5 AND DayOfWeek = 2 GROUP BY CalendarYear ); -- Independance Day: 4th of July UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Independance Day', 'US'), IsHolidayUS = 1 WHERE CalendarMonth = 7 AND DayOfMonth = 4 AND DayOfWeek BETWEEN 2 AND 6 UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Independance Day Holiday', 'US'), IsHolidayUS = 1 WHERE (CalendarMonth = 7 AND DayOfMonth = 3 AND DayOfWeek = 6) OR (CalendarMonth = 7 AND DayOfMonth = 5 AND DayOfWeek = 2) ---------- -- Labor Day - First Monday in September UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Labor Day', 'US'), IsHolidayUS = 1 FROM dbo.DimDate WHERE CalendarMonth = 9 AND DayOfWeek = 2 AND WeekInMonth = 1 -- Colombus Day - Second Monday in October UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Colombus Day', 'US'), IsHolidayUS = 1 WHERE CalendarMonth = 10 AND DayOfWeek = 2 AND WeekInMonth = 2 -- Election Day is statutorily set by the Federal Government as the Tuesday next after the first Monday in November, -- equaling the Tuesday occurring within November 2 to November 8. -- Not a public holiday in every state... UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Election Day', 'US'), IsHolidayUS = 1 WHERE CalendarMonth = 11 AND DayOfWeek = 3 AND DayOfMonth BETWEEN 2 AND 8 -- Veterans Day - November 11 UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Veterans Day', 'US'), IsHolidayUS = 1 WHERE (CalendarMonth = 11 AND DayOfMonth = 11 AND DayOfWeek BETWEEN 2 AND 6) UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Veterans Day Holiday', 'US'), IsHolidayUS = 1 WHERE (CalendarMonth = 11 AND DayOfMonth = 10 AND DayOfWeek = 6) OR (CalendarMonth = 11 AND DayOfMonth = 12 AND DayOfWeek = 2) -- Thanksgiving - Fourth Thursday in November UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Thanksgiving', 'US'), IsHolidayUS = 1 WHERE CalendarMonth = 11 AND DayOfWeek = 5 AND WeekInMonth = 4 -- xmas UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Christmas Day Holiday', 'US'), IsHolidayUS = 1 WHERE (CalendarMonth = 12 AND DayOfMonth = 24 AND DayOfWeek = 6) OR (CalendarMonth = 12 AND DayOfMonth = 26 AND DayOfWeek = 2) END GO ------------------------------------------------------------------------------------------ CREATE OR ALTER PROCEDURE SetUKHolidays AS BEGIN SET NOCOUNT ON; -- New Years Day falling Mon to Fri is Common (above) -- New year's day falling on Sat/Sun... UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'New Year''s Day Holiday', 'UK'), IsHolidayUK = 1 WHERE (CalendarMonth = 1 AND DayOfMonth = 2 AND DayOfWeek = 2) OR (CalendarMonth = 1 AND DayOfMonth = 3 AND DayOfWeek = 2) -- May Day Bank Holiday - First Monday in May UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'May Day', 'UK'), IsHolidayUK = 1 WHERE (CalendarMonth = 5 AND DayOfWeek = 2 AND WeekInMonth = 1) -- Spring Bank Holiday: Last Monday in May. Coincides with US Memorial Day UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Spring Bank Holiday', 'UK'), IsHolidayUK = 1 WHERE DateKey IN ( SELECT MAX(DateKey) FROM dbo.DimDate WHERE CalendarMonth = 5 AND DayOfWeek = 2 GROUP BY CalendarYear ); -- Summer Bank Holiday: Last Monday in August. UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Summer Bank Holiday', 'UK'), IsHolidayUK = 1 WHERE DateKey IN ( SELECT MAX(DateKey) FROM dbo.DimDate WHERE CalendarMonth = 8 AND DayOfWeek = 2 GROUP BY CalendarYear ); -- xmas Day (falling on a Sat or Sun) UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Christmas Day Holiday', 'UK'), IsHolidayUK = 1 WHERE (CalendarMonth = 12 AND DayOfMonth = 26 AND DayOfWeek = 2) OR (CalendarMonth = 12 AND DayOfMonth = 27 AND DayOfWeek = 2) -- Boxing Day UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Boxing Day', 'UK'), IsHolidayUK = 1 WHERE (CalendarMonth = 12 AND DayOfMonth = 26 AND DayOfWeek BETWEEN 3 AND 6) -- falling on a Sat or Sun UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Boxing Day Holiday', 'UK'), IsHolidayUK = 1 WHERE (CalendarMonth = 12 AND DayOfMonth = 27 AND DayOfWeek = 3) OR (CalendarMonth = 12 AND DayOfMonth = 28 AND DayOfWeek = 3) OR (CalendarMonth = 12 AND DayOfMonth = 28 AND DayOfWeek = 2) END GO ------------------------------------------------------------------------------------------ CREATE OR ALTER PROCEDURE SetMaltaHolidays AS BEGIN SET NOCOUNT ON; -- Since 2006, public holidays that fall on a weekend do not get a holiday day in lieu. -- (Malta has most holidays of all the countries in the European Union). UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Feast of Saint Paul''s Shipwreck', 'MLT'), IsHolidayMalta = 1 WHERE CalendarMonth = 2 AND DayOfMonth = 10 AND DayOfWeek BETWEEN 2 AND 6 UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Feast of Saint Joseph', 'MLT'), IsHolidayMalta = 1 WHERE CalendarMonth = 3 AND DayOfMonth = 19 AND DayOfWeek BETWEEN 2 AND 6 UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Freedom Day', 'MLT'), IsHolidayMalta = 1 WHERE CalendarMonth = 3 AND DayOfMonth = 31 AND DayOfWeek BETWEEN 2 AND 6 UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Worker''s Day', 'MLT'), IsHolidayMalta = 1 WHERE CalendarMonth = 5 AND DayOfMonth = 1 AND DayOfWeek BETWEEN 2 AND 6 UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Sette Giugno', 'MLT'), IsHolidayMalta = 1 WHERE CalendarMonth = 6 AND DayOfMonth = 7 AND DayOfWeek BETWEEN 2 AND 6 UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Feast of St. Peter and St. Paul', 'MLT'), IsHolidayMalta = 1 WHERE CalendarMonth = 6 AND DayOfMonth = 29 AND DayOfWeek BETWEEN 2 AND 6 UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Feast of the Assumption', 'MLT'), IsHolidayMalta = 1 WHERE CalendarMonth = 8 AND DayOfMonth = 15 AND DayOfWeek BETWEEN 2 AND 6 UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Victory Day', 'MLT'), IsHolidayMalta = 1 WHERE CalendarMonth = 9 AND DayOfMonth = 8 AND DayOfWeek BETWEEN 2 AND 6 UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Independence Day', 'MLT'), IsHolidayMalta = 1 WHERE CalendarMonth = 9 AND DayOfMonth = 21 AND DayOfWeek BETWEEN 2 AND 6 UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Feast of the Immaculate Conception', 'MLT'), IsHolidayMalta = 1 WHERE CalendarMonth = 12 AND DayOfMonth = 8 AND DayOfWeek BETWEEN 2 AND 6 UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Republic Day', 'MLT'), IsHolidayMalta = 1 WHERE CalendarMonth = 12 AND DayOfMonth = 13 AND DayOfWeek BETWEEN 2 AND 6 END GO ------------------------------------------------------------------------------------------ CREATE OR ALTER PROCEDURE SetIrelandHolidays AS BEGIN SET NOCOUNT ON; -- Irish Holidays -- Saint Patrick's Day, March 17th UPDATE dbo.DimDate SET HolidayDescription = CASE WHEN HolidayDescription IS NOT NULL THEN HolidayDescription + '; ' ELSE '' END + 'Saint Patrick''s Day (IRL)', IsHolidayIreland = 1 WHERE (CalendarMonth = 3 AND DayOfMonth = 17 AND DayOfWeek BETWEEN 2 AND 6) OR (CalendarMonth = 3 AND DayOfMonth = 18 AND DayOfWeek = 2) OR (CalendarMonth = 3 AND DayOfMonth = 19 AND DayOfWeek = 2) -- May Day: The first Monday in May. UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'May Day', 'IRL'), IsHolidayIreland = 1 WHERE CalendarMonth = 5 AND DayOfWeek = 2 AND WeekInMonth = 1 -- June Holiday: The first Monday in June. UPDATE dbo.DimDate SET HolidayDescription = CASE WHEN HolidayDescription IS NOT NULL THEN HolidayDescription + '; ' ELSE '' END + 'June Holiday (IRL)', IsHolidayIreland = 1 WHERE CalendarMonth = 6 AND DayOfWeek = 2 AND WeekInMonth = 1 -- August Holiday: The first Monday in August. UPDATE dbo.DimDate SET HolidayDescription = CASE WHEN HolidayDescription IS NOT NULL THEN HolidayDescription + '; ' ELSE '' END + 'August Holiday (IRL)', IsHolidayIreland = 1 WHERE CalendarMonth = 8 AND DayOfWeek = 2 AND WeekInMonth = 1 -- October Holiday:The last Monday in October. UPDATE dbo.DimDate SET HolidayDescription = CASE WHEN HolidayDescription IS NOT NULL THEN HolidayDescription + '; ' ELSE '' END + 'October Holiday (IRL)', IsHolidayIreland = 1 WHERE DateKey IN ( SELECT MAX(DateKey) FROM dbo.DimDate WHERE CalendarMonth = 10 AND DayOfWeek = 2 GROUP BY CalendarYear ); -- xmas day falling on a Sat or Sun UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Christmas Day Holiday', 'IRL'), IsHolidayIreland = 1 WHERE (CalendarMonth = 12 AND DayOfMonth = 26 AND DayOfWeek = 2) OR (CalendarMonth = 12 AND DayOfMonth = 27 AND DayOfWeek = 2) -- St. Stephen's Day 26th December UPDATE dbo.DimDate SET HolidayDescription = CASE WHEN HolidayDescription IS NOT NULL THEN HolidayDescription + '; ' ELSE '' END + 'St. Stephen''s Day (IRL)', IsHolidayIreland = 1 WHERE (CalendarMonth = 12 AND DayOfMonth = 26 AND DayOfWeek BETWEEN 3 AND 6) -- ...falling on a Sat or Sun UPDATE dbo.DimDate SET HolidayDescription = CASE WHEN HolidayDescription IS NOT NULL THEN HolidayDescription + '; ' ELSE '' END + 'St. Stephen''s Day Holiday (IRL)', IsHolidayIreland = 1 WHERE (CalendarMonth = 12 AND DayOfMonth = 27 AND DayOfWeek = 3) OR (CalendarMonth = 12 AND DayOfMonth = 28 AND DayOfWeek = 3) OR (CalendarMonth = 12 AND DayOfMonth = 28 AND DayOfWeek = 2) END GO -------------------------------------------------------------------------------------------- -- Australian Holidays (State based) -- See https://en.wikipedia.org/wiki/Public_holidays_in_Australia CREATE OR ALTER PROCEDURE SetAUHolidays AS BEGIN SET NOCOUNT ON; -- Common across all States -- New Years falling on a weekend UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'New Year''s Day Holiday', 'AU'), IsHolidayAU = 1 WHERE (CalendarMonth = 1 AND DayOfMonth = 2 AND DayOfWeek = 2) OR (CalendarMonth = 1 AND DayOfMonth = 3 AND DayOfWeek = 2) -- Australia Day: 26th Jan UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Australia Day', 'AU'), IsHolidayAU = 1 WHERE (CalendarMonth = 1 AND DayOfMonth = 26 AND DayOfWeek BETWEEN 2 AND 6) -- Australia Day: falling on a weekend UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Australia Day Holiday', 'AU'), IsHolidayAU = 1 WHERE (CalendarMonth = 1 AND DayOfMonth = 27 AND DayOfWeek = 2) OR (CalendarMonth = 1 AND DayOfMonth = 28 AND DayOfWeek = 2) -- ANZAC Day: 25th April UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Anzac Day', 'AU'), IsHolidayAU = 1 WHERE (CalendarMonth = 4 AND DayOfMonth = 25 AND DayOfWeek BETWEEN 2 AND 6) -- Anzac Day: falling on a weekend UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Anzac Day Holiday', 'AU'), IsHolidayAU = 1 WHERE (CalendarMonth = 4 AND DayOfMonth = 26 AND DayOfWeek = 2) OR (CalendarMonth = 4 AND DayOfMonth = 27 AND DayOfWeek = 2) -- Easter MONday can be as late as 26th April, and coincide with ANZAC day (handled in common easter dates) -- Christmas Day falling on a weekend UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Christmas Day Holiday', 'AU'), IsHolidayAU = 1 WHERE (CalendarMonth = 12 AND DayOfWeek = 2) AND (DayOfMonth IN (26, 27)) -- Boxing Day UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Boxing Day', 'AU'), IsHolidayAU = 1 WHERE (CalendarMonth = 12 AND DayOfMonth = 26 AND DayOfWeek BETWEEN 3 AND 6) -- Boxing Day: falling on a weekend UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Boxing Day Holiday', 'AU'), IsHolidayAU = 1 WHERE (CalendarMonth = 12 AND DayOfMonth = 27 AND DayOfWeek = 3) OR (CalendarMonth = 12 AND DayOfMonth = 28 AND DayOfWeek = 3) OR (CalendarMonth = 12 AND DayOfMonth = 28 AND DayOfWeek = 2) --------------------------------------------------------------------------------------------- -- State Specific UPDATE dbo.DimDate SET IsHolidayAU_WA = 1, IsHolidayAU_NSW = 1, IsHolidayAU_VIC = 1, IsHolidayAU_QLD = 1, IsHolidayAU_SA = 1 WHERE IsHolidayAU = 1 -- Queens Birthday: NSW, SA, VIC: 2nd Monday in June UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Queen''s Birthday', 'AU: NSW,SA,VIC'), IsHolidayAU_NSW = 1, IsHolidayAU_SA = 1, IsHolidayAU_VIC = 1 WHERE (CalendarMonth = 6 AND DayOfWeek = 2 AND WeekInMonth = 2); -- Western Australia Day: WA only: 1st Monday in June UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Western Australia Day', 'AU-WA'), IsHolidayAU_WA = 1 WHERE (CalendarMonth = 6 AND DayOfWeek = 2 AND WeekInMonth = 1); -- WA: Queens Birthday: There is no firm rule to determine this date, though it is usually the last Monday of September (or the first Monday of October!) UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Queen''s Birthday (Provisional)', 'AU-WA'), IsHolidayAU_WA = 1 WHERE DateKey IN ( -- last Monday of September SELECT MAX(DateKey) FROM dbo.DimDate WHERE CalendarMonth = 9 AND DayOfWeek = 2 GROUP BY CalendarYear ); -- 1st Monday in October: Labour Day NSW, SA UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Labour Day', 'AU: NSW,SA'), IsHolidayAU_NSW = 1 WHERE (CalendarMonth = 10 AND DayOfWeek = 2 AND WeekInMonth = 1); -- 1st Monday in October: Queen's Birthday QLD UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Queen''s Birthday', 'AU-QLD'), IsHolidayAU_QLD = 1 WHERE (CalendarMonth = 10 AND DayOfWeek = 2 AND WeekInMonth = 1); -- Melbourne Cup: First Tuesday in November UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Melbourne Cup', 'AU-VIC'), IsHolidayAU_VIC = 1 WHERE (CalendarMonth = 11 AND DayOfWeek = 3 AND WeekInMonth = 1); -- March Public Holiday: SA: 2nd Monday in March UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'March Public Holiday', 'AU-SA'), IsHolidayAU_VIC = 1 WHERE (CalendarMonth = 3 AND DayOfWeek = 2 AND WeekInMonth = 2); -- Labour Day: VIC: 2nd Monday in March UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Labour Day', 'AU-VIC'), IsHolidayAU_VIC = 1 WHERE (CalendarMonth = 3 AND DayOfWeek = 2 AND WeekInMonth = 2); -- 1st Monday in May: Labour Day QLD UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Labour Day', 'AU-QLD'), IsHolidayAU_QLD = 1 WHERE (CalendarMonth = 5 AND DayOfWeek = 2 AND WeekInMonth = 1); END GO ------------------------------------------------------------------------- CREATE OR ALTER PROCEDURE SetCanadaHolidays AS BEGIN SET NOCOUNT ON; UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'New Year''s Day Holiday', 'CAN'), IsHolidayCanada = 1 WHERE (CalendarMonth = 1 AND DayOfMonth = 2 AND DayOfWeek = 2) OR (CalendarMonth = 1 AND DayOfMonth = 3 AND DayOfWeek = 2) -- Family Day - Third Monday in February UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Family Day', 'CAN'), IsHolidayCanada = 1 WHERE (CalendarMonth = 2 AND DayOfWeek = 2 AND WeekInMonth = 3) -- Canada Day UPDATE d SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Canada Day', 'CAN'), IsHolidayCanada = 1 FROM dbo.DimDate d WHERE (CalendarMonth = 7 AND DayOfMonth = 1 AND DayOfWeek BETWEEN 2 AND 6) UPDATE d SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Canada Day Holiday', 'CAN'), IsHolidayCanada = 1 FROM dbo.DimDate d WHERE (CalendarMonth = 7 AND DayOfWeek = 2) AND (DayOfMonth IN (2,3)) ----------- -- Labor Day - First Monday in September UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Labour Day', 'CAN'), IsHolidayCanada = 1 WHERE CalendarMonth = 9 AND DayOfWeek = 2 AND WeekInMonth = 1 -- Victoria Day: Monday before May 25 UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Victoria Day', 'CAN'), IsHolidayCanada = 1 WHERE DateKey IN ( SELECT MAX(DateKey) FROM dbo.DimDate WHERE CalendarMonth = 5 AND DayOfWeek = 2 AND DayOfMonth < 25 GROUP BY CalendarYear ); -- Civic Holiday (not Quebec) UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Civic Holiday', 'CAN'), IsHolidayCanada = 1 WHERE CalendarMonth = 8 AND DayOfWeek = 2 AND WeekInMonth = 1 -- Thanksgiving - 2nd Monday in October UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Thanksgiving', 'CAN'), IsHolidayCanada = 1 WHERE CalendarMonth = 10 AND DayOfWeek = 2 AND WeekInMonth = 2 -- Remembrance Day - 11th November UPDATE d SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Remembrance Day', 'CAN'), IsHolidayCanada = 1 FROM dbo.DimDate d WHERE (CalendarMonth = 11 AND DayOfMonth = 11 AND DayOfWeek BETWEEN 2 AND 6) UPDATE d SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Remembrance Day Holiday', 'CAN'), IsHolidayCanada = 1 FROM dbo.DimDate d WHERE (CalendarMonth = 11 AND DayOfWeek = 2) AND (DayOfMonth IN (12, 13)) UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Christmas Day Holiday', 'CAN'), IsHolidayCanada = 1 WHERE (CalendarMonth = 12 AND DayOfWeek = 2) AND (DayOfMonth IN (26, 27)) -- Boxing Day UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Boxing Day', 'CAN'), IsHolidayCanada = 1 WHERE (CalendarMonth = 12 AND DayOfMonth = 26 AND DayOfWeek BETWEEN 3 AND 6) -- ...falling on a Sat or Sun UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Boxing Day Holiday', 'CAN'), IsHolidayCanada = 1 WHERE (CalendarMonth = 12 AND DayOfMonth = 27 AND DayOfWeek = 3) OR (CalendarMonth = 12 AND DayOfMonth = 28 AND DayOfWeek = 3) OR (CalendarMonth = 12 AND DayOfMonth = 28 AND DayOfWeek = 2) END GO ------------------------------------------------------------------------- -- https://en.wikipedia.org/wiki/Public_holidays_in_the_Philippines -- Regular holidays and special days may be modified by order or proclamation -- It appears that regular (public) holidays that fall on a weekend don't get holiday days in lieu -- even though the wiki page hints at this(?) CREATE OR ALTER PROCEDURE SetPhilippinesHolidays AS BEGIN SET NOCOUNT ON; UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'New Year''s Day', 'PHL'), IsHolidayPhilippines = 1 WHERE CalendarMonth = 1 AND DayOfMonth = 1 AND DayOfWeek IN (1, 7); -- People Power Anniversary: 25th February UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'People Power Anniversary', 'PHL'), IsHolidayPhilippines = 1 WHERE (CalendarMonth = 2 AND DayOfMonth = 25); -- Day of Valor: 9th April UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Day of Valor', 'PHL'), IsHolidayPhilippines = 1 WHERE (CalendarMonth = 4 AND DayOfMonth = 9); -- Labor Day: 1st May UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Labor Day', 'PHL'), IsHolidayPhilippines = 1 WHERE (CalendarMonth = 5 AND DayOfMonth = 1); -- Independence Day: 12th June UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Independence Day', 'PHL'), IsHolidayPhilippines = 1 WHERE (CalendarMonth = 6 AND DayOfMonth = 12); -- Ninoy Aquino Day: 21st Auguest UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Ninoy Aquino Day', 'PHL'), IsHolidayPhilippines = 1 WHERE (CalendarMonth = 8 AND DayOfMonth = 21); -- National Heroes' Day: Last Monday in August UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'National Heroes'' Day', 'PHL'), IsHolidayPhilippines = 1 WHERE DateKey IN ( SELECT MAX(DateKey) FROM dbo.DimDate WHERE CalendarMonth = 8 AND DayOfWeek = 2 GROUP BY CalendarYear ); -- All Saints' Day: 1st November UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'All Saints'' Day', 'PHL'), IsHolidayPhilippines = 1 WHERE (CalendarMonth = 11 AND DayOfMonth = 1); -- All Souls' Day: 2nd November : Special hoiday changes by presidential proclamation UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'All Souls'' Day', 'PHL'), IsHolidayPhilippines = 1 WHERE (CalendarYear < 2021 AND CalendarMonth = 11 AND DayOfMonth = 2); -- Bonifacio Day: 30th November UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Bonifacio Day', 'PHL'), IsHolidayPhilippines = 1 WHERE (CalendarMonth = 11 AND DayOfMonth = 30); UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Feast of the Immaculate Conception', 'PHL'), IsHolidayPhilippines = 1 WHERE CalendarMonth = 12 AND DayOfMonth = 8; -- Rizal Day: 30th December UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Rizal Day', 'PHL'), IsHolidayPhilippines = 1 WHERE (CalendarMonth = 12 AND DayOfMonth = 30); -- New Year's Eve: 31st December : Special hoiday changes by presidential proclamation UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Christmas Eve', 'PHL'), IsHolidayPhilippines = 1 WHERE CalendarYear < 2021 AND CalendarMonth = 12 AND DayOfMonth = 24; UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Christmas Day', 'PHL'), IsHolidayPhilippines = 1 WHERE CalendarMonth = 12 AND DayOfMonth = 25 AND DayOfWeek IN (1, 7); -- New Year's Eve: 31st December : Special hoiday changes by presidential proclamation UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'New Year''s Eve', 'PHL'), IsHolidayPhilippines = 1 WHERE CalendarYear < 2021 AND CalendarMonth = 12 AND DayOfMonth = 31; ------------------------------------------------------------------------------------- -- Special moveable dates. These need to be updated yearly by hand: -- Ramadan 2021 -- Thursday 13th May: Eidul-Fitar -- Tuesday 20th July: Eid al-Adha (Feast of the Sacrifice) UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Eidul-Fitar', 'PHL'), IsHolidayPhilippines = 1 WHERE CalendarYear = 2021 AND CalendarMonth = 5 AND DayOfMonth = 13; UPDATE dbo.DimDate SET HolidayDescription = dbo.AddHolidayDescription(HolidayDescription, 'Eid al-Adha (Feast of the Sacrifice)', 'PHL'), IsHolidayPhilippines = 1 WHERE CalendarYear = 2021 AND CalendarMonth = 7 AND DayOfMonth = 20; ------------------------------------------------------------------------------------- -- Special holiday changes by proclamation... END GO ------------------------------------------------------------------------- -- Create a date dimension table EXEC CreateDateDimension @startDate = '2000-01-01', @endDate = '2050-12-31', @FYStartMonth = 7 GO -------------------------------------------------------------------------
CREATE TABLE [Production].[TransactionHistory]( [TransactionID] int IDENTITY(100000,1) NOT NULL CONSTRAINT [PK_TransactionHistory_TransactionID] PRIMARY KEY CLUSTERED, [ProductID] int NOT NULL CONSTRAINT [FK_TransactionHistory_Product_ProductID] FOREIGN KEY REFERENCES [Production].[Product] ([ProductID]), [TransactionDate] datetime NOT NULL, [TransactionType] nchar(1) NOT NULL CONSTRAINT [CK_Product_Style] CHECK (UPPER([TransactionType]) = N'P' OR UPPER([TransactionType]) = N'S' OR UPPER([TransactionType]) = N'W'), [Quantity] int NOT NULL, [ActualCost] money NOT NULL /* Other columns. */); GO
<gh_stars>10-100 --Split a batch up into chunks using a cursor. --This method can be used for most any large table with some modifications --It could also be refined further with an @Day variable (for example) --This is for the case where you already have the data in a table --and are ready to process it. Obviously, if you have a large flat file, --you can just use BULK INSERT. DECLARE @Year INT DECLARE @Month INT DECLARE BatchingCursor CURSOR FOR SELECT DISTINCT YEAR([SomeDateField]),MONTH([SomeDateField]) FROM [Sometable]; OPEN BatchingCursor; FETCH NEXT FROM BatchingCursor INTO @Year, @Month; WHILE @@FETCH_STATUS = 0 BEGIN --the transaction is optional BEGIN TRANSACTION --All logic goes in here --Any select statements from [Sometable] need to be suffixed with: --WHERE Year([SomeDateField])=@Year AND Month([SomeDateField])=@Month COMMIT TRANSACTION FETCH NEXT FROM BatchingCursor INTO @Year, @Month; END; CLOSE BatchingCursor; DEALLOCATE BatchingCursor; GO
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET NAMES utf8 */; /*!40014 SET FOREIGN_KEY_CHECKS=0 */; DROP PROCEDURE IF EXISTS `sp_UpdateGalaxyStatus`; DELIMITER // CREATE PROCEDURE `sp_UpdateGalaxyStatus`(IN `in_status` TINYINT, IN `in_id` INT) BEGIN update galaxy set status = in_status , updated_at = NOW() where id = in_id; END// DELIMITER ; /*!40014 SET FOREIGN_KEY_CHECKS=1 */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
<filename>backend/de.metas.materialtracking/src/main/sql/postgresql/system/51-de.metas.materialtracking.ch.lagerkonf/5440530_sys_09661_tweak_UI.sql -- 23.02.2016 08:16 -- URL zum Konzept UPDATE AD_Table SET Name='Lagerstatistik - Zuordnungszeile',Updated=TO_TIMESTAMP('2016-02-23 08:16:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=540694 ; -- 23.02.2016 08:16 -- URL zum Konzept UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=540694 ; -- 23.02.2016 08:16 -- URL zum Konzept UPDATE AD_Column SET AD_Reference_ID=30, IsMandatory='Y', IsUpdateable='N',Updated=TO_TIMESTAMP('2016-02-23 08:16:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=552939 ; -- 23.02.2016 08:17 -- URL zum Konzept UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_TIMESTAMP('2016-02-23 08:17:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=552937 ; -- 23.02.2016 08:17 -- URL zum Konzept UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_TIMESTAMP('2016-02-23 08:17:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=552934 ; -- 23.02.2016 08:17 -- URL zum Konzept UPDATE AD_Table SET IsDeleteable='N',Updated=TO_TIMESTAMP('2016-02-23 08:17:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=540694 ; -- 23.02.2016 08:18 -- URL zum Konzept UPDATE AD_Table SET Name='Lagerstatistik - Zeile',Updated=TO_TIMESTAMP('2016-02-23 08:18:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=540693 ; -- 23.02.2016 08:18 -- URL zum Konzept UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=540693 ; -- 23.02.2016 08:18 -- URL zum Konzept UPDATE AD_Table SET IsDeleteable='N',Updated=TO_TIMESTAMP('2016-02-23 08:18:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=540693 ; -- 23.02.2016 08:18 -- URL zum Konzept UPDATE AD_Table SET IsHighVolume='Y',Updated=TO_TIMESTAMP('2016-02-23 08:18:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=540694 ; -- 23.02.2016 08:18 -- URL zum Konzept UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_TIMESTAMP('2016-02-23 08:18:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=552920 ; -- 23.02.2016 08:18 -- URL zum Konzept UPDATE AD_Column SET DefaultValue='Y',Updated=TO_TIMESTAMP('2016-02-23 08:18:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=552921 ; -- 23.02.2016 08:18 -- URL zum Konzept UPDATE M_Material_Tracking_Report_Line SET IsActive='Y' WHERE IsActive IS NULL ; -- 23.02.2016 08:19 -- URL zum Konzept UPDATE AD_Column SET AD_Reference_ID=30, IsUpdateable='N',Updated=TO_TIMESTAMP('2016-02-23 08:19:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=552929 ; -- 23.02.2016 08:19 -- URL zum Konzept UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_TIMESTAMP('2016-02-23 08:19:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=552923 ; -- 23.02.2016 08:19 -- URL zum Konzept UPDATE AD_Table SET Name='Lagerstatistik',Updated=TO_TIMESTAMP('2016-02-23 08:19:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=540692 ; -- 23.02.2016 08:19 -- URL zum Konzept UPDATE AD_Table_Trl SET IsTranslated='N' WHERE AD_Table_ID=540692 ; -- 23.02.2016 08:19 -- URL zum Konzept UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_TIMESTAMP('2016-02-23 08:19:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=552915 ; -- 23.02.2016 08:19 -- URL zum Konzept UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_TIMESTAMP('2016-02-23 08:19:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=552909 ; -- 23.02.2016 08:20 -- URL zum Konzept UPDATE AD_Column SET DefaultValue='Y',Updated=TO_TIMESTAMP('2016-02-23 08:20:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=552910 ; -- 23.02.2016 08:20 -- URL zum Konzept UPDATE M_Material_Tracking_Report SET IsActive='Y' WHERE IsActive IS NULL ; -- 23.02.2016 08:20 -- URL zum Konzept UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_TIMESTAMP('2016-02-23 08:20:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=552912 ; -- 23.02.2016 08:20 -- URL zum Konzept UPDATE AD_Element SET Name='Lagerstatistik', PrintName='Lagerstatistik',Updated=TO_TIMESTAMP('2016-02-23 08:20:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=542930 ; -- 23.02.2016 08:20 -- URL zum Konzept UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=542930 ; -- 23.02.2016 08:20 -- URL zum Konzept UPDATE AD_Column SET ColumnName='M_Material_Tracking_Report_ID', Name='Lagerstatistik', Description=NULL, Help=NULL WHERE AD_Element_ID=542930 ; -- 23.02.2016 08:20 -- URL zum Konzept UPDATE AD_Process_Para SET ColumnName='M_Material_Tracking_Report_ID', Name='Lagerstatistik', Description=NULL, Help=NULL, AD_Element_ID=542930 WHERE UPPER(ColumnName)='M_MATERIAL_TRACKING_REPORT_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL ; -- 23.02.2016 08:20 -- URL zum Konzept UPDATE AD_Process_Para SET ColumnName='M_Material_Tracking_Report_ID', Name='Lagerstatistik', Description=NULL, Help=NULL WHERE AD_Element_ID=542930 AND IsCentrallyMaintained='Y' ; -- 23.02.2016 08:20 -- URL zum Konzept UPDATE AD_Field SET Name='Lagerstatistik', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=542930) AND IsCentrallyMaintained='Y' ; -- 23.02.2016 08:20 -- URL zum Konzept UPDATE AD_PrintFormatItem pi SET PrintName='Lagerstatistik', Name='Lagerstatistik' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=542930) ; -- 23.02.2016 08:21 -- URL zum Konzept UPDATE AD_Element SET Name='Lagerstatistik - Zeile', PrintName='Lagerstatistik - Zeile',Updated=TO_TIMESTAMP('2016-02-23 08:21:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=542931 ; -- 23.02.2016 08:21 -- URL zum Konzept UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=542931 ; -- 23.02.2016 08:21 -- URL zum Konzept UPDATE AD_Column SET ColumnName='M_Material_Tracking_Report_Line_ID', Name='Lagerstatistik - Zeile', Description=NULL, Help=NULL WHERE AD_Element_ID=542931 ; -- 23.02.2016 08:21 -- URL zum Konzept UPDATE AD_Process_Para SET ColumnName='M_Material_Tracking_Report_Line_ID', Name='Lagerstatistik - Zeile', Description=NULL, Help=NULL, AD_Element_ID=542931 WHERE UPPER(ColumnName)='M_MATERIAL_TRACKING_REPORT_LINE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL ; -- 23.02.2016 08:21 -- URL zum Konzept UPDATE AD_Process_Para SET ColumnName='M_Material_Tracking_Report_Line_ID', Name='Lagerstatistik - Zeile', Description=NULL, Help=NULL WHERE AD_Element_ID=542931 AND IsCentrallyMaintained='Y' ; -- 23.02.2016 08:21 -- URL zum Konzept UPDATE AD_Field SET Name='Lagerstatistik - Zeile', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=542931) AND IsCentrallyMaintained='Y' ; -- 23.02.2016 08:21 -- URL zum Konzept UPDATE AD_PrintFormatItem pi SET PrintName='Lagerstatistik - Zeile', Name='Lagerstatistik - Zeile' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=542931) ; -- 23.02.2016 08:21 -- URL zum Konzept UPDATE AD_Element SET Name='Lagerstatistik - Zuordnungszeile', PrintName='Lagerstatistik - Zuordnungszeile',Updated=TO_TIMESTAMP('2016-02-23 08:21:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=542932 ; -- 23.02.2016 08:21 -- URL zum Konzept UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=542932 ; -- 23.02.2016 08:21 -- URL zum Konzept UPDATE AD_Column SET ColumnName='M_Material_Tracking_Report_Line_Alloc_ID', Name='Lagerstatistik - Zuordnungszeile', Description=NULL, Help=NULL WHERE AD_Element_ID=542932 ; -- 23.02.2016 08:21 -- URL zum Konzept UPDATE AD_Process_Para SET ColumnName='M_Material_Tracking_Report_Line_Alloc_ID', Name='Lagerstatistik - Zuordnungszeile', Description=NULL, Help=NULL, AD_Element_ID=542932 WHERE UPPER(ColumnName)='M_MATERIAL_TRACKING_REPORT_LINE_ALLOC_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL ; -- 23.02.2016 08:21 -- URL zum Konzept UPDATE AD_Process_Para SET ColumnName='M_Material_Tracking_Report_Line_Alloc_ID', Name='Lagerstatistik - Zuordnungszeile', Description=NULL, Help=NULL WHERE AD_Element_ID=542932 AND IsCentrallyMaintained='Y' ; -- 23.02.2016 08:21 -- URL zum Konzept UPDATE AD_Field SET Name='Lagerstatistik - Zuordnungszeile', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=542932) AND IsCentrallyMaintained='Y' ; -- 23.02.2016 08:21 -- URL zum Konzept UPDATE AD_PrintFormatItem pi SET PrintName='Lagerstatistik - Zuordnungszeile', Name='Lagerstatistik - Zuordnungszeile' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=542932) ; -- 23.02.2016 08:22 -- URL zum Konzept UPDATE AD_Process SET Name='Bereichtszeilen erstellen',Updated=TO_TIMESTAMP('2016-02-23 08:22:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=540631 ; -- 23.02.2016 08:22 -- URL zum Konzept UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=540631 ; -- 23.02.2016 08:22 -- URL zum Konzept UPDATE AD_Process SET Name='Bericht (Jasper)',Updated=TO_TIMESTAMP('2016-02-23 08:22:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=540633 ; -- 23.02.2016 08:22 -- URL zum Konzept UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=540633 ; -- 23.02.2016 08:23 -- URL zum Konzept UPDATE AD_Tab SET MaxQueryRecords=10000,Updated=TO_TIMESTAMP('2016-02-23 08:23:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=540714 ; -- 23.02.2016 08:26 -- URL zum Konzept UPDATE AD_Tab SET Name='Lagerstatistik',Updated=TO_TIMESTAMP('2016-02-23 08:26:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=540712 ; -- 23.02.2016 08:26 -- URL zum Konzept UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=540712 ; -- 23.02.2016 08:26 -- URL zum Konzept UPDATE AD_Tab SET Name='Lagerstatistik - Zeile',Updated=TO_TIMESTAMP('2016-02-23 08:26:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=540713 ; -- 23.02.2016 08:26 -- URL zum Konzept UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=540713 ; -- 23.02.2016 08:26 -- URL zum Konzept UPDATE AD_Tab SET Name='Lagerstatistik - Zuordnungszeile',Updated=TO_TIMESTAMP('2016-02-23 08:26:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=540714 ; -- 23.02.2016 08:26 -- URL zum Konzept UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=540714 ; -- 23.02.2016 08:30 -- URL zum Konzept UPDATE AD_Field SET IsDisplayed='N', IsDisplayedGrid='N',Updated=TO_TIMESTAMP('2016-02-23 08:30:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=556523 ; COMMIT; -- 23.02.2016 08:16 -- URL zum Konzept INSERT INTO t_alter_column values('m_material_tracking_report_line_alloc','M_Material_Tracking_Report_Line_ID','NUMERIC(10)',null,null) ; -- 23.02.2016 08:16 -- URL zum Konzept INSERT INTO t_alter_column values('m_material_tracking_report_line_alloc','M_Material_Tracking_Report_Line_ID',null,'NOT NULL',null) ; -- 23.02.2016 08:18 -- URL zum Konzept INSERT INTO t_alter_column values('m_material_tracking_report_line','IsActive','CHAR(1)',null,'Y') ; -- 23.02.2016 08:20 -- URL zum Konzept INSERT INTO t_alter_column values('m_material_tracking_report','IsActive','CHAR(1)',null,'Y') ;
INSERT INTO `#__joomlawatch_ip2c` (`start`, `end`, `a2`, `a3`, `country`) VALUES (3393779712, 3393780735, 'IN', 'IND', 'INDIA'), (3393780736, 3393782783, 'HK', 'HKG', 'HONG KONG'), (3393782784, 3393783807, 'BD', 'BGD', 'BANGLADESH'), (3393783808, 3393785855, 'MY', 'MYS', 'MALAYSIA'), (3393785856, 3393789951, 'ID', 'IDN', 'INDONESIA'), (3393789952, 3393798143, 'SG', 'SGP', 'SINGAPORE'), (3393798144, 3393806335, 'JP', 'JPN', 'JAPAN'), (3393806336, 3393814527, 'ID', 'IDN', 'INDONESIA'), (3393814528, 3393815551, 'HK', 'HKG', 'HONG KONG'), (3393815552, 3393816575, 'KR', 'KOR', 'REPUBLIC OF KOREA'), (3393816576, 3393818623, 'JP', 'JPN', 'JAPAN'), (3393818624, 3393822719, 'AU', 'AUS', 'AUSTRALIA'), (3393822720, 3393830911, 'PH', 'PHL', 'PHILIPPINES'), (3393830912, 3393835007, 'NZ', 'NZL', 'NEW ZEALAND'), (3393835008, 3393839103, 'JP', 'JPN', 'JAPAN'), (3393839104, 3393843199, 'ID', 'IDN', 'INDONESIA'), (3393843200, 3393848319, 'HK', 'HKG', 'HONG KONG'), (3393848320, 3393849343, 'JP', 'JPN', 'JAPAN'), (3393849344, 3393851391, 'CN', 'CHN', 'CHINA'), (3393851392, 3393855487, 'JP', 'JPN', 'JAPAN'), (3393855488, 3393863679, 'TH', 'THA', 'THAILAND'), (3393863680, 3393865727, 'AU', 'AUS', 'AUSTRALIA'), (3393865728, 3393867775, 'ID', 'IDN', 'INDONESIA'), (3393867776, 3393880063, 'HK', 'HKG', 'HONG KONG'), (3393880064, 3393896447, 'AU', 'AUS', 'AUSTRALIA'), (3393896448, 3393906687, 'NZ', 'NZL', 'NEW ZEALAND'), (3393906688, 3393908735, 'PK', 'PAK', 'PAKISTAN'), (3393908736, 3393910783, 'BD', 'BGD', 'BANGLADESH'), (3393910784, 3393911807, 'PH', 'PHL', 'PHILIPPINES'), (3393911808, 3393912063, 'AU', 'AUS', 'AUSTRALIA'), (3393912064, 3393912319, 'JP', 'JPN', 'JAPAN'), (3393912320, 3393913855, 'HK', 'HKG', 'HONG KONG'), (3393913856, 3393914879, 'MY', 'MYS', 'MALAYSIA'), (3393914880, 3393916927, 'JP', 'JPN', 'JAPAN'), (3393916928, 3393921023, 'ID', 'IDN', 'INDONESIA'), (3393921024, 3393929215, 'MY', 'MYS', 'MALAYSIA'), (3393929216, 3393937407, 'HK', 'HKG', 'HONG KONG'), (3393937408, 3393941503, 'ID', 'IDN', 'INDONESIA'), (3393941504, 3393945599, 'JP', 'JPN', 'JAPAN'), (3393945600, 3393961983, 'MY', 'MYS', 'MALAYSIA'), (3393961984, 3393966079, 'IN', 'IND', 'INDIA'), (3393966080, 3393970175, 'CN', 'CHN', 'CHINA'), (3393970176, 3393974271, 'JP', 'JPN', 'JAPAN'), (3393974272, 3393976319, 'MY', 'MYS', 'MALAYSIA'), (3393976320, 3393977343, 'MO', 'MAC', 'MACAO'), (3393977344, 3394011135, 'HK', 'HKG', 'HONG KONG'), (3394011136, 3394027519, 'AU', 'AUS', 'AUSTRALIA'), (3394027520, 3394035711, 'JP', 'JPN', 'JAPAN'), (3394035712, 3394039807, 'MY', 'MYS', 'MALAYSIA'), (3394039808, 3394041855, 'US', 'USA', 'UNITED STATES'), (3394041856, 3394042879, 'AU', 'AUS', 'AUSTRALIA'), (3394042880, 3394060287, 'HK', 'HKG', 'HONG KONG'), (3394060288, 3394064383, 'ID', 'IDN', 'INDONESIA'), (3394064384, 3394068479, 'AU', 'AUS', 'AUSTRALIA'), (3394068480, 3394076671, 'ID', 'IDN', 'INDONESIA'), (3394076672, 3394078719, 'HK', 'HKG', 'HONG KONG'), (3394078720, 3394078975, 'AU', 'AUS', 'AUSTRALIA'), (3394078976, 3394079231, 'IN', 'IND', 'INDIA'), (3394079232, 3394079743, 'PH', 'PHL', 'PHILIPPINES'), (3394079744, 3394087471, 'HK', 'HKG', 'HONG KONG'), (3394087472, 3394087487, 'CN', 'CHN', 'CHINA'), (3394087488, 3394111487, 'HK', 'HKG', 'HONG KONG'), (3394111488, 3394113535, 'TH', 'THA', 'THAILAND'), (3394113536, 3394117631, 'SG', 'SGP', 'SINGAPORE'), (3394117632, 3394121727, 'AU', 'AUS', 'AUSTRALIA'), (3394121728, 3394125823, 'SG', 'SGP', 'SINGAPORE'), (3394125824, 3394142207, 'PH', 'PHL', 'PHILIPPINES'), (3394142208, 3394150399, 'NZ', 'NZL', 'NEW ZEALAND'), (3394150400, 3394154495, 'IN', 'IND', 'INDIA'), (3394154496, 3394158591, 'JP', 'JPN', 'JAPAN'), (3394158592, 3394162687, 'ID', 'IDN', 'INDONESIA'), (3394162688, 3394166783, 'JP', 'JPN', 'JAPAN'), (3394166784, 3394168831, 'VN', 'VNM', 'VIET NAM'), (3394168832, 3394170879, 'IN', 'IND', 'INDIA'), (3394170880, 3394172927, 'NZ', 'NZL', 'NEW ZEALAND'), (3394172928, 3394173695, 'JP', 'JPN', 'JAPAN'), (3394173696, 3394173951, 'AU', 'AUS', 'AUSTRALIA'), (3394173952, 3394174975, 'HK', 'HKG', 'HONG KONG'), (3394174976, 3394179071, 'JP', 'JPN', 'JAPAN'), (3394179072, 3394181119, 'BD', 'BGD', 'BANGLADESH'), (3394181120, 3394183167, 'KH', 'KHM', 'CAMBODIA'), (3394183168, 3394191359, 'NP', 'NPL', 'NEPAL'), (3394191360, 3394207743, 'SG', 'SGP', 'SINGAPORE'), (3394207744, 3394215935, 'JP', 'JPN', 'JAPAN'), (3394215936, 3394220031, 'AU', 'AUS', 'AUSTRALIA'), (3394220032, 3394232319, 'SG', 'SGP', 'SINGAPORE'), (3394232320, 3394234367, 'AU', 'AUS', 'AUSTRALIA'), (3394234368, 3394236415, 'VN', 'VNM', 'VIET NAM'), (3394236416, 3394238463, 'JP', 'JPN', 'JAPAN'), (3394238464, 3394239487, 'IN', 'IND', 'INDIA'), (3394239488, 3394248703, 'HK', 'HKG', 'HONG KONG'), (3394248704, 3394252799, 'VU', 'VUT', 'VANUATU'), (3394252800, 3394256895, 'IN', 'IND', 'INDIA'), (3394256896, 3394265087, 'AU', 'AUS', 'AUSTRALIA'), (3394265088, 3394267135, 'JP', 'JPN', 'JAPAN'), (3394267136, 3394269183, 'TW', 'TWN', 'TAIWAN'), (3394269184, 3394273279, 'ID', 'IDN', 'INDONESIA'), (3394273280, 3394277375, 'HK', 'HKG', 'HONG KONG'), (3394277376, 3394279423, 'AU', 'AUS', 'AUSTRALIA'), (3394279424, 3394281471, 'PH', 'PHL', 'PHILIPPINES'), (3394281472, 3394282239, 'BD', 'BGD', 'BANGLADESH'), (3394282240, 3394282751, 'SG', 'SGP', 'SINGAPORE'), (3394282752, 3394283007, 'BD', 'BGD', 'BANGLADESH'), (3394283008, 3394283023, 'NP', 'NPL', 'NEPAL'), (3394283024, 3394283775, 'SG', 'SGP', 'SINGAPORE'), (3394283776, 3394284031, 'BD', 'BGD', 'BANGLADESH'), (3394284032, 3394284287, 'SG', 'SGP', 'SINGAPORE'), (3394284288, 3394284351, 'SO', 'SOM', 'SOMALIA'), (3394284352, 3394285567, 'SG', 'SGP', 'SINGAPORE'), (3394285568, 3394289663, 'AU', 'AUS', 'AUSTRALIA'), (3394289664, 3394293759, 'HK', 'HKG', 'HONG KONG'), (3394293760, 3394297855, 'ID', 'IDN', 'INDONESIA'), (3394297856, 3394306047, 'TH', 'THA', 'THAILAND'), (3394306048, 3394307071, 'HK', 'HKG', 'HONG KONG'), (3394307072, 3394308095, 'SG', 'SGP', 'SINGAPORE'), (3394308096, 3394310143, 'JP', 'JPN', 'JAPAN'), (3394310144, 3394314239, 'AU', 'AUS', 'AUSTRALIA'), (3394314240, 3394322431, 'ID', 'IDN', 'INDONESIA'), (3394322432, 3394326527, 'AU', 'AUS', 'AUSTRALIA'), (3394326528, 3394330623, 'JP', 'JPN', 'JAPAN'), (3394330624, 3394338815, 'AU', 'AUS', 'AUSTRALIA'), (3394338816, 3394347007, 'IN', 'IND', 'INDIA'), (3394347008, 3394355199, 'PH', 'PHL', 'PHILIPPINES'), (3394355200, 3394359295, 'IN', 'IND', 'INDIA'), (3394359296, 3394363391, 'AU', 'AUS', 'AUSTRALIA'), (3394363392, 3394437119, 'HK', 'HKG', 'HONG KONG'), (3394437120, 3394438143, 'AU', 'AUS', 'AUSTRALIA'), (3394438144, 3394441215, 'HK', 'HKG', 'HONG KONG'), (3394441216, 3394453503, 'IN', 'IND', 'INDIA'), (3394453504, 3394461695, 'AU', 'AUS', 'AUSTRALIA'), (3394461696, 3394465791, 'SG', 'SGP', 'SINGAPORE'), (3394465792, 3394467839, 'AU', 'AUS', 'AUSTRALIA'), (3394467840, 3394469887, 'MY', 'MYS', 'MALAYSIA'), (3394469888, 3394478079, 'JP', 'JPN', 'JAPAN'), (3394478080, 3394482175, 'PK', 'PAK', 'PAKISTAN'), (3394482176, 3394484223, 'AU', 'AUS', 'AUSTRALIA'), (3394484224, 3394486271, 'JP', 'JPN', 'JAPAN'), (3394486272, 3394494463, 'HK', 'HKG', 'HONG KONG'), (3394494464, 3394498559, 'JP', 'JPN', 'JAPAN'), (3394498560, 3394500607, 'HK', 'HKG', 'HONG KONG'), (3394500608, 3394501631, 'SG', 'SGP', 'SINGAPORE'), (3394501632, 3394507263, 'HK', 'HKG', 'HONG KONG'), (3394507264, 3394507775, 'JP', 'JPN', 'JAPAN'), (3394507776, 3394508799, 'PH', 'PHL', 'PHILIPPINES'), (3394508800, 3394510847, 'AU', 'AUS', 'AUSTRALIA'), (3394510848, 3394514943, 'BD', 'BGD', 'BANGLADESH'), (3394514944, 3394519039, 'JP', 'JPN', 'JAPAN'), (3394519040, 3394521087, 'BD', 'BGD', 'BANGLADESH'), (3394521088, 3394523135, 'KH', 'KHM', 'CAMBODIA'), (3394523136, 3394527231, 'JP', 'JPN', 'JAPAN'), (3394527232, 3394535423, 'PH', 'PHL', 'PHILIPPINES'), (3394535424, 3394565631, 'HK', 'HKG', 'HONG KONG'), (3394565632, 3394565887, 'PK', 'PAK', 'PAKISTAN'), (3394565888, 3394621439, 'HK', 'HKG', 'HONG KONG'), (3394621440, 3394625535, 'CN', 'CHN', 'CHINA'), (3394625536, 3394629631, 'HK', 'HKG', 'HONG KONG'), (3394629632, 3394631679, 'AU', 'AUS', 'AUSTRALIA'), (3394631680, 3394634751, 'HK', 'HKG', 'HONG KONG'), (3394634752, 3394635775, 'IN', 'IND', 'INDIA'), (3394635776, 3394637823, 'KR', 'KOR', 'REPUBLIC OF KOREA'), (3394637824, 3394641919, 'AF', 'AFG', 'AFGHANISTAN'), (3394641920, 3394648063, 'AU', 'AUS', 'AUSTRALIA'), (3394648064, 3394650111, 'JP', 'JPN', 'JAPAN'), (3394650112, 3394658303, 'HK', 'HKG', 'HONG KONG'), (3394658304, 3394662399, 'NZ', 'NZL', 'NEW ZEALAND'), (3394662400, 3394664447, 'AU', 'AUS', 'AUSTRALIA'), (3394664448, 3394666495, 'JP', 'JPN', 'JAPAN'), (3394666496, 3394682367, 'MO', 'MAC', 'MACAO'), (3394682368, 3394682879, 'HK', 'HKG', 'HONG KONG'), (3394682880, 3394686975, 'PH', 'PHL', 'PHILIPPINES'), (3394686976, 3394689023, 'AU', 'AUS', 'AUSTRALIA'), (3394689024, 3394691071, 'BD', 'BGD', 'BANGLADESH'), (3394691072, 3394697215, 'JP', 'JPN', 'JAPAN'), (3394697216, 3394697471, 'SG', 'SGP', 'SINGAPORE'), (3394697472, 3394697727, 'PK', 'PAK', 'PAKISTAN'), (3394697728, 3394697983, 'AU', 'AUS', 'AUSTRALIA'), (3394697984, 3394698239, 'IN', 'IND', 'INDIA'), (3394698240, 3394699263, 'AU', 'AUS', 'AUSTRALIA'), (3394699264, 3394700287, 'HK', 'HKG', 'HONG KONG'), (3394700288, 3394707455, 'AU', 'AUS', 'AUSTRALIA'), (3394707456, 3394715647, 'IN', 'IND', 'INDIA'), (3394715648, 3394719743, 'JP', 'JPN', 'JAPAN'), (3394719744, 3394732031, 'PK', 'PAK', 'PAKISTAN'), (3394732032, 3394740223, 'NC', 'NCL', 'NEW CALEDONIA'), (3394740224, 3394744319, 'AU', 'AUS', 'AUSTRALIA'), (3394744320, 3394752511, 'ID', 'IDN', 'INDONESIA'), (3394752512, 3394754559, 'AU', 'AUS', 'AUSTRALIA'), (3394754560, 3394756607, 'MY', 'MYS', 'MALAYSIA'), (3394756608, 3394760703, 'JP', 'JPN', 'JAPAN'), (3394760704, 3394764799, 'ID', 'IDN', 'INDONESIA'), (3394764800, 3394772991, 'HK', 'HKG', 'HONG KONG'), (3394772992, 3394777087, 'PK', 'PAK', 'PAKISTAN'), (3394777088, 3394781183, 'JP', 'JPN', 'JAPAN'), (3394781184, 3394789375, 'MP', 'MNP', 'NORTHERN MARIANA ISLANDS'), (3394789376, 3394797567, 'HK', 'HKG', 'HONG KONG'), (3394797568, 3394813951, 'IN', 'IND', 'INDIA'), (3394813952, 3394815999, 'JP', 'JPN', 'JAPAN'), (3394816000, 3394818047, 'HK', 'HKG', 'HONG KONG'), (3394818048, 3394830335, 'IN', 'IND', 'INDIA'), (3394830336, 3394831359, 'HK', 'HKG', 'HONG KONG'), (3394831360, 3394832383, 'NZ', 'NZL', 'NEW ZEALAND'), (3394832384, 3394834431, 'PH', 'PHL', 'PHILIPPINES'), (3394834432, 3394834687, 'HK', 'HKG', 'HONG KONG'), (3394834688, 3394834943, 'JP', 'JPN', 'JAPAN'), (3394834944, 3394834959, 'HK', 'HKG', 'HONG KONG'), (3394834960, 3394834975, 'JP', 'JPN', 'JAPAN'), (3394834976, 3394835199, 'HK', 'HKG', 'HONG KONG'), (3394835200, 3394835455, 'JP', 'JPN', 'JAPAN'), (3394835456, 3394835583, 'SG', 'SGP', 'SINGAPORE'), (3394835584, 3394835711, 'JP', 'JPN', 'JAPAN'), (3394835712, 3394835967, 'CN', 'CHN', 'CHINA'), (3394835968, 3394836479, 'JP', 'JPN', 'JAPAN'), (3394836480, 3394838527, 'BT', 'BTN', 'BHUTAN'), (3394838528, 3394846719, 'NZ', 'NZL', 'NEW ZEALAND'), (3394846720, 3394850815, 'IN', 'IND', 'INDIA'), (3394850816, 3394854911, 'JP', 'JPN', 'JAPAN'), (3394854912, 3394863103, 'AU', 'AUS', 'AUSTRALIA'), (3394863104, 3394871295, 'NZ', 'NZL', 'NEW ZEALAND'), (3394871296, 3394879487, 'AU', 'AUS', 'AUSTRALIA'), (3394879488, 3394883583, 'PH', 'PHL', 'PHILIPPINES'), (3394883584, 3394887679, 'ID', 'IDN', 'INDONESIA'), (3394887680, 3394893823, 'JP', 'JPN', 'JAPAN'), (3394893824, 3394894847, 'KR', 'KOR', 'REPUBLIC OF KOREA'), (3394894848, 3394895871, 'HK', 'HKG', 'HONG KONG'), (3394895872, 3394896895, 'CN', 'CHN', 'CHINA'), (3394896896, 3394897919, 'TH', 'THA', 'THAILAND'), (3394897920, 3394899967, 'JP', 'JPN', 'JAPAN'), (3394899968, 3394904063, 'SG', 'SGP', 'SINGAPORE'), (3394904064, 3394910207, 'AU', 'AUS', 'AUSTRALIA'), (3394910208, 3394912255, 'PH', 'PHL', 'PHILIPPINES'), (3394912256, 3394920447, 'PF', 'PYF', 'FRENCH POLYNESIA'), (3394920448, 3394924543, 'IN', 'IND', 'INDIA'), (3394924544, 3394928639, 'TH', 'THA', 'THAILAND'), (3394928640, 3394936831, 'PH', 'PHL', 'PHILIPPINES'), (3394936832, 3394940927, 'AU', 'AUS', 'AUSTRALIA'), (3394940928, 3394945023, 'JP', 'JPN', 'JAPAN'), (3394945024, 3394949119, 'AU', 'AUS', 'AUSTRALIA'), (3394949120, 3394953215, 'JP', 'JPN', 'JAPAN'), (3394953216, 3394957311, 'CN', 'CHN', 'CHINA'), (3394957312, 3394959359, 'AU', 'AUS', 'AUSTRALIA'), (3394959360, 3394960383, 'HK', 'HKG', 'HONG KONG'), (3394960384, 3394962431, 'CN', 'CHN', 'CHINA'), (3394962432, 3394963455, 'AU', 'AUS', 'AUSTRALIA'), (3394963456, 3394965503, 'ID', 'IDN', 'INDONESIA'), (3394965504, 3394967551, 'TH', 'THA', 'THAILAND'), (3394967552, 3394969599, 'ID', 'IDN', 'INDONESIA'), (3394969600, 3394973695, 'SG', 'SGP', 'SINGAPORE'), (3394973696, 3394977791, 'JP', 'JPN', 'JAPAN'), (3394977792, 3394985983, 'IN', 'IND', 'INDIA'), (3394985984, 3394990079, 'AU', 'AUS', 'AUSTRALIA'), (3394990080, 3394994175, 'JP', 'JPN', 'JAPAN'), (3394994176, 3394995199, 'CN', 'CHN', 'CHINA'), (3394995200, 3394998271, 'IN', 'IND', 'INDIA'), (3394998272, 3395002367, 'JP', 'JPN', 'JAPAN'), (3395002368, 3395006463, 'PH', 'PHL', 'PHILIPPINES'), (3395006464, 3395010559, 'CN', 'CHN', 'CHINA'), (3395010560, 3395014655, 'AU', 'AUS', 'AUSTRALIA'), (3395014656, 3395018751, 'JP', 'JPN', 'JAPAN'), (3395018752, 3395027967, 'CN', 'CHN', 'CHINA'), (3395027968, 3395028991, 'VN', 'VNM', 'VIET NAM'), (3395028992, 3395031039, 'IN', 'IND', 'INDIA'), (3395031040, 3395035135, 'PK', 'PAK', 'PAKISTAN'), (3395035136, 3395039231, 'AU', 'AUS', 'AUSTRALIA'), (3395039232, 3395043327, 'BD', 'BGD', 'BANGLADESH'), (3395043328, 3395059711, 'AU', 'AUS', 'AUSTRALIA'), (3395059712, 3395067903, 'PH', 'PHL', 'PHILIPPINES'), (3395067904, 3395076095, 'HK', 'HKG', 'HONG KONG'), (3395076096, 3395080191, 'ID', 'IDN', 'INDONESIA'), (3395080192, 3395084287, 'AU', 'AUS', 'AUSTRALIA'), (3395084288, 3395088383, 'IN', 'IND', 'INDIA'), (3395088384, 3395091455, 'AU', 'AUS', 'AUSTRALIA'), (3395091456, 3395093503, 'CN', 'CHN', 'CHINA'), (3395093504, 3395094015, 'AU', 'AUS', 'AUSTRALIA'), (3395094016, 3395094527, 'KR', 'KOR', 'REPUBLIC OF KOREA'), (3395094528, 3395096575, 'KH', 'KHM', 'CAMBODIA'), (3395096576, 3395104767, 'ID', 'IDN', 'INDONESIA'), (3395104768, 3395108863, 'TH', 'THA', 'THAILAND'), (3395108864, 3395117055, 'JP', 'JPN', 'JAPAN'), (3395117056, 3395121151, 'AU', 'AUS', 'AUSTRALIA'), (3395121152, 3395129343, 'ID', 'IDN', 'INDONESIA'), (3395129344, 3395131391, 'JP', 'JPN', 'JAPAN'), (3395131392, 3395141631, 'AU', 'AUS', 'AUSTRALIA'), (3395141632, 3395145727, 'HK', 'HKG', 'HONG KONG'), (3395145728, 3395149823, 'BN', 'BRN', 'BRUNEI DARUSSALAM'), (3395149824, 3395155967, 'ID', 'IDN', 'INDONESIA'), (3395155968, 3395156991, 'AU', 'AUS', 'AUSTRALIA'), (3395156992, 3395166207, 'CN', 'CHN', 'CHINA'), (3395166208, 3395170303, 'AU', 'AUS', 'AUSTRALIA'), (3395170304, 3395174399, 'JP', 'JPN', 'JAPAN'), (3395174400, 3395182591, 'AU', 'AUS', 'AUSTRALIA'), (3395182592, 3395190783, 'SG', 'SGP', 'SINGAPORE'), (3395190784, 3395198975, 'JP', 'JPN', 'JAPAN'), (3395198976, 3395203071, 'MY', 'MYS', 'MALAYSIA'), (3395203072, 3395215359, 'JP', 'JPN', 'JAPAN'), (3395215360, 3395219455, 'HK', 'HKG', 'HONG KONG'), (3395219456, 3395223551, 'TH', 'THA', 'THAILAND'), (3395223552, 3395231743, 'CN', 'CHN', 'CHINA'), (3395231744, 3395239935, 'JP', 'JPN', 'JAPAN'), (3395239936, 3395249967, 'SG', 'SGP', 'SINGAPORE'), (3395249968, 3395249983, 'HK', 'HKG', 'HONG KONG'), (3395249984, 3395254751, 'SG', 'SGP', 'SINGAPORE'), (3395254752, 3395254767, 'JP', 'JPN', 'JAPAN'), (3395254768, 3395256319, 'SG', 'SGP', 'SINGAPORE'), (3395256320, 3395264511, 'ID', 'IDN', 'INDONESIA'), (3395264512, 3395272703, 'JP', 'JPN', 'JAPAN'), (3395272704, 3395276799, 'PG', 'PNG', 'PAPUA NEW GUINEA'), (3395276800, 3395280895, 'JP', 'JPN', 'JAPAN'), (3395280896, 3395284991, 'PH', 'PHL', 'PHILIPPINES'), (3395284992, 3395287039, 'AU', 'AUS', 'AUSTRALIA'), (3395287040, 3395287551, 'JP', 'JPN', 'JAPAN'), (3395287552, 3395287807, 'NZ', 'NZL', 'NEW ZEALAND'), (3395287808, 3395288063, 'IN', 'IND', 'INDIA'), (3395288064, 3396868319, 'CN', 'CHN', 'CHINA'), (3396868320, 3396868351, 'SG', 'SGP', 'SINGAPORE'), (3396868352, 3396995071, 'CN', 'CHN', 'CHINA'), (3396995072, 3396997119, 'ID', 'IDN', 'INDONESIA'), (3396997120, 3396999167, 'IN', 'IND', 'INDIA'), (3396999168, 3397001215, 'JP', 'JPN', 'JAPAN'), (3397001216, 3397003263, 'CN', 'CHN', 'CHINA'), (3397003264, 3397005311, 'TH', 'THA', 'THAILAND'), (3397005312, 3397009407, 'JP', 'JPN', 'JAPAN'), (3397009408, 3397017599, 'CN', 'CHN', 'CHINA'), (3397017600, 3397021695, 'HK', 'HKG', 'HONG KONG'), (3397021696, 3397023743, 'CN', 'CHN', 'CHINA'), (3397023744, 3397025791, 'BD', 'BGD', 'BANGLADESH'), (3397025792, 3397026047, 'CN', 'CHN', 'CHINA'), (3397026048, 3397026303, 'AU', 'AUS', 'AUSTRALIA'), (3397026304, 3397026815, 'TH', 'THA', 'THAILAND'), (3397026816, 3397027071, 'AU', 'AUS', 'AUSTRALIA'), (3397027072, 3397027327, 'PH', 'PHL', 'PHILIPPINES'), (3397027328, 3397027839, 'IN', 'IND', 'INDIA'), (3397027840, 3397029887, 'JP', 'JPN', 'JAPAN'), (3397029888, 3397033983, 'MY', 'MYS', 'MALAYSIA'), (3397033984, 3397038079, 'ID', 'IDN', 'INDONESIA'), (3397038080, 3397058559, 'JP', 'JPN', 'JAPAN'), (3397058560, 3397066751, 'AU', 'AUS', 'AUSTRALIA'), (3397066752, 3397070847, 'IN', 'IND', 'INDIA'), (3397070848, 3397074943, 'PH', 'PHL', 'PHILIPPINES'), (3397074944, 3397083135, 'HK', 'HKG', 'HONG KONG'), (3397083136, 3397087231, 'CN', 'CHN', 'CHINA'), (3397087232, 3397091327, 'JP', 'JPN', 'JAPAN'), (3397091328, 3397099519, 'GU', 'GUM', 'GUAM'), (3397099520, 3397103615, 'HK', 'HKG', 'HONG KONG'), (3397103616, 3397105663, 'LA', 'LAO', 'LAO PEOPLE''S DEMOCRATIC REPUBLIC'), (3397105664, 3397107711, 'JP', 'JPN', 'JAPAN'), (3397107712, 3397115903, 'HK', 'HKG', 'HONG KONG'), (3397115904, 3397116927, 'ID', 'IDN', 'INDONESIA'), (3397116928, 3397116935, 'SG', 'SGP', 'SINGAPORE'), (3397116936, 3397119999, 'ID', 'IDN', 'INDONESIA'), (3397120000, 3397124095, 'PK', 'PAK', 'PAKISTAN'), (3397124096, 3397128191, 'JP', 'JPN', 'JAPAN'), (3397128192, 3397136383, 'AU', 'AUS', 'AUSTRALIA'), (3397136384, 3397140479, 'JP', 'JPN', 'JAPAN'), (3397140480, 3397148671, 'AU', 'AUS', 'AUSTRALIA'), (3397148672, 3397156863, 'NZ', 'NZL', 'NEW ZEALAND'), (3397156864, 3397165055, 'PH', 'PHL', 'PHILIPPINES'), (3397165056, 3397173247, 'LK', 'LKA', 'SRI LANKA'), (3397173248, 3397177343, 'AU', 'AUS', 'AUSTRALIA'), (3397177344, 3397181439, 'JP', 'JPN', 'JAPAN'), (3397181440, 3397185535, 'PW', 'PLW', 'PALAU'), (3397185536, 3397201919, 'AU', 'AUS', 'AUSTRALIA'), (3397201920, 3397206015, 'JP', 'JPN', 'JAPAN'), (3397206016, 3397210111, 'BD', 'BGD', 'BANGLADESH'), (3397210112, 3397218303, 'AU', 'AUS', 'AUSTRALIA'), (3397218304, 3397230591, 'PK', 'PAK', 'PAKISTAN'), (3397230592, 3397234687, 'AU', 'AUS', 'AUSTRALIA'), (3397234688, 3397238783, 'CN', 'CHN', 'CHINA'), (3397238784, 3397255167, 'HK', 'HKG', 'HONG KONG'), (3397255168, 3397255607, 'JP', 'JPN', 'JAPAN'), (3397255608, 3397255615, 'SG', 'SGP', 'SINGAPORE'), (3397255616, 3397255711, 'JP', 'JPN', 'JAPAN'), (3397255712, 3397255727, 'SG', 'SGP', 'SINGAPORE'), (3397255728, 3397256975, 'JP', 'JPN', 'JAPAN'), (3397256976, 3397256983, 'SG', 'SGP', 'SINGAPORE'), (3397256984, 3397257327, 'JP', 'JPN', 'JAPAN'), (3397257328, 3397257343, 'SG', 'SGP', 'SINGAPORE'), (3397257344, 3397257983, 'JP', 'JPN', 'JAPAN'), (3397257984, 3397258007, 'SG', 'SGP', 'SINGAPORE'), (3397258008, 3397258015, 'JP', 'JPN', 'JAPAN'), (3397258016, 3397258063, 'SG', 'SGP', 'SINGAPORE'), (3397258064, 3397263359, 'JP', 'JPN', 'JAPAN'), (3397263360, 3397267455, 'PH', 'PHL', 'PHILIPPINES'), (3397267456, 3397271551, 'HK', 'HKG', 'HONG KONG'), (3397271552, 3397275647, 'TW', 'TWN', 'TAIWAN'), (3397275648, 3397277695, 'NZ', 'NZL', 'NEW ZEALAND'), (3397277696, 3397279743, 'MN', 'MNG', 'MONGOLIA'), (3397279744, 3397283839, 'AU', 'AUS', 'AUSTRALIA'), (3397283840, 3397285887, 'KR', 'KOR', 'REPUBLIC OF KOREA'), (3397285888, 3397287935, 'BD', 'BGD', 'BANGLADESH'), (3397287936, 3397304319, 'SG', 'SGP', 'SINGAPORE'), (3397304320, 3397308415, 'NZ', 'NZL', 'NEW ZEALAND'), (3397308416, 3397312511, 'HK', 'HKG', 'HONG KONG'), (3397312512, 3397320703, 'JP', 'JPN', 'JAPAN'), (3397320704, 3397322751, 'CN', 'CHN', 'CHINA'), (3397322752, 3397323775, 'NZ', 'NZL', 'NEW ZEALAND'), (3397323776, 3397328895, 'CN', 'CHN', 'CHINA'), (3397328896, 3397330943, 'ID', 'IDN', 'INDONESIA'), (3397330944, 3397337087, 'CN', 'CHN', 'CHINA'), (3397337088, 3397341183, 'HK', 'HKG', 'HONG KONG'), (3397341184, 3397345279, 'JP', 'JPN', 'JAPAN'), (3397345280, 3397349375, 'ID', 'IDN', 'INDONESIA'), (3397349376, 3397363711, 'CN', 'CHN', 'CHINA'), (3397363712, 3397365759, 'HK', 'HKG', 'HONG KONG'), (3397365760, 3397369855, 'JP', 'JPN', 'JAPAN'), (3397369856, 3397374463, 'CN', 'CHN', 'CHINA'), (3397374464, 3397374975, 'AU', 'AUS', 'AUSTRALIA'), (3397374976, 3397386239, 'CN', 'CHN', 'CHINA'), (3397386240, 3397394431, 'GU', 'GUM', 'GUAM'), (3397394432, 3397402623, 'PH', 'PHL', 'PHILIPPINES'), (3397402624, 3397410815, 'GU', 'GUM', 'GUAM'), (3397410816, 3397419007, 'AU', 'AUS', 'AUSTRALIA'), (3397419008, 3397419535, 'HK', 'HKG', 'HONG KONG'), (3397419536, 3397419551, 'KR', 'KOR', 'REPUBLIC OF KOREA'), (3397419552, 3397419871, 'HK', 'HKG', 'HONG KONG'), (3397419872, 3397419904, 'KR', 'KOR', 'REPUBLIC OF KOREA'), (3397419905, 3397427199, 'HK', 'HKG', 'HONG KONG'), (3397427200, 3397443583, 'SG', 'SGP', 'SINGAPORE'), (3397443584, 3397451775, 'HK', 'HKG', 'HONG KONG'), (3397451776, 3397468159, 'TH', 'THA', 'THAILAND'), (3397468160, 3397492735, 'AU', 'AUS', 'AUSTRALIA'), (3397492736, 3397496831, 'MY', 'MYS', 'MALAYSIA'), (3397496832, 3397498879, 'JP', 'JPN', 'JAPAN'), (3397498880, 3397500927, 'ID', 'IDN', 'INDONESIA'), (3397500928, 3397517311, 'AU', 'AUS', 'AUSTRALIA'), (3397517312, 3397525503, 'CN', 'CHN', 'CHINA'), (3397525504, 3397533695, 'AU', 'AUS', 'AUSTRALIA'), (3397533696, 3397555903, 'HK', 'HKG', 'HONG KONG'), (3397555904, 3397555935, 'JP', 'JPN', 'JAPAN'), (3397555936, 3397566263, 'HK', 'HKG', 'HONG KONG'), (3397566264, 3397566271, 'TW', 'TWN', 'TAIWAN'), (3397566272, 3397566463, 'HK', 'HKG', 'HONG KONG'), (3397566464, 3397574655, 'AU', 'AUS', 'AUSTRALIA'), (3397574656, 3397582847, 'CN', 'CHN', 'CHINA'), (3397582848, 3397584895, 'MN', 'MNG', 'MONGOLIA'), (3397584896, 3397586943, 'JP', 'JPN', 'JAPAN'), (3397586944, 3397588991, 'CN', 'CHN', 'CHINA'), (3397588992, 3397591039, 'KR', 'KOR', 'REPUBLIC OF KOREA'), (3397591040, 3397595135, 'HK', 'HKG', 'HONG KONG'), (3397595136, 3397599231, 'CN', 'CHN', 'CHINA'), (3397599232, 3397603327, 'HK', 'HKG', 'HONG KONG'), (3397603328, 3397605375, 'KH', 'KHM', 'CAMBODIA'), (3397605376, 3397607423, 'AU', 'AUS', 'AUSTRALIA'), (3397607424, 3397623807, 'IN', 'IND', 'INDIA'), (3397623808, 3397631999, 'GU', 'GUM', 'GUAM'), (3397632000, 3397636095, 'JP', 'JPN', 'JAPAN'), (3397636096, 3397640191, 'CN', 'CHN', 'CHINA'), (3397640192, 3397648383, 'MN', 'MNG', 'MONGOLIA'), (3397648384, 3397713919, 'TW', 'TWN', 'TAIWAN'), (3397713920, 3397715967, 'ID', 'IDN', 'INDONESIA'), (3397715968, 3397716223, 'HK', 'HKG', 'HONG KONG'), (3397716224, 3397716351, 'BD', 'BGD', 'BANGLADESH'), (3397716352, 3397716431, 'HK', 'HKG', 'HONG KONG'), (3397716432, 3397716447, 'ID', 'IDN', 'INDONESIA'), (3397716448, 3397716463, 'HK', 'HKG', 'HONG KONG'), (3397716464, 3397716479, 'AF', 'AFG', 'AFGHANISTAN'), (3397716480, 3397717255, 'BD', 'BGD', 'BANGLADESH'), (3397717256, 3397717279, 'AF', 'AFG', 'AFGHANISTAN'), (3397717280, 3397717287, 'ID', 'IDN', 'INDONESIA'), (3397717288, 3397717295, 'AF', 'AFG', 'AFGHANISTAN'), (3397717296, 3397717303, 'BD', 'BGD', 'BANGLADESH'), (3397717304, 3397717311, 'AF', 'AFG', 'AFGHANISTAN'), (3397717312, 3397717343, 'HK', 'HKG', 'HONG KONG'), (3397717344, 3397717359, 'AF', 'AFG', 'AFGHANISTAN'), (3397717360, 3397717407, 'HK', 'HKG', 'HONG KONG'), (3397717408, 3397717503, 'BD', 'BGD', 'BANGLADESH'), (3397717504, 3397717511, 'IN', 'IND', 'INDIA'), (3397717512, 3397717567, 'HK', 'HKG', 'HONG KONG'), (3397717568, 3397717759, 'BD', 'BGD', 'BANGLADESH'), (3397717760, 3397718015, 'HK', 'HKG', 'HONG KONG'), (3397718016, 3397722111, 'KR', 'KOR', 'REPUBLIC OF KOREA'), (3397722112, 3397726207, 'PK', 'PAK', 'PAKISTAN'), (3397726208, 3397730303, 'IN', 'IND', 'INDIA'), (3397730304, 3397734399, 'PK', 'PAK', 'PAKISTAN'), (3397734400, 3397738495, 'ID', 'IDN', 'INDONESIA'), (3397738496, 3397742591, 'MY', 'MYS', 'MALAYSIA'), (3397742592, 3397746687, 'JP', 'JPN', 'JAPAN'), (3397746688, 3397763071, 'TH', 'THA', 'THAILAND'), (3397763072, 3397771263, 'PH', 'PHL', 'PHILIPPINES'), (3397771264, 3397779455, 'TW', 'TWN', 'TAIWAN'), (3397779456, 3397781503, 'ID', 'IDN', 'INDONESIA'), (3397781504, 3397783551, 'BD', 'BGD', 'BANGLADESH'), (3397783552, 3397785599, 'VN', 'VNM', 'VIET NAM'), (3397785600, 3397787647, 'TO', 'TON', 'TONGA'), (3397787648, 3397795839, 'AU', 'AUS', 'AUSTRALIA'), (3397795840, 3397812223, 'HK', 'HKG', 'HONG KONG'), (3397812224, 3397816319, 'PK', 'PAK', 'PAKISTAN'), (3397816320, 3397832703, 'IN', 'IND', 'INDIA'), (3397832704, 3397836799, 'JP', 'JPN', 'JAPAN'), (3397836800, 3397844991, 'AU', 'AUS', 'AUSTRALIA'), (3397844992, 3397853951, 'JP', 'JPN', 'JAPAN'), (3397853952, 3397854207, 'HK', 'HKG', 'HONG KONG'), (3397854208, 3397855231, 'JP', 'JPN', 'JAPAN'), (3397855232, 3397855239, 'HK', 'HKG', 'HONG KONG'), (3397855240, 3397881503, 'JP', 'JPN', 'JAPAN'), (3397881504, 3397881535, 'NZ', 'NZL', 'NEW ZEALAND'), (3397881536, 3397903103, 'JP', 'JPN', 'JAPAN'), (3397903104, 3397903359, 'HK', 'HKG', 'HONG KONG'), (3397903360, 3397910015, 'JP', 'JPN', 'JAPAN'), (3397910016, 3397910271, 'SG', 'SGP', 'SINGAPORE'), (3397910272, 3397910527, 'JP', 'JPN', 'JAPAN'), (3397910528, 3397918719, 'SG', 'SGP', 'SINGAPORE'), (3397918720, 3397922815, 'AU', 'AUS', 'AUSTRALIA'), (3397922816, 3397926911, 'CN', 'CHN', 'CHINA'), (3397926912, 3397935103, 'ID', 'IDN', 'INDONESIA'), (3397935104, 3397939199, 'AU', 'AUS', 'AUSTRALIA'), (3397939200, 3397951487, 'KR', 'KOR', 'REPUBLIC OF KOREA'), (3397951488, 3397959679, 'SG', 'SGP', 'SINGAPORE'), (3397959680, 3397963775, 'JP', 'JPN', 'JAPAN'), (3397963776, 3397971967, 'CN', 'CHN', 'CHINA'), (3397971968, 3397974015, 'LA', 'LAO', 'LAO PEOPLE''S DEMOCRATIC REPUBLIC'), (3397974016, 3397975039, 'IN', 'IND', 'INDIA'), (3397975040, 3397976063, 'AU', 'AUS', 'AUSTRALIA'), (3397976064, 3397984255, 'ID', 'IDN', 'INDONESIA'), (3397984256, 3397992447, 'JP', 'JPN', 'JAPAN'), (3397992448, 3398004735, 'AU', 'AUS', 'AUSTRALIA'), (3398004736, 3398008831, 'PH', 'PHL', 'PHILIPPINES'), (3398008832, 3398017023, 'LA', 'LAO', 'LAO PEOPLE''S DEMOCRATIC REPUBLIC'), (3398017024, 3398021119, 'AU', 'AUS', 'AUSTRALIA'), (3398021120, 3398023167, 'FJ', 'FJI', 'FIJI'), (3398023168, 3398025215, 'JP', 'JPN', 'JAPAN'), (3398025216, 3398029311, 'AU', 'AUS', 'AUSTRALIA'), (3398029312, 3398033407, 'IN', 'IND', 'INDIA'), (3398033408, 3398035455, 'AU', 'AUS', 'AUSTRALIA'), (3398035456, 3398037503, 'IN', 'IND', 'INDIA'), (3398037504, 3398039551, 'NZ', 'NZL', 'NEW ZEALAND'), (3398039552, 3398040575, 'IN', 'IND', 'INDIA'), (3398040576, 3398041599, 'MY', 'MYS', 'MALAYSIA'), (3398041600, 3398062079, 'AU', 'AUS', 'AUSTRALIA'), (3398062080, 3398066175, 'JP', 'JPN', 'JAPAN'), (3398066176, 3398074367, 'IN', 'IND', 'INDIA'), (3398074368, 3398090751, 'PH', 'PHL', 'PHILIPPINES'), (3398090752, 3398098943, 'AU', 'AUS', 'AUSTRALIA'), (3398098944, 3398107135, 'ID', 'IDN', 'INDONESIA'), (3398107136, 3398156287, 'AU', 'AUS', 'AUSTRALIA'), (3398156288, 3398164479, 'TH', 'THA', 'THAILAND'), (3398164480, 3398172671, 'AU', 'AUS', 'AUSTRALIA'), (3398172672, 3398180863, 'JP', 'JPN', 'JAPAN'), (3398180864, 3398189055, 'IN', 'IND', 'INDIA'), (3398189056, 3398205439, 'HK', 'HKG', 'HONG KONG'), (3398205440, 3398213631, 'IN', 'IND', 'INDIA'), (3398213632, 3398221823, 'HK', 'HKG', 'HONG KONG'), (3398221824, 3398230015, 'JP', 'JPN', 'JAPAN'), (3398230016, 3398238207, 'HK', 'HKG', 'HONG KONG'), (3398238208, 3398279167, 'IN', 'IND', 'INDIA'), (3398279168, 3398287359, 'CN', 'CHN', 'CHINA'), (3398287360, 3398291455, 'JP', 'JPN', 'JAPAN'), (3398291456, 3398295551, 'AU', 'AUS', 'AUSTRALIA'), (3398295552, 3398303743, 'PK', 'PAK', 'PAKISTAN'), (3398303744, 3398305791, 'IN', 'IND', 'INDIA'), (3398305792, 3398307839, 'JP', 'JPN', 'JAPAN'), (3398307840, 3398311935, 'CN', 'CHN', 'CHINA'), (3398311936, 3398320127, 'AU', 'AUS', 'AUSTRALIA'), (3398320128, 3398336511, 'IN', 'IND', 'INDIA'), (3398336512, 3398340607, 'AU', 'AUS', 'AUSTRALIA'), (3398340608, 3398352895, 'PK', 'PAK', 'PAKISTAN'), (3398352896, 3398361087, 'TH', 'THA', 'THAILAND'), (3398361088, 3398369279, 'JP', 'JPN', 'JAPAN'), (3398369280, 3398369791, 'IN', 'IND', 'INDIA'), (3398369792, 3398370303, 'JP', 'JPN', 'JAPAN'), (3398370304, 3398371327, 'IN', 'IND', 'INDIA'), (3398371328, 3398373375, 'JP', 'JPN', 'JAPAN'), (3398373376, 3398377471, 'CN', 'CHN', 'CHINA'), (3398377472, 3398381567, 'ID', 'IDN', 'INDONESIA'), (3398381568, 3398385663, 'AU', 'AUS', 'AUSTRALIA'), (3398385664, 3398393855, 'JP', 'JPN', 'JAPAN'), (3398393856, 3398397951, 'ID', 'IDN', 'INDONESIA'), (3398397952, 3398402047, 'PK', 'PAK', 'PAKISTAN'), (3398402048, 3398418431, 'TH', 'THA', 'THAILAND'), (3398418432, 3398434815, 'JP', 'JPN', 'JAPAN'), (3398434816, 3398467583, 'IN', 'IND', 'INDIA'), (3398467584, 3398475775, 'BT', 'BTN', 'BHUTAN'), (3398475776, 3398481919, 'AU', 'AUS', 'AUSTRALIA'), (3398481920, 3398483967, 'LA', 'LAO', 'LAO PEOPLE''S DEMOCRATIC REPUBLIC'), (3398483968, 3398488063, 'MY', 'MYS', 'MALAYSIA'), (3398488064, 3398492159, 'TW', 'TWN', 'TAIWAN'), (3398492160, 3398500351, 'AU', 'AUS', 'AUSTRALIA'), (3398500352, 3398504447, 'ID', 'IDN', 'INDONESIA'), (3398504448, 3398508543, 'JP', 'JPN', 'JAPAN'), (3398508544, 3398565887, 'TW', 'TWN', 'TAIWAN'), (3398565888, 3398567423, 'ID', 'IDN', 'INDONESIA'), (3398567424, 3398569983, 'AU', 'AUS', 'AUSTRALIA'), (3398569984, 3398572031, 'JP', 'JPN', 'JAPAN'), (3398572032, 3398574079, 'AU', 'AUS', 'AUSTRALIA'), (3398574080, 3398582271, 'ID', 'IDN', 'INDONESIA'), (3398582272, 3398590463, 'MY', 'MYS', 'MALAYSIA'), (3398590464, 3398598655, 'HK', 'HKG', 'HONG KONG'), (3398598656, 3398606847, 'ID', 'IDN', 'INDONESIA'), (3398606848, 3398610943, 'AU', 'AUS', 'AUSTRALIA'), (3398610944, 3398612991, 'ID', 'IDN', 'INDONESIA'), (3398612992, 3398615039, 'AU', 'AUS', 'AUSTRALIA'), (3398615040, 3398619135, 'IN', 'IND', 'INDIA'), (3398619136, 3398621183, 'AU', 'AUS', 'AUSTRALIA'), (3398621184, 3398623231, 'HK', 'HKG', 'HONG KONG'), (3398623232, 3398631423, 'ID', 'IDN', 'INDONESIA'), (3398631424, 3398631967, 'AU', 'AUS', 'AUSTRALIA'), (3398631968, 3398632143, 'JP', 'JPN', 'JAPAN'), (3398632144, 3398632175, 'AU', 'AUS', 'AUSTRALIA'), (3398632176, 3398632191, 'JP', 'JPN', 'JAPAN'), (3398632192, 3398632255, 'AU', 'AUS', 'AUSTRALIA'), (3398632256, 3398632343, 'JP', 'JPN', 'JAPAN'), (3398632344, 3398632351, 'AU', 'AUS', 'AUSTRALIA'), (3398632352, 3398632383, 'JP', 'JPN', 'JAPAN'), (3398632384, 3398632391, 'AU', 'AUS', 'AUSTRALIA'), (3398632392, 3398632399, 'JP', 'JPN', 'JAPAN'), (3398632400, 3398632415, 'AU', 'AUS', 'AUSTRALIA'), (3398632416, 3398632687, 'JP', 'JPN', 'JAPAN'), (3398632688, 3398632703, 'AU', 'AUS', 'AUSTRALIA'), (3398632704, 3398632831, 'JP', 'JPN', 'JAPAN'), (3398632832, 3398633983, 'AU', 'AUS', 'AUSTRALIA'), (3398633984, 3398634111, 'KR', 'KOR', 'REPUBLIC OF KOREA'), (3398634112, 3398634303, 'AU', 'AUS', 'AUSTRALIA'), (3398634304, 3398634343, 'KR', 'KOR', 'REPUBLIC OF KOREA'), (3398634344, 3398634367, 'AU', 'AUS', 'AUSTRALIA'), (3398634368, 3398634479, 'KR', 'KOR', 'REPUBLIC OF KOREA'), (3398634480, 3398634495, 'AU', 'AUS', 'AUSTRALIA'), (3398634496, 3398634591, 'KR', 'KOR', 'REPUBLIC OF KOREA'), (3398634592, 3398634607, 'AU', 'AUS', 'AUSTRALIA'), (3398634608, 3398634623, 'KR', 'KOR', 'REPUBLIC OF KOREA'), (3398634624, 3398634751, 'AU', 'AUS', 'AUSTRALIA'), (3398634752, 3398634783, 'KR', 'KOR', 'REPUBLIC OF KOREA'), (3398634784, 3398634879, 'AU', 'AUS', 'AUSTRALIA'), (3398634880, 3398635007, 'KR', 'KOR', 'REPUBLIC OF KOREA'), (3398635008, 3398635263, 'AU', 'AUS', 'AUSTRALIA'), (3398635264, 3398635391, 'KR', 'KOR', 'REPUBLIC OF KOREA'), (3398635392, 3398636287, 'AU', 'AUS', 'AUSTRALIA'), (3398636288, 3398636319, 'HK', 'HKG', 'HONG KONG'), (3398636320, 3398636351, 'AU', 'AUS', 'AUSTRALIA'), (3398636352, 3398636383, 'HK', 'HKG', 'HONG KONG'), (3398636384, 3398636447, 'AU', 'AUS', 'AUSTRALIA'), (3398636448, 3398636527, 'HK', 'HKG', 'HONG KONG'), (3398636528, 3398636543, 'AU', 'AUS', 'AUSTRALIA'), (3398636544, 3398636583, 'HK', 'HKG', 'HONG KONG'), (3398636584, 3398636591, 'AU', 'AUS', 'AUSTRALIA'), (3398636592, 3398636735, 'HK', 'HKG', 'HONG KONG'), (3398636736, 3398636767, 'AU', 'AUS', 'AUSTRALIA'), (3398636768, 3398636775, 'HK', 'HKG', 'HONG KONG'), (3398636776, 3398636783, 'AU', 'AUS', 'AUSTRALIA'), (3398636784, 3398636799, 'HK', 'HKG', 'HONG KONG'), (3398636800, 3398637055, 'AU', 'AUS', 'AUSTRALIA'), (3398637056, 3398637215, 'HK', 'HKG', 'HONG KONG'), (3398637216, 3398637247, 'AU', 'AUS', 'AUSTRALIA'), (3398637248, 3398637311, 'HK', 'HKG', 'HONG KONG'), (3398637312, 3398637375, 'JP', 'JPN', 'JAPAN'), (3398637376, 3398637567, 'HK', 'HKG', 'HONG KONG'), (3398637568, 3398638095, 'AU', 'AUS', 'AUSTRALIA'), (3398638096, 3398638135, 'PH', 'PHL', 'PHILIPPINES'), (3398638136, 3398638159, 'AU', 'AUS', 'AUSTRALIA'), (3398638160, 3398638167, 'PH', 'PHL', 'PHILIPPINES'), (3398638168, 3398638191, 'TW', 'TWN', 'TAIWAN'), (3398638192, 3398638207, 'PH', 'PHL', 'PHILIPPINES'), (3398638208, 3398638367, 'AU', 'AUS', 'AUSTRALIA'), (3398638368, 3398638383, 'TW', 'TWN', 'TAIWAN'), (3398638384, 3398638399, 'AU', 'AUS', 'AUSTRALIA'), (3398638400, 3398638431, 'TW', 'TWN', 'TAIWAN'), (3398638432, 3398638447, 'PH', 'PHL', 'PHILIPPINES'), (3398638448, 3398638479, 'AU', 'AUS', 'AUSTRALIA'), (3398638480, 3398638527, 'TW', 'TWN', 'TAIWAN'), (3398638528, 3398638575, 'PH', 'PHL', 'PHILIPPINES'), (3398638576, 3398638591, 'AU', 'AUS', 'AUSTRALIA'), (3398638592, 3398638655, 'PH', 'PHL', 'PHILIPPINES'), (3398638656, 3398638719, 'TW', 'TWN', 'TAIWAN'), (3398638720, 3398638847, 'PH', 'PHL', 'PHILIPPINES'), (3398638848, 3398638879, 'AU', 'AUS', 'AUSTRALIA'), (3398638880, 3398638911, 'PH', 'PHL', 'PHILIPPINES'), (3398638912, 3398638943, 'AU', 'AUS', 'AUSTRALIA'), (3398638944, 3398638951, 'TW', 'TWN', 'TAIWAN'), (3398638952, 3398639007, 'AU', 'AUS', 'AUSTRALIA'), (3398639008, 3398639231, 'PH', 'PHL', 'PHILIPPINES'), (3398639232, 3398639247, 'AU', 'AUS', 'AUSTRALIA'), (3398639248, 3398639263, 'PH', 'PHL', 'PHILIPPINES'), (3398639264, 3398639271, 'TW', 'TWN', 'TAIWAN'), (3398639272, 3398639423, 'AU', 'AUS', 'AUSTRALIA'), (3398639424, 3398639455, 'PH', 'PHL', 'PHILIPPINES'), (3398639456, 3398639487, 'AU', 'AUS', 'AUSTRALIA'), (3398639488, 3398639615, 'PH', 'PHL', 'PHILIPPINES'), (3398639616, 3398640127, 'AU', 'AUS', 'AUSTRALIA'), (3398640128, 3398640175, 'SG', 'SGP', 'SINGAPORE'), (3398640176, 3398640191, 'AU', 'AUS', 'AUSTRALIA'), (3398640192, 3398640207, 'MY', 'MYS', 'MALAYSIA'), (3398640208, 3398640639, 'AU', 'AUS', 'AUSTRALIA'), (3398640640, 3398640695, 'SG', 'SGP', 'SINGAPORE'), (3398640696, 3398640783, 'AU', 'AUS', 'AUSTRALIA'), (3398640784, 3398640799, 'SG', 'SGP', 'SINGAPORE'), (3398640800, 3398640895, 'AU', 'AUS', 'AUSTRALIA'), (3398640896, 3398640911, 'MY', 'MYS', 'MALAYSIA'), (3398640912, 3398640959, 'SG', 'SGP', 'SINGAPORE'), (3398640960, 3398641007, 'AU', 'AUS', 'AUSTRALIA'), (3398641008, 3398641039, 'SG', 'SGP', 'SINGAPORE'), (3398641040, 3398641055, 'AU', 'AUS', 'AUSTRALIA'), (3398641056, 3398641087, 'SG', 'SGP', 'SINGAPORE'), (3398641088, 3398641095, 'AU', 'AUS', 'AUSTRALIA'), (3398641096, 3398641103, 'SG', 'SGP', 'SINGAPORE'), (3398641104, 3398641119, 'AU', 'AUS', 'AUSTRALIA'), (3398641120, 3398641311, 'SG', 'SGP', 'SINGAPORE'), (3398641312, 3398641423, 'AU', 'AUS', 'AUSTRALIA'), (3398641424, 3398641431, 'SG', 'SGP', 'SINGAPORE'), (3398641432, 3398641447, 'MY', 'MYS', 'MALAYSIA'), (3398641448, 3398641455, 'AU', 'AUS', 'AUSTRALIA'), (3398641456, 3398641503, 'SG', 'SGP', 'SINGAPORE'), (3398641504, 3398641567, 'AU', 'AUS', 'AUSTRALIA'), (3398641568, 3398641631, 'MY', 'MYS', 'MALAYSIA'), (3398641632, 3398641647, 'SG', 'SGP', 'SINGAPORE'), (3398641648, 3398642511, 'AU', 'AUS', 'AUSTRALIA'), (3398642512, 3398642527, 'NZ', 'NZL', 'NEW ZEALAND'), (3398642528, 3398643223, 'AU', 'AUS', 'AUSTRALIA'), (3398643224, 3398643247, 'NZ', 'NZL', 'NEW ZEALAND'), (3398643248, 3398643375, 'AU', 'AUS', 'AUSTRALIA'), (3398643376, 3398643383, 'NZ', 'NZL', 'NEW ZEALAND'), (3398643384, 3398643711, 'AU', 'AUS', 'AUSTRALIA'), (3398643712, 3398643967, 'SG', 'SGP', 'SINGAPORE'), (3398643968, 3398646783, 'AU', 'AUS', 'AUSTRALIA'), (3398646784, 3398647039, 'PH', 'PHL', 'PHILIPPINES'), (3398647040, 3398647295, 'AU', 'AUS', 'AUSTRALIA'), (3398647296, 3398647551, 'TW', 'TWN', 'TAIWAN'), (3398647552, 3398672383, 'AU', 'AUS', 'AUSTRALIA'), (3398672384, 3398680575, 'PK', 'PAK', 'PAKISTAN'), (3398680576, 3398684671, 'ID', 'IDN', 'INDONESIA'), (3398684672, 3398688767, 'JP', 'JPN', 'JAPAN'), (3398688768, 3398705151, 'ID', 'IDN', 'INDONESIA'), (3398705152, 3398711295, 'AU', 'AUS', 'AUSTRALIA'), (3398711296, 3398713343, 'BD', 'BGD', 'BANGLADESH'), (3398713344, 3398721535, 'AU', 'AUS', 'AUSTRALIA'), (3398721536, 3398729727, 'CN', 'CHN', 'CHINA'), (3398729728, 3398737919, 'AU', 'AUS', 'AUSTRALIA'), (3398737920, 3398742015, 'SG', 'SGP', 'SINGAPORE'), (3398742016, 3398746111, 'TH', 'THA', 'THAILAND'), (3398746112, 3398750207, 'IN', 'IND', 'INDIA'), (3398750208, 3398754303, 'TW', 'TWN', 'TAIWAN'), (3398754304, 3398758399, 'AU', 'AUS', 'AUSTRALIA'), (3398758400, 3398768639, 'JP', 'JPN', 'JAPAN'), (3398768640, 3398770687, 'TH', 'THA', 'THAILAND'), (3398770688, 3398778879, 'IN', 'IND', 'INDIA'), (3398778880, 3398787071, 'ID', 'IDN', 'INDONESIA'), (3398787072, 3398795263, 'TH', 'THA', 'THAILAND'), (3398795264, 3398803455, 'ID', 'IDN', 'INDONESIA'), (3398803456, 3398811647, 'CN', 'CHN', 'CHINA'), (3398811648, 3398819839, 'IN', 'IND', 'INDIA'), (3398819840, 3398828031, 'CN', 'CHN', 'CHINA'), (3398828032, 3398832127, 'ID', 'IDN', 'INDONESIA'), (3398832128, 3398836223, 'CN', 'CHN', 'CHINA'), (3398836224, 3398840319, 'ID', 'IDN', 'INDONESIA'), (3398840320, 3398842367, 'JP', 'JPN', 'JAPAN'), (3398842368, 3398844415, 'AU', 'AUS', 'AUSTRALIA'), (3398844416, 3398852607, 'ID', 'IDN', 'INDONESIA'), (3398852608, 3398860799, 'NZ', 'NZL', 'NEW ZEALAND'), (3398860800, 3398873087, 'ID', 'IDN', 'INDONESIA'), (3398873088, 3398877183, 'KR', 'KOR', 'REPUBLIC OF KOREA'), (3398877184, 3398881279, 'AU', 'AUS', 'AUSTRALIA'), (3398881280, 3398885375, 'SG', 'SGP', 'SINGAPORE'), (3398885376, 3398894591, 'ID', 'IDN', 'INDONESIA'), (3398894592, 3398895615, 'TH', 'THA', 'THAILAND'), (3398895616, 3398897663, 'ID', 'IDN', 'INDONESIA'), (3398897664, 3398901759, 'FJ', 'FJI', 'FIJI'), (3398901760, 3398902015, 'AU', 'AUS', 'AUSTRALIA'), (3398902016, 3398902271, 'HK', 'HKG', 'HONG KONG'), (3398902272, 3398902783, 'PH', 'PHL', 'PHILIPPINES'), (3398902784, 3398903807, 'AU', 'AUS', 'AUSTRALIA'), (3398903808, 3398905855, 'TH', 'THA', 'THAILAND'), (3398905856, 3398909951, 'TW', 'TWN', 'TAIWAN'), (3398909952, 3398918143, 'GU', 'GUM', 'GUAM'), (3398918144, 3398926335, 'JP', 'JPN', 'JAPAN'), (3398926336, 3398934527, 'IN', 'IND', 'INDIA'), (3398934528, 3398938623, 'VN', 'VNM', 'VIET NAM'), (3398938624, 3398942719, 'TH', 'THA', 'THAILAND'), (3398942720, 3398959103, 'MY', 'MYS', 'MALAYSIA'), (3398959104, 3398975487, 'ID', 'IDN', 'INDONESIA'), (3398975488, 3398983679, 'BN', 'BRN', 'BRUNEI DARUSSALAM'), (3398983680, 3398991871, 'JP', 'JPN', 'JAPAN'), (3398991872, 3399004159, 'ID', 'IDN', 'INDONESIA'), (3399004160, 3399008255, 'CN', 'CHN', 'CHINA'), (3399008256, 3399012351, 'ID', 'IDN', 'INDONESIA'), (3399012352, 3399016447, 'JP', 'JPN', 'JAPAN'), (3399016448, 3399024639, 'ID', 'IDN', 'INDONESIA'), (3399024640, 3399025663, 'TH', 'THA', 'THAILAND'), (3399025664, 3399026175, 'JP', 'JPN', 'JAPAN'), (3399026176, 3399026431, 'SG', 'SGP', 'SINGAPORE'), (3399026432, 3399026687, 'AU', 'AUS', 'AUSTRALIA'), (3399026688, 3399028735, 'HK', 'HKG', 'HONG KONG'), (3399028736, 3399032831, 'ID', 'IDN', 'INDONESIA'), (3399032832, 3399036927, 'IN', 'IND', 'INDIA'), (3399036928, 3399041023, 'CN', 'CHN', 'CHINA'), (3399041024, 3399045119, 'AU', 'AUS', 'AUSTRALIA'), (3399045120, 3399047167, 'MV', 'MDV', 'MALDIVES'), (3399047168, 3399057407, 'HK', 'HKG', 'HONG KONG'), (3399057408, 3399065599, 'ID', 'IDN', 'INDONESIA'), (3399065600, 3399077887, 'TW', 'TWN', 'TAIWAN'), (3399077888, 3399081983, 'AU', 'AUS', 'AUSTRALIA'), (3399081984, 3399099647, 'ID', 'IDN', 'INDONESIA'), (3399099648, 3399099903, 'AU', 'AUS', 'AUSTRALIA'), (3399099904, 3399100719, 'ID', 'IDN', 'INDONESIA'), (3399100720, 3399100735, 'AU', 'AUS', 'AUSTRALIA'), (3399100736, 3399100751, 'ID', 'IDN', 'INDONESIA'), (3399100752, 3399100799, 'AU', 'AUS', 'AUSTRALIA'), (3399100800, 3399100863, 'ID', 'IDN', 'INDONESIA'), (3399100864, 3399100879, 'AU', 'AUS', 'AUSTRALIA'), (3399100880, 3399100895, 'ID', 'IDN', 'INDONESIA'), (3399100896, 3399100927, 'AU', 'AUS', 'AUSTRALIA'), (3399100928, 3399101951, 'ID', 'IDN', 'INDONESIA'), (3399101952, 3399101983, 'AU', 'AUS', 'AUSTRALIA'), (3399101984, 3399102079, 'ID', 'IDN', 'INDONESIA'), (3399102080, 3399102111, 'AU', 'AUS', 'AUSTRALIA'), (3399102112, 3399102127, 'ID', 'IDN', 'INDONESIA'), (3399102128, 3399102207, 'AU', 'AUS', 'AUSTRALIA'), (3399102208, 3399102287, 'ID', 'IDN', 'INDONESIA'), (3399102288, 3399102399, 'AU', 'AUS', 'AUSTRALIA'), (3399102400, 3399102431, 'ID', 'IDN', 'INDONESIA'), (3399102432, 3399102463, 'AU', 'AUS', 'AUSTRALIA'), (3399102464, 3399102719, 'ID', 'IDN', 'INDONESIA'), (3399102720, 3399102975, 'AU', 'AUS', 'AUSTRALIA'), (3399102976, 3399106559, 'ID', 'IDN', 'INDONESIA'), (3399106560, 3399122943, 'AU', 'AUS', 'AUSTRALIA'), (3399122944, 3399131135, 'NZ', 'NZL', 'NEW ZEALAND'), (3399131136, 3399135231, 'IN', 'IND', 'INDIA'), (3399135232, 3399139327, 'ID', 'IDN', 'INDONESIA'), (3399139328, 3399147519, 'TW', 'TWN', 'TAIWAN'), (3399147520, 3399155711, 'PK', 'PAK', 'PAKISTAN'), (3399155712, 3399196671, 'ID', 'IDN', 'INDONESIA'), (3399196672, 3399204863, 'AU', 'AUS', 'AUSTRALIA'), (3399204864, 3399221247, 'HK', 'HKG', 'HONG KONG'), (3399221248, 3399286783, 'SG', 'SGP', 'SINGAPORE'), (3399286784, 3399303167, 'JP', 'JPN', 'JAPAN'), (3399303168, 3399311359, 'IN', 'IND', 'INDIA'), (3399311360, 3399319551, 'JP', 'JPN', 'JAPAN'), (3399319552, 3399331839, 'SG', 'SGP', 'SINGAPORE'), (3399331840, 3399332351, 'MY', 'MYS', 'MALAYSIA'), (3399332352, 3399332863, 'SG', 'SGP', 'SINGAPORE'), (3399332864, 3399333375, 'HK', 'HKG', 'HONG KONG'), (3399333376, 3399335423, 'MY', 'MYS', 'MALAYSIA'), (3399335424, 3399335935, 'IN', 'IND', 'INDIA'), (3399335936, 3399344127, 'MY', 'MYS', 'MALAYSIA'), (3399344128, 3399352319, 'JP', 'JPN', 'JAPAN'), (3399352320, 3399389183, 'ID', 'IDN', 'INDONESIA'), (3399389184, 3399393279, 'KR', 'KOR', 'REPUBLIC OF KOREA'), (3399393280, 3399401471, 'CN', 'CHN', 'CHINA'), (3399401472, 3399409663, 'AU', 'AUS', 'AUSTRALIA'), (3399409664, 3399413759, 'JP', 'JPN', 'JAPAN'), (3399413760, 3399417855, 'AU', 'AUS', 'AUSTRALIA'), (3399417856, 3399450623, 'ID', 'IDN', 'INDONESIA'), (3399450624, 3399467007, 'TW', 'TWN', 'TAIWAN'), (3399467008, 3399483391, 'IN', 'IND', 'INDIA'), (3399483392, 3399495679, 'BN', 'BRN', 'BRUNEI DARUSSALAM'), (3399495680, 3399499775, 'NZ', 'NZL', 'NEW ZEALAND'), (3399499776, 3399507967, 'TW', 'TWN', 'TAIWAN'), (3399507968, 3399512063, 'AU', 'AUS', 'AUSTRALIA'), (3399512064, 3399514111, 'NZ', 'NZL', 'NEW ZEALAND'), (3399514112, 3399524351, 'AU', 'AUS', 'AUSTRALIA'), (3399524352, 3399528447, 'IN', 'IND', 'INDIA'), (3399528448, 3399532543, 'CN', 'CHN', 'CHINA'), (3399532544, 3399544575, 'SG', 'SGP', 'SINGAPORE'), (3399544576, 3399544831, 'IN', 'IND', 'INDIA'), (3399544832, 3399546879, 'SG', 'SGP', 'SINGAPORE'), (3399546880, 3399547135, 'US', 'USA', 'UNITED STATES'), (3399547136, 3399547903, 'SG', 'SGP', 'SINGAPORE'), (3399547904, 3399548159, 'PK', 'PAK', 'PAKISTAN'), (3399548160, 3399548415, 'SG', 'SGP', 'SINGAPORE'), (3399548416, 3399548671, 'ID', 'IDN', 'INDONESIA'), (3399548672, 3399548927, 'SG', 'SGP', 'SINGAPORE'), (3399548928, 3399557119, 'AU', 'AUS', 'AUSTRALIA'), (3399557120, 3399565311, 'SG', 'SGP', 'SINGAPORE'), (3399565312, 3399581695, 'AU', 'AUS', 'AUSTRALIA'), (3399581696, 3399583487, 'US', 'USA', 'UNITED STATES'), (3399583488, 3399583743, 'NP', 'NPL', 'NEPAL'), (3399583744, 3399584255, 'US', 'USA', 'UNITED STATES'), (3399584256, 3399584511, 'BD', 'BGD', 'BANGLADESH'), (3399584512, 3399587839, 'US', 'USA', 'UNITED STATES'), (3399587840, 3399588095, 'BD', 'BGD', 'BANGLADESH'), (3399588096, 3399589631, 'US', 'USA', 'UNITED STATES'), (3399589632, 3399589887, 'NP', 'NPL', 'NEPAL'), (3399589888, 3399593983, 'HK', 'HKG', 'HONG KONG'), (3399593984, 3399598079, 'BD', 'BGD', 'BANGLADESH'), (3399598080, 3399614463, 'JP', 'JPN', 'JAPAN'), (3399614464, 3399622655, 'MY', 'MYS', 'MALAYSIA'), (3399622656, 3399626751, 'ID', 'IDN', 'INDONESIA'), (3399626752, 3399630847, 'IN', 'IND', 'INDIA'), (3399630848, 3399634943, 'AU', 'AUS', 'AUSTRALIA'), (3399634944, 3399639039, 'JP', 'JPN', 'JAPAN'), (3399639040, 3399643135, 'AU', 'AUS', 'AUSTRALIA'), (3399643136, 3399655423, 'JP', 'JPN', 'JAPAN'), (3399655424, 3399659519, 'PH', 'PHL', 'PHILIPPINES'), (3399659520, 3399661567, 'NZ', 'NZL', 'NEW ZEALAND'), (3399661568, 3399663615, 'AU', 'AUS', 'AUSTRALIA'), (3399663616, 3399671807, 'ID', 'IDN', 'INDONESIA'), (3399671808, 3399679999, 'IN', 'IND', 'INDIA'), (3399680000, 3399688191, 'HK', 'HKG', 'HONG KONG'), (3399688192, 3399696383, 'SG', 'SGP', 'SINGAPORE'), (3399696384, 3399712767, 'PK', 'PAK', 'PAKISTAN'), (3399712768, 3399720959, 'KR', 'KOR', 'REPUBLIC OF KOREA'), (3399720960, 3399729151, 'JP', 'JPN', 'JAPAN'), (3399729152, 3399745535, 'PH', 'PHL', 'PHILIPPINES'), (3399745536, 3399749631, 'CN', 'CHN', 'CHINA'), (3399749632, 3399753727, 'AU', 'AUS', 'AUSTRALIA'), (3399753728, 3399761919, 'IN', 'IND', 'INDIA'), (3399761920, 3399770111, 'JP', 'JPN', 'JAPAN'), (3399770112, 3399778303, 'AU', 'AUS', 'AUSTRALIA'), (3399778304, 3399786495, 'IN', 'IND', 'INDIA'), (3399786496, 3399794687, 'PH', 'PHL', 'PHILIPPINES'), (3399794688, 3399798783, 'AU', 'AUS', 'AUSTRALIA'), (3399798784, 3399800831, 'BD', 'BGD', 'BANGLADESH'), (3399800832, 3399802879, 'ID', 'IDN', 'INDONESIA'), (3399802880, 3399811071, 'JP', 'JPN', 'JAPAN'), (3399811072, 3399819263, 'MY', 'MYS', 'MALAYSIA'), (3399819264, 3399823359, 'ID', 'IDN', 'INDONESIA'), (3399823360, 3399825407, 'JP', 'JPN', 'JAPAN'), (3399825408, 3399839743, 'AU', 'AUS', 'AUSTRALIA'), (3399839744, 3399841791, 'JP', 'JPN', 'JAPAN'), (3399841792, 3399846399, 'TW', 'TWN', 'TAIWAN'), (3399846400, 3399846407, 'US', 'USA', 'UNITED STATES'), (3399846408, 3399846919, 'TW', 'TWN', 'TAIWAN'), (3399846920, 3399846935, 'US', 'USA', 'UNITED STATES'), (3399846936, 3399847247, 'TW', 'TWN', 'TAIWAN'), (3399847248, 3399847263, 'US', 'USA', 'UNITED STATES'), (3399847264, 3399852031, 'TW', 'TWN', 'TAIWAN'), (3399852032, 3399856127, 'JP', 'JPN', 'JAPAN'), (3399856128, 3399860223, 'CN', 'CHN', 'CHINA'), (3399860224, 3399864319, 'PG', 'PNG', 'PAPUA NEW GUINEA'), (3399864320, 3399868415, 'CN', 'CHN', 'CHINA'), (3399868416, 3399876607, 'PK', 'PAK', 'PAKISTAN'), (3399876608, 3399917567, 'SG', 'SGP', 'SINGAPORE'), (3399917568, 3399921663, 'PK', 'PAK', 'PAKISTAN'), (3399921664, 3399923711, 'NC', 'NCL', 'NEW CALEDONIA'), (3399923712, 3399925759, 'AU', 'AUS', 'AUSTRALIA'), (3399925760, 3399933951, 'NP', 'NPL', 'NEPAL'), (3399933952, 3399942143, 'TW', 'TWN', 'TAIWAN'), (3399942144, 3399950335, 'AU', 'AUS', 'AUSTRALIA'), (3399950336, 3399967871, 'US', 'USA', 'UNITED STATES'), (3399967872, 3399967999, 'HK', 'HKG', 'HONG KONG'), (3399968000, 3399974911, 'US', 'USA', 'UNITED STATES'), (3399974912, 3399979007, 'AU', 'AUS', 'AUSTRALIA'), (3399979008, 3399982959, 'US', 'USA', 'UNITED STATES'), (3399982960, 3399982975, 'SG', 'SGP', 'SINGAPORE'), (3399982976, 3399995391, 'US', 'USA', 'UNITED STATES'), (3399995392, 3399999487, 'KR', 'KOR', 'REPUBLIC OF KOREA'), (3399999488, 3400002047, 'SG', 'SGP', 'SINGAPORE'), (3400002048, 3400002303, 'HK', 'HKG', 'HONG KONG'), (3400002304, 3400002431, 'SG', 'SGP', 'SINGAPORE'), (3400002432, 3400002559, 'HK', 'HKG', 'HONG KONG'), (3400002560, 3400006143, 'SG', 'SGP', 'SINGAPORE'), (3400006144, 3400006399, 'HK', 'HKG', 'HONG KONG'), (3400006400, 3400007679, 'SG', 'SGP', 'SINGAPORE'), (3400007680, 3400024063, 'AU', 'AUS', 'AUSTRALIA'), (3400024064, 3400028159, 'MY', 'MYS', 'MALAYSIA'), (3400028160, 3400048639, 'AU', 'AUS', 'AUSTRALIA'), (3400048640, 3400056831, 'CN', 'CHN', 'CHINA'), (3400056832, 3400060927, 'TW', 'TWN', 'TAIWAN'), (3400060928, 3400061695, 'HK', 'HKG', 'HONG KONG'), (3400061696, 3400061711, 'US', 'USA', 'UNITED STATES'), (3400061712, 3400061727, 'HK', 'HKG', 'HONG KONG'), (3400061728, 3400061759, 'US', 'USA', 'UNITED STATES'), (3400061760, 3400062975, 'HK', 'HKG', 'HONG KONG'), (3400062976, 3400065023, 'JP', 'JPN', 'JAPAN'), (3400065024, 3400073215, 'BD', 'BGD', 'BANGLADESH'), (3400073216, 3400077311, 'HK', 'HKG', 'HONG KONG'), (3400077312, 3400079359, 'AU', 'AUS', 'AUSTRALIA'), (3400079360, 3400081407, 'MY', 'MYS', 'MALAYSIA'), (3400081408, 3400089599, 'ID', 'IDN', 'INDONESIA'), (3400089600, 3400097791, 'JP', 'JPN', 'JAPAN'), (3400097792, 3400105983, 'AU', 'AUS', 'AUSTRALIA'), (3400105984, 3400114175, 'JP', 'JPN', 'JAPAN'), (3400114176, 3400118271, 'TW', 'TWN', 'TAIWAN'), (3400118272, 3400120319, 'AU', 'AUS', 'AUSTRALIA'), (3400120320, 3400122367, 'JP', 'JPN', 'JAPAN'), (3400122368, 3400130559, 'NZ', 'NZL', 'NEW ZEALAND'), (3400130560, 3400138751, 'ID', 'IDN', 'INDONESIA'), (3400138752, 3400146943, 'HK', 'HKG', 'HONG KONG'), (3400146944, 3400151039, 'FJ', 'FJI', 'FIJI'), (3400151040, 3400155135, 'MY', 'MYS', 'MALAYSIA'), (3400155136, 3400163327, 'MN', 'MNG', 'MONGOLIA'), (3400163328, 3400167423, 'JP', 'JPN', 'JAPAN'), (3400167424, 3400171519, 'TH', 'THA', 'THAILAND'), (3400171520, 3400179711, 'CN', 'CHN', 'CHINA'), (3400179712, 3400181759, 'NZ', 'NZL', 'NEW ZEALAND'), (3400181760, 3400183807, 'AU', 'AUS', 'AUSTRALIA'), (3400183808, 3400187903, 'JP', 'JPN', 'JAPAN'), (3400187904, 3400191999, 'AU', 'AUS', 'AUSTRALIA'), (3400192000, 3400194047, 'JP', 'JPN', 'JAPAN'), (3400194048, 3400196095, 'CN', 'CHN', 'CHINA'), (3400196096, 3400212479, 'ID', 'IDN', 'INDONESIA'), (3400212480, 3400220671, 'MY', 'MYS', 'MALAYSIA'), (3400220672, 3400221055, 'NC', 'NCL', 'NEW CALEDONIA'), (3400221056, 3400221119, 'NZ', 'NZL', 'NEW ZEALAND'), (3400221120, 3400224767, 'NC', 'NCL', 'NEW CALEDONIA'), (3400224768, 3400228863, 'JP', 'JPN', 'JAPAN'), (3400228864, 3400232959, 'AU', 'AUS', 'AUSTRALIA'), (3400232960, 3400245247, 'JP', 'JPN', 'JAPAN'), (3400245248, 3400253439, 'AU', 'AUS', 'AUSTRALIA'), (3400253440, 3400257535, 'MY', 'MYS', 'MALAYSIA'), (3400257536, 3400261631, 'HK', 'HKG', 'HONG KONG'), (3400261632, 3400263679, 'JP', 'JPN', 'JAPAN'), (3400263680, 3400265727, 'AU', 'AUS', 'AUSTRALIA'), (3400265728, 3400267775, 'PG', 'PNG', 'PAPUA NEW GUINEA'), (3400267776, 3400268799, 'KR', 'KOR', 'REPUBLIC OF KOREA'), (3400268800, 3400270847, 'MO', 'MAC', 'MACAO'), (3400270848, 3400271359, 'VN', 'VNM', 'VIET NAM'), (3400271360, 3400271615, 'AU', 'AUS', 'AUSTRALIA'), (3400271616, 3400271871, 'IN', 'IND', 'INDIA'), (3400271872, 3400273919, 'AU', 'AUS', 'AUSTRALIA'), (3400273920, 3400275967, 'TH', 'THA', 'THAILAND'), (3400275968, 3400278015, 'JP', 'JPN', 'JAPAN'), (3400278016, 3400286207, 'SG', 'SGP', 'SINGAPORE'), (3400286208, 3400294399, 'JP', 'JPN', 'JAPAN'), (3400294400, 3400310783, 'AU', 'AUS', 'AUSTRALIA'), (3400310784, 3400335359, 'SG', 'SGP', 'SINGAPORE'), (3400335360, 3400336383, 'MO', 'MAC', 'MACAO'), (3400336384, 3400336639, 'PH', 'PHL', 'PHILIPPINES'), (3400336640, 3400336895, 'JP', 'JPN', 'JAPAN'), (3400336896, 3400337151, 'AU', 'AUS', 'AUSTRALIA'), (3400337152, 3400337407, 'PH', 'PHL', 'PHILIPPINES'), (3400337408, 3400339455, 'CN', 'CHN', 'CHINA'), (3400339456, 3400341503, 'ID', 'IDN', 'INDONESIA'), (3400341504, 3400343551, 'AU', 'AUS', 'AUSTRALIA'), (3400343552, 3400351743, 'TW', 'TWN', 'TAIWAN'), (3400351744, 3400359935, 'ID', 'IDN', 'INDONESIA');
<gh_stars>0 create table if not exists b_adv_banner ( ID int(18) not null auto_increment, CONTRACT_ID int(18) not null default '1', TYPE_SID varchar(255) not null, STATUS_SID varchar(255) not null default 'PUBLISHED', STATUS_COMMENTS text, NAME varchar(255), GROUP_SID varchar(255), FIRST_SITE_ID char(2), ACTIVE char(1) not null default 'Y', WEIGHT int(18) not null default '100', MAX_SHOW_COUNT int(18), SHOW_COUNT int(18) not null default '0', FIX_CLICK char(1) not null default 'Y', FIX_SHOW char(1) not null default 'Y', MAX_CLICK_COUNT int(18), CLICK_COUNT int(18) not null default '0', MAX_VISITOR_COUNT int(18), VISITOR_COUNT int(18) not null default '0', SHOWS_FOR_VISITOR int(18), DATE_LAST_SHOW datetime, DATE_LAST_CLICK datetime, DATE_SHOW_FROM datetime, DATE_SHOW_TO datetime, IMAGE_ID int(18), IMAGE_ALT varchar(255), URL text, URL_TARGET varchar(255), CODE text, CODE_TYPE varchar(5) not null default 'html', STAT_EVENT_1 varchar(255), STAT_EVENT_2 varchar(255), STAT_EVENT_3 varchar(255), FOR_NEW_GUEST char(1), KEYWORDS text, COMMENTS text, DATE_CREATE datetime, CREATED_BY int(18), DATE_MODIFY datetime, MODIFIED_BY int(18), SHOW_USER_GROUP char(1) not null default 'N', NO_URL_IN_FLASH char(1) not null default 'N', FLYUNIFORM CHAR( 1 ) NOT NULL DEFAULT 'N', DATE_SHOW_FIRST DATETIME NULL, AD_TYPE VARCHAR( 20 ), FLASH_TRANSPARENT VARCHAR( 20 ), FLASH_IMAGE int( 18 ), FLASH_JS CHAR( 1 ) NOT NULL DEFAULT 'N', FLASH_VER VARCHAR( 20 ), STAT_TYPE varchar(20), STAT_COUNT int(18), primary key (ID), index IX_ACTIVE_TYPE_SID (ACTIVE, TYPE_SID), index IX_CONTRACT_TYPE (CONTRACT_ID, TYPE_SID) ); create table if not exists b_adv_banner_2_country ( BANNER_ID int(18) not null default '0', COUNTRY_ID char(2) not null, REGION varchar(200), CITY_ID int(18) ); create index ix_b_adv_banner_2_country_1 on b_adv_banner_2_country (COUNTRY_ID, REGION(50), BANNER_ID); create index ix_b_adv_banner_2_country_2 on b_adv_banner_2_country (CITY_ID, BANNER_ID); create index ix_b_adv_banner_2_country_3 on b_adv_banner_2_country (BANNER_ID); create table if not exists b_adv_banner_2_day ( DATE_STAT date not null default '0000-00-00', BANNER_ID int(18) not null default '0', SHOW_COUNT int(18) not null default '0', CLICK_COUNT int(18) not null default '0', VISITOR_COUNT int(18) not null default '0', primary key (BANNER_ID, DATE_STAT) ); create table if not exists b_adv_banner_2_site ( BANNER_ID int(18) not null default '0', SITE_ID char(2) not null, primary key (BANNER_ID, SITE_ID) ); create table if not exists b_adv_banner_2_page ( ID int(18) not null auto_increment, BANNER_ID int(18) not null default '0', PAGE varchar(255) not null, SHOW_ON_PAGE char(1) not null default 'Y', primary key (ID), index IX_BANNER_ID (BANNER_ID) ); create table if not exists b_adv_banner_2_stat_adv ( BANNER_ID int(18) not null default '0', STAT_ADV_ID int(18) not null default '0', primary key (BANNER_ID, STAT_ADV_ID) ); create table if not exists b_adv_banner_2_weekday ( BANNER_ID int(18) not null default '0', C_WEEKDAY varchar(10) not null, C_HOUR int(2) not null default '0', primary key (BANNER_ID, C_WEEKDAY, C_HOUR) ); create table if not exists b_adv_contract ( ID int(18) not null auto_increment, ACTIVE char(1) not null default 'Y', NAME varchar(255), DESCRIPTION text, KEYWORDS text, ADMIN_COMMENTS text, WEIGHT int(18) not null default '100', SORT int(18), MAX_SHOW_COUNT int(18), SHOW_COUNT int(18) not null default '0', MAX_CLICK_COUNT int(18) null, CLICK_COUNT int(18) not null default '0', MAX_VISITOR_COUNT int(18), VISITOR_COUNT int(18) not null default '0', DATE_SHOW_FROM datetime, DATE_SHOW_TO datetime, DEFAULT_STATUS_SID varchar(255) not null default 'PUBLISHED', EMAIL_COUNT int(18) not null default '0', DATE_CREATE datetime, CREATED_BY int(18), DATE_MODIFY datetime, MODIFIED_BY int(18), primary key (ID) ); create table if not exists b_adv_contract_2_site ( CONTRACT_ID int(18) not null default '0', SITE_ID char(2) not null, primary key (CONTRACT_ID, SITE_ID) ); create table if not exists b_adv_contract_2_page ( ID int(18) not null auto_increment, CONTRACT_ID int(18) not null default '0', PAGE varchar(255) not null, SHOW_ON_PAGE char(1) not null default 'Y', primary key (ID), index IX_CONTRACT_ID (CONTRACT_ID) ); create table if not exists b_adv_contract_2_type ( CONTRACT_ID int(18) not null default '0', TYPE_SID varchar(255) not null, primary key (CONTRACT_ID, TYPE_SID) ); create table if not exists b_adv_contract_2_user ( ID int(18) not null auto_increment, CONTRACT_ID int(18) not null default '0', USER_ID int(18) not null default '1', PERMISSION varchar(255) not null, primary key (ID), index IX_CONTRACT_ID(CONTRACT_ID) ); create table if not exists b_adv_contract_2_weekday ( CONTRACT_ID int(18) not null default '0', C_WEEKDAY varchar(10) not null, C_HOUR int(2) not null default '0', primary key (CONTRACT_ID, C_WEEKDAY, C_HOUR) ); create table if not exists b_adv_type ( SID varchar(255) not null, ACTIVE char(1) not null default 'Y', SORT int(18) not null default '100', NAME varchar(255), DESCRIPTION text, DATE_CREATE datetime, CREATED_BY int(18), DATE_MODIFY datetime, MODIFIED_BY int(18), primary key (SID) ); create table if not exists b_adv_banner_2_group ( BANNER_ID int(18) not null default '0', GROUP_ID int(18) not null default '0', primary key(BANNER_ID, GROUP_ID) );
<filename>AtividadesMySQL/MySQLdatabaseRelacionalJoin/Exercicio5MySQL.sql /*Atividade 5 Crie um banco de dados para um serviço de uma loja de produtos de construção, o nome do banco deverá ter o seguinte nome db_construindo_a_nossa_vida, onde o sistema trabalhará com as informações dos produtos desta empresa. O sistema trabalhará com 2 tabelas tb_produto e tb_categoria. Siga exatamente esse passo a passo: Crie uma tabela de categorias utilizando a habilidade de abstração e determine 3 atributos relevantes do tb_categoria para se trabalhar com o serviço deste ecommerce. Crie uma tabela de tb_produto e utilize a habilidade de abstração e determine 5 atributos relevantes dos tb_produto para se trabalhar com o serviço de uma loja de produtos (não esqueça de criar a foreign key de tb_categoria nesta tabela). Popule esta tabela Categoria com até 5 dados. Popule esta tabela Produto com até 8 dados. Faça um select que retorne os Produtos com o valor maior do que 50 reais. Faça um select trazendo os Produtos com valor entre 3 e 60 reais. Faça um select utilizando LIKE buscando os Produtos com a letra C. Faça um um select com Inner join entre tabela categoria e produto. Faça um select onde traga todos os Produtos de uma categoria específica (exemplo todos os produtos que são da categoria hidráulica).*/ create database db_construindo_a_nossa_vida; use db_construindo_a_nossa_vida; create table tb_categoria ( id_categoria bigint(4) auto_increment, tipo_material varchar(50) not null, pais_origem varchar(50) not null, primary key (id_categoria) ); create table tb_produto ( id_produto bigint(4) auto_increment, nome varchar(50) not null, marca varchar(50) not null, preco decimal (10,2) not null, quantidade_estoque int not null, primary key(id_produto), fk_categoria bigint(4), foreign key (fk_categoria) references tb_categoria(id_categoria) ); insert tb_categoria (tipo_material, pais_origem) values ("Revestimento","Argentina"), -- 1 ("Alvenaria","Brasil"), -- 2 ("Cobertura","Brasil"), -- 3 ("Pintura","Brasil"), -- 4 ("Acabamento","Paraguai"); -- 5 insert tb_produto (nome, marca, preco, quantidade_estoque, fk_categoria) values ("Cimento", "Votoran", 43.29, 375, 2), ("Tijolo", "Casa do Tijolo", 34.29, 9974, 2), ("Porcelanato", "Portobello", 23.29, 4758, 1), ("<NAME>", "Maçaranduba", 93.29, 6552, 3), ("Tinta vermelha", "Coral", 73.29, 2396, 4), ("Argamassa de rejunte", "Juntalíder", 63.29, 264, 5); select * from tb_produto WHERE preco > 50; select * from tb_produto WHERE preco between 3 and 60; select * from tb_produto WHERE nome like "C%"; select * from tb_produto inner join tb_categoria on tb_categoria.id_categoria = tb_produto.fk_categoria; select * from tb_produto inner join tb_categoria on tb_categoria.id_categoria = tb_produto.fk_categoria where tb_categoria.tipo_material = "Alvenaria";
With V4Patients AS ( SELECT a.Ptn_pk , CASE WHEN b.Name LIKE '%VCT%' THEN 'VCT' WHEN b.Name LIKE '%OPD%' OR b.Name LIKE '%Out%patient%' THEN 'OPD' WHEN b.Name LIKE '%MCH%' OR b.Name LIKE '%PMTCT%' THEN 'MCH' WHEN b.Name LIKE 'TB%' THEN 'TB' WHEN (b.Name LIKE '%Inpatient%' OR b.Name LIKE '%IPD%') AND CAST(DATEDIFF(dd, c.dob, c.RegistrationAtCCC)/365.25 as decimal(18,1)) < 15 THEN 'IPD-Child' WHEN (b.Name LIKE '%Inpatient%' OR b.Name LIKE '%IPD%') AND CAST(DATEDIFF(dd, c.dob, c.RegistrationAtCCC)/365.25 as decimal(18,1)) >= 15 THEN 'IPD-Adult' WHEN b.Name IS NULL THEN NULL ELSE 'Other' END AS EntryPoint from IQCareV4.dbo.mst_Patient a left join IQCareV4.dbo.mst_decode b on a.ReferredFrom = b.ID and b.CodeID IN (17, 1089) INNER JOIN IQCareV4.dbo.CCCPatientsBeingMigrated c ON a.Ptn_Pk = c.Ptn_Pk) , V1Patients AS ( select p.Ptn_Pk ,pl.EntryPointId V1_EntryPointCode ,li.Name EntryPoint from IQCareV1.[dbo].Patient p inner join IQCareV1.[dbo].[ServiceEntryPoint] pl on p.id=pl.Patientid left join IQCareV1.[dbo].[LookupItem] li on li.id = pl.EntryPointId ) , LineList AS ( SELECT a.Ptn_Pk , CASE WHEN a.EntryPoint <> b.EntryPoint OR (a.EntryPoint IS NOT NULL AND b.EntryPoint IS NULL) THEN 1 ELSE 0 END AS DoesNotMatch FROM V4Patients a LEFT JOIN V1Patients b ON a.Ptn_pk = b.Ptn_Pk) SELECT 'Entry Points' DataElement , COUNT(Ptn_Pk) Total , SUM(DoesNotMatch) DoesNotMatch FROM LineList
create or replace procedure lookup_application ( AGEN_NAME IN VARCHAR2, COLLECTION_SYSTEM_NAME IN VARCHAR2, LOADING_APPLICATION_NAME IN VARCHAR2, METHOD_NAME IN VARCHAR2, COMPUTATION_NAME IN VARCHAR2, AGEN_ID IN OUT NUMBER, COLLECTION_SYSTEM_ID IN OUT NUMBER, LOADING_APPLICATION_ID IN OUT NUMBER, METHOD_ID IN OUT NUMBER, COMPUTATION_ID IN OUT NUMBER ) IS TEMP_NAME VARCHAR2 ( 64 ); BEGIN /* First check all inputs */ IF AGEN_NAME IS NULL THEN DENY_ACTION ( 'INVALID <NULL> AGEN_NAME' ); ELSIF COLLECTION_SYSTEM_NAME IS NULL THEN DENY_ACTION ( 'INVALID <NULL> COLLECTION_SYSTEM_NAME' ); ELSIF LOADING_APPLICATION_NAME IS NULL THEN DENY_ACTION ( 'INVALID <NULL> LOADING_APPLICATION_NAME' ); ELSIF METHOD_NAME IS NULL THEN DENY_ACTION ( 'INVALID <NULL> METHOD_NAME' ); ELSIF COMPUTATION_NAME IS NULL THEN DENY_ACTION ( 'INVALID <NULL> COMPUTATION_NAME' ); END IF; BEGIN temp_name := AGEN_NAME; SELECT agen_id INTO AGEN_ID FROM hdb_agen WHERE agen_name = temp_name; EXCEPTION WHEN OTHERS THEN DENY_ACTION ( 'INVALID AGENCY NAME:' || AGEN_NAME ); END; /* now go get the collection_system_id */ BEGIN temp_name := collection_system_name; SELECT collection_system_ID INTO COLLECTION_SYSTEM_ID FROM hdb_collection_system WHERE collection_system_name = TEMP_NAME; EXCEPTION WHEN OTHERS THEN DENY_ACTION ( 'INVALID COLLECTION SYSTEM NAME:' || COLLECTION_SYSTEM_NAME ); END; /* now go get the loading_application_id */ BEGIN temp_name := LOADING_APPLICATION_NAME; SELECT loading_application_id INTO LOADING_APPLICATION_ID FROM hdb_loading_application WHERE loading_application_name = TEMP_NAME; EXCEPTION WHEN OTHERS THEN DENY_ACTION ( 'INVALID LOADING APPLICATION NAME:' || LOADING_APPLICATION_NAME ); END; /* now go get the method_id */ BEGIN temp_name := METHOD_NAME; SELECT method_id INTO METHOD_ID FROM hdb_method WHERE method_name = TEMP_NAME; EXCEPTION WHEN OTHERS THEN DENY_ACTION ( 'INVALID METHOD NAME:' || METHOD_NAME ); END; /* now go get the computation_id */ BEGIN temp_name := COMPUTATION_NAME; SELECT computation_id INTO COMPUTATION_ID FROM hdb_computed_datatype WHERE computation_name = temp_name; EXCEPTION WHEN OTHERS THEN DENY_ACTION ( 'INVALID COMPUTATION NAME:' || COMPUTATION_NAME ); END; END; / show errors; grant execute on lookup_application to public; create public synonym lookup_application for lookup_application;
<reponame>mwernli/digilog-crawling ALTER TABLE crawl ALTER COLUMN id SET DATA TYPE bigint; ALTER SEQUENCE crawl_id_seq AS bigint; ALTER TABLE crawl_analysis ALTER COLUMN id SET DATA TYPE bigint; ALTER TABLE crawl_analysis ALTER COLUMN crawl_id SET DATA TYPE bigint; ALTER SEQUENCE crawl_analysis_id_seq AS bigint; ALTER TABLE crawl_result ALTER COLUMN id SET DATA TYPE bigint; ALTER TABLE crawl_result ALTER COLUMN crawl_id SET DATA TYPE bigint; ALTER SEQUENCE crawl_result_id_seq AS bigint; ALTER TABLE crawl_stats ALTER COLUMN crawl_id SET DATA TYPE bigint; ALTER TABLE crawling_queue ALTER COLUMN id SET DATA TYPE bigint; ALTER SEQUENCE crawling_queue_id_seq AS bigint; ALTER TABLE queue_crawl ALTER COLUMN crawl_id SET DATA TYPE bigint; ALTER TABLE queue_crawl ALTER COLUMN queue_id SET DATA TYPE bigint;
<filename>taska-service/src/main/resources/db/migration/h2/V1__Init_Journal.sql<gh_stars>1-10 DROP TABLE IF EXISTS PUBLIC."journal"; CREATE TABLE IF NOT EXISTS PUBLIC."journal" ( "ordering" BIGINT AUTO_INCREMENT, "persistence_id" VARCHAR(255) NOT NULL, "sequence_number" BIGINT NOT NULL, "deleted" BOOLEAN DEFAULT FALSE NOT NULL, "tags" VARCHAR(255) DEFAULT NULL, "message" BYTEA NOT NULL, PRIMARY KEY("persistence_id", "sequence_number") ); CREATE UNIQUE INDEX "journal_ordering_idx" ON PUBLIC."journal"("ordering"); DROP TABLE IF EXISTS PUBLIC."snapshot"; CREATE TABLE IF NOT EXISTS PUBLIC."snapshot" ( "persistence_id" VARCHAR(255) NOT NULL, "sequence_number" BIGINT NOT NULL, "created" BIGINT NOT NULL, "snapshot" BYTEA NOT NULL, PRIMARY KEY("persistence_id", "sequence_number") );
-- Tags: no-backward-compatibility-check:22.6 SET allow_experimental_window_view = 1; DROP TABLE IF EXISTS data_02342; DROP TABLE IF EXISTS window_view_02342; -- ALTER CREATE TABLE data_02342 (a UInt8) ENGINE=MergeTree ORDER BY a; CREATE WINDOW VIEW window_view_02342 ENGINE=Memory AS SELECT count(a), tumbleStart(wid) AS w_start, tumbleEnd(tumble(now(), INTERVAL '3' SECOND)) AS w_end FROM data_02342 GROUP BY tumble(now(), INTERVAL '3' SECOND) AS wid; INSERT INTO data_02342 VALUES (42); ALTER TABLE data_02342 ADD COLUMN s String; INSERT INTO data_02342 VALUES (42, 'data_02342'); DROP TABLE data_02342; DROP TABLE window_view_02342; -- DROP/CREATE CREATE TABLE data_02342 (a UInt8) ENGINE=MergeTree ORDER BY a; CREATE WINDOW VIEW window_view_02342 ENGINE=Memory AS SELECT count(a), tumbleStart(wid) AS w_start, tumbleEnd(tumble(now(), INTERVAL '3' SECOND)) AS w_end FROM data_02342 GROUP BY tumble(now(), INTERVAL '3' SECOND) AS wid; INSERT INTO data_02342 VALUES (42); DROP TABLE data_02342; CREATE TABLE data_02342 (a UInt8, s String) ENGINE=MergeTree ORDER BY a; INSERT INTO data_02342 VALUES (42, 'data_02342'); DROP TABLE data_02342; DROP TABLE window_view_02342;
SET CURRENT SCHEMA SEC_OWNER; CREATE TABLE SECL_BO_DATA_STATUS_HIST ( BO_TXN_ID VARCHAR (36) NOT NULL , CLIENT_ID VARCHAR (100) , CLIENT_NAME VARCHAR (100) , CLIENT_ACCOUNT VARCHAR (100) , COMPANY_ID VARCHAR (100) , CLIENT_REF_NO VARCHAR (100) , VALUE_DATE TIMESTAMP , AMOUNT DECIMAL (16,2) , CURRENCY VARCHAR (20) , ORIG_BANK_ID VARCHAR (100) , BACKOFFICE_CODE VARCHAR (100) NOT NULL , BENE_ACCNT_NO VARCHAR (100) , BENE_NAME VARCHAR (100) , BENE_ADDR VARCHAR (256) , BENE_BANK_ID VARCHAR (100) , BENE_BANK_NAME VARCHAR (100) , BENE_BANK_ADDR VARCHAR (256) , INSTR_CREATED_TIME TIMESTAMP , INSTR_CREATED_BY VARCHAR (100) , DATA_LIFE_STATUS SMALLINT WITH DEFAULT 0 , MATCH_STATUS SMALLINT WITH DEFAULT 0 , MATCH_DATE TIMESTAMP , MATCH_CATEG_ID INTEGER , MATCHING_TIME INTEGER WITH DEFAULT -1 , MANUAL_MATCH CHAR (1) WITH DEFAULT 'N' , MATCHING_REASON VARCHAR (128) , SCREENING_TIME INTEGER NOT NULL , IS_MANUAL CHAR (1) WITH DEFAULT 'N' , IS_RESENT CHAR (1) WITH DEFAULT 'N' , CHANNEL_NAME VARCHAR (100) WITH DEFAULT 'UNKNOWN' , TXN_TYPE VARCHAR (30) WITH DEFAULT 'UNKNOWN' , OFAC_MSG_ID VARCHAR (64) NOT NULL , HIT_STATUS SMALLINT , FILE_TYPE VARCHAR (36) WITH DEFAULT 'NA', ACTUAL_VALUE_DATE TIMESTAMP , LAST_UPDATE_TIME TIMESTAMP WITH DEFAULT CURRENT_TIMESTAMP ) PARTITION BY COLUMN (BO_TXN_ID) REDUNDANCY 1 EVICTION BY LRUHEAPPERCENT EVICTACTION OVERFLOW PERSISTENT ASYNCHRONOUS ; CREATE TABLE SECL_BO_RAW_DATA ( BO_TXN_ID VARCHAR (36) NOT NULL , BO_RAW_DATA CLOB, MESSAGE_ID VARCHAR (64) , INCOMING_QUEUE VARCHAR (64), LAST_UPDATE_TIME TIMESTAMP WITH DEFAULT CURRENT_TIMESTAMP ) PARTITION BY COLUMN (BO_TXN_ID) COLOCATE WITH (SECL_BO_DATA_STATUS_HIST) REDUNDANCY 1 EVICTION BY LRUHEAPPERCENT EVICTACTION OVERFLOW PERSISTENT ASYNCHRONOUS ; CREATE TABLE SECL_MATCHED_DATA ( BACKOFFICE_TXN_ID VARCHAR (36) NOT NULL , CHANNEL_TXN_ID VARCHAR (36) NOT NULL , MATCH_DATE TIMESTAMP NOT NULL , MATCH_STATUS SMALLINT NOT NULL ) PARTITION BY COLUMN (BACKOFFICE_TXN_ID) COLOCATE WITH (SECL_BO_DATA_STATUS_HIST) REDUNDANCY 1 EVICTION BY LRUHEAPPERCENT EVICTACTION OVERFLOW PERSISTENT ASYNCHRONOUS ; --////////////////////////////////////////////////////////////// -- Channel Tables --------------------------------------------- CREATE TABLE SECT_CHANNEL_DATA ( CHANNEL_TXN_ID VARCHAR (36) NOT NULL , CLIENT_ID VARCHAR (100) , CLIENT_NAME VARCHAR (100) , CLIENT_ACCOUNT VARCHAR (100) , COMPANY_ID VARCHAR (100) , CLIENT_REF_NO VARCHAR (100) , VALUE_DATE TIMESTAMP , AMOUNT DECIMAL (16,2) , CURRENCY VARCHAR (20) , PAY_METHOD VARCHAR (100) , PAY_VEHICLE VARCHAR (100) , ORIG_BANK_ID VARCHAR (100) , BACKOFFICE_CODE VARCHAR (100) WITH DEFAULT 'UNKNOWN' , BENE_ACCNT_NO VARCHAR (100) , BENE_NAME VARCHAR (100) , BENE_ADDR VARCHAR (100) , BENE_BANK_ID VARCHAR (100) , BENE_BANK_NAME VARCHAR (100) , BENE_BANK_ADDR VARCHAR (256) , CLIENT_FILE_ID VARCHAR (100) , CLIENT_FILE_TIME TIMESTAMP , CHN_TXN_CREATED_TIME TIMESTAMP WITH DEFAULT CURRENT_TIMESTAMP, RAW_DATA CLOB NOT NULL , DATA_LIFE_STATUS SMALLINT NOT NULL , MATCH_STATUS SMALLINT WITH DEFAULT 1 , LAST_MATCH_DATE TIMESTAMP , MATCH_CATEG_ID INTEGER , IS_REJECTED CHAR (1) WITH DEFAULT 'N' , IS_CANCELLED CHAR (1) WITH DEFAULT 'N' , FILE_TYPE_ID VARCHAR (36) NOT NULL , ETL_TIME INTEGER NOT NULL , CHANNEL_NAME VARCHAR (100) WITH DEFAULT 'UNKNOWN' , TXN_TYPE VARCHAR (30) WITH DEFAULT 'UNKNOWN' , HIT_STATUS SMALLINT , ACTUAL_VALUE_DATE TIMESTAMP , LAST_UPDATE_TIME TIMESTAMP WITH DEFAULT CURRENT_TIMESTAMP , CONSTRAINT SECT_CHANNEL_DATA_PK PRIMARY KEY(CHANNEL_TXN_ID) ) PARTITION BY PRIMARY KEY REDUNDANCY 1 EVICTION BY LRUHEAPPERCENT EVICTACTION OVERFLOW PERSISTENT ASYNCHRONOUS ; CREATE TABLE SECL_CHN_DATA_STATUS_HIST ( CHANNEL_TXN_ID VARCHAR (36) NOT NULL , CLIENT_ID VARCHAR (100) , CLIENT_NAME VARCHAR (100) , CLIENT_ACCOUNT VARCHAR (100) , COMPANY_ID VARCHAR (100) , CLIENT_REF_NO VARCHAR (100) , VALUE_DATE TIMESTAMP , AMOUNT DECIMAL (16,2) , CURRENCY VARCHAR (20) , PAY_METHOD VARCHAR (100) , PAY_VEHICLE VARCHAR (100) , ORIG_BANK_ID VARCHAR (100) , BACKOFFICE_CODE VARCHAR (100) WITH DEFAULT 'UNKNOWN' , BENE_ACCNT_NO VARCHAR (100) , BENE_NAME VARCHAR (100) , BENE_ADDR VARCHAR (100) , BENE_BANK_ID VARCHAR (100) , BENE_BANK_NAME VARCHAR (100) , BENE_BANK_ADDR VARCHAR (256) , CLIENT_FILE_ID VARCHAR (100) , CLIENT_FILE_TIME TIMESTAMP , CHN_TXN_CREATED_TIME TIMESTAMP WITH DEFAULT CURRENT_TIMESTAMP, RAW_DATA CLOB NOT NULL , DATA_LIFE_STATUS SMALLINT NOT NULL , MATCH_STATUS SMALLINT WITH DEFAULT 1 , LAST_MATCH_DATE TIMESTAMP , MATCH_CATEG_ID INTEGER , IS_REJECTED CHAR (1) WITH DEFAULT 'N' , IS_CANCELLED CHAR (1) WITH DEFAULT 'N' , FILE_TYPE_ID VARCHAR (36) NOT NULL , ETL_TIME INTEGER NOT NULL , CHANNEL_NAME VARCHAR (100) WITH DEFAULT 'UNKNOWN' , TXN_TYPE VARCHAR (30) WITH DEFAULT 'UNKNOWN' , HIT_STATUS SMALLINT , ACTUAL_VALUE_DATE TIMESTAMP , LAST_UPDATE_TIME TIMESTAMP WITH DEFAULT CURRENT_TIMESTAMP ) PARTITION BY COLUMN (CHANNEL_TXN_ID) COLOCATE WITH (SECT_CHANNEL_DATA) REDUNDANCY 1 EVICTION BY LRUHEAPPERCENT EVICTACTION OVERFLOW PERSISTENT ASYNCHRONOUS ; CREATE TABLE SECL_CHN_ORPHAN_DATA_STATUS ( CHANNEL_TXN_ID VARCHAR (36) NOT NULL , BACKOFFICE_CODE VARCHAR (100) NOT NULL , CHANNEL_NAME VARCHAR (100) NOT NULL , FILE_TYPE VARCHAR (30) NOT NULL , TXN_TYPE VARCHAR (30) NOT NULL , DATA_LIFE_STATUS SMALLINT NOT NULL , MATCH_STATUS SMALLINT NOT NULL , MATCH_CATEG_ID SMALLINT NOT NULL , LAST_UPDATE_TIME TIMESTAMP WITH DEFAULT CURRENT_TIMESTAMP ) PARTITION BY (DATE(LAST_UPDATE_TIME)) REDUNDANCY 1 EVICTION BY LRUHEAPPERCENT EVICTACTION OVERFLOW PERSISTENT ASYNCHRONOUS ; ALTER TABLE SECL_CHN_ORPHAN_DATA_STATUS ADD CONSTRAINT SECL_CHN_ORPHAN_DATA_STATUS_PK PRIMARY KEY ( CHANNEL_TXN_ID ) ; --/////////////////////////////////////////////////////////// -- OFAC Tables --------------------------------------------- CREATE TABLE SECL_OFAC_MESSAGE ( BO_TXN_ID VARCHAR (36) , CHN_TXN_ID VARCHAR (36) , HIT_STATUS SMALLINT , MESSAGE_GUID VARCHAR (36) NOT NULL , LAST_UPDATE_TIME TIMESTAMP WITH DEFAULT CURRENT_TIMESTAMP , SCREENING_TIME INTEGER , NO_OF_CHUNKS INTEGER , FS_MESSAGE_ID VARCHAR (64) NOT NULL , DATA_LIFE_STATUS SMALLINT ) PARTITION BY COLUMN (FS_MESSAGE_ID) REDUNDANCY 1 EVICTION BY LRUHEAPPERCENT EVICTACTION OVERFLOW PERSISTENT ASYNCHRONOUS ; CREATE TABLE SECL_OFAC_CHUNKED_MESSAGE ( CHUNK_ID VARCHAR (36) NOT NULL , FS_MESSAGE_ID VARCHAR (64) NOT NULL , BACKOFFICE_TXN_ID VARCHAR (36) , CHANNEL_TXN_ID VARCHAR (36) , CHUNK_SEQ INTEGER , CHUNKED_MSG CLOB , FIRC_OUT_RES_HEADER CLOB, SENT_DATE TIMESTAMP , RECEIVING_TIME TIMESTAMP , ACK_STATUS SMALLINT , OUT_STATUS SMALLINT , SENT_LIFE_STATUS SMALLINT, OFAC_COMMENTS VARCHAR (512), CHECKSUM VARCHAR (32), LAST_UPDATE_TIME TIMESTAMP WITH DEFAULT CURRENT_TIMESTAMP ) PARTITION BY COLUMN (FS_MESSAGE_ID) COLOCATE WITH (SECL_OFAC_MESSAGE) REDUNDANCY 1 EVICTION BY LRUHEAPPERCENT EVICTACTION OVERFLOW PERSISTENT ASYNCHRONOUS ; CREATE TABLE SECT_CHANNEL_RAW_DATA ( CHANNEL_TXN_ID VARCHAR (36) NOT NULL , CHN_RAW_DATA CLOB, ERROR_CODE VARCHAR (36), LAST_UPDATE_TIME TIMESTAMP WITH DEFAULT CURRENT_TIMESTAMP, CONSTRAINT SECT_CHANNEL_RAW_DATA_PK PRIMARY KEY ( CHANNEL_TXN_ID ) ) PARTITION BY PRIMARY KEY COLOCATE WITH (SECT_CHANNEL_DATA) REDUNDANCY 1 ; CREATE UNIQUE INDEX SECT_CHANNEL_DATA_MATCHING_IDX ON SECT_CHANNEL_DATA ( CHANNEL_TXN_ID ASC , MATCH_STATUS ASC , LAST_MATCH_DATE ASC , MATCH_CATEG_ID ASC ) ; CREATE UNIQUE INDEX SECT_CHANNEL_DATA_HIT_IDX ON SECT_CHANNEL_DATA ( CHANNEL_TXN_ID ASC ) ; CREATE TABLE SECT_FILE_DETAIL ( FILE_INTERNAL_ID VARCHAR (36) NOT NULL , FILE_ID VARCHAR (100) , FILE_TYPE VARCHAR (30) NOT NULL , PROCESS_DT TIMESTAMP NOT NULL WITH DEFAULT CURRENT TIMESTAMP , FILE_HEADER CLOB NOT NULL , FILE_TRAIL CLOB NOT NULL , SUB_FILE_HEADER CLOB , SUB_FILE_HEADER2 CLOB , BATCH_FILE_DEADER CLOB ) ; ALTER TABLE SECT_FILE_DETAIL ADD CONSTRAINT SECT_FILE_DETAIL_PK PRIMARY KEY ( FILE_INTERNAL_ID ) ; --/////////////////////////////////////////////////////////// -- System Logging Tables ------------------------------ CREATE TABLE SECL_APP_LOG ( APP_LOG_ID VARCHAR (36) NOT NULL , LOG_TYPE CHAR (1) NOT NULL , LOG_SUB_TYPE VARCHAR (30) NOT NULL , LOG_KEY_VALUE VARCHAR (32) , LOG_MSG LONG VARCHAR, LOG_TIMESTAMP TIMESTAMP NOT NULL ) PARTITION BY (DATE(LOG_TIMESTAMP)) REDUNDANCY 1 EVICTION BY LRUHEAPPERCENT EVICTACTION OVERFLOW PERSISTENT ASYNCHRONOUS ; ALTER TABLE SECL_APP_LOG ADD CONSTRAINT SECL_APP_LOG_PK PRIMARY KEY ( APP_LOG_ID ) ; CREATE TABLE SECL_CHANGE_CONTROL ( CHANGE_ID VARCHAR (36) NOT NULL , CHANGE_TYPE VARCHAR (10) NOT NULL , CHANGE_CATEGORY VARCHAR (20) NOT NULL , CHANGE_DETAIL CLOB , CREATE_DATE TIMESTAMP NOT NULL , CREATE_BY VARCHAR (20) NOT NULL , IS_APPROVED CHAR (1) NOT NULL , APPROVE_DATE TIMESTAMP NOT NULL , APPROVED_BY VARCHAR (20) NOT NULL , IS_COMMIT CHAR (1) NOT NULL , COMMIT_DATE TIMESTAMP NOT NULL ) REPLICATE EVICTION BY LRUHEAPPERCENT EVICTACTION OVERFLOW PERSISTENT ASYNCHRONOUS ; ALTER TABLE SECL_CHANGE_CONTROL ADD CONSTRAINT SECL_CHANGE_CONTROL_PK PRIMARY KEY ( CHANGE_ID ) ; CREATE TABLE SECL_EXCEPTION_LOG ( EXCEPTION_ID VARCHAR (36) NOT NULL , EXCEPTION_TYPE SMALLINT WITH DEFAULT 0 , EXCEPTION_MODULE VARCHAR (10) NOT NULL , SEVERITY SMALLINT WITH DEFAULT 3 , EXCEPTION_MSG CLOB NOT NULL, EXCEPTION_TIME TIMESTAMP NOT NULL ) PARTITION BY COLUMN (EXCEPTION_ID) REDUNDANCY 1 EVICTION BY LRUHEAPPERCENT EVICTACTION OVERFLOW PERSISTENT ASYNCHRONOUS ; ALTER TABLE SECL_EXCEPTION_LOG ADD CONSTRAINT SECL_EXCEPTION_LOG_PK PRIMARY KEY ( EXCEPTION_ID ) ; CREATE TABLE SECL_EXCEPTION_REPORTS ( EXCEPTION_ID VARCHAR (36) NOT NULL , REPORT_DATE TIMESTAMP NOT NULL , REPORT_CHANNEL VARCHAR (10) NOT NULL , REPORT_STATUS SMALLINT WITH DEFAULT 1 , LAST_UPDATE_BY VARCHAR (20) NOT NULL , LAST_UPDATE_DATE TIMESTAMP NOT NULL , LAST_UPDATE_COMMENT VARCHAR (256) NOT NULL ) PARTITION BY COLUMN (EXCEPTION_ID) COLOCATE WITH (SECL_EXCEPTION_LOG) REDUNDANCY 1 EVICTION BY LRUHEAPPERCENT EVICTACTION OVERFLOW PERSISTENT ASYNCHRONOUS ; CREATE TABLE SECL_MQ_LOG ( OFAC_MQ_LOG_ID VARCHAR (36) NOT NULL , MQ_MSG_ID VARCHAR (24) , MQ_CORRELATION_ID VARCHAR (24) , STATUS VARCHAR (3) NOT NULL , MQ_FEEDBACK VARCHAR (30) , MQ_CONTENT CLOB NOT NULL , LAST_UPDATE_USER VARCHAR (20) NOT NULL , LAST_UPDATE_DATE DATE NOT NULL , IN_OUT_IND CHAR (1) NOT NULL , SECT_MQ_ID VARCHAR (36) NOT NULL ) PARTITION BY (DATE(LAST_UPDATE_DATE)) REDUNDANCY 1 EVICTION BY LRUHEAPPERCENT EVICTACTION OVERFLOW PERSISTENT ASYNCHRONOUS ; ALTER TABLE SECL_MQ_LOG ADD CONSTRAINT SECT_ORPHAN_MQ_LOG_PK PRIMARY KEY ( OFAC_MQ_LOG_ID ) ; CREATE TABLE SECL_SYS_LOG ( SYS_LOG_ID VARCHAR (36) NOT NULL , LOG_TYPE CHAR (1) NOT NULL , LOG_SUB_TYPE VARCHAR (30) NOT NULL , LOG_KEY_VALUE VARCHAR (32) , LOG_MSG CLOB , LOG_DATE TIMESTAMP , LOG_USER VARCHAR (30) ) PARTITION BY (DATE(LOG_DATE)) REDUNDANCY 1 EVICTION BY LRUHEAPPERCENT EVICTACTION OVERFLOW PERSISTENT ASYNCHRONOUS ; ALTER TABLE SECL_SYS_LOG ADD CONSTRAINT SECL_SYS_LOG_PK PRIMARY KEY ( SYS_LOG_ID ) ; CREATE TABLE SECL_USER_ACCESS_LOG ( LOG_SEQ VARCHAR (36) NOT NULL , ACCESS_USER VARCHAR (30) NOT NULL , ACCESS_TIME TIMESTAMP NOT NULL , FROM_SERVER VARCHAR (100) NOT NULL , ACTION_TYPE CHAR (1) NOT NULL , SQL_STMT CLOB ) PARTITION BY (DATE(ACCESS_TIME)) REDUNDANCY 1 EVICTION BY LRUHEAPPERCENT EVICTACTION OVERFLOW PERSISTENT ASYNCHRONOUS ; ALTER TABLE SECL_USER_ACCESS_LOG ADD CONSTRAINT SECL_USER_ACCESS_LOG_PK PRIMARY KEY ( LOG_SEQ ) ; --/////////////////////////////////////////////////////////// -- Metadata Tables ----------------------------------------- CREATE TABLE SECM_BACKOFFICE_ONBOARDED ( BACKOFFICE_CODE VARCHAR (100) NOT NULL , BACKOFFICE_NAME VARCHAR (30) NOT NULL , DESCRIPTION VARCHAR (100) , BACKOFFICE_LOC VARCHAR (10) NOT NULL , ONBOARD_DATE TIMESTAMP NOT NULL , END_DATE TIMESTAMP NOT NULL , LAST_UPDATE_BY VARCHAR (20) NOT NULL , LAST_UPDATE_DATE TIMESTAMP NOT NULL ) REPLICATE PERSISTENT ASYNCHRONOUS ; ALTER TABLE SECM_BACKOFFICE_ONBOARDED ADD CONSTRAINT SECM_BACKOFFICE_ONBOARDED_PK PRIMARY KEY ( BACKOFFICE_CODE ) ; CREATE TABLE SECM_BO_MESSAGE_TAG_MAPPING ( TAG VARCHAR (64) , BACKOFFICE_CODE VARCHAR (100) NOT NULL , MESSAGE_TYPE VARCHAR (64) , KEY_ID VARCHAR (64) , COMMENTS VARCHAR (64) NOT NULL , ONBOARDED_DATE TIMESTAMP NOT NULL , END_DATE TIMESTAMP NOT NULL , LAST_UPDATE_DATE TIMESTAMP NOT NULL , ACTION_KEY VARCHAR (36) NOT NULL , LAST_UPDATE_BY VARCHAR (20) NOT NULL ) REPLICATE PERSISTENT ASYNCHRONOUS ; CREATE TABLE SECM_BS_DETERMINATION_GENERAL ( FILE_CATEGORY VARCHAR (30) NOT NULL , "FACTOR#1" VARCHAR (30) NOT NULL , "FACTOR#2" VARCHAR (30) NOT NULL , FULL_DESTINATION VARCHAR (50) NOT NULL , FINAL_DESTINATION VARCHAR (30) NOT NULL , ONBOARD_DATE TIMESTAMP NOT NULL , END_DATE TIMESTAMP NOT NULL , LAST_UPDATE_BY VARCHAR (20) NOT NULL , LAST_UPDATE_DATE TIMESTAMP NOT NULL ) REPLICATE PERSISTENT ASYNCHRONOUS ; ALTER TABLE SECM_BS_DETERMINATION_GENERAL ADD CONSTRAINT SECM_BS_DETERMINATION_GENERAL_PK PRIMARY KEY ( FILE_CATEGORY, "FACTOR#1", "FACTOR#2" ) ; CREATE TABLE SECM_BS_DETERMINATION_PAIN001 ( FILE_CATEGORY VARCHAR (30) NOT NULL , CLEARING_CHANNEL VARCHAR (30) NOT NULL , BANK_ID VARCHAR (30) NOT NULL , PAYMENT_TYPE VARCHAR (30) , CHECK_TYPE VARCHAR (30) , SERVICE_LEVEL VARCHAR (30) , PRIORITY VARCHAR (30) , FULL_DESTINATION VARCHAR (50) NOT NULL , FINAL_DESTINATION VARCHAR (30) NOT NULL , ONBOARD_DATE TIMESTAMP NOT NULL , END_DATE TIMESTAMP NOT NULL , LAST_UPDATE_BY VARCHAR (20) NOT NULL , LAST_UPDATE_DATE TIMESTAMP NOT NULL ) REPLICATE PERSISTENT ASYNCHRONOUS ; CREATE TABLE SECM_CATEGORIZATION ( CATEG_ID INTEGER NOT NULL , CATEG_TYPE VARCHAR (30) NOT NULL , CATEG_DESC VARCHAR (1000) NOT NULL , ONBOARD_DATE TIMESTAMP NOT NULL , END_DATE TIMESTAMP NOT NULL , LAST_UPDATE_DATE TIMESTAMP NOT NULL , LAST_UPDATE_BY VARCHAR (20) NOT NULL ) REPLICATE PERSISTENT ASYNCHRONOUS ; ALTER TABLE SECM_CATEGORIZATION ADD CONSTRAINT SECM_CATEORISACTION_PK PRIMARY KEY ( CATEG_ID ) ; CREATE TABLE SECM_DATA_DESTINATION ( DATA_DESTI VARCHAR (20) NOT NULL , LOC_DESC VARCHAR (100) NOT NULL , SRC_TABLE VARCHAR (30) NOT NULL , TGT_TABLE VARCHAR (30) NOT NULL , ONBOARD_DATE TIMESTAMP NOT NULL , END_DATE TIMESTAMP NOT NULL , LAST_UPDATE_BY VARCHAR (20) NOT NULL , LAST_UPDATE_DATE TIMESTAMP NOT NULL ) REPLICATE PERSISTENT ASYNCHRONOUS ; ALTER TABLE SECM_DATA_DESTINATION ADD CONSTRAINT SECM_DATA_DESTINATION_PK PRIMARY KEY ( DATA_DESTI ) ; CREATE TABLE SECM_FILE_CATEGORY ( FILE_CATEGORY VARCHAR (30) NOT NULL , BS_DETERMINATION_TAB VARCHAR (30) NOT NULL , ONBOARD_DATE TIMESTAMP NOT NULL , END_DATE TIMESTAMP NOT NULL , LAST_UPDATE_BY VARCHAR (20) NOT NULL , LAST_UPDATE_DATE TIMESTAMP NOT NULL ) REPLICATE PERSISTENT ASYNCHRONOUS ; ALTER TABLE SECM_FILE_CATEGORY ADD CONSTRAINT SECM_FILE_CATEGORY_PK PRIMARY KEY ( FILE_CATEGORY ) ; CREATE TABLE SECM_FILE_TYPE_ONBOARDED ( FILE_TYPE_ID VARCHAR (36) NOT NULL , FILE_TYPE VARCHAR (30) NOT NULL , FILE_CATEGORY VARCHAR (30) NOT NULL , DESCRIPTION VARCHAR (100) , FILE_TYPE_MAPPING_TAB VARCHAR (30) NOT NULL , ONBOARD_DATE TIMESTAMP NOT NULL , END_DATE TIMESTAMP NOT NULL , LAST_UPDATE_BY VARCHAR (20) NOT NULL , LAST_UPDATE_DATE TIMESTAMP ) REPLICATE PERSISTENT ASYNCHRONOUS ; ALTER TABLE SECM_FILE_TYPE_ONBOARDED ADD CONSTRAINT SECM_FILE_ONBOARDED_PK PRIMARY KEY ( FILE_TYPE_ID ) ; CREATE TABLE SECM_FILE_WATCHER ( FILE_WATCHER_ID VARCHAR (36) NOT NULL , BACKOFFICE_CODE VARCHAR (30) NOT NULL , BACKOFFICE_NAME VARCHAR (30) NOT NULL , CHANNEL VARCHAR (100) , ONBOARD_DATE TIMESTAMP NOT NULL , END_DATE TIMESTAMP , LAST_UPDATE_DATE TIMESTAMP NOT NULL , LAST_UPDATE_BY VARCHAR (20) NOT NULL ) REPLICATE PERSISTENT ASYNCHRONOUS ; ALTER TABLE SECM_FILE_WATCHER ADD CONSTRAINT SECM_FILE_WATCHER_PK PRIMARY KEY ( FILE_WATCHER_ID ) ; CREATE TABLE SECM_FILE_WATCHER_CONFIGS ( FILE_WATCHER_ID VARCHAR (36) NOT NULL , CONFIG_KEY VARCHAR (20) NOT NULL , CONFIG_VALUE VARCHAR (256) NOT NULL , ONBOARD_DATE TIMESTAMP NOT NULL , END_DATE TIMESTAMP NOT NULL , LAST_UPDATE_DATE TIMESTAMP NOT NULL , LAST_UPDATE_BY VARCHAR (20) NOT NULL ) REPLICATE PERSISTENT ASYNCHRONOUS ; CREATE TABLE SECM_FIRCOSOFT_HEADER_MAPPING ( FIELD_NAME VARCHAR (30) NOT NULL , EXPLANATION VARCHAR (256) , IS_MANDATORY CHAR (1) NOT NULL , USED_BY VARCHAR (50) , BYTES INTEGER NOT NULL , FIELD_TYPE VARCHAR (10) NOT NULL , FMF_VERIFY_FIELD VARCHAR (20) , SECURITAS_VALUE VARCHAR (100) , ONBOARD_DATE TIMESTAMP NOT NULL , END_DATE TIMESTAMP NOT NULL , LAST_UPDATE_BY VARCHAR (20) NOT NULL , LAST_UPDATE_DATE TIMESTAMP NOT NULL ) REPLICATE PERSISTENT ASYNCHRONOUS ; ALTER TABLE SECM_FIRCOSOFT_HEADER_MAPPING ADD CONSTRAINT SECM_FIRCOSOFT_HEADER_MAPPING_PK PRIMARY KEY ( FIELD_NAME ) ; CREATE TABLE SECM_FIRCOSOFT_XML_TAGS ( XML_TAG VARCHAR (30) NOT NULL , DESCRIPTION VARCHAR (100) NOT NULL , ONBOARD_DATE TIMESTAMP NOT NULL , END_DATE TIMESTAMP NOT NULL , LAST_UPDATE_BY VARCHAR (20) NOT NULL , LAST_UPDATE_DATE TIMESTAMP NOT NULL ) REPLICATE PERSISTENT ASYNCHRONOUS ; ALTER TABLE SECM_FIRCOSOFT_XML_TAGS ADD CONSTRAINT SECM_FIRCOSOFT_XML_TAGS_PK PRIMARY KEY ( XML_TAG ) ; CREATE TABLE SECM_HIT_STATUS_MAP ( BACKOFFICE_CODE VARCHAR (100) NOT NULL , OFAC_STATUS SMALLINT NOT NULL , SEC_STATUS SMALLINT , ONBOARD_DATE TIMESTAMP NOT NULL , END_DATE TIMESTAMP NOT NULL , LAST_UPDATE_BY VARCHAR (20) NOT NULL , LAST_UPDATE_DATE TIMESTAMP NOT NULL ) REPLICATE PERSISTENT ASYNCHRONOUS ; ALTER TABLE SECM_HIT_STATUS_MAP ADD CONSTRAINT SECM_HIT_STATUS_MAP_PK PRIMARY KEY ( OFAC_STATUS, BACKOFFICE_CODE ) ; CREATE TABLE SECM_KEY_LIST ( KEY_ID VARCHAR (36) NOT NULL , KEY_NAME VARCHAR (30) NOT NULL , DESCRIPTION VARCHAR (50) , DEFINED_BY VARCHAR (10) WITH DEFAULT 'SECURITAS' , KEY_DT VARCHAR (10) NOT NULL , KEY_CATEGORY CHAR (1) WITH DEFAULT 'P' , CHN_DATA_TABLE VARCHAR (30) NOT NULL , BO_DATA_TABLE VARCHAR (30) NOT NULL , ONBOARD_DATE TIMESTAMP NOT NULL , END_DATE TIMESTAMP NOT NULL , LAST_UPDATE_BY VARCHAR (20) NOT NULL , LAST_UPDATE_DATE TIMESTAMP NOT NULL ) REPLICATE PERSISTENT ASYNCHRONOUS ; ALTER TABLE SECM_KEY_LIST ADD CONSTRAINT SECM_KEY_LIST_PK PRIMARY KEY ( KEY_ID ) ; CREATE TABLE SECM_LOCATION ( LOCATION_CODE VARCHAR (10) NOT NULL , LOCATION_NAME VARCHAR (20) NOT NULL , DATA_ARCHIVE INTEGER NOT NULL , TIME_ZONE VARCHAR (10) NOT NULL , TIME_FORMAT VARCHAR (30) NOT NULL , ONBOARD_DATE TIMESTAMP NOT NULL , END_DATE TIMESTAMP NOT NULL , LAST_UPDATE_BY VARCHAR (20) NOT NULL , LAST_UPDATE_DATE TIMESTAMP NOT NULL ) REPLICATE PERSISTENT ASYNCHRONOUS ; ALTER TABLE SECM_LOCATION ADD CONSTRAINT SECM_LOCATION_PK PRIMARY KEY ( LOCATION_CODE ) ; CREATE TABLE SECM_MATCHING_KEY_INFO ( BACKOFFICE_CODE VARCHAR (100) NOT NULL , KEY_ID VARCHAR (36) NOT NULL , MATCHING_PRIORITY SMALLINT NOT NULL, ONBOARD_DATE TIMESTAMP NOT NULL , END_DATE TIMESTAMP NOT NULL , LAST_UPDATE_BY VARCHAR (20) NOT NULL , LAST_UPDATE_DATE TIMESTAMP ) REPLICATE PERSISTENT ASYNCHRONOUS ; ALTER TABLE SECM_MATCHING_KEY_INFO ADD CONSTRAINT SECM_MATCHING_KEY_INFO_PK PRIMARY KEY ( BACKOFFICE_CODE, KEY_ID, MATCHING_PRIORITY ) ; CREATE TABLE SECM_MQ ( MQ_ID VARCHAR (36) NOT NULL , MGR_NAME VARCHAR (15) NOT NULL , MQ_NAME VARCHAR (30) NOT NULL , TXN_ACTION VARCHAR (25) , TRANSFORMER_REFS VARCHAR (100) , EXCHANGE_PATTERN VARCHAR (16) NOT NULL , MQ_STATUS VARCHAR (10) WITH DEFAULT 'ACTIVE' , ONBOARD_DATE TIMESTAMP NOT NULL , END_DATE TIMESTAMP NOT NULL , LAST_UPDATE_BY VARCHAR (20) NOT NULL , LAST_UPDATE_DATE TIMESTAMP NOT NULL ) REPLICATE PERSISTENT ASYNCHRONOUS ; ALTER TABLE SECM_MQ ADD CONSTRAINT SECM_MQ_PK PRIMARY KEY ( MQ_ID ) ; CREATE TABLE SECM_MQ_BO_MAP ( MQ_ID VARCHAR (36) NOT NULL , BACKOFFICE_CODE VARCHAR (100) NOT NULL , ONBOARD_DATE TIMESTAMP NOT NULL , END_DATE TIMESTAMP NOT NULL , LAST_UPDATE_BY VARCHAR (20) NOT NULL , LAST_UPDATE_DATE TIMESTAMP NOT NULL ) REPLICATE PERSISTENT ASYNCHRONOUS ; ALTER TABLE SECM_MQ_BO_MAP ADD CONSTRAINT SECM_MQ_BO_MAP_PK PRIMARY KEY ( BACKOFFICE_CODE, MQ_ID ) ; CREATE TABLE SECM_MQ_MGR ( MGR_NAME VARCHAR (15) NOT NULL , PROCESS_ID VARCHAR (10) NOT NULL , CONNECTOR_CONFIG CLOB NOT NULL , MQ_MGR VARCHAR (10) NOT NULL , MQ_FACTORY_NAME VARCHAR (10) NOT NULL , HOSTNAME VARCHAR (50) NOT NULL , CHANNEL VARCHAR (30) , MQ_PORT VARCHAR (50) NOT NULL , TRANSPORT_TYPE VARCHAR (50) , SSL_CIPHER VARCHAR (50) , ONBOARD_DATE TIMESTAMP NOT NULL , END_DATE TIMESTAMP NOT NULL , LAST_UPDATE_BY VARCHAR (20) NOT NULL , LAST_UPDATE_DATE TIMESTAMP NOT NULL ) REPLICATE PERSISTENT ASYNCHRONOUS ; ALTER TABLE SECM_MQ_MGR ADD CONSTRAINT SECM_MQ_MGR_PK PRIMARY KEY ( MGR_NAME ) ; CREATE TABLE SECM_OFAC_MQ_ROUTING ( INPUT_MQ_ID VARCHAR (36) NOT NULL , LOB VARCHAR (10) NOT NULL , LEGAL_ENTITY VARCHAR (50) , BUSINESS_TYPE VARCHAR (50) , MSG_TYPE VARCHAR (50) , CURRENCY VARCHAR (10) , FIRCOSOFT_MQ_ID VARCHAR (36) NOT NULL , ACK_MQ_ID VARCHAR (36) NOT NULL , DECISION_MQ_ID VARCHAR (36) NOT NULL , STOP_MQ_ID VARCHAR (36) , ONBOARD_DATE TIMESTAMP NOT NULL , END_DATE TIMESTAMP NOT NULL , LAST_UPADTE_BY VARCHAR (20) NOT NULL , LAST_UPDATE_DATE TIMESTAMP NOT NULL ) REPLICATE PERSISTENT ASYNCHRONOUS ; CREATE INDEX SECM_OFAC_MQ_ROUTING_LOB_INQ_IDX ON SECM_OFAC_MQ_ROUTING ( INPUT_MQ_ID ASC , LOB ASC ) ; CREATE TABLE SECM_PARSER_CONFIGURATION ( PARSER_ID INTEGER , BACKOFFICE_CODE VARCHAR (100) NOT NULL , PARSER_NAME VARCHAR (64) , MESSAGE_TYPE VARCHAR (64) , ONBOARD_DATE TIMESTAMP NOT NULL , END_DATE TIMESTAMP NOT NULL , LAST_UPDATE_BY VARCHAR (20) NOT NULL , LAST_UPDATE_DATE TIMESTAMP NOT NULL ) REPLICATE PERSISTENT ASYNCHRONOUS ; CREATE TABLE SECM_PREMATCH_TRANSFORMATION ( ACTION_KEY VARCHAR (36) NOT NULL , ACTION_NAME VARCHAR (30) NOT NULL , DESCRIPTION VARCHAR (100) , ONBOARD_DATE TIMESTAMP NOT NULL , END_DATE TIMESTAMP NOT NULL , LAST_UPDATE_BY VARCHAR (20) NOT NULL , LAST_UPDATE_DATE TIMESTAMP NOT NULL ) REPLICATE PERSISTENT ASYNCHRONOUS ; ALTER TABLE SECM_PREMATCH_TRANSFORMATION ADD CONSTRAINT SECM_PREMATCH_TRANSF_PK PRIMARY KEY ( ACTION_KEY ) ; CREATE TABLE SECM_PROCESS_CONFIG ( PROCESS_ID VARCHAR (10) NOT NULL , HOSTNAME VARCHAR (100) NOT NULL , ROOT_PATH VARCHAR (200) NOT NULL , MULE_CONFIG CLOB NOT NULL , START_COMMAND VARCHAR (200) NOT NULL , ONBOARD_DATE TIMESTAMP NOT NULL , END_DATE TIMESTAMP NOT NULL , LAST_UPDATE_BY VARCHAR (20) NOT NULL , LAST_UPDATE_DATE TIMESTAMP NOT NULL ) REPLICATE PERSISTENT ASYNCHRONOUS ; ALTER TABLE SECM_PROCESS_CONFIG ADD CONSTRAINT SECM_PROCESS_CONFIG_PK PRIMARY KEY ( PROCESS_ID ) ; CREATE TABLE SECM_STATUS_DECISION_DATA ( PREV_MATCH_STATUS SMALLINT NOT NULL , CURRENT_STATUS SMALLINT , NEEDS_UPDATE CHAR (1) , APPLICABLE_FOR VARCHAR (10) ) REPLICATE PERSISTENT ASYNCHRONOUS ; CREATE TABLE SECL_BO_DATA_STATUS_HIST_TEMP ( BO_TXN_ID VARCHAR (36) NOT NULL, DATA_LIFE_STATUS SMALLINT WITH DEFAULT 0, VALUE_DATE TIMESTAMP , LAST_UPDATE_TIME TIMESTAMP ) PARTITION BY COLUMN (BO_TXN_ID) COLOCATE WITH (SECL_BO_DATA_STATUS_HIST) REDUNDANCY 1 EVICTION BY LRUHEAPPERCENT EVICTACTION OVERFLOW PERSISTENT ASYNCHRONOUS ; CREATE TABLE SECM_TXN_MANAGEMENT ( BACKOFFICE_CODE VARCHAR (100) NOT NULL , TXN_TYPE VARCHAR (30) NOT NULL WITH DEFAULT 'UNKNOWN' , DESCRIPTION VARCHAR (120) , TXN_RETENTION INTEGER NOT NULL , TXN_ORPHAN INTEGER NOT NULL , TXN_HOUSEKEEPING INTEGER NOT NULL , ONBOARD_DATE TIMESTAMP NOT NULL , END_DATE TIMESTAMP NOT NULL , LAST_UPDATE_BY VARCHAR (20) NOT NULL , LAST_UPDATE_DATE TIMESTAMP NOT NULL ) REPLICATE PERSISTENT ASYNCHRONOUS ; ALTER TABLE SECM_TXN_MANAGEMENT ADD CONSTRAINT SECM_TXN_MANAGEMENT_PK PRIMARY KEY ( BACKOFFICE_CODE, TXN_TYPE ) ; CREATE TABLE SECM_XML_TAG_MAPPINGS ( FILE_TYPE_ID VARCHAR (36) NOT NULL , XML_START_TAG VARCHAR (30) NOT NULL , XML_CLOSE_TAG VARCHAR (30) NOT NULL , XML_COMMENT VARCHAR (100) , TAG_FORMAT VARCHAR (50) , KEY_ID VARCHAR (36) NOT NULL , ONBOARD_DATE TIMESTAMP NOT NULL , END_DATE TIMESTAMP NOT NULL , LAST_UPDATE_BY VARCHAR (20) NOT NULL , LAST_UPDATE_DATE TIMESTAMP NOT NULL ) REPLICATE PERSISTENT ASYNCHRONOUS ; ALTER TABLE SECM_XML_TAG_MAPPINGS ADD CONSTRAINT SECM_XML_TAG_MAPPINGS_PK PRIMARY KEY ( FILE_TYPE_ID, XML_START_TAG, XML_CLOSE_TAG ) ; CREATE TABLE SECM_TEMPLATE ( TEMPLATE_ID VARCHAR (50), TEMPLATE_FILE_NAME VARCHAR(200), DESCRIPTION VARCHAR (200), LAST_UPDATE_TIME TIMESTAMP WITH DEFAULT CURRENT_TIMESTAMP, CONSTRAINT SECM_TEMPLATE_PK PRIMARY KEY ( TEMPLATE_ID ) ) REPLICATE PERSISTENT ASYNCHRONOUS ; CREATE TABLE SECM_ACTION_HANDLER ( ACTION_HANDLER_ID VARCHAR (50), DESCRIPTION VARCHAR (200), FQCN VARCHAR(200), CONSTRAINT SECM_ACTION_HANDLERS_PK PRIMARY KEY( ACTION_HANDLER_ID ) ) REPLICATE PERSISTENT ASYNCHRONOUS ; CREATE TABLE SECM_ERROR_CODES ( ERROR_CODE VARCHAR(50), DESCRIPTION VARCHAR(200), CONSTRAINT SECM_ERROR_CODES_PK PRIMARY KEY ( ERROR_CODE ) ) REPLICATE PERSISTENT ASYNCHRONOUS ; CREATE TABLE SECM_USER ( USERID VARCHAR (50), USER_EMAIL_ID VARCHAR (50), CONSTRAINT SECM_USER_PK PRIMARY KEY ( USERID ) ) REPLICATE PERSISTENT ASYNCHRONOUS ; CREATE TABLE SECM_GROUP ( GROUPID VARCHAR (50), GROUP_NAME VARCHAR(50), DESCRIPTION VARCHAR(200), CONSTRAINT SECM_GROUP_PK PRIMARY KEY ( GROUPID ) ) REPLICATE PERSISTENT ASYNCHRONOUS ; CREATE TABLE SECM_COUNTRY ( COUNTRY_CODE VARCHAR(10), COUNTRY_NAME VARCHAR(50), LOCALE VARCHAR(10), CONSTRAINT SECM_COUNTRY_PK PRIMARY KEY ( COUNTRY_CODE ), CONSTRAINT SECM_COUNTRY_UNQ UNIQUE ( LOCALE ) ) REPLICATE PERSISTENT ASYNCHRONOUS ; CREATE TABLE SECM_ERROR_TEMPLATE ( ERROR_CODE VARCHAR (50), TEMPLATE_ID VARCHAR (50), USER_GROUP_ID VARCHAR (50), CONSTRAINT SECM_ERROR_TEMPLATE_PK PRIMARY KEY ( ERROR_CODE, USER_GROUP_ID ), CONSTRAINT SECM_ERROR_TEMPLATE_FK FOREIGN KEY( TEMPLATE_ID ) REFERENCES SECM_TEMPLATE ( TEMPLATE_ID ), CONSTRAINT SECM_ERROR_TEMPLATE_FK2 FOREIGN KEY( ERROR_CODE ) REFERENCES SECM_ERROR_CODES( ERROR_CODE ) ) REPLICATE PERSISTENT ASYNCHRONOUS ; CREATE TABLE SECM_ERROR_ACTION_HANDLER( ERROR_CODE VARCHAR(50), ACTION_HANDLER_ID VARCHAR(50), CONSTRAINT SECM_ERROR_ACTION_HANDLER_PK PRIMARY KEY( ERROR_CODE, ACTION_HANDLER_ID ), CONSTRAINT SECM_ERROR_ACTION_HANDLER_FK FOREIGN KEY( ACTION_HANDLER_ID ) REFERENCES SECM_ACTION_HANDLER ( ACTION_HANDLER_ID ), CONSTRAINT SECM_ERROR_ACTION_HANDLER_FK2 FOREIGN KEY( ERROR_CODE ) REFERENCES SECM_ERROR_CODES( ERROR_CODE ) ) REPLICATE PERSISTENT ASYNCHRONOUS ; CREATE TABLE SECM_ERROR_MESSAGE( ERROR_CODE VARCHAR(50), ERROR_MESSAGE VARCHAR(500), LOCALE VARCHAR(10), CONSTRAINT SECM_ERROR_MESSAGE_PK PRIMARY KEY( ERROR_CODE, LOCALE ), CONSTRAINT SECM_ERROR_MESSAGE_FK FOREIGN KEY ( ERROR_CODE ) REFERENCES SECM_ERROR_CODES ( ERROR_CODE ), CONSTRAINT SECM_ERROR_MESSAGE_FK2 FOREIGN KEY ( LOCALE ) REFERENCES SECM_COUNTRY ( LOCALE ) ) REPLICATE PERSISTENT ASYNCHRONOUS ; CREATE TABLE SECM_USER_GROUP( USERID VARCHAR(50), GROUPID VARCHAR(50), CONSTRAINT SECM_USER_GROUP_PK PRIMARY KEY ( USERID, GROUPID ), CONSTRAINT SECM_USER_GROUP_FK FOREIGN KEY ( USERID ) REFERENCES SECM_USER ( USERID ), CONSTRAINT SECM_USER_GROUP_FK2 FOREIGN KEY ( GROUPID ) REFERENCES SECM_GROUP ( GROUPID ) ) REPLICATE PERSISTENT ASYNCHRONOUS ; CREATE TABLE SECM_ERROR_MAIL_CONFIG( ERROR_CODE VARCHAR(50), USER_EMAIL_ID VARCHAR(200), CONSTRAINT SECM_ERROR_GROUP_PK PRIMARY KEY ( ERROR_CODE, USER_EMAIL_ID ), CONSTRAINT SECM_ERROR_GROUP_FK1 FOREIGN KEY ( ERROR_CODE ) REFERENCES SECM_ERROR_CODES ( ERROR_CODE ) ) REPLICATE PERSISTENT ASYNCHRONOUS ; CREATE TABLE SECM_CHANNEL_ONBOARDED ( CHANNEL_ID VARCHAR (36) NOT NULL , CHANNEL_NAME VARCHAR (100) NOT NULL , CHANNEL_LOC VARCHAR (20) NOT NULL , DESCRIPTION VARCHAR (100) , ONBOARD_DATE TIMESTAMP NOT NULL , END_DATE TIMESTAMP NOT NULL , LAST_UPDATE_BY VARCHAR (20) NOT NULL , LAST_UPDATE_DATE TIMESTAMP NOT NULL ) REPLICATE PERSISTENT ASYNCHRONOUS ; ALTER TABLE SECM_CHANNEL_ONBOARDED ADD CONSTRAINT SECM_CHANNEL_ONBOARDED_PK PRIMARY KEY ( CHANNEL_ID ) ; --/////////////////////////////////////////////////////////// -- Cross-Region WAN tables ---------------------------------- CREATE TABLE SECW_CHANNEL_DATA_APAC ( CHANNEL_TXN_ID VARCHAR (36) NOT NULL , CLIENT_ID VARCHAR (100) , CLIENT_NAME VARCHAR (100) , CLIENT_ACCOUNT VARCHAR (100) , COMPANY_ID VARCHAR (100) , CLIENT_REF_NO VARCHAR (100) , VALUE_DATE TIMESTAMP , AMOUNT DECIMAL (16,2) , CURRENCY VARCHAR (20) , PAY_METHOD VARCHAR (100) , PAY_VEHICLE VARCHAR (100) , ORIG_BANK_ID VARCHAR (100) , BACKOFFICE_CODE VARCHAR (10) WITH DEFAULT 'UNKNOWN' , BENE_ACCNT_NO VARCHAR (100) , BENE_NAME VARCHAR (100) , BENE_ADDR VARCHAR (100) , BENE_BANK_ID VARCHAR (100) , BENE_BANK_NAME VARCHAR (100) , BENE_BANK_ADDR VARCHAR (256) , CLIENT_FILE_ID VARCHAR (100) , CLIENT_FILE_TIME TIMESTAMP , CHN_TXN_CREATED_TIME TIMESTAMP , RAW_DATA CLOB NOT NULL , DATA_LIFE_STATUS SMALLINT NOT NULL , MATCH_STATUS SMALLINT WITH DEFAULT 1 , LAST_MATCH_DATE TIMESTAMP , MATCH_CATEG_ID INTEGER , IS_REJECTED CHAR (1) WITH DEFAULT 'N' , IS_CANCELLED CHAR (1) WITH DEFAULT 'N' , FILE_TYPE_ID VARCHAR (36) NOT NULL , ETL_TIME INTEGER NOT NULL , CHANNEL_ID VARCHAR (36) NOT NULL , TXN_TYPE VARCHAR (30) WITH DEFAULT 'UNKNOWN' ) PARTITION BY COLUMN (CHANNEL_TXN_ID) REDUNDANCY 1 EXPIRE ENTRY WITH TIMETOLIVE 3600 ACTION DESTROY ; ALTER TABLE SECW_CHANNEL_DATA_APAC ADD CONSTRAINT SECW_CHANNEL_DATA_APAC_PK PRIMARY KEY ( CHANNEL_TXN_ID ) ; CREATE TABLE SECW_CHANNEL_DATA_EMEA ( CHANNEL_TXN_ID VARCHAR (36) NOT NULL , CLIENT_ID VARCHAR (100) , CLIENT_NAME VARCHAR (100) , CLIENT_ACCOUNT VARCHAR (100) , COMPANY_ID VARCHAR (100) , CLIENT_REF_NO VARCHAR (100) , VALUE_DATE TIMESTAMP , AMOUNT DECIMAL (16,2) , CURRENCY VARCHAR (20) , PAY_METHOD VARCHAR (100) , PAY_VEHICLE VARCHAR (100) , ORIG_BANK_ID VARCHAR (100) , BACKOFFICE_CODE VARCHAR (10) WITH DEFAULT 'UNKNOWN' , BENE_ACCNT_NO VARCHAR (100) , BENE_NAME VARCHAR (100) , BENE_ADDR VARCHAR (100) , BENE_BANK_ID VARCHAR (100) , BENE_BANK_NAME VARCHAR (100) , BENE_BANK_ADDR VARCHAR (256) , CLIENT_FILE_ID VARCHAR (100) , CLIENT_FILE_TIME TIMESTAMP , CHN_TXN_CREATED_TIME TIMESTAMP , RAW_DATA CLOB NOT NULL , DATA_LIFE_STATUS SMALLINT NOT NULL , MATCH_STATUS SMALLINT WITH DEFAULT 1 , LAST_MATCH_DATE TIMESTAMP , MATCH_CATEG_ID INTEGER , IS_REJECTED CHAR (1) WITH DEFAULT 'N' , IS_CANCELLED CHAR (1) WITH DEFAULT 'N' , FILE_TYPE_ID VARCHAR (36) NOT NULL , ETL_TIME INTEGER NOT NULL , CHANNEL_ID VARCHAR (36) NOT NULL , TXN_TYPE VARCHAR (30) WITH DEFAULT 'UNKNOWN' ) PARTITION BY COLUMN (CHANNEL_TXN_ID) REDUNDANCY 1 EXPIRE ENTRY WITH TIMETOLIVE 3600 ACTION DESTROY ; ALTER TABLE SECW_CHANNEL_DATA_EMEA ADD CONSTRAINT SECW_CHANNEL_DATA_EMEA_PK PRIMARY KEY ( CHANNEL_TXN_ID ) ; CREATE TABLE SECW_CHANNEL_DATA_WHEM ( CHANNEL_TXN_ID VARCHAR (36) NOT NULL , CLIENT_ID VARCHAR (100) , CLIENT_NAME VARCHAR (100) , CLIENT_ACCOUNT VARCHAR (100) , COMPANY_ID VARCHAR (100) , CLIENT_REF_NO VARCHAR (100) , VALUE_DATE TIMESTAMP , AMOUNT DECIMAL (16,2) , CURRENCY VARCHAR (20) , PAY_METHOD VARCHAR (100) , PAY_VEHICLE VARCHAR (100) , ORIG_BANK_ID VARCHAR (100) , BACKOFFICE_CODE VARCHAR (10) WITH DEFAULT 'UNKNOWN' , BENE_ACCNT_NO VARCHAR (100) , BENE_NAME VARCHAR (100) , BENE_ADDR VARCHAR (100) , BENE_BANK_ID VARCHAR (100) , BENE_BANK_NAME VARCHAR (100) , BENE_BANK_ADDR VARCHAR (256) , CLIENT_FILE_ID VARCHAR (100) , CLIENT_FILE_TIME TIMESTAMP , CHN_TXN_CREATED_TIME TIMESTAMP , RAW_DATA CLOB NOT NULL , DATA_LIFE_STATUS SMALLINT NOT NULL , MATCH_STATUS SMALLINT WITH DEFAULT 1 , LAST_MATCH_DATE TIMESTAMP , MATCH_CATEG_ID INTEGER , IS_REJECTED CHAR (1) WITH DEFAULT 'N' , IS_CANCELLED CHAR (1) WITH DEFAULT 'N' , FILE_TYPE_ID VARCHAR (36) NOT NULL , ETL_TIME INTEGER NOT NULL , CHANNEL_ID VARCHAR (36) NOT NULL , TXN_TYPE VARCHAR (30) WITH DEFAULT 'UNKNOWN' ) PARTITION BY COLUMN (CHANNEL_TXN_ID) REDUNDANCY 1 EXPIRE ENTRY WITH TIMETOLIVE 3600 ACTION DESTROY ; --/////////////////////////////////////////////////////////// -- FK Constraints ------------------------------------------ ALTER TABLE SECW_CHANNEL_DATA_WHEM ADD CONSTRAINT SECW_CHANNEL_DATA_WHEM_PK PRIMARY KEY ( CHANNEL_TXN_ID ) ; ALTER TABLE SECM_TXN_MANAGEMENT ADD CONSTRAINT SECM_APP_CHN_FILE_MAP_APP_FK FOREIGN KEY ( BACKOFFICE_CODE ) REFERENCES SECM_BACKOFFICE_ONBOARDED ( BACKOFFICE_CODE ) ON DELETE RESTRICT ; ALTER TABLE SECM_BACKOFFICE_ONBOARDED ADD CONSTRAINT SECM_BACKOFFICE_ONBOARDED_LOC_FK FOREIGN KEY ( BACKOFFICE_LOC ) REFERENCES SECM_LOCATION ( LOCATION_CODE ) ON DELETE RESTRICT ; ALTER TABLE SECM_BO_MESSAGE_TAG_MAPPING ADD CONSTRAINT SECM_BO_MESSAGE_TAG_MAPPING_BO_FK FOREIGN KEY ( BACKOFFICE_CODE ) REFERENCES SECM_BACKOFFICE_ONBOARDED ( BACKOFFICE_CODE ) ON DELETE NO ACTION ; ALTER TABLE SECM_BS_DETERMINATION_GENERAL ADD CONSTRAINT SECM_BS_DETERMI_GENERAL_CATE_FK FOREIGN KEY ( FILE_CATEGORY ) REFERENCES SECM_FILE_CATEGORY ( FILE_CATEGORY ) ON DELETE RESTRICT ; ALTER TABLE SECM_BS_DETERMINATION_PAIN001 ADD CONSTRAINT SECM_BS_DET_PAIN001_CATE_FK FOREIGN KEY ( FILE_CATEGORY ) REFERENCES SECM_FILE_CATEGORY ( FILE_CATEGORY ) ON DELETE RESTRICT ; ALTER TABLE SECM_FILE_TYPE_ONBOARDED ADD CONSTRAINT SECM_FILE_TYPE_ONBOARDED_CATE_FK FOREIGN KEY ( FILE_CATEGORY ) REFERENCES SECM_FILE_CATEGORY ( FILE_CATEGORY ) ON DELETE RESTRICT ; ALTER TABLE SECM_FILE_WATCHER_CONFIGS ADD CONSTRAINT SECM_FILE_WATCHER_CONFIGS_FK FOREIGN KEY ( FILE_WATCHER_ID ) REFERENCES SECM_FILE_WATCHER ( FILE_WATCHER_ID ) ON DELETE RESTRICT ; ALTER TABLE SECM_HIT_STATUS_MAP ADD CONSTRAINT SECM_HIT_STATUS_MAP_BO_FK FOREIGN KEY ( BACKOFFICE_CODE ) REFERENCES SECM_BACKOFFICE_ONBOARDED ( BACKOFFICE_CODE ) ON DELETE RESTRICT ; ALTER TABLE SECM_MATCHING_KEY_INFO ADD CONSTRAINT SECM_MATCHING_KEY_INFOBO_FK FOREIGN KEY ( BACKOFFICE_CODE ) REFERENCES SECM_BACKOFFICE_ONBOARDED ( BACKOFFICE_CODE ) ON DELETE RESTRICT ; ALTER TABLE SECM_MATCHING_KEY_INFO ADD CONSTRAINT SECM_MATCHING_KEY_INFO_KEY_FK FOREIGN KEY ( KEY_ID ) REFERENCES SECM_KEY_LIST ( KEY_ID ) ON DELETE RESTRICT ; ALTER TABLE SECM_MQ_BO_MAP ADD CONSTRAINT SECM_MQ_BO_MAP_BO_FK FOREIGN KEY ( BACKOFFICE_CODE ) REFERENCES SECM_BACKOFFICE_ONBOARDED ( BACKOFFICE_CODE ) ON DELETE RESTRICT ; ALTER TABLE SECM_MQ_BO_MAP ADD CONSTRAINT SECM_MQ_BO_MAP_MQ_FK FOREIGN KEY ( MQ_ID ) REFERENCES SECM_MQ ( MQ_ID ) ON DELETE RESTRICT ; ALTER TABLE SECM_MQ ADD CONSTRAINT SECM_MQ_MGR_FK FOREIGN KEY ( MGR_NAME ) REFERENCES SECM_MQ_MGR ( MGR_NAME ) ON DELETE RESTRICT ; ALTER TABLE SECM_MQ_MGR ADD CONSTRAINT SECM_MQ_MGR_PROC_CONF_FK FOREIGN KEY ( PROCESS_ID ) REFERENCES SECM_PROCESS_CONFIG ( PROCESS_ID ) ON DELETE RESTRICT ; ALTER TABLE SECM_OFAC_MQ_ROUTING ADD CONSTRAINT SECM_OFAC_MQ_ROUTING_INQ_FK FOREIGN KEY ( INPUT_MQ_ID ) REFERENCES SECM_MQ ( MQ_ID ) ON DELETE RESTRICT ; ALTER TABLE SECM_PARSER_CONFIGURATION ADD CONSTRAINT SECM_PARSER_CONFIGURATION_BO_FK FOREIGN KEY ( BACKOFFICE_CODE ) REFERENCES SECM_BACKOFFICE_ONBOARDED ( BACKOFFICE_CODE ) ON DELETE NO ACTION ; ALTER TABLE SECM_XML_TAG_MAPPINGS ADD CONSTRAINT SECM_XML_TAG_MAPPINGS_FTYPE_FK FOREIGN KEY ( FILE_TYPE_ID ) REFERENCES SECM_FILE_TYPE_ONBOARDED ( FILE_TYPE_ID ) ON DELETE RESTRICT ; ALTER TABLE SECM_XML_TAG_MAPPINGS ADD CONSTRAINT SECM_XML_TAG_MAPPINGS_KEY_FK FOREIGN KEY ( KEY_ID ) REFERENCES SECM_KEY_LIST ( KEY_ID ) ON DELETE RESTRICT ; --/////////////////////////////////////////////////////////// -- QRTZ Tables ---------------------------------------------- CREATE TABLE qrtz_job_details ( job_name VARCHAR(200) NOT NULL, job_group VARCHAR(200) NOT NULL, description VARCHAR(250), job_class_name VARCHAR(250) NOT NULL, is_durable VARCHAR(5) NOT NULL, is_volatile VARCHAR(5) NOT NULL, is_stateful VARCHAR(5) NOT NULL, requests_recovery VARCHAR(5) NOT NULL, job_data BLOB, PRIMARY KEY (job_name, job_group) ) EVICTION BY LRUHEAPPERCENT EVICTACTION OVERFLOW PERSISTENT ASYNCHRONOUS ; CREATE TABLE qrtz_job_listeners ( job_name VARCHAR(200) NOT NULL, job_group VARCHAR(200) NOT NULL, job_listener VARCHAR(200) NOT NULL, PRIMARY KEY (job_name, job_group, job_listener), FOREIGN KEY (job_name, job_group) REFERENCES qrtz_job_details (job_name, job_group) ) EVICTION BY LRUHEAPPERCENT EVICTACTION OVERFLOW PERSISTENT ASYNCHRONOUS ; CREATE TABLE qrtz_triggers ( trigger_name VARCHAR(200) NOT NULL, trigger_group VARCHAR(200) NOT NULL, job_name VARCHAR(200) NOT NULL, job_group VARCHAR(200) NOT NULL, is_volatile VARCHAR(5) NOT NULL, description VARCHAR(250), next_fire_time BIGINT, prev_fire_time BIGINT, priority INTEGER, trigger_state VARCHAR(16) NOT NULL, trigger_type VARCHAR(8) NOT NULL, start_time BIGINT NOT NULL, end_time BIGINT, calendar_name VARCHAR(200), misfire_instr SMALLINT, job_data BLOB, PRIMARY KEY (trigger_name, trigger_group), FOREIGN KEY (job_name, job_group) REFERENCES qrtz_job_details (job_name, job_group) ) EVICTION BY LRUHEAPPERCENT EVICTACTION OVERFLOW PERSISTENT ASYNCHRONOUS ; CREATE TABLE qrtz_simple_triggers ( trigger_name VARCHAR(200) NOT NULL, trigger_group VARCHAR(200) NOT NULL, repeat_count BIGINT NOT NULL, repeat_interval BIGINT NOT NULL, times_triggered BIGINT NOT NULL, PRIMARY KEY (trigger_name, trigger_group), FOREIGN KEY (trigger_name, trigger_group) REFERENCES qrtz_triggers (trigger_name, trigger_group) ) EVICTION BY LRUHEAPPERCENT EVICTACTION OVERFLOW PERSISTENT ASYNCHRONOUS ; CREATE TABLE qrtz_cron_triggers ( trigger_name VARCHAR(200) NOT NULL, trigger_group VARCHAR(200) NOT NULL, cron_expression VARCHAR(120) NOT NULL, time_zone_id VARCHAR(80), PRIMARY KEY (trigger_name, trigger_group), FOREIGN KEY (trigger_name, trigger_group) REFERENCES qrtz_triggers (trigger_name, trigger_group) ) EVICTION BY LRUHEAPPERCENT EVICTACTION OVERFLOW PERSISTENT ASYNCHRONOUS ; CREATE TABLE qrtz_blob_triggers ( trigger_name VARCHAR(200) NOT NULL, trigger_group VARCHAR(200) NOT NULL, blob_data BLOB, PRIMARY KEY (trigger_name, trigger_group), FOREIGN KEY (trigger_name, trigger_group) REFERENCES qrtz_triggers (trigger_name, trigger_group) ) EVICTION BY LRUHEAPPERCENT EVICTACTION OVERFLOW PERSISTENT ASYNCHRONOUS ; CREATE TABLE qrtz_trigger_listeners ( trigger_name VARCHAR(200) NOT NULL, trigger_group VARCHAR(200) NOT NULL, trigger_listener VARCHAR(200) NOT NULL, PRIMARY KEY (trigger_name, trigger_group, trigger_listener), FOREIGN KEY (trigger_name, trigger_group) REFERENCES qrtz_triggers (trigger_name, trigger_group) ) EVICTION BY LRUHEAPPERCENT EVICTACTION OVERFLOW PERSISTENT ASYNCHRONOUS ; CREATE TABLE qrtz_calendars ( calendar_name VARCHAR(200) NOT NULL, calendar BLOB NOT NULL, PRIMARY KEY (calendar_name) ) EVICTION BY LRUHEAPPERCENT EVICTACTION OVERFLOW PERSISTENT ASYNCHRONOUS ; CREATE TABLE qrtz_paused_trigger_grps ( trigger_group VARCHAR(200) NOT NULL, PRIMARY KEY (trigger_group) ) EVICTION BY LRUHEAPPERCENT EVICTACTION OVERFLOW PERSISTENT ASYNCHRONOUS ; CREATE TABLE qrtz_fired_triggers ( entry_id VARCHAR(95) NOT NULL, trigger_name VARCHAR(200) NOT NULL, trigger_group VARCHAR(200) NOT NULL, is_volatile VARCHAR(5) NOT NULL, instance_name VARCHAR(200) NOT NULL, fired_time BIGINT NOT NULL, priority INTEGER NOT NULL, state VARCHAR(16) NOT NULL, job_name VARCHAR(200), job_group VARCHAR(200), is_stateful VARCHAR(5), requests_recovery VARCHAR(5), PRIMARY KEY (entry_id) ) EVICTION BY LRUHEAPPERCENT EVICTACTION OVERFLOW PERSISTENT ASYNCHRONOUS ; CREATE TABLE qrtz_scheduler_state ( instance_name VARCHAR(200) NOT NULL, last_checkin_time BIGINT NOT NULL, checkin_interval BIGINT NOT NULL, PRIMARY KEY (instance_name) ) EVICTION BY LRUHEAPPERCENT EVICTACTION OVERFLOW PERSISTENT ASYNCHRONOUS ; CREATE TABLE qrtz_locks ( lock_name VARCHAR(40) NOT NULL, PRIMARY KEY (lock_name) ) EVICTION BY LRUHEAPPERCENT EVICTACTION OVERFLOW PERSISTENT ASYNCHRONOUS ; CREATE TABLE DataHints ( client_account varchar(100), client_ref_no varchar(100), company_id varchar(100), value_date timestamp );
/****** Object: StoredProcedure [dbo].[CreateResultsFolderName] ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO create PROCEDURE CreateResultsFolderName /**************************************************** ** ** Desc: ** Calculate results folder name for given job ** Make entries in temporary table: ** #Job ** ** Return values: 0: success, otherwise, error code ** ** ** Auth: grk ** 01/31/2009 grk -- initial release (http://prismtrac.pnl.gov/trac/ticket/720) ** *****************************************************/ ( @job int, @tag varchar(8), @resultsFolderName varchar(128) output, @message varchar(512) output ) As set nocount on declare @myError int set @myError = 0 declare @myRowCount int set @myRowCount = 0 set @message = '' -- Create job results folder name --------------------------------------------------- -- The auto-generated name has these components, all combined into one string: -- a) the 3-letter Results Tag, -- b) the current date, format yyyyMMdd, for example 20081205 for 2008-12-05 -- c) the current time, format hhmm, for example 1017 for 10:17 am -- d) the text _Auto -- e) the Job number -- set @resultsFolderName = @tag + replace(convert(varchar, getdate(),111),'/','') + substring(replace(convert(varchar, getdate(),108),':',''), 1, 4) -- set @resultsFolderName = @resultsFolderName + '_Auto' + convert(varchar(12), @job) -- UPDATE #Jobs SET Results_Folder_Name = @resultsFolderName WHERE Job = @job -- SELECT @myError = @@error, @myRowCount = @@rowcount -- if @myError <> 0 begin set @message = 'Error creating job results folder name' end GO GRANT VIEW DEFINITION ON [dbo].[CreateResultsFolderName] TO [DDL_Viewer] AS [dbo] GO GRANT VIEW DEFINITION ON [dbo].[CreateResultsFolderName] TO [Limited_Table_Write] AS [dbo] GO
INSERT INTO dbo.Tenants (Id, Name, Domain) VALUES ('304d47f1-b262-4bd9-a2fd-04210ac230b7', 'Tenant MS', 'ms'), ('07adedf4-e546-434b-a9b3-1ab9f2acf28e', 'Tenant NT', 'nt');
-- start_ignore SET gp_create_table_random_default_distribution=off; -- end_ignore CREATE DATABASE sync1_db1; CREATE DATABASE sync1_db2; CREATE DATABASE sync1_db3; CREATE DATABASE sync1_db4; CREATE DATABASE sync1_db5; CREATE DATABASE sync1_db6; CREATE DATABASE sync1_db7; CREATE DATABASE sync1_db8; DROP DATABASE sync1_db1;
SELECT MAX(torokubi), MIN(torokubi) FROM Shohin;
# ************************************************************ # Sequel Pro SQL dump # Version 4541 # # http://www.sequelpro.com/ # https://github.com/sequelpro/sequelpro # # Host: 127.0.0.1 (MySQL 5.5.5-10.1.36-MariaDB) # Database: noticias # Generation Time: 2020-03-29 9:30:24 PM +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 noticia # ------------------------------------------------------------ DROP TABLE IF EXISTS `noticia`; CREATE TABLE `noticia` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `titulo` varchar(150) COLLATE latin1_general_ci DEFAULT NULL, `descricao` text COLLATE latin1_general_ci, `dataCriacao` datetime DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci; /*!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 */;
-- phpMyAdmin SQL Dump -- version 4.7.4 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: May 24, 2021 at 07:46 PM -- Server version: 10.1.30-MariaDB -- PHP Version: 5.6.33 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: `database` -- -- -------------------------------------------------------- -- -- Table structure for table `datasensor` -- CREATE TABLE `datasensor` ( `id` int(20) NOT NULL, `data` varchar(30) NOT NULL, `waktu` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `datasensor` -- INSERT INTO `datasensor` (`id`, `data`, `waktu`) VALUES (2, '14', '2021-05-24 09:01:03'), (3, '14', '2021-05-24 09:01:15'), (4, '1', '2021-05-24 09:01:47'), (5, '1', '2021-05-24 09:02:03'), (6, '1', '2021-05-24 09:02:16'), (7, '1', '2021-05-24 09:02:29'), (8, '1', '2021-05-24 09:02:43'), (9, '0', '2021-05-24 09:02:56'), (10, '1', '2021-05-24 09:03:09'), (11, '1', '2021-05-24 09:03:22'), (12, '1', '2021-05-24 09:03:39'), (13, '1', '2021-05-24 09:03:56'), (14, '1', '2021-05-24 09:04:09'), (15, '1', '2021-05-24 09:04:22'), (16, '1', '2021-05-24 09:04:35'), (17, '1', '2021-05-24 09:04:48'), (18, '1', '2021-05-24 09:05:02'), (19, '1', '2021-05-24 09:05:15'), (20, '1', '2021-05-24 09:05:28'); -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE `users` ( `id` int(11) NOT NULL, `username` varchar(50) NOT NULL, `email` varchar(50) NOT NULL, `password` varchar(50) NOT NULL, `trn_date` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `users` -- INSERT INTO `users` (`id`, `username`, `email`, `password`, `trn_date`) VALUES (1, 'admin', '<EMAIL>', '<PASSWORD>', '2021-04-05 17:54:10'), (2, 'aldoalfiyanv', '<EMAIL>', '9d1ec50ba9ceb5<PASSWORD>', '2021-04-15 15:53:24'); -- -- Indexes for dumped tables -- -- -- Indexes for table `datasensor` -- ALTER TABLE `datasensor` ADD PRIMARY KEY (`id`); -- -- Indexes for table `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `datasensor` -- ALTER TABLE `datasensor` MODIFY `id` int(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21; -- -- AUTO_INCREMENT for table `users` -- ALTER TABLE `users` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3; 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 */;
CREATE TABLE [dbo].[Category] ( [CategoryId] INT IDENTITY (1, 1) NOT NULL, [CategoryName] NVARCHAR (50) NOT NULL, CONSTRAINT [PK_Category] PRIMARY KEY CLUSTERED ([CategoryId] ASC) );
/*==============================================================*/ /* DBMS name: MySQL 5.0 */ /* Created on: 2020/3/24 23:35:48 */ /*==============================================================*/ /*==============================================================*/ /* Table: activity_type */ /*==============================================================*/ create table activity_type ( id bigint not null auto_increment, activity_type_code bigint not null, activity_type_order int not null, activity_type_name varchar(20) not null, activity_type_description varchar(200), extend_json bigint, creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Table: announcement */ /*==============================================================*/ create table announcement ( id bigint not null auto_increment, org_id bigint not null, annc_content varchar(200) not null, publihser varchar(20) not null, publisher_nickname varchar(20), extend_json bigint, creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: idx_org_id */ /*==============================================================*/ create index idx_org_id on announcement ( org_id ); /*==============================================================*/ /* Table: authorization */ /*==============================================================*/ create table authorization ( id bigint not null auto_increment, auz_type_id bigint not null, auz_code bigint not null, parent_auz_id bigint, auz_level int, auz_order int not null, auz_name varchar(20) not null, auz_url varchar(255), auz_param varchar(200), auz_description varchar(200), extend_json bigint, creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Table: auz_type */ /*==============================================================*/ create table auz_type ( id bigint not null auto_increment, auz_type_code bigint not null, auz_type_order int not null, auz_type_name varchar(20) not null, auz_type_desc varchar(200), extend_json bigint, creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Table: comment */ /*==============================================================*/ create table comment ( id bigint not null, discussion_id bigint not null, reply_id bigint, quote_id bigint, rich_text bigint not null, author_nickname varchar(20), comment_level int not null, comment_order int not null, extend_json bigint, creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: idx_discussion_id */ /*==============================================================*/ create index idx_discussion_id on comment ( discussion_id ); /*==============================================================*/ /* Table: data_dictionary_key */ /*==============================================================*/ create table data_dictionary_key ( id bigint not null auto_increment, dict_code bigint, dict_name varchar(20) not null, dict_description varchar(200), extend_json bigint, creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: idx_dict_code */ /*==============================================================*/ create index idx_dict_code on data_dictionary_key ( dict_code ); /*==============================================================*/ /* Table: data_dictionary_value */ /*==============================================================*/ create table data_dictionary_value ( id bigint not null auto_increment, dict_id bigint not null, data_code bigint, data_name varchar(20) not null, data_order int, extend_json bigint, creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: idx_dict_code */ /*==============================================================*/ create index idx_dict_code on data_dictionary_value ( dict_id ); /*==============================================================*/ /* Table: discussion */ /*==============================================================*/ create table discussion ( id bigint not null auto_increment, org_id bigint, task_id bigint, discussion_type_code bigint, discussion_type_name varchar(20), discussion_title varchar(200) not null, author_nickname varchar(20), extend_json bigint, creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: idx_org_id */ /*==============================================================*/ create index idx_org_id on discussion ( org_id ); /*==============================================================*/ /* Index: idx_task_id */ /*==============================================================*/ create index idx_task_id on discussion ( task_id ); /*==============================================================*/ /* Table: discussion_file */ /*==============================================================*/ create table discussion_file ( id bigint not null, file_type_id bigint not null, file_name varchar(20) not null, file_url varchar(255), file_binary mediumblob, file_hash varchar(200), uploader varchar(20) not null, download_count int, extend_json bigint, creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Table: file_type */ /*==============================================================*/ create table file_type ( id bigint not null, file_type_code bigint not null, file_type_name varchar(20) not null, file_type_desc varchar(200), extend_json bigint, creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Table: group */ /*==============================================================*/ create table org_group ( id bigint not null auto_increment, org_id bigint not null, group_plan_id bigint, group_code bigint not null, parent_group_id bigint, is_root bool, group_name varchar(20) not null, group_type_code bigint, group_type_name varchar(20), group_description varchar(200), extend_json bigint, creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: idx_group_plan_id */ /*==============================================================*/ create index idx_group_plan_id on org_group ( group_plan_id ); /*==============================================================*/ /* Index: idx_org_id */ /*==============================================================*/ create index idx_org_id on org_group ( org_id ); /*==============================================================*/ /* Table: group_plan */ /*==============================================================*/ create table group_plan ( id bigint not null, org_id bigint not null, group_plan_name varchar(20) not null, group_plan_order int not null, extend_json bigint, creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: idx_org_id */ /*==============================================================*/ create index idx_org_id on group_plan ( org_id ); /*==============================================================*/ /* Table: menu */ /*==============================================================*/ create table menu ( id bigint not null auto_increment, menu_code bigint not null, menu_type_code int not null, parent_menu_id bigint, menu_level int, menu_order int not null, is_root bool, menu_name varchar(20) not null, menu_url varchar(255), menu_description varchar(200), extend_json bigint, creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Table: org */ /*==============================================================*/ create table org ( id bigint not null auto_increment, org_code bigint not null, parent_org_id bigint, school_id bigint, college_id bigint, major_id bigint, is_root bool, org_name varchar(20) not null, org_description varchar(200), extend_json bigint, creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: uk_org_code */ /*==============================================================*/ create unique index uk_org_code on org ( org_code ); /*==============================================================*/ /* Table: org_file */ /*==============================================================*/ create table org_file ( id bigint not null auto_increment, file_type_id bigint not null, parent_file_id bigint, file_name varchar(30) not null, file_url varchar(255), file_binary mediumblob, file_level int, file_hash varchar(200), uploader varchar(20) not null, download_count int not null, extend_json bigint, creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Table: org_msg */ /*==============================================================*/ create table org_msg ( id bigint not null auto_increment, org_id bigint not null, msg_content bigint not null, sender varchar(20) not null, sender_nickname varchar(20), extend_json bigint, creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: idx_org_id */ /*==============================================================*/ create index idx_org_id on org_msg ( org_id ); /*==============================================================*/ /* Table: org_role */ /*==============================================================*/ create table org_role ( id bigint not null auto_increment, org_role_template_id bigint, is_template bool not null, org_role_template_order int, org_role_code bigint not null, org_role_name varchar(20) not null, org_role_description varchar(200), extend_json bigint, creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Table: participate_in_activity */ /*==============================================================*/ create table participate_in_activity ( id bigint not null auto_increment, activity_id bigint not null, user_id bigint, group_id bigint, submit_param varchar(200), edit_times int, score int, valid bool, extend_json bigint, creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: idx_activity_id */ /*==============================================================*/ create index idx_activity_id on participate_in_activity ( activity_id ); /*==============================================================*/ /* Table: published_activity */ /*==============================================================*/ create table published_activity ( id bigint not null auto_increment, activity_type_id bigint not null, org_id bigint not null, group_plan_id bigint, activity_name varchar(20), is_active bool, activity_description varchar(200), activity_param varchar(200), begin_date datetime, end_date datetime, maxscore int, max_dist double, latitude double, longitude double, extend_json bigint, creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: idx_org_id */ /*==============================================================*/ create index idx_org_id on published_activity ( org_id ); /*==============================================================*/ /* Table: published_task */ /*==============================================================*/ create table published_task ( id bigint not null auto_increment, org_id bigint not null, task_type_id bigint not null, group_plan_id bigint, task_name varchar(20), publisher_name varchar(20), begin_date datetime, end_date datetime, maxscore int, extend_json bigint, creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: idx_org_id */ /*==============================================================*/ create index idx_org_id on published_task ( org_id ); /*==============================================================*/ /* Table: r_org__file */ /*==============================================================*/ create table r_org__file ( org_id bigint not null, org_file_id bigint not null, is_deleted bool, version bigint, primary key (org_id,org_file_id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: index_org_file_id */ /*==============================================================*/ create index idx_org_file_id on r_org__file ( org_file_id ); /*==============================================================*/ /* Table: r_org_role__auz */ /*==============================================================*/ create table r_org_role__auz ( org_role_id bigint not null, authorization_id bigint not null, is_deleted bool, version bigint, primary key (org_role_id,authorization_id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: index_auz_id */ /*==============================================================*/ create index idx_auz_id on r_org_role__auz ( authorization_id ); /*==============================================================*/ /* Table: r_org_role__menu */ /*==============================================================*/ create table r_org_role__menu ( org_role_id bigint not null, menu_id bigint not null, is_deleted bool, version bigint, primary key (org_role_id,menu_id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: index_menu_id */ /*==============================================================*/ create index idx_menu_id on r_org_role__menu ( menu_id ); /*==============================================================*/ /* Table: r_role__auz */ /*==============================================================*/ create table r_role__auz ( role_id bigint not null, authorization_id bigint not null, is_deleted bool, version bigint, primary key (role_id,authorization_id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: index_auz_id */ /*==============================================================*/ create index idx_auz_id on r_role__auz ( authorization_id ); /*==============================================================*/ /* Table: r_role__menu */ /*==============================================================*/ create table r_role__menu ( role_id bigint not null, menu_id bigint not null, is_deleted bool, version bigint, primary key (role_id,menu_id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: index_menu_id */ /*==============================================================*/ create index idx_menu_id on r_role__menu ( menu_id ); /*==============================================================*/ /* Table: r_user__group */ /*==============================================================*/ create table r_user__group ( user_id bigint not null, group_id bigint not null, is_deleted bool, version bigint, primary key (user_id,group_id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: Index_group_id */ /*==============================================================*/ create index idx_group_id on r_user__group ( group_id ); /*==============================================================*/ /* Table: r_user__org */ /*==============================================================*/ create table r_user__org ( user_id bigint not null, org_id bigint not null, is_deleted bool, version bigint, primary key (user_id,org_id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: Index_org_id */ /*==============================================================*/ create index Index_org_id on r_user__org ( org_id ); /*==============================================================*/ /* Table: r_user__org_role */ /*==============================================================*/ create table r_user__org_role ( user_id bigint not null, org_role_id bigint not null, is_deleted bool, version bigint, primary key (user_id,org_role_id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: index_org_role_id */ /*==============================================================*/ create index idx_org_role_id on r_user__org_role ( org_role_id ); /*==============================================================*/ /* Table: r_user__user_msg */ /*==============================================================*/ create table r_user__user_msg ( user_id bigint not null, umsg_id bigint not null, is_deleted bool, version bigint, primary key (user_id,umsg_id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: index_umsg_id */ /*==============================================================*/ create index idx_umsg_id on r_user__user_msg ( umsg_id ); /*==============================================================*/ /* Table: rich_text */ /*==============================================================*/ create table rich_text ( id bigint not null auto_increment, rich_text text, rich_text_type_code bigint, rich_text_type_name varchar(20), is_deleted bool, version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Table: role */ /*==============================================================*/ create table role ( id bigint not null auto_increment, role_template_id bigint, is_template bool not null, role_template_order int, role_code bigint not null, role_name varchar(20) not null, role_description varchar(200), extend_json bigint, creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Table: signin_history */ /*==============================================================*/ create table signin_history ( id bigint not null auto_increment, user_id bigint not null, signin_ip varchar(20), signin_date datetime not null, signout_date datetime, device_type int not null, device_mac varchar(20), extend_json bigint, creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: idx_user_id */ /*==============================================================*/ create index idx_user_id on signin_history ( user_id ); /*==============================================================*/ /* Table: submit_task */ /*==============================================================*/ create table submit_task ( id bigint not null auto_increment, task_id bigint not null, user_id bigint, group_id bigint, submit_content varchar(500) not null, submit_type int not null, uploader varchar(20) not null, edit_times int, score int, extend_json bigint, creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: idx_task_id */ /*==============================================================*/ create index idx_task_id on submit_task ( task_id ); /*==============================================================*/ /* Table: sys_log */ /*==============================================================*/ create table sys_log ( id bigint not null auto_increment, user_id bigint not null, op_type int not null, op_description varchar(200), op_time datetime not null, extend_json bigint, creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: idx_user_id */ /*==============================================================*/ create index idx_user_id on sys_log ( user_id ); /*==============================================================*/ /* Table: task_file */ /*==============================================================*/ create table task_file ( id bigint not null, file_type_id bigint not null, submit_task_id bigint not null, file_name varchar(20) not null, file_url varchar(255), file_binary mediumblob, file_hash varchar(200), uploader varchar(20) not null, download_count int, extend_json bigint, creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: idx_submit_task_id */ /*==============================================================*/ create index idx_submit_task_id on task_file ( submit_task_id ); /*==============================================================*/ /* Table: task_type */ /*==============================================================*/ create table task_type ( id bigint not null auto_increment, task_type_code bigint not null, task_type_order int not null, task_name varchar(20) not null, task_type_description varchar(200), extend_json bigint, creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Table: temp_file */ /*==============================================================*/ create table temp_file ( id bigint not null, user_id bigint not null, file_type_id bigint not null, file_name varchar(20) not null, file_url varchar(255), file_binary mediumblob, file_hash varchar(200), extend_json bigint, creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: idx_user_id */ /*==============================================================*/ create index idx_user_id on temp_file ( user_id ); /*==============================================================*/ /* Table: user */ /*==============================================================*/ create table user ( id bigint not null auto_increment, role_id bigint, username varchar(20) not null, password varchar(200) not null, nickname varchar(20), student_id varchar(20), phone varchar(20), email varchar(20), school varchar(20), college varchar(20), education varchar(20), birth_date varchar(20), major varchar(20), gender char(1), address varchar(60), city varchar(20), province varchar(20), nation varchar(20), profile_photo mediumblob, profile_photo_url varchar(255), experience int, coin int, signin_date datetime, signup_date datetime, last_signin_date datetime, sign_count int, continue_signin_count int, is_active bool, unlock_date datetime, is_signin bool, mobile_token varchar(100), mobile_token_create_date datetime, mobile_token_end_date datetime, web_token varchar(100), web_token_create_date datetime, web_token_end_date datetime, pc_token varchar(100), pc_token_create_date datetime, pc_token_end_date datetime, extend_json bigint, creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: idx_email */ /*==============================================================*/ create index idx_email on user ( email ); /*==============================================================*/ /* Index: idx_phone */ /*==============================================================*/ create index idx_phone on user ( phone ); /*==============================================================*/ /* Index: idx_username */ /*==============================================================*/ create index idx_username on user ( username ); /*==============================================================*/ /* Table: user_msg */ /*==============================================================*/ create table user_msg ( id bigint not null auto_increment, msg_content bigint not null, sender varchar(20) not null, sender_nickname varchar(20), receiver varchar(20) not null, receiver_nickname varchar(20), extend_json bigint, creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Table: user_org_info */ /*==============================================================*/ create table user_org_info ( user_id bigint not null, org_id bigint not null, user_org_name varchar(20), user_org_exp int, use_org_coin int, user_org_score int, user_org_signin_score int, user_org_school varchar(20), user_org_college varchar(20), user_org_major varchar(20), user_org_number varchar(20), user_org_desc varchar(200), extend_json bigint, creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (user_id,org_id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: idx_user_id */ /*==============================================================*/ create index idx_org_id on user_org_info ( org_id ); /*==============================================================*/ /* Table: org_params */ /*==============================================================*/ create table org_params ( id bigint not null auto_increment, org_id bigint not null, param_code bigint not null, param_name varchar(20), param_desc varchar(200), creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: idx_org_id */ /*==============================================================*/ create index idx_org_id on org_params ( org_id ); /*==============================================================*/ /* Table: schools */ /*==============================================================*/ create table schools ( id bigint not null auto_increment, school_name varchar(20), school_desc varchar(200), creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Table: colleges */ /*==============================================================*/ create table colleges ( id bigint not null auto_increment, school_id bigint not null, college_name varchar(20), college_desc varchar(200), creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: idx_org_id */ /*==============================================================*/ create index idx_school_id on colleges ( school_id ); /*==============================================================*/ /* Table: majors */ /*==============================================================*/ create table majors ( id bigint not null auto_increment, college_id bigint not null, major_name varchar(20), major_desc varchar(200), creation_date datetime, creator varchar(20), last_modification_date datetime, last_modifier varchar(20), is_deleted bool, deletion_date datetime, deleter varchar(20), version bigint, primary key (id) ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ; /*==============================================================*/ /* Index: idx_org_id */ /*==============================================================*/ create index idx_college_id on majors ( college_id );
CREATE USER if NOT EXISTS 'bd_jaspiroz_prf'@'%' IDENTIFIED BY 'bd21957644'; GRANT INSERT ON bd_jaspiroz.examen TO 'bd_jaspiroz_prf'@'%'; GRANT UPDATE (nota) ON bd_jaspiroz.examen TO 'bd_jaspiroz_prf'@'%'; GRANT UPDATE (nota, comentarios) ON bd_jaspiroz.actividad TO 'bd_jaspiroz_prf'@'%'; GRANT SELECT ON bd_jaspiroz.logs_act TO 'bd_jaspiroz_prf'@'%'; GRANT SELECT ON bd_jaspiroz.logs_examen TO 'bd_jaspiroz_prf'@'%'; GRANT SELECT ON bd_jaspiroz.actividad TO 'bd_jaspiroz_prf'@'%'; GRANT SELECT ON bd_jaspiroz.examen TO 'bd_jaspiroz_prf'@'%'; GRANT SELECT ON bd_jaspiroz.notaFinal TO 'bd_jaspiroz_prf'@'%';
<filename>Project1.sql /************* CREATE TABLES **************/ CREATE TABLE REIMBURSEMENTS ( RID NUMBER NOT NULL, EID NUMBER NOT NULL, FIRSTNAME VARCHAR(300), LASTNAME VARCHAR(300), TYPEOFEVENT NUMBER, DATEINSERTED DATE, COST NUMBER, DESCRIPTION VARCHAR2(300), JUSTIFICATION VARCHAR2(300), GRADINGFORMAT NUMBER, ATTACHED CLOB, DSAPPROVED NUMBER, DHAPPROVED NUMBER, BCAPPROVED NUMBER, STATUS NUMBER DEFAULT 0, COURSEDATESTART DATE, CHECK (COST BETWEEN 0 AND 1000), CONSTRAINT PK_RID PRIMARY KEY(RID) ); CREATE TABLE REIMBURSEMENTX ( RID NUMBER NOT NULL, EID NUMBER NOT NULL, FIRSTNAME VARCHAR(300), LASTNAME VARCHAR(300), TYPEOFEVENT NUMBER, DATEINSERTED DATE, COURSEDATESTART DATE, COST NUMBER, DESCRIPTION VARCHAR2(300), JUSTIFICATION VARCHAR2(300), GRADINGFORMAT NUMBER, DSAPPROVED NUMBER, DHAPPROVED NUMBER, BCAPPROVED NUMBER, STATUS NUMBER DEFAULT 0, CHECK (COST BETWEEN 0 AND 1000), CONSTRAINT PK_RIDs PRIMARY KEY(RID) ); CREATE TABLE TypeOfEvent ( TOEID NUMBER NOT NULL, Descrip Varchar2(300), CONSTRAINT PK_TOEID PRIMARY KEY (TOEID) ); SELECT UserID FROM USERS WHERE USERNAME = 'Alexandra'; SELECT * FROM PRESENTATIONS; INSERT INTO PRESENTATIONS (Emp_author, FOR_RID, AVAILABLEREIMBURSE, GRADETYPE, GRADE) VALUES (4,2, 1000, 2, 'A'); SELECT emp_author FROM PRESENTATIONS WHERE EMP_AUTHOR = 4; SELECT * FROM PRESENTATIONS WHERE BCCONFIRM = 0; CREATE TABLE PRESENTATIONS ( PID NUMBER NOT NULL, Emp_author NUMBER NOT NULL, FOR_RID NUMBER NOT NULL, AVAILABLEREIMBURSE NUMBER, GRADETYPE NUMBER, GRADE VARCHAR2(30), ATTACHED BLOB, BCCONFIRM NUMBER DEFAULT 0, DMCONFIRM NUMBER DEFAULT 0, CONSTRAINT PK_PID PRIMARY KEY(PID) ); commit; CREATE TABLE GRADINGFORMAT ( GFID NUMBER NOT NULL, GRADINGTYPE VARCHAR2(30), PASSINGGRADE VARCHAR(30), CONSTRAINT PK_GRADINGFORMAT PRIMARY KEY (GFID) ); CREATE TABLE EMPLOYEES ( EID NUMBER NOT NULL, REPORTSTO NUMBER, DEPARTMENTHEAD NUMBER, EMPLOYEETYPE NUMBER, FIRSTNAME VARCHAR2(30), LASTNAME VARCHAR2(30), EMAIL VARCHAR(320), SSN NUMBER, AVAILREIMBURST NUMBER DEFAULT 1000, CONSTRAINT PK_EMP PRIMARY KEY (EID) ); CREATE TABLE EMPLOYEETYPE ( EPTID NUMBER NOT NULL, EMPTYPE VARCHAR2(30), CONSTRAINT PK_EMPLOYEETYPE PRIMARY KEY (EPTID) ) CREATE TABLE USERS ( USERID NUMBER NOT NULL, USERNAME VARCHAR(20), PASSWORD VARCHAR(20), CONSTRAINT PK_USERS PRIMARY KEY (USERID) ); CREATE TABLE DIRECTSUPERVISORS ( DSID NUMBER NOT NULL, SUPERVISES NUMBER NOT NULL, FIRSTNAME VARCHAR(30), LASTNAME VARCHAR(30), CONSTRAINT PK_DS PRIMARY KEY (DSID) ); CREATE TABLE DEPARTMENTHEADS ( DHID NUMBER NOT NULL, FIRSTNAME VARCHAR(30), LASTNAME VARCHAR(30), OVERSEES VARCHAR2(30), CONSTRAINT PK_DPTH PRIMARY KEY (DHID) ); CREATE TABLE BENEFITCOORDINATORS ( BCID NUMBER NOT NULL, FIRSTNAME VARCHAR(30), LASTNAME VARCHAR(30), CONSTRAINT PK_BF PRIMARY KEY (BCID) ); /*********** ALTER FOREIGN KEYS ***********/ ALTER TABLE USERS ADD CONSTRAINT uni_user1 UNIQUE (USERNAME); ALTER TABLE REIMBURSEMENTS MODIFY ( ATTACHED CLOB ); DELETE FROM EMPLOYEES WHERE EID = 3; DROP TABLE REIMBURSEMENTS; DROP TABLE PRESENTATIONS; DROP TABLE GRADINGFORMAT; DROP TABLE EMPLOYEES; DROP TABLE USERS; DROP TABLE DIRECTSUPERVISORS; DROP TABLE DEPARTMENTHEADS; DROP TABLE BENEFITCOORDINATORS; ALTER TABLE EMPLOYEES ADD CONSTRAINT uni_SSN UNIQUE (SSN); /**************** INSERT VALUES INTO DATABASE ****************/ INSERT INTO TYPEOFEVENT VALUES(1, 'University Course'); INSERT INTO TYPEOFEVENT VALUES(2, 'Seminar'); INSERT INTO TYPEOFEVENT VALUES(3, 'Certification Prep Class'); INSERT INTO TYPEOFEVENT VALUES(4, 'Certification'); INSERT INTO TYPEOFEVENT VALUES(5, 'Technical Training'); INSERT INTO TYPEOFEVENT VALUES(6, 'Other'); INSERT INTO BENEFITCOORDINATORS VALUES(1,1); INSERT INTO USERS VALUES(1,'BevCoSam', 'bc'); DELETE FROM USERS WHERE username='BevCoSam'; INSERT INTO EMPLOYEES VALUES (1,1,1,3,'Sam', 'Huang','<EMAIL>', 65478231, 1000); INSERT INTO DIRECTSUPERVISOR VALUES(1,2,2,1); INSERT INTO USERS VALUES(2,'Ming', 'Huang'); INSERT INTO EMPLOYEES VALUES (2,1,2,4,'Ming','Huang','<EMAIL>', 12342562, 1000); INSERT INTO USERS VALUES(3,'Cassie', 'hu'); INSERT INTO EMPLOYEES VALUES (3,2,2,2,'Cassie','Huang','<EMAIL>', 12342522, 1000); INSERT INTO REIMBURSEMENTS VALUES(4,3,'Cassie', 'Huang',5,SYSDATE, 200, 'Enthuware Test', 'Taken for Sky Diving Training',1, null, 0, 0, 0, 0, TO_DATE('2018-02-05', 'YYYY-MM-DD')); commit; INSERT INTO REIMBURSEMENTS VALUES(1,3,'Cassie', 'Huang',1,SYSDATE, 200, 'Enthuware Test', 'Taken for Mehrabs class to practice for OCA',1, null, 0, 0, 0, 0, '18-JUN-06'); INSERT INTO REIMBURSEMENTX VALUES(2,3,'Cassie', 'Huang',1,SYSDATE, 200, 'Enthuware Test', 'Taken for Mehrabs class to practice for OCA',1, 0, 0, 0, 0); INSERT INTO REIMBURSEMENTS VALUES(1,3,'Cassie', 'Huang',1,'12-JAN-03', 200, 'Hardware Technical Training', 'Taken to be a leet IT',2, null, 1, 1, 1, 0); commit; INSERT INTO USERS VALUES(4,'Alexandra', 'Lai'); INSERT INTO EMPLOYEES VALUES (4,3,2,1,'Alexandra','Lai','<EMAIL>', 15624156, 1000); INSERT INTO REIMBURSEMENTS VALUES(2,4,'Alexandra', 'Lai',2,SYSDATE, 200, 'Enthuware Test', 'Taken for Mehrabs class to practice Java',2, null, 0, 0, 0, 0, '18-JAN-18'); INSERT INTO REIMBURSEMENTS VALUES(3,4,'Alexandra', 'Lai',3,SYSDATE, 200, 'Test for Hormones', 'Taken to see how much hormones',2, null, 0, 0, 0, 0, '08-JAN-18'); DELETE FROM REIMBURSEMENTS WHERE RID = 1; UPDATE EMPLOYEES SET reportsto=3 WHERE eid=4; DELETE FROM REIMBURSEMENTS WHERE RID = 2; DELETE FROM REIMBURSEMENTS WHERE RID = 1; DELETE FROM PRESENTATIONS WHERE FOR_RID = 4; SELECT * FROM PRESENTATIONS; commit; INSERT INTO DEPARTMENTS VALUES(1, 'Hackers'); INSERT INTO DEPARTMENTHEADS VALUES(1,2,1); INSERT INTO DEPARTMENTS VALUES(2, 'BEAUTY'); INSERT INTO DEPARTMENTHEADS VALUES(2,3,2); SELECT * FROM EMPLOYEES ORDER BY EID; SELECT * FROM DEPARTMENTS; SELECT * FROM DEPARTMENTHEADS; SELECT * FROM USERS order by USERID; SELECT * FROM USERS WHERE username='Cassie' AND password='hu'; SELECT * FROM PRESENTATIONS; SELECT * FROM REIMBURSEMENTS; SELECT nvl(coursedatestart, TO_DATE('2017-06-05', 'YYYY-MM-DD')) FROM REIMBURSEMENTS; SELECT * FROM TYPEOFEVENT; commit; UPDATE REIMBURSEMENTS SET STATUS = 0 WHERE RID = 7; commit; SELECT FIRSTNAME, LASTNAME FROM EMPLOYEES E WHERE (SELECT USERID FROM USERS WHERE USERNAME = 'Alexandra') = E.EID; SELECT CASE WHEN username = 'Cassie' AND password = 'hu' THEN 1 ELSE 0 END FROM USERS WHERE username = 'Cassie'; SELECT UserID FROM USERS WHERE USERNAME = 'Ming'; /*FOR EMPLOYEES */ SELECT * FROM REIMBURSEMENTS R WHERE (SELECT USERID FROM USERS WHERE USERNAME = 'Alexandra') = R.EID; commit; /* INSERTING INTO PRESENTATIONS */ INSERT INTO PRESENTATIONS (EID, RID, GRADETYPE) SELECT EID, RID, TYPEOFEVENT FROM REIMBURSEMENTS R WHERE (SELECT USERID FROM USERS WHERE USERNAME = 'Alexandra') = (SELECT E.EID FROM EMPLOYEES E WHERE E.EID = R.EID); UPDATE PRESENTATIONS P SET P.GRADE = 'A' WHERE P.EID = (SELECT USERID FROM USERS WHERE USERNAME = 'Alexandra'); RID NUMBER NOT NULL, EID NUMBER NOT NULL, FIRSTNAME VARCHAR(300), LASTNAME VARCHAR(300), TYPEOFEVENT NUMBER, DATEINSERTED DATE, COST NUMBER, DESCRIPTION VARCHAR2(300), JUSTIFICATION VARCHAR2(300), GRADINGFORMAT NUMBER, ATTACHED BLOB, DSAPPROVED NUMBER, DHAPPROVED NUMBER, BCAPPROVED NUMBER, STATUS NUMBER DEFAULT 0, CHECK (COST BETWEEN 0 AND 1000), CONSTRAINT PK_RID PRIMARY KEY(RID) SELECT * FROM GRADINGFORMAT; /* FOR SUPERVISORS QUERY */ SELECT * FROM REIMBURSEMENTS R WHERE (SELECT UserID FROM USERS WHERE USERNAME = 'Cassie') = (SELECT E.REPORTSTO FROM EMPLOYEES E WHERE E.EID = R.EID) AND DSAPPROVED = 0 UNION ALL SELECT * FROM REIMBURSEMENTS R1 WHERE (SELECT UserID FROM USERS WHERE USERNAME = 'Cassie') = R1.EID; /*FOR DEPARTMENT HEADS */ SELECT * FROM REIMBURSEMENTS R WHERE (SELECT USERID FROM USERS WHERE USERNAME = 'Ming') = (SELECT E.DEPARTMENTHEAD FROM EMPLOYEES E WHERE E.EID = R.EID) AND DHAPPROVED = 0 UNION ALL SELECT * FROM REIMBURSEMENTS R1 WHERE (SELECT UserID FROM USERS WHERE USERNAME = 'Ming') = R1.EID; /*FOR DEPARTMENT HEADS AND SUPERVISOR */ SELECT DISTINCT * FROM REIMBURSEMENTS R WHERE (SELECT USERID FROM USERS WHERE USERNAME = 'Ming') = (SELECT E.DEPARTMENTHEAD FROM EMPLOYEES E WHERE E.EID = R.EID) AND DHAPPROVED = 0 UNION SELECT DISTINCT * FROM REIMBURSEMENTS R1 WHERE (SELECT UserID FROM USERS WHERE USERNAME = 'Ming') = (SELECT E1.REPORTSTO FROM EMPLOYEES E1 WHERE E1.EID = R1.EID) AND DSAPPROVED = 0; SELECT EMPLOYEETYPE FROM EMPLOYEES E WHERE (SELECT USERID FROM USERS WHERE USERNAME = 'Ming') = EID; /*FOR BEFCOS */ SELECT * FROM REIMBURSEMENTS R WHERE BCAPPROVED = 0; UNION ALL SELECT * FROM REIMBURSEMENTS R WHERE (SELECT UserID FROM USERS WHERE USERNAME = 'BevCoSam') = R.EID; SELECT * FROM PRESENTATIONS; /***************/ /* FUNCTIONS */ /************/ CREATE OR REPLACE FUNCTION SETTOTALREIMBURSEMENT(COST IN NUMBER, EMPID IN NUMBER) RETURN NUMBER AS NEWTOTALREIMBURSEMENT NUMBER; OLDTOTAL NUMBER; BEGIN SELECT AVAILREIMBURST INTO OLDTOTAL FROM EMPLOYEES e WHERE e.EID = EMPID; NEWTOTALREIMBURSEMENT := OLDTOTAL - COST; RETURN NEWTOTALREIMBURSEMENT; END; / CREATE OR REPLACE PROCEDURE SET_REIMBURSE (COST IN NUMBER, EMPID IN NUMBER) AS NEWTOTALAVAILREIMBURSEMENT NUMBER; BEGIN NEWTOTALAVAILREIMBURSEMENT := SETTOTALREIMBURSEMENT(COST, EMPID); UPDATE EMPLOYEES E SET AVAILREIMBURST = NEWTOTALAVAILREIMBURSEMENT WHERE E.EID = EMPID; END; / CREATE OR REPLACE PROCEDURE SET_REIMBURSE (COST IN NUMBER, EMPID IN NUMBER) AS NEWTOTALAVAILREIMBURSEMENT NUMBER; BEGIN IF NEWTOTALAVAILREIMBURSEMENT := SETTOTALREIMBURSEMENT(COST, EMPID); UPDATE EMPLOYEES E SET AVAILREIMBURST = NEWTOTALAVAILREIMBURSEMENT WHERE E.EID = EMPID; END; / CREATE OR REPLACE PROCEDURE update_DSreimbursements (REID IN NUMBER) AS APPROVED NUMBER := 1; BEGIN UPDATE REIMBURSEMENTS SET DSAPPROVED = APPROVED WHERE RID = REID; END; / BEGIN UPDATE_DSREIMBURSEMENTS(6); END; / SELECT * FROM PRESENTATIONS; /***************/ /* CREATE TRIGGERS */ /**************/ CREATE OR REPLACE TRIGGER upon_StatusChange BEFORE UPDATE OF STATUS ON REIMBURSEMENTS FOR EACH ROW BEGIN SET_REIMBURSE(:OLD.COST, :OLD.EID); DELETE FROM PRESENTATIONS P WHERE :NEW.EID = P.Emp_author; END; / commit; DROP TRIGGER upon_StatusChange; UPDATE REIMBURSEMENTS SET STATUS = 1 WHERE RID = 2; SELECT DSAPPROVED FROM REIMBURSEMETS FOR UPDATE; UPDATE REIMBURSEMENTS SET DSAPPROVED = 0 WHERE RID = 6; commit; UPDATE REIMBURSEMENTS SET DSAPPROVED = 0 WHERE RID = 2; SELECT * FROM REIMBURSEMENTS; commit; /************ CREATE SEQUENCES ***********/ DROP SEQUENCE SQ_PRESENTATIONS; CREATE SEQUENCE SQ_PRESENTATIONS START WITH 1 INCREMENT BY 1; CREATE OR REPLACE TRIGGER Upon_PRESENTATIONS BEFORE INSERT ON PRESENTATIONS FOR EACH ROW BEGIN SELECT SQ_PRESENTATIONS.NEXTVAL INTO :NEW.PID FROM DUAL; END; / CREATE SEQUENCE SQ_REIMBURSEMENTS START WITH 3 INCREMENT BY 1; CREATE OR REPLACE TRIGGER Upon_InsertReimbursements BEFORE INSERT ON Reimbursements FOR EACH ROW BEGIN SELECT SQ_REIMBURSEMENTS.NEXTVAL INTO :NEW.RID FROM DUAL; END; / DROP SEQUENCE SQ_USERS; DROP TRIGGER Upon_InsertUsers; CREATE SEQUENCE SQ_USERS START WITH 5 INCREMENT BY 1; CREATE OR REPLACE TRIGGER Upon_InsertUsers BEFORE INSERT ON Users FOR EACH ROW BEGIN SELECT SQ_USERS.NEXTVAL INTO :NEW.USERID FROM DUAL; END; / DROP SEQUENCE SQ_EMPLOYEES; DROP TRIGGER Upon_InsertEmployees; CREATE SEQUENCE SQ_EMPLOYEES START WITH 5 INCREMENT BY 1; CREATE OR REPLACE TRIGGER Upon_InsertEmployees BEFORE INSERT ON Employees FOR EACH ROW BEGIN SELECT SQ_EMPLOYEES.NEXTVAL INTO :NEW.EID FROM DUAL; END; / CREATE SEQUENCE SQ_DIRECTSUPERVISORS START WITH 1 INCREMENT BY 1; CREATE OR REPLACE TRIGGER Upon_InsertDIRECTSUPERVISORS BEFORE INSERT ON DIRECTSUPERVISORS FOR EACH ROW BEGIN SELECT SQ_DIRECTSUPERVISORS.NEXTVAL INTO :NEW.DSID FROM DUAL; END; /
create or replace PACKAGE BODY LOAD_DEF AS -- Загрузка и поиск по данным с сайта https://rossvyaz.gov.ru/deyatelnost/resurs-numeracii/vypiska-iz-reestra-sistemy-i-plana-numeracii ----------------------------------------------------------------------------------------------------------------------------------- --Функция получает CLOB, разбирает его по разделителю строки и столбцов и загружает в таблицу деф кодов (план нумерации) procedure load(sessid_ in varchar2, uid_ in number, file_name_ in varchar2, file_date_act_ in date, input_clob_ in clob, res out varchar2 ) AS rows_count pls_integer; res_count number; sq_history_id number; BEGIN --проверка прав пользователя по id сессии if control.check_right(sessid_, 'loader')=0 then return; end if; res := ''; --логирование операции, берем уникальный id для этого select SQ_DEF_LOAD_HISTORY.nextval into sq_history_id from dual; insert into def_load_history( id_, file_name, file_date_act, user_id, date_load, status ) values (sq_history_id, file_name_, file_date_act_, uid_, SYSDATE, 'load_begin'); commit; --Проверка и создание постоянной промежуточной таблицы (временную нельзя , т.к. производится инсерт в нее из plsql функции, не скомпилится пакет если таблица дропнута) select /*+ noparallel */ count(1) into rows_count from tab where tname='DEF_LOAD_REUSABLE_TABLE'; if rows_count != 0 then execute immediate 'truncate table DEF_LOAD_REUSABLE_TABLE'; else execute immediate 'create table DEF_LOAD_REUSABLE_TABLE ( abcdef varchar2(20), beginnum varchar2(20), endnum varchar2(20), numcount number, opername varchar2(400), regname varchar2(400) ) PCTFREE 0 tablespace prin '; res := res||'создана постоянная таблица<br>'; end if; select /*+ noparallel */ count(1) into rows_count from tab where tname='DEF_LOAD_REUSABLE_TABLE'; if rows_count = 0 then res := res||'<a style="color:red">Мдаа... таблица все-таки не создана....</a><br>'; update def_load_history set status='error', log=res where id_=sq_history_id; return; end if; rows_count:=0; --проверка загружался ли уже файл select /*+ noparallel */ count(1) into rows_count from def_load_history where file_name=file_name_ and file_date_act=file_date_act_ and status in ('loaded','load_begin') and id_!=sq_history_id; if rows_count != 0 then res := res||'<a style="color:red">Файл с таким именем и датой актуальности уже загружен.</a><br>'; update def_load_history set status='error', log=res where id_=sq_history_id; return; end if; -- загрузка -- https://github.com/artembrdn/oracle-utils/blob/main/string/split_.ddl res := res||'Запись во временную таблицу.<br>'; INSERT into DEF_LOAD_REUSABLE_TABLE select substr( str, 1, instr( str, ';', 1, 1 ) - 1 ) abcdef, substr( str, instr( str, ';', 1, 1 ) + 1, instr( str, ';', 1, 2 ) - instr( str, ';', 1, 1 ) - 1 ) beginnum, substr( str, instr( str, ';', 1, 2 ) + 1, instr( str, ';', 1, 3 ) - instr( str, ';', 1, 2 ) - 1 ) endnum, substr( str, instr( str, ';', 1, 3 ) + 1, instr( str, ';', 1, 4 ) - instr( str, ';', 1, 3 ) - 1 ) numcount, substr( str, instr( str, ';', 1, 4 ) + 1, instr( str, ';', 1, 5 ) - instr( str, ';', 1, 4 ) - 1 ) opername, substr( str, instr( str, ';', 1, 5 ) + 1 ) regname from table( utils.split_ ( input_clob_, chr(10) ) ) t where str is not null; commit; select count(1) into res_count from DEF_LOAD_REUSABLE_TABLE; res := res||'Записано '||res_count||' строк.<br>'; INSERT INTO DEF_CODES( abcdef, beginnum, endnum, NUMCOUNT, opername, regname, date_act ,ABCDEF_STR, BEGINNUM_STR, ENDNUM_STR, TEL1, TEL2) select to_number(t.abcdef), to_number(t.beginnum), to_number(t.endnum), t.NUMCOUNT, t.opername, t.regname, file_date_act_,t.abcdef, t.beginnum, t.endnum, to_number('7'||t.abcdef||t.beginnum), to_number('7'||t.abcdef||t.endnum) from DEF_LOAD_REUSABLE_TABLE t; commit; res := res||'Все строки из временной таблицы перенесены в основную.<br>'; res := '<a style="color:green">'||res||'Завершено.</a><br>'; update def_load_history set status='loaded', log=res where id_=sq_history_id; return; exception when others then res := res||'<a style="color:red">error: '||sqlerrm||'</a>'; update def_load_history set status='error', log=res where id_=sq_history_id; return; END load; ----------------------------------------------------------------------------------------------------------------------------------- -- функция раскрывает самые актуальные диапозоны номеров и подменяет текущую партицию в таблице актуальных данных procedure refresh_act(parallel_level in number default 10) is temp_tab varchar2(200) := 'TEMP_DEF_ACTS'; table_space varchar2(200):='def_codes'; i number; begin execute immediate 'alter session set ddl_lock_timeout=1800'; execute immediate 'alter session set sort_area_size=2147483647'; execute immediate 'alter session set hash_area_size=2147483647'; execute immediate 'alter session set workarea_size_policy=manual'; execute immediate 'alter session enable parallel query'; execute immediate 'alter session enable parallel dml'; execute immediate 'alter session enable parallel ddl'; execute immediate 'create table '||temp_tab||' tablespace '||table_space||' compress nologging pctfree 0 as select /*+ parallel('||parallel_level||')*/t1.column_value tel , t.opername,t.regname,t.date_act from DEF_CODES t, table( LOAD_DEF.def_codes_plane_row(tel1, tel2) ) t1 where date_act=(select max(date_act) from DEF_CODES) '; execute immediate 'CREATE UNIQUE INDEX '||temp_tab||'_INDEX1 ON '||temp_tab||' (TEL) tablespace '||table_space||' parallel '||parallel_level||''; execute immediate 'select /*+ noparallel */ count(1) from '||temp_tab||' where rownum<10' into i; if i > 0 then execute immediate 'alter table DEF_CODES_ACT exchange partition DEF_ACT with table '||temp_tab||' including indexes without validation'; else RAISE_APPLICATION_ERROR(-20001,'Временная таблица деф кодов пустая'); end if; execute immediate 'select /*+ noparallel */ count(1) from DEF_CODES_ACT where rownum<10' into i; if i > 0 then execute immediate 'drop table '||temp_tab||' purge'; end if; end; ----------------------------------------------------------------------------------------------------------------------------------- --история загрузок function history(sessid in varchar2) return def_history_type pipelined is res def_history_format :=def_history_format (null, null, null, null, null, null, null) ; begin if control.check_right(sessid, 'loader')=0 then return; end if; for c in (select * from def_load_history) loop res.id_:=c.id_; res.FILE_NAME:=c.FILE_NAME; res.FILE_DATE_ACT:=c.FILE_DATE_ACT ; res.LOG:=c.LOG; res.USER_ID:=c.USER_ID ; res.DATE_LOAD:=c.DATE_LOAD ; res.status:=c.status; pipe row(res) ; end loop; end history; ----------------------------------------------------------------------------------------------------------------------------------- -- раскрывает диапозон на список значений function def_codes_plane_row(tel1 in number, tel2 in number) RETURN varchar2_t pipelined parallel_enable is i_count number; begin i_count := tel2 - tel1; for tel_i in 0..i_count loop pipe row(to_char(tel1+tel_i)); end loop; end def_codes_plane_row; ----------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------- --простой поиск в таблице диапозонов --single row 0.3 sec (55 uploads in table, 15 735 720 rows) function find(tel in varchar2, date_stat in date default null) return def_codes_type is res def_codes_type:= def_codes_type(null); begin if ( length(tel)=11 and tel like '7%' ) then select def_codes_format(find.tel, opername,regname,date_act) bulk collect into res from( select /*+index(t DEF_CODES_RANGE)*/ opername,regname,date_act from def_codes t where to_number(tel) between tel1 and tel2 order by date_act desc ) where rownum=1; return res; end if; return res; EXCEPTION when others then return res; end; ----------------------------------------------------------------------------------------------------------------------------------- --быстрый, но не самый очевидный способ, используется факт того что индекс отсортирован в обратном порядке --single row 0.005 sec function find_act_from_hist(tel in varchar2, date_stat in date default null) return def_codes_type is res def_codes_type:= def_codes_type(null); begin if ( length(tel)=11 and tel like '7%' ) then select def_codes_format(find_act_from_hist.tel, opername,regname,date_act) bulk collect into res from ( select /*+index(t DEF_CODES_TEL1)*/ * from prin.def_codes t where tel1 <= to_number(find_act_from_hist.tel) and date_act = date_stat and rownum=1 order by tel1 desc, date_act desc ) r where r.tel2 >= to_number(find_act_from_hist.tel); return res; end if; return res; exception when others then return res; end; ----------------------------------------------------------------------------------------------------------------------------------- --самый быстрый поиск по прямому совпадению в раскрытой таблице актуальных диапозонов --single row 0.001 sec function find_act(tel in varchar2) return def_codes_type is res def_codes_type:= def_codes_type(null); begin select /*+ index(t)*/ def_codes_format(find_act.tel, opername,regname,date_act) bulk collect into res from def_codes_act t where tel = find_act.tel; return res; EXCEPTION when others then return res; end; ----------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------- END LOAD_DEF;
<filename>MQ/SecReview/mosaiq_observation_period.sql /* Notes: 1) First 2 attributes are included so lineage tracing and source primary key identification is clearly contained in the prospective extract file. 2) The output IDENTITY_CONTEXT clearly indicates the primary source of the extract file. 3) The output SOURCE_PK will always contain the column(s) which identify the primary key for the source system of record. In cases where source keys include more than one element they should be sequentially numbered, i.e. SOURCE_PK_01, SOURCE_PK_02,etc 4) In instances where there is no equivalent concept in the source table(s), simply include a "NULL as MISSING_COLUMN_NAME" in the SQL so it it clear that the omission is not an oversight. 5) The structure will largely resemble the structure of the target table and wherever practical contain all source elements needed to populate the target, excluding OMOP metadata keys which will be looked up during the Staging to Persistent Store ETL operation. 6) Single value sub-selects are recommended for external lookups vs. lots of joins. Makes everything easier to read. Additionally, all single element sub selects must include TOP 1 for SQLServer or ROWNUM < 2 for Oracle instances. This simply protects against SQLCODE -1427 in cases where the source data may not be properly constrained. 7) Always include a WHERE clause even if it only validates the source PK is not null. 8) Include as much commenting as needed to clearly express the work being performed. */ /* CONFIDENCE LEVEL 75% -- is this the correct interpretation? EXECUTION CHECK SUCCESSFUL -- DAH 01/20/2022 Added Modified DtTm -- DAH 01/20/2022 */ SET NOCOUNT ON; SELECT "IDENTITY_CONTEXT|SOURCE_PK|OBSERVATION_PERIOD_ID|PERSON_ID|OBSERVATION_PERIOD_START_DATE|OBSERVATION_PERIOD_END_DATE|PERIOD_TYPE_CONCEPT_ID|Duration_HrMin|Activity|modified_DtTm"; SELECT 'MosaiqAdmin Ref_SchSets (OMOP_OBSERVATION_PERIOD)' AS IDENTITY_CONTEXT ,rsource.sch_Set_Id AS SOURCE_PK ,rsource.sch_Set_Id AS OBSERVATION_PERIOD_ID ,rsource.Pat_ID1 AS PERSON_ID ,Format(rsource.Appt_DtTm,'yyyy-MM-dd HH:mm:ss') AS OBSERVATION_PERIOD_START_DATE ,NULL AS OBSERVATION_PERIOD_END_DATE ,'EHR note' AS PERIOD_TYPE_CONCEPT_ID ,rsource.Duration_HrMin ,rsource.Activity ,Format(rsource.run_date,'yyyy-MM-dd HH:mm:ss') AS modified_DtTm FROM MosaiqAdmin.dbo.Ref_SchSets rsource INNER JOIN MosaiqAdmin.dbo.RS21_Patient_List_for_Security_Review pat on rsource.pat_id1 = pat.pat_id1 -- subset WHERE sch_set_id is not null ;
/*==============================================================*/ /* DBMS code: Microsoft SQL Server 2008 */ /* Created on: 6/3/2015 12:23:52 */ /*==============================================================*/ if exists (select 1 from sys.sysreferences r join sys.sysobjects o on (o.id = r.constid and o.type = 'F') where r.fkeyid = object_id('FILM') and o.code = 'FK_FILM_ASOCIJACI_ZANR') alter table FILM drop constraint FK_FILM_ASOCIJACI_ZANR go if exists (select 1 from sys.sysreferences r join sys.sysobjects o on (o.id = r.constid and o.type = 'F') where r.fkeyid = object_id('FILM') and o.code = 'FK_FILM_FILMOVI_V_VIDEOTEK') alter table FILM drop constraint FK_FILM_FILMOVI_V_VIDEOTEK go if exists (select 1 from sys.sysreferences r join sys.sysobjects o on (o.id = r.constid and o.type = 'F') where r.fkeyid = object_id('FILM') and o.code = 'FK_FILM_ZEMLJA_PO_ZEMLJA_P') alter table FILM drop constraint FK_FILM_ZEMLJA_PO_ZEMLJA_P go if exists (select 1 from sys.sysreferences r join sys.sysobjects o on (o.id = r.constid and o.type = 'F') where r.fkeyid = object_id('KOPIJA') and o.code = 'FK_KOPIJA_KOPIJA_FI_FILM') alter table KOPIJA drop constraint FK_KOPIJA_KOPIJA_FI_FILM go if exists (select 1 from sys.sysreferences r join sys.sysobjects o on (o.id = r.constid and o.type = 'F') where r.fkeyid = object_id('UCESNICI_FILMA') and o.code = 'FK_UCESNICI_UCESNICI__FILM') alter table UCESNICI_FILMA drop constraint FK_UCESNICI_UCESNICI__FILM go if exists (select 1 from sys.sysreferences r join sys.sysobjects o on (o.id = r.constid and o.type = 'F') where r.fkeyid = object_id('UCESNICI_FILMA') and o.code = 'FK_UCESNICI_UCESNICI__UCESNIK_') alter table UCESNICI_FILMA drop constraint FK_UCESNICI_UCESNICI__UCESNIK_ go if exists (select 1 from sysindexes where id = object_id('FILM') and code = 'FILMOVI_VIDEOTEKE_FK' and indid > 0 and indid < 255) drop index FILM.FILMOVI_VIDEOTEKE_FK go if exists (select 1 from sysindexes where id = object_id('FILM') and code = 'ASOCIJACIJA_FILM_ZANR_FK' and indid > 0 and indid < 255) drop index FILM.ASOCIJACIJA_FILM_ZANR_FK go if exists (select 1 from sysindexes where id = object_id('FILM') and code = 'ZEMLJA_POREKLA_FK' and indid > 0 and indid < 255) drop index FILM.ZEMLJA_POREKLA_FK go if exists (select 1 from sysobjects where id = object_id('FILM') and type = 'U') drop table FILM go if exists (select 1 from sysindexes where id = object_id('KOPIJA') and code = 'KOPIJA_FILMA_FK' and indid > 0 and indid < 255) drop index KOPIJA.KOPIJA_FILMA_FK go if exists (select 1 from sysobjects where id = object_id('KOPIJA') and type = 'U') drop table KOPIJA go if exists (select 1 from sysindexes where id = object_id('UCESNICI_FILMA') and code = 'UCESNICI_FILMA_FK2' and indid > 0 and indid < 255) drop index UCESNICI_FILMA.UCESNICI_FILMA_FK2 go if exists (select 1 from sysindexes where id = object_id('UCESNICI_FILMA') and code = 'UCESNICI_FILMA_FK' and indid > 0 and indid < 255) drop index UCESNICI_FILMA.UCESNICI_FILMA_FK go if exists (select 1 from sysobjects where id = object_id('UCESNICI_FILMA') and type = 'U') drop table UCESNICI_FILMA go if exists (select 1 from sysobjects where id = object_id('UCESNIK_FILMA') and type = 'U') drop table UCESNIK_FILMA go if exists (select 1 from sysobjects where id = object_id('VIDEOTEKA') and type = 'U') drop table VIDEOTEKA go if exists (select 1 from sysobjects where id = object_id('ZANR') and type = 'U') drop table ZANR go if exists (select 1 from sysobjects where id = object_id('ZEMLJA_POREKLA') and type = 'U') drop table ZEMLJA_POREKLA go /*==============================================================*/ /* Table: FILM */ /*==============================================================*/ create table FILM ( SIFRA_VIDEOTEKE numeric(1) not null, SIFRA_FILMA numeric(10) not null, NAZIV_FILMA varchar(200) not null, ORIGINALNI_NAZIV varchar(200) null, SIFRA_ZEMLJE numeric(3) not null, SIFRA_ZANRA numeric(2) not null, KRATAK_OPIS varchar(2000) null, DUZINA_TRAJANJA numeric(4) not null, constraint PK_FILM primary key nonclustered (SIFRA_VIDEOTEKE, SIFRA_FILMA) ) go /*==============================================================*/ /* Index: ZEMLJA_POREKLA_FK */ /*==============================================================*/ create index ZEMLJA_POREKLA_FK on FILM ( SIFRA_ZEMLJE ASC ) go /*==============================================================*/ /* Index: ASOCIJACIJA_FILM_ZANR_FK */ /*==============================================================*/ create index ASOCIJACIJA_FILM_ZANR_FK on FILM ( SIFRA_ZANRA ASC ) go /*==============================================================*/ /* Index: FILMOVI_VIDEOTEKE_FK */ /*==============================================================*/ create index FILMOVI_VIDEOTEKE_FK on FILM ( SIFRA_VIDEOTEKE ASC ) go /*==============================================================*/ /* Table: KOPIJA */ /*==============================================================*/ create table KOPIJA ( BROJ_KOPIJE numeric(10) not null, SIFRA_VIDEOTEKE numeric(1) not null, SIFRA_FILMA numeric(10) not null, MEDIJUM char(1) not null, constraint PK_KOPIJA primary key nonclustered (SIFRA_VIDEOTEKE, BROJ_KOPIJE) ) go /*==============================================================*/ /* Index: KOPIJA_FILMA_FK */ /*==============================================================*/ create index KOPIJA_FILMA_FK on KOPIJA ( SIFRA_VIDEOTEKE ASC, SIFRA_FILMA ASC ) go /*==============================================================*/ /* Table: UCESNICI_FILMA */ /*==============================================================*/ create table UCESNICI_FILMA ( SIFRA_VIDEOTEKE numeric(1) not null, SIFRA_FILMA numeric(10) not null, SIFRA_UCESNIKA numeric(4) not null, constraint PK_UCESNICI_FILMA primary key nonclustered (SIFRA_VIDEOTEKE, SIFRA_FILMA, SIFRA_UCESNIKA) ) go /*==============================================================*/ /* Index: UCESNICI_FILMA_FK */ /*==============================================================*/ create index UCESNICI_FILMA_FK on UCESNICI_FILMA ( SIFRA_VIDEOTEKE ASC, SIFRA_FILMA ASC ) go /*==============================================================*/ /* Index: UCESNICI_FILMA_FK2 */ /*==============================================================*/ create index UCESNICI_FILMA_FK2 on UCESNICI_FILMA ( SIFRA_UCESNIKA ASC ) go /*==============================================================*/ /* Table: UCESNIK_FILMA */ /*==============================================================*/ create table UCESNIK_FILMA ( SIFRA_UCESNIKA numeric(4) not null, PREZIME varchar(20) not null, IME varchar(20) not null, VRSTA_DELATNOSTI char(1) null constraint CKC_VRSTA_DELATNOSTI_UCESNIK_ check (VRSTA_DELATNOSTI is null or (VRSTA_DELATNOSTI in ('G','R','S','M'))), constraint PK_UCESNIK_FILMA primary key nonclustered (SIFRA_UCESNIKA) ) go declare @CurrentUser sysname select @CurrentUser = user_name() execute sp_addextendedproperty 'MS_Description', 'Vrsta delatnosti: glumac, reziser, scenarista, autor muzike', 'user', @CurrentUser, 'table', 'UCESNIK_FILMA' go /*==============================================================*/ /* Table: VIDEOTEKA */ /*==============================================================*/ create table VIDEOTEKA ( SIFRA_VIDEOTEKE numeric(1) not null, NAZIV varchar(30) not null, ADRESA varchar(80) null, TELEFON varchar(20) null, ZIRO_RACUN varchar(16) not null, PORESK_IBROJ varchar(13) not null, BROJ_FILMOVA numeric(10) null default 0, BROJ_KOPIJA numeric(10) null default 0, constraint PK_VIDEOTEKA primary key nonclustered (SIFRA_VIDEOTEKE) ) go /*==============================================================*/ /* Table: ZANR */ /*==============================================================*/ create table ZANR ( SIFRA_ZANRA numeric(2) not null, NAZIV varchar(40) not null, constraint PK_ZANR primary key nonclustered (SIFRA_ZANRA) ) go /*==============================================================*/ /* Table: ZEMLJA_POREKLA */ /*==============================================================*/ create table ZEMLJA_POREKLA ( SIFRA_ZEMLJE numeric(3) not null, NAZIV varchar(30) not null, constraint PK_ZEMLJA_POREKLA primary key nonclustered (SIFRA_ZEMLJE) ) go alter table FILM add constraint FK_FILM_ASOCIJACI_ZANR foreign key (SIFRA_ZANRA) references ZANR (SIFRA_ZANRA) go alter table FILM add constraint FK_FILM_FILMOVI_V_VIDEOTEK foreign key (SIFRA_VIDEOTEKE) references VIDEOTEKA (SIFRA_VIDEOTEKE) go alter table FILM add constraint FK_FILM_ZEMLJA_PO_ZEMLJA_P foreign key (SIFRA_ZEMLJE) references ZEMLJA_POREKLA (SIFRA_ZEMLJE) go alter table KOPIJA add constraint FK_KOPIJA_KOPIJA_FI_FILM foreign key (SIFRA_VIDEOTEKE, SIFRA_FILMA) references FILM (SIFRA_VIDEOTEKE, SIFRA_FILMA) go alter table UCESNICI_FILMA add constraint FK_UCESNICI_UCESNICI__FILM foreign key (SIFRA_VIDEOTEKE, SIFRA_FILMA) references FILM (SIFRA_VIDEOTEKE, SIFRA_FILMA) go alter table UCESNICI_FILMA add constraint FK_UCESNICI_UCESNICI__UCESNIK_ foreign key (SIFRA_UCESNIKA) references UCESNIK_FILMA (SIFRA_UCESNIKA) go
<filename>backend/src/db/migrations/20201229185324-books.sql<gh_stars>0 -- +migrate Up CREATE TABLE IF NOT EXISTS `books` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `genre_id` bigint(20) NOT NULL, `publisher_id` bigint(20) NOT NULL, `author_id` bigint(20) NOT NULL, `title` varchar(255) NOT NULL, `image_url` varchar(255) DEFAULT NULL, `publish_date` date DEFAULT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, PRIMARY KEY (`id`), KEY `index_books_on_genre_id` (`genre_id`), KEY `index_books_on_publisher_id` (`publisher_id`), KEY `index_books_on_author_id` (`author_id`), CONSTRAINT `fk_books_0000` FOREIGN KEY (`genre_id`) REFERENCES `genres` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `fk_books_0001` FOREIGN KEY (`publisher_id`) REFERENCES `publishers` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `fk_books_0002` FOREIGN KEY (`author_id`) REFERENCES `authors` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4; -- +migrate Down DROP TABLE IF EXISTS `books`;
CREATE TABLE IF NOT EXISTS simpson( id SERIAL PRIMARY KEY, quote TEXT, character VARCHAR(255), image TEXT, characterDirection VARCHAR(255) );
<filename>xu.fei/data/track_locations.sql -- phpMyAdmin SQL Dump -- version 4.9.4 -- https://www.phpmyadmin.net/ -- -- Host: localhost:3306 -- Generation Time: Dec 15, 2020 at 12:14 PM -- Server version: 5.6.49-cll-lve -- PHP Version: 7.3.6 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: `AAU_WNM60803_FEI` -- -- -------------------------------------------------------- -- -- Table structure for table `track_locations` -- CREATE TABLE `track_locations` ( `id` int(11) NOT NULL, `animal_id` int(11) NOT NULL, `lat` decimal(9,6) NOT NULL, `lng` decimal(9,6) NOT NULL, `description` text NOT NULL, `photo` varchar(256) NOT NULL, `icon` varchar(256) NOT NULL, `date_create` datetime NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `track_locations` -- INSERT INTO `track_locations` (`id`, `animal_id`, `lat`, `lng`, `description`, `photo`, `icon`, `date_create`) VALUES (1, 16, 37.740709, -122.386472, 'Cillum duis eu ut eu. Cupidatat proident aute sit amet commodo id duis velit consectetur ex dolor ad enim. Duis id cillum aute voluptate magna sunt occaecat elit sint officia fugiat eiusmod deserunt consectetur.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-06-04 10:48:24'), (2, 24, 37.765002, -122.439758, 'Ut cupidatat laborum id ad anim in amet laboris ipsum. Commodo aliqua et esse culpa. Minim minim proident cillum qui sint eu amet aliquip ipsum consequat tempor irure culpa.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-02-24 05:44:21'), (3, 30, 37.776944, -122.403286, 'Nisi excepteur ad proident qui sit nulla consequat excepteur magna ut. Officia do magna sunt deserunt est id quis in deserunt velit. Enim laboris elit qui est cupidatat consequat cillum ipsum nostrud reprehenderit ex laborum cupidatat magna.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-08-22 01:04:23'), (4, 7, 37.754273, -122.480902, 'Fugiat id do in dolor incididunt esse esse duis. Eiusmod laborum irure ex Lorem duis. Magna elit ad ullamco ipsum commodo duis ullamco do.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-03-12 02:24:08'), (5, 2, 37.793902, -122.410059, 'Ea cillum eu veniam qui tempor sit. Labore id ex id aliquip deserunt pariatur laborum ad exercitation aliquip duis laboris aliqua. Ut reprehenderit fugiat laborum do Lorem do sit reprehenderit.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-06-24 05:36:21'), (6, 23, 37.770963, -122.400736, 'Mollit dolore exercitation dolore cupidatat veniam est proident fugiat dolore velit esse voluptate. Ex sint occaecat id mollit sunt. Quis dolore pariatur in irure.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-02-08 07:50:28'), (7, 13, 37.723062, -122.481266, 'Culpa cupidatat tempor voluptate deserunt proident tempor dolore elit exercitation ad aliqua enim cillum enim. Aute irure duis eu qui elit eu tempor. Eiusmod proident duis ad occaecat id deserunt pariatur ea.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-08-25 10:14:52'), (8, 41, 37.747530, -122.381880, 'Lorem ex esse veniam commodo laboris et excepteur adipisicing aute quis quis ea. Aliquip et eu aliqua ipsum cupidatat fugiat irure pariatur deserunt aute nulla. Velit amet cillum nostrud occaecat consectetur dolor sit sit officia enim tempor ex Lorem.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-05-27 12:21:15'), (9, 8, 37.744969, -122.419774, 'In labore et incididunt nostrud minim. Irure tempor nisi commodo qui. Nulla exercitation officia ex enim eu aliquip ex esse consequat Lorem.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-04-02 01:14:58'), (10, 6, 37.736396, -122.499548, 'Commodo qui incididunt consequat excepteur elit minim minim cupidatat reprehenderit deserunt do eiusmod anim. Veniam laborum deserunt commodo quis pariatur dolore ex aliquip ad tempor commodo. Ea ipsum occaecat nostrud enim eu et nostrud magna labore ut ad sint aliquip quis.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-08-03 04:51:49'), (11, 1, 37.747597, -122.387533, 'Proident voluptate laboris anim elit ipsum officia duis consectetur in quis magna ea Lorem incididunt. Aute irure non reprehenderit aliquip sit amet amet duis est. Anim do adipisicing ea proident adipisicing amet ipsum consequat.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-04-04 04:18:58'), (12, 6, 37.774149, -122.422730, 'Cupidatat sunt irure do qui. Proident ad labore reprehenderit officia sint. Deserunt exercitation ullamco pariatur mollit minim.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-08-31 08:42:38'), (13, 46, 37.792931, -122.400015, 'Ut quis nisi id consequat consectetur non eiusmod ad pariatur. Dolor ipsum reprehenderit nisi velit est est exercitation aliquip sunt commodo elit pariatur. Incididunt et quis est ullamco aute exercitation ullamco.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-01-06 08:22:25'), (14, 2, 37.729303, -122.417438, 'Eiusmod voluptate non irure sunt exercitation sint adipisicing. Deserunt culpa sit est ut proident amet ea sint culpa. Sit ullamco fugiat laboris id duis magna quis consequat eu quis minim.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-12-08 05:41:52'), (15, 39, 37.727484, -122.448747, 'Laboris sunt ea tempor deserunt deserunt fugiat excepteur voluptate sunt id quis amet. Commodo excepteur commodo dolor anim dolore non consequat non aliqua aliquip incididunt labore deserunt. Cupidatat mollit aliqua labore labore occaecat mollit nostrud adipisicing do laborum.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-11-26 03:03:37'), (16, 11, 37.759779, -122.448383, 'Exercitation sint sunt consequat magna velit incididunt fugiat ad anim irure esse. Fugiat mollit eiusmod quis elit. Exercitation deserunt sit nisi sint velit laborum amet ipsum fugiat excepteur eu eu.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-04-12 09:14:06'), (17, 3, 37.707583, -122.427022, 'Occaecat irure exercitation velit officia non ipsum. Dolor officia Lorem aliquip officia consequat anim voluptate irure anim. Proident esse est quis voluptate et velit nostrud incididunt consectetur exercitation proident esse ea.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-07-01 04:17:57'), (18, 43, 37.735286, -122.482664, 'Consequat veniam enim esse sit cillum fugiat nisi esse fugiat laborum. Id sint ad culpa laboris qui mollit dolore do magna ut nulla. Qui ut sunt est fugiat ullamco magna pariatur ut esse ex deserunt incididunt.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-02-02 11:06:15'), (19, 6, 37.782827, -122.470371, 'Eiusmod deserunt reprehenderit sunt eu velit non non velit veniam. Elit do est cupidatat esse id. Duis veniam culpa labore et non id sunt.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-03-04 08:43:19'), (20, 24, 37.785134, -122.499451, 'Pariatur sint incididunt aute ipsum veniam enim. Aute tempor occaecat adipisicing veniam excepteur culpa pariatur ea ex. Enim in deserunt adipisicing laboris irure reprehenderit voluptate duis ipsum in culpa Lorem.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-03-15 12:01:40'), (21, 20, 37.724904, -122.425092, 'Do exercitation ullamco in commodo nulla amet consectetur consequat ad adipisicing eu esse eu. Commodo esse nulla eu sint tempor id culpa laboris reprehenderit magna ut sint consectetur adipisicing. Aute excepteur nulla sunt consectetur in nisi pariatur nostrud qui laboris nisi irure ad.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-08-31 02:46:16'), (22, 36, 37.703891, -122.434100, 'Incididunt sint proident magna ea labore nostrud do commodo reprehenderit nisi. Irure pariatur fugiat tempor pariatur aliquip et deserunt in. Aliqua fugiat do sit ea velit.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-08-30 10:40:06'), (23, 42, 37.720148, -122.479367, 'Sit anim occaecat aute in sint esse sunt nisi sint dolor qui. Nisi ex consectetur tempor do fugiat dolor mollit consectetur dolor velit nulla officia cupidatat. Lorem excepteur exercitation culpa veniam duis.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-11-03 05:56:45'), (24, 28, 37.715822, -122.424786, 'Cillum commodo anim qui minim velit ex dolor. Eiusmod irure eu eu sit et duis velit proident laboris. Enim nisi velit consequat elit officia elit est eiusmod proident occaecat ex.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-05-26 07:42:26'), (25, 2, 37.755976, -122.398811, 'Excepteur aliquip in voluptate ex sint officia magna officia. Ullamco do ex duis esse ut velit duis incididunt. Incididunt consectetur occaecat duis ad dolor sunt dolor do excepteur aliqua velit adipisicing.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-05-31 07:38:03'), (26, 37, 37.770103, -122.503146, 'Sunt mollit ipsum ipsum aliqua pariatur ipsum enim proident quis labore ipsum pariatur id. Sunt eu laboris ad duis aute ipsum amet ipsum ut dolore sint tempor. Amet quis non excepteur do cillum.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-07-12 11:00:51'), (27, 29, 37.715238, -122.425626, 'Mollit elit duis velit cupidatat magna occaecat ex occaecat magna in consectetur dolor. Pariatur aliqua excepteur quis esse. Ut reprehenderit aliquip dolore duis in laboris aliqua exercitation id deserunt culpa ea.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-12-08 04:22:09'), (28, 32, 37.757206, -122.496087, 'Eu adipisicing sunt culpa laboris reprehenderit aliquip duis. Pariatur occaecat consectetur do enim qui ex velit id eiusmod. Anim aliqua culpa minim fugiat excepteur ut reprehenderit ea aute deserunt cupidatat adipisicing veniam incididunt.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-08-31 10:59:39'), (29, 37, 37.770127, -122.468855, 'Dolor proident magna eiusmod aliqua qui exercitation et id sint cillum. Cillum occaecat aliqua culpa nisi cupidatat officia aute exercitation fugiat. Amet pariatur exercitation ut consequat consectetur irure velit ad sunt nostrud.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-12-05 09:57:49'), (30, 43, 37.767773, -122.488134, 'Ex veniam cillum mollit dolore labore proident nisi ad aliqua non eiusmod. Amet qui fugiat magna irure pariatur deserunt et nostrud tempor cupidatat minim. Aliquip voluptate deserunt sunt velit labore veniam ut in ea amet cillum.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-12-08 01:54:57'), (31, 31, 37.766157, -122.446786, 'In esse adipisicing velit elit labore Lorem. Proident Lorem do aliquip sint mollit quis nulla sint elit aute. Dolore deserunt irure officia veniam.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-05-25 01:56:27'), (32, 29, 37.721589, -122.415908, 'Et aute irure in ad et. Ut nisi eiusmod dolore quis cillum enim laboris irure id proident reprehenderit tempor ex exercitation. Esse eiusmod laboris do elit laboris aliquip nulla ad qui elit culpa sint do.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-11-28 05:58:27'), (33, 36, 37.709959, -122.395291, 'Mollit mollit ad ullamco consectetur ullamco ea esse. Laborum in minim et sunt et reprehenderit veniam veniam. Ut pariatur occaecat Lorem anim sint exercitation nostrud sint aliquip.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-05-13 04:51:53'), (34, 4, 37.758376, -122.431368, 'Deserunt nostrud irure commodo incididunt ad ipsum eu do laboris. Adipisicing anim aliqua velit quis ex elit officia enim non deserunt. Culpa cupidatat laborum sit consequat laborum magna ad commodo ipsum eiusmod id cupidatat adipisicing magna.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-01-08 10:44:47'), (35, 17, 37.743801, -122.446901, 'Velit magna est anim magna cupidatat cupidatat adipisicing nulla minim aute irure. Pariatur reprehenderit sit esse minim duis sunt nostrud est anim id. Adipisicing qui elit non esse culpa enim mollit anim minim esse duis sunt.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-04-29 04:07:33'), (36, 31, 37.787616, -122.476208, 'Fugiat ipsum sint nostrud aliqua deserunt minim deserunt consequat eu. Aute ipsum nulla aliquip elit commodo nulla dolore exercitation. Voluptate anim pariatur dolor do.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-07-12 01:48:44'), (37, 16, 37.750295, -122.490031, 'Lorem ullamco in laboris esse ipsum dolore veniam laboris culpa eu ad incididunt aute id. Aute nulla excepteur ad pariatur aute esse amet tempor id aute pariatur nisi proident do. Occaecat deserunt cupidatat amet quis occaecat id laborum velit et ut.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-06-04 04:04:34'), (38, 43, 37.730956, -122.404811, 'Magna sint adipisicing duis dolore enim aliquip cupidatat ut incididunt amet esse sunt consectetur. Ex commodo non velit do. Duis non amet ullamco dolore sint sit aliqua pariatur nulla.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-06-05 02:48:52'), (39, 27, 37.708932, -122.417924, 'Ipsum tempor eiusmod eiusmod enim ut occaecat cillum. Anim et Lorem nulla laboris. Sint enim aliqua exercitation do irure adipisicing consectetur ullamco consequat magna Lorem quis velit aliquip.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-02-17 01:03:06'), (40, 8, 37.750322, -122.385324, 'Fugiat ipsum occaecat sint sint. Velit in consectetur cupidatat quis anim pariatur exercitation et aliquip eu officia irure. Pariatur reprehenderit officia incididunt excepteur et occaecat cupidatat laborum voluptate voluptate deserunt ea Lorem.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-01-11 07:54:12'), (41, 1, 37.772945, -122.392724, 'Qui irure irure et occaecat est aute Lorem duis aute magna sunt officia minim. Id est elit voluptate et non officia elit fugiat aliqua aliquip tempor id tempor in. Non ut duis Lorem excepteur excepteur qui nisi consectetur labore eiusmod sit ipsum dolor.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-04-15 12:33:34'), (42, 4, 37.786575, -122.450814, 'Sint deserunt aliquip quis amet occaecat consectetur culpa deserunt culpa et laborum. Dolor velit cupidatat ullamco consequat dolor ea irure nostrud amet duis exercitation esse ea. Deserunt laboris est minim ea duis voluptate sit in velit pariatur.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-11-26 10:05:22'), (43, 26, 37.735649, -122.449459, 'Sint nostrud laboris eiusmod non fugiat esse eu tempor culpa. Qui ut nisi mollit enim est sint officia excepteur anim cupidatat deserunt elit anim nostrud. Reprehenderit cupidatat ipsum velit laboris officia in et esse velit nostrud.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-08-23 05:28:35'), (44, 44, 37.703922, -122.437772, 'Cillum minim enim consectetur nostrud proident incididunt duis culpa voluptate mollit. Anim esse labore duis quis pariatur tempor esse laboris velit officia sit occaecat. Labore est duis tempor laborum consequat laborum.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-06-27 04:48:51'), (45, 28, 37.762496, -122.420785, 'Dolor ea consequat nisi quis nisi. Occaecat culpa enim commodo nulla aliqua sunt mollit velit aute. Tempor in officia qui elit do nostrud culpa culpa aliquip.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-05-18 06:41:03'), (46, 32, 37.717840, -122.498861, 'Officia amet Lorem dolor aliquip id aute adipisicing. Ea magna tempor nulla fugiat adipisicing proident in occaecat. Non commodo proident consequat ipsum adipisicing excepteur ut excepteur officia anim.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-07-26 02:23:27'), (47, 36, 37.736514, -122.429586, 'Veniam excepteur anim proident tempor. Aliquip nulla ullamco consectetur nulla commodo et aliqua velit. Cillum sint veniam in ut cupidatat voluptate eu ipsum veniam minim in.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-11-24 08:01:54'), (48, 17, 37.770560, -122.487802, 'Aliquip nostrud esse anim tempor eu veniam. Ullamco ad cupidatat elit cupidatat adipisicing tempor laboris consequat dolore et consectetur voluptate cupidatat eiusmod. Sint veniam culpa aute anim esse tempor.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-12-08 07:46:24'), (49, 6, 37.789189, -122.423474, 'Duis exercitation aliquip culpa quis nisi et. Proident laborum eu mollit ullamco exercitation. Exercitation exercitation incididunt ut amet ex Lorem commodo consequat irure.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-05-08 02:59:49'), (50, 12, 37.767795, -122.483270, 'Minim ea minim voluptate irure dolore non aliqua exercitation proident nisi officia mollit in. Officia mollit reprehenderit amet ipsum. Ipsum tempor nisi consequat culpa commodo voluptate dolore pariatur consequat aute consequat commodo esse ut.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-03-13 08:51:08'), (51, 45, 37.774475, -122.490916, 'Sit velit elit reprehenderit non magna adipisicing sunt. Est non laborum proident magna excepteur ut irure ipsum. Anim ut exercitation ea Lorem velit aliqua sint incididunt amet commodo officia sint consequat sit.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-05-06 03:07:37'), (52, 17, 37.782310, -122.499361, 'Excepteur pariatur irure aute dolore cupidatat voluptate in amet est fugiat amet. Aliqua aliqua magna eu amet nulla exercitation ullamco qui sit magna labore deserunt deserunt occaecat. Incididunt consectetur quis in excepteur et amet esse occaecat eiusmod veniam culpa qui eu qui.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-10-08 05:51:54'), (53, 36, 37.739276, -122.411326, 'Velit id labore qui qui anim dolore sint commodo dolor excepteur ad velit. Excepteur cupidatat consectetur aliquip magna voluptate fugiat. Ad anim deserunt ex deserunt et.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-06-19 04:48:57'), (54, 15, 37.719085, -122.432573, 'Reprehenderit exercitation occaecat sint nostrud ex elit nulla. Proident deserunt in aliqua quis non pariatur aliqua adipisicing culpa occaecat labore ex minim aliqua. Est consequat enim sit cillum amet sint cupidatat.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-01-24 04:06:11'), (55, 41, 37.774071, -122.404804, 'Deserunt ea cillum incididunt eu nulla ipsum officia mollit non culpa adipisicing est irure cupidatat. Deserunt aliquip qui eiusmod enim. Consequat exercitation irure cupidatat et ullamco quis veniam.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-05-03 06:34:36'), (56, 15, 37.742611, -122.504361, 'Eu do aliquip consequat velit laborum pariatur. Irure dolor ullamco minim veniam nisi eu consectetur ea ex amet ad adipisicing. Duis duis anim nulla duis consectetur pariatur sit amet.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-03-11 03:57:00'), (57, 41, 37.765009, -122.445447, 'Labore eu elit magna est. Exercitation qui ad non elit labore amet officia. Minim deserunt est proident ullamco nisi.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-09-06 06:21:00'), (58, 30, 37.755479, -122.417445, 'Commodo laboris elit aliqua aliqua nostrud exercitation ut. Est minim aliquip labore voluptate sit ex ex. Ea aute cupidatat nostrud aute do irure aute ullamco minim ullamco veniam cillum.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-01-07 07:55:45'), (59, 45, 37.784990, -122.405020, 'Dolore incididunt anim aute laboris esse aliqua qui ut non. Pariatur ex fugiat quis Lorem Lorem officia consequat tempor eu tempor enim. Ad ex sunt cillum minim culpa.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-10-23 03:39:50'), (60, 35, 37.759895, -122.501677, 'Enim in et proident adipisicing Lorem id veniam. Consectetur culpa magna nostrud sit non ad ipsum cillum qui dolor duis est non adipisicing. Et ullamco sint ipsum fugiat laboris ad ullamco deserunt.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-02-29 09:33:09'), (61, 18, 37.755297, -122.409916, 'Id in irure ut nulla. Dolore elit nisi commodo culpa deserunt deserunt ex Lorem. Commodo irure elit tempor mollit cupidatat nostrud consequat.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-06-21 10:03:03'), (62, 49, 37.759038, -122.402860, 'Voluptate cillum fugiat eu ut cillum dolore ea elit tempor voluptate minim reprehenderit dolor tempor. Laboris officia velit eu dolore nostrud adipisicing magna proident sint ipsum nulla ut laboris culpa. Magna nisi cupidatat adipisicing sint magna nulla ex id.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-09-23 11:02:49'), (63, 3, 37.760349, -122.383745, 'Dolore aute duis tempor sint amet Lorem cupidatat magna nostrud ea laborum nostrud. Adipisicing consequat duis anim do ex labore ex eu reprehenderit ipsum consectetur anim voluptate. Cillum consectetur exercitation esse fugiat ut qui magna cillum reprehenderit exercitation proident id et.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-04-15 03:15:07'), (64, 4, 37.756834, -122.397380, 'Proident ea sint dolore reprehenderit do est esse minim ad amet ad. Duis aliqua voluptate aliqua veniam incididunt do dolor deserunt enim esse consequat. Excepteur sunt consequat aute consequat pariatur adipisicing quis sunt enim.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-08-13 12:29:01'), (65, 14, 37.771307, -122.421406, 'Adipisicing ad deserunt dolore elit eiusmod mollit. Eu laboris magna id do occaecat quis et ea eu nisi adipisicing. Cillum minim in nulla culpa ad fugiat dolore reprehenderit irure aliquip aliqua.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-01-19 11:38:44'), (66, 10, 37.777199, -122.431567, 'Et labore velit anim tempor voluptate ut. Adipisicing magna pariatur occaecat fugiat qui commodo do cupidatat consequat. Eiusmod dolor exercitation nostrud aliqua commodo.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-04-16 12:03:09'), (67, 10, 37.749118, -122.499346, 'Sunt aliquip do non fugiat in ex. Nostrud dolor aliqua dolore ut qui do sit. Culpa eiusmod culpa sit mollit officia labore deserunt ad cillum est Lorem proident culpa qui.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-12-01 06:30:50'), (68, 39, 37.766094, -122.433000, 'Non cupidatat commodo cillum do magna Lorem ea pariatur proident Lorem. Qui incididunt labore velit exercitation Lorem incididunt laborum sunt enim commodo sunt. Fugiat deserunt pariatur voluptate mollit cupidatat pariatur tempor occaecat qui aliquip aliqua laborum ea sint.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-07-11 12:03:33'), (69, 49, 37.778959, -122.454671, 'Aute ad culpa ipsum consequat mollit deserunt. Occaecat anim velit qui officia ad irure minim fugiat. In ullamco ut voluptate mollit est duis eu dolor id exercitation.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-08-21 06:17:30'), (70, 24, 37.753890, -122.438836, 'Aliquip et irure eu eiusmod nisi duis cupidatat non cupidatat minim. Consectetur velit cupidatat eu officia ex fugiat id. Mollit nisi voluptate id velit nulla proident culpa.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-01-11 11:37:44'), (71, 33, 37.778336, -122.387453, 'Excepteur irure qui irure adipisicing enim cillum esse ad. Ex enim quis sit commodo non consequat velit exercitation Lorem. Do irure laboris incididunt quis adipisicing reprehenderit.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-08-05 09:22:12'), (72, 6, 37.705998, -122.479468, 'Aliqua nisi fugiat pariatur nulla amet laborum. Et Lorem occaecat ex aute id fugiat et cupidatat fugiat in sunt fugiat eu. Excepteur exercitation nostrud dolore et officia irure cupidatat excepteur occaecat quis ex incididunt consectetur laboris.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-11-08 03:05:35'), (73, 7, 37.765903, -122.492323, 'Labore incididunt culpa eiusmod in ullamco non ut dolore voluptate voluptate aliquip. Veniam laborum consectetur pariatur aliquip ea sit culpa incididunt ullamco dolor culpa. Et laborum velit officia aute tempor excepteur veniam amet consectetur mollit incididunt labore.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-07-07 12:22:44'), (74, 25, 37.738199, -122.395251, 'Et dolore amet non veniam sit ut deserunt est dolore sunt in non officia. Est sit qui esse do esse tempor consectetur Lorem dolor laboris. Occaecat esse incididunt minim dolor labore officia exercitation nostrud.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-02-18 02:54:44'), (75, 14, 37.748388, -122.414967, 'Ad mollit deserunt velit ut eiusmod enim nulla aliquip sit dolore ad quis. Proident est officia dolore dolore anim deserunt magna. Nostrud qui ex quis incididunt commodo non reprehenderit nulla aliquip.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-05-18 04:47:49'), (76, 16, 37.741237, -122.389771, 'Ad quis occaecat id occaecat laborum quis veniam consectetur velit qui do esse consequat. Incididunt cupidatat ullamco nostrud duis. Sit tempor proident quis ut aute elit quis.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-03-01 10:09:57'), (77, 43, 37.740899, -122.405019, 'Elit reprehenderit do commodo amet Lorem ea exercitation dolor dolore culpa voluptate duis occaecat. Ipsum sint ex aliquip mollit ea culpa aute sunt excepteur. Aliqua labore qui quis anim laboris incididunt.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-06-19 01:52:17'), (78, 23, 37.763974, -122.457282, 'Amet nostrud quis proident cillum cillum irure esse exercitation minim esse. Adipisicing aliquip voluptate est eu officia magna. Minim ut Lorem consectetur tempor.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-02-15 10:36:40'), (79, 33, 37.761834, -122.465887, 'Incididunt est excepteur pariatur nulla nisi id reprehenderit. Ex deserunt do aliqua sint culpa anim officia deserunt sit. Ad occaecat magna do irure minim Lorem eiusmod quis laborum.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-07-29 01:41:30'), (80, 3, 37.764012, -122.412687, 'Ut anim aliquip dolore irure in voluptate proident fugiat cupidatat ipsum non ad. Eiusmod pariatur anim sunt deserunt velit ex. Adipisicing est occaecat amet amet nisi labore laborum enim sint veniam.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-06-08 05:58:39'), (81, 2, 37.709256, -122.451898, 'Mollit adipisicing ad fugiat amet. Qui enim deserunt ea ex aute dolore sunt sit ex amet culpa reprehenderit amet. Commodo consequat voluptate sit aute proident minim duis proident nisi nulla non deserunt adipisicing Lorem.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-05-30 03:08:45'), (82, 42, 37.790440, -122.427300, 'Ut consectetur cillum esse veniam excepteur ipsum amet minim nisi quis. Minim ex voluptate incididunt nostrud nisi. Non tempor excepteur in reprehenderit Lorem et.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-06-30 09:59:41'), (83, 48, 37.727948, -122.502259, 'Magna velit incididunt cupidatat ullamco aliquip. Incididunt dolor deserunt consequat tempor commodo occaecat aliquip culpa irure nulla. Nostrud proident tempor quis id.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-04-04 02:13:33'), (84, 18, 37.780148, -122.450234, 'Nulla exercitation eu do ad proident voluptate eu reprehenderit ipsum officia sunt ullamco reprehenderit. Irure officia enim eiusmod est officia magna. Laboris ea enim laborum eiusmod ex deserunt sunt tempor culpa enim cupidatat aute ex duis.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-01-15 12:21:59'), (85, 42, 37.761782, -122.448847, 'Minim consequat duis occaecat labore nisi exercitation sit dolore nostrud. Ipsum laborum consequat consequat cupidatat esse ut elit sint aliquip excepteur. Dolore nisi aute aliqua commodo id culpa.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-10-05 04:58:31'), (86, 15, 37.763184, -122.397951, 'Lorem do fugiat id commodo tempor cupidatat laboris aliqua duis voluptate. Officia aliqua nostrud est eiusmod ipsum ut culpa mollit excepteur ipsum eiusmod proident laboris aliquip. Fugiat consectetur non cupidatat elit exercitation.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-10-11 09:08:40'), (87, 49, 37.736341, -122.431273, 'Consectetur culpa sit laborum id consequat fugiat. Consequat veniam quis magna voluptate cillum ipsum laborum velit consequat ullamco exercitation. Laboris ea consequat esse tempor cillum sint ad eu reprehenderit sunt.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-07-25 12:43:20'), (88, 17, 37.745593, -122.505128, 'Cillum exercitation Lorem nulla ipsum. Cupidatat fugiat aute ex ut dolore laboris veniam ex voluptate cupidatat. Sit ipsum mollit exercitation veniam duis deserunt cupidatat pariatur aliqua consequat aliqua irure laboris non.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-08-03 03:24:46'), (89, 29, 37.718450, -122.500863, 'Incididunt tempor et excepteur nostrud est incididunt ut excepteur. Laboris esse Lorem eiusmod consequat veniam nisi adipisicing reprehenderit. Consequat qui sint aliqua mollit nisi cillum laborum.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-10-10 04:12:59'), (90, 1, 37.708163, -122.399566, 'Anim quis laboris quis laboris non commodo ad reprehenderit anim commodo proident. Non fugiat enim laboris sunt ullamco excepteur adipisicing sint enim pariatur qui nostrud tempor dolore. Officia pariatur consectetur dolor laborum quis sint cillum dolor nulla cillum dolore.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-10-16 01:29:18'), (91, 25, 37.734711, -122.434195, 'Enim consequat occaecat quis eiusmod. Et sit dolor elit sunt culpa. Aliquip tempor sunt ipsum duis minim pariatur do.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-04-06 07:08:44'), (92, 40, 37.738329, -122.415097, 'Esse qui irure veniam sunt incididunt mollit. Ullamco qui ullamco veniam adipisicing in deserunt fugiat ad Lorem qui proident deserunt officia sunt. Ipsum est eu veniam culpa.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-08-09 12:01:37'), (93, 8, 37.720182, -122.383163, 'Sunt pariatur duis magna qui proident consequat nulla laborum dolore cupidatat nostrud laborum. Eu velit consequat tempor culpa duis ad sunt exercitation dolore deserunt dolore. Exercitation est reprehenderit qui reprehenderit cupidatat.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-11-20 09:13:07'), (94, 17, 37.764014, -122.506831, 'Et aliqua minim duis amet esse eiusmod dolore excepteur cillum nostrud eiusmod do. Qui Lorem sint et nostrud magna mollit reprehenderit veniam laboris. Do dolore excepteur consequat aute reprehenderit sunt amet.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-05-17 11:41:39'), (95, 48, 37.765567, -122.384920, 'Lorem aute enim dolor pariatur cupidatat consequat occaecat duis irure fugiat dolor tempor excepteur. Dolore incididunt veniam dolore officia sunt non ipsum qui consequat reprehenderit do est occaecat Lorem. Dolor cupidatat commodo dolor laborum sit excepteur sit qui laborum incididunt sit proident incididunt.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-01-22 01:25:10'), (96, 18, 37.725385, -122.471454, 'Ullamco quis amet aliqua nostrud ea ullamco. Deserunt ex ipsum Lorem ullamco ea eu nisi proident anim ea. Duis ullamco magna commodo commodo elit sit incididunt.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-10-20 12:01:32'), (97, 43, 37.794842, -122.432511, 'Occaecat laboris ipsum sit dolor tempor. Minim ut ex et amet incididunt eiusmod laborum ad. Qui nostrud cillum commodo nisi eiusmod.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-10-31 09:16:23'), (98, 36, 37.734860, -122.488304, 'Adipisicing minim in id minim eu cupidatat voluptate enim est ad enim. Aute tempor magna tempor quis ad id esse culpa quis id consectetur ipsum adipisicing. Esse dolore ea labore est.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-07-29 05:38:53'), (99, 27, 37.763876, -122.458549, 'Nulla minim mollit culpa sit non veniam. Cillum elit ut tempor sit et sint nostrud sunt aute id. Pariatur excepteur adipisicing cupidatat laborum adipisicing nostrud ea quis qui velit pariatur sit eu labore.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-06-19 05:35:28'), (100, 14, 37.724110, -122.453912, 'Irure mollit exercitation mollit minim. Id aliqua voluptate commodo aute magna sunt magna culpa aliqua sint elit nostrud Lorem dolore. Commodo voluptate nostrud non culpa velit nulla veniam.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-02-15 05:40:35'), (101, 31, 37.738257, -122.401601, 'Velit occaecat pariatur duis labore culpa. Elit ut enim consectetur non eiusmod dolore deserunt et fugiat fugiat ad. Sit aliqua Lorem quis occaecat dolore.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-06-14 03:11:01'), (102, 49, 37.769385, -122.507133, 'Reprehenderit aliqua consectetur eu pariatur duis occaecat Lorem esse exercitation tempor do. Sit incididunt qui aliqua consequat aliquip sunt in. Et irure tempor consectetur eiusmod tempor deserunt proident voluptate exercitation laboris.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-11-13 07:47:40'), (103, 37, 37.781716, -122.416912, 'Amet cupidatat ipsum sunt aute aliquip ut magna cupidatat nisi duis ex. Sunt voluptate aliqua et sunt do. Sit commodo consequat laboris laborum incididunt duis adipisicing id id deserunt Lorem anim.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-06-26 12:54:29'), (104, 45, 37.770532, -122.466318, 'Aute eu nisi aute ipsum id adipisicing ullamco excepteur. Anim nulla deserunt aliqua excepteur irure nisi. Dolor nisi duis nulla cupidatat velit ullamco consectetur laborum cupidatat sit.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-04-17 05:57:06'), (105, 26, 37.780040, -122.448049, 'Consectetur esse aute ex amet ex occaecat ipsum veniam exercitation ad pariatur tempor. Elit non dolore amet anim. Cillum ut sunt minim sint ea exercitation.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-03-29 01:02:30'), (106, 37, 37.790194, -122.405219, 'Elit minim nisi esse officia esse eu commodo eu enim nisi in officia occaecat. Exercitation dolore exercitation velit duis consequat aliqua eiusmod. Excepteur pariatur enim qui commodo culpa cillum Lorem excepteur in voluptate eiusmod eiusmod mollit anim.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-09-25 08:39:49'), (107, 2, 37.720606, -122.504768, 'Est irure eu fugiat amet ut. Magna enim eu velit elit ut ipsum reprehenderit ex adipisicing adipisicing enim labore voluptate veniam. Et qui excepteur cupidatat amet nostrud eu eiusmod et exercitation.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-10-08 07:50:13'), (108, 35, 37.764757, -122.404158, 'Cillum et aliqua dolore sunt sit Lorem. Voluptate amet cillum sunt anim magna labore. Voluptate dolor ad aliqua ut elit tempor velit eu.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-02-06 10:51:02'), (109, 15, 37.745926, -122.501891, 'Sunt laboris veniam commodo est excepteur ullamco commodo aute qui eiusmod. Fugiat sit occaecat id nostrud labore esse pariatur non. Amet laboris incididunt ad ipsum occaecat incididunt.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-02-02 02:57:54'), (110, 11, 37.779824, -122.393251, 'Dolor pariatur reprehenderit consequat consectetur sunt nulla laboris reprehenderit id. Incididunt quis est minim do labore. Occaecat elit velit eu anim do voluptate ex.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-01-07 02:22:04'), (111, 27, 37.764689, -122.395959, 'Laborum officia magna amet eu est consectetur cupidatat sunt amet anim. Ad irure nisi adipisicing velit labore aliquip aute veniam culpa laboris. Labore nostrud nisi qui et minim labore laboris non non mollit consectetur.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-09-26 07:36:00'), (112, 42, 37.745930, -122.397626, 'Aliqua qui non eiusmod excepteur occaecat exercitation Lorem nulla eiusmod ut nulla. Laborum veniam sint commodo est et. Anim consequat qui cillum reprehenderit.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-04-14 03:21:11'), (113, 31, 37.768125, -122.389172, 'Officia ipsum cillum tempor cillum minim occaecat. Reprehenderit nulla amet aliquip elit ullamco nulla velit. Aute aliqua non incididunt excepteur consectetur mollit irure aute officia pariatur esse.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-03-08 10:14:31'), (114, 26, 37.711132, -122.406686, 'Voluptate laboris in duis labore laborum dolor officia exercitation ipsum qui nostrud. Dolore in esse dolore esse. Officia Lorem non ipsum enim voluptate aute in.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-05-08 05:18:57'), (115, 49, 37.791109, -122.460367, 'Ea irure commodo Lorem reprehenderit. Dolor eu id non cillum deserunt. Non ex enim anim laborum sint mollit pariatur ipsum ex officia.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-04-22 05:46:04'), (116, 7, 37.715169, -122.398574, 'Nostrud eiusmod aliquip quis ex officia pariatur esse non quis. Veniam sunt irure incididunt eu dolore magna mollit consectetur. Tempor fugiat laboris labore consectetur fugiat in.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-04-11 07:05:39'), (117, 3, 37.724260, -122.456297, 'Ipsum do labore proident ipsum anim ullamco consequat sit duis labore et exercitation. Eu proident dolore quis aliqua nulla in magna. Occaecat velit dolor amet duis dolor dolor laboris cupidatat reprehenderit dolore proident officia consectetur.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-07-02 09:32:34'), (118, 47, 37.742834, -122.434986, 'Cillum mollit occaecat proident aute amet ea. Elit sunt elit nostrud sit ad dolor nostrud consequat incididunt qui irure minim. Lorem sunt nulla culpa id proident deserunt labore nostrud.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-06-23 04:08:06'), (119, 29, 37.785490, -122.459370, 'In nulla in fugiat minim. Ut ullamco veniam Lorem culpa. Ea ipsum consectetur eu non eiusmod sint eiusmod consectetur aliqua et magna incididunt ex.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-07-28 05:54:31'), (120, 26, 37.740015, -122.446599, 'Pariatur aliquip nostrud aliquip consectetur velit. Sunt elit deserunt duis nisi. Do nulla eiusmod qui aute mollit elit eu culpa incididunt dolor aliqua.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-07-03 02:02:32'), (121, 6, 37.795379, -122.390550, 'Mollit sit enim in deserunt voluptate mollit occaecat enim mollit ut nulla aute velit sint. Amet et et velit ea ut veniam. Deserunt consectetur excepteur pariatur ad laboris ea aute excepteur ullamco excepteur.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-04-03 04:00:59'), (122, 32, 37.785668, -122.458215, 'Velit incididunt excepteur voluptate dolore dolore magna aute sit sint nostrud. Ex in est occaecat nostrud laborum magna. Lorem mollit nisi dolore et enim velit aliqua sunt Lorem commodo.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-11-06 12:50:21'), (123, 31, 37.781672, -122.396821, 'Eu ea elit reprehenderit anim proident cillum. Excepteur do quis aliquip nostrud ut eu est incididunt ea cupidatat Lorem. Elit ipsum duis aliquip esse eu ad.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-08-26 08:50:35'), (124, 33, 37.794932, -122.457740, 'Ea veniam do enim aliqua velit ullamco deserunt aliqua. Consequat amet non do irure nulla reprehenderit sit tempor occaecat ad esse esse incididunt. Exercitation ad in voluptate nulla adipisicing in eu minim.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-03-10 04:42:06'), (125, 14, 37.763950, -122.494750, 'Consectetur commodo commodo officia occaecat aliquip nulla incididunt nostrud. Mollit amet tempor irure anim fugiat ut irure consequat. Aliquip id mollit et proident eu minim.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-04-12 09:02:28'), (126, 11, 37.730297, -122.444143, 'Eiusmod ex pariatur id cillum cillum esse anim sint commodo ullamco veniam cillum culpa. Laborum ullamco quis incididunt tempor. Minim pariatur culpa incididunt velit exercitation anim sit cupidatat.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-01-18 04:43:40'), (127, 38, 37.743202, -122.422084, 'Consectetur esse magna irure aute ad ipsum est sint ut esse sunt irure consectetur magna. Mollit commodo quis aute non deserunt dolor excepteur ad culpa nisi. Veniam dolore esse ipsum ad deserunt et deserunt do dolor officia.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-04-21 09:43:40'), (128, 36, 37.757662, -122.464788, 'Aliquip quis excepteur veniam sit. Laborum exercitation officia labore fugiat velit proident commodo fugiat id. Anim sunt eiusmod qui cillum qui do ipsum proident.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-06-28 10:46:22'), (129, 27, 37.737338, -122.500301, 'Commodo duis ullamco ea non et velit id aliquip commodo elit exercitation sit. Consequat nulla qui minim ut veniam. Ullamco dolor nulla tempor minim amet commodo cupidatat eiusmod fugiat enim ut quis.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-06-19 10:14:29'), (130, 48, 37.712085, -122.502946, 'Sint id sunt enim minim aute in irure mollit aliquip eiusmod veniam amet anim. Nisi aliquip ullamco sit nisi dolor non adipisicing do ullamco in. Amet quis id nisi do tempor velit ad excepteur id aliqua.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-01-07 06:37:15'), (131, 13, 37.736030, -122.415136, 'Eu minim qui enim nostrud adipisicing voluptate minim irure consectetur quis dolore tempor minim amet. Quis fugiat sunt ad consectetur mollit eiusmod cillum eu incididunt. Enim est laboris occaecat aute amet duis culpa dolore veniam anim.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-09-28 12:55:31'), (132, 25, 37.737089, -122.504701, 'Sunt amet do enim laborum ex. Velit proident nisi ea est. Eu nisi irure tempor mollit eiusmod pariatur consequat magna ipsum pariatur.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-10-15 08:48:57'), (133, 40, 37.768069, -122.441831, 'Fugiat tempor id incididunt consequat non occaecat cillum consectetur laborum minim in id veniam irure. Magna et tempor tempor consequat ea Lorem deserunt minim dolore duis esse. Veniam cillum irure aute aute laboris irure voluptate labore non qui.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-09-05 10:35:23'), (134, 14, 37.718680, -122.406489, 'Culpa consequat labore nulla velit magna pariatur aute dolore laborum aute. Aliquip duis in ad laboris in aliquip anim elit velit proident officia reprehenderit. Laboris non ipsum veniam sunt amet nostrud commodo.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-07-06 11:38:46'), (135, 40, 37.748208, -122.404987, 'Est laboris esse pariatur ea fugiat consectetur est eiusmod culpa sint consequat. Lorem est enim quis sint commodo laborum magna fugiat dolor commodo. Officia veniam eiusmod ipsum incididunt commodo sunt commodo ad mollit.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-02-28 05:24:56'), (136, 48, 37.712855, -122.439817, 'Veniam fugiat mollit labore esse duis et eu qui excepteur. Velit veniam ipsum in consectetur nulla consequat et aute duis ea. Proident laborum cillum velit dolore id ipsum id dolor aute.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-05-18 05:02:12'), (137, 32, 37.736460, -122.465226, 'Pariatur sunt laboris cillum minim. Proident Lorem qui nostrud do. Amet quis nisi qui elit eu Lorem ea elit non consectetur eiusmod anim.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-11-04 11:38:04'), (138, 33, 37.743978, -122.388961, 'Id culpa Lorem cupidatat ad velit veniam minim pariatur quis eu. Nulla do qui nostrud enim ad officia nulla sit veniam et. Proident esse duis laboris ex reprehenderit do enim anim consectetur ad velit laborum.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-01-13 01:40:23'), (139, 50, 37.771796, -122.504720, 'Laboris voluptate magna tempor ipsum qui. Incididunt nisi est Lorem incididunt labore id ex Lorem anim magna. Do laboris excepteur elit reprehenderit mollit et consectetur minim proident nisi.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-05-11 02:33:55'); INSERT INTO `track_locations` (`id`, `animal_id`, `lat`, `lng`, `description`, `photo`, `icon`, `date_create`) VALUES (140, 43, 37.757880, -122.459332, 'Eiusmod quis deserunt amet sit incididunt do do duis in. Aliquip consectetur elit fugiat commodo. Duis laboris quis excepteur commodo.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-04-10 11:07:08'), (141, 11, 37.762916, -122.472915, 'Quis deserunt tempor minim laborum excepteur est et consequat aute. Et qui ullamco ullamco officia aliquip proident consectetur minim pariatur mollit aliquip aliquip. Laborum adipisicing velit enim velit labore.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-10-03 09:02:34'), (142, 17, 37.792564, -122.490081, 'Eiusmod qui et ullamco culpa minim non officia ut Lorem. Reprehenderit culpa aliquip sunt consectetur proident est qui laboris. Dolor nulla magna non eiusmod sit tempor ex labore.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-03-07 03:11:04'), (143, 23, 37.728195, -122.441635, 'Culpa quis eu mollit est et eu aliqua ea cupidatat ea aute. Nisi fugiat reprehenderit ex proident. Sunt duis esse qui ea excepteur do aliqua veniam magna.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-11-04 11:51:24'), (144, 12, 37.771639, -122.495231, 'Veniam et duis est exercitation laborum laboris fugiat excepteur eu cillum quis aute. Elit Lorem ipsum consectetur commodo nulla ea commodo. Exercitation ipsum mollit officia est dolore incididunt mollit do laboris excepteur reprehenderit nostrud laboris.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-04-01 07:13:09'), (145, 15, 37.709344, -122.458947, 'Consequat sunt do nulla labore dolor non consectetur proident ut. Amet officia in commodo adipisicing. Eiusmod cillum reprehenderit quis pariatur dolor.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-01-07 05:28:49'), (146, 44, 37.765273, -122.480223, 'Nostrud anim pariatur id ex est amet consectetur velit sunt sint incididunt irure. Exercitation id elit anim ex ut anim commodo laborum et incididunt qui pariatur commodo. Culpa laborum sunt sunt minim ad nisi do Lorem dolor aute minim quis.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-09-04 12:13:19'), (147, 40, 37.757009, -122.409588, 'Consequat mollit id sit sunt sint veniam deserunt Lorem nostrud commodo. Elit eu eiusmod cupidatat magna enim mollit cillum aliqua laborum sint qui cillum elit. Ullamco nostrud eiusmod enim sint aliqua Lorem proident sit dolor minim et.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-09-05 09:27:05'), (148, 14, 37.763860, -122.467304, 'Id eu laborum ad consectetur officia aliqua magna velit voluptate consequat. Mollit veniam quis esse dolore deserunt anim ullamco consequat deserunt quis sunt. Mollit duis enim pariatur commodo nulla ut eu do sit labore laboris.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-03-10 11:03:30'), (149, 17, 37.792467, -122.499231, 'Enim laboris nostrud cupidatat deserunt id pariatur in voluptate veniam qui tempor dolore. Anim ex consequat ullamco adipisicing nulla qui tempor id deserunt aliquip dolore id. Cillum occaecat amet ad veniam mollit cupidatat reprehenderit occaecat in pariatur.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-03-19 10:20:29'), (150, 18, 37.760683, -122.480344, 'Labore tempor id nisi ut labore Lorem. Consectetur qui nostrud aliquip voluptate eiusmod et anim aliqua ipsum sunt nulla. Veniam nisi excepteur eu in ea consectetur occaecat esse mollit voluptate veniam fugiat.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-01-07 04:02:42'), (151, 41, 37.793458, -122.416568, 'Ullamco cillum adipisicing Lorem voluptate non. Velit magna nisi cupidatat excepteur aliquip labore. Et do laboris non ipsum.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-03-16 05:54:32'), (152, 13, 37.778362, -122.421300, 'Adipisicing irure anim deserunt exercitation exercitation. Nostrud commodo labore ipsum deserunt minim irure cupidatat reprehenderit consectetur. Ipsum et ea cillum qui irure dolor aliquip dolor et aliquip occaecat.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-04-02 11:54:26'), (153, 47, 37.760529, -122.497573, 'Id ex cillum elit laboris cillum laboris excepteur laboris sit commodo sint cillum. Culpa amet est Lorem labore elit culpa laborum ad et est ut. Exercitation aute sit eu exercitation eiusmod amet amet nulla nisi laborum nostrud.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-10-01 12:33:15'), (154, 3, 37.795247, -122.462630, 'Lorem esse ea do velit velit dolore minim irure est et proident. Pariatur nulla irure ex ad proident commodo adipisicing incididunt exercitation irure fugiat culpa officia. Commodo aute esse dolor laborum laboris incididunt non.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-01-13 09:43:17'), (155, 2, 37.755237, -122.459118, 'Qui cupidatat duis reprehenderit Lorem. Ex exercitation eiusmod in deserunt et mollit sint qui ad. Ea ex tempor tempor ut aliquip duis dolor velit in do amet adipisicing esse dolore.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-02-17 11:11:48'), (156, 20, 37.771224, -122.389679, 'Irure eu adipisicing sint irure ex voluptate laboris dolore dolor aliquip non magna. Ullamco veniam eu laboris reprehenderit. Voluptate fugiat ad officia nisi cillum ad nisi.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-02-26 01:41:18'), (157, 19, 37.753547, -122.430886, 'Do pariatur reprehenderit est ullamco qui irure quis sunt excepteur qui aliquip. Dolor esse qui laboris elit ad aliqua sint enim. Quis reprehenderit nisi ex ex laboris veniam laborum culpa incididunt qui consequat sint Lorem eiusmod.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-08-21 11:58:42'), (158, 46, 37.713320, -122.444511, 'Ipsum ea aliquip quis sunt do laborum eiusmod. Exercitation voluptate irure dolore nostrud dolor. Dolore nulla excepteur veniam amet et ipsum ut voluptate consectetur consectetur laborum ipsum culpa.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-07-31 05:59:31'), (159, 45, 37.788031, -122.449215, 'Id labore reprehenderit Lorem aute laboris nisi commodo. Culpa laborum anim nostrud fugiat laboris incididunt cillum mollit ex. Duis enim Lorem pariatur duis adipisicing eu excepteur amet.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-02-14 06:16:35'), (160, 47, 37.767991, -122.451009, 'Non quis nisi amet sunt nulla ea. Consectetur pariatur officia qui tempor ea commodo ad. Nulla laboris consectetur Lorem ad anim minim anim non officia sunt veniam aliquip do et.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-04-03 04:58:42'), (161, 11, 37.775460, -122.502836, 'Lorem mollit voluptate mollit Lorem ea eiusmod nostrud qui. Irure incididunt sint ex duis consectetur voluptate aliqua do. Deserunt do adipisicing sunt irure ut cupidatat ut minim ipsum do exercitation eiusmod.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-11-28 10:02:00'), (162, 2, 37.740325, -122.389780, 'Voluptate proident mollit excepteur enim velit. Eu amet fugiat laborum enim ipsum sit cupidatat labore. Cillum mollit veniam excepteur in amet ex qui.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-09-07 07:56:33'), (163, 29, 37.725195, -122.486059, 'Quis laboris magna labore ea ullamco proident excepteur ad. Enim commodo amet magna fugiat in ad. Nulla ut dolor reprehenderit proident ullamco ipsum laboris sint laborum eiusmod quis.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-08-28 05:21:17'), (164, 16, 37.769537, -122.464135, 'Aliquip voluptate exercitation id commodo sint officia commodo. Exercitation ex pariatur do aute ipsum esse. Duis do adipisicing culpa deserunt commodo ipsum labore.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-08-24 02:41:44'), (165, 43, 37.762453, -122.453201, 'Eu duis labore laboris esse duis consectetur. Consectetur consequat veniam nulla occaecat eu ea ipsum culpa irure laboris consectetur non do. Consectetur id do cillum ipsum aliqua et ad.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-08-01 12:46:07'), (166, 38, 37.713582, -122.466012, 'Magna tempor aliquip exercitation Lorem. Ut nisi esse deserunt nisi minim laborum. Tempor reprehenderit laborum enim culpa officia.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-08-19 02:44:07'), (167, 22, 37.736891, -122.472010, 'Duis cupidatat irure et Lorem adipisicing excepteur magna nisi. Est aute ipsum ipsum voluptate voluptate exercitation. Proident commodo sit sunt est.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-05-29 11:05:50'), (168, 30, 37.787897, -122.486996, 'Dolor consectetur anim elit exercitation ex sit officia sunt eiusmod est commodo ipsum voluptate. Deserunt laboris exercitation incididunt aliquip ullamco duis eiusmod labore ea. Laboris ex amet occaecat ea fugiat sint elit do.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-06-21 02:45:38'), (169, 40, 37.773911, -122.437071, 'Est elit consequat cupidatat duis pariatur cillum. Quis enim commodo eiusmod laborum ad sunt eiusmod reprehenderit id qui. Exercitation reprehenderit commodo mollit cupidatat id id elit ea elit.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-03-27 01:41:01'), (170, 25, 37.720084, -122.413489, 'Amet anim pariatur ex laboris officia aliqua duis. Deserunt qui et magna adipisicing commodo excepteur. Lorem adipisicing enim ex aute dolore eiusmod eu eu duis.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-03-04 05:23:55'), (171, 3, 37.779682, -122.461681, 'Anim duis consequat aliquip esse esse qui amet pariatur veniam non velit qui dolore. Tempor dolor quis in ad nisi eiusmod. Est aute exercitation ut deserunt nostrud tempor sint reprehenderit magna velit labore.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-01-11 10:07:06'), (172, 16, 37.735358, -122.393350, 'Nostrud mollit adipisicing ad esse anim cillum. Ut quis reprehenderit consectetur incididunt esse anim aliqua do amet. Laboris veniam eiusmod excepteur sit.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-06-11 12:02:45'), (173, 50, 37.732055, -122.384071, 'Voluptate ipsum veniam exercitation tempor culpa in duis eiusmod officia. Esse reprehenderit anim deserunt fugiat officia deserunt excepteur eu reprehenderit ullamco. Occaecat sit voluptate irure sit tempor amet non fugiat excepteur aliqua nulla.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-04-03 04:30:11'), (174, 4, 37.768202, -122.421722, 'Anim nostrud ut cupidatat esse est ex fugiat do id. Tempor proident est consectetur esse quis consequat adipisicing sit do labore. Voluptate anim ea aliquip voluptate mollit nulla consequat aute pariatur magna esse ut irure consequat.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-09-13 08:32:16'), (175, 9, 37.753723, -122.502310, 'Sunt ad amet nostrud ut anim. Culpa proident aute adipisicing ipsum mollit enim deserunt voluptate commodo in qui esse laborum nisi. Adipisicing nisi adipisicing nulla et reprehenderit officia.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-04-10 04:02:49'), (176, 50, 37.787419, -122.494571, 'Velit do incididunt enim ipsum. Elit nostrud eiusmod irure velit velit aliqua. Proident ipsum esse laborum reprehenderit exercitation dolor non occaecat.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-02-04 02:31:12'), (177, 24, 37.762196, -122.397349, 'Reprehenderit est consequat consectetur eiusmod ut fugiat cillum consequat eiusmod nulla. Nisi commodo duis proident id adipisicing in cillum magna consequat sunt culpa veniam minim aute. Lorem dolor nostrud ea elit sit dolor officia commodo aute dolor quis consectetur.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-06-17 08:01:07'), (178, 34, 37.777219, -122.474476, 'Id aute eu sunt officia. Id cupidatat ut commodo sit consequat ad minim quis anim consectetur. Ut voluptate qui reprehenderit minim commodo quis ut minim reprehenderit.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-07-07 11:54:05'), (179, 23, 37.741533, -122.396162, 'Magna consectetur tempor ut culpa incididunt nulla magna irure enim. Labore sit quis excepteur consectetur velit occaecat do officia voluptate est sunt enim Lorem consectetur. Elit mollit do enim dolore anim occaecat in qui deserunt est qui.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-09-06 08:47:17'), (180, 44, 37.795020, -122.411070, 'Eiusmod labore quis minim exercitation incididunt ipsum eiusmod occaecat id qui minim nostrud ullamco. Pariatur duis esse commodo anim. Ad nisi laborum velit consequat excepteur non magna enim esse voluptate.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-06-21 03:08:43'), (181, 11, 37.763996, -122.473115, 'Quis elit aute proident reprehenderit nulla ipsum consectetur reprehenderit fugiat laboris exercitation dolore ullamco adipisicing. Adipisicing eu exercitation commodo adipisicing anim eiusmod elit anim incididunt velit aute ullamco quis et. Eiusmod veniam occaecat cillum deserunt labore ad nulla.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-07-03 10:15:22'), (182, 18, 37.732009, -122.484490, 'Esse aute nisi magna magna aliqua duis consectetur culpa reprehenderit. Non veniam ea et elit incididunt ex sit esse nulla id ex. Amet nulla reprehenderit magna dolore dolore qui proident officia pariatur nulla qui proident.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-11-04 12:36:03'), (183, 33, 37.785191, -122.384107, 'Id consectetur Lorem aliqua amet aliquip sit. Occaecat ad reprehenderit cillum amet ex deserunt mollit irure. Voluptate aliquip esse nisi velit ut ad minim deserunt nulla et dolore commodo laborum.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-04-14 09:15:29'), (184, 38, 37.730607, -122.427477, 'Tempor aliquip ea voluptate pariatur enim duis do dolor irure magna veniam laboris velit. Reprehenderit ad consequat labore ex ad. Et sunt nostrud duis officia.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-09-29 02:45:44'), (185, 21, 37.774496, -122.464033, 'Excepteur aliquip et pariatur aute ea adipisicing est pariatur minim. Dolore reprehenderit consectetur ad nostrud est ea deserunt ipsum proident. Commodo officia veniam nulla commodo magna consectetur esse consectetur culpa Lorem sit aliquip aliquip nostrud.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-07-27 11:37:04'), (186, 25, 37.772065, -122.464059, 'Commodo id exercitation culpa nisi elit elit mollit minim aliqua cillum Lorem velit minim aliquip. Sint qui culpa ipsum aute labore laborum. Elit et labore adipisicing culpa dolore aute do quis ad.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-09-18 12:10:27'), (187, 18, 37.762719, -122.458650, 'In minim eiusmod culpa ipsum consequat aliqua occaecat Lorem laboris eiusmod ullamco. Officia cupidatat laborum adipisicing do aliqua enim elit duis et deserunt ex. Ipsum quis veniam sint sit magna ullamco tempor quis incididunt.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-11-12 12:40:04'), (188, 5, 37.760022, -122.488533, 'Pariatur est eiusmod dolore ut pariatur ad labore eu aute do sit ipsum velit cupidatat. Est minim amet cupidatat enim ut esse nostrud quis. Proident amet mollit laboris aliqua sunt nulla dolor incididunt do exercitation est.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-05-14 06:13:42'), (189, 19, 37.722808, -122.414397, 'Do exercitation culpa reprehenderit sunt minim laborum. Reprehenderit exercitation elit dolore sit eiusmod. Et elit nostrud voluptate pariatur.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-05-26 12:56:32'), (190, 48, 37.736263, -122.396167, 'Ex sint irure id fugiat eiusmod aliqua nulla dolore nisi do in dolor labore do. Proident elit irure est non labore. Veniam reprehenderit labore Lorem consectetur ipsum culpa consectetur reprehenderit laborum adipisicing magna reprehenderit adipisicing.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-10-14 09:00:56'), (191, 41, 37.756253, -122.383717, 'Pariatur ut anim officia nisi. Velit sint ad aliquip est consectetur et anim pariatur nisi. Adipisicing tempor cupidatat sunt laborum reprehenderit Lorem quis nostrud commodo.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-08-21 06:49:04'), (192, 41, 37.748982, -122.448719, 'Elit veniam duis in eu commodo elit eiusmod. Ut sit deserunt anim nisi voluptate id mollit consequat ut velit id anim. Do fugiat elit amet sit aliqua incididunt duis sint non nisi amet esse fugiat pariatur.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-07-26 04:16:29'), (193, 15, 37.708346, -122.409384, 'Magna ex ea amet commodo occaecat consectetur non magna tempor ea mollit enim enim. Adipisicing Lorem ex ea consequat mollit mollit labore mollit aliqua. Culpa duis irure ipsum non fugiat eiusmod.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-03-08 12:03:19'), (194, 24, 37.705077, -122.451773, 'Deserunt incididunt quis consectetur ut reprehenderit non est elit et. Eu laborum sit eu reprehenderit aute ullamco labore ex. Ullamco commodo officia reprehenderit laboris ad ut magna duis esse minim do consectetur.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-03-10 06:30:19'), (195, 32, 37.785731, -122.411633, 'Nostrud eu laborum velit esse aliquip irure incididunt anim ipsum. Officia mollit eiusmod reprehenderit voluptate deserunt cupidatat. Labore eiusmod sunt duis adipisicing consequat irure minim elit.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-07-18 12:52:34'), (196, 24, 37.706095, -122.433171, 'Et dolor proident in dolore aliquip pariatur quis. Eu deserunt sint cupidatat aliqua magna. Do commodo cupidatat sint sint irure labore irure laboris sint dolore ipsum excepteur qui.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-01-28 06:56:20'), (197, 32, 37.783101, -122.419867, 'Aute ad cupidatat quis adipisicing id non veniam veniam aliquip dolor. Ea non anim consequat magna aliquip aute veniam dolor minim duis adipisicing. Eu dolor fugiat Lorem et consequat laborum cupidatat.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-01-08 09:54:43'), (198, 7, 37.710865, -122.460988, 'Sint quis cupidatat amet occaecat incididunt nisi elit. Dolore magna laborum culpa officia ullamco mollit. Nostrud excepteur dolore commodo duis id velit sint sint anim cillum nulla do.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-07-17 01:32:31'), (199, 34, 37.756085, -122.419231, 'Nisi sint amet aliqua nisi duis qui aute veniam eu. Do ex est Lorem aliqua sunt et eiusmod aliquip duis mollit. Deserunt minim esse officia Lorem ad culpa anim.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-10-30 09:19:14'), (200, 26, 37.783551, -122.382738, 'Et mollit incididunt cupidatat ex ipsum ut aute eu mollit aliquip nisi excepteur incididunt. Sunt ea veniam nulla Lorem ea tempor magna ipsum nisi ad aute. Minim dolor commodo enim esse excepteur aliqua quis qui voluptate ex dolor.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-06-25 06:09:01'), (201, 15, 37.771609, -122.460233, 'In est cupidatat consequat aliqua et magna labore. Ex ipsum nostrud do quis aute consequat amet reprehenderit. Nulla ea tempor non do consequat nostrud exercitation consequat anim occaecat pariatur ipsum nostrud.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-05-25 02:08:19'), (202, 23, 37.738307, -122.388331, 'Occaecat in cillum cillum enim dolore ipsum dolor mollit sint ut voluptate in duis non. Adipisicing ex commodo consequat anim mollit nisi culpa qui anim officia in. Enim ad in est exercitation quis duis reprehenderit sint culpa quis minim Lorem nulla aute.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-12-01 11:06:52'), (203, 32, 37.756637, -122.392447, 'Consectetur aliqua eu proident eiusmod cupidatat. Occaecat nulla duis irure sunt aliquip quis ad cupidatat duis. Minim proident ullamco occaecat tempor laboris aute reprehenderit cupidatat magna deserunt.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-03-15 12:59:55'), (204, 25, 37.762755, -122.389181, 'Esse in in esse ea irure aliqua aliqua in exercitation. Cupidatat exercitation excepteur ipsum ex do commodo sunt nulla aliqua Lorem. Amet eu Lorem consequat deserunt veniam in ut.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-02-20 09:23:56'), (205, 5, 37.774233, -122.458690, 'Nostrud consequat sint in mollit irure fugiat eiusmod. Aute et incididunt tempor ipsum dolor fugiat excepteur laborum commodo laborum magna. Eiusmod enim officia mollit Lorem aliqua exercitation cillum ex aliqua ipsum proident ullamco.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-11-22 09:32:48'), (206, 27, 37.709094, -122.408240, 'Id officia sint cillum veniam culpa officia magna velit irure cupidatat ea. Anim id deserunt fugiat cupidatat. Sint velit sit ea do.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-08-12 06:22:52'), (207, 10, 37.720758, -122.460821, 'Fugiat et incididunt pariatur veniam anim ea labore adipisicing culpa nostrud non mollit pariatur duis. Labore magna culpa ut id aliqua duis irure enim eiusmod. Labore do duis Lorem irure ea magna.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-09-16 07:34:56'), (208, 28, 37.724570, -122.414543, 'Laborum nostrud commodo pariatur et consectetur cupidatat tempor duis elit non est laborum. Officia commodo amet reprehenderit nostrud ad. In duis sunt irure pariatur est.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-11-17 08:32:33'), (209, 49, 37.747769, -122.478245, 'Cillum consequat ad Lorem ullamco ea adipisicing sunt qui proident ea laboris. Occaecat irure veniam laboris est pariatur excepteur labore quis excepteur Lorem. Dolore esse eu ipsum est sint tempor dolor fugiat.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-04-20 08:22:46'), (210, 15, 37.760436, -122.421588, 'Ad reprehenderit labore culpa duis voluptate eiusmod non cillum minim veniam. Ipsum eiusmod officia do nulla et ad ipsum dolor. Dolor nulla adipisicing culpa adipisicing ex sint aute commodo in ullamco.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-04-12 01:06:28'), (211, 28, 37.742958, -122.463541, 'Cupidatat laboris officia cupidatat tempor magna. Laborum ea consequat ipsum sit. Culpa duis nostrud occaecat consectetur consectetur ut ipsum aute minim.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-06-16 10:54:43'), (212, 17, 37.784844, -122.401604, 'Eu duis irure voluptate reprehenderit sint magna nisi. Amet proident labore excepteur est ea deserunt occaecat ad officia culpa ad ad culpa. Anim excepteur ullamco minim veniam incididunt pariatur consequat quis proident ut.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-11-09 11:28:30'), (213, 21, 37.750199, -122.406542, 'Anim ex do Lorem voluptate sit ipsum enim veniam ex ut amet. Commodo Lorem eu duis velit nisi irure veniam incididunt ipsum officia occaecat. Amet laborum proident eu ipsum Lorem aute laborum aliquip anim ipsum labore minim.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-01-04 07:05:09'), (214, 10, 37.724993, -122.448359, 'Dolore consequat nostrud aliqua sint nisi exercitation Lorem et nisi mollit. Cupidatat culpa ea ipsum aute magna eiusmod pariatur est. Voluptate ad velit esse anim magna dolor laborum ea enim et tempor.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-04-15 11:28:29'), (215, 50, 37.759212, -122.496193, 'Cillum pariatur do ullamco ullamco nostrud duis. Officia tempor in id consequat minim aliquip et esse veniam aliquip. Ex dolor elit officia Lorem culpa dolor.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-01-09 07:16:44'), (216, 24, 37.790590, -122.440107, 'Ipsum qui excepteur consectetur dolor est voluptate labore officia magna commodo consequat nisi reprehenderit tempor. Ullamco duis ullamco in enim exercitation laborum officia consequat voluptate. Qui elit consequat exercitation ipsum consequat esse in veniam irure fugiat amet.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-08-04 05:35:50'), (217, 20, 37.775604, -122.399654, 'Ipsum esse dolore aliqua ut sunt dolor veniam adipisicing mollit exercitation aliqua officia. Et duis occaecat tempor sint incididunt fugiat nostrud velit qui est. Ea enim nostrud incididunt nostrud qui nostrud et proident fugiat.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-05-30 09:47:12'), (218, 24, 37.720628, -122.502260, 'Deserunt minim officia non occaecat labore velit fugiat non in deserunt velit duis. Non nulla nisi cupidatat do laborum et consequat laborum do consequat ut dolore elit. Exercitation do minim Lorem ut sunt officia.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-11-10 08:25:55'), (219, 21, 37.778526, -122.408399, 'Ipsum veniam ea sunt laborum. Qui occaecat magna culpa non reprehenderit ad adipisicing ex incididunt. Commodo ut velit ea deserunt cillum proident mollit aliqua duis esse.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-10-15 04:33:29'), (220, 13, 37.756514, -122.403742, 'Ad sunt magna officia proident. Reprehenderit nulla sunt irure dolor proident cupidatat Lorem. Mollit aliquip ex aliquip laboris dolor nostrud.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-12-03 03:01:45'), (221, 10, 37.742961, -122.437092, 'Pariatur consequat in minim elit exercitation commodo duis. Ipsum anim ipsum consequat quis laborum commodo culpa laborum velit. Aliquip incididunt incididunt amet do consectetur ad.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-05-21 07:51:14'), (222, 25, 37.772340, -122.488088, 'Ex nulla Lorem dolore in. Adipisicing deserunt ex ut dolor excepteur et qui. Anim cillum quis reprehenderit enim mollit tempor sunt nulla amet anim duis anim.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-06-28 07:24:31'), (223, 31, 37.763860, -122.451585, 'Eiusmod commodo quis incididunt id magna dolor est. Pariatur consequat sunt ipsum aliqua exercitation. Nisi adipisicing magna culpa irure exercitation minim enim.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-06-29 05:36:05'), (224, 27, 37.716248, -122.425459, 'Ea sint enim consectetur elit qui cillum enim Lorem. Aliqua dolore deserunt ipsum veniam adipisicing. Et sunt ea ea in.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-01-18 03:27:14'), (225, 11, 37.735989, -122.442392, 'Amet consequat pariatur ullamco dolor in. Velit nostrud esse pariatur culpa reprehenderit excepteur non irure sint eiusmod id commodo excepteur. Eu velit incididunt exercitation quis labore labore.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-07-28 02:42:52'), (226, 39, 37.765919, -122.406571, 'Dolore excepteur reprehenderit cillum et cillum consequat veniam occaecat dolor anim consequat id nostrud. Esse ad nisi amet labore quis nostrud tempor qui aliquip eiusmod minim sit laboris consectetur. Lorem sint quis sint id veniam velit.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-05-23 06:57:43'), (227, 1, 37.741737, -122.476761, 'Quis consectetur veniam aliqua quis nostrud labore ullamco. In enim id magna adipisicing cupidatat eiusmod reprehenderit ad. Mollit commodo consectetur in deserunt adipisicing sunt minim pariatur incididunt minim in ullamco occaecat.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-11-24 05:19:54'), (228, 9, 37.731079, -122.501460, 'Qui laboris magna pariatur ea aute sint amet proident esse non mollit eiusmod. Adipisicing tempor duis Lorem ea nostrud adipisicing ad qui. Lorem anim aliqua non ut irure proident non aute.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-05-03 05:35:45'), (229, 32, 37.755372, -122.449015, 'Veniam Lorem in et exercitation laborum fugiat nulla commodo cupidatat dolore minim deserunt do minim. Tempor ex duis tempor aute quis ex ea. Incididunt non veniam non id veniam deserunt anim ad eu officia occaecat.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-03-21 10:06:52'), (230, 36, 37.725032, -122.456678, 'Ipsum ad dolor culpa in dolore quis nisi veniam. Non culpa nostrud sit ea deserunt sit sit cupidatat quis minim esse. Aute duis adipisicing cupidatat ex est quis adipisicing velit elit occaecat excepteur dolore do aliqua.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-04-08 02:37:09'), (231, 38, 37.725547, -122.412619, 'Officia non nostrud consectetur et ipsum qui consectetur tempor esse mollit. Duis eu id tempor sunt aute veniam ea nisi. Enim quis dolor eu eiusmod consectetur dolor nisi ex nulla proident et id.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-11-11 06:49:02'), (232, 11, 37.704457, -122.447959, 'Do ex exercitation do minim ex nisi irure. Ut aute eu ipsum ipsum cillum in reprehenderit anim elit. Aliquip aliqua quis esse do do occaecat ea commodo pariatur.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-07-26 05:10:13'), (233, 4, 37.778525, -122.384192, 'Commodo qui commodo ea irure id. Aliquip minim consectetur id incididunt anim cillum et elit nulla veniam mollit adipisicing. Tempor qui sit et deserunt labore sit eiusmod ea.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-11-20 05:47:13'), (234, 33, 37.744274, -122.439612, 'Duis minim et consequat eu eu et veniam. Tempor irure eu laborum et cillum. Esse occaecat tempor elit duis ea.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-03-09 12:31:52'), (235, 12, 37.713659, -122.428211, 'Anim sint amet id dolore id sit est sit. Minim ex duis ex est ea id amet quis labore consequat minim. Nulla consectetur aliqua reprehenderit consequat incididunt dolore Lorem incididunt.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-02-14 08:09:50'), (236, 17, 37.771587, -122.395230, 'Sunt minim voluptate pariatur fugiat sint ipsum qui officia excepteur fugiat. Esse deserunt ad eu sunt esse aliquip proident esse non esse nulla cupidatat. Fugiat mollit non ut excepteur sunt adipisicing quis exercitation culpa ipsum est dolore voluptate eiusmod.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-07-14 06:21:42'), (237, 22, 37.788989, -122.473840, 'Veniam enim ex pariatur irure nostrud sint proident nulla. Ea laboris voluptate esse quis veniam aute qui aute commodo quis. Occaecat adipisicing sit reprehenderit labore adipisicing velit.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-06-06 10:27:20'), (238, 31, 37.764066, -122.460904, 'Adipisicing ullamco id pariatur nisi velit ullamco commodo laborum aliquip sunt incididunt sint voluptate. Nisi officia ipsum adipisicing aliquip. Pariatur consectetur tempor anim tempor sint consectetur.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-06-02 12:39:16'), (239, 36, 37.739693, -122.473270, 'Exercitation aliquip quis consequat officia veniam aliquip in velit voluptate do commodo non. Lorem nisi commodo eiusmod consequat officia. Ullamco sint laboris sint ut sint aliquip non.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-03-07 08:05:17'), (240, 47, 37.758028, -122.436206, 'Dolore proident exercitation aliquip culpa. Ea amet est incididunt non adipisicing pariatur quis deserunt non laborum officia sit ex ea. Amet non tempor dolore cupidatat nostrud eu laboris labore.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-07-01 11:28:20'), (241, 20, 37.703418, -122.396741, 'Quis veniam laborum irure id nisi enim. Laboris nulla veniam non eu cillum proident Lorem aliqua eiusmod. Consectetur deserunt officia id ullamco commodo elit laboris nisi.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-12-03 03:13:44'), (242, 44, 37.740411, -122.473384, 'Velit esse incididunt enim amet proident. Aliqua non proident commodo enim officia Lorem cupidatat sit ex. Eiusmod reprehenderit esse sit fugiat consectetur adipisicing laborum nulla nisi aliqua.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-08-30 07:50:26'), (243, 11, 37.712262, -122.466990, 'Cillum irure excepteur adipisicing Lorem commodo nulla incididunt consequat. Adipisicing qui amet pariatur eiusmod esse nostrud officia officia velit ad consequat id exercitation et. Dolore consectetur aliqua anim commodo nisi commodo veniam aliquip in.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-08-26 01:54:33'), (244, 33, 37.771027, -122.389373, 'In eu reprehenderit ullamco adipisicing ea aute deserunt aliqua ea. Minim aute nisi sint minim qui deserunt cillum nostrud esse non esse consectetur duis. Laboris magna nisi tempor esse ea commodo nulla.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-01-04 08:13:21'), (245, 38, 37.788312, -122.386167, 'Velit elit sit officia anim tempor duis. Nostrud sit consectetur nostrud cillum. Ullamco qui amet officia aliqua.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-01-27 10:42:41'), (246, 17, 37.738815, -122.417713, 'Proident nulla qui consequat officia minim. Eu reprehenderit enim culpa ad cillum elit dolore commodo commodo. Non cupidatat qui aliquip voluptate esse id voluptate.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-03-23 06:28:12'), (247, 42, 37.713593, -122.407017, 'Dolor voluptate sit fugiat minim proident voluptate minim officia ex sunt ex labore deserunt. Elit magna ex aliqua est cupidatat aliqua. Aute est commodo nulla dolor pariatur.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-02-05 06:50:09'), (248, 3, 37.774143, -122.439119, 'Pariatur elit ullamco dolor exercitation esse ad eu pariatur tempor ullamco velit enim veniam labore. Cillum esse esse aliqua fugiat velit. Dolor commodo cupidatat irure nostrud id sunt ut irure velit aliquip cupidatat.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-05-15 11:59:21'), (249, 38, 37.745070, -122.419506, 'Sint cillum veniam excepteur minim laboris cillum. Et commodo sit esse aliquip nisi sit. Laborum reprehenderit qui ex duis excepteur ut aliquip.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-10-10 09:25:08'), (250, 44, 37.772896, -122.488838, 'Consectetur ex elit nulla ut dolor ullamco sunt sint do. Nisi non enim ullamco incididunt veniam anim aliquip adipisicing aliquip ipsum deserunt duis. Adipisicing dolor commodo elit sunt.', 'https://via.placeholder.com/400/', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-09-18 11:32:48'), (251, 53, 37.738826, -122.489078, 'Emily\'s home', 'https://via.placeholder.com/400/?text=LOCATION', 'https://via.placeholder.com/100/?text=ICON', '2020-12-10 18:43:16'), (252, 53, 37.750331, -122.431271, 'new location2', 'https://via.placeholder.com/400/?text=LOCATION', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-12-10 18:45:27'), (253, 53, 37.823616, -122.370872, 'New location', 'https://via.placeholder.com/400/?text=LOCATION', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-12-11 00:08:01'), (254, 54, 37.746446, -122.409126, 'In Emily’s home', 'https://via.placeholder.com/400/?text=LOCATION', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-12-11 00:14:22'), (255, 55, 37.755612, -122.475387, 'Emily’s home', 'https://via.placeholder.com/400/?text=LOCATION', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-12-11 00:20:55'), (256, 54, 37.823616, -122.370872, 'Emily’s home', 'https://via.placeholder.com/400/?text=LOCATION', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-12-11 00:24:34'), (257, 56, 37.785775, -122.401085, 'On the way', 'https://via.placeholder.com/400/?text=LOCATION', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-12-11 00:25:53'), (258, 56, 37.785775, -122.401085, 'On the way', 'https://via.placeholder.com/400/?text=LOCATION', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-12-11 00:25:56'), (259, 53, 37.791498, -122.420540, 'new location photo', 'https://via.placeholder.com/400/?text=LOCATION', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-12-13 21:37:51'), (260, 51, 37.719094, -122.481228, 'Fei’s home. 405 Serrano drive. ', 'https://via.placeholder.com/400/?text=LOCATION', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-12-13 23:35:40'), (261, 51, 37.719195, -122.483251, 'Emily\'s home. 450 Arballo Drive', 'https://via.placeholder.com/400/?text=LOCATION', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-12-13 23:37:19'), (262, 52, 37.769493, -122.486229, 'In the park. ', 'https://via.placeholder.com/400/?text=LOCATION', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-12-13 23:42:55'), (263, 52, 37.724047, -122.485796, 'Near a lake', 'https://via.placeholder.com/400/?text=LOCATION', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-12-13 23:43:38'), (264, 57, 37.688712, -122.469702, 'On a mountain', 'https://via.placeholder.com/400/?text=LOCATION', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-12-14 15:17:02'), (265, 54, 37.803683, -122.290674, 'Found the cuttie on the beach', 'https://via.placeholder.com/400/?text=LOCATION', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-12-15 02:30:49'), (266, 60, 37.687556, -122.471107, 'Found in friend’s home!', 'https://via.placeholder.com/400/?text=LOCATION', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-12-15 12:11:14'), (267, 60, 37.763672, -122.418867, 'Found in a MC!', 'https://via.placeholder.com/400/?text=LOCATION', 'http://asherrfei.com/aau/wnm617/xu.fei/img/icon_marker.png', '2020-12-15 12:12:01'); -- -- Indexes for dumped tables -- -- -- Indexes for table `track_locations` -- ALTER TABLE `track_locations` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `track_locations` -- ALTER TABLE `track_locations` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=268; 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 */;
-- phpMyAdmin SQL Dump -- version 4.5.1 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Jul 20, 2016 at 02:38 PM -- Server version: 10.1.13-MariaDB -- PHP Version: 7.0.8 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: `trac_service` -- -- -------------------------------------------------------- -- -- Table structure for table `date_interval` -- CREATE TABLE `date_interval` ( `id` int(12) NOT NULL, `date_interval` varchar(48) NOT NULL, `interval_unix_value` int(16) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `date_interval` -- INSERT INTO `date_interval` (`id`, `date_interval`, `interval_unix_value`) VALUES (1, '3 Months', 7948800), (2, '6 Months', 15897600), (3, '9 Months', 23846400), (4, '12 Months', 31795200), (1, '3 Months', 7948800), (2, '6 Months', 15897600), (3, '9 Months', 23846400), (4, '12 Months', 31795200), (1, '3 Months', 7948800), (2, '6 Months', 15897600), (3, '9 Months', 23846400), (4, '12 Months', 31795200), (1, '3 Months', 7948800), (2, '6 Months', 15897600), (3, '9 Months', 23846400), (4, '12 Months', 31795200), (1, '3 Months', 7948800), (2, '6 Months', 15897600), (3, '9 Months', 23846400), (4, '12 Months', 31795200), (1, '3 Months', 7948800), (2, '6 Months', 15897600), (3, '9 Months', 23846400), (4, '12 Months', 31795200), (1, '3 Months', 7948800), (2, '6 Months', 15897600), (3, '9 Months', 23846400), (4, '12 Months', 31795200); -- -------------------------------------------------------- -- -- Table structure for table `history` -- CREATE TABLE `history` ( `id` int(12) NOT NULL, `truck_id` int(12) NOT NULL, `agent_id` int(12) NOT NULL, `action` varchar(255) NOT NULL, `details` text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -------------------------------------------------------- -- -- Table structure for table `mileage_interval` -- CREATE TABLE `mileage_interval` ( `id` int(12) NOT NULL, `mileage` varchar(48) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `mileage_interval` -- INSERT INTO `mileage_interval` (`id`, `mileage`) VALUES (2, '5000'), (3, '10000'), (4, '15000'), (5, '20000'), (2, '5000'), (3, '10000'), (4, '15000'), (5, '20000'), (2, '5000'), (3, '10000'), (4, '15000'), (5, '20000'), (2, '5000'), (3, '10000'), (4, '15000'), (5, '20000'), (2, '5000'), (3, '10000'), (4, '15000'), (5, '20000'), (2, '5000'), (3, '10000'), (4, '15000'), (5, '20000'); -- -------------------------------------------------------- -- -- Table structure for table `modules` -- CREATE TABLE `modules` ( `id` int(12) NOT NULL, `module_name` varchar(48) NOT NULL, `visibility` tinyint(1) NOT NULL COMMENT 'this would identify if available to Admins, Agents, or public' ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `modules` -- INSERT INTO `modules` (`id`, `module_name`, `visibility`) VALUES (1, 'Agents', 2), (2, 'Trucks', 2), (3, 'Services', 2); -- -------------------------------------------------------- -- -- Table structure for table `module_functions` -- CREATE TABLE `module_functions` ( `id` int(12) NOT NULL, `module_id` int(12) NOT NULL, `function_name` varchar(255) NOT NULL, `function_address` varchar(255) NOT NULL, `visibility` tinyint(4) NOT NULL COMMENT '0 for Admins, 1 for logged agents, 2 for public' ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `module_functions` -- INSERT INTO `module_functions` (`id`, `module_id`, `function_name`, `function_address`, `visibility`) VALUES (1, 1, 'New Agent', 'new_agent.php', 2), (3, 1, 'List Agents', 'agents.php', 2), (4, 2, 'New Truck', 'new_truck.php', 2), (5, 2, 'List Trucks', 'trucks.php', 2), (6, 3, 'New Service Entry', 'new_service.php', 2), (7, 3, 'List Services', 'services.php', 2); -- -------------------------------------------------------- -- -- Table structure for table `services` -- CREATE TABLE `services` ( `id` int(12) NOT NULL, `truck_id` int(12) NOT NULL, `current_mileage` int(12) NOT NULL, `service_mileage` int(12) NOT NULL, `agent_id` int(12) NOT NULL, `service_details` text NOT NULL, `cost` varchar(8) NOT NULL, `date` int(12) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `services` -- INSERT INTO `services` (`id`, `truck_id`, `current_mileage`, `service_mileage`, `agent_id`, `service_details`, `cost`, `date`) VALUES (12, 2, 1000, 0, 1, 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry''s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap ', '1000', 1464732000), (13, 2, 1000, 0, 1, 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry''s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. ', '1000', 1464732000), (19, 1, 11111, 0, 1, 'tdrfdssfghkjlsfjgshgdfsfbfsdmbgfjsfkf', '100', 1473372000), (20, 1, 38, 0, 1, 'lkhjkljlkjlkj', '32', 1468965600); -- -------------------------------------------------------- -- -- Table structure for table `trucks` -- CREATE TABLE `trucks` ( `id` int(12) NOT NULL, `plate` varchar(12) NOT NULL, `vin` varchar(17) NOT NULL, `brand` varchar(24) NOT NULL, `model` varchar(24) NOT NULL, `mileage_interval_id` int(12) NOT NULL, `time_interval_id` int(12) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `trucks` -- INSERT INTO `trucks` (`id`, `plate`, `vin`, `brand`, `model`, `mileage_interval_id`, `time_interval_id`) VALUES (1, '11060', 'ABCD1234098765432', 'Ford', 'F-1500', 3, 1), (2, '12345aa', '1234567890abcdefg', 'brand', 'Test Model', 2, 4), (3, '222222', '22222222222222222', 'sfsfsfsf', 'fsfsf000', 2, 2); -- -------------------------------------------------------- -- -- Table structure for table `users` -- CREATE TABLE `users` ( `id` int(12) NOT NULL, `username` varchar(24) NOT NULL, `hashed_password` varchar(64) NOT NULL, `agent_name` varchar(64) NOT NULL, `email` varchar(255) NOT NULL, `user_group` int(12) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `users` -- INSERT INTO `users` (`id`, `username`, `hashed_password`, `agent_name`, `email`, `user_group`) VALUES (1, 'shiblie', 'secretpassword', '<PASSWORD>', '<EMAIL>', 1), (19, 'sbshara', 'password', '<PASSWORD>', '<EMAIL>', 1), (20, 'fouad.assad', 'lolo1234', 'Fouad', '<EMAIL>', 1), (21, 'xvxxv', '1111', 'svxvsxv', '<EMAIL>', 3); -- -------------------------------------------------------- -- -- Table structure for table `user_groups` -- CREATE TABLE `user_groups` ( `id` int(12) NOT NULL, `user_group` varchar(24) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `user_groups` -- INSERT INTO `user_groups` (`id`, `user_group`) VALUES (1, 'Administrator'), (2, 'Manager'), (3, 'Agent'), (4, 'Driver'); -- -- Indexes for dumped tables -- -- -- Indexes for table `modules` -- ALTER TABLE `modules` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `module_name` (`module_name`); -- -- Indexes for table `module_functions` -- ALTER TABLE `module_functions` ADD PRIMARY KEY (`id`), ADD KEY `module_id` (`module_id`); -- -- Indexes for table `services` -- ALTER TABLE `services` ADD PRIMARY KEY (`id`), ADD KEY `truck_id` (`truck_id`), ADD KEY `agent_id` (`agent_id`); -- -- Indexes for table `trucks` -- ALTER TABLE `trucks` ADD PRIMARY KEY (`id`), ADD KEY `mileage_interval_id` (`mileage_interval_id`), ADD KEY `time_interval_id` (`time_interval_id`); -- -- Indexes for table `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`), ADD KEY `user_group` (`user_group`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `modules` -- ALTER TABLE `modules` MODIFY `id` int(12) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT for table `module_functions` -- ALTER TABLE `module_functions` MODIFY `id` int(12) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; -- -- AUTO_INCREMENT for table `services` -- ALTER TABLE `services` MODIFY `id` int(12) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21; -- -- AUTO_INCREMENT for table `trucks` -- ALTER TABLE `trucks` MODIFY `id` int(12) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- AUTO_INCREMENT for table `users` -- ALTER TABLE `users` MODIFY `id` int(12) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22; /*!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 */;
<reponame>spanoff/FenixPack -- phpMyAdmin SQL Dump -- version 4.8.0.1 -- https://www.phpmyadmin.net/ -- -- Хост: 127.0.0.1 -- Время создания: Сен 19 2018 г., 11:08 -- Версия сервера: 10.1.32-MariaDB -- Версия PHP: 5.6.36 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 */; -- -- База данных: `crate` -- -- -------------------------------------------------------- -- -- Структура таблицы `crates` -- CREATE TABLE `crates` ( `id` int(11) NOT NULL, `name` varchar(255) DEFAULT NULL, `description` text, `createdAt` datetime NOT NULL, `updatedAt` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Дамп данных таблицы `crates` -- INSERT INTO `crates` (`id`, `name`, `description`, `createdAt`, `updatedAt`) VALUES (1, '<NAME>', 'Передовые конструктивные решения и материалы.', '2018-09-19 03:02:52', '2018-09-19 03:02:52'), (2, '<NAME>', 'Прочные и надежные. Спокойствие и защита.', '2018-09-19 03:02:52', '2018-09-19 03:02:52'), (3, 'Серия Z', 'Классика и модерн. Красиво и практично.', '2018-09-19 03:02:52', '2018-09-19 03:02:52'), (4, 'Серия X', 'Идеальный баланс. Надежная конструкция.', '2018-09-19 03:02:52', '2018-09-19 03:02:52'), (5, 'Двери входные', 'Прочные и красивые. Надежные и долговечные.', '2018-09-19 03:02:52', '2018-09-19 03:02:52'), (6, 'Арки межкомнатные', 'Красивое решение для объединения пространств.', '2018-09-19 03:02:52', '2018-09-19 03:02:52'); -- -------------------------------------------------------- -- -- Структура таблицы `products` -- CREATE TABLE `products` ( `id` int(11) NOT NULL, `name` varchar(255) DEFAULT NULL, `slug` varchar(255) DEFAULT NULL, `description` text, `type` int(11) DEFAULT NULL, `seria` int(11) DEFAULT NULL, `image` text, `createdAt` datetime NOT NULL, `updatedAt` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Дамп данных таблицы `products` -- INSERT INTO `products` (`id`, `name`, `slug`, `description`, `type`, `seria`, `image`, `createdAt`, `updatedAt`) VALUES (1, 'ДВЕРЬ МЕЖКОМНАТНАЯ CL-6', 'cl-6', 'Наша новая коллекция разработана исключительно для эксклюзивных ультрасовременных интерьеров. Особенность данной коллекции — это использование специально разработанного алюминиевого профиля для закрытия торцов дверного полотна. Обеспечивая надежную защиту от любых механических повреждений, алюминиевый профиль придает коллекции особый стиль, сочетая в себе строгость прямых линий и современный итальянский дизайн, минимализм и роскошь, простоту и гениальность. Большое разнообразие цветовых решений отделочного материала, стекол «Лакобель» и зеркал позволяет подобрать двери специально для Вас — истинного ценителя «модернизма» и «ХайТэка». Гармонично вписываясь в современный дизайн Вашего интерьера, двери «City Line» станут его главной изюминкой, подчеркнув Ваш безупречный вкус и индивидуальность.', 1, 1, '/images/stock/CL6_realwood_capuchino_kvarts.jpg', '2018-09-19 03:02:52', '2018-09-19 03:02:52'), (2, 'ДВЕРЬ МЕЖКОМНАТНАЯ CL-12', 'cl-12', 'Наша новая коллекция разработана исключительно для эксклюзивных ультрасовременных интерьеров. Особенность данной коллекции — это использование специально разработанного алюминиевого профиля для закрытия торцов дверного полотна. Обеспечивая надежную защиту от любых механических повреждений, алюминиевый профиль придает коллекции особый стиль, сочетая в себе строгость прямых линий и современный итальянский дизайн, минимализм и роскошь, простоту и гениальность. Большое разнообразие цветовых решений отделочного материала, стекол «Лакобель» и зеркал позволяет подобрать двери специально для Вас — истинного ценителя «модернизма» и «ХайТэка». Гармонично вписываясь в современный дизайн Вашего интерьера, двери «City Line» станут его главной изюминкой, подчеркнув Ваш безупречный вкус и индивидуальность.', 1, 1, '/images/stock/CL12_dub_zolotoy_bronze.jpg', '2018-09-19 03:02:52', '2018-09-19 03:02:52'), (3, 'ДВЕРЬ МЕЖКОМНАТНАЯ КАРДИНАЛ', 'kardinal', 'Межкомнатная МДФ дверь «Кардинал» — это сочетание качественного каркаса из соснового бруса и надежного ламинированного покрытия, устойчивого к механическим повреждениям и загрязнениям различного рода. Остекленная дверь, выполненная в стиле ампир, олицетворяет собой торжественность и достаток.', 1, 2, '/images/stock/kardinal.png', '2018-09-19 03:02:52', '2018-09-19 03:02:52'), (4, 'ДВЕРЬ ВХОДНАЯ ВЕНА АЛ', 'vena-al', 'Одна из самых лучших входных дверей в своем классе. Надежные, красивые и долговечные.', 2, 2, '/images/stock/venal.jpg', '2018-09-19 03:02:52', '2018-09-19 03:02:52'), (5, 'ДВЕРЬ МЕЖКОМНАТНАЯ ЛУНИКА 9', 'lunika-9', 'Конструкция двери Луника 9: деревянный каркас- цельный брус сосны, облицованный наборными панелями МДФ толщиной 14 мм. Дверь комплектуется светлым сатиновым стеклом.', 1, 3, '/images/stock/lunika9.png', '2018-09-19 03:02:52', '2018-09-19 06:15:56'), (6, 'ДВЕРЬ МЕЖКОМНАТНАЯ КАМИЛЛА', 'kamilalittle', 'Конструкция двери Камилла: деревянный каркас- цельный брус сосны, облицованный двумя панелями МДФ толщиной 14 мм. Торцевые части полотен закрыты специальной МДФ кромкой, которая служит одновременно и декором и защитой от механических повреждений при ежедневной эксплуатации.', 1, 4, '/images/stock/kamilalittle.png', '2018-09-19 03:02:52', '2018-09-19 03:02:52'), (7, 'ДВЕРЬ МЕЖКОМНАТНАЯ ЛИТА', 'lita', 'Конструкция двери Лита: деревянный каркас -цельный брус сосны, облицованный двумя панелями МДФ толщиной 14 мм. Торцевые части полотен закрыты специальной МДФ кромкой, которая служит одновременно и декором и защитой от механических повреждений при ежедневной эксплуатации.', 1, 4, '/images/stock/lita.png', '2018-09-19 03:02:52', '2018-09-19 03:02:52'), (8, 'ДВЕРЬ МЕЖКОМНАТНАЯ ПАЛЬМИРА', 'palmira', 'Конструкция двери Пальмира ТМ «Феникс»: деревянный каркас- цельный брус сосны, облицованный наборными панелями МДФ толщиной 14 мм, что создает видимую имитацию 3D эффекта. Во внутреннее межпанельное дверное заполнение технически монтируется цельный лист стекла толщиной 4 мм, которое в случаи повреждения, можно будет легко заменить.', 1, 2, '/images/stock/palmira.png', '2018-09-19 03:02:52', '2018-09-19 03:02:52'); -- -------------------------------------------------------- -- -- Структура таблицы `sequelizedata` -- CREATE TABLE `sequelizedata` ( `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Дамп данных таблицы `sequelizedata` -- INSERT INTO `sequelizedata` (`name`) VALUES ('1-user.js'), ('2-products.js'), ('3-crates.js'); -- -------------------------------------------------------- -- -- Структура таблицы `sequelizemeta` -- CREATE TABLE `sequelizemeta` ( `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Дамп данных таблицы `sequelizemeta` -- INSERT INTO `sequelizemeta` (`name`) VALUES ('1-user.js'), ('2-product.js'), ('3-crates.js'), ('4-subscriptions.js'); -- -------------------------------------------------------- -- -- Структура таблицы `subscriptions` -- CREATE TABLE `subscriptions` ( `id` int(11) NOT NULL, `userId` int(11) NOT NULL, `crateId` int(11) NOT NULL, `createdAt` datetime NOT NULL, `updatedAt` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Дамп данных таблицы `subscriptions` -- INSERT INTO `subscriptions` (`id`, `userId`, `crateId`, `createdAt`, `updatedAt`) VALUES (1, 1, 1, '2018-09-19 06:14:27', '2018-09-19 06:14:27'), (2, 1, 4, '2018-09-19 06:14:36', '2018-09-19 06:14:36'), (3, 1, 2, '2018-09-19 06:14:47', '2018-09-19 06:14:47'), (5, 1, 5, '2018-09-19 06:15:02', '2018-09-19 06:15:02'), (7, 2, 3, '2018-09-19 08:26:37', '2018-09-19 08:26:37'), (8, 2, 1, '2018-09-19 08:26:49', '2018-09-19 08:26:49'), (9, 2, 2, '2018-09-19 08:26:52', '2018-09-19 08:26:52'), (10, 2, 6, '2018-09-19 08:27:01', '2018-09-19 08:27:01'), (11, 2, 2, '2018-09-19 08:31:06', '2018-09-19 08:31:06'); -- -------------------------------------------------------- -- -- Структура таблицы `users` -- CREATE TABLE `users` ( `id` int(11) NOT NULL, `name` varchar(255) DEFAULT NULL, `email` text, `password` text, `role` text, `createdAt` datetime NOT NULL, `updatedAt` datetime NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- -- Дамп данных таблицы `users` -- INSERT INTO `users` (`id`, `name`, `email`, `password`, `role`, `createdAt`, `updatedAt`) VALUES (1, 'The Admin', '<EMAIL>', <PASSWORD>', 'ADMIN', '2018-09-19 03:02:51', '2018-09-19 03:02:51'), (2, 'The User', '<EMAIL>', '$2b$10$5DiUFjs3.zRNjxN7Kvr3JuAcK98TY5g2ZULDi5U.qg.3.XxtSgn4a', 'USER', '2018-09-19 03:02:51', '2018-09-19 03:02:51'), (3, '<NAME>', '<EMAIL>', '$2b$10$PP1lamPgWTXycBEY34WpeukcnmN9Xp.LMno5Ub8tqoUbQuHTb.n7.', 'USER', '2018-09-19 03:02:52', '2018-09-19 03:02:52'); -- -- Индексы сохранённых таблиц -- -- -- Индексы таблицы `crates` -- ALTER TABLE `crates` ADD PRIMARY KEY (`id`); -- -- Индексы таблицы `products` -- ALTER TABLE `products` ADD PRIMARY KEY (`id`); -- -- Индексы таблицы `sequelizedata` -- ALTER TABLE `sequelizedata` ADD PRIMARY KEY (`name`), ADD UNIQUE KEY `name` (`name`); -- -- Индексы таблицы `sequelizemeta` -- ALTER TABLE `sequelizemeta` ADD PRIMARY KEY (`name`), ADD UNIQUE KEY `name` (`name`); -- -- Индексы таблицы `subscriptions` -- ALTER TABLE `subscriptions` ADD PRIMARY KEY (`id`), ADD KEY `userId` (`userId`), ADD KEY `crateId` (`crateId`); -- -- Индексы таблицы `users` -- ALTER TABLE `users` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT для сохранённых таблиц -- -- -- AUTO_INCREMENT для таблицы `crates` -- ALTER TABLE `crates` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; -- -- AUTO_INCREMENT для таблицы `products` -- ALTER TABLE `products` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9; -- -- AUTO_INCREMENT для таблицы `subscriptions` -- ALTER TABLE `subscriptions` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12; -- -- AUTO_INCREMENT для таблицы `users` -- ALTER TABLE `users` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4; -- -- Ограничения внешнего ключа сохраненных таблиц -- -- -- Ограничения внешнего ключа таблицы `subscriptions` -- ALTER TABLE `subscriptions` ADD CONSTRAINT `subscriptions_ibfk_1` FOREIGN KEY (`userId`) REFERENCES `users` (`id`), ADD CONSTRAINT `subscriptions_ibfk_2` FOREIGN KEY (`crateId`) REFERENCES `crates` (`id`); 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 */;
<gh_stars>1-10 create database exam; --- 1 --- CREATE TABLE users( id INT(11) UNIQUE PRIMARY KEY , username VARCHAR(30) UNIQUE, `password` VARCHAR(50) NOT NULL, name VARCHAR(50), gender VARCHAR(1), birthdate DATETIME, age INT(11), email VARCHAR(50) NOT NULL ); CREATE TABLE departments( id INT(11) UNIQUE PRIMARY KEY, name VARCHAR(50) NOT NULL ); CREATE TABLE employees ( id INT(11) UNIQUE PRIMARY KEY AUTO_INCREMENT, first_name VARCHAR(25), last_name VARCHAR(25), gender VARCHAR(1), birthdate DATETIME, age INT(11), department_id INT(11), CONSTRAINT fk_employee_dep FOREIGN KEY(department_id) REFERENCES departments(id) ); CREATE TABLE categories ( id INT(11) UNIQUE PRIMARY KEY, name VARCHAR(50) NOT NULL, department_id INT(11), CONSTRAINT fk_category_dep FOREIGN KEY(department_id) REFERENCES departments(id) ); CREATE TABLE `status` ( id INT(11) UNIQUE PRIMARY KEY, label VARCHAR(30) NOT NULL ); CREATE TABLE reports ( id INT(11) UNIQUE PRIMARY KEY AUTO_INCREMENT, category_id INT(11), status_id INT(11), open_date DATETIME, close_date DATETIME, description VARCHAR(200), user_id INT(11), employee_id INT(11), CONSTRAINT fk_report_category FOREIGN KEY(category_id) REFERENCES categories(id), CONSTRAINT fk_report_status FOREIGN KEY(status_id) REFERENCES `status`(id), CONSTRAINT fk_report_user FOREIGN KEY(user_id) REFERENCES users(id), CONSTRAINT fk_report_employee FOREIGN KEY(employee_id) REFERENCES employees(id) ); --- 2 --- INSERT INTO employees (first_name, last_name,gender,birthdate,department_id) VALUES ('Marlo', 'O\'Malley', 'M', '1958-9-21', 1), ('Niki', 'Stanaghan', 'F', '1969-11-26', 4), ('Ayrton', 'Senna', 'M', '1960-03-21', 9), ('Ronnie', 'Peterson', 'M', '1944-02-14', 9), ('Giovanna', 'Amati', 'F', '1959-07-20', 5); INSERT INTO reports (category_id,status_id,open_date,close_date,description,user_id,employee_id) VALUES (1, 1,'2017-04-13', NUll,'Stuck Road on Str.133',6,2), (6, 3,'2015-09-05', '2015-06-12','Charity trail running',3,5), (14, 2,'2015-09-07', NULL,'Falling bricks on Str.58',5,2), (4, 3,'2017-07-03', '2017-07-06','Cut off streetlight on Str.11',1 ,1); ----- 3 ------- update `status` as s join reports as r on s.id=r.status_id set r.status_id=2 where (s.id>=1 and s.id<=4); ---- 4 ------- delete from reports where status_id = 4; ----- 5 ------- select u.username,u.age from users as u order by u.age asc,u.username desc; ----- 6 ------- select r.description,r.open_date from reports as r where r.employee_id IS NULL order by r.open_date asc,r.description; ---- 7 -------- select e.first_name,e.last_name,r.description,DATE_FORMAT(r.open_date, "%Y-%m-%d")as open_date from employees as e join reports as r on e.id=r.employee_id order by e.id asc,r.open_date asc,r.id asc; ----8----------- select c.name,Count(r.id) as reports_number from categories as c join reports as r on r.category_id=c.id group by c.name order by reports_number asc,c.name asc ----9----------- select c.name,Count(e.id) from employees as e join departments as d on e.department_id=d.id join categories as c on c.department_id=d.id group by c.name order by c.name asc; ---10--------- select distinct c.name as category_name from categories as c join reports as r on r.category_id=c.id join users as u on u.id=r.user_id where EXTRACT(MONTH FROM open_date) = EXTRACT(MONTH FROM u.birthdate) and day(open_date) = day(u.birthdate ) group by c.name order by c.name asc; -----11-------- SELECT CONCAT(e.first_name,' ',e.last_name) AS 'name',COUNT(r.user_id) AS 'users_count' FROM employees AS e LEFT OUTER JOIN reports AS r ON e.id = r.employee_id AND (r.user_id IN (SELECT DISTINCT r.user_id FROM reports AS r) OR r.User_Id ) GROUP BY name ORDER BY users_count DESC,`name`; ----- 12 -------- select r.open_date,r.description,u.email as reporter_email from reports as r join users as u on u.id=r.user_id join categories as c on c.id=r.category_id join departments as d on d.id=c.department_id where r.close_date is null and LENGTH(r.description)>20 and r.description like "%str%" and (d.name='Infrastructure' or d.name='Emergency' or d.name='Roads Maintenance') order by r.open_date asc,reporter_email asc; ----- 13 -------- select distinct u.username from users as u join reports as r on r.user_id=u.id join categories as c on c.id=r.category_id where ((SUBSTRING(u.username, 1, 1)>= '0' and SUBSTRING(u.username, 1, 1) < ':' and c.id=SUBSTRING(u.username, 1, 1)) OR (SUBSTRING(REVERSE(u.username), 1, 1)>= '0' and SUBSTRING(REVERSE(u.username), 1, 1) < ':' and c.id=SUBSTRING(REVERSE(u.username), 1, 1))) order by u.username; ------------ 14 -------- SELECT fn, CONCAT(cnt_closed, '/', cnt_open) FROM ( SELECT CONCAT(e.first_name, ' ', e.last_name) as fn, COUNT( CASE WHEN YEAR(close_date) = 2016 THEN 'closed' WHEN YEAR(open_date) < 2016 AND YEAR(close_date) = 2016 THEN 'closed' END) cnt_closed, COUNT( CASE WHEN YEAR(open_date) = 2016 THEN 'open' END) AS cnt_open FROM reports r JOIN employees e ON r.employee_id = e.id GROUP BY fn HAVING cnt_open > 0 OR cnt_closed > 0) w order by w.fn ------------ 15 -------- SELECT d.Name AS Department_name, CASE WHEN SUM(TIMESTAMPDIFF(DAY, R.Open_date, R.Close_date)) IS NULL THEN 'no info' ELSE floor(CAST(AVG(TIMESTAMPDIFF(DAY, R.Open_date, R.Close_date)) AS char(100))) END AS `Myaverage` FROM Departments AS D JOIN Categories AS C ON C.Department_Id = D.Id LEFT JOIN Reports AS R ON R.Category_Id= C.Id GROUP BY D.Name order by d.name; ------------ 16 -------- SELECT d.name, c.name, FORMAT((SELECT COUNT(*) FROM reports rc WHERE rc.category_id = c.id) / (SELECT COUNT(*) FROM reports rd WHERE rd.category_id IN (SELECT cd.id FROM categories cd JOIN departments dd ON cd.department_id=dd.id WHERE dd.id = d.id)) * 100, 0) p FROM departments d JOIN categories c ON d.id = c.department_id JOIN reports r ON r.category_id = c.id WHERE r.user_id IS NOT NULL GROUP BY d.name, c.name ORDER BY d.name, c.name, p ------------ 17 -------- CREATE FUNCTION udf_get_reports_count(employee_id INT, status_id INT) RETURNS INT BEGIN DECLARE reports_count INT; SET reports_count := (SELECT COUNT(r.id) FROM reports AS r WHERE r.Employee_Id = employee_id and r.Status_Id = status_id); RETURN reports_count; END ------------ 18 -------- CREATE PROCEDURE usp_assign_employee_to_report(employee_id INT, report_id INT) BEGIN DECLARE employee_department_id int; DECLARE report_category_id int; DECLARE category_department_id int; set employee_department_id := (SELECT department_id FROM employees AS e WHERE e.id = employee_id); set report_category_id := (SELECT category_id FROM reports AS r WHERE r.id = report_id); set category_department_id := (SELECT department_id FROM categories as c WHERE c.id = report_category_id); START TRANSACTION; IF(employee_department_id != category_department_id) THEN SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'Employee doesn\'t belong to the appropriate department!'; ROLLBACK; ELSE UPDATE reports AS r SET r.employee_id = employee_id WHERE r.id = report_id; END IF; COMMIT; END ------------ 19 -------- create trigger t_update_close_date BEFORE UPDATE ON reports FOR EACH ROW BEGIN if(old.close_date is null and new.close_date is not null) then set new.status_id = 3; end if; end ------------ 20 -------- SELECT c.name, COUNT(r.id), CASE WHEN (SELECT COUNT(*) FROM reports rr WHERE rr.status_id = (SELECT id FROM status WHERE label = 'waiting') AND rr.category_id = c.id) > (SELECT COUNT(*) FROM reports rr WHERE rr.status_id = (SELECT id FROM status WHERE label = 'in progress') AND rr.category_id = c.id) THEN 'waiting' WHEN (SELECT COUNT(*) FROM reports rr WHERE rr.status_id = (SELECT id FROM status WHERE label = 'waiting') AND rr.category_id = c.id) < (SELECT COUNT(*) FROM reports rr WHERE rr.status_id = (SELECT id FROM status WHERE label = 'in progress') AND rr.category_id = c.id) THEN 'in progress' ELSE 'equal' END as main_status FROM categories c JOIN reports r ON r.category_id = c.id JOIN status s ON r.status_id = s.id WHERE s.label IN ('waiting', 'in progress') GROUP BY c.name
.separator "," CREATE TABLE station ( id INTEGER PRIMARY KEY, name TEXT, lat NUMERIC, long NUMERIC, dock_count INTEGER, city TEXT, installation_date TEXT); CREATE TABLE status ( station_id INTEGER, bikes_available INTEGER, docks_available INTEGER, time TEXT); CREATE TABLE trip ( id INTEGER PRIMARY KEY, duration INTEGER, start_date TEXT, start_station_name TEXT, -- this should be removed start_station_id INTEGER, end_date TEXT, end_station_name TEXT, -- this should be removed end_station_id INTEGER, bike_id INTEGER, subscription_type TEXT, zip_code INTEGER); CREATE TABLE weather ( date TEXT, max_temperature_f INTEGER, mean_temperature_f INTEGER, min_temperature_f INTEGER, max_dew_point_f INTEGER, mean_dew_point_f INTEGER, min_dew_point_f INTEGER, max_humidity INTEGER, mean_humidity INTEGER, min_humidity INTEGER, max_sea_level_pressure_inches NUMERIC, mean_sea_level_pressure_inches NUMERIC, min_sea_level_pressure_inches NUMERIC, max_visibility_miles INTEGER, mean_visibility_miles INTEGER, min_visibility_miles INTEGER, max_wind_Speed_mph INTEGER, mean_wind_speed_mph INTEGER, max_gust_speed_mph INTEGER, precipitation_inches INTEGER, cloud_cover INTEGER, events TEXT, wind_dir_degrees INTEGER, zip_code INTEGER); .import "working/no_header/station.csv" station .import "working/no_header/status.csv" status .import "working/no_header/trip.csv" trip .import "working/no_header/weather.csv" weather
DROP database IF EXISTS todo_app; CREATE database todo_app; USE todo_app; CREATE TABLE users( id INT NOT NULL AUTO_INCREMENT, first_name VARCHAR(1000) NOT NULL, last_name VARCHAR(1000) NOT NULL, PRIMARY KEY (id) ); CREATE TABLE todo_items( id INT NOT NULL AUTO_INCREMENT, text TEXT NOT NULL, is_completed BOOLEAN NOT NULL DEFAULT FALSE, user_id INT NOT NULL, PRIMARY KEY (id), FOREIGN KEY (user_id) REFERENCES users(id) ); CREATE TABLE tags ( id INT NOT NULL AUTO_INCREMENT, description varchar(255) DEFAULT '', PRIMARY KEY(id) ); CREATE TABLE todo_item_tag( todo_item_id INT NOT NULL, tag_id INT NOT NULL, PRIMARY KEY (todo_item_id, tag_id) ); INSERT INTO users (first_name, last_name) VALUES ('Maartje', 'Kruijt'); INSERT INTO users (first_name, last_name) VALUES ('Joost', 'Lubach'); INSERT INTO users (first_name, last_name) VAlUES ('Jim', 'Cramer'); INSERT INTO users (first_name, last_name) VAlUES ('Frank', 'Versnel'); INSERT INTO tags (description) VALUES ('teaching'); INSERT INTO tags (description) VALUES ('shopping'); INSERT INTO tags (description) VALUES ('school'); -- tags: teaching, school INSERT INTO todo_items (id, text, user_id) VALUES (42, 'Teach class 11 about databases', 4); -- tags: school INSERT INTO todo_items (text, user_id) VALUES ('Create database week 2 homework', 4); -- no tags INSERT INTO todo_items (text, user_id) VALUES ('Do the dishes', 3); INSERT INTO todo_items (text, user_id) VALUES ('Teach class 11 about javascript', 2); INSERT INTO todo_item_tag (todo_item_id, tag_id) VALUES (42, 3); INSERT INTO todo_item_tag (todo_item_id, tag_id) VALUES (42, 1); INSERT INTO todo_item_tag (todo_item_id, tag_id) VALUES (43, 3); INSERT INTO todo_item_tag (todo_item_id, tag_id) VALUES (45, 3); INSERT INTO todo_item_tag (todo_item_id, tag_id) VALUES (45, 1);
Prompt ***** Permission change ***** col USER_NAME form a25 col User_Creation_Date form a12 col User_End_Date form a12 col Responsibility_Name form a35 col Respon_Creation_Date form a12 col Respon_End_Date form a12 col Assign_Creation_Date form a12 col Assign_Start_Date form a12 col Assign_End_Date form a12 col Application_Short_Name form a15 SELECT Fu.User_Name User_Name, trunc(Fu.Creation_Date) User_Creation_Date, trunc(Fu.End_Date) User_End_Date, Frt.Responsibility_Name Responsibility_Name, trunc(Fr.Creation_Date) Respon_Creation_Date, trunc(Fr.End_Date) Respon_End_Date, trunc(Furg.Creation_Date) Assign_Creation_Date, trunc(Furg.Start_Date) Assign_Start_Date, trunc(Furg.End_Date) Assign_End_Date, Fa.Application_Short_Name Application_Short_Name FROM Fnd_User_Resp_Groups_Direct Furg, Applsys.Fnd_User Fu, Applsys.Fnd_Responsibility_Tl Frt, Applsys.Fnd_Responsibility Fr, Applsys.Fnd_Application_Tl Fat, Applsys.Fnd_Application Fa WHERE Furg.User_Id = Fu.User_Id AND Furg.Responsibility_Id = Frt.Responsibility_Id AND Fr.Responsibility_Id = Frt.Responsibility_Id AND Fa.Application_Id = Fat.Application_Id AND Fr.Application_Id = Fat.Application_Id AND Frt.Language = Userenv('LANG') --AND Upper(Fu.User_Name) LIKE '%HUONGNT.GE1.DHD%' -- <change it> --AND frt.responsibility_name LIKE '%%Super%' AND (Fu.End_Date IS NULL OR Fu.End_Date > SYSDATE) AND (Furg.End_Date IS NULL OR Furg.End_Date > SYSDATE) AND (Fr.End_Date IS NULL OR Fr.End_Date > SYSDATE) AND Frt.Creation_Date <= '01-JAN-2012' ORDER BY User_Name;
SELECT sqlTypeOf(MAX(decimal_with_null_9_4)), MAX(decimal_with_null_9_4) FROM dfs.drillTestDir.`CTAS_CSV_PARQUET_DECIMAL9`;
TRUNCATE method; TRUNCATE session; TRUNCATE efsa; TRUNCATE fsa; TRUNCATE thread; TRUNCATE beginenddeclaration; TRUNCATE datamodel; TRUNCATE gktaildatamodel; TRUNCATE beginendexecmethod; TRUNCATE interactiontrace; TRUNCATE gktailinteractiontrace; TRUNCATE methodcall; TRUNCATE gktailmethodcall; TRUNCATE datum; TRUNCATE normalizeddata; TRUNCATE gktailnormalizeddata;
-- phpMyAdmin SQL Dump -- version 2.6.3-pl1 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: May 04, 2006 at 10:59 AM -- Server version: 4.1.14 -- PHP Version: 5.0.4 -- -- Database: `drupal` -- -- -------------------------------------------------------- -- -- Table structure for table `access` -- DROP TABLE IF EXISTS `access`; CREATE TABLE IF NOT EXISTS `access` ( `aid` tinyint(10) NOT NULL auto_increment, `mask` varchar(255) NOT NULL default '', `type` varchar(255) NOT NULL default '', `status` tinyint(2) NOT NULL default '0', PRIMARY KEY (`aid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ; -- -- Dumping data for table `access` -- INSERT INTO `access` VALUES (1, <EMAIL>', 'mail', 0); -- -------------------------------------------------------- -- -- Table structure for table `accesslog` -- DROP TABLE IF EXISTS `accesslog`; CREATE TABLE IF NOT EXISTS `accesslog` ( `aid` int(10) NOT NULL auto_increment, `sid` varchar(32) NOT NULL default '', `title` varchar(255) default NULL, `path` varchar(255) default NULL, `url` varchar(255) default NULL, `hostname` varchar(128) default NULL, `uid` int(10) unsigned default '0', `timer` int(10) unsigned NOT NULL default '0', `timestamp` int(11) unsigned NOT NULL default '0', PRIMARY KEY (`aid`), KEY `accesslog_timestamp` (`timestamp`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -- Dumping data for table `accesslog` -- -- -------------------------------------------------------- -- -- Table structure for table `aggregator_category` -- DROP TABLE IF EXISTS `aggregator_category`; CREATE TABLE IF NOT EXISTS `aggregator_category` ( `cid` int(10) NOT NULL auto_increment, `title` varchar(255) NOT NULL default '', `description` longtext NOT NULL, `block` tinyint(2) NOT NULL default '0', PRIMARY KEY (`cid`), UNIQUE KEY `title` (`title`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -- Dumping data for table `aggregator_category` -- -- -------------------------------------------------------- -- -- Table structure for table `aggregator_category_feed` -- DROP TABLE IF EXISTS `aggregator_category_feed`; CREATE TABLE IF NOT EXISTS `aggregator_category_feed` ( `fid` int(10) NOT NULL default '0', `cid` int(10) NOT NULL default '0', PRIMARY KEY (`fid`,`cid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `aggregator_category_feed` -- -- -------------------------------------------------------- -- -- Table structure for table `aggregator_category_item` -- DROP TABLE IF EXISTS `aggregator_category_item`; CREATE TABLE IF NOT EXISTS `aggregator_category_item` ( `iid` int(10) NOT NULL default '0', `cid` int(10) NOT NULL default '0', PRIMARY KEY (`iid`,`cid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `aggregator_category_item` -- -- -------------------------------------------------------- -- -- Table structure for table `aggregator_feed` -- DROP TABLE IF EXISTS `aggregator_feed`; CREATE TABLE IF NOT EXISTS `aggregator_feed` ( `fid` int(10) NOT NULL auto_increment, `title` varchar(255) NOT NULL default '', `url` varchar(255) NOT NULL default '', `refresh` int(10) NOT NULL default '0', `checked` int(10) NOT NULL default '0', `link` varchar(255) NOT NULL default '', `description` longtext NOT NULL, `image` longtext NOT NULL, `etag` varchar(255) NOT NULL default '', `modified` int(10) NOT NULL default '0', `block` tinyint(2) NOT NULL default '0', PRIMARY KEY (`fid`), UNIQUE KEY `link` (`url`), UNIQUE KEY `title` (`title`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -- Dumping data for table `aggregator_feed` -- -- -------------------------------------------------------- -- -- Table structure for table `aggregator_item` -- DROP TABLE IF EXISTS `aggregator_item`; CREATE TABLE IF NOT EXISTS `aggregator_item` ( `iid` int(10) NOT NULL auto_increment, `fid` int(10) NOT NULL default '0', `title` varchar(255) NOT NULL default '', `link` varchar(255) NOT NULL default '', `author` varchar(255) NOT NULL default '', `description` longtext NOT NULL, `timestamp` int(11) default NULL, PRIMARY KEY (`iid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -- Dumping data for table `aggregator_item` -- -- -------------------------------------------------------- -- -- Table structure for table `authmap` -- DROP TABLE IF EXISTS `authmap`; CREATE TABLE IF NOT EXISTS `authmap` ( `aid` int(10) unsigned NOT NULL auto_increment, `uid` int(10) NOT NULL default '0', `authname` varchar(128) NOT NULL default '', `module` varchar(128) NOT NULL default '', PRIMARY KEY (`aid`), UNIQUE KEY `authname` (`authname`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -- Dumping data for table `authmap` -- -- -------------------------------------------------------- -- -- Table structure for table `blocks` -- DROP TABLE IF EXISTS `blocks`; CREATE TABLE IF NOT EXISTS `blocks` ( `module` varchar(64) NOT NULL default '', `delta` varchar(32) NOT NULL default '0', `theme` varchar(255) NOT NULL default '', `status` tinyint(2) NOT NULL default '0', `weight` tinyint(1) NOT NULL default '0', `region` varchar(64) NOT NULL default 'left', `custom` tinyint(2) NOT NULL default '0', `throttle` tinyint(1) NOT NULL default '0', `visibility` tinyint(1) NOT NULL default '0', `pages` text NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `blocks` -- INSERT INTO `blocks` VALUES ('taxonomy_block', '1', 'bluemarine', 1, 0, 'right', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('search', '0', 'bluemarine', 0, 0, 'left', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('taxonomy_block', '1', 'box_grey_dev', 0, 0, 'left', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('search', '0', 'box_grey_dev', 1, 0, 'right', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('poll', '0', 'box_grey_dev', 0, 0, 'left', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('menu', '2', 'box_grey_dev', 0, 0, 'left', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('forum', '1', 'box_grey_dev', 0, 0, 'left', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('forum', '0', 'box_grey_dev', 0, 0, 'left', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('comment', '0', 'box_grey_dev', 0, 0, 'left', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('book', '0', 'box_grey_dev', 0, 0, 'left', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('blog', '0', 'box_grey_dev', 1, 0, 'right', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('block', '1', 'box_grey_dev', 0, 10, 'left', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('archive', '0', 'box_grey_dev', 1, 0, 'right', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('user', '3', 'box_grey_dev', 1, 0, 'footer', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('poll', '0', 'bluemarine', 0, 0, 'left', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('menu', '2', 'bluemarine', 0, 0, 'left', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('forum', '1', 'bluemarine', 1, 0, 'right', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('forum', '0', 'bluemarine', 0, 0, 'left', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('comment', '0', 'bluemarine', 0, 0, 'left', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('book', '0', 'bluemarine', 1, -1, 'right', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('blog', '0', 'bluemarine', 1, 0, 'right', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('block', '1', 'bluemarine', 0, 0, 'left', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('archive', '0', 'bluemarine', 0, 0, 'left', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('user', '3', 'bluemarine', 1, 0, 'footer', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('user', '2', 'bluemarine', 1, 0, 'footer', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('user', '1', 'bluemarine', 1, 0, 'left', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('user', '0', 'bluemarine', 1, 0, 'left', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('node', '0', 'bluemarine', 0, 0, 'left', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('taxonomy_block', '1', 'pushbutton', 1, 0, 'right', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('search', '0', 'pushbutton', 0, 0, 'left', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('poll', '0', 'pushbutton', 0, 0, 'left', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('menu', '2', 'pushbutton', 0, 0, 'left', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('forum', '1', 'pushbutton', 1, 0, 'right', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('forum', '0', 'pushbutton', 0, 0, 'left', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('comment', '0', 'pushbutton', 0, 0, 'left', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('book', '0', 'pushbutton', 1, -1, 'right', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('blog', '0', 'pushbutton', 1, 0, 'right', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('block', '1', 'pushbutton', 0, 0, 'left', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('archive', '0', 'pushbutton', 0, 0, 'left', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('user', '3', 'pushbutton', 1, 0, 'footer', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('user', '2', 'pushbutton', 1, 0, 'footer', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('user', '1', 'pushbutton', 1, 0, 'left', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('user', '0', 'pushbutton', 1, 0, 'left', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('node', '0', 'pushbutton', 0, 0, 'left', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('user', '2', 'box_grey_dev', 1, 0, 'footer', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('user', '1', 'box_grey_dev', 1, 0, 'left', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('user', '0', 'box_grey_dev', 1, 0, 'left', 0, 0, 0, ''); INSERT INTO `blocks` VALUES ('node', '0', 'box_grey_dev', 0, 0, 'left', 0, 0, 0, ''); -- -------------------------------------------------------- -- -- Table structure for table `book` -- DROP TABLE IF EXISTS `book`; CREATE TABLE IF NOT EXISTS `book` ( `vid` int(10) unsigned NOT NULL default '0', `nid` int(10) unsigned NOT NULL default '0', `parent` int(10) NOT NULL default '0', `weight` tinyint(3) NOT NULL default '0', PRIMARY KEY (`vid`), KEY `nid` (`nid`), KEY `parent` (`parent`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `book` -- -- -------------------------------------------------------- -- -- Table structure for table `boxes` -- DROP TABLE IF EXISTS `boxes`; CREATE TABLE IF NOT EXISTS `boxes` ( `bid` tinyint(4) NOT NULL auto_increment, `title` varchar(64) NOT NULL default '', `body` longtext, `info` varchar(128) NOT NULL default '', `format` int(4) NOT NULL default '0', PRIMARY KEY (`bid`), UNIQUE KEY `info` (`info`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ; -- -- Dumping data for table `boxes` -- INSERT INTO `boxes` VALUES (1, 'Advertisements', '<?php\r\nif (module_exist("adsense"))\r\n{\r\n print adsense_display("160x600", 1);\r\n}\r\n?>', 'Google Ads', 2); -- -------------------------------------------------------- -- -- Table structure for table `cache` -- DROP TABLE IF EXISTS `cache`; CREATE TABLE IF NOT EXISTS `cache` ( `cid` varchar(255) NOT NULL default '', `data` longblob, `expire` int(11) NOT NULL default '0', `created` int(11) NOT NULL default '0', `headers` text, PRIMARY KEY (`cid`), KEY `expire` (`expire`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `cache` -- INSERT INTO `cache` VALUES ('adsense-2-336x280-1', 0x0a3c64697620636c6173733d22616473656e7365223e0a3c73637269707420747970653d22746578742f6a617661736372697074223e3c212d2d0a676f6f676c655f61645f636c69656e74203d202263612d7265662d7075622d3031373335323936363130373931223b0a676f6f676c655f61645f74797065203d2022696d616765223b0a676f6f676c655f61645f6368616e6e656c203d2022223b0a676f6f676c655f61645f7769647468203d203333363b0a676f6f676c655f61645f686569676874203d203238303b0a676f6f676c655f61645f666f726d6174203d2022333336783238305f6173223b0a676f6f676c655f636f6c6f725f626f72646572203d2022453545354535223b0a676f6f676c655f636f6c6f725f6267203d2022453545354535223b0a676f6f676c655f636f6c6f725f6c696e6b203d2022414438353746223b0a676f6f676c655f636f6c6f725f75726c203d2022414438353746223b0a676f6f676c655f636f6c6f725f74657874203d2022414438353746223b0a2f2f2d2d3e3c2f7363726970743e0a3c73637269707420747970653d22746578742f6a617661736372697074220a207372633d22687474703a2f2f706167656164322e676f6f676c6573796e6469636174696f6e2e636f6d2f7061676561642f73686f775f6164732e6a73223e0a3c2f7363726970743e0a3c2f6469763e0a, 0, 1145115354, ''); INSERT INTO `cache` VALUES ('filter:3:502a8fd12e842afef91d10d70d6b233b', 0x3c703e48692c3c2f703e0a3c703e5468697320697320612070616765206f6620476f6f676c65206164733a3c2f703e0a3c703e3c212d2d616473656e73653a20696e76616c696420666f726d61743a203136307836302d2d3e3c2f703e0a, 1146818397, 1146731997, ''); INSERT INTO `cache` VALUES ('filter:1:fdf76a54a8386d74010e685cd71fe5a8', 0x77686f2063616e20736179206174207468697320706f696e742e2e, 1146818397, 1146731997, ''); INSERT INTO `cache` VALUES ('filter:1:e4baa6b5dcd1b3e015215f75ae83a572', 0x54686973206973206d792066697273742073746f72792e2e20776974682061207370656c6c696e67206572726f72, 1146818397, 1146731997, ''); INSERT INTO `cache` VALUES ('archive:calendar:04-5-2006', 0x0a3c212d2d2063616c656e646172202d2d3e0a3c64697620636c6173733d2263616c656e646172223e3c7461626c652073756d6d6172793d22412063616c656e64617220746f2062726f777365207468652061726368697665732e223e0a203c63617074696f6e3e3c6120687265663d222f64727570616c2f617263686976652f323030362f30342f303422207469746c653d2250726576696f7573206d6f6e7468223ec2ab3c2f613e204d6179203230303620c2a03c2f63617074696f6e3e0a203c747220636c6173733d226865616465722d7765656b223e0a203c746820616262723d2253756e646179223e53753c2f74683e0a203c746820616262723d224d6f6e646179223e4d6f3c2f74683e0a203c746820616262723d2254756573646179223e54753c2f74683e0a203c746820616262723d225765646e6573646179223e57653c2f74683e0a203c746820616262723d225468757273646179223e54683c2f74683e0a203c746820616262723d22467269646179223e46723c2f74683e0a203c746820616262723d225361747572646179223e53613c2f74683e0a3c2f74723e0a203c747220636c6173733d22726f772d7765656b223e3c746420636c6173733d226461792d626c616e6b223e266e6273703b3c2f74643e0a20203c746420636c6173733d226461792d6e6f726d616c223e313c2f74643e0a20203c746420636c6173733d226461792d6e6f726d616c223e323c2f74643e0a20203c746420636c6173733d226461792d6e6f726d616c223e333c2f74643e0a20203c746420636c6173733d226461792d746f646179223e343c2f74643e0a20203c746420636c6173733d226461792d667574757265223e353c2f74643e0a20203c746420636c6173733d226461792d667574757265223e363c2f74643e0a203c2f74723e0a203c747220636c6173733d22726f772d7765656b223e0a20203c746420636c6173733d226461792d667574757265223e373c2f74643e0a20203c746420636c6173733d226461792d667574757265223e383c2f74643e0a20203c746420636c6173733d226461792d667574757265223e393c2f74643e0a20203c746420636c6173733d226461792d667574757265223e31303c2f74643e0a20203c746420636c6173733d226461792d667574757265223e31313c2f74643e0a20203c746420636c6173733d226461792d667574757265223e31323c2f74643e0a20203c746420636c6173733d226461792d667574757265223e31333c2f74643e0a203c2f74723e0a203c747220636c6173733d22726f772d7765656b223e0a20203c746420636c6173733d226461792d667574757265223e31343c2f74643e0a20203c746420636c6173733d226461792d667574757265223e31353c2f74643e0a20203c746420636c6173733d226461792d667574757265223e31363c2f74643e0a20203c746420636c6173733d226461792d667574757265223e31373c2f74643e0a20203c746420636c6173733d226461792d667574757265223e31383c2f74643e0a20203c746420636c6173733d226461792d667574757265223e31393c2f74643e0a20203c746420636c6173733d226461792d667574757265223e32303c2f74643e0a203c2f74723e0a203c747220636c6173733d22726f772d7765656b223e0a20203c746420636c6173733d226461792d667574757265223e32313c2f74643e0a20203c746420636c6173733d226461792d667574757265223e32323c2f74643e0a20203c746420636c6173733d226461792d667574757265223e32333c2f74643e0a20203c746420636c6173733d226461792d667574757265223e32343c2f74643e0a20203c746420636c6173733d226461792d667574757265223e32353c2f74643e0a20203c746420636c6173733d226461792d667574757265223e32363c2f74643e0a20203c746420636c6173733d226461792d667574757265223e32373c2f74643e0a203c2f74723e0a203c747220636c6173733d22726f772d7765656b223e0a20203c746420636c6173733d226461792d667574757265223e32383c2f74643e0a20203c746420636c6173733d226461792d667574757265223e32393c2f74643e0a20203c746420636c6173733d226461792d667574757265223e33303c2f74643e0a20203c746420636c6173733d226461792d667574757265223e33313c2f74643e0a3c746420636c6173733d226461792d626c616e6b223e266e6273703b3c2f74643e0a3c746420636c6173733d226461792d626c616e6b223e266e6273703b3c2f74643e0a3c746420636c6173733d226461792d626c616e6b223e266e6273703b3c2f74643e0a3c2f74723e0a3c2f7461626c653e3c2f6469763e0a0a, -1, 1146731998, ''); INSERT INTO `cache` VALUES ('filter:3:992fe446995121d3b08409bf1a121668', 0x3c703e48692c3c2f703e0a3c703e5468697320697320612070616765206f6620476f6f676c65204164733a3c2f703e0a3c703e3c212d2d616473656e73653a20706c616365686f6c6465722d2d3e3c646976207374796c653d222077696474683a33333670783b206865696768743a32383070783b20626f726465723a736f6c696420317078223e476f6f676c6520416453656e736520616420706c616365686f6c64657220686572653c2f6469763e3c2f703e0a3c703e416c6c2074686520626573742e2e2e3c2f703e0a, 1146818397, 1146731997, ''); INSERT INTO `cache` VALUES ('variables', 0x613a3130353a7b733a31333a227468656d655f64656661756c74223b733a31323a22626f785f677265795f646576223b733a31333a2266696c7465725f68746d6c5f31223b693a313b733a31383a226e6f64655f6f7074696f6e735f666f72756d223b613a313a7b693a303b733a363a22737461747573223b7d733a31373a226d656e755f7072696d6172795f6d656e75223b733a313a2231223b733a31393a226d656e755f7365636f6e646172795f6d656e75223b733a313a2232223b733a32373a227468656d655f626f785f677265795f6465765f73657474696e6773223b613a31353a7b733a333a22766172223b733a32373a227468656d655f626f785f677265795f6465765f73657474696e6773223b733a31313a22746f67676c655f6c6f676f223b693a313b733a31313a22746f67676c655f6e616d65223b693a303b733a31333a22746f67676c655f736c6f67616e223b693a303b733a31343a22746f67676c655f6d697373696f6e223b693a303b733a32343a22746f67676c655f6e6f64655f757365725f70696374757265223b693a303b733a32373a22746f67676c655f636f6d6d656e745f757365725f70696374757265223b693a303b733a31333a22746f67676c655f736561726368223b693a303b733a31343a22746f67676c655f66617669636f6e223b693a313b733a31323a2264656661756c745f6c6f676f223b693a303b733a393a226c6f676f5f70617468223b733a31343a2266696c65732f6c6f676f2e6a7067223b733a31313a226c6f676f5f75706c6f6164223b4e3b733a31353a2264656661756c745f66617669636f6e223b693a313b733a31323a2266617669636f6e5f70617468223b733a303a22223b733a31343a2266617669636f6e5f75706c6f6164223b4e3b7d733a31323a22636c65616e5f75726c5f6f6b223b693a313b733a31393a2266696c655f6469726563746f72795f74656d70223b733a32303a22433a5c6170616368653274726961645c74656d70223b733a31373a226d656e755f706172656e745f6974656d73223b733a313a2230223b733a393a22736974655f6e616d65223b733a363a2264727570616c223b733a393a22736974655f6d61696c223b733a31393a22737461666640636f6e7465636873742e636f6d223b733a31313a22736974655f736c6f67616e223b733a303a22223b733a31323a22736974655f6d697373696f6e223b733a303a22223b733a31313a22736974655f666f6f746572223b733a303a22223b733a393a22616e6f6e796d6f7573223b733a393a22416e6f6e796d6f7573223b733a31343a22736974655f66726f6e7470616765223b733a343a226e6f6465223b733a393a22636c65616e5f75726c223b733a313a2231223b733a383a22736974655f343033223b733a303a22223b733a383a22736974655f343034223b733a303a22223b733a31313a226572726f725f6c6576656c223b733a313a2231223b733a31343a227761746368646f675f636c656172223b733a363a22363034383030223b733a353a226361636865223b733a313a2230223b733a31343a2263616368655f6c69666574696d65223b733a313a2230223b733a31393a2266696c655f6469726563746f72795f70617468223b733a353a2266696c6573223b733a31343a2266696c655f646f776e6c6f616473223b733a313a2231223b733a31383a22666565645f64656661756c745f6974656d73223b733a323a223130223b733a31363a22666565645f6974656d5f6c656e677468223b733a363a22746561736572223b733a32313a22646174655f64656661756c745f74696d657a6f6e65223b733a313a2230223b733a32323a22636f6e666967757261626c655f74696d657a6f6e6573223b733a313a2231223b733a31373a22646174655f666f726d61745f73686f7274223b733a393a22592d6d2d6420483a69223b733a31383a22646174655f666f726d61745f6d656469756d223b733a31323a22442c20592d6d2d6420483a69223b733a31363a22646174655f666f726d61745f6c6f6e67223b733a31353a226c2c2046206a2c2059202d20483a69223b733a31343a22646174655f66697273745f646179223b733a313a2230223b733a31323a22736974655f6f66666c696e65223b733a313a2230223b733a32303a22736974655f6f66666c696e655f6d657373616765223b733a3130343a22546869732044727570616c20736974652069732063757272656e746c7920756e646572206d61696e74656e616e63652e2057652073686f756c64206265206261636b2073686f72746c792e205468616e6b20796f7520666f7220796f75722070617469656e63652e223b733a31363a22666c6578696e6f64652d315f68656c70223b733a3238313a22506c6561736520646f206e6f74207375626d697420616e7920636f6e74656e7420756e6465722074656e20776f7264732e20416c736f2c20656e7375726520746861742061732066617220617320706f737369626c6520796f75206d616b6520757365206f6620746865207069637475726520666163696c69746965732070726f766964656420776974682074686973207061676520616e6420706c6561736520737570706c7920616e20656d61696c206164647265737320666f7220796f757273656c662c206f7220616c7465726e61746976656c792c20666f7220746865206f7267616e697a6174696f6e20696e20636861726765206f6620736176696e672074686520616e696d616c20696e207175657374696f6e2e223b733a32343a226d696e696d756d5f666c6578696e6f64652d315f73697a65223b733a323a223130223b733a32343a226e6f64655f6f7074696f6e735f666c6578696e6f64652d31223b613a323a7b693a303b733a363a22737461747573223b693a313b733a373a2270726f6d6f7465223b7d733a31393a22636f6d6d656e745f666c6578696e6f64652d31223b733a313a2232223b733a31383a2275706c6f61645f666c6578696e6f64652d31223b733a313a2231223b733a343a2274797065223b733a31313a22666c6578696e6f64652d32223b733a31323a2261727261795f66696c746572223b623a313b733a32303a22666c6578696e6f64655f6c6973745f636f756e74223b733a313a2235223b733a31363a22666c6578696e6f64652d325f68656c70223b733a303a22223b733a32343a226d696e696d756d5f666c6578696e6f64652d325f73697a65223b733a313a2230223b733a32343a226e6f64655f6f7074696f6e735f666c6578696e6f64652d32223b613a323a7b693a303b733a363a22737461747573223b693a313b733a373a2270726f6d6f7465223b7d733a31393a22636f6d6d656e745f666c6578696e6f64652d32223b733a313a2232223b733a31383a2275706c6f61645f666c6578696e6f64652d32223b733a313a2231223b733a31373a22616473656e73655f636c69656e745f6964223b733a32353a2263612d7265662d7075622d3031373335323936363130373931223b733a31383a22616473656e73655f7669736962696c697479223b733a313a2230223b733a32303a22616473656e73655f6163636573735f7061676573223b733a303a22223b733a31373a22616473656e73655f61645f747970655f31223b733a313a2232223b733a32303a22616473656e73655f636f6c6f725f746578745f31223b733a363a22414438353746223b733a32323a22616473656e73655f636f6c6f725f626f726465725f31223b733a363a22453545354535223b733a31383a22616473656e73655f636f6c6f725f62675f31223b733a363a22453545354535223b733a32303a22616473656e73655f636f6c6f725f6c696e6b5f31223b733a363a22414438353746223b733a31393a22616473656e73655f636f6c6f725f75726c5f31223b733a363a22414438353746223b733a31333a22616473656e73655f616c745f31223b733a313a2230223b733a31383a22616473656e73655f616c745f696e666f5f31223b733a303a22223b733a31373a22616473656e73655f61645f747970655f32223b733a313a2231223b733a32303a22616473656e73655f636f6c6f725f746578745f32223b733a363a22414438353746223b733a32323a22616473656e73655f636f6c6f725f626f726465725f32223b733a363a22453545354535223b733a31383a22616473656e73655f636f6c6f725f62675f32223b733a363a22453545354535223b733a32303a22616473656e73655f636f6c6f725f6c696e6b5f32223b733a363a22414438353746223b733a31393a22616473656e73655f636f6c6f725f75726c5f32223b733a363a22414438353746223b733a31333a22616473656e73655f616c745f32223b733a313a2230223b733a31383a22616473656e73655f616c745f696e666f5f32223b733a303a22223b733a31373a22616473656e73655f61645f747970655f33223b733a313a2230223b733a32303a22616473656e73655f636f6c6f725f746578745f33223b733a363a22303030303030223b733a32323a22616473656e73655f636f6c6f725f626f726465725f33223b733a363a22333336363939223b733a31383a22616473656e73655f636f6c6f725f62675f33223b733a363a22464646464646223b733a32303a22616473656e73655f636f6c6f725f6c696e6b5f33223b733a363a22333336363939223b733a31393a22616473656e73655f636f6c6f725f75726c5f33223b733a363a22464638433030223b733a31333a22616473656e73655f616c745f33223b733a313a2230223b733a31383a22616473656e73655f616c745f696e666f5f33223b733a303a22223b733a32303a22616473656e73655f61645f6368616e6e656c5f31223b733a303a22223b733a32303a22616473656e73655f61645f6368616e6e656c5f32223b733a303a22223b733a32303a22616473656e73655f61645f6368616e6e656c5f33223b733a303a22223b733a32303a22616473656e73655f61645f6368616e6e656c5f34223b733a303a22223b733a32303a22616473656e73655f61645f6368616e6e656c5f35223b733a303a22223b733a32323a22616473656e73655f726576656e75655f656e61626c65223b693a303b733a32353a22616473656e73655f70657263656e746167655f617574686f72223b733a323a223730223b733a32343a22616473656e73655f70657263656e746167655f7265666572223b733a323a223330223b733a32323a22616473656e73655f6e6f64655f747970655f626c6f67223b693a313b733a32323a22616473656e73655f6e6f64655f747970655f626f6f6b223b693a313b733a32323a22616473656e73655f6e6f64655f747970655f70616765223b693a313b733a32323a22616473656e73655f6e6f64655f747970655f706f6c6c223b693a313b733a32333a22616473656e73655f6e6f64655f747970655f73746f7279223b693a313b733a31353a22616473656e73655f64697361626c65223b693a303b733a31393a22616473656e73655f706c616365686f6c646572223b693a313b733a32343a22616473656e73655f706c616365686f6c6465725f74657874223b733a33343a22476f6f676c6520416453656e736520616420706c616365686f6c6465722068657265223b733a32313a22616473656e73655f706167655f61645f6c696d6974223b733a313a2234223b733a32353a22616473656e73655f73656374696f6e5f746172676574696e67223b693a303b733a32303a22666f72756d5f6e61765f766f636162756c617279223b693a343b733a32303a22706f6f726d616e7363726f6e5f6c61737472756e223b693a313134363733313034383b733a32343a226e6f64655f63726f6e5f636f6d6d656e74735f7363616c65223b643a313b733a32313a226e6f64655f63726f6e5f76696577735f7363616c65223b643a313b733a393a2263726f6e5f6c617374223b693a313134363733313034383b733a393a2263726f6e5f62757379223b623a303b733a31383a227468726f74746c655f616e6f6e796d6f7573223b733a313a2231223b733a31333a227468726f74746c655f75736572223b733a333a22313030223b733a32383a227468726f74746c655f70726f626162696c6974795f6c696d69746572223b733a313a2239223b733a31343a227468726f74746c655f6c6576656c223b693a303b733a31343a226e6f64655f63726f6e5f6c617374223b733a31303a2231313436303634333934223b733a31383a226e6f64655f63726f6e5f6c6173745f6e6964223b733a323a223131223b7d, 0, 1146731050, ''); INSERT INTO `cache` VALUES ('menu:1:en', 0x613a343a7b733a31303a227061746820696e646578223b613a3136333a7b733a31333a2261646d696e2f66696c74657273223b733a313a2237223b733a31383a2261646d696e2f66696c746572732f6c697374223b693a2d323b733a31373a2261646d696e2f66696c746572732f616464223b693a2d333b733a32303a2261646d696e2f66696c746572732f64656c657465223b693a2d343b733a31313a2266696c7465722f74697073223b733a313a2233223b733a31303a2261646d696e2f6e6f6465223b733a313a2238223b733a31393a2261646d696e2f6e6f64652f6f76657276696577223b693a2d373b733a31373a2261646d696e2f6e6f64652f736561726368223b693a2d383b733a31393a2261646d696e2f73657474696e67732f6e6f6465223b733a323a223231223b733a32383a2261646d696e2f73657474696e67732f636f6e74656e742d7479706573223b733a323a223232223b733a343a226e6f6465223b733a313a2234223b733a383a226e6f64652f616464223b733a313a2239223b733a373a227273732e786d6c223b693a2d31333b733a31323a2273797374656d2f66696c6573223b693a2d31343b733a31313a2273797374656d2f74657374223b693a2d31353b733a353a2261646d696e223b733a313a2235223b733a31323a2261646d696e2f7468656d6573223b733a323a223130223b733a31393a2261646d696e2f7468656d65732f73656c656374223b693a2d31383b733a32313a2261646d696e2f7468656d65732f73657474696e6773223b693a2d31393b733a32383a2261646d696e2f7468656d65732f73657474696e67732f676c6f62616c223b693a2d32303b733a33323a2261646d696e2f7468656d65732f73657474696e67732f70757368627574746f6e223b693a2d32313b733a33343a2261646d696e2f7468656d65732f73657474696e67732f626f785f677265795f646576223b693a2d32323b733a31343a2261646d696e2f73657474696e6773223b733a323a223131223b733a32323a2261646d696e2f73657474696e67732f616473656e7365223b733a323a223437223b733a32353a2261646d696e2f73657474696e67732f61676772656761746f72223b733a323a223239223b733a32343a2261646d696e2f73657474696e67732f666c6578696e6f6465223b733a323a223237223b733a32373a2261646d696e2f73657474696e67732f706f6f726d616e7363726f6e223b733a323a223533223b733a32313a2261646d696e2f73657474696e67732f736561726368223b733a323a223330223b733a32333a2261646d696e2f73657474696e67732f7468726f74746c65223b733a323a223438223b733a32313a2261646d696e2f73657474696e67732f75706c6f6164223b733a323a223331223b733a31333a2261646d696e2f6d6f64756c6573223b733a323a223132223b733a343a2275736572223b693a2d33323b733a31373a22757365722f6175746f636f6d706c657465223b693a2d33333b733a31303a22757365722f6c6f67696e223b693a2d33343b733a31333a22757365722f7265676973746572223b693a2d33353b733a31333a22757365722f70617373776f7264223b693a2d33363b733a31303a22757365722f7265736574223b693a2d33373b733a393a22757365722f68656c70223b693a2d33383b733a31303a2261646d696e2f75736572223b733a323a223133223b733a31353a2261646d696e2f757365722f6c697374223b693a2d34303b733a31373a2261646d696e2f757365722f637265617465223b693a2d34313b733a31393a2261646d696e2f73657474696e67732f75736572223b733a323a223233223b733a31323a2261646d696e2f616363657373223b733a323a223134223b733a32343a2261646d696e2f6163636573732f7065726d697373696f6e73223b693a2d34343b733a31383a2261646d696e2f6163636573732f726f6c6573223b693a2d34353b733a32333a2261646d696e2f6163636573732f726f6c65732f65646974223b693a2d34363b733a31383a2261646d696e2f6163636573732f72756c6573223b693a2d34373b733a32333a2261646d696e2f6163636573732f72756c65732f6c697374223b693a2d34383b733a32323a2261646d696e2f6163636573732f72756c65732f616464223b693a2d34393b733a32343a2261646d696e2f6163636573732f72756c65732f636865636b223b693a2d35303b733a32333a2261646d696e2f6163636573732f72756c65732f65646974223b693a2d35313b733a32353a2261646d696e2f6163636573732f72756c65732f64656c657465223b693a2d35323b733a31373a2261646d696e2f757365722f736561726368223b693a2d35333b733a363a22757365722f31223b693a2d35343b733a363a226c6f676f7574223b733a313a2236223b733a31303a2261646d696e2f6c6f6773223b733a323a223135223b733a31363a2261646d696e2f6c6f67732f6576656e74223b693a2d35373b733a31363a2261646d696e2f61676772656761746f72223b733a323a223332223b733a32353a2261646d696e2f61676772656761746f722f6164642f66656564223b693a2d35393b733a32393a2261646d696e2f61676772656761746f722f6164642f63617465676f7279223b693a2d36303b733a32333a2261646d696e2f61676772656761746f722f72656d6f7665223b693a2d36313b733a32333a2261646d696e2f61676772656761746f722f757064617465223b693a2d36323b733a32313a2261646d696e2f61676772656761746f722f6c697374223b693a2d36333b733a31303a2261676772656761746f72223b733a323a223333223b733a31383a2261676772656761746f722f736f7572636573223b733a323a223432223b733a32313a2261676772656761746f722f63617465676f72696573223b733a323a223433223b733a31343a2261676772656761746f722f727373223b693a2d36373b733a31353a2261676772656761746f722f6f706d6c223b693a2d36383b733a373a2261726368697665223b733a323a223334223b733a31313a2261646d696e2f626c6f636b223b733a323a223136223b733a31363a2261646d696e2f626c6f636b2f6c697374223b693a2d37313b733a32313a2261646d696e2f626c6f636b2f636f6e666967757265223b693a2d37323b733a31383a2261646d696e2f626c6f636b2f64656c657465223b693a2d37333b733a31353a2261646d696e2f626c6f636b2f616464223b693a2d37343b733a32373a2261646d696e2f626c6f636b2f6c6973742f70757368627574746f6e223b693a2d37353b733a32393a2261646d696e2f626c6f636b2f6c6973742f626f785f677265795f646576223b693a2d37363b733a31333a226e6f64652f6164642f626c6f67223b733a323a223335223b733a343a22626c6f67223b733a323a223336223b733a363a22626c6f672f31223b693a2d37393b733a343a22626f6f6b223b733a323a223338223b733a31333a226e6f64652f6164642f626f6f6b223b733a323a223337223b733a31353a2261646d696e2f6e6f64652f626f6f6b223b693a2d38323b733a32303a2261646d696e2f6e6f64652f626f6f6b2f6c697374223b693a2d38333b733a32323a2261646d696e2f6e6f64652f626f6f6b2f6f727068616e223b693a2d38343b733a31313a22626f6f6b2f6578706f7274223b693a2d38363b733a31333a2261646d696e2f636f6d6d656e74223b733a323a223137223b733a31383a2261646d696e2f636f6d6d656e742f6c697374223b693a2d38383b733a32333a2261646d696e2f636f6d6d656e742f636f6e666967757265223b693a2d38393b733a32323a2261646d696e2f636f6d6d656e742f6c6973742f6e6577223b693a2d39303b733a32373a2261646d696e2f636f6d6d656e742f6c6973742f617070726f76616c223b693a2d39313b733a33323a2261646d696e2f636f6d6d656e742f636f6e6669677572652f73657474696e6773223b693a2d39323b733a31343a22636f6d6d656e742f64656c657465223b693a2d39333b733a31323a22636f6d6d656e742f65646974223b693a2d39343b733a31343a22666c6578696e6f64652f6c697374223b693a2d39353b733a31353a22666c6578696e6f64652f7461626c65223b693a2d39363b733a31343a22666c6578696e6f64652f66656564223b693a2d39373b733a31363a2261646d696e2f6e6f64652f7479706573223b693a2d39383b733a31353a2261646d696e2f6e6f64652f74797065223b693a2d39393b733a32323a2261646d696e2f6e6f64652f747970652f64656c657465223b693a2d3130303b733a31363a2261646d696e2f6e6f64652f6669656c64223b693a2d3130313b733a31363a22666c6578696e6f64652f757064617465223b693a2d3130323b733a31343a226e6f64652f6164642f666f72756d223b733a323a223530223b733a353a22666f72756d223b733a323a223531223b733a31313a2261646d696e2f666f72756d223b733a323a223532223b733a31363a2261646d696e2f666f72756d2f6c697374223b693a2d3130363b733a32353a2261646d696e2f666f72756d2f6164642f636f6e7461696e6572223b693a2d3130373b733a32313a2261646d696e2f666f72756d2f6164642f666f72756d223b693a2d3130383b733a32313a2261646d696e2f666f72756d2f636f6e666967757265223b693a2d3130393b733a31303a2261646d696e2f68656c70223b733a323a223138223b733a31383a2261646d696e2f68656c702f616473656e7365223b693a2d3131313b733a32313a2261646d696e2f68656c702f61676772656761746f72223b693a2d3131323b733a31383a2261646d696e2f68656c702f61726368697665223b693a2d3131333b733a31363a2261646d696e2f68656c702f626c6f636b223b693a2d3131343b733a31353a2261646d696e2f68656c702f626c6f67223b693a2d3131353b733a31353a2261646d696e2f68656c702f626f6f6b223b693a2d3131363b733a31383a2261646d696e2f68656c702f636f6d6d656e74223b693a2d3131373b733a31373a2261646d696e2f68656c702f66696c746572223b693a2d3131383b733a32303a2261646d696e2f68656c702f666c6578696e6f6465223b693a2d3131393b733a31363a2261646d696e2f68656c702f666f72756d223b693a2d3132303b733a31353a2261646d696e2f68656c702f68656c70223b693a2d3132313b733a31353a2261646d696e2f68656c702f6d656e75223b693a2d3132323b733a31353a2261646d696e2f68656c702f6e6f6465223b693a2d3132333b733a31353a2261646d696e2f68656c702f70616765223b693a2d3132343b733a31353a2261646d696e2f68656c702f706f6c6c223b693a2d3132353b733a32333a2261646d696e2f68656c702f706f6f726d616e7363726f6e223b693a2d3132363b733a31373a2261646d696e2f68656c702f736561726368223b693a2d3132373b733a31363a2261646d696e2f68656c702f73746f7279223b693a2d3132383b733a31373a2261646d696e2f68656c702f73797374656d223b693a2d3132393b733a31393a2261646d696e2f68656c702f7461786f6e6f6d79223b693a2d3133303b733a32353a2261646d696e2f68656c702f7461786f6e6f6d795f626c6f636b223b693a2d3133313b733a31393a2261646d696e2f68656c702f7468726f74746c65223b693a2d3133323b733a31373a2261646d696e2f68656c702f75706c6f6164223b693a2d3133333b733a31353a2261646d696e2f68656c702f75736572223b693a2d3133343b733a31393a2261646d696e2f68656c702f7761746368646f67223b693a2d3133353b733a31303a2261646d696e2f6d656e75223b733a323a223139223b733a31353a2261646d696e2f6d656e752f6c697374223b693a2d3133373b733a31393a2261646d696e2f6d656e752f6974656d2f616464223b693a2d3133383b733a32303a2261646d696e2f6d656e752f6974656d2f65646974223b693a2d3133393b733a32313a2261646d696e2f6d656e752f6974656d2f7265736574223b693a2d3134303b733a32333a2261646d696e2f6d656e752f6974656d2f64697361626c65223b693a2d3134313b733a32323a2261646d696e2f6d656e752f6974656d2f64656c657465223b693a2d3134323b733a31393a2261646d696e2f6d656e752f6d656e752f616464223b693a2d3134333b733a32303a2261646d696e2f6d656e752f6d656e752f65646974223b693a2d3134343b733a32323a2261646d696e2f6d656e752f6d656e752f64656c657465223b693a2d3134353b733a31393a2261646d696e2f73657474696e67732f6d656e75223b733a323a223234223b733a31333a226e6f64652f6164642f70616765223b733a323a223235223b733a31333a226e6f64652f6164642f706f6c6c223b733a323a223339223b733a343a22706f6c6c223b733a323a223430223b733a393a22706f6c6c2f766f7465223b693a2d3135303b733a363a22736561726368223b733a323a223431223b733a32363a2261646d696e2f73657474696e67732f7365617263682f77697065223b693a2d3135323b733a31343a226e6f64652f6164642f73746f7279223b733a323a223236223b733a31343a2261646d696e2f7461786f6e6f6d79223b733a323a223230223b733a31393a2261646d696e2f7461786f6e6f6d792f6c697374223b693a2d3135353b733a32393a2261646d696e2f7461786f6e6f6d792f6164642f766f636162756c617279223b693a2d3135363b733a33303a2261646d696e2f7461786f6e6f6d792f656469742f766f636162756c617279223b693a2d3135373b733a32343a2261646d696e2f7461786f6e6f6d792f656469742f7465726d223b693a2d3135383b733a31333a227461786f6e6f6d792f7465726d223b693a2d3135393b733a32313a227461786f6e6f6d792f6175746f636f6d706c657465223b693a2d3136303b733a32363a2261646d696e2f626c6f636b2f7461786f6e6f6d795f626c6f636b223b733a323a223534223b733a33313a2261646d696e2f626c6f636b2f7461786f6e6f6d795f626c6f636b2f65646974223b693a2d3136323b733a393a2275706c6f61642f6a73223b693a2d3136333b733a363a226e6f64652f36223b733a323a223439223b7d733a353a226974656d73223b613a3136363a7b693a303b613a353a7b733a343a2270617468223b733a303a22223b733a353a227469746c65223b733a303a22223b733a343a2274797065223b693a313b733a333a22706964223b693a313b733a383a226368696c6472656e223b613a323a7b693a303b693a313b693a313b693a323b7d7d693a313b613a373a7b733a333a22706964223b693a303b733a343a2270617468223b733a303a22223b733a353a227469746c65223b733a31303a224e617669676174696f6e223b733a363a22776569676874223b693a2d35303b733a363a22616363657373223b623a313b733a343a2274797065223b693a333b733a383a226368696c6472656e223b613a32353a7b693a303b693a2d31333b693a313b693a2d31343b693a323b693a2d31353b693a333b693a2d33323b693a343b693a2d39333b693a353b693a2d39343b693a363b693a2d39353b693a373b693a2d39363b693a383b693a2d39373b693a393b693a2d3130323b693a31303b693a2d3135393b693a31313b693a2d3136303b693a31323b693a2d3136333b693a31333b693a333b693a31343b693a343b693a31353b693a353b693a31363b693a363b693a31373b693a33333b693a31383b693a33343b693a31393b693a33363b693a32303b693a33383b693a32313b693a34303b693a32323b693a34313b693a32333b693a34393b693a32343b693a35313b7d7d693a2d323b613a363a7b733a343a2270617468223b733a31383a2261646d696e2f66696c746572732f6c697374223b733a353a227469746c65223b733a343a226c697374223b733a343a2274797065223b693a3634303b733a363a22616363657373223b623a313b733a363a22776569676874223b693a303b733a333a22706964223b733a313a2237223b7d693a2d333b613a363a7b733a343a2270617468223b733a31373a2261646d696e2f66696c746572732f616464223b733a353a227469746c65223b733a31363a2261646420696e70757420666f726d6174223b733a343a2274797065223b693a3132383b733a363a22776569676874223b693a313b733a363a22616363657373223b623a313b733a333a22706964223b733a313a2237223b7d693a2d343b613a363a7b733a343a2270617468223b733a32303a2261646d696e2f66696c746572732f64656c657465223b733a353a227469746c65223b733a31393a2264656c65746520696e70757420666f726d6174223b733a343a2274797065223b693a343b733a363a22616363657373223b623a313b733a363a22776569676874223b693a303b733a333a22706964223b733a313a2237223b7d693a2d373b613a353a7b733a343a2270617468223b733a31393a2261646d696e2f6e6f64652f6f76657276696577223b733a353a227469746c65223b733a343a226c697374223b733a343a2274797065223b693a3634303b733a363a22776569676874223b693a2d31303b733a333a22706964223b733a313a2238223b7d693a2d383b613a363a7b733a343a2270617468223b733a31373a2261646d696e2f6e6f64652f736561726368223b733a353a227469746c65223b733a363a22736561726368223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3132383b733a363a22776569676874223b693a303b733a333a22706964223b733a313a2238223b7d693a2d31333b613a363a7b733a343a2270617468223b733a373a227273732e786d6c223b733a353a227469746c65223b733a383a227273732066656564223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b693a313b7d693a2d31343b613a363a7b733a343a2270617468223b733a31323a2273797374656d2f66696c6573223b733a353a227469746c65223b733a31333a2266696c6520646f776e6c6f6164223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b693a313b7d693a2d31353b613a353a7b733a343a2270617468223b733a31313a2273797374656d2f74657374223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b693a313b7d693a2d31383b613a363a7b733a343a2270617468223b733a31393a2261646d696e2f7468656d65732f73656c656374223b733a353a227469746c65223b733a343a226c697374223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3634303b733a363a22776569676874223b693a2d313b733a333a22706964223b733a323a223130223b7d693a2d31393b613a373a7b733a343a2270617468223b733a32313a2261646d696e2f7468656d65732f73657474696e6773223b733a353a227469746c65223b733a393a22636f6e666967757265223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3132383b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223130223b733a383a226368696c6472656e223b613a333a7b693a303b693a2d32303b693a313b693a2d32313b693a323b693a2d32323b7d7d693a2d32303b613a363a7b733a343a2270617468223b733a32383a2261646d696e2f7468656d65732f73657474696e67732f676c6f62616c223b733a353a227469746c65223b733a31353a22676c6f62616c2073657474696e6773223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3634303b733a363a22776569676874223b693a2d313b733a333a22706964223b693a2d31393b7d693a2d32313b613a363a7b733a343a2270617468223b733a33323a2261646d696e2f7468656d65732f73657474696e67732f70757368627574746f6e223b733a353a227469746c65223b733a31303a2270757368627574746f6e223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3132383b733a363a22776569676874223b693a303b733a333a22706964223b693a2d31393b7d693a2d32323b613a363a7b733a343a2270617468223b733a33343a2261646d696e2f7468656d65732f73657474696e67732f626f785f677265795f646576223b733a353a227469746c65223b733a31323a22626f785f677265795f646576223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3132383b733a363a22776569676874223b693a303b733a333a22706964223b693a2d31393b7d693a2d33323b613a373a7b733a343a2270617468223b733a343a2275736572223b733a353a227469746c65223b733a31323a2275736572206163636f756e74223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b693a313b733a383a226368696c6472656e223b613a373a7b693a303b693a2d33333b693a313b693a2d33343b693a323b693a2d33353b693a333b693a2d33363b693a343b693a2d33373b693a353b693a2d33383b693a363b693a2d35343b7d7d693a2d33333b613a363a7b733a343a2270617468223b733a31373a22757365722f6175746f636f6d706c657465223b733a353a227469746c65223b733a31373a2275736572206175746f636f6d706c657465223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b693a2d33323b7d693a2d33343b613a353a7b733a343a2270617468223b733a31303a22757365722f6c6f67696e223b733a353a227469746c65223b733a363a226c6f6720696e223b733a343a2274797065223b693a3634303b733a363a22776569676874223b693a303b733a333a22706964223b693a2d33323b7d693a2d33353b613a363a7b733a343a2270617468223b733a31333a22757365722f7265676973746572223b733a353a227469746c65223b733a383a227265676973746572223b733a363a22616363657373223b623a303b733a343a2274797065223b693a3132383b733a363a22776569676874223b693a303b733a333a22706964223b693a2d33323b7d693a2d33363b613a363a7b733a343a2270617468223b733a31333a22757365722f70617373776f7264223b733a353a227469746c65223b733a32303a2272657175657374206e65772070617373776f7264223b733a363a22616363657373223b623a303b733a343a2274797065223b693a3132383b733a363a22776569676874223b693a303b733a333a22706964223b693a2d33323b7d693a2d33373b613a363a7b733a343a2270617468223b733a31303a22757365722f7265736574223b733a353a227469746c65223b733a31343a2272657365742070617373776f7264223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b693a2d33323b7d693a2d33383b613a353a7b733a343a2270617468223b733a393a22757365722f68656c70223b733a353a227469746c65223b733a343a2268656c70223b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b693a2d33323b7d693a2d34303b613a353a7b733a343a2270617468223b733a31353a2261646d696e2f757365722f6c697374223b733a353a227469746c65223b733a343a226c697374223b733a343a2274797065223b693a3634303b733a363a22776569676874223b693a2d31303b733a333a22706964223b733a323a223133223b7d693a2d34313b613a363a7b733a343a2270617468223b733a31373a2261646d696e2f757365722f637265617465223b733a353a227469746c65223b733a383a226164642075736572223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3132383b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223133223b7d693a2d34343b613a363a7b733a343a2270617468223b733a32343a2261646d696e2f6163636573732f7065726d697373696f6e73223b733a353a227469746c65223b733a31313a227065726d697373696f6e73223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3634303b733a363a22776569676874223b693a2d31303b733a333a22706964223b733a323a223134223b7d693a2d34353b613a373a7b733a343a2270617468223b733a31383a2261646d696e2f6163636573732f726f6c6573223b733a353a227469746c65223b733a353a22726f6c6573223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3132383b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223134223b733a383a226368696c6472656e223b613a313a7b693a303b693a2d34363b7d7d693a2d34363b613a363a7b733a343a2270617468223b733a32333a2261646d696e2f6163636573732f726f6c65732f65646974223b733a353a227469746c65223b733a393a226564697420726f6c65223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b693a2d34353b7d693a2d34373b613a373a7b733a343a2270617468223b733a31383a2261646d696e2f6163636573732f72756c6573223b733a353a227469746c65223b733a31323a226163636573732072756c6573223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3132383b733a363a22776569676874223b693a31303b733a333a22706964223b733a323a223134223b733a383a226368696c6472656e223b613a353a7b693a303b693a2d34383b693a313b693a2d34393b693a323b693a2d35303b693a333b693a2d35313b693a343b693a2d35323b7d7d693a2d34383b613a363a7b733a343a2270617468223b733a32333a2261646d696e2f6163636573732f72756c65732f6c697374223b733a353a227469746c65223b733a343a226c697374223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3634303b733a363a22776569676874223b693a2d31303b733a333a22706964223b693a2d34373b7d693a2d34393b613a363a7b733a343a2270617468223b733a32323a2261646d696e2f6163636573732f72756c65732f616464223b733a353a227469746c65223b733a383a226164642072756c65223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3132383b733a363a22776569676874223b693a303b733a333a22706964223b693a2d34373b7d693a2d35303b613a363a7b733a343a2270617468223b733a32343a2261646d696e2f6163636573732f72756c65732f636865636b223b733a353a227469746c65223b733a31313a22636865636b2072756c6573223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3132383b733a363a22776569676874223b693a303b733a333a22706964223b693a2d34373b7d693a2d35313b613a363a7b733a343a2270617468223b733a32333a2261646d696e2f6163636573732f72756c65732f65646974223b733a353a227469746c65223b733a393a22656469742072756c65223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b693a2d34373b7d693a2d35323b613a363a7b733a343a2270617468223b733a32353a2261646d696e2f6163636573732f72756c65732f64656c657465223b733a353a227469746c65223b733a31313a2264656c6574652072756c65223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b693a2d34373b7d693a2d35333b613a363a7b733a343a2270617468223b733a31373a2261646d696e2f757365722f736561726368223b733a353a227469746c65223b733a363a22736561726368223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3132383b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223133223b7d693a2d35343b613a363a7b733a343a2270617468223b733a363a22757365722f31223b733a353a227469746c65223b733a31303a226d79206163636f756e74223b733a363a22616363657373223b623a313b733a343a2274797065223b693a363b733a363a22776569676874223b693a303b733a333a22706964223b693a2d33323b7d693a2d35373b613a353a7b733a343a2270617468223b733a31363a2261646d696e2f6c6f67732f6576656e74223b733a353a227469746c65223b733a373a2264657461696c73223b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223135223b7d693a2d35393b613a363a7b733a343a2270617468223b733a32353a2261646d696e2f61676772656761746f722f6164642f66656564223b733a353a227469746c65223b733a383a226164642066656564223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3132383b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223332223b7d693a2d36303b613a363a7b733a343a2270617468223b733a32393a2261646d696e2f61676772656761746f722f6164642f63617465676f7279223b733a353a227469746c65223b733a31323a226164642063617465676f7279223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3132383b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223332223b7d693a2d36313b613a363a7b733a343a2270617468223b733a32333a2261646d696e2f61676772656761746f722f72656d6f7665223b733a353a227469746c65223b733a31323a2272656d6f7665206974656d73223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223332223b7d693a2d36323b613a363a7b733a343a2270617468223b733a32333a2261646d696e2f61676772656761746f722f757064617465223b733a353a227469746c65223b733a31323a22757064617465206974656d73223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223332223b7d693a2d36333b613a353a7b733a343a2270617468223b733a32313a2261646d696e2f61676772656761746f722f6c697374223b733a353a227469746c65223b733a343a226c697374223b733a343a2274797065223b693a3634303b733a363a22776569676874223b693a2d31303b733a333a22706964223b733a323a223332223b7d693a2d36373b613a363a7b733a343a2270617468223b733a31343a2261676772656761746f722f727373223b733a353a227469746c65223b733a383a225253532066656564223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223333223b7d693a2d36383b613a363a7b733a343a2270617468223b733a31353a2261676772656761746f722f6f706d6c223b733a353a227469746c65223b733a393a224f504d4c2066656564223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223333223b7d693a2d37313b613a363a7b733a343a2270617468223b733a31363a2261646d696e2f626c6f636b2f6c697374223b733a353a227469746c65223b733a343a226c697374223b733a343a2274797065223b693a3634303b733a363a22776569676874223b693a2d31303b733a333a22706964223b733a323a223136223b733a383a226368696c6472656e223b613a323a7b693a303b693a2d37353b693a313b693a2d37363b7d7d693a2d37323b613a363a7b733a343a2270617468223b733a32313a2261646d696e2f626c6f636b2f636f6e666967757265223b733a353a227469746c65223b733a31353a22636f6e66696775726520626c6f636b223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223136223b7d693a2d37333b613a363a7b733a343a2270617468223b733a31383a2261646d696e2f626c6f636b2f64656c657465223b733a353a227469746c65223b733a31323a2264656c65746520626c6f636b223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223136223b7d693a2d37343b613a363a7b733a343a2270617468223b733a31353a2261646d696e2f626c6f636b2f616464223b733a353a227469746c65223b733a393a2261646420626c6f636b223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3132383b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223136223b7d693a2d37353b613a363a7b733a343a2270617468223b733a32373a2261646d696e2f626c6f636b2f6c6973742f70757368627574746f6e223b733a353a227469746c65223b733a31393a2270757368627574746f6e2073657474696e6773223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3132383b733a363a22776569676874223b693a303b733a333a22706964223b693a2d37313b7d693a2d37363b613a363a7b733a343a2270617468223b733a32393a2261646d696e2f626c6f636b2f6c6973742f626f785f677265795f646576223b733a353a227469746c65223b733a32313a22626f785f677265795f6465762073657474696e6773223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3634303b733a363a22776569676874223b693a2d31303b733a333a22706964223b693a2d37313b7d693a2d37393b613a363a7b733a343a2270617468223b733a363a22626c6f672f31223b733a353a227469746c65223b733a373a226d7920626c6f67223b733a363a22616363657373223b623a313b733a343a2274797065223b693a363b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223336223b7d693a2d38323b613a373a7b733a343a2270617468223b733a31353a2261646d696e2f6e6f64652f626f6f6b223b733a353a227469746c65223b733a353a22626f6f6b73223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3132383b733a363a22776569676874223b693a2d313b733a333a22706964223b733a313a2238223b733a383a226368696c6472656e223b613a323a7b693a303b693a2d38333b693a313b693a2d38343b7d7d693a2d38333b613a353a7b733a343a2270617468223b733a32303a2261646d696e2f6e6f64652f626f6f6b2f6c697374223b733a353a227469746c65223b733a343a226c697374223b733a343a2274797065223b693a3634303b733a363a22776569676874223b693a303b733a333a22706964223b693a2d38323b7d693a2d38343b613a353a7b733a343a2270617468223b733a32323a2261646d696e2f6e6f64652f626f6f6b2f6f727068616e223b733a353a227469746c65223b733a31323a226f727068616e207061676573223b733a343a2274797065223b693a3132383b733a363a22776569676874223b693a383b733a333a22706964223b693a2d38323b7d693a2d38363b613a353a7b733a343a2270617468223b733a31313a22626f6f6b2f6578706f7274223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223338223b7d693a2d38383b613a363a7b733a343a2270617468223b733a31383a2261646d696e2f636f6d6d656e742f6c697374223b733a353a227469746c65223b733a343a226c697374223b733a343a2274797065223b693a3634303b733a363a22776569676874223b693a2d31303b733a333a22706964223b733a323a223137223b733a383a226368696c6472656e223b613a323a7b693a303b693a2d39303b693a313b693a2d39313b7d7d693a2d38393b613a373a7b733a343a2270617468223b733a32333a2261646d696e2f636f6d6d656e742f636f6e666967757265223b733a353a227469746c65223b733a393a22636f6e666967757265223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3132383b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223137223b733a383a226368696c6472656e223b613a313a7b693a303b693a2d39323b7d7d693a2d39303b613a353a7b733a343a2270617468223b733a32323a2261646d696e2f636f6d6d656e742f6c6973742f6e6577223b733a353a227469746c65223b733a31383a227075626c697368656420636f6d6d656e7473223b733a343a2274797065223b693a3634303b733a363a22776569676874223b693a2d31303b733a333a22706964223b693a2d38383b7d693a2d39313b613a363a7b733a343a2270617468223b733a32373a2261646d696e2f636f6d6d656e742f6c6973742f617070726f76616c223b733a353a227469746c65223b733a31343a22617070726f76616c207175657565223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3132383b733a363a22776569676874223b693a303b733a333a22706964223b693a2d38383b7d693a2d39323b613a353a7b733a343a2270617468223b733a33323a2261646d696e2f636f6d6d656e742f636f6e6669677572652f73657474696e6773223b733a353a227469746c65223b733a383a2273657474696e6773223b733a343a2274797065223b693a3634303b733a363a22776569676874223b693a2d31303b733a333a22706964223b693a2d38393b7d693a2d39333b613a363a7b733a343a2270617468223b733a31343a22636f6d6d656e742f64656c657465223b733a353a227469746c65223b733a31343a2264656c65746520636f6d6d656e74223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b693a313b7d693a2d39343b613a363a7b733a343a2270617468223b733a31323a22636f6d6d656e742f65646974223b733a353a227469746c65223b733a31323a226564697420636f6d6d656e74223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b693a313b7d693a2d39353b613a363a7b733a343a2270617468223b733a31343a22666c6578696e6f64652f6c697374223b733a353a227469746c65223b733a393a226c6973742076696577223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b693a313b7d693a2d39363b613a363a7b733a343a2270617468223b733a31353a22666c6578696e6f64652f7461626c65223b733a353a227469746c65223b733a31323a22746162756c61722076696577223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b693a313b7d693a2d39373b613a363a7b733a343a2270617468223b733a31343a22666c6578696e6f64652f66656564223b733a353a227469746c65223b733a383a227273732066656564223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b693a313b7d693a2d39383b613a363a7b733a343a2270617468223b733a31363a2261646d696e2f6e6f64652f7479706573223b733a353a227469746c65223b733a31333a22636f6e74656e74207479706573223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3132383b733a363a22776569676874223b693a303b733a333a22706964223b733a313a2238223b7d693a2d39393b613a373a7b733a343a2270617468223b733a31353a2261646d696e2f6e6f64652f74797065223b733a353a227469746c65223b733a31363a2261646420636f6e74656e742074797065223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3132383b733a363a22776569676874223b693a303b733a333a22706964223b733a313a2238223b733a383a226368696c6472656e223b613a313a7b693a303b693a2d3130303b7d7d693a2d3130303b613a363a7b733a343a2270617468223b733a32323a2261646d696e2f6e6f64652f747970652f64656c657465223b733a353a227469746c65223b733a31393a2264656c65746520636f6e74656e742074797065223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b693a2d39393b7d693a2d3130313b613a363a7b733a343a2270617468223b733a31363a2261646d696e2f6e6f64652f6669656c64223b733a353a227469746c65223b733a31313a2265646974206669656c6473223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b733a313a2238223b7d693a2d3130323b613a363a7b733a343a2270617468223b733a31363a22666c6578696e6f64652f757064617465223b733a353a227469746c65223b733a363a22757064617465223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b693a313b7d693a2d3130363b613a363a7b733a343a2270617468223b733a31363a2261646d696e2f666f72756d2f6c697374223b733a353a227469746c65223b733a343a226c697374223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3634303b733a363a22776569676874223b693a2d31303b733a333a22706964223b733a323a223532223b7d693a2d3130373b613a363a7b733a343a2270617468223b733a32353a2261646d696e2f666f72756d2f6164642f636f6e7461696e6572223b733a353a227469746c65223b733a31333a2261646420636f6e7461696e6572223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3132383b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223532223b7d693a2d3130383b613a363a7b733a343a2270617468223b733a32313a2261646d696e2f666f72756d2f6164642f666f72756d223b733a353a227469746c65223b733a393a2261646420666f72756d223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3132383b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223532223b7d693a2d3130393b613a363a7b733a343a2270617468223b733a32313a2261646d696e2f666f72756d2f636f6e666967757265223b733a353a227469746c65223b733a393a22636f6e666967757265223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3132383b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223532223b7d693a2d3131313b613a363a7b733a343a2270617468223b733a31383a2261646d696e2f68656c702f616473656e7365223b733a353a227469746c65223b733a373a22616473656e7365223b733a343a2274797065223b693a343b733a363a22616363657373223b623a313b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223138223b7d693a2d3131323b613a363a7b733a343a2270617468223b733a32313a2261646d696e2f68656c702f61676772656761746f72223b733a353a227469746c65223b733a31303a2261676772656761746f72223b733a343a2274797065223b693a343b733a363a22616363657373223b623a313b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223138223b7d693a2d3131333b613a363a7b733a343a2270617468223b733a31383a2261646d696e2f68656c702f61726368697665223b733a353a227469746c65223b733a373a2261726368697665223b733a343a2274797065223b693a343b733a363a22616363657373223b623a313b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223138223b7d693a2d3131343b613a363a7b733a343a2270617468223b733a31363a2261646d696e2f68656c702f626c6f636b223b733a353a227469746c65223b733a353a22626c6f636b223b733a343a2274797065223b693a343b733a363a22616363657373223b623a313b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223138223b7d693a2d3131353b613a363a7b733a343a2270617468223b733a31353a2261646d696e2f68656c702f626c6f67223b733a353a227469746c65223b733a343a22626c6f67223b733a343a2274797065223b693a343b733a363a22616363657373223b623a313b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223138223b7d693a2d3131363b613a363a7b733a343a2270617468223b733a31353a2261646d696e2f68656c702f626f6f6b223b733a353a227469746c65223b733a343a22626f6f6b223b733a343a2274797065223b693a343b733a363a22616363657373223b623a313b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223138223b7d693a2d3131373b613a363a7b733a343a2270617468223b733a31383a2261646d696e2f68656c702f636f6d6d656e74223b733a353a227469746c65223b733a373a22636f6d6d656e74223b733a343a2274797065223b693a343b733a363a22616363657373223b623a313b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223138223b7d693a2d3131383b613a363a7b733a343a2270617468223b733a31373a2261646d696e2f68656c702f66696c746572223b733a353a227469746c65223b733a363a2266696c746572223b733a343a2274797065223b693a343b733a363a22616363657373223b623a313b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223138223b7d693a2d3131393b613a363a7b733a343a2270617468223b733a32303a2261646d696e2f68656c702f666c6578696e6f6465223b733a353a227469746c65223b733a393a22666c6578696e6f6465223b733a343a2274797065223b693a343b733a363a22616363657373223b623a313b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223138223b7d693a2d3132303b613a363a7b733a343a2270617468223b733a31363a2261646d696e2f68656c702f666f72756d223b733a353a227469746c65223b733a353a22666f72756d223b733a343a2274797065223b693a343b733a363a22616363657373223b623a313b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223138223b7d693a2d3132313b613a363a7b733a343a2270617468223b733a31353a2261646d696e2f68656c702f68656c70223b733a353a227469746c65223b733a343a2268656c70223b733a343a2274797065223b693a343b733a363a22616363657373223b623a313b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223138223b7d693a2d3132323b613a363a7b733a343a2270617468223b733a31353a2261646d696e2f68656c702f6d656e75223b733a353a227469746c65223b733a343a226d656e75223b733a343a2274797065223b693a343b733a363a22616363657373223b623a313b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223138223b7d693a2d3132333b613a363a7b733a343a2270617468223b733a31353a2261646d696e2f68656c702f6e6f6465223b733a353a227469746c65223b733a343a226e6f6465223b733a343a2274797065223b693a343b733a363a22616363657373223b623a313b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223138223b7d693a2d3132343b613a363a7b733a343a2270617468223b733a31353a2261646d696e2f68656c702f70616765223b733a353a227469746c65223b733a343a2270616765223b733a343a2274797065223b693a343b733a363a22616363657373223b623a313b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223138223b7d693a2d3132353b613a363a7b733a343a2270617468223b733a31353a2261646d696e2f68656c702f706f6c6c223b733a353a227469746c65223b733a343a22706f6c6c223b733a343a2274797065223b693a343b733a363a22616363657373223b623a313b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223138223b7d693a2d3132363b613a363a7b733a343a2270617468223b733a32333a2261646d696e2f68656c702f706f6f726d616e7363726f6e223b733a353a227469746c65223b733a31323a22706f6f726d616e7363726f6e223b733a343a2274797065223b693a343b733a363a22616363657373223b623a313b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223138223b7d693a2d3132373b613a363a7b733a343a2270617468223b733a31373a2261646d696e2f68656c702f736561726368223b733a353a227469746c65223b733a363a22736561726368223b733a343a2274797065223b693a343b733a363a22616363657373223b623a313b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223138223b7d693a2d3132383b613a363a7b733a343a2270617468223b733a31363a2261646d696e2f68656c702f73746f7279223b733a353a227469746c65223b733a353a2273746f7279223b733a343a2274797065223b693a343b733a363a22616363657373223b623a313b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223138223b7d693a2d3132393b613a363a7b733a343a2270617468223b733a31373a2261646d696e2f68656c702f73797374656d223b733a353a227469746c65223b733a363a2273797374656d223b733a343a2274797065223b693a343b733a363a22616363657373223b623a313b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223138223b7d693a2d3133303b613a363a7b733a343a2270617468223b733a31393a2261646d696e2f68656c702f7461786f6e6f6d79223b733a353a227469746c65223b733a383a227461786f6e6f6d79223b733a343a2274797065223b693a343b733a363a22616363657373223b623a313b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223138223b7d693a2d3133313b613a363a7b733a343a2270617468223b733a32353a2261646d696e2f68656c702f7461786f6e6f6d795f626c6f636b223b733a353a227469746c65223b733a31343a227461786f6e6f6d795f626c6f636b223b733a343a2274797065223b693a343b733a363a22616363657373223b623a313b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223138223b7d693a2d3133323b613a363a7b733a343a2270617468223b733a31393a2261646d696e2f68656c702f7468726f74746c65223b733a353a227469746c65223b733a383a227468726f74746c65223b733a343a2274797065223b693a343b733a363a22616363657373223b623a313b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223138223b7d693a2d3133333b613a363a7b733a343a2270617468223b733a31373a2261646d696e2f68656c702f75706c6f6164223b733a353a227469746c65223b733a363a2275706c6f6164223b733a343a2274797065223b693a343b733a363a22616363657373223b623a313b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223138223b7d693a2d3133343b613a363a7b733a343a2270617468223b733a31353a2261646d696e2f68656c702f75736572223b733a353a227469746c65223b733a343a2275736572223b733a343a2274797065223b693a343b733a363a22616363657373223b623a313b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223138223b7d693a2d3133353b613a363a7b733a343a2270617468223b733a31393a2261646d696e2f68656c702f7761746368646f67223b733a353a227469746c65223b733a383a227761746368646f67223b733a343a2274797065223b693a343b733a363a22616363657373223b623a313b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223138223b7d693a2d3133373b613a353a7b733a343a2270617468223b733a31353a2261646d696e2f6d656e752f6c697374223b733a353a227469746c65223b733a343a226c697374223b733a343a2274797065223b693a3634303b733a363a22776569676874223b693a2d31303b733a333a22706964223b733a323a223139223b7d693a2d3133383b613a363a7b733a343a2270617468223b733a31393a2261646d696e2f6d656e752f6974656d2f616464223b733a353a227469746c65223b733a31333a22616464206d656e75206974656d223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3132383b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223139223b7d693a2d3133393b613a363a7b733a343a2270617468223b733a32303a2261646d696e2f6d656e752f6974656d2f65646974223b733a353a227469746c65223b733a31343a2265646974206d656e75206974656d223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223139223b7d693a2d3134303b613a363a7b733a343a2270617468223b733a32313a2261646d696e2f6d656e752f6974656d2f7265736574223b733a353a227469746c65223b733a31353a227265736574206d656e75206974656d223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223139223b7d693a2d3134313b613a363a7b733a343a2270617468223b733a32333a2261646d696e2f6d656e752f6974656d2f64697361626c65223b733a353a227469746c65223b733a31373a2264697361626c65206d656e75206974656d223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223139223b7d693a2d3134323b613a363a7b733a343a2270617468223b733a32323a2261646d696e2f6d656e752f6974656d2f64656c657465223b733a353a227469746c65223b733a31363a2264656c657465206d656e75206974656d223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223139223b7d693a2d3134333b613a363a7b733a343a2270617468223b733a31393a2261646d696e2f6d656e752f6d656e752f616464223b733a353a227469746c65223b733a383a22616464206d656e75223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3132383b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223139223b7d693a2d3134343b613a363a7b733a343a2270617468223b733a32303a2261646d696e2f6d656e752f6d656e752f65646974223b733a353a227469746c65223b733a393a2265646974206d656e75223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223139223b7d693a2d3134353b613a363a7b733a343a2270617468223b733a32323a2261646d696e2f6d656e752f6d656e752f64656c657465223b733a353a227469746c65223b733a31313a2264656c657465206d656e75223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223139223b7d693a2d3135303b613a363a7b733a343a2270617468223b733a393a22706f6c6c2f766f7465223b733a353a227469746c65223b733a343a22766f7465223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223430223b7d693a2d3135323b613a363a7b733a343a2270617468223b733a32363a2261646d696e2f73657474696e67732f7365617263682f77697065223b733a353a227469746c65223b733a31313a22436c65617220696e646578223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223330223b7d693a2d3135353b613a353a7b733a343a2270617468223b733a31393a2261646d696e2f7461786f6e6f6d792f6c697374223b733a353a227469746c65223b733a343a226c697374223b733a343a2274797065223b693a3634303b733a363a22776569676874223b693a2d31303b733a333a22706964223b733a323a223230223b7d693a2d3135363b613a363a7b733a343a2270617468223b733a32393a2261646d696e2f7461786f6e6f6d792f6164642f766f636162756c617279223b733a353a227469746c65223b733a31343a2261646420766f636162756c617279223b733a363a22616363657373223b623a313b733a343a2274797065223b693a3132383b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223230223b7d693a2d3135373b613a363a7b733a343a2270617468223b733a33303a2261646d696e2f7461786f6e6f6d792f656469742f766f636162756c617279223b733a353a227469746c65223b733a31353a226564697420766f636162756c617279223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223230223b7d693a2d3135383b613a363a7b733a343a2270617468223b733a32343a2261646d696e2f7461786f6e6f6d792f656469742f7465726d223b733a353a227469746c65223b733a393a2265646974207465726d223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223230223b7d693a2d3135393b613a363a7b733a343a2270617468223b733a31333a227461786f6e6f6d792f7465726d223b733a353a227469746c65223b733a31333a227461786f6e6f6d79207465726d223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b693a313b7d693a2d3136303b613a363a7b733a343a2270617468223b733a32313a227461786f6e6f6d792f6175746f636f6d706c657465223b733a353a227469746c65223b733a32313a226175746f636f6d706c657465207461786f6e6f6d79223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b693a313b7d693a2d3136323b613a363a7b733a343a2270617468223b733a33313a2261646d696e2f626c6f636b2f7461786f6e6f6d795f626c6f636b2f65646974223b733a353a227469746c65223b733a31393a2265646974207461786f6e6f6d7920626c6f636b223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223534223b7d693a2d3136333b613a353a7b733a343a2270617468223b733a393a2275706c6f61642f6a73223b733a363a22616363657373223b623a313b733a343a2274797065223b693a343b733a363a22776569676874223b693a303b733a333a22706964223b693a313b7d693a323b613a363a7b733a343a2270617468223b733a303a22223b733a353a227469746c65223b733a31333a225072696d617279206c696e6b73223b733a31313a226465736372697074696f6e223b733a303a22223b733a333a22706964223b733a313a2230223b733a363a22776569676874223b733a313a2230223b733a343a2274797065223b733a333a22313135223b7d693a333b613a363a7b733a343a2270617468223b733a31313a2266696c7465722f74697073223b733a353a227469746c65223b733a31323a22636f6d706f73652074697073223b733a363a22616363657373223b623a313b733a343a2274797065223b693a31363b733a363a22776569676874223b693a303b733a333a22706964223b693a313b7d693a343b613a373a7b733a343a2270617468223b733a343a226e6f6465223b733a353a227469746c65223b733a373a22636f6e74656e74223b733a363a22616363657373223b623a313b733a343a2274797065223b693a31363b733a363a22776569676874223b693a303b733a333a22706964223b693a313b733a383a226368696c6472656e223b613a313a7b693a303b693a393b7d7d693a353b613a373a7b733a343a2270617468223b733a353a2261646d696e223b733a353a227469746c65223b733a31303a2261646d696e6973746572223b733a363a22616363657373223b623a313b733a363a22776569676874223b693a393b733a343a2274797065223b693a32323b733a333a22706964223b693a313b733a383a226368696c6472656e223b613a31353a7b693a303b693a373b693a313b693a383b693a323b693a31303b693a333b693a31313b693a343b693a31323b693a353b693a31333b693a363b693a31343b693a373b693a31353b693a383b693a31363b693a393b693a31373b693a31303b693a31383b693a31313b693a31393b693a31323b693a32303b693a31333b693a33323b693a31343b693a35323b7d7d693a363b613a363a7b733a343a2270617468223b733a363a226c6f676f7574223b733a353a227469746c65223b733a373a226c6f67206f7574223b733a363a22616363657373223b623a313b733a363a22776569676874223b693a31303b733a343a2274797065223b693a32323b733a333a22706964223b693a313b7d693a373b613a373a7b733a343a2270617468223b733a31333a2261646d696e2f66696c74657273223b733a353a227469746c65223b733a31333a22696e70757420666f726d617473223b733a363a22616363657373223b623a313b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a383a226368696c6472656e223b613a333a7b693a303b693a2d323b693a313b693a2d333b693a323b693a2d343b7d733a333a22706964223b733a313a2235223b7d693a383b613a373a7b733a343a2270617468223b733a31303a2261646d696e2f6e6f6465223b733a353a227469746c65223b733a373a22636f6e74656e74223b733a363a22616363657373223b623a313b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a383a226368696c6472656e223b613a363a7b693a303b693a2d373b693a313b693a2d383b693a323b693a2d38323b693a333b693a2d39383b693a343b693a2d39393b693a353b693a2d3130313b7d733a333a22706964223b733a313a2235223b7d693a393b613a373a7b733a343a2270617468223b733a383a226e6f64652f616464223b733a353a227469746c65223b733a31343a2263726561746520636f6e74656e74223b733a363a22616363657373223b623a313b733a343a2274797065223b693a32383b733a363a22776569676874223b693a313b733a333a22706964223b733a313a2234223b733a383a226368696c6472656e223b613a363a7b693a303b693a32353b693a313b693a32363b693a323b693a33353b693a333b693a33373b693a343b693a33393b693a353b693a35303b7d7d693a31303b613a373a7b733a343a2270617468223b733a31323a2261646d696e2f7468656d6573223b733a353a227469746c65223b733a363a227468656d6573223b733a363a22616363657373223b623a313b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a383a226368696c6472656e223b613a323a7b693a303b693a2d31383b693a313b693a2d31393b7d733a333a22706964223b733a313a2235223b7d693a31313b613a373a7b733a343a2270617468223b733a31343a2261646d696e2f73657474696e6773223b733a353a227469746c65223b733a383a2273657474696e6773223b733a363a22616363657373223b623a313b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a333a22706964223b733a313a2235223b733a383a226368696c6472656e223b613a31313a7b693a303b693a32313b693a313b693a32323b693a323b693a32333b693a333b693a32343b693a343b693a32373b693a353b693a32393b693a363b693a33303b693a373b693a33313b693a383b693a34373b693a393b693a34383b693a31303b693a35333b7d7d693a31323b613a363a7b733a343a2270617468223b733a31333a2261646d696e2f6d6f64756c6573223b733a353a227469746c65223b733a373a226d6f64756c6573223b733a363a22616363657373223b623a313b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a333a22706964223b733a313a2235223b7d693a31333b613a373a7b733a343a2270617468223b733a31303a2261646d696e2f75736572223b733a353a227469746c65223b733a353a227573657273223b733a363a22616363657373223b623a313b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a383a226368696c6472656e223b613a333a7b693a303b693a2d34303b693a313b693a2d34313b693a323b693a2d35333b7d733a333a22706964223b733a313a2235223b7d693a31343b613a373a7b733a343a2270617468223b733a31323a2261646d696e2f616363657373223b733a353a227469746c65223b733a31343a2261636365737320636f6e74726f6c223b733a363a22616363657373223b623a313b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a383a226368696c6472656e223b613a333a7b693a303b693a2d34343b693a313b693a2d34353b693a323b693a2d34373b7d733a333a22706964223b733a313a2235223b7d693a31353b613a363a7b733a343a2270617468223b733a31303a2261646d696e2f6c6f6773223b733a353a227469746c65223b733a343a226c6f6773223b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a383a226368696c6472656e223b613a313a7b693a303b693a2d35373b7d733a333a22706964223b733a313a2235223b7d693a31363b613a373a7b733a343a2270617468223b733a31313a2261646d696e2f626c6f636b223b733a353a227469746c65223b733a363a22626c6f636b73223b733a363a22616363657373223b623a313b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a383a226368696c6472656e223b613a353a7b693a303b693a2d37313b693a313b693a2d37323b693a323b693a2d37333b693a333b693a2d37343b693a343b693a35343b7d733a333a22706964223b733a313a2235223b7d693a31373b613a373a7b733a343a2270617468223b733a31333a2261646d696e2f636f6d6d656e74223b733a353a227469746c65223b733a383a22636f6d6d656e7473223b733a363a22616363657373223b623a313b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a383a226368696c6472656e223b613a323a7b693a303b693a2d38383b693a313b693a2d38393b7d733a333a22706964223b733a313a2235223b7d693a31383b613a373a7b733a343a2270617468223b733a31303a2261646d696e2f68656c70223b733a353a227469746c65223b733a343a2268656c70223b733a363a22616363657373223b623a313b733a363a22776569676874223b693a393b733a343a2274797065223b693a32323b733a383a226368696c6472656e223b613a32353a7b693a303b693a2d3131313b693a313b693a2d3131323b693a323b693a2d3131333b693a333b693a2d3131343b693a343b693a2d3131353b693a353b693a2d3131363b693a363b693a2d3131373b693a373b693a2d3131383b693a383b693a2d3131393b693a393b693a2d3132303b693a31303b693a2d3132313b693a31313b693a2d3132323b693a31323b693a2d3132333b693a31333b693a2d3132343b693a31343b693a2d3132353b693a31353b693a2d3132363b693a31363b693a2d3132373b693a31373b693a2d3132383b693a31383b693a2d3132393b693a31393b693a2d3133303b693a32303b693a2d3133313b693a32313b693a2d3133323b693a32323b693a2d3133333b693a32333b693a2d3133343b693a32343b693a2d3133353b7d733a333a22706964223b733a313a2235223b7d693a31393b613a373a7b733a343a2270617468223b733a31303a2261646d696e2f6d656e75223b733a353a227469746c65223b733a353a226d656e7573223b733a363a22616363657373223b623a313b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a383a226368696c6472656e223b613a393a7b693a303b693a2d3133373b693a313b693a2d3133383b693a323b693a2d3133393b693a333b693a2d3134303b693a343b693a2d3134313b693a353b693a2d3134323b693a363b693a2d3134333b693a373b693a2d3134343b693a383b693a2d3134353b7d733a333a22706964223b733a313a2235223b7d693a32303b613a373a7b733a343a2270617468223b733a31343a2261646d696e2f7461786f6e6f6d79223b733a353a227469746c65223b733a31303a2263617465676f72696573223b733a363a22616363657373223b623a313b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a383a226368696c6472656e223b613a343a7b693a303b693a2d3135353b693a313b693a2d3135363b693a323b693a2d3135373b693a333b693a2d3135383b7d733a333a22706964223b733a313a2235223b7d693a32313b613a363a7b733a343a2270617468223b733a31393a2261646d696e2f73657474696e67732f6e6f6465223b733a353a227469746c65223b733a353a22706f737473223b733a363a22616363657373223b623a313b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223131223b7d693a32323b613a363a7b733a343a2270617468223b733a32383a2261646d696e2f73657474696e67732f636f6e74656e742d7479706573223b733a353a227469746c65223b733a31333a22636f6e74656e74207479706573223b733a363a22616363657373223b623a313b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223131223b7d693a32333b613a353a7b733a343a2270617468223b733a31393a2261646d696e2f73657474696e67732f75736572223b733a353a227469746c65223b733a353a227573657273223b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223131223b7d693a32343b613a353a7b733a343a2270617468223b733a31393a2261646d696e2f73657474696e67732f6d656e75223b733a353a227469746c65223b733a353a226d656e7573223b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223131223b7d693a32353b613a363a7b733a343a2270617468223b733a31333a226e6f64652f6164642f70616765223b733a353a227469746c65223b733a343a2270616765223b733a363a22616363657373223b623a313b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a333a22706964223b733a313a2239223b7d693a32363b613a363a7b733a343a2270617468223b733a31343a226e6f64652f6164642f73746f7279223b733a353a227469746c65223b733a353a2273746f7279223b733a363a22616363657373223b623a313b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a333a22706964223b733a313a2239223b7d693a32373b613a353a7b733a343a2270617468223b733a32343a2261646d696e2f73657474696e67732f666c6578696e6f6465223b733a353a227469746c65223b733a393a22666c6578696e6f6465223b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223131223b7d693a32393b613a353a7b733a343a2270617468223b733a32353a2261646d696e2f73657474696e67732f61676772656761746f72223b733a353a227469746c65223b733a31303a2261676772656761746f72223b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223131223b7d693a33303b613a363a7b733a343a2270617468223b733a32313a2261646d696e2f73657474696e67732f736561726368223b733a353a227469746c65223b733a363a22736561726368223b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a383a226368696c6472656e223b613a313a7b693a303b693a2d3135323b7d733a333a22706964223b733a323a223131223b7d693a33313b613a353a7b733a343a2270617468223b733a32313a2261646d696e2f73657474696e67732f75706c6f6164223b733a353a227469746c65223b733a363a2275706c6f6164223b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223131223b7d693a33323b613a373a7b733a343a2270617468223b733a31363a2261646d696e2f61676772656761746f72223b733a353a227469746c65223b733a31303a2261676772656761746f72223b733a363a22616363657373223b623a313b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a383a226368696c6472656e223b613a353a7b693a303b693a2d35393b693a313b693a2d36303b693a323b693a2d36313b693a333b693a2d36323b693a343b693a2d36333b7d733a333a22706964223b733a313a2235223b7d693a33333b613a373a7b733a343a2270617468223b733a31303a2261676772656761746f72223b733a353a227469746c65223b733a31353a226e6577732061676772656761746f72223b733a363a22616363657373223b623a313b733a363a22776569676874223b693a353b733a343a2274797065223b693a32323b733a383a226368696c6472656e223b613a343a7b693a303b693a2d36373b693a313b693a2d36383b693a323b693a34323b693a333b693a34333b7d733a333a22706964223b693a313b7d693a33343b613a363a7b733a343a2270617468223b733a373a2261726368697665223b733a353a227469746c65223b733a383a226172636869766573223b733a363a22616363657373223b623a313b733a343a2274797065223b693a31363b733a363a22776569676874223b693a303b733a333a22706964223b693a313b7d693a33353b613a363a7b733a343a2270617468223b733a31333a226e6f64652f6164642f626c6f67223b733a353a227469746c65223b733a31303a22626c6f6720656e747279223b733a363a22616363657373223b623a313b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a333a22706964223b733a313a2239223b7d693a33363b613a373a7b733a343a2270617468223b733a343a22626c6f67223b733a353a227469746c65223b733a353a22626c6f6773223b733a363a22616363657373223b623a313b733a343a2274797065223b693a31363b733a363a22776569676874223b693a303b733a383a226368696c6472656e223b613a313a7b693a303b693a2d37393b7d733a333a22706964223b693a313b7d693a33373b613a363a7b733a343a2270617468223b733a31333a226e6f64652f6164642f626f6f6b223b733a353a227469746c65223b733a393a22626f6f6b2070616765223b733a363a22616363657373223b623a313b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a333a22706964223b733a313a2239223b7d693a33383b613a373a7b733a343a2270617468223b733a343a22626f6f6b223b733a353a227469746c65223b733a353a22626f6f6b73223b733a363a22616363657373223b623a313b733a343a2274797065223b693a31363b733a363a22776569676874223b693a303b733a383a226368696c6472656e223b613a313a7b693a303b693a2d38363b7d733a333a22706964223b693a313b7d693a33393b613a363a7b733a343a2270617468223b733a31333a226e6f64652f6164642f706f6c6c223b733a353a227469746c65223b733a343a22706f6c6c223b733a363a22616363657373223b623a313b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a333a22706964223b733a313a2239223b7d693a34303b613a373a7b733a343a2270617468223b733a343a22706f6c6c223b733a353a227469746c65223b733a353a22706f6c6c73223b733a363a22616363657373223b623a313b733a343a2274797065223b693a31363b733a363a22776569676874223b693a303b733a383a226368696c6472656e223b613a313a7b693a303b693a2d3135303b7d733a333a22706964223b693a313b7d693a34313b613a363a7b733a343a2270617468223b733a363a22736561726368223b733a353a227469746c65223b733a363a22736561726368223b733a363a22616363657373223b623a313b733a343a2274797065223b693a31363b733a363a22776569676874223b693a303b733a333a22706964223b693a313b7d693a34323b613a363a7b733a343a2270617468223b733a31383a2261676772656761746f722f736f7572636573223b733a353a227469746c65223b733a373a22736f7572636573223b733a363a22616363657373223b623a313b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223333223b7d693a34333b613a363a7b733a343a2270617468223b733a32313a2261676772656761746f722f63617465676f72696573223b733a353a227469746c65223b733a31303a2263617465676f72696573223b733a363a22616363657373223b623a313b733a343a2274797065223b693a32383b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223333223b7d693a34373b613a353a7b733a343a2270617468223b733a32323a2261646d696e2f73657474696e67732f616473656e7365223b733a353a227469746c65223b733a373a22616473656e7365223b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223131223b7d693a34383b613a353a7b733a343a2270617468223b733a32333a2261646d696e2f73657474696e67732f7468726f74746c65223b733a353a227469746c65223b733a383a227468726f74746c65223b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223131223b7d693a34393b613a363a7b733a343a2270617468223b733a363a226e6f64652f36223b733a353a227469746c65223b733a31303a22717569636b207069636b223b733a31313a226465736372697074696f6e223b733a38333a22412073656c656374696f6e206f6620746865206d6f737420696e746572657374696e672061727469636c657320616e6420636f6e74656e7420706f73746564206f76657220746865206c617374207765656b2e223b733a333a22706964223b733a313a2231223b733a363a22776569676874223b733a313a2233223b733a343a2274797065223b733a333a22313138223b7d693a35303b613a363a7b733a343a2270617468223b733a31343a226e6f64652f6164642f666f72756d223b733a353a227469746c65223b733a31313a22666f72756d20746f706963223b733a363a22616363657373223b623a313b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a333a22706964223b733a313a2239223b7d693a35313b613a363a7b733a343a2270617468223b733a353a22666f72756d223b733a353a227469746c65223b733a363a22666f72756d73223b733a363a22616363657373223b623a313b733a343a2274797065223b693a31363b733a363a22776569676874223b693a303b733a333a22706964223b693a313b7d693a35323b613a373a7b733a343a2270617468223b733a31313a2261646d696e2f666f72756d223b733a353a227469746c65223b733a363a22666f72756d73223b733a363a22616363657373223b623a313b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a383a226368696c6472656e223b613a343a7b693a303b693a2d3130363b693a313b693a2d3130373b693a323b693a2d3130383b693a333b693a2d3130393b7d733a333a22706964223b733a313a2235223b7d693a35333b613a353a7b733a343a2270617468223b733a32373a2261646d696e2f73657474696e67732f706f6f726d616e7363726f6e223b733a353a227469746c65223b733a31323a22706f6f726d616e7363726f6e223b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a333a22706964223b733a323a223131223b7d693a35343b613a373a7b733a343a2270617468223b733a32363a2261646d696e2f626c6f636b2f7461786f6e6f6d795f626c6f636b223b733a353a227469746c65223b733a31343a227461786f6e6f6d7920626c6f636b223b733a363a22616363657373223b623a313b733a343a2274797065223b693a32323b733a363a22776569676874223b693a303b733a383a226368696c6472656e223b613a313a7b693a303b693a2d3136323b7d733a333a22706964223b733a323a223136223b7d7d733a393a2263616c6c6261636b73223b613a3133343a7b733a31333a2261646d696e2f66696c74657273223b613a313a7b733a383a2263616c6c6261636b223b733a32313a2266696c7465725f61646d696e5f6f76657276696577223b7d733a31383a2261646d696e2f66696c746572732f6c697374223b613a313a7b733a383a2263616c6c6261636b223b733a32313a2266696c7465725f61646d696e5f6f76657276696577223b7d733a31373a2261646d696e2f66696c746572732f616464223b613a313a7b733a383a2263616c6c6261636b223b733a32343a2266696c7465725f61646d696e5f666f726d61745f666f726d223b7d733a32303a2261646d696e2f66696c746572732f64656c657465223b613a313a7b733a383a2263616c6c6261636b223b733a31393a2266696c7465725f61646d696e5f64656c657465223b7d733a31313a2266696c7465722f74697073223b613a313a7b733a383a2263616c6c6261636b223b733a31363a2266696c7465725f746970735f6c6f6e67223b7d733a31303a2261646d696e2f6e6f6465223b613a313a7b733a383a2263616c6c6261636b223b733a31363a226e6f64655f61646d696e5f6e6f646573223b7d733a31373a2261646d696e2f6e6f64652f736561726368223b613a313a7b733a383a2263616c6c6261636b223b733a31373a226e6f64655f61646d696e5f736561726368223b7d733a31393a2261646d696e2f73657474696e67732f6e6f6465223b613a313a7b733a383a2263616c6c6261636b223b733a31343a226e6f64655f636f6e666967757265223b7d733a32383a2261646d696e2f73657474696e67732f636f6e74656e742d7479706573223b613a313a7b733a383a2263616c6c6261636b223b733a32303a226e6f64655f74797065735f636f6e666967757265223b7d733a343a226e6f6465223b613a313a7b733a383a2263616c6c6261636b223b733a393a226e6f64655f70616765223b7d733a383a226e6f64652f616464223b613a313a7b733a383a2263616c6c6261636b223b733a393a226e6f64655f70616765223b7d733a373a227273732e786d6c223b613a313a7b733a383a2263616c6c6261636b223b733a393a226e6f64655f66656564223b7d733a31323a2273797374656d2f66696c6573223b613a313a7b733a383a2263616c6c6261636b223b733a31333a2266696c655f646f776e6c6f6164223b7d733a31313a2273797374656d2f74657374223b613a313a7b733a383a2263616c6c6261636b223b733a31313a2273797374656d5f74657374223b7d733a353a2261646d696e223b613a313a7b733a383a2263616c6c6261636b223b733a31373a227761746368646f675f6f76657276696577223b7d733a31323a2261646d696e2f7468656d6573223b613a313a7b733a383a2263616c6c6261636b223b733a31333a2273797374656d5f7468656d6573223b7d733a31393a2261646d696e2f7468656d65732f73656c656374223b613a313a7b733a383a2263616c6c6261636b223b733a31333a2273797374656d5f7468656d6573223b7d733a32313a2261646d696e2f7468656d65732f73657474696e6773223b613a313a7b733a383a2263616c6c6261636b223b733a32313a2273797374656d5f7468656d655f73657474696e6773223b7d733a32383a2261646d696e2f7468656d65732f73657474696e67732f676c6f62616c223b613a313a7b733a383a2263616c6c6261636b223b733a32313a2273797374656d5f7468656d655f73657474696e6773223b7d733a33323a2261646d696e2f7468656d65732f73657474696e67732f70757368627574746f6e223b613a323a7b733a383a2263616c6c6261636b223b733a32313a2273797374656d5f7468656d655f73657474696e6773223b733a31383a2263616c6c6261636b20617267756d656e7473223b613a313a7b693a303b733a31303a2270757368627574746f6e223b7d7d733a33343a2261646d696e2f7468656d65732f73657474696e67732f626f785f677265795f646576223b613a323a7b733a383a2263616c6c6261636b223b733a32313a2273797374656d5f7468656d655f73657474696e6773223b733a31383a2263616c6c6261636b20617267756d656e7473223b613a313a7b693a303b733a31323a22626f785f677265795f646576223b7d7d733a31343a2261646d696e2f73657474696e6773223b613a313a7b733a383a2263616c6c6261636b223b733a32303a2273797374656d5f736974655f73657474696e6773223b7d733a31333a2261646d696e2f6d6f64756c6573223b613a313a7b733a383a2263616c6c6261636b223b733a31343a2273797374656d5f6d6f64756c6573223b7d733a343a2275736572223b613a313a7b733a383a2263616c6c6261636b223b733a31303a22757365725f6c6f67696e223b7d733a31373a22757365722f6175746f636f6d706c657465223b613a313a7b733a383a2263616c6c6261636b223b733a31373a22757365725f6175746f636f6d706c657465223b7d733a31303a22757365722f6c6f67696e223b613a313a7b733a383a2263616c6c6261636b223b733a31303a22757365725f6c6f67696e223b7d733a31333a22757365722f7265676973746572223b613a313a7b733a383a2263616c6c6261636b223b733a31333a22757365725f7265676973746572223b7d733a31333a22757365722f70617373776f7264223b613a313a7b733a383a2263616c6c6261636b223b733a393a22757365725f70617373223b7d733a31303a22757365722f7265736574223b613a313a7b733a383a2263616c6c6261636b223b733a31353a22757365725f706173735f7265736574223b7d733a393a22757365722f68656c70223b613a313a7b733a383a2263616c6c6261636b223b733a31343a22757365725f68656c705f70616765223b7d733a31303a2261646d696e2f75736572223b613a313a7b733a383a2263616c6c6261636b223b733a31303a22757365725f61646d696e223b7d733a31373a2261646d696e2f757365722f637265617465223b613a313a7b733a383a2263616c6c6261636b223b733a31303a22757365725f61646d696e223b7d733a31393a2261646d696e2f73657474696e67732f75736572223b613a313a7b733a383a2263616c6c6261636b223b733a31343a22757365725f636f6e666967757265223b7d733a31323a2261646d696e2f616363657373223b613a313a7b733a383a2263616c6c6261636b223b733a31353a22757365725f61646d696e5f7065726d223b7d733a32343a2261646d696e2f6163636573732f7065726d697373696f6e73223b613a313a7b733a383a2263616c6c6261636b223b733a31353a22757365725f61646d696e5f7065726d223b7d733a31383a2261646d696e2f6163636573732f726f6c6573223b613a313a7b733a383a2263616c6c6261636b223b733a31353a22757365725f61646d696e5f726f6c65223b7d733a32333a2261646d696e2f6163636573732f726f6c65732f65646974223b613a313a7b733a383a2263616c6c6261636b223b733a31353a22757365725f61646d696e5f726f6c65223b7d733a31383a2261646d696e2f6163636573732f72756c6573223b613a313a7b733a383a2263616c6c6261636b223b733a31373a22757365725f61646d696e5f616363657373223b7d733a32323a2261646d696e2f6163636573732f72756c65732f616464223b613a313a7b733a383a2263616c6c6261636b223b733a32313a22757365725f61646d696e5f6163636573735f616464223b7d733a32343a2261646d696e2f6163636573732f72756c65732f636865636b223b613a313a7b733a383a2263616c6c6261636b223b733a32333a22757365725f61646d696e5f6163636573735f636865636b223b7d733a32333a2261646d696e2f6163636573732f72756c65732f65646974223b613a313a7b733a383a2263616c6c6261636b223b733a32323a22757365725f61646d696e5f6163636573735f65646974223b7d733a32353a2261646d696e2f6163636573732f72756c65732f64656c657465223b613a313a7b733a383a2263616c6c6261636b223b733a32343a22757365725f61646d696e5f6163636573735f64656c657465223b7d733a31373a2261646d696e2f757365722f736561726368223b613a313a7b733a383a2263616c6c6261636b223b733a31303a22757365725f61646d696e223b7d733a363a22757365722f31223b613a323a7b733a383a2263616c6c6261636b223b733a393a22757365725f76696577223b733a31383a2263616c6c6261636b20617267756d656e7473223b613a313a7b693a303b733a313a2231223b7d7d733a363a226c6f676f7574223b613a313a7b733a383a2263616c6c6261636b223b733a31313a22757365725f6c6f676f7574223b7d733a31303a2261646d696e2f6c6f6773223b613a313a7b733a383a2263616c6c6261636b223b733a31373a227761746368646f675f6f76657276696577223b7d733a31363a2261646d696e2f6c6f67732f6576656e74223b613a313a7b733a383a2263616c6c6261636b223b733a31343a227761746368646f675f6576656e74223b7d733a31363a2261646d696e2f61676772656761746f72223b613a313a7b733a383a2263616c6c6261636b223b733a32353a2261676772656761746f725f61646d696e5f6f76657276696577223b7d733a32353a2261646d696e2f61676772656761746f722f6164642f66656564223b613a313a7b733a383a2263616c6c6261636b223b733a32303a2261676772656761746f725f666f726d5f66656564223b7d733a32393a2261646d696e2f61676772656761746f722f6164642f63617465676f7279223b613a313a7b733a383a2263616c6c6261636b223b733a32343a2261676772656761746f725f666f726d5f63617465676f7279223b7d733a32333a2261646d696e2f61676772656761746f722f72656d6f7665223b613a313a7b733a383a2263616c6c6261636b223b733a32383a2261676772656761746f725f61646d696e5f72656d6f76655f66656564223b7d733a32333a2261646d696e2f61676772656761746f722f757064617465223b613a313a7b733a383a2263616c6c6261636b223b733a32393a2261676772656761746f725f61646d696e5f726566726573685f66656564223b7d733a31303a2261676772656761746f72223b613a313a7b733a383a2263616c6c6261636b223b733a32303a2261676772656761746f725f706167655f6c617374223b7d733a31383a2261676772656761746f722f736f7572636573223b613a313a7b733a383a2263616c6c6261636b223b733a32333a2261676772656761746f725f706167655f736f7572636573223b7d733a32313a2261676772656761746f722f63617465676f72696573223b613a313a7b733a383a2263616c6c6261636b223b733a32363a2261676772656761746f725f706167655f63617465676f72696573223b7d733a31343a2261676772656761746f722f727373223b613a313a7b733a383a2263616c6c6261636b223b733a31393a2261676772656761746f725f706167655f727373223b7d733a31353a2261676772656761746f722f6f706d6c223b613a313a7b733a383a2263616c6c6261636b223b733a32303a2261676772656761746f725f706167655f6f706d6c223b7d733a373a2261726368697665223b613a313a7b733a383a2263616c6c6261636b223b733a31323a22617263686976655f70616765223b7d733a31313a2261646d696e2f626c6f636b223b613a313a7b733a383a2263616c6c6261636b223b733a31393a22626c6f636b5f61646d696e5f646973706c6179223b7d733a32313a2261646d696e2f626c6f636b2f636f6e666967757265223b613a313a7b733a383a2263616c6c6261636b223b733a32313a22626c6f636b5f61646d696e5f636f6e666967757265223b7d733a31383a2261646d696e2f626c6f636b2f64656c657465223b613a313a7b733a383a2263616c6c6261636b223b733a31363a22626c6f636b5f626f785f64656c657465223b7d733a31353a2261646d696e2f626c6f636b2f616464223b613a313a7b733a383a2263616c6c6261636b223b733a31333a22626c6f636b5f626f785f616464223b7d733a343a22626c6f67223b613a313a7b733a383a2263616c6c6261636b223b733a393a22626c6f675f70616765223b7d733a31353a2261646d696e2f6e6f64652f626f6f6b223b613a313a7b733a383a2263616c6c6261636b223b733a31303a22626f6f6b5f61646d696e223b7d733a32323a2261646d696e2f6e6f64652f626f6f6b2f6f727068616e223b613a313a7b733a383a2263616c6c6261636b223b733a31373a22626f6f6b5f61646d696e5f6f727068616e223b7d733a343a22626f6f6b223b613a313a7b733a383a2263616c6c6261636b223b733a31313a22626f6f6b5f72656e646572223b7d733a31313a22626f6f6b2f6578706f7274223b613a313a7b733a383a2263616c6c6261636b223b733a31313a22626f6f6b5f6578706f7274223b7d733a31333a2261646d696e2f636f6d6d656e74223b613a313a7b733a383a2263616c6c6261636b223b733a32323a22636f6d6d656e745f61646d696e5f6f76657276696577223b7d733a32333a2261646d696e2f636f6d6d656e742f636f6e666967757265223b613a313a7b733a383a2263616c6c6261636b223b733a31373a22636f6d6d656e745f636f6e666967757265223b7d733a32373a2261646d696e2f636f6d6d656e742f6c6973742f617070726f76616c223b613a323a7b733a383a2263616c6c6261636b223b733a32323a22636f6d6d656e745f61646d696e5f6f76657276696577223b733a31383a2263616c6c6261636b20617267756d656e7473223b613a313a7b693a303b733a383a22617070726f76616c223b7d7d733a31343a22636f6d6d656e742f64656c657465223b613a313a7b733a383a2263616c6c6261636b223b733a31343a22636f6d6d656e745f64656c657465223b7d733a31323a22636f6d6d656e742f65646974223b613a313a7b733a383a2263616c6c6261636b223b733a31323a22636f6d6d656e745f65646974223b7d733a31343a22666c6578696e6f64652f6c697374223b613a313a7b733a383a2263616c6c6261636b223b733a31393a22666c6578696e6f64655f706167655f6c697374223b7d733a31353a22666c6578696e6f64652f7461626c65223b613a313a7b733a383a2263616c6c6261636b223b733a32303a22666c6578696e6f64655f706167655f7461626c65223b7d733a31343a22666c6578696e6f64652f66656564223b613a313a7b733a383a2263616c6c6261636b223b733a31343a22666c6578696e6f64655f66656564223b7d733a31363a2261646d696e2f6e6f64652f7479706573223b613a313a7b733a383a2263616c6c6261636b223b733a32303a22666c6578696e6f64655f706167655f61646d696e223b7d733a31353a2261646d696e2f6e6f64652f74797065223b613a313a7b733a383a2263616c6c6261636b223b733a32373a22666c6578696e6f64655f636f6e74656e745f747970655f666f726d223b7d733a32323a2261646d696e2f6e6f64652f747970652f64656c657465223b613a313a7b733a383a2263616c6c6261636b223b733a33373a22666c6578696e6f64655f636f6e6669726d5f64656c6574655f636f6e74656e745f74797065223b7d733a31363a2261646d696e2f6e6f64652f6669656c64223b613a313a7b733a383a2263616c6c6261636b223b733a32313a22666c6578696e6f64655f61646d696e5f6669656c64223b7d733a31363a22666c6578696e6f64652f757064617465223b613a313a7b733a383a2263616c6c6261636b223b733a32373a22666c6578696e6f64655f706167655f61646d696e5f757064617465223b7d733a353a22666f72756d223b613a313a7b733a383a2263616c6c6261636b223b733a31303a22666f72756d5f70616765223b7d733a31313a2261646d696e2f666f72756d223b613a313a7b733a383a2263616c6c6261636b223b733a31343a22666f72756d5f6f76657276696577223b7d733a32353a2261646d696e2f666f72756d2f6164642f636f6e7461696e6572223b613a313a7b733a383a2263616c6c6261636b223b733a32303a22666f72756d5f666f726d5f636f6e7461696e6572223b7d733a32313a2261646d696e2f666f72756d2f6164642f666f72756d223b613a313a7b733a383a2263616c6c6261636b223b733a31363a22666f72756d5f666f726d5f666f72756d223b7d733a32313a2261646d696e2f666f72756d2f636f6e666967757265223b613a313a7b733a383a2263616c6c6261636b223b733a32313a22666f72756d5f61646d696e5f636f6e666967757265223b7d733a31303a2261646d696e2f68656c70223b613a313a7b733a383a2263616c6c6261636b223b733a393a2268656c705f6d61696e223b7d733a31383a2261646d696e2f68656c702f616473656e7365223b613a313a7b733a383a2263616c6c6261636b223b733a393a2268656c705f70616765223b7d733a32313a2261646d696e2f68656c702f61676772656761746f72223b613a313a7b733a383a2263616c6c6261636b223b733a393a2268656c705f70616765223b7d733a31383a2261646d696e2f68656c702f61726368697665223b613a313a7b733a383a2263616c6c6261636b223b733a393a2268656c705f70616765223b7d733a31363a2261646d696e2f68656c702f626c6f636b223b613a313a7b733a383a2263616c6c6261636b223b733a393a2268656c705f70616765223b7d733a31353a2261646d696e2f68656c702f626c6f67223b613a313a7b733a383a2263616c6c6261636b223b733a393a2268656c705f70616765223b7d733a31353a2261646d696e2f68656c702f626f6f6b223b613a313a7b733a383a2263616c6c6261636b223b733a393a2268656c705f70616765223b7d733a31383a2261646d696e2f68656c702f636f6d6d656e74223b613a313a7b733a383a2263616c6c6261636b223b733a393a2268656c705f70616765223b7d733a31373a2261646d696e2f68656c702f66696c746572223b613a313a7b733a383a2263616c6c6261636b223b733a393a2268656c705f70616765223b7d733a32303a2261646d696e2f68656c702f666c6578696e6f6465223b613a313a7b733a383a2263616c6c6261636b223b733a393a2268656c705f70616765223b7d733a31363a2261646d696e2f68656c702f666f72756d223b613a313a7b733a383a2263616c6c6261636b223b733a393a2268656c705f70616765223b7d733a31353a2261646d696e2f68656c702f68656c70223b613a313a7b733a383a2263616c6c6261636b223b733a393a2268656c705f70616765223b7d733a31353a2261646d696e2f68656c702f6d656e75223b613a313a7b733a383a2263616c6c6261636b223b733a393a2268656c705f70616765223b7d733a31353a2261646d696e2f68656c702f6e6f6465223b613a313a7b733a383a2263616c6c6261636b223b733a393a2268656c705f70616765223b7d733a31353a2261646d696e2f68656c702f70616765223b613a313a7b733a383a2263616c6c6261636b223b733a393a2268656c705f70616765223b7d733a31353a2261646d696e2f68656c702f706f6c6c223b613a313a7b733a383a2263616c6c6261636b223b733a393a2268656c705f70616765223b7d733a32333a2261646d696e2f68656c702f706f6f726d616e7363726f6e223b613a313a7b733a383a2263616c6c6261636b223b733a393a2268656c705f70616765223b7d733a31373a2261646d696e2f68656c702f736561726368223b613a313a7b733a383a2263616c6c6261636b223b733a393a2268656c705f70616765223b7d733a31363a2261646d696e2f68656c702f73746f7279223b613a313a7b733a383a2263616c6c6261636b223b733a393a2268656c705f70616765223b7d733a31373a2261646d696e2f68656c702f73797374656d223b613a313a7b733a383a2263616c6c6261636b223b733a393a2268656c705f70616765223b7d733a31393a2261646d696e2f68656c702f7461786f6e6f6d79223b613a313a7b733a383a2263616c6c6261636b223b733a393a2268656c705f70616765223b7d733a32353a2261646d696e2f68656c702f7461786f6e6f6d795f626c6f636b223b613a313a7b733a383a2263616c6c6261636b223b733a393a2268656c705f70616765223b7d733a31393a2261646d696e2f68656c702f7468726f74746c65223b613a313a7b733a383a2263616c6c6261636b223b733a393a2268656c705f70616765223b7d733a31373a2261646d696e2f68656c702f75706c6f6164223b613a313a7b733a383a2263616c6c6261636b223b733a393a2268656c705f70616765223b7d733a31353a2261646d696e2f68656c702f75736572223b613a313a7b733a383a2263616c6c6261636b223b733a393a2268656c705f70616765223b7d733a31393a2261646d696e2f68656c702f7761746368646f67223b613a313a7b733a383a2263616c6c6261636b223b733a393a2268656c705f70616765223b7d733a31303a2261646d696e2f6d656e75223b613a313a7b733a383a2263616c6c6261636b223b733a31333a226d656e755f6f76657276696577223b7d733a31393a2261646d696e2f6d656e752f6974656d2f616464223b613a313a7b733a383a2263616c6c6261636b223b733a31393a226d656e755f656469745f6974656d5f666f726d223b7d733a32303a2261646d696e2f6d656e752f6974656d2f65646974223b613a313a7b733a383a2263616c6c6261636b223b733a31393a226d656e755f656469745f6974656d5f666f726d223b7d733a32313a2261646d696e2f6d656e752f6974656d2f7265736574223b613a313a7b733a383a2263616c6c6261636b223b733a31353a226d656e755f72657365745f6974656d223b7d733a32333a2261646d696e2f6d656e752f6974656d2f64697361626c65223b613a313a7b733a383a2263616c6c6261636b223b733a31373a226d656e755f64697361626c655f6974656d223b7d733a32323a2261646d696e2f6d656e752f6974656d2f64656c657465223b613a313a7b733a383a2263616c6c6261636b223b733a32313a226d656e755f6974656d5f64656c6574655f666f726d223b7d733a31393a2261646d696e2f6d656e752f6d656e752f616464223b613a313a7b733a383a2263616c6c6261636b223b733a31393a226d656e755f656469745f6d656e755f666f726d223b7d733a32303a2261646d696e2f6d656e752f6d656e752f65646974223b613a313a7b733a383a2263616c6c6261636b223b733a31393a226d656e755f656469745f6d656e755f666f726d223b7d733a32323a2261646d696e2f6d656e752f6d656e752f64656c657465223b613a313a7b733a383a2263616c6c6261636b223b733a32313a226d656e755f6974656d5f64656c6574655f666f726d223b7d733a31393a2261646d696e2f73657474696e67732f6d656e75223b613a313a7b733a383a2263616c6c6261636b223b733a31343a226d656e755f636f6e666967757265223b7d733a343a22706f6c6c223b613a313a7b733a383a2263616c6c6261636b223b733a393a22706f6c6c5f70616765223b7d733a393a22706f6c6c2f766f7465223b613a313a7b733a383a2263616c6c6261636b223b733a393a22706f6c6c5f766f7465223b7d733a363a22736561726368223b613a313a7b733a383a2263616c6c6261636b223b733a31313a227365617263685f76696577223b7d733a32363a2261646d696e2f73657474696e67732f7365617263682f77697065223b613a313a7b733a383a2263616c6c6261636b223b733a31393a227365617263685f776970655f636f6e6669726d223b7d733a31343a2261646d696e2f7461786f6e6f6d79223b613a313a7b733a383a2263616c6c6261636b223b733a33303a227461786f6e6f6d795f6f766572766965775f766f636162756c6172696573223b7d733a32393a2261646d696e2f7461786f6e6f6d792f6164642f766f636162756c617279223b613a313a7b733a383a2263616c6c6261636b223b733a33303a227461786f6e6f6d795f61646d696e5f766f636162756c6172795f65646974223b7d733a33303a2261646d696e2f7461786f6e6f6d792f656469742f766f636162756c617279223b613a313a7b733a383a2263616c6c6261636b223b733a33303a227461786f6e6f6d795f61646d696e5f766f636162756c6172795f65646974223b7d733a32343a2261646d696e2f7461786f6e6f6d792f656469742f7465726d223b613a313a7b733a383a2263616c6c6261636b223b733a32343a227461786f6e6f6d795f61646d696e5f7465726d5f65646974223b7d733a31333a227461786f6e6f6d792f7465726d223b613a313a7b733a383a2263616c6c6261636b223b733a31383a227461786f6e6f6d795f7465726d5f70616765223b7d733a32313a227461786f6e6f6d792f6175746f636f6d706c657465223b613a313a7b733a383a2263616c6c6261636b223b733a32313a227461786f6e6f6d795f6175746f636f6d706c657465223b7d733a32363a2261646d696e2f626c6f636b2f7461786f6e6f6d795f626c6f636b223b613a313a7b733a383a2263616c6c6261636b223b733a32303a227461786f6e6f6d795f626c6f636b5f61646d696e223b7d733a33313a2261646d696e2f626c6f636b2f7461786f6e6f6d795f626c6f636b2f65646974223b613a313a7b733a383a2263616c6c6261636b223b733a31393a227461786f6e6f6d795f626c6f636b5f666f726d223b7d733a393a2275706c6f61642f6a73223b613a313a7b733a383a2263616c6c6261636b223b733a393a2275706c6f61645f6a73223b7d7d733a373a2276697369626c65223b613a34343a7b693a33353b613a353a7b733a353a227469746c65223b733a31303a22626c6f6720656e747279223b733a343a2270617468223b733a31333a226e6f64652f6164642f626c6f67223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a393b7d693a33373b613a353a7b733a353a227469746c65223b733a393a22626f6f6b2070616765223b733a343a2270617468223b733a31333a226e6f64652f6164642f626f6f6b223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a393b7d693a35303b613a353a7b733a353a227469746c65223b733a31313a22666f72756d20746f706963223b733a343a2270617468223b733a31343a226e6f64652f6164642f666f72756d223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a393b7d693a32353b613a353a7b733a353a227469746c65223b733a343a2270616765223b733a343a2270617468223b733a31333a226e6f64652f6164642f70616765223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a393b7d693a33393b613a353a7b733a353a227469746c65223b733a343a22706f6c6c223b733a343a2270617468223b733a31333a226e6f64652f6164642f706f6c6c223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a393b7d693a32363b613a353a7b733a353a227469746c65223b733a353a2273746f7279223b733a343a2270617468223b733a31343a226e6f64652f6164642f73746f7279223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a393b7d693a393b613a353a7b733a353a227469746c65223b733a31343a2263726561746520636f6e74656e74223b733a343a2270617468223b733a383a226e6f64652f616464223b733a383a226368696c6472656e223b613a363a7b693a303b693a33353b693a313b693a33373b693a323b693a35303b693a333b693a32353b693a343b693a33393b693a353b693a32363b7d733a343a2274797065223b693a32383b733a333a22706964223b693a313b7d693a2d35343b613a353a7b733a353a227469746c65223b733a31303a226d79206163636f756e74223b733a343a2270617468223b733a363a22757365722f31223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a363b733a333a22706964223b693a313b7d693a2d37393b613a353a7b733a353a227469746c65223b733a373a226d7920626c6f67223b733a343a2270617468223b733a363a22626c6f672f31223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a363b733a333a22706964223b693a313b7d693a34393b613a353a7b733a353a227469746c65223b733a31303a22717569636b207069636b223b733a343a2270617468223b733a363a226e6f64652f36223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b733a333a22313138223b733a333a22706964223b693a313b7d693a34323b613a353a7b733a353a227469746c65223b733a373a22736f7572636573223b733a343a2270617468223b733a31383a2261676772656761746f722f736f7572636573223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a33333b7d693a33333b613a353a7b733a353a227469746c65223b733a31353a226e6577732061676772656761746f72223b733a343a2270617468223b733a31303a2261676772656761746f72223b733a383a226368696c6472656e223b613a313a7b693a303b693a34323b7d733a343a2274797065223b693a32323b733a333a22706964223b693a313b7d693a31343b613a353a7b733a353a227469746c65223b733a31343a2261636365737320636f6e74726f6c223b733a343a2270617468223b733a31323a2261646d696e2f616363657373223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a353b7d693a33323b613a353a7b733a353a227469746c65223b733a31303a2261676772656761746f72223b733a343a2270617468223b733a31363a2261646d696e2f61676772656761746f72223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a353b7d693a35343b613a353a7b733a353a227469746c65223b733a31343a227461786f6e6f6d7920626c6f636b223b733a343a2270617468223b733a32363a2261646d696e2f626c6f636b2f7461786f6e6f6d795f626c6f636b223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a31363b7d693a31363b613a353a7b733a353a227469746c65223b733a363a22626c6f636b73223b733a343a2270617468223b733a31313a2261646d696e2f626c6f636b223b733a383a226368696c6472656e223b613a313a7b693a303b693a35343b7d733a343a2274797065223b693a32323b733a333a22706964223b693a353b7d693a32303b613a353a7b733a353a227469746c65223b733a31303a2263617465676f72696573223b733a343a2270617468223b733a31343a2261646d696e2f7461786f6e6f6d79223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a353b7d693a31373b613a353a7b733a353a227469746c65223b733a383a22636f6d6d656e7473223b733a343a2270617468223b733a31333a2261646d696e2f636f6d6d656e74223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a353b7d693a383b613a353a7b733a353a227469746c65223b733a373a22636f6e74656e74223b733a343a2270617468223b733a31303a2261646d696e2f6e6f6465223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a353b7d693a35323b613a353a7b733a353a227469746c65223b733a363a22666f72756d73223b733a343a2270617468223b733a31313a2261646d696e2f666f72756d223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a353b7d693a373b613a353a7b733a353a227469746c65223b733a31333a22696e70757420666f726d617473223b733a343a2270617468223b733a31333a2261646d696e2f66696c74657273223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a353b7d693a31353b613a353a7b733a353a227469746c65223b733a343a226c6f6773223b733a343a2270617468223b733a31303a2261646d696e2f6c6f6773223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a353b7d693a31393b613a353a7b733a353a227469746c65223b733a353a226d656e7573223b733a343a2270617468223b733a31303a2261646d696e2f6d656e75223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a353b7d693a31323b613a353a7b733a353a227469746c65223b733a373a226d6f64756c6573223b733a343a2270617468223b733a31333a2261646d696e2f6d6f64756c6573223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a353b7d693a34373b613a353a7b733a353a227469746c65223b733a373a22616473656e7365223b733a343a2270617468223b733a32323a2261646d696e2f73657474696e67732f616473656e7365223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a31313b7d693a32393b613a353a7b733a353a227469746c65223b733a31303a2261676772656761746f72223b733a343a2270617468223b733a32353a2261646d696e2f73657474696e67732f61676772656761746f72223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a31313b7d693a32323b613a353a7b733a353a227469746c65223b733a31333a22636f6e74656e74207479706573223b733a343a2270617468223b733a32383a2261646d696e2f73657474696e67732f636f6e74656e742d7479706573223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a31313b7d693a32373b613a353a7b733a353a227469746c65223b733a393a22666c6578696e6f6465223b733a343a2270617468223b733a32343a2261646d696e2f73657474696e67732f666c6578696e6f6465223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a31313b7d693a32343b613a353a7b733a353a227469746c65223b733a353a226d656e7573223b733a343a2270617468223b733a31393a2261646d696e2f73657474696e67732f6d656e75223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a31313b7d693a35333b613a353a7b733a353a227469746c65223b733a31323a22706f6f726d616e7363726f6e223b733a343a2270617468223b733a32373a2261646d696e2f73657474696e67732f706f6f726d616e7363726f6e223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a31313b7d693a32313b613a353a7b733a353a227469746c65223b733a353a22706f737473223b733a343a2270617468223b733a31393a2261646d696e2f73657474696e67732f6e6f6465223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a31313b7d693a33303b613a353a7b733a353a227469746c65223b733a363a22736561726368223b733a343a2270617468223b733a32313a2261646d696e2f73657474696e67732f736561726368223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a31313b7d693a34383b613a353a7b733a353a227469746c65223b733a383a227468726f74746c65223b733a343a2270617468223b733a32333a2261646d696e2f73657474696e67732f7468726f74746c65223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a31313b7d693a33313b613a353a7b733a353a227469746c65223b733a363a2275706c6f6164223b733a343a2270617468223b733a32313a2261646d696e2f73657474696e67732f75706c6f6164223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a31313b7d693a32333b613a353a7b733a353a227469746c65223b733a353a227573657273223b733a343a2270617468223b733a31393a2261646d696e2f73657474696e67732f75736572223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a31313b7d693a31313b613a353a7b733a353a227469746c65223b733a383a2273657474696e6773223b733a343a2270617468223b733a31343a2261646d696e2f73657474696e6773223b733a383a226368696c6472656e223b613a31313a7b693a303b693a34373b693a313b693a32393b693a323b693a32323b693a333b693a32373b693a343b693a32343b693a353b693a35333b693a363b693a32313b693a373b693a33303b693a383b693a34383b693a393b693a33313b693a31303b693a32333b7d733a343a2274797065223b693a32323b733a333a22706964223b693a353b7d693a31303b613a353a7b733a353a227469746c65223b733a363a227468656d6573223b733a343a2270617468223b733a31323a2261646d696e2f7468656d6573223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a353b7d693a31333b613a353a7b733a353a227469746c65223b733a353a227573657273223b733a343a2270617468223b733a31303a2261646d696e2f75736572223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a353b7d693a31383b613a353a7b733a353a227469746c65223b733a343a2268656c70223b733a343a2270617468223b733a31303a2261646d696e2f68656c70223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a353b7d693a353b613a353a7b733a353a227469746c65223b733a31303a2261646d696e6973746572223b733a343a2270617468223b733a353a2261646d696e223b733a383a226368696c6472656e223b613a31353a7b693a303b693a31343b693a313b693a33323b693a323b693a31363b693a333b693a32303b693a343b693a31373b693a353b693a383b693a363b693a35323b693a373b693a373b693a383b693a31353b693a393b693a31393b693a31303b693a31323b693a31313b693a31313b693a31323b693a31303b693a31333b693a31333b693a31343b693a31383b7d733a343a2274797065223b693a32323b733a333a22706964223b693a313b7d693a363b613a353a7b733a353a227469746c65223b733a373a226c6f67206f7574223b733a343a2270617468223b733a363a226c6f676f7574223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b693a32323b733a333a22706964223b693a313b7d693a313b613a353a7b733a353a227469746c65223b733a31303a224e617669676174696f6e223b733a343a2270617468223b733a303a22223b733a383a226368696c6472656e223b613a373a7b693a303b693a393b693a313b693a2d35343b693a323b693a2d37393b693a333b693a34393b693a343b693a33333b693a353b693a353b693a363b693a363b7d733a343a2274797065223b693a333b733a333a22706964223b693a303b7d693a323b613a353a7b733a353a227469746c65223b733a31333a225072696d617279206c696e6b73223b733a343a2270617468223b733a303a22223b733a383a226368696c6472656e223b613a303a7b7d733a343a2274797065223b733a333a22313135223b733a333a22706964223b693a303b7d693a303b613a343a7b733a353a227469746c65223b733a303a22223b733a343a2270617468223b733a303a22223b733a383a226368696c6472656e223b613a323a7b693a303b693a313b693a313b693a323b7d733a343a2274797065223b693a313b7d7d7d, 1146819310, 1146732910, ''); INSERT INTO `cache` VALUES ('filter:1:a776b4c0ad887e78b2a684d8e252bd87', 0x656e636c6f73656420616e6420636f726e65726564, 1146818397, 1146731997, ''); INSERT INTO `cache` VALUES ('filter:1:f24c10727449c7c66d44dc28ea871a4d', 0x746869732069732072656c6174656420746f2074726f7068792068756e74696e67, 1146818397, 1146731997, ''); INSERT INTO `cache` VALUES ('filter:1:4c31890390bc111bd0c74a4924299316', 0x54726f7068792068756e74696e6720616e642063616e6e65642068756e74696e6720676f2068616e6420696e2068616e64207768656e20697420636f6d657320746f207468652077616e746f6e206465737472756374696f6e206f66206f7572206d6f73742062656175746966756c20616e696d616c732e2e2e, 1146818397, 1146731997, ''); INSERT INTO `cache` VALUES ('filter:1:d6ac22d67912d53168dd7bbc09509935', 0x5468652070726f74656374696f6e206f66206f75722077696c646c6966652063616e6e6f74206265206c65667420746f20746865206d6f72616c6c7920646570726176656420636f6e736572766174696f6e2062757265617563726163792e2e2e, 1146818397, 1146731997, ''); INSERT INTO `cache` VALUES ('filter:3:d8a0e31eebe783df2a4a61e70df2f167', 0x3c7461626c6520626f726465723d2230223e0a20203c74723e0a202020203c746420636f6c7370616e3d22322220636c6173733d22626f6479222077696474683d2231303025223e0a2020202020203c7374726f6e673e506c656173652073656c6563742061206c696e6b2062656c6f7720746f207669657720746861742061727469636c653a3c2f7374726f6e673e3c6272202f3e0a2020202020203c68723e0a202020203c2f74643e0a20203c2f74723e0a20203c74723e0a20202020203c746420636c6173733d22626f6479222076616c69676e3d22746f70223e0a2020202020203c62723e3c6272202f3e0a2020202020203c6120207374796c653d22756e6465726c696e652220687265663d226a6176617363726970743a616a61787061676528272f64727570616c2f66696c65732f30395f30325f6e6577732e747874272c2027636f6e74656e746172656127293b223e4c6174657374204e6577733c2f613e3c6272202f3e0a2020202020203c612020687265663d226a6176617363726970743a616a61787061676528272f64727570616c2f66696c65732f30395f30325f6e6f746e6577732e747874272c2027636f6e74656e746172656127293b223e506c61696e204f6c6420436f6e74656e743c2f613e0a20202020203c2f74643e0a3c74642069643d22636f6e74656e7461726561222077696474683d223730252220616c69676e3d2263656e746572223e3c2f74643e0a20203c2f74723e0a3c2f7461626c653e0a, 1146818397, 1146731997, ''); -- -------------------------------------------------------- -- -- Table structure for table `client` -- DROP TABLE IF EXISTS `client`; CREATE TABLE IF NOT EXISTS `client` ( `cid` int(10) unsigned NOT NULL auto_increment, `link` varchar(255) NOT NULL default '', `name` varchar(128) NOT NULL default '', `mail` varchar(128) NOT NULL default '', `slogan` longtext NOT NULL, `mission` longtext NOT NULL, `users` int(10) NOT NULL default '0', `nodes` int(10) NOT NULL default '0', `version` varchar(35) NOT NULL default '', `created` int(11) NOT NULL default '0', `changed` int(11) NOT NULL default '0', PRIMARY KEY (`cid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -- Dumping data for table `client` -- -- -------------------------------------------------------- -- -- Table structure for table `client_system` -- DROP TABLE IF EXISTS `client_system`; CREATE TABLE IF NOT EXISTS `client_system` ( `cid` int(10) NOT NULL default '0', `name` varchar(255) NOT NULL default '', `type` varchar(255) NOT NULL default '', PRIMARY KEY (`cid`,`name`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `client_system` -- -- -------------------------------------------------------- -- -- Table structure for table `comments` -- DROP TABLE IF EXISTS `comments`; CREATE TABLE IF NOT EXISTS `comments` ( `cid` int(10) NOT NULL auto_increment, `pid` int(10) NOT NULL default '0', `nid` int(10) NOT NULL default '0', `uid` int(10) NOT NULL default '0', `subject` varchar(64) NOT NULL default '', `comment` longtext NOT NULL, `hostname` varchar(128) NOT NULL default '', `timestamp` int(11) NOT NULL default '0', `score` mediumint(9) NOT NULL default '0', `status` tinyint(3) unsigned NOT NULL default '0', `format` int(4) NOT NULL default '0', `thread` varchar(255) NOT NULL default '', `users` longtext, `name` varchar(60) default NULL, `mail` varchar(64) default NULL, `homepage` varchar(255) default NULL, PRIMARY KEY (`cid`), KEY `lid` (`nid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -- Dumping data for table `comments` -- -- -------------------------------------------------------- -- -- Table structure for table `contact` -- DROP TABLE IF EXISTS `contact`; CREATE TABLE IF NOT EXISTS `contact` ( `cid` int(10) unsigned NOT NULL auto_increment, `category` varchar(255) NOT NULL default '', `recipients` longtext NOT NULL, `reply` longtext NOT NULL, `weight` tinyint(3) NOT NULL default '0', `selected` tinyint(1) NOT NULL default '0', PRIMARY KEY (`cid`), UNIQUE KEY `category` (`category`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -- Dumping data for table `contact` -- -- -------------------------------------------------------- -- -- Table structure for table `file_revisions` -- DROP TABLE IF EXISTS `file_revisions`; CREATE TABLE IF NOT EXISTS `file_revisions` ( `fid` int(10) unsigned NOT NULL default '0', `vid` int(10) unsigned NOT NULL default '0', `description` varchar(255) NOT NULL default '', `list` tinyint(1) unsigned NOT NULL default '0', PRIMARY KEY (`fid`,`vid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `file_revisions` -- INSERT INTO `file_revisions` VALUES (1, 6, '09_02_news.txt', 0); INSERT INTO `file_revisions` VALUES (2, 6, '09_02_notnews.txt', 0); INSERT INTO `file_revisions` VALUES (3, 6, 'PacktLogoSmall.png', 0); -- -------------------------------------------------------- -- -- Table structure for table `files` -- DROP TABLE IF EXISTS `files`; CREATE TABLE IF NOT EXISTS `files` ( `fid` int(10) unsigned NOT NULL default '0', `nid` int(10) unsigned NOT NULL default '0', `filename` varchar(255) NOT NULL default '', `filepath` varchar(255) NOT NULL default '', `filemime` varchar(255) NOT NULL default '', `filesize` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`fid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `files` -- INSERT INTO `files` VALUES (1, 6, '09_02_news.txt', 'files/09_02_news.txt', 'text/plain', 665); INSERT INTO `files` VALUES (2, 6, '09_02_notnews.txt', 'files/09_02_notnews.txt', 'text/plain', 585); INSERT INTO `files` VALUES (3, 6, 'PacktLogoSmall.png', 'files/PacktLogoSmall.png', 'image/x-png', 2638); -- -------------------------------------------------------- -- -- Table structure for table `filter_formats` -- DROP TABLE IF EXISTS `filter_formats`; CREATE TABLE IF NOT EXISTS `filter_formats` ( `format` int(4) NOT NULL auto_increment, `name` varchar(255) NOT NULL default '', `roles` varchar(255) NOT NULL default '', `cache` tinyint(2) NOT NULL default '0', PRIMARY KEY (`format`), UNIQUE KEY `name` (`name`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ; -- -- Dumping data for table `filter_formats` -- INSERT INTO `filter_formats` VALUES (1, 'Filtered HTML', ',anonymous user,authenticated user,', 1); INSERT INTO `filter_formats` VALUES (2, 'PHP code', '', 0); INSERT INTO `filter_formats` VALUES (3, 'Full HTML', ',2,', 1); -- -------------------------------------------------------- -- -- Table structure for table `filters` -- DROP TABLE IF EXISTS `filters`; CREATE TABLE IF NOT EXISTS `filters` ( `format` int(4) NOT NULL default '0', `module` varchar(64) NOT NULL default '', `delta` tinyint(2) NOT NULL default '0', `weight` tinyint(2) NOT NULL default '0', KEY `weight` (`weight`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `filters` -- INSERT INTO `filters` VALUES (1, 'filter', 0, 0); INSERT INTO `filters` VALUES (2, 'filter', 1, 0); INSERT INTO `filters` VALUES (3, 'filter', 2, 0); INSERT INTO `filters` VALUES (3, 'adsense', 0, 10); -- -------------------------------------------------------- -- -- Table structure for table `flexinode_data` -- DROP TABLE IF EXISTS `flexinode_data`; CREATE TABLE IF NOT EXISTS `flexinode_data` ( `nid` int(10) unsigned NOT NULL default '0', `field_id` int(10) unsigned NOT NULL default '0', `textual_data` mediumtext NOT NULL, `numeric_data` int(10) unsigned NOT NULL default '0', `serialized_data` mediumtext NOT NULL, PRIMARY KEY (`nid`,`field_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `flexinode_data` -- -- -------------------------------------------------------- -- -- Table structure for table `flexinode_field` -- DROP TABLE IF EXISTS `flexinode_field`; CREATE TABLE IF NOT EXISTS `flexinode_field` ( `field_id` int(10) unsigned NOT NULL default '0', `ctype_id` int(10) unsigned NOT NULL default '0', `label` varchar(255) NOT NULL default '', `default_value` mediumtext NOT NULL, `weight` int(10) NOT NULL default '0', `required` int(1) NOT NULL default '0', `show_teaser` int(1) NOT NULL default '0', `show_table` int(1) NOT NULL default '0', `rows` int(10) unsigned NOT NULL default '0', `field_type` varchar(255) NOT NULL default '', `options` text NOT NULL, `description` varchar(255) NOT NULL default '', PRIMARY KEY (`field_id`), KEY `ctype_id` (`ctype_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `flexinode_field` -- INSERT INTO `flexinode_field` VALUES (7, 0, 'Introduction', '', -9, 1, 1, 0, 5, 'textarea', 'a:1:{i:1;s:0:"";}', 'Use this area to introduce the specie in question.'); INSERT INTO `flexinode_field` VALUES (8, 0, 'Image', '', -7, 0, 0, 0, 0, 'image', 'a:4:{i:1;s:7:"800x600";i:2;s:7:"512x384";i:3;s:7:"100x100";i:4;s:3:"100";}', 'Add an image of the specie'); INSERT INTO `flexinode_field` VALUES (9, 0, 'daesfg', '', 0, 1, 0, 0, 0, 'address', 'a:1:{i:1;s:0:"";}', 'fedg'); INSERT INTO `flexinode_field` VALUES (10, 0, 'gsed', '', 0, 1, 1, 0, 0, 'address', 'a:1:{i:1;s:0:"";}', 'dsfg'); INSERT INTO `flexinode_field` VALUES (11, 0, 'et', '', 0, 1, 1, 0, 0, 'address', 'a:1:{i:1;s:0:"";}', 'thres'); -- -------------------------------------------------------- -- -- Table structure for table `flexinode_type` -- DROP TABLE IF EXISTS `flexinode_type`; CREATE TABLE IF NOT EXISTS `flexinode_type` ( `ctype_id` int(10) unsigned NOT NULL default '0', `name` varchar(255) NOT NULL default '', `description` varchar(255) NOT NULL default '', `help` text NOT NULL, PRIMARY KEY (`ctype_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Dumping data for table `flexinode_type` -- -- -------------------------------------------------------- -- -- Table structure for table `flood` -- DROP TABLE IF EXISTS `flood`; CREATE TABLE IF NOT EXISTS `flood` ( `event` varchar(64) NOT NULL default '', `hostname` varchar(128) NOT NULL default '', `timestamp` int(11) NOT NULL default '0' ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `flood` -- -- -------------------------------------------------------- -- -- Table structure for table `forum` -- DROP TABLE IF EXISTS `forum`; CREATE TABLE IF NOT EXISTS `forum` ( `nid` int(10) unsigned NOT NULL default '0', `vid` int(10) unsigned NOT NULL default '0', `tid` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`vid`), KEY `nid` (`nid`), KEY `tid` (`tid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `forum` -- -- -------------------------------------------------------- -- -- Table structure for table `history` -- DROP TABLE IF EXISTS `history`; CREATE TABLE IF NOT EXISTS `history` ( `uid` int(10) NOT NULL default '0', `nid` int(10) NOT NULL default '0', `timestamp` int(11) NOT NULL default '0', PRIMARY KEY (`uid`,`nid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `history` -- INSERT INTO `history` VALUES (2, 1, 1144748113); INSERT INTO `history` VALUES (1, 2, 1144755062); INSERT INTO `history` VALUES (2, 3, 1144762583); INSERT INTO `history` VALUES (1, 4, 1144832840); INSERT INTO `history` VALUES (2, 4, 1144832880); INSERT INTO `history` VALUES (2, 5, 1144833558); INSERT INTO `history` VALUES (1, 6, 1146731951); INSERT INTO `history` VALUES (2, 6, 1144844791); INSERT INTO `history` VALUES (1, 7, 1144922878); INSERT INTO `history` VALUES (1, 8, 1144924564); INSERT INTO `history` VALUES (1, 9, 1144924485); INSERT INTO `history` VALUES (1, 10, 1146731975); INSERT INTO `history` VALUES (1, 11, 1146064419); -- -------------------------------------------------------- -- -- Table structure for table `locales_meta` -- DROP TABLE IF EXISTS `locales_meta`; CREATE TABLE IF NOT EXISTS `locales_meta` ( `locale` varchar(12) NOT NULL default '', `name` varchar(64) NOT NULL default '', `enabled` int(2) NOT NULL default '0', `isdefault` int(2) NOT NULL default '0', `plurals` int(1) NOT NULL default '0', `formula` varchar(128) NOT NULL default '', PRIMARY KEY (`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `locales_meta` -- INSERT INTO `locales_meta` VALUES ('en', 'English', 1, 1, 0, ''); -- -------------------------------------------------------- -- -- Table structure for table `locales_source` -- DROP TABLE IF EXISTS `locales_source`; CREATE TABLE IF NOT EXISTS `locales_source` ( `lid` int(11) NOT NULL auto_increment, `location` varchar(255) NOT NULL default '', `source` blob NOT NULL, PRIMARY KEY (`lid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -- Dumping data for table `locales_source` -- -- -------------------------------------------------------- -- -- Table structure for table `locales_target` -- DROP TABLE IF EXISTS `locales_target`; CREATE TABLE IF NOT EXISTS `locales_target` ( `lid` int(11) NOT NULL default '0', `translation` blob NOT NULL, `locale` varchar(12) NOT NULL default '', `plid` int(11) NOT NULL default '0', `plural` int(1) NOT NULL default '0', KEY `lid` (`lid`), KEY `lang` (`locale`), KEY `plid` (`plid`), KEY `plural` (`plural`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `locales_target` -- -- -------------------------------------------------------- -- -- Table structure for table `menu` -- DROP TABLE IF EXISTS `menu`; CREATE TABLE IF NOT EXISTS `menu` ( `mid` int(10) unsigned NOT NULL default '0', `pid` int(10) unsigned NOT NULL default '0', `path` varchar(255) NOT NULL default '', `title` varchar(255) NOT NULL default '', `description` varchar(255) NOT NULL default '', `weight` tinyint(4) NOT NULL default '0', `type` int(2) unsigned NOT NULL default '0', PRIMARY KEY (`mid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `menu` -- INSERT INTO `menu` VALUES (2, 0, '', 'Primary links', '', 0, 115); INSERT INTO `menu` VALUES (3, 1, 'filter/tips', 'compose tips', '', 0, 16); INSERT INTO `menu` VALUES (4, 1, 'node', 'content', '', 0, 16); INSERT INTO `menu` VALUES (5, 1, 'admin', 'administer', '', 9, 22); INSERT INTO `menu` VALUES (6, 1, 'logout', 'log out', '', 10, 22); INSERT INTO `menu` VALUES (7, 5, 'admin/filters', 'input formats', '', 0, 22); INSERT INTO `menu` VALUES (8, 5, 'admin/node', 'content', '', 0, 22); INSERT INTO `menu` VALUES (9, 4, 'node/add', 'create content', '', 1, 28); INSERT INTO `menu` VALUES (10, 5, 'admin/themes', 'themes', '', 0, 22); INSERT INTO `menu` VALUES (11, 5, 'admin/settings', 'settings', '', 0, 22); INSERT INTO `menu` VALUES (12, 5, 'admin/modules', 'modules', '', 0, 22); INSERT INTO `menu` VALUES (13, 5, 'admin/user', 'users', '', 0, 22); INSERT INTO `menu` VALUES (14, 5, 'admin/access', 'access control', '', 0, 22); INSERT INTO `menu` VALUES (15, 5, 'admin/logs', 'logs', '', 0, 22); INSERT INTO `menu` VALUES (16, 5, 'admin/block', 'blocks', '', 0, 22); INSERT INTO `menu` VALUES (17, 5, 'admin/comment', 'comments', '', 0, 22); INSERT INTO `menu` VALUES (18, 5, 'admin/help', 'help', '', 9, 22); INSERT INTO `menu` VALUES (19, 5, 'admin/menu', 'menus', '', 0, 22); INSERT INTO `menu` VALUES (20, 5, 'admin/taxonomy', 'categories', '', 0, 22); INSERT INTO `menu` VALUES (21, 11, 'admin/settings/node', 'posts', '', 0, 22); INSERT INTO `menu` VALUES (22, 11, 'admin/settings/content-types', 'content types', '', 0, 22); INSERT INTO `menu` VALUES (23, 11, 'admin/settings/user', 'users', '', 0, 22); INSERT INTO `menu` VALUES (24, 11, 'admin/settings/menu', 'menus', '', 0, 22); INSERT INTO `menu` VALUES (25, 9, 'node/add/page', 'page', '', 0, 22); INSERT INTO `menu` VALUES (26, 9, 'node/add/story', 'story', '', 0, 22); INSERT INTO `menu` VALUES (27, 11, 'admin/settings/flexinode', 'flexinode', '', 0, 22); INSERT INTO `menu` VALUES (28, 9, 'node/add/flexinode-1', 'Animal Stats', '', 0, 22); INSERT INTO `menu` VALUES (29, 11, 'admin/settings/aggregator', 'aggregator', '', 0, 22); INSERT INTO `menu` VALUES (30, 11, 'admin/settings/search', 'search', '', 0, 22); INSERT INTO `menu` VALUES (31, 11, 'admin/settings/upload', 'upload', '', 0, 22); INSERT INTO `menu` VALUES (32, 5, 'admin/aggregator', 'aggregator', '', 0, 22); INSERT INTO `menu` VALUES (33, 1, 'aggregator', 'news aggregator', '', 5, 22); INSERT INTO `menu` VALUES (34, 1, 'archive', 'archives', '', 0, 16); INSERT INTO `menu` VALUES (35, 9, 'node/add/blog', 'blog entry', '', 0, 22); INSERT INTO `menu` VALUES (36, 1, 'blog', 'blogs', '', 0, 16); INSERT INTO `menu` VALUES (37, 9, 'node/add/book', 'book page', '', 0, 22); INSERT INTO `menu` VALUES (38, 1, 'book', 'books', '', 0, 16); INSERT INTO `menu` VALUES (39, 9, 'node/add/poll', 'poll', '', 0, 22); INSERT INTO `menu` VALUES (40, 1, 'poll', 'polls', '', 0, 16); INSERT INTO `menu` VALUES (41, 1, 'search', 'search', '', 0, 16); INSERT INTO `menu` VALUES (42, 33, 'aggregator/sources', 'sources', '', 0, 22); INSERT INTO `menu` VALUES (43, 33, 'aggregator/categories', 'categories', '', 0, 28); INSERT INTO `menu` VALUES (44, 9, 'node/add/flexinode-2', 'Animal Stats', '', 0, 22); INSERT INTO `menu` VALUES (45, 9, 'node/add/flexinode-3', 'fedg', '', 0, 22); INSERT INTO `menu` VALUES (46, 9, 'node/add/flexinode-4', 'Animal Stats', '', 0, 22); INSERT INTO `menu` VALUES (47, 11, 'admin/settings/adsense', 'adsense', '', 0, 22); INSERT INTO `menu` VALUES (48, 11, 'admin/settings/throttle', 'throttle', '', 0, 22); INSERT INTO `menu` VALUES (49, 1, 'node/6', 'quick pick', 'A selection of the most interesting articles and content posted over the last week.', 3, 118); INSERT INTO `menu` VALUES (50, 9, 'node/add/forum', 'forum topic', '', 0, 22); INSERT INTO `menu` VALUES (51, 1, 'forum', 'forums', '', 0, 16); INSERT INTO `menu` VALUES (52, 5, 'admin/forum', 'forums', '', 0, 22); INSERT INTO `menu` VALUES (53, 11, 'admin/settings/poormanscron', 'poormanscron', '', 0, 22); INSERT INTO `menu` VALUES (54, 16, 'admin/block/taxonomy_block', 'taxonomy block', '', 0, 22); -- -------------------------------------------------------- -- -- Table structure for table `node` -- DROP TABLE IF EXISTS `node`; CREATE TABLE IF NOT EXISTS `node` ( `nid` int(10) unsigned NOT NULL auto_increment, `vid` int(10) unsigned NOT NULL default '0', `type` varchar(32) NOT NULL default '', `title` varchar(128) NOT NULL default '', `uid` int(10) NOT NULL default '0', `status` int(4) NOT NULL default '1', `created` int(11) NOT NULL default '0', `changed` int(11) NOT NULL default '0', `comment` int(2) NOT NULL default '0', `promote` int(2) NOT NULL default '0', `moderate` int(2) NOT NULL default '0', `sticky` int(2) NOT NULL default '0', PRIMARY KEY (`nid`), KEY `node_type` (`type`(4)), KEY `node_title_type` (`title`,`type`(4)), KEY `status` (`status`), KEY `uid` (`uid`), KEY `vid` (`vid`), KEY `node_moderate` (`moderate`), KEY `node_promote_status` (`promote`,`status`), KEY `node_created` (`created`), KEY `node_changed` (`changed`), KEY `node_status_type` (`status`,`type`,`nid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=12 ; -- -- Dumping data for table `node` -- INSERT INTO `node` VALUES (1, 1, 'story', 'An authenticated user''s story...', 2, 1, 1144748095, 1144748113, 2, 1, 0, 0); INSERT INTO `node` VALUES (3, 3, 'story', 'will I get any revenue?', 2, 1, 1144759380, 1144759380, 2, 1, 0, 0); INSERT INTO `node` VALUES (4, 4, 'blog', 'Ads...', 1, 1, 1144832708, 1144832838, 2, 1, 0, 0); INSERT INTO `node` VALUES (5, 5, 'page', 'Ads...', 2, 1, 1144833059, 1144833549, 2, 1, 0, 0); INSERT INTO `node` VALUES (6, 6, 'page', 'quick pick', 1, 1, 1144841051, 1144844045, 0, 1, 0, 0); INSERT INTO `node` VALUES (7, 7, 'blog', 'Adv. <NAME> takes on canned lion hunting in SA!', 1, 1, 1144922789, 1144922789, 2, 1, 0, 0); INSERT INTO `node` VALUES (8, 8, 'blog', 'Skullduggery', 1, 1, 1144923792, 1144923792, 2, 1, 0, 0); INSERT INTO `node` VALUES (9, 9, 'blog', 'related', 1, 1, 1144924465, 1144924465, 2, 1, 0, 0); INSERT INTO `node` VALUES (11, 11, 'blog', 'unfair... cornered enclosed', 1, 1, 1146064394, 1146064394, 2, 1, 0, 0); -- -------------------------------------------------------- -- -- Table structure for table `node_access` -- DROP TABLE IF EXISTS `node_access`; CREATE TABLE IF NOT EXISTS `node_access` ( `nid` int(10) unsigned NOT NULL default '0', `gid` int(10) unsigned NOT NULL default '0', `realm` varchar(255) NOT NULL default '', `grant_view` tinyint(1) unsigned NOT NULL default '0', `grant_update` tinyint(1) unsigned NOT NULL default '0', `grant_delete` tinyint(1) unsigned NOT NULL default '0', PRIMARY KEY (`nid`,`gid`,`realm`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `node_access` -- INSERT INTO `node_access` VALUES (0, 0, 'all', 1, 0, 0); -- -------------------------------------------------------- -- -- Table structure for table `node_comment_statistics` -- DROP TABLE IF EXISTS `node_comment_statistics`; CREATE TABLE IF NOT EXISTS `node_comment_statistics` ( `nid` int(10) unsigned NOT NULL auto_increment, `last_comment_timestamp` int(11) NOT NULL default '0', `last_comment_name` varchar(60) default NULL, `last_comment_uid` int(10) NOT NULL default '0', `comment_count` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`nid`), KEY `node_comment_timestamp` (`last_comment_timestamp`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=12 ; -- -- Dumping data for table `node_comment_statistics` -- INSERT INTO `node_comment_statistics` VALUES (1, 1144748095, NULL, 2, 0); INSERT INTO `node_comment_statistics` VALUES (3, 1144759380, NULL, 2, 0); INSERT INTO `node_comment_statistics` VALUES (4, 1144832708, NULL, 1, 0); INSERT INTO `node_comment_statistics` VALUES (5, 1144833059, NULL, 2, 0); INSERT INTO `node_comment_statistics` VALUES (6, 1144841051, NULL, 1, 0); INSERT INTO `node_comment_statistics` VALUES (7, 1144922789, NULL, 1, 0); INSERT INTO `node_comment_statistics` VALUES (8, 1144923792, NULL, 1, 0); INSERT INTO `node_comment_statistics` VALUES (9, 1144924465, NULL, 1, 0); INSERT INTO `node_comment_statistics` VALUES (11, 1146064394, NULL, 1, 0); -- -------------------------------------------------------- -- -- Table structure for table `node_counter` -- DROP TABLE IF EXISTS `node_counter`; CREATE TABLE IF NOT EXISTS `node_counter` ( `nid` int(11) NOT NULL default '0', `totalcount` bigint(20) unsigned NOT NULL default '0', `daycount` mediumint(8) unsigned NOT NULL default '0', `timestamp` int(11) unsigned NOT NULL default '0', PRIMARY KEY (`nid`), KEY `totalcount` (`totalcount`), KEY `daycount` (`daycount`), KEY `timestamp` (`timestamp`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `node_counter` -- -- -------------------------------------------------------- -- -- Table structure for table `node_revisions` -- DROP TABLE IF EXISTS `node_revisions`; CREATE TABLE IF NOT EXISTS `node_revisions` ( `nid` int(10) unsigned NOT NULL default '0', `vid` int(10) unsigned NOT NULL default '0', `uid` int(10) NOT NULL default '0', `title` varchar(128) NOT NULL default '', `body` longtext NOT NULL, `teaser` longtext NOT NULL, `log` longtext NOT NULL, `timestamp` int(11) NOT NULL default '0', `format` int(4) NOT NULL default '0', PRIMARY KEY (`vid`), KEY `nid` (`nid`), KEY `uid` (`uid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `node_revisions` -- INSERT INTO `node_revisions` VALUES (1, 1, 2, 'An authenticated user''s story...', 'This is my first story.. with a spelling error', 'This is my first story.. with a spelling error', '', 1144748113, 1); INSERT INTO `node_revisions` VALUES (3, 3, 2, 'will I get any revenue?', 'who can say at this point..', 'who can say at this point..', '', 1144759380, 1); INSERT INTO `node_revisions` VALUES (4, 4, 1, 'Ads...', 'Hi,\r\n\r\nThis is a page of Google ads:\r\n\r\n[adsense:160x60:1:1]', 'Hi,\r\n\r\nThis is a page of Google ads:\r\n\r\n[adsense:160x60:1:1]', '', 1144832838, 3); INSERT INTO `node_revisions` VALUES (5, 5, 2, 'Ads...', 'Hi,\r\n\r\nThis is a page of Google Ads:\r\n\r\n[adsense:336x280:2:1]\r\n\r\nAll the best...', 'Hi,\r\n\r\nThis is a page of Google Ads:\r\n\r\n[adsense:336x280:2:1]\r\n\r\nAll the best...', '', 1144833549, 3); INSERT INTO `node_revisions` VALUES (6, 6, 1, 'quick pick', '<table border="0">\r\n <tr>\r\n <td colspan="2" class="body" width="100%">\r\n <strong>Please select a link below to view that article:</strong>\r\n <hr>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td class="body" valign="top">\r\n <br>\r\n <a style="underline" href="javascript:ajaxpage(''/drupal/files/09_02_news.txt'', ''contentarea'');">Latest News</a>\r\n <a href="javascript:ajaxpage(''/drupal/files/09_02_notnews.txt'', ''contentarea'');">Plain Old Content</a>\r\n </td>\r\n\r\n <td id="contentarea" width="70%" align="center"></td>\r\n </tr>\r\n</table>\r\n', '<table border="0">\r\n <tr>\r\n <td colspan="2" class="body" width="100%">\r\n <strong>Please select a link below to view that article:</strong>\r\n <hr>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td class="body" valign="top">\r\n <br>\r\n <a style="underline" href="javascript:ajaxpage(''/drupal/files/09_02_news.txt'', ''contentarea'');">Latest News</a>\r\n <a href="javascript:ajaxpage(''/drupal/files/09_02_notnews.txt'', ''contentarea'');">Plain Old Content</a>\r\n </td>\r\n\r\n <td id="contentarea" width="70%" align="center"></td>\r\n </tr>\r\n</table>\r\n', '', 1144844045, 3); INSERT INTO `node_revisions` VALUES (7, 7, 1, 'Adv. <NAME> takes on canned lion hunting in SA!', 'The protection of our wildlife cannot be left to the morally depraved conservation bureaucracy...', 'The protection of our wildlife cannot be left to the morally depraved conservation bureaucracy...', '', 1144922789, 1); INSERT INTO `node_revisions` VALUES (8, 8, 1, 'Skullduggery', 'Trophy hunting and canned hunting go hand in hand when it comes to the wanton destruction of our most beautiful animals...', 'Trophy hunting and canned hunting go hand in hand when it comes to the wanton destruction of our most beautiful animals...', '', 1144923792, 1); INSERT INTO `node_revisions` VALUES (9, 9, 1, 'related', 'this is related to trophy hunting', 'this is related to trophy hunting', '', 1144924465, 1); INSERT INTO `node_revisions` VALUES (11, 11, 1, 'unfair... cornered enclosed', 'enclosed and cornered', 'enclosed and cornered', '', 1146064394, 1); -- -------------------------------------------------------- -- -- Table structure for table `permission` -- DROP TABLE IF EXISTS `permission`; CREATE TABLE IF NOT EXISTS `permission` ( `rid` int(10) unsigned NOT NULL default '0', `perm` longtext, `tid` int(10) unsigned NOT NULL default '0', KEY `rid` (`rid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `permission` -- INSERT INTO `permission` VALUES (1, 'access content', 0); INSERT INTO `permission` VALUES (2, 'access comments, post comments, post comments without approval, access content, create pages, edit own pages, create stories, edit own stories', 0); -- -------------------------------------------------------- -- -- Table structure for table `poll` -- DROP TABLE IF EXISTS `poll`; CREATE TABLE IF NOT EXISTS `poll` ( `nid` int(10) unsigned NOT NULL default '0', `runtime` int(10) NOT NULL default '0', `active` int(2) unsigned NOT NULL default '0', PRIMARY KEY (`nid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `poll` -- -- -------------------------------------------------------- -- -- Table structure for table `poll_choices` -- DROP TABLE IF EXISTS `poll_choices`; CREATE TABLE IF NOT EXISTS `poll_choices` ( `chid` int(10) unsigned NOT NULL auto_increment, `nid` int(10) unsigned NOT NULL default '0', `chtext` varchar(128) NOT NULL default '', `chvotes` int(6) NOT NULL default '0', `chorder` int(2) NOT NULL default '0', PRIMARY KEY (`chid`), KEY `nid` (`nid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -- Dumping data for table `poll_choices` -- -- -------------------------------------------------------- -- -- Table structure for table `poll_votes` -- DROP TABLE IF EXISTS `poll_votes`; CREATE TABLE IF NOT EXISTS `poll_votes` ( `nid` int(10) unsigned NOT NULL default '0', `uid` int(10) unsigned NOT NULL default '0', `hostname` varchar(128) NOT NULL default '', KEY `nid` (`nid`), KEY `uid` (`uid`), KEY `hostname` (`hostname`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `poll_votes` -- -- -------------------------------------------------------- -- -- Table structure for table `profile_fields` -- DROP TABLE IF EXISTS `profile_fields`; CREATE TABLE IF NOT EXISTS `profile_fields` ( `fid` int(10) NOT NULL auto_increment, `title` varchar(255) default NULL, `name` varchar(128) default NULL, `explanation` text, `category` varchar(255) default NULL, `page` varchar(255) default NULL, `type` varchar(128) default NULL, `weight` tinyint(1) NOT NULL default '0', `required` tinyint(1) NOT NULL default '0', `register` tinyint(1) NOT NULL default '0', `visibility` tinyint(1) NOT NULL default '0', `options` text, PRIMARY KEY (`fid`), UNIQUE KEY `name` (`name`), KEY `category` (`category`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -- Dumping data for table `profile_fields` -- -- -------------------------------------------------------- -- -- Table structure for table `profile_values` -- DROP TABLE IF EXISTS `profile_values`; CREATE TABLE IF NOT EXISTS `profile_values` ( `fid` int(10) unsigned default '0', `uid` int(10) unsigned default '0', `value` text, KEY `uid` (`uid`), KEY `fid` (`fid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `profile_values` -- -- -------------------------------------------------------- -- -- Table structure for table `role` -- DROP TABLE IF EXISTS `role`; CREATE TABLE IF NOT EXISTS `role` ( `rid` int(10) unsigned NOT NULL auto_increment, `name` varchar(32) NOT NULL default '', PRIMARY KEY (`rid`), UNIQUE KEY `name` (`name`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ; -- -- Dumping data for table `role` -- INSERT INTO `role` VALUES (1, 'anonymous user'); INSERT INTO `role` VALUES (2, 'authenticated user'); -- -------------------------------------------------------- -- -- Table structure for table `search_dataset` -- DROP TABLE IF EXISTS `search_dataset`; CREATE TABLE IF NOT EXISTS `search_dataset` ( `sid` int(10) unsigned NOT NULL default '0', `type` varchar(16) default NULL, `data` longtext NOT NULL, KEY `sid_type` (`sid`,`type`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `search_dataset` -- INSERT INTO `search_dataset` VALUES (1, 'node', ' an authenticated user s story this is my first story with a spelling error '); INSERT INTO `search_dataset` VALUES (3, 'node', ' will i get any revenue who can say at this point '); INSERT INTO `search_dataset` VALUES (4, 'node', ' ads hi this is a page of google ads '); INSERT INTO `search_dataset` VALUES (5, 'node', ' ads hi this is a page of google ads google adsense ad placeholder here all the best '); INSERT INTO `search_dataset` VALUES (6, 'node', ' quick pick please select a link below to view that article latest news plain old content '); INSERT INTO `search_dataset` VALUES (7, 'node', ' adv chris mercer takes on canned lion hunting in sa the protection of our wildlife cannot be left to the morally depraved conservation bureaucracy '); INSERT INTO `search_dataset` VALUES (8, 'node', ' skullduggery trophy hunting and canned hunting go hand in hand when it comes to the wanton destruction of our most beautiful animals '); INSERT INTO `search_dataset` VALUES (9, 'node', ' related this is related to trophy hunting '); INSERT INTO `search_dataset` VALUES (11, 'node', ' unfair cornered enclosed enclosed and cornered '); -- -------------------------------------------------------- -- -- Table structure for table `search_index` -- DROP TABLE IF EXISTS `search_index`; CREATE TABLE IF NOT EXISTS `search_index` ( `word` varchar(50) NOT NULL default '', `sid` int(10) unsigned NOT NULL default '0', `type` varchar(16) default NULL, `fromsid` int(10) unsigned NOT NULL default '0', `fromtype` varchar(16) default NULL, `score` float default NULL, KEY `sid_type` (`sid`,`type`), KEY `from_sid_type` (`fromsid`,`fromtype`), KEY `word` (`word`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `search_index` -- INSERT INTO `search_index` VALUES ('spelling', 1, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('with', 1, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('first', 1, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('this', 1, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('story', 1, 'node', 0, NULL, 27); INSERT INTO `search_index` VALUES ('user', 1, 'node', 0, NULL, 26); INSERT INTO `search_index` VALUES ('this', 3, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('say', 3, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('can', 3, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('who', 3, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('revenue', 3, 'node', 0, NULL, 26); INSERT INTO `search_index` VALUES ('any', 3, 'node', 0, NULL, 26); INSERT INTO `search_index` VALUES ('get', 3, 'node', 0, NULL, 26); INSERT INTO `search_index` VALUES ('page', 4, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('this', 4, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('ads', 4, 'node', 0, NULL, 27); INSERT INTO `search_index` VALUES ('all', 5, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('here', 5, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('placeholder', 5, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('adsense', 5, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('google', 5, 'node', 0, NULL, 2); INSERT INTO `search_index` VALUES ('page', 5, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('plain', 6, 'node', 0, NULL, 11); INSERT INTO `search_index` VALUES ('news', 6, 'node', 0, NULL, 11); INSERT INTO `search_index` VALUES ('latest', 6, 'node', 0, NULL, 11); INSERT INTO `search_index` VALUES ('article', 6, 'node', 0, NULL, 4); INSERT INTO `search_index` VALUES ('that', 6, 'node', 0, NULL, 4); INSERT INTO `search_index` VALUES ('view', 6, 'node', 0, NULL, 4); INSERT INTO `search_index` VALUES ('below', 6, 'node', 0, NULL, 4); INSERT INTO `search_index` VALUES ('link', 6, 'node', 0, NULL, 4); INSERT INTO `search_index` VALUES ('select', 6, 'node', 0, NULL, 4); INSERT INTO `search_index` VALUES ('please', 6, 'node', 0, NULL, 4); INSERT INTO `search_index` VALUES ('depraved', 7, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('morally', 7, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('left', 7, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('cannot', 7, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('wildlife', 7, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('our', 7, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('protection', 7, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('the', 7, 'node', 0, NULL, 2); INSERT INTO `search_index` VALUES ('hunting', 7, 'node', 0, NULL, 26); INSERT INTO `search_index` VALUES ('lion', 7, 'node', 0, NULL, 26); INSERT INTO `search_index` VALUES ('canned', 7, 'node', 0, NULL, 26); INSERT INTO `search_index` VALUES ('takes', 7, 'node', 0, NULL, 26); INSERT INTO `search_index` VALUES ('destruction', 8, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('wanton', 8, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('the', 8, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('comes', 8, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('when', 8, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('hand', 8, 'node', 0, NULL, 2); INSERT INTO `search_index` VALUES ('canned', 8, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('and', 8, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('hunting', 8, 'node', 0, NULL, 2); INSERT INTO `search_index` VALUES ('hunting', 9, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('trophy', 9, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('this', 9, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('authenticated', 1, 'node', 0, NULL, 26); INSERT INTO `search_index` VALUES ('will', 3, 'node', 0, NULL, 26); INSERT INTO `search_index` VALUES ('google', 4, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('this', 5, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('ads', 5, 'node', 0, NULL, 27); INSERT INTO `search_index` VALUES ('pick', 6, 'node', 0, NULL, 26); INSERT INTO `search_index` VALUES ('quick', 6, 'node', 0, NULL, 26); INSERT INTO `search_index` VALUES ('conservation', 7, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('mercer', 7, 'node', 0, NULL, 26); INSERT INTO `search_index` VALUES ('chris', 7, 'node', 0, NULL, 26); INSERT INTO `search_index` VALUES ('adv', 7, 'node', 0, NULL, 26); INSERT INTO `search_index` VALUES ('trophy', 8, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('skullduggery', 8, 'node', 0, NULL, 26); INSERT INTO `search_index` VALUES ('related', 9, 'node', 0, NULL, 27); INSERT INTO `search_index` VALUES ('enclosed', 11, 'node', 0, NULL, 27); INSERT INTO `search_index` VALUES ('cornered', 11, 'node', 0, NULL, 27); INSERT INTO `search_index` VALUES ('unfair', 11, 'node', 0, NULL, 26); INSERT INTO `search_index` VALUES ('error', 1, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('point', 3, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('the', 5, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('best', 5, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('old', 6, 'node', 0, NULL, 11); INSERT INTO `search_index` VALUES ('content', 6, 'node', 0, NULL, 11); INSERT INTO `search_index` VALUES ('bureaucracy', 7, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('our', 8, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('most', 8, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('beautiful', 8, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('animals', 8, 'node', 0, NULL, 1); INSERT INTO `search_index` VALUES ('and', 11, 'node', 0, NULL, 1); -- -------------------------------------------------------- -- -- Table structure for table `search_total` -- DROP TABLE IF EXISTS `search_total`; CREATE TABLE IF NOT EXISTS `search_total` ( `word` varchar(50) NOT NULL default '', `count` float default NULL, PRIMARY KEY (`word`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `search_total` -- INSERT INTO `search_total` VALUES ('authenticated', 0.0163904); INSERT INTO `search_total` VALUES ('user', 0.0163904); INSERT INTO `search_total` VALUES ('story', 0.0157943); INSERT INTO `search_total` VALUES ('this', 0.0791812); INSERT INTO `search_total` VALUES ('first', 0.30103); INSERT INTO `search_total` VALUES ('with', 0.30103); INSERT INTO `search_total` VALUES ('spelling', 0.30103); INSERT INTO `search_total` VALUES ('error', 0.30103); INSERT INTO `search_total` VALUES ('will', 0.0163904); INSERT INTO `search_total` VALUES ('get', 0.0163904); INSERT INTO `search_total` VALUES ('any', 0.0163904); INSERT INTO `search_total` VALUES ('revenue', 0.0163904); INSERT INTO `search_total` VALUES ('who', 0.30103); INSERT INTO `search_total` VALUES ('can', 0.30103); INSERT INTO `search_total` VALUES ('say', 0.30103); INSERT INTO `search_total` VALUES ('point', 0.30103); INSERT INTO `search_total` VALUES ('ads', 0.00796893); INSERT INTO `search_total` VALUES ('page', 0.176091); INSERT INTO `search_total` VALUES ('google', 0.124939); INSERT INTO `search_total` VALUES ('adsense', 0.30103); INSERT INTO `search_total` VALUES ('placeholder', 0.30103); INSERT INTO `search_total` VALUES ('here', 0.30103); INSERT INTO `search_total` VALUES ('all', 0.30103); INSERT INTO `search_total` VALUES ('the', 0.0791812); INSERT INTO `search_total` VALUES ('best', 0.30103); INSERT INTO `search_total` VALUES ('quick', 0.0163904); INSERT INTO `search_total` VALUES ('pick', 0.0163904); INSERT INTO `search_total` VALUES ('please', 0.09691); INSERT INTO `search_total` VALUES ('select', 0.09691); INSERT INTO `search_total` VALUES ('link', 0.09691); INSERT INTO `search_total` VALUES ('below', 0.09691); INSERT INTO `search_total` VALUES ('view', 0.09691); INSERT INTO `search_total` VALUES ('that', 0.09691); INSERT INTO `search_total` VALUES ('article', 0.09691); INSERT INTO `search_total` VALUES ('latest', 0.0377886); INSERT INTO `search_total` VALUES ('news', 0.0377886); INSERT INTO `search_total` VALUES ('plain', 0.0377886); INSERT INTO `search_total` VALUES ('old', 0.0377886); INSERT INTO `search_total` VALUES ('content', 0.0377886); INSERT INTO `search_total` VALUES ('adv', 0.0163904); INSERT INTO `search_total` VALUES ('chris', 0.0163904); INSERT INTO `search_total` VALUES ('mercer', 0.0163904); INSERT INTO `search_total` VALUES ('takes', 0.0163904); INSERT INTO `search_total` VALUES ('canned', 0.0157943); INSERT INTO `search_total` VALUES ('lion', 0.0163904); INSERT INTO `search_total` VALUES ('hunting', 0.00782534); INSERT INTO `search_total` VALUES ('protection', 0.30103); INSERT INTO `search_total` VALUES ('our', 0.176091); INSERT INTO `search_total` VALUES ('wildlife', 0.30103); INSERT INTO `search_total` VALUES ('cannot', 0.30103); INSERT INTO `search_total` VALUES ('left', 0.30103); INSERT INTO `search_total` VALUES ('morally', 0.30103); INSERT INTO `search_total` VALUES ('depraved', 0.30103); INSERT INTO `search_total` VALUES ('conservation', 0.30103); INSERT INTO `search_total` VALUES ('bureaucracy', 0.30103); INSERT INTO `search_total` VALUES ('skullduggery', 0.0163904); INSERT INTO `search_total` VALUES ('trophy', 0.176091); INSERT INTO `search_total` VALUES ('and', 0.176091); INSERT INTO `search_total` VALUES ('hand', 0.176091); INSERT INTO `search_total` VALUES ('when', 0.30103); INSERT INTO `search_total` VALUES ('comes', 0.30103); INSERT INTO `search_total` VALUES ('wanton', 0.30103); INSERT INTO `search_total` VALUES ('destruction', 0.30103); INSERT INTO `search_total` VALUES ('most', 0.30103); INSERT INTO `search_total` VALUES ('beautiful', 0.30103); INSERT INTO `search_total` VALUES ('animals', 0.30103); INSERT INTO `search_total` VALUES ('related', 0.0157943); INSERT INTO `search_total` VALUES ('another', 0.0163904); INSERT INTO `search_total` VALUES ('post', 0.0163904); INSERT INTO `search_total` VALUES ('hunters', 0.30103); INSERT INTO `search_total` VALUES ('hunt', 0.30103); INSERT INTO `search_total` VALUES ('silly', 0.30103); INSERT INTO `search_total` VALUES ('unts', 0.30103); INSERT INTO `search_total` VALUES ('unfair', 0.0163904); INSERT INTO `search_total` VALUES ('cornered', 0.0157943); INSERT INTO `search_total` VALUES ('enclosed', 0.0157943); -- -------------------------------------------------------- -- -- Table structure for table `sequences` -- DROP TABLE IF EXISTS `sequences`; CREATE TABLE IF NOT EXISTS `sequences` ( `name` varchar(255) NOT NULL default '', `id` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`name`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `sequences` -- INSERT INTO `sequences` VALUES ('menu_mid', 54); INSERT INTO `sequences` VALUES ('users_uid', 2); INSERT INTO `sequences` VALUES ('node_nid', 11); INSERT INTO `sequences` VALUES ('node_revisions_vid', 11); INSERT INTO `sequences` VALUES ('access_aid', 1); INSERT INTO `sequences` VALUES ('flexinode_ctype', 4); INSERT INTO `sequences` VALUES ('flexinode_field', 11); INSERT INTO `sequences` VALUES ('files_fid', 3); INSERT INTO `sequences` VALUES ('vocabulary_vid', 5); INSERT INTO `sequences` VALUES ('term_data_tid', 2); -- -------------------------------------------------------- -- -- Table structure for table `sessions` -- DROP TABLE IF EXISTS `sessions`; CREATE TABLE IF NOT EXISTS `sessions` ( `uid` int(10) unsigned NOT NULL default '0', `sid` varchar(32) NOT NULL default '', `hostname` varchar(128) NOT NULL default '', `timestamp` int(11) NOT NULL default '0', `cache` int(11) NOT NULL default '0', `session` longtext, PRIMARY KEY (`sid`), KEY `uid` (`uid`), KEY `timestamp` (`timestamp`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `sessions` -- INSERT INTO `sessions` VALUES (1, '85f87c150c7aef0df663ae3bf1442d1d', '127.0.0.1', 1146733133, 0, 'watchdog_overview_filter|s:3:"all";'); INSERT INTO `sessions` VALUES (1, '3819ab30fdafc395d05985543ca3b2fa', '127.0.0.1', 1146064658, 0, 'watchdog_overview_filter|s:3:"all";'); -- -------------------------------------------------------- -- -- Table structure for table `system` -- DROP TABLE IF EXISTS `system`; CREATE TABLE IF NOT EXISTS `system` ( `filename` varchar(255) NOT NULL default '', `name` varchar(255) NOT NULL default '', `type` varchar(255) NOT NULL default '', `description` varchar(255) NOT NULL default '', `status` int(2) NOT NULL default '0', `throttle` tinyint(1) NOT NULL default '0', `bootstrap` int(2) NOT NULL default '0', `schema_version` smallint(3) NOT NULL default '-1', `weight` int(2) NOT NULL default '0', PRIMARY KEY (`filename`), KEY `weight` (`weight`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `system` -- INSERT INTO `system` VALUES ('modules/block.module', 'block', 'module', 'Controls the boxes that are displayed around the main content.', 1, 1, 0, 0, 0); INSERT INTO `system` VALUES ('modules/comment.module', 'comment', 'module', 'Allows users to comment on and discuss published content.', 1, 0, 0, 0, 0); INSERT INTO `system` VALUES ('modules/filter.module', 'filter', 'module', 'Handles the filtering of content in preparation for display.', 1, 1, 0, 0, 0); INSERT INTO `system` VALUES ('modules/help.module', 'help', 'module', 'Manages the display of online help.', 1, 0, 0, 0, 0); INSERT INTO `system` VALUES ('modules/menu.module', 'menu', 'module', 'Allows administrators to customize the site navigation menu.', 1, 0, 0, 0, 0); INSERT INTO `system` VALUES ('modules/node.module', 'node', 'module', 'Allows content to be submitted to the site and displayed on pages.', 1, 1, 0, 0, 0); INSERT INTO `system` VALUES ('modules/page.module', 'page', 'module', 'Enables the creation of pages that can be added to the navigation system.', 1, 0, 0, 0, 0); INSERT INTO `system` VALUES ('modules/story.module', 'story', 'module', 'Allows users to submit stories, articles or similar content.', 1, 0, 0, 0, 0); INSERT INTO `system` VALUES ('modules/system.module', 'system', 'module', 'Handles general site configuration for administrators.', 1, 1, 0, 178, 0); INSERT INTO `system` VALUES ('modules/taxonomy.module', 'taxonomy', 'module', 'Enables the categorization of content.', 1, 0, 0, 0, 0); INSERT INTO `system` VALUES ('modules/user.module', 'user', 'module', 'Manages the user registration and login system.', 1, 1, 0, 0, 0); INSERT INTO `system` VALUES ('modules/watchdog.module', 'watchdog', 'module', 'Logs and records system events.', 1, 1, 0, 0, 0); INSERT INTO `system` VALUES ('themes/engines/phptemplate/phptemplate.engine', 'phptemplate', 'theme_engine', '', 1, 0, 0, -1, 0); INSERT INTO `system` VALUES ('modules/aggregator.module', 'aggregator', 'module', 'Aggregates syndicated content (RSS and RDF feeds).', 1, 0, 0, 0, 0); INSERT INTO `system` VALUES ('modules/archive.module', 'archive', 'module', 'Displays a calendar for navigating older content.', 1, 0, 0, 0, 0); INSERT INTO `system` VALUES ('modules/blog.module', 'blog', 'module', 'Enables keeping an easily and regularly updated web page or a blog.', 1, 0, 0, 0, 0); INSERT INTO `system` VALUES ('modules/blogapi.module', 'blogapi', 'module', 'Allows users to post content using applications that support XML-RPC blog APIs.', 0, 0, 0, -1, 0); INSERT INTO `system` VALUES ('modules/book.module', 'book', 'module', 'Allows users to collaboratively author a book.', 1, 0, 0, 0, 0); INSERT INTO `system` VALUES ('modules/contact.module', 'contact', 'module', 'Enables the use of both personal and site-wide contact forms.', 0, 0, 0, -1, 0); INSERT INTO `system` VALUES ('modules/drupal.module', 'drupal', 'module', 'Lets you register your site with a central server and improve ranking of Drupal projects by posting information on your installed modules and themes; also enables users to log in using a Drupal ID.', 0, 0, 0, -1, 0); INSERT INTO `system` VALUES ('modules/flexinode/flexinode.module', 'flexinode', 'module', 'Allows administrators to define their own content types.', 1, 0, 0, 0, 0); INSERT INTO `system` VALUES ('modules/forum.module', 'forum', 'module', 'Enables threaded discussions about general topics.', 1, 0, 0, 0, 0); INSERT INTO `system` VALUES ('modules/legacy.module', 'legacy', 'module', 'Provides legacy handlers for upgrades from older Drupal installations.', 0, 0, 0, -1, 0); INSERT INTO `system` VALUES ('modules/locale.module', 'locale', 'module', 'Enables the translation of the user interface to languages other than English.', 0, 0, 0, -1, 0); INSERT INTO `system` VALUES ('modules/path.module', 'path', 'module', 'Allows users to rename URLs.', 0, 0, 0, -1, 0); INSERT INTO `system` VALUES ('modules/ping.module', 'ping', 'module', 'Alerts other sites when your site has been updated.', 0, 0, 0, 0, 0); INSERT INTO `system` VALUES ('modules/poll.module', 'poll', 'module', 'Allows your site to capture votes on different topics in the form of multiple choice questions.', 1, 0, 0, 0, 0); INSERT INTO `system` VALUES ('modules/profile.module', 'profile', 'module', 'Supports configurable user profiles.', 0, 0, 0, -1, 0); INSERT INTO `system` VALUES ('modules/search.module', 'search', 'module', 'Enables site-wide keyword searching.', 1, 0, 0, 0, 0); INSERT INTO `system` VALUES ('modules/statistics.module', 'statistics', 'module', 'Logs access statistics for your site.', 0, 0, 1, -1, 0); INSERT INTO `system` VALUES ('modules/throttle.module', 'throttle', 'module', 'Handles the auto-throttling mechanism, to control site congestion.', 1, 1, 1, 0, 0); INSERT INTO `system` VALUES ('modules/tracker.module', 'tracker', 'module', 'Enables tracking of recent posts for users.', 0, 0, 0, -1, 0); INSERT INTO `system` VALUES ('modules/upload.module', 'upload', 'module', 'Allows users to upload and attach files to content.', 1, 0, 0, 0, 0); INSERT INTO `system` VALUES ('modules/adsense/adsense.module', 'adsense', 'module', 'Display Google AdSense ads on your site to earn revenue.', 1, 0, 0, 0, 0); INSERT INTO `system` VALUES ('themes/pushbutton/page.tpl.php', 'pushbutton', 'theme', 'themes/engines/phptemplate/phptemplate.engine', 1, 0, 0, -1, 0); INSERT INTO `system` VALUES ('themes/box_grey/box_cleanslate/style.css', 'box_cleanslate', 'theme', 'themes/box_grey/page.tpl.php', 0, 0, 0, -1, 0); INSERT INTO `system` VALUES ('themes/chameleon/marvin/style.css', 'marvin', 'theme', 'themes/chameleon/chameleon.theme', 0, 0, 0, -1, 0); INSERT INTO `system` VALUES ('themes/box_grey_dev/page.tpl.php', 'box_grey_dev', 'theme', 'themes/engines/phptemplate/phptemplate.engine', 1, 0, 0, -1, 0); INSERT INTO `system` VALUES ('themes/box_grey/page.tpl.php', 'box_grey', 'theme', 'themes/engines/phptemplate/phptemplate.engine', 0, 0, 0, -1, 0); INSERT INTO `system` VALUES ('themes/chameleon/chameleon.theme', 'chameleon', 'theme', 'themes/chameleon/chameleon.theme', 0, 0, 0, -1, 0); INSERT INTO `system` VALUES ('modules/taxonomy_block/taxonomy_block.module', 'taxonomy_block', 'module', 'Makes blocks based on taxonomy vocabularies and terms.', 1, 0, 0, 0, 0); INSERT INTO `system` VALUES ('modules/poormanscron/poormanscron.module', 'poormanscron', 'module', 'Runs Drupal cron jobs without the cron application.', 1, 0, 1, 0, 0); -- -------------------------------------------------------- -- -- Table structure for table `taxonomy_block` -- DROP TABLE IF EXISTS `taxonomy_block`; CREATE TABLE IF NOT EXISTS `taxonomy_block` ( `description` varchar(100) NOT NULL default '', `teaser` int(10) unsigned NOT NULL default '0', `name` varchar(100) NOT NULL default '', `length` int(10) unsigned NOT NULL default '1', `bid` int(10) unsigned NOT NULL auto_increment, `type` enum('vocabulary','term') NOT NULL default 'vocabulary', `tid` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`bid`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ; -- -- Dumping data for table `taxonomy_block` -- INSERT INTO `taxonomy_block` VALUES ('Different blog categories', 0, 'Blogs', 5, 1, 'term', 2); -- -------------------------------------------------------- -- -- Table structure for table `term_data` -- DROP TABLE IF EXISTS `term_data`; CREATE TABLE IF NOT EXISTS `term_data` ( `tid` int(10) unsigned NOT NULL auto_increment, `vid` int(10) unsigned NOT NULL default '0', `name` varchar(255) NOT NULL default '', `description` longtext, `weight` tinyint(4) NOT NULL default '0', PRIMARY KEY (`tid`), KEY `vid` (`vid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ; -- -- Dumping data for table `term_data` -- INSERT INTO `term_data` VALUES (1, 5, 'Canned', 'A canned hunt is the most despicable of human endeavors. Animals are bred in captivity, drugged, and released into a small enclosure, aggravated and tortured before finally ending up as a trophy. This practice generates large amounts of revenue from Western hunters, especially in countries like South Africa.', 0); INSERT INTO `term_data` VALUES (2, 5, 'Trophy', 'Trophy hunting contributes to the loss of precious large mammals and reptiles. ', 0); -- -------------------------------------------------------- -- -- Table structure for table `term_hierarchy` -- DROP TABLE IF EXISTS `term_hierarchy`; CREATE TABLE IF NOT EXISTS `term_hierarchy` ( `tid` int(10) unsigned NOT NULL default '0', `parent` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`tid`,`parent`), KEY `tid` (`tid`), KEY `parent` (`parent`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `term_hierarchy` -- INSERT INTO `term_hierarchy` VALUES (1, 0); INSERT INTO `term_hierarchy` VALUES (2, 0); -- -------------------------------------------------------- -- -- Table structure for table `term_node` -- DROP TABLE IF EXISTS `term_node`; CREATE TABLE IF NOT EXISTS `term_node` ( `nid` int(10) unsigned NOT NULL default '0', `tid` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`tid`,`nid`), KEY `nid` (`nid`), KEY `tid` (`tid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `term_node` -- INSERT INTO `term_node` VALUES (7, 1); INSERT INTO `term_node` VALUES (9, 1); INSERT INTO `term_node` VALUES (8, 2); -- -------------------------------------------------------- -- -- Table structure for table `term_relation` -- DROP TABLE IF EXISTS `term_relation`; CREATE TABLE IF NOT EXISTS `term_relation` ( `tid1` int(10) unsigned NOT NULL default '0', `tid2` int(10) unsigned NOT NULL default '0', KEY `tid1` (`tid1`), KEY `tid2` (`tid2`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `term_relation` -- INSERT INTO `term_relation` VALUES (1, 2); -- -------------------------------------------------------- -- -- Table structure for table `term_synonym` -- DROP TABLE IF EXISTS `term_synonym`; CREATE TABLE IF NOT EXISTS `term_synonym` ( `tid` int(10) unsigned NOT NULL default '0', `name` varchar(255) NOT NULL default '', KEY `tid` (`tid`), KEY `name` (`name`(3)) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `term_synonym` -- INSERT INTO `term_synonym` VALUES (1, 'cornered'); INSERT INTO `term_synonym` VALUES (1, 'enclosed'); INSERT INTO `term_synonym` VALUES (1, 'unfair'); -- -------------------------------------------------------- -- -- Table structure for table `url_alias` -- DROP TABLE IF EXISTS `url_alias`; CREATE TABLE IF NOT EXISTS `url_alias` ( `pid` int(10) unsigned NOT NULL auto_increment, `src` varchar(128) NOT NULL default '', `dst` varchar(128) NOT NULL default '', PRIMARY KEY (`pid`), UNIQUE KEY `dst` (`dst`), KEY `src` (`src`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; -- -- Dumping data for table `url_alias` -- -- -------------------------------------------------------- -- -- Table structure for table `users` -- DROP TABLE IF EXISTS `users`; CREATE TABLE IF NOT EXISTS `users` ( `uid` int(10) unsigned NOT NULL default '0', `name` varchar(60) NOT NULL default '', `pass` varchar(32) NOT NULL default '', `mail` varchar(64) default '', `mode` tinyint(1) NOT NULL default '0', `sort` tinyint(1) default '0', `threshold` tinyint(1) default '0', `theme` varchar(255) NOT NULL default '', `signature` varchar(255) NOT NULL default '', `created` int(11) NOT NULL default '0', `access` int(11) NOT NULL default '0', `login` int(11) NOT NULL default '0', `status` tinyint(4) NOT NULL default '0', `timezone` varchar(8) default NULL, `language` varchar(12) NOT NULL default '', `picture` varchar(255) NOT NULL default '', `init` varchar(64) default '', `data` longtext, PRIMARY KEY (`uid`), UNIQUE KEY `name` (`name`), KEY `access` (`access`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `users` -- INSERT INTO `users` VALUES (0, '', '', '', 0, 0, 0, '', '', 0, 0, 0, 0, NULL, '', '', '', NULL); INSERT INTO `users` VALUES (1, '<NAME>', '02b474a8e284641710cc122fcccdaa58', '<EMAIL>', 0, 0, 0, '', '', 1144747909, 1146733133, 1146731077, 1, '0', '', '', '<EMAIL>', 'a:0:{}'); INSERT INTO `users` VALUES (2, 'Dave', 'ea53b6f4a319e34e49e56b775f0f1308', '<EMAIL>', 0, 0, 0, '', '', 1144747949, 1144938015, 1144920491, 1, '0', '', '', '<EMAIL>', 'a:0:{}'); -- -------------------------------------------------------- -- -- Table structure for table `users_roles` -- DROP TABLE IF EXISTS `users_roles`; CREATE TABLE IF NOT EXISTS `users_roles` ( `uid` int(10) unsigned NOT NULL default '0', `rid` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`uid`,`rid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `users_roles` -- -- -------------------------------------------------------- -- -- Table structure for table `variable` -- DROP TABLE IF EXISTS `variable`; CREATE TABLE IF NOT EXISTS `variable` ( `name` varchar(48) NOT NULL default '', `value` longtext NOT NULL, PRIMARY KEY (`name`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `variable` -- INSERT INTO `variable` VALUES ('theme_default', 's:12:"box_grey_dev";'); INSERT INTO `variable` VALUES ('filter_html_1', 'i:1;'); INSERT INTO `variable` VALUES ('node_options_forum', 'a:1:{i:0;s:6:"status";}'); INSERT INTO `variable` VALUES ('menu_primary_menu', 's:1:"1";'); INSERT INTO `variable` VALUES ('menu_secondary_menu', 's:1:"2";'); INSERT INTO `variable` VALUES ('theme_box_grey_dev_settings', 'a:15:{s:3:"var";s:27:"theme_box_grey_dev_settings";s:11:"toggle_logo";i:1;s:11:"toggle_name";i:0;s:13:"toggle_slogan";i:0;s:14:"toggle_mission";i:0;s:24:"toggle_node_user_picture";i:0;s:27:"toggle_comment_user_picture";i:0;s:13:"toggle_search";i:0;s:14:"toggle_favicon";i:1;s:12:"default_logo";i:0;s:9:"logo_path";s:14:"files/logo.jpg";s:11:"logo_upload";N;s:15:"default_favicon";i:1;s:12:"favicon_path";s:0:"";s:14:"favicon_upload";N;}'); INSERT INTO `variable` VALUES ('clean_url_ok', 'i:1;'); INSERT INTO `variable` VALUES ('file_directory_temp', 's:20:"C:\\apache2triad\\temp";'); INSERT INTO `variable` VALUES ('menu_parent_items', 's:1:"0";'); INSERT INTO `variable` VALUES ('site_name', 's:6:"drupal";'); INSERT INTO `variable` VALUES ('site_mail', 's:19:"<EMAIL>";'); INSERT INTO `variable` VALUES ('site_slogan', 's:0:"";'); INSERT INTO `variable` VALUES ('site_mission', 's:0:"";'); INSERT INTO `variable` VALUES ('site_footer', 's:0:"";'); INSERT INTO `variable` VALUES ('anonymous', 's:9:"Anonymous";'); INSERT INTO `variable` VALUES ('site_frontpage', 's:4:"node";'); INSERT INTO `variable` VALUES ('clean_url', 's:1:"1";'); INSERT INTO `variable` VALUES ('site_403', 's:0:"";'); INSERT INTO `variable` VALUES ('site_404', 's:0:"";'); INSERT INTO `variable` VALUES ('error_level', 's:1:"1";'); INSERT INTO `variable` VALUES ('watchdog_clear', 's:6:"604800";'); INSERT INTO `variable` VALUES ('cache', 's:1:"0";'); INSERT INTO `variable` VALUES ('cache_lifetime', 's:1:"0";'); INSERT INTO `variable` VALUES ('file_directory_path', 's:5:"files";'); INSERT INTO `variable` VALUES ('file_downloads', 's:1:"1";'); INSERT INTO `variable` VALUES ('feed_default_items', 's:2:"10";'); INSERT INTO `variable` VALUES ('feed_item_length', 's:6:"teaser";'); INSERT INTO `variable` VALUES ('date_default_timezone', 's:1:"0";'); INSERT INTO `variable` VALUES ('configurable_timezones', 's:1:"1";'); INSERT INTO `variable` VALUES ('date_format_short', 's:9:"Y-m-d H:i";'); INSERT INTO `variable` VALUES ('date_format_medium', 's:12:"D, Y-m-d H:i";'); INSERT INTO `variable` VALUES ('date_format_long', 's:15:"l, F j, Y - H:i";'); INSERT INTO `variable` VALUES ('date_first_day', 's:1:"0";'); INSERT INTO `variable` VALUES ('site_offline', 's:1:"0";'); INSERT INTO `variable` VALUES ('site_offline_message', 's:104:"This Drupal site is currently under maintenance. We should be back shortly. Thank you for your patience.";'); INSERT INTO `variable` VALUES ('flexinode-1_help', 's:281:"Please do not submit any content under ten words. Also, ensure that as far as possible you make use of the picture facilities provided with this page and please supply an email address for yourself, or alternatively, for the organization in charge of saving the animal in question.";'); INSERT INTO `variable` VALUES ('minimum_flexinode-1_size', 's:2:"10";'); INSERT INTO `variable` VALUES ('node_options_flexinode-1', 'a:2:{i:0;s:6:"status";i:1;s:7:"promote";}'); INSERT INTO `variable` VALUES ('comment_flexinode-1', 's:1:"2";'); INSERT INTO `variable` VALUES ('upload_flexinode-1', 's:1:"1";'); INSERT INTO `variable` VALUES ('type', 's:11:"flexinode-2";'); INSERT INTO `variable` VALUES ('array_filter', 'b:1;'); INSERT INTO `variable` VALUES ('flexinode_list_count', 's:1:"5";'); INSERT INTO `variable` VALUES ('flexinode-2_help', 's:0:"";'); INSERT INTO `variable` VALUES ('minimum_flexinode-2_size', 's:1:"0";'); INSERT INTO `variable` VALUES ('node_options_flexinode-2', 'a:2:{i:0;s:6:"status";i:1;s:7:"promote";}'); INSERT INTO `variable` VALUES ('comment_flexinode-2', 's:1:"2";'); INSERT INTO `variable` VALUES ('upload_flexinode-2', 's:1:"1";'); INSERT INTO `variable` VALUES ('adsense_client_id', 's:25:"ca-ref-pub-01735296610791";'); INSERT INTO `variable` VALUES ('adsense_visibility', 's:1:"0";'); INSERT INTO `variable` VALUES ('adsense_access_pages', 's:0:"";'); INSERT INTO `variable` VALUES ('adsense_ad_type_1', 's:1:"2";'); INSERT INTO `variable` VALUES ('adsense_color_text_1', 's:6:"AD857F";'); INSERT INTO `variable` VALUES ('adsense_color_border_1', 's:6:"E5E5E5";'); INSERT INTO `variable` VALUES ('adsense_color_bg_1', 's:6:"E5E5E5";'); INSERT INTO `variable` VALUES ('adsense_color_link_1', 's:6:"AD857F";'); INSERT INTO `variable` VALUES ('adsense_color_url_1', 's:6:"AD857F";'); INSERT INTO `variable` VALUES ('adsense_alt_1', 's:1:"0";'); INSERT INTO `variable` VALUES ('adsense_alt_info_1', 's:0:"";'); INSERT INTO `variable` VALUES ('adsense_ad_type_2', 's:1:"1";'); INSERT INTO `variable` VALUES ('adsense_color_text_2', 's:6:"AD857F";'); INSERT INTO `variable` VALUES ('adsense_color_border_2', 's:6:"E5E5E5";'); INSERT INTO `variable` VALUES ('adsense_color_bg_2', 's:6:"E5E5E5";'); INSERT INTO `variable` VALUES ('adsense_color_link_2', 's:6:"AD857F";'); INSERT INTO `variable` VALUES ('adsense_color_url_2', 's:6:"AD857F";'); INSERT INTO `variable` VALUES ('adsense_alt_2', 's:1:"0";'); INSERT INTO `variable` VALUES ('adsense_alt_info_2', 's:0:"";'); INSERT INTO `variable` VALUES ('adsense_ad_type_3', 's:1:"0";'); INSERT INTO `variable` VALUES ('adsense_color_text_3', 's:6:"000000";'); INSERT INTO `variable` VALUES ('adsense_color_border_3', 's:6:"336699";'); INSERT INTO `variable` VALUES ('adsense_color_bg_3', 's:6:"FFFFFF";'); INSERT INTO `variable` VALUES ('adsense_color_link_3', 's:6:"336699";'); INSERT INTO `variable` VALUES ('adsense_color_url_3', 's:6:"FF8C00";'); INSERT INTO `variable` VALUES ('adsense_alt_3', 's:1:"0";'); INSERT INTO `variable` VALUES ('adsense_alt_info_3', 's:0:"";'); INSERT INTO `variable` VALUES ('adsense_ad_channel_1', 's:0:"";'); INSERT INTO `variable` VALUES ('adsense_ad_channel_2', 's:0:"";'); INSERT INTO `variable` VALUES ('adsense_ad_channel_3', 's:0:"";'); INSERT INTO `variable` VALUES ('adsense_ad_channel_4', 's:0:"";'); INSERT INTO `variable` VALUES ('adsense_ad_channel_5', 's:0:"";'); INSERT INTO `variable` VALUES ('adsense_revenue_enable', 'i:0;'); INSERT INTO `variable` VALUES ('adsense_percentage_author', 's:2:"70";'); INSERT INTO `variable` VALUES ('adsense_percentage_refer', 's:2:"30";'); INSERT INTO `variable` VALUES ('adsense_node_type_blog', 'i:1;'); INSERT INTO `variable` VALUES ('adsense_node_type_book', 'i:1;'); INSERT INTO `variable` VALUES ('adsense_node_type_page', 'i:1;'); INSERT INTO `variable` VALUES ('adsense_node_type_poll', 'i:1;'); INSERT INTO `variable` VALUES ('adsense_node_type_story', 'i:1;'); INSERT INTO `variable` VALUES ('adsense_disable', 'i:0;'); INSERT INTO `variable` VALUES ('adsense_placeholder', 'i:1;'); INSERT INTO `variable` VALUES ('adsense_placeholder_text', 's:34:"Google AdSense ad placeholder here";'); INSERT INTO `variable` VALUES ('adsense_page_ad_limit', 's:1:"4";'); INSERT INTO `variable` VALUES ('adsense_section_targeting', 'i:0;'); INSERT INTO `variable` VALUES ('forum_nav_vocabulary', 'i:4;'); INSERT INTO `variable` VALUES ('poormanscron_lastrun', 'i:1146731048;'); INSERT INTO `variable` VALUES ('node_cron_comments_scale', 'd:1;'); INSERT INTO `variable` VALUES ('node_cron_views_scale', 'd:1;'); INSERT INTO `variable` VALUES ('cron_last', 'i:1146731048;'); INSERT INTO `variable` VALUES ('cron_busy', 'b:0;'); INSERT INTO `variable` VALUES ('throttle_anonymous', 's:1:"1";'); INSERT INTO `variable` VALUES ('throttle_user', 's:3:"100";'); INSERT INTO `variable` VALUES ('throttle_probability_limiter', 's:1:"9";'); INSERT INTO `variable` VALUES ('throttle_level', 'i:0;'); INSERT INTO `variable` VALUES ('node_cron_last', 's:10:"1146064394";'); INSERT INTO `variable` VALUES ('node_cron_last_nid', 's:2:"11";'); -- -------------------------------------------------------- -- -- Table structure for table `vocabulary` -- DROP TABLE IF EXISTS `vocabulary`; CREATE TABLE IF NOT EXISTS `vocabulary` ( `vid` int(10) unsigned NOT NULL auto_increment, `name` varchar(255) NOT NULL default '', `description` longtext, `help` varchar(255) NOT NULL default '', `relations` tinyint(3) unsigned NOT NULL default '0', `hierarchy` tinyint(3) unsigned NOT NULL default '0', `multiple` tinyint(3) unsigned NOT NULL default '0', `required` tinyint(3) unsigned NOT NULL default '0', `tags` tinyint(3) unsigned NOT NULL default '0', `module` varchar(255) NOT NULL default '', `weight` tinyint(4) NOT NULL default '0', PRIMARY KEY (`vid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ; -- -- Dumping data for table `vocabulary` -- INSERT INTO `vocabulary` VALUES (5, 'Hunting', '', '', 1, 2, 0, 0, 0, 'taxonomy', 0); INSERT INTO `vocabulary` VALUES (4, 'Forums', '', '', 0, 1, 0, 1, 0, 'forum', 0); -- -------------------------------------------------------- -- -- Table structure for table `vocabulary_node_types` -- DROP TABLE IF EXISTS `vocabulary_node_types`; CREATE TABLE IF NOT EXISTS `vocabulary_node_types` ( `vid` int(10) unsigned NOT NULL default '0', `type` varchar(32) NOT NULL default '', PRIMARY KEY (`vid`,`type`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- Dumping data for table `vocabulary_node_types` -- INSERT INTO `vocabulary_node_types` VALUES (4, 'forum'); INSERT INTO `vocabulary_node_types` VALUES (5, 'blog'); -- -------------------------------------------------------- -- -- Table structure for table `watchdog` -- DROP TABLE IF EXISTS `watchdog`; CREATE TABLE IF NOT EXISTS `watchdog` ( `wid` int(5) NOT NULL auto_increment, `uid` int(10) NOT NULL default '0', `type` varchar(16) NOT NULL default '', `message` longtext NOT NULL, `severity` tinyint(3) unsigned NOT NULL default '0', `link` varchar(255) NOT NULL default '', `location` varchar(128) NOT NULL default '', `referer` varchar(128) NOT NULL default '', `hostname` varchar(128) NOT NULL default '', `timestamp` int(11) NOT NULL default '0', PRIMARY KEY (`wid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=177 ; -- -- Dumping data for table `watchdog` -- INSERT INTO `watchdog` VALUES (175, 1, 'page not found', '<em>ticker_space.gif</em> not found.', 1, '', '/drupal/ticker_space.gif', 'http://localhost/drupal/admin', '127.0.0.1', 1146732878); INSERT INTO `watchdog` VALUES (176, 1, 'page not found', '<em>ticker_space.gif</em> not found.', 1, '', '/drupal/ticker_space.gif', 'http://localhost/drupal/', '127.0.0.1', 1146733133); INSERT INTO `watchdog` VALUES (174, 1, 'page not found', '<em>ticker_space.gif</em> not found.', 1, '', '/drupal/ticker_space.gif', 'http://localhost/drupal/', '127.0.0.1', 1146732872); INSERT INTO `watchdog` VALUES (173, 1, 'page not found', '<em>ticker_space.gif</em> not found.', 1, '', '/drupal/ticker_space.gif', 'http://localhost/drupal/admin', '127.0.0.1', 1146732029); INSERT INTO `watchdog` VALUES (172, 1, 'content', '<em>blog</em>: deleted <em>Another post on hunting</em>.', 0, '', '/drupal/node/10/delete', 'http://localhost/drupal/node/10/delete', '127.0.0.1', 1146731995); INSERT INTO `watchdog` VALUES (170, 1, 'page not found', '<em>ticker_space.gif</em> not found.', 1, '', '/drupal/ticker_space.gif', 'http://localhost/drupal/admin', '127.0.0.1', 1146731184); INSERT INTO `watchdog` VALUES (171, 1, 'page not found', '<em>ticker_space.gif</em> not found.', 1, '', '/drupal/ticker_space.gif', 'http://localhost/drupal/admin', '127.0.0.1', 1146731205); INSERT INTO `watchdog` VALUES (169, 1, 'page not found', '<em>ticker_space.gif</em> not found.', 1, '', '/drupal/ticker_space.gif', 'http://localhost/drupal/admin', '127.0.0.1', 1146731171); INSERT INTO `watchdog` VALUES (167, 1, 'page not found', '<em>ticker_space.gif</em> not found.', 1, '', '/drupal/ticker_space.gif', 'http://localhost/drupal/admin', '127.0.0.1', 1146731087); INSERT INTO `watchdog` VALUES (168, 1, 'page not found', '<em>ticker_space.gif</em> not found.', 1, '', '/drupal/ticker_space.gif', 'http://localhost/drupal/admin', '127.0.0.1', 1146731124); INSERT INTO `watchdog` VALUES (166, 1, 'page not found', '<em>ticker_space.gif</em> not found.', 1, '', '/drupal/ticker_space.gif', 'http://localhost/drupal/node', '127.0.0.1', 1146731082); INSERT INTO `watchdog` VALUES (165, 1, 'user', 'Session opened for <em><NAME></em>.', 0, '', '/drupal/node?destination=node', 'http://localhost/drupal/', '127.0.0.1', 1146731077); INSERT INTO `watchdog` VALUES (163, 0, 'cron', 'Cron run completed (via poormanscron).', 0, '', '/drupal/', '', '127.0.0.1', 1146731048); INSERT INTO `watchdog` VALUES (164, 0, 'page not found', '<em>ticker_space.gif</em> not found.', 1, '', '/drupal/ticker_space.gif', 'http://localhost/drupal/', '127.0.0.1', 1146731052);
-- wrap this in a transaction, so to not lose the relationships -- if one of the queries fails BEGIN; -- create table for many-to-many mapping of geounits to geolevels CREATE TABLE publicmapping.redistricting_geounit_geolevel ( id serial NOT NULL, geounit_id integer NOT NULL, geolevel_id integer NOT NULL, CONSTRAINT redistricting_geounit_geolevel_pkey PRIMARY KEY (id), CONSTRAINT redistricting_geounit_geolevel_geolevel_id_fkey FOREIGN KEY (geolevel_id) REFERENCES publicmapping.redistricting_geolevel (id) MATCH SIMPLE ON UPDATE NO ACTION ON DELETE NO ACTION DEFERRABLE INITIALLY DEFERRED, CONSTRAINT redistricting_geounit_geolevel_geounit_id_fkey FOREIGN KEY (geounit_id) REFERENCES publicmapping.redistricting_geounit (id) MATCH SIMPLE ON UPDATE NO ACTION ON DELETE NO ACTION DEFERRABLE INITIALLY DEFERRED, CONSTRAINT redistricting_geounit_geolevel_geounit_id_key UNIQUE (geounit_id, geolevel_id) ) WITH ( OIDS=FALSE ); ALTER TABLE publicmapping.redistricting_geounit_geolevel OWNER TO publicmapping; -- populate relationship table INSERT INTO publicmapping.redistricting_geounit_geolevel(geounit_id, geolevel_id) SELECT id AS geounit_id, geolevel_id FROM publicmapping.redistricting_geounit; -- remove geolevel column from geounit table -- this also removes all related views (which need to be regenerated) ALTER TABLE publicmapping.redistricting_geounit DROP COLUMN geolevel_id CASCADE; COMMIT;
<reponame>granadomoreno/oracle-db-examples<gh_stars>1000+ -- -- This script explains a SQL statement in the cursor cache -- and produces a hint report - useful for diagnosing -- SQL plan baseline issues -- set echo off set verify off set feedback off set long 10000000 set pagesize 10000 set linesize 250 set trims on set tab off column report format a200 whenever sqlerror exit var ccount number -- -- Get the SQL ID to test -- accept sqlid prompt 'Enter the SQL ID: ' -- -- Check it's in cache -- BEGIN select count(*) into :ccount from v$sqlarea where sql_id = '&sqlid'; IF :ccount = 0 THEN RAISE_APPLICATION_ERROR(-20002, 'SQL ID not found'); END IF; END; / -- -- Spool the report -- spool spm_report alter session set "_sql_plan_management_control"=4; -- -- Explain plan -- declare stmt clob; begin select sql_fulltext into stmt from v$sqlarea where sql_id = '&sqlid'; execute immediate 'explain plan for '||stmt; end; / alter session set "_sql_plan_management_control"=0; select * from table(dbms_xplan.display(format=>'hint_report')); spool off
-- MySQL Script generated by MySQL Workbench -- sáb 17 nov 2018 01:50:07 -03 -- Model: New Model Version: 1.0 -- 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 mydb -- ----------------------------------------------------- DROP SCHEMA IF EXISTS `mydb` ; -- ----------------------------------------------------- -- Schema mydb -- ----------------------------------------------------- CREATE SCHEMA IF NOT EXISTS `mydb` DEFAULT CHARACTER SET utf8 ; USE `mydb` ; -- ----------------------------------------------------- -- Table `mydb`.`Account` -- ----------------------------------------------------- DROP TABLE IF EXISTS `mydb`.`Account` ; CREATE TABLE IF NOT EXISTS `mydb`.`Account` ( `id` INT NOT NULL, `email` VARCHAR(66) NOT NULL, `password` TEXT NOT NULL, `dateRegistration` DATETIME NOT NULL, `lastAccess` DATETIME NOT NULL, `lastAccessLocation` VARCHAR(99) NULL, `isAdmin` TINYINT(1) NOT NULL DEFAULT 0, `active` TINYINT(1) NOT NULL DEFAULT 1, PRIMARY KEY (`id`)) ENGINE = InnoDB; CREATE UNIQUE INDEX `EMAIL_UNIQUE` ON `mydb`.`Account` (`email` ASC); -- ----------------------------------------------------- -- Table `mydb`.`Author` -- ----------------------------------------------------- DROP TABLE IF EXISTS `mydb`.`Author` ; CREATE TABLE IF NOT EXISTS `mydb`.`Author` ( `id` INT NOT NULL, `idAccount` INT NOT NULL, `nickname` VARCHAR(33) NOT NULL, `name` VARCHAR(63) NOT NULL, `fullName` VARCHAR(77) NOT NULL, `photo` BLOB NULL, `description` TEXT NULL, PRIMARY KEY (`id`), CONSTRAINT `fkAccount` FOREIGN KEY (`idAccount`) REFERENCES `mydb`.`Account` (`id`) ON DELETE RESTRICT ON UPDATE NO ACTION) ENGINE = InnoDB; CREATE UNIQUE INDEX `NICKNAME_UNIQUE` ON `mydb`.`Author` (`nickname` ASC); CREATE INDEX `ACCOUNT_INDEX` ON `mydb`.`Author` (`idAccount` ASC); -- ----------------------------------------------------- -- Table `mydb`.`Post` -- ----------------------------------------------------- DROP TABLE IF EXISTS `mydb`.`Post` ; CREATE TABLE IF NOT EXISTS `mydb`.`Post` ( `id` INT NOT NULL, `idAuthor` INT NOT NULL, `title` VARCHAR(99) NOT NULL, `description` VARCHAR(333) NOT NULL, `content` TEXT NOT NULL, `note` VARCHAR(333) NULL, `datePublication` DATETIME NOT NULL, `active` TINYINT(1) NOT NULL DEFAULT 1, PRIMARY KEY (`id`), CONSTRAINT `fkAuthor` FOREIGN KEY (`idAuthor`) REFERENCES `mydb`.`Author` (`id`) ON DELETE RESTRICT ON UPDATE NO ACTION) ENGINE = InnoDB; CREATE INDEX `AUTHOR_INDEX` ON `mydb`.`Post` (`idAuthor` ASC); -- ----------------------------------------------------- -- Table `mydb`.`Category` -- ----------------------------------------------------- DROP TABLE IF EXISTS `mydb`.`Category` ; CREATE TABLE IF NOT EXISTS `mydb`.`Category` ( `id` INT NOT NULL, `idAuthor` INT NOT NULL, `name` VARCHAR(99) NOT NULL, `description` VARCHAR(333) NULL, PRIMARY KEY (`id`), CONSTRAINT `fkAuthor` FOREIGN KEY (`idAuthor`) REFERENCES `mydb`.`Author` (`id`) ON DELETE RESTRICT ON UPDATE NO ACTION) ENGINE = InnoDB; CREATE UNIQUE INDEX `NAME_UNIQUE` ON `mydb`.`Category` (`name` ASC); CREATE INDEX `AUTHOR_INDEX` ON `mydb`.`Category` (`idAuthor` ASC); -- ----------------------------------------------------- -- Table `mydb`.`Tag` -- ----------------------------------------------------- DROP TABLE IF EXISTS `mydb`.`Tag` ; CREATE TABLE IF NOT EXISTS `mydb`.`Tag` ( `id` INT NOT NULL, `idAuthor` INT NOT NULL, `name` VARCHAR(99) NOT NULL, `description` VARCHAR(333) NULL, PRIMARY KEY (`id`), CONSTRAINT `fkAuthor` FOREIGN KEY (`idAuthor`) REFERENCES `mydb`.`Author` (`id`) ON DELETE RESTRICT ON UPDATE NO ACTION) ENGINE = InnoDB; CREATE UNIQUE INDEX `NAME_UNIQUE` ON `mydb`.`Tag` (`name` ASC); CREATE INDEX `AUTHOR_INDEX` ON `mydb`.`Tag` (`idAuthor` ASC); -- ----------------------------------------------------- -- Table `mydb`.`Responsible` -- ----------------------------------------------------- DROP TABLE IF EXISTS `mydb`.`Responsible` ; CREATE TABLE IF NOT EXISTS `mydb`.`Responsible` ( `id` INT NOT NULL, `name` VARCHAR(63) NOT NULL, `email` VARCHAR(66) NOT NULL, `phone` VARCHAR(16) NULL, PRIMARY KEY (`id`)) ENGINE = InnoDB; CREATE UNIQUE INDEX `EMAIL_UNIQUE` ON `mydb`.`Responsible` (`email` ASC); -- ----------------------------------------------------- -- Table `mydb`.`PostComment` -- ----------------------------------------------------- DROP TABLE IF EXISTS `mydb`.`PostComment` ; CREATE TABLE IF NOT EXISTS `mydb`.`PostComment` ( `id` INT NOT NULL, `idPost` INT NOT NULL, `idResponsible` INT NOT NULL, `title` VARCHAR(33) NOT NULL, `comment` TEXT NOT NULL, `dateComment` DATETIME NOT NULL, `isPublic` TINYINT(1) NOT NULL DEFAULT 1, PRIMARY KEY (`id`), CONSTRAINT `fkPost` FOREIGN KEY (`idPost`) REFERENCES `mydb`.`Post` (`id`) ON DELETE RESTRICT ON UPDATE NO ACTION, CONSTRAINT `fkResponsible` FOREIGN KEY (`idResponsible`) REFERENCES `mydb`.`Responsible` (`id`) ON DELETE RESTRICT ON UPDATE NO ACTION) ENGINE = InnoDB; CREATE INDEX `POST_INDEX` ON `mydb`.`PostComment` (`idPost` ASC); CREATE INDEX `RESPONSIBLE_INDEX` ON `mydb`.`PostComment` (`idResponsible` ASC); -- ----------------------------------------------------- -- Table `mydb`.`PostHasTag` -- ----------------------------------------------------- DROP TABLE IF EXISTS `mydb`.`PostHasTag` ; CREATE TABLE IF NOT EXISTS `mydb`.`PostHasTag` ( `idPost` INT NOT NULL, `idTag` INT NOT NULL, `active` TINYINT(1) NOT NULL DEFAULT 1, PRIMARY KEY (`idPost`, `idTag`), CONSTRAINT `fkPost` FOREIGN KEY (`idPost`) REFERENCES `mydb`.`Post` (`id`) ON DELETE RESTRICT ON UPDATE NO ACTION, CONSTRAINT `fkTag` FOREIGN KEY (`idTag`) REFERENCES `mydb`.`Tag` (`id`) ON DELETE RESTRICT ON UPDATE NO ACTION) ENGINE = InnoDB; CREATE INDEX `TAG_INDEX` ON `mydb`.`PostHasTag` (`idTag` ASC); CREATE INDEX `POST_INDEX` ON `mydb`.`PostHasTag` (`idPost` ASC); -- ----------------------------------------------------- -- Table `mydb`.`PostHasCategory` -- ----------------------------------------------------- DROP TABLE IF EXISTS `mydb`.`PostHasCategory` ; CREATE TABLE IF NOT EXISTS `mydb`.`PostHasCategory` ( `idPost` INT NOT NULL, `idCategory` INT NOT NULL, `active` TINYINT(1) NOT NULL DEFAULT 1, PRIMARY KEY (`idPost`, `idCategory`), CONSTRAINT `fkPost` FOREIGN KEY (`idPost`) REFERENCES `mydb`.`Post` (`id`) ON DELETE RESTRICT ON UPDATE NO ACTION, CONSTRAINT `fkCategory` FOREIGN KEY (`idCategory`) REFERENCES `mydb`.`Category` (`id`) ON DELETE RESTRICT ON UPDATE NO ACTION) ENGINE = InnoDB; CREATE INDEX `CATEGORY_INDEX` USING BTREE ON `mydb`.`PostHasCategory` (`idCategory` ASC); CREATE INDEX `POST_INDEX` ON `mydb`.`PostHasCategory` (`idPost` ASC); SET SQL_MODE=@OLD_SQL_MODE; SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS; SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS;
SELECT COUNT(*) FROM tag as t, site as s, question as q, tag_question as tq WHERE t.site_id = s.site_id AND q.site_id = s.site_id AND tq.site_id = s.site_id AND tq.question_id = q.id AND tq.tag_id = t.id AND (s.site_name in ('stackoverflow')) AND (t.name in ('cocoa','eclipse','file','google-maps','haskell','html','json','language-agnostic','numpy','php','ruby-on-rails','sql-server','xml')) AND (q.favorite_count >= 5) AND (q.favorite_count <= 5000)
<reponame>naseeihity/gails CREATE DATABASE IF NOT EXISTS gails; USE gails; -- TABLE FOR USERS -- CREATE TABLE IF NOT EXISTS `users` ( `id` INT(10) unsigned NOT NULL AUTO_INCREMENT, `name` VARCHAR(50) DEFAULT '', `email` VARCHAR(50) DEFAULT '', `password` VARCHAR(100) DEFAULT '', `created_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE = InnoDB AUTO_INCREMENT = 2 DEFAULT CHARSET = utf8; -- TABLE FOR ARTICLES -- CREATE TABLE IF NOT EXISTS `articles` ( `id` INT(10) unsigned NOT NULL AUTO_INCREMENT, `title` VARCHAR(100) DEFAULT '', `abstract` VARCHAR(255) DEFAULT '', `content` TEXT, `user_id` INT(10) unsigned, `created_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE = InnoDB DEFAULT CHARSET = utf8;
<reponame>ucdavis/Purchasing CREATE TABLE [dbo].[vOrganizations] ( [Id] VARCHAR (10) NOT NULL, [Name] VARCHAR (50) NOT NULL, [TypeCode] CHAR (1) NOT NULL, [TypeName] VARCHAR (50) NOT NULL, [ParentId] VARCHAR (10) NULL, [IsActive] BIT NOT NULL, [UpdateHash] VARBINARY (16) NULL, CONSTRAINT [PK_vOrganizations] PRIMARY KEY NONCLUSTERED ([Id] ASC) WITH (STATISTICS_NORECOMPUTE = ON), CONSTRAINT [vOrganizations_Id_UDX] UNIQUE NONCLUSTERED ([Id] ASC) WITH (STATISTICS_NORECOMPUTE = ON) ); GO CREATE CLUSTERED INDEX [ci_wi_vOrganizations_0600A1D7ACC9613C0A1F6DE78CC90F5A] ON [dbo].[vOrganizations]([ParentId] ASC, [IsActive] ASC, [Name] ASC);
<filename>db/src/api/todos.sql<gh_stars>1-10 -- define the view which is just selecting everything from the underlying table -- although it looks like a user would see all the rows by looking just at this definition, -- the RLS policy defined on the underlying table attached to the view owner (api) -- will make sure only the appropriate roles will be reviled. -- notice how for the api we don't expose the owner_id column even though it exists and is used -- in the RLS policy, also, while out table name is "todo", singular, meant to symbolize a data type/model, -- the view is named "todos", plural, to match the rest conventions. create or replace view todos as select id, todo, private, (owner_id = request.user_id()) as mine from data.todo; alter view todos owner to api; -- it is important to set the correct owner to the RLS policy kicks in
<reponame>jphacks/D_2017 CREATE TABLE IF NOT EXISTS `reader` ( `mac_address` VARCHAR(100) NOT NULL, `user_id` VARCHAR(100) NOT NULL, `room_id` INT NOT NULL, INDEX `fk_device_user1_idx` (`user_id` ASC), INDEX `fk_device_room1_idx` (`room_id` ASC), PRIMARY KEY (`mac_address`), CONSTRAINT `fk_device_user1` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION, CONSTRAINT `fk_device_room1` FOREIGN KEY (`room_id`) REFERENCES `room` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION);
\echo Use "CREATE EXTENSION town" to load this file. \quit CREATE OR REPLACE FUNCTION create_town_table(t_name varchar(30)) RETURNS VOID LANGUAGE plpgsql AS $func$ BEGIN EXECUTE format(' CREATE EXTENSION IF NOT EXISTS btree_gist ; CREATE TABLE IF NOT EXISTS %I ( id BIGSERIAL PRIMARY KEY, ts TIMESTAMP WITH TIME ZONE, tags TEXT[], data JSONB default ''{}''::jsonb ); CREATE INDEX idx_%I_tags ON %I USING GIN(tags); CREATE INDEX idx_%I_ts ON %I USING GIST(ts); ', t_name, t_name, t_name, t_name, t_name); END $func$;
create or replace package global as cursor c1 is select * from all_tables; type shit_rec is record ( small_shit varchar2(10), medium_shit varchar2(300), big_shit varchar2(4000), mega_sit clob); end; /
DROP TABLE IF EXISTS users; DROP TABLE IF EXISTS users_different_defaults; DROP TABLE IF EXISTS users_large_defaults; DROP TABLE IF EXISTS posts; DROP TABLE IF EXISTS addresses; DROP TABLE IF EXISTS user_projects; DROP TABLE IF EXISTS projects; DROP TABLE IF EXISTS things; DROP TABLE IF EXISTS vehicles; DROP TABLE IF EXISTS users_uuid_custom; DROP TABLE IF EXISTS things_that_belong_to_user_uuid_custom; CREATE TABLE users( id INTEGER NOT NULL PRIMARY KEY, name varchar(255) NOT NULL, things integer, smallnum integer, stuff integer, nope float, yep bool, pageviews bigint, some_date DATETIME, created_at DATETIME, updated_at DATETIME, unique_field varchar(255) UNIQUE ); CREATE UNIQUE INDEX users_4ijlkjdf ON users (id); CREATE TABLE users_different_defaults( user_id INTEGER NOT NULL PRIMARY KEY, name varchar(255) NOT NULL, xyz DATETIME ); CREATE UNIQUE INDEX users_different_defaults_kljl3kj on users_different_defaults (user_id); /* INTEGER can store big numbers, this is the only type that supports auto_increment ROWID*/ CREATE TABLE users_large_defaults( id INTEGER NOT NULL PRIMARY KEY, name varchar(255) NOT NULL ); CREATE UNIQUE INDEX users_4asdf ON users_large_defaults (id); CREATE TABLE posts( id INTEGER NOT NULL PRIMARY KEY, user_id INTEGER references users(id), created_at DATETIME, updated_at DATETIME ); CREATE UNIQUE INDEX posts_df8sdd ON posts (id); CREATE TABLE addresses( id INTEGER NOT NULL PRIMARY KEY, user_id INTEGER references users(id), created_at DATETIME, updated_at DATETIME ); CREATE UNIQUE INDEX addresses_dfd7fs7ss ON addresses (id); CREATE TABLE projects( id INTEGER NOT NULL PRIMARY KEY, name VARCHAR(255), created_at DATETIME, updated_at DATETIME ); CREATE UNIQUE INDEX projects_88fsssfsf ON projects (id); CREATE TABLE user_projects( user_id INTEGER references users(id), project_id INTEGER references projects(id) ); CREATE TABLE things( id INTEGER NOT NULL PRIMARY KEY, user_different_defaults_id INTEGER references users_different_defaults(id), created_at DATETIME, updated_at DATETIME ); CREATE UNIQUE INDEX things_9sd09df ON things (id); CREATE TABLE users_uuid( uuid VARCHAR(255) PRIMARY KEY NOT NULL, name VARCHAR(255), created_at DATETIME, updated_at DATETIME ); CREATE UNIQUE INDEX users_uuid_93vabznv8 ON users_uuid (uuid); CREATE TABLE vehicles( id INTEGER NOT NULL PRIMARY KEY, state_string VARCHAR(255) NOT NULL, vehicle_type INTEGER NOT NULL, created_at DATETIME, updated_at DATETIME ); CREATE UNIQUE INDEX vehicles_f4f74ccccc on vehicles (id); CREATE TABLE users_uuid_custom( id VARCHAR(36) NOT NULL PRIMARY KEY, name VARCHAR(255), created_at DATETIME, updated_at DATETIME ); CREATE UNIQUE INDEX users_uuid_custom_cccccchh on users_uuid_custom(id); CREATE TABLE things_that_belong_to_user_uuid_custom( id VARCHAR(36) NOT NULL PRIMARY KEY, users_uuid_custom_id VARCHAR(36) NOT NULL REFERENCES users_uuid_custom(id), name VARCHAR(255), created_at DATETIME, updated_at DATETIME ); CREATE UNIQUE INDEX things_that_belong_to_user_uuid_custom_kugvegdgbvu on things_that_belong_to_user_uuid_custom(id); CREATE TABLE things_without_fields( id INTEGER NOT NULL PRIMARY KEY, created_at DATETIME, updated_at DATETIME ); CREATE UNIQUE INDEX things_without_fields_cccccchh on things_without_fields (id);
-- file:cluster.sql ln:71 expect:true SELECT a,b,c,substring(d for 30), length(d) from clstr_tst
CREATE TABLE reporters ( id serial PRIMARY KEY, created_at timestamptz NOT NULL DEFAULT now(), fingerprint text NOT NULL, token text NOT NULL default md5(random()::text), name text, trusted_at timestamptz, curator_at timestamptz ); CREATE TABLE stipends ( id serial PRIMARY KEY, created_at timestamptz NOT NULL DEFAULT now(), token text NOT NULL default md5(random()::text), amount integer NOT NULL, academic_year int NOT NULL, period text NOT NULL, summer_guarantee text NOT NULL, year_in_program int, department text NOT NULL, reporter_id integer NOT NULL references reporters(id), saw_document boolean NOT NULL, notes text NOT NULL ); CREATE TABLE documents ( id serial PRIMARY KEY, created_at timestamptz NOT NULL DEFAULT now(), object_key text NOT NULL, decryption_key bytea NOT NULL, file_type text NOT NULL, stipend_id integer NOT NULL references stipends(id), verified_at timestamptz );
<reponame>windwiny/Oracle-DBA-tips-scripts -- +----------------------------------------------------------------------------+ -- | <NAME> | -- | <EMAIL> | -- | www.idevelopment.info | -- |----------------------------------------------------------------------------| -- | Copyright (c) 1998-2015 <NAME>. All rights reserved. | -- |----------------------------------------------------------------------------| -- | DATABASE : Oracle | -- | FILE : dpump_sessions.sql | -- | CLASS : Data Pump | -- | PURPOSE : Query all Data Pump jobs and session information. | -- | NOTE : As with any code, ensure to test this script in a development | -- | environment before attempting to run it in production. | -- +----------------------------------------------------------------------------+ SET TERMOUT OFF; COLUMN current_instance NEW_VALUE current_instance NOPRINT; SELECT rpad(instance_name, 17) current_instance FROM v$instance; SET TERMOUT ON; PROMPT PROMPT +------------------------------------------------------------------------+ PROMPT | Report : Data Pump Sessions | PROMPT | Instance : &current_instance | PROMPT +------------------------------------------------------------------------+ SET ECHO OFF SET FEEDBACK 6 SET HEADING ON SET LINESIZE 180 SET PAGESIZE 50000 SET TERMOUT ON SET TIMING OFF SET TRIMOUT ON SET TRIMSPOOL ON SET VERIFY OFF CLEAR COLUMNS CLEAR BREAKS CLEAR COMPUTES COLUMN instance_name FORMAT a9 HEADING 'Instance' COLUMN owner_name FORMAT a15 HEADING 'Owner Name' COLUMN job_name FORMAT a20 HEADING 'Job Name' COLUMN session_type FORMAT a15 HEADING 'Session Type' COLUMN sid FORMAT 999999 HEADING 'SID' COLUMN serial_id FORMAT 99999999 HEADING 'Serial ID' COLUMN oracle_username FORMAT a18 HEADING 'Oracle User' COLUMN os_username FORMAT a18 HEADING 'O/S User' COLUMN os_pid FORMAT a8 HEADING 'O/S PID' BREAK ON report ON instance_name_print ON owner_name ON job_name SELECT i.instance_name instance_name , dj.owner_name owner_name , dj.job_name job_name , ds.type session_type , s.sid sid , s.serial# serial_id , s.username oracle_username , s.osuser os_username , p.spid os_pid FROM gv$datapump_job dj , gv$datapump_session ds , gv$session s , gv$instance i , gv$process p WHERE s.inst_id = i.inst_id AND s.inst_id = p.inst_id AND ds.inst_id = i.inst_id AND dj.inst_id = i.inst_id AND s.saddr = ds.saddr AND s.paddr = p.addr (+) AND dj.job_id = ds.job_id ORDER BY i.instance_name , dj.owner_name , dj.job_name , ds.type;
SET work_mem='2GB'; -- Go Super Saiyan. -- Generates CT stats. drop materialized view IF EXISTS ct_counts_states; create materialized view ct_counts_states as select count(incident_id), sum(stolen_value) as stolen_value, sum(recovered_value) as recovered_value, year, state_id, location_name, offense_name, victim_type_name, prop_desc_name from ( SELECT DISTINCT(ct_incident.incident_id), state_id, location_name, offense_name, victim_type_name, ct_property.stolen_value::numeric as stolen_value, ct_property.recovered_value::numeric as recovered_value, prop_desc_name, EXTRACT(YEAR FROM ct_incident.incident_date) as year from ct_incident LEFT OUTER JOIN ct_offense ON ct_incident.incident_id = ct_offense.incident_id LEFT OUTER JOIN nibrs_offense_type ON ct_offense.offense_type_id = nibrs_offense_type.offense_type_id LEFT OUTER JOIN nibrs_location_type ON ct_offense.location_id = nibrs_location_type.location_id LEFT OUTER JOIN ct_victim ON ct_victim.incident_id = ct_incident.incident_id LEFT OUTER JOIN nibrs_victim_type ON ct_victim.victim_type_id = nibrs_victim_type.victim_type_id LEFT OUTER JOIN ct_property ON ct_incident.incident_id = ct_property.incident_id LEFT OUTER JOIN nibrs_prop_desc_type ON nibrs_prop_desc_type.prop_desc_id = ct_property.prop_desc_id LEFT OUTER JOIN ref_agency ON ref_agency.agency_id = ct_incident.agency_id ) as temp GROUP BY GROUPING SETS ( (year, prop_desc_name), (year, location_name), (year, victim_type_name), (year, offense_name), (year, state_id, prop_desc_name), (year, state_id, location_name), (year, state_id, victim_type_name), (year, state_id, offense_name) ); drop materialized view IF EXISTS ct_counts_ori; create materialized view ct_counts_ori as select count(incident_id), sum(stolen_value) as stolen_value, sum(recovered_value) as recovered_value, year, ori, location_name, offense_name, victim_type_name, prop_desc_name from ( SELECT DISTINCT(ct_incident.incident_id), ref_agency.ori, location_name, offense_name, victim_type_name, ct_property.stolen_value::numeric as stolen_value, ct_property.recovered_value::numeric as recovered_value, prop_desc_name, EXTRACT(YEAR FROM ct_incident.incident_date) as year from ct_incident LEFT OUTER JOIN ct_offense ON ct_incident.incident_id = ct_offense.incident_id LEFT OUTER JOIN nibrs_offense_type ON ct_offense.offense_type_id = nibrs_offense_type.offense_type_id LEFT OUTER JOIN nibrs_location_type ON ct_offense.location_id = nibrs_location_type.location_id LEFT OUTER JOIN ct_victim ON ct_victim.incident_id = ct_incident.incident_id LEFT OUTER JOIN nibrs_victim_type ON ct_victim.victim_type_id = nibrs_victim_type.victim_type_id LEFT OUTER JOIN ct_property ON ct_incident.incident_id = ct_property.incident_id LEFT OUTER JOIN nibrs_prop_desc_type ON nibrs_prop_desc_type.prop_desc_id = ct_property.prop_desc_id LEFT OUTER JOIN ref_agency ON ref_agency.agency_id = ct_incident.agency_id ) as temp GROUP BY GROUPING SETS ( (year, ori, prop_desc_name), (year, ori, location_name), (year, ori, victim_type_name), (year, ori, offense_name) ); SET work_mem='2GB'; -- Go Super Saiyan. -- Generates CT stats. drop materialized view IF EXISTS offense_ct_counts_states; create materialized view offense_ct_counts_states as select count(incident_id), sum(stolen_value) as stolen_value, sum(recovered_value) as recovered_value, year, state_id, location_name, offense_name, victim_type_name, prop_desc_name from ( SELECT DISTINCT(ct_incident.incident_id), state_id, location_name, offense_name, victim_type_name, ct_property.stolen_value::numeric as stolen_value, ct_property.recovered_value::numeric as recovered_value, prop_desc_name, EXTRACT(YEAR FROM ct_incident.incident_date) as year from ct_incident LEFT OUTER JOIN ct_offense ON ct_incident.incident_id = ct_offense.incident_id LEFT OUTER JOIN nibrs_offense_type ON ct_offense.offense_type_id = nibrs_offense_type.offense_type_id LEFT OUTER JOIN nibrs_location_type ON ct_offense.location_id = nibrs_location_type.location_id LEFT OUTER JOIN ct_victim ON ct_victim.incident_id = ct_incident.incident_id LEFT OUTER JOIN nibrs_victim_type ON ct_victim.victim_type_id = nibrs_victim_type.victim_type_id LEFT OUTER JOIN ct_property ON ct_incident.incident_id = ct_property.incident_id LEFT OUTER JOIN nibrs_prop_desc_type ON nibrs_prop_desc_type.prop_desc_id = ct_property.prop_desc_id LEFT OUTER JOIN ref_agency ON ref_agency.agency_id = ct_incident.agency_id ) as temp GROUP BY GROUPING SETS ( (year, offense_name, prop_desc_name), (year, offense_name, location_name), (year, offense_name, victim_type_name), (year, state_id, offense_name, prop_desc_name), (year, state_id, offense_name, location_name), (year, state_id, offense_name, victim_type_name) ); drop materialized view IF EXISTS offense_ct_counts_ori; create materialized view offense_ct_counts_ori as select count(incident_id), sum(stolen_value) as stolen_value, sum(recovered_value) as recovered_value, year, ori, location_name, offense_name, victim_type_name, prop_desc_name from ( SELECT DISTINCT(ct_incident.incident_id), ref_agency.ori, location_name, offense_name, victim_type_name, ct_property.stolen_value::numeric as stolen_value, ct_property.recovered_value::numeric as recovered_value, prop_desc_name, EXTRACT(YEAR FROM ct_incident.incident_date) as year from ct_incident LEFT OUTER JOIN ct_offense ON ct_incident.incident_id = ct_offense.incident_id LEFT OUTER JOIN nibrs_offense_type ON ct_offense.offense_type_id = nibrs_offense_type.offense_type_id LEFT OUTER JOIN nibrs_location_type ON ct_offense.location_id = nibrs_location_type.location_id LEFT OUTER JOIN ct_victim ON ct_victim.incident_id = ct_incident.incident_id LEFT OUTER JOIN nibrs_victim_type ON ct_victim.victim_type_id = nibrs_victim_type.victim_type_id LEFT OUTER JOIN ct_property ON ct_incident.incident_id = ct_property.incident_id LEFT OUTER JOIN nibrs_prop_desc_type ON nibrs_prop_desc_type.prop_desc_id = ct_property.prop_desc_id LEFT OUTER JOIN ref_agency ON ref_agency.agency_id = ct_incident.agency_id ) as temp GROUP BY GROUPING SETS ( (year, ori, offense_name, prop_desc_name), (year, ori, offense_name, location_name), (year, ori, offense_name, victim_type_name) ); DROP INDEX IF EXISTS ct_counts_state_id_idx; DROP INDEX IF EXISTS offense_ct_counts_state_id_idx; DROP INDEX IF EXISTS ct_counts_ori_idx; DROP INDEX IF EXISTS offense_ct_counts_ori_idx; CREATE INDEX ct_counts_state_id_idx ON ct_counts_states (state_id, year); CREATE INDEX offense_ct_counts_state_id_idx ON offense_ct_counts_states (state_id, year); CREATE INDEX ct_counts_ori_idx ON ct_counts_ori (ori, year); CREATE INDEX offense_ct_counts_ori_idx ON offense_ct_counts_ori (ori, year);
<filename>escreening/src/main/sql/sprint_37/t795.sql ALTER TABLE survey ADD COLUMN is_published BOOLEAN NOT NULL DEFAULT 0; UPDATE survey set is_published=1;
SET FOREIGN_KEY_CHECKS = 0; DROP TABLE IF EXISTS tenancyTerminationReason; SET FOREIGN_KEY_CHECKS = 1; CREATE TABLE `tenancyTerminationReason` ( `tenancyTerminationReasonId` INT NOT NULL AUTO_INCREMENT, `terminationReason` VARCHAR(100) NULL DEFAULT NULL, PRIMARY KEY(`tenancyTerminationReasonId`) ) COLLATE='utf8_general_ci' ENGINE=InnoDB ; INSERT INTO tenancyTerminationReason VALUES(1,'Relocation'); INSERT INTO tenancyTerminationReason VALUES(2,'Cost'); INSERT INTO tenancyTerminationReason VALUES(3,'Deceased'); INSERT INTO tenancyTerminationReason VALUES(4,'Evicted'); INSERT INTO tenancyTerminationReason VALUES(5,'Property too large'); INSERT INTO tenancyTerminationReason VALUES(6,'Property too small');
<reponame>liu92/learn-spring-cloud CREATE TABLE `de_duplication` ( `tx_no` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, `create_time` datetime DEFAULT NULL, PRIMARY KEY (`tx_no`) USING BTREE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC;
<gh_stars>1-10 /* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and * limitations under the License. * */ create table exam_status ( session_id decimal(20,0) not null, type_id decimal(20,0) not null, status_id decimal(20,0), primary key(session_id, type_id) ) engine = INNODB; alter table exam_status add constraint fk_xstatus_session foreign key (session_id) references sessions (uniqueid) on delete cascade; alter table exam_status add constraint fk_xstatus_type foreign key (type_id) references exam_type (uniqueid) on delete cascade; alter table exam_status add constraint fk_xstatus_status foreign key (status_id) references dept_status_type (uniqueid) on delete set null; create table exam_managers ( session_id decimal(20,0) not null, type_id decimal(20,0) not null, manager_id decimal(20,0) not null, primary key (session_id, type_id, manager_id) ) engine = INNODB; alter table exam_managers add constraint fk_xmanagers_status foreign key (session_id, type_id) references exam_status (session_id, type_id) on delete cascade; alter table exam_managers add constraint fk_xmanagers_manager foreign key (manager_id) references timetable_manager (uniqueid) on delete cascade; select 32767 * next_hi into @id from hibernate_unique_key; select max(ord) + 1 into @ord from dept_status_type; insert into dept_status_type (uniqueid, reference, label, status, apply, ord) values (@id+0, 'exam_disabled', 'Examination Disabled', 0, 4, @ord+0), (@id+1, 'exam_edit', 'Examination Data Entry', 1536, 4, @ord+1), (@id+2, 'exam_timetabling', 'Examination Timetabling', 3584, 4, @ord+2), (@id+3, 'exam_publish', 'Examination Published', 12800, 4, @ord+3); update hibernate_unique_key set next_hi=next_hi+1; insert into rights (role_id, value) select distinct r.role_id, 'ExaminationStatuses' from roles r, rights g where g.role_id = r.role_id and g.value = 'CourseTypes'; insert into rights (role_id, value) select distinct r.role_id, 'ExaminationStatusEdit' from roles r, rights g where g.role_id = r.role_id and g.value = 'CourseTypeEdit'; insert into rights (role_id, value) select distinct r.role_id, 'ExaminationView' from roles r, rights g where g.role_id = r.role_id and g.value in ('Examinations', 'ExaminationSchedule'); /* * Update database version */ update application_config set value='144' where name='tmtbl.db.version'; commit;
<gh_stars>0 -- repair, fulfillment, and associated tables DROP TABLE IF EXISTS repair CASCADE; DROP SEQUENCE IF EXISTS repair_id_seq; CREATE SEQUENCE repair_id_seq; CREATE TABLE repair ( id bigint PRIMARY KEY DEFAULT nextval('repair_id_seq'), created_at TIMESTAMP, updated_at TIMESTAMP, audit VARCHAR(255), status VARCHAR(255), requester VARCHAR(255), -- maybe should be a bigint for the user_id instead? (when we update the user table) bag_id BIGINT NOT NULL, to_node BIGINT NOT NULL, from_node BIGINT, fulfillment_id BIGINT, cleaned BOOLEAN DEFAULT FALSE, replaced BOOLEAN DEFAULT FALSE, validated BOOLEAN DEFAULT FALSE, type VARCHAR(255), strategy_id BIGINT ); DROP TABLE IF EXISTS repair_file; DROP SEQUENCE IF EXISTS repair_file_id_seq; CREATE SEQUENCE repair_file_id_seq; CREATE TABLE repair_file ( id bigint PRIMARY KEY DEFAULT nextval('repair_file_id_seq'), path text, repair_id bigint ); DROP TABLE IF EXISTS strategy; DROP SEQUENCE IF EXISTS strategy_id_seq; CREATE SEQUENCE strategy_id_seq; CREATE TABLE strategy ( id bigint PRIMARY KEY DEFAULT nextval('strategy_id_seq'), api_key VARCHAR(255), url VARCHAR(255), link VARCHAR(255), type VARCHAR(255) ); ALTER TABLE repair ADD CONSTRAINT FK_repair_bag FOREIGN KEY (bag_id) REFERENCES bag; ALTER TABLE repair ADD CONSTRAINT FK_repair_to FOREIGN KEY (to_node) REFERENCES node; ALTER TABLE repair_file ADD CONSTRAINT FK_rf_repair FOREIGN KEY (repair_id) REFERENCES repair; ALTER TABLE repair ADD CONSTRAINT FK_repair_from FOREIGN KEY (from_node) REFERENCES node; ALTER TABLE repair ADD CONSTRAINT FK_repair_strat FOREIGN KEY (strategy_id) REFERENCES strategy ON DELETE CASCADE;
-- Your SQL goes here CREATE TABLE tags ( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL UNIQUE, created DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ); CREATE TABLE tag_bindings ( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, kind INTEGER NOT NULL, item_id INTEGER NOT NULL, tag INTEGER NOT NULL, created DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, UNIQUE(kind,item_id,tag), FOREIGN KEY(tag) REFERENCES tags(id) );
LOAD CSV WITH HEADERS FROM "file:///CSV/node.csv" AS row CREATE (n:Node) SET n = row, n.lat = toFloat(row.lat), n.lon = toFloat(row.lon), n.floor = toFloat(row.floor)
-- Getting started with Burning Glass -- Code developed by <NAME> -- March 17, 2019 -- Breakdown by Skills SELECT Occupations.Occupation_Name, Skills.Skill_Name, Count(Jobs.JobID) as job_count FROM Occupations INNER JOIN Jobs ON Occupations.Occupation_Code = Jobs.Occupation_Code INNER JOIN Jobs_Skills ON Jobs_Skills.JobID = Jobs.JobID INNER JOIN Skills ON Jobs_Skills.Skill_ID = Skills.Skill_ID WHERE (Occupations.Occupation_Name Like "%Business / Management Analyst%" OR Occupations.Occupation_Name Like "%Business Intelligence Analyst%") GROUP BY Occupations.Occupation_Name, Skills.Skill_Name HAVING job_count >= 10 ORDER BY Occupations.Occupation_Name, job_count desc; -- Breakdown by Exp. Level -- Outputs the distribution of experience level for BMA SELECT count(a.Exp_ID), Occupation_Name, Experience_Level from Jobs as a INNER JOIN Occupations as b on a.Occupation_Code = b.Occupation_Code INNER JOIN Exp_Levels as c on a.Exp_ID = c.Exp_ID where Occupation_Name = "Business / Management Analyst" group by a.Exp_ID; -- Breakdown by Degree/Major SELECT Occupations.Occupation_Name, Degrees.Degree_Level, Count(Jobs.JobID) AS job_count, Round(100*Count(Jobs.JobID)/ (CASE WHEN Occupations.Occupation_Name = "Business Intelligence Analyst" THEN 1249 ELSE 1798 END),1) AS Proportion FROM Occupations INNER JOIN Jobs ON Occupations.Occupation_Code = Jobs.Occupation_Code INNER JOIN Jobs_Degrees ON Jobs_Degrees.JobID = Jobs.JobID INNER JOIN Degrees ON Jobs_Degrees.Degree_ID = Degrees.Degree_ID WHERE (Occupations.Occupation_Name Like "%Business / Management Analyst%" OR Occupations.Occupation_Name Like "%Business Intelligence Analyst%") GROUP BY Occupations.Occupation_Name, Degrees.Degree_Level HAVING job_count >= 10 ORDER BY Degrees.Degree_Level, Occupations.Occupation_Name; -- Top 10 Occupations by State (limiting the number of rows for each state) ( SELECT Occupation_Code, Posting_Duration, State_ID FROM Jobs WHERE State_ID = 9 ORDER BY Posting_Duration DESC LIMIT 10 ) UNION ( SELECT Occupation_Code, Posting_Duration, State_ID FROM Jobs WHERE State_ID = 9 ORDER BY Posting_Duration DESC LIMIT 10 );
<filename>migrations/2020-02-24-091115_add_scores_columns/up.sql ALTER TABLE scores ADD COLUMN weighted_points INTEGER NOT NULL DEFAULT 0, ADD COLUMN played_on TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, ADD COLUMN duration BIGINT NOT NULL DEFAULT 0, ADD COLUMN categories INTEGER[] NOT NULL DEFAULT '{}';
<filename>createDb.sql DROP DATABASE IF EXISTS "ng-cms"; CREATE DATABASE "ng-cms" WITH OWNER = postgres ENCODING = 'UTF8' CONNECTION LIMIT = -1; \c ng-cms; /* ** Roles table */ CREATE TABLE roles ( ID SERIAL PRIMARY KEY, name VARCHAR UNIQUE ); INSERT INTO roles (name) VALUES('Administrator'); INSERT INTO roles (name) VALUES('User'); /* ** Users table */ CREATE TABLE users ( ID SERIAL PRIMARY KEY, name VARCHAR, surname VARCHAR, email VARCHAR UNIQUE, birthday DATE, creationDate DATE, password VARCHAR, gender VARCHAR, role_id INTEGER REFERENCES roles (ID) ); /* ** Role Activity table */ CREATE TABLE role_activities ( ID SERIAL PRIMARY KEY, name VARCHAR UNIQUE, role_id INTEGER REFERENCES roles (ID) );
<reponame>DaltroxMx/deposito<filename>system/database/gestorDeposito.sql drop database gestorDeposito; create database gestorDeposito; use gestorDeposito; create table deposito( id int not null auto_increment primary key, nombre varchar(20), contenido varchar (10), cantidad int(4), precio float(6,2) ) create table carrito( id int not null auto_increment primary key, nombre varchar(20), contenido varchar (10), cantidad int(4), precio float(6,2), cliente varchar(20), fecha date, hora time )
--USE [Geography] SELECT p.[PeakName], r.[RiverName], LOWER(CONCAT(LEFT(p.[PeakName], LEN(p.[PeakName]) - 1), r.[RiverName])) AS [Mix] FROM [Peaks] AS p, [Rivers] AS r WHERE LOWER(RIGHT(p.[PeakName], 1)) = LOWER(LEFT(r.[RiverName], 1)) ORDER BY [Mix] --SELECT p.PeakName, r.RiverName, -- LOWER(CONCAT( -- p.PeakName, -- SUBSTRING(r.RiverName, 2, LEN(r.RiverName)-1))) AS [MIX] --FROM -- Peaks AS p, -- Rivers AS r --WHERE Right(p.PeakName, 1) = Left(r.RiverName, 1) --ORDER BY [MIX] --SELECT p.PeakName, -- r.RiverName, -- LOWER(CONCAT( -- p.PeakName, -- SUBSTRING(r.RiverName, 2, LEN(r.RiverName)-1))) -- AS [MIX] FROM Peaks AS p --JOIN Rivers AS r ON RIGHT(p.PeakName, 1) = LEFT(r.RiverName, 1) --ORDER BY [MIX]
<filename>Misscellaneous Queries/Error-Trying-2-Load-Assembly.sql<gh_stars>0 Msg 10314, Level 16, State 11, Line 3 An error occurred in the Microsoft .NET Framework while trying to load assembly id 65551. The server may be running out of resources, or the assembly may not be trusted with PERMISSION_SET = EXTERNAL_ACCESS or UNSAFE. Run the query again, or check documentation to see how to solve the assembly trust issues. For more information about this error: System.IO.FileLoadException: Could not load file or assembly 'dsg.vesta.extendedprocedures, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Exception from HRESULT: 0x80FC80F1 For assemblies to work properly, below things should be in order:- dbowner - sa TRUSTWORTHY - ON clr - enabled Assembly permission set = unsafe(unrestricted) In order to resolve the same, I have to rodify the DBA Log Walk stored procedure DBA..usp_DBARestoreBkup on DS15