sql
stringlengths 6
1.05M
|
|---|
<gh_stars>100-1000
Filename: out-SPT.h5repack_aggr.h5
Free-space persist: TRUE
Free-space section threshold: 5 bytes
Small size free-space sections (< 10 bytes):
Total # of small size sections: 0
Free-space section bins:
# of sections of size 100 - 999: 1
Total # of sections: 1
File space management strategy: H5F_FSPACE_STRATEGY_FSM_AGGR
File space page size: 4096 bytes
Summary of file space information:
File metadata: 1485 bytes
Raw data: 400 bytes
Amount/Percent of tracked free space: 563 bytes/23.0%
Unaccounted space: 0 bytes
Total space: 2448 bytes
|
CREATE SCHEMA IF NOT EXISTS db DEFAULT CHARACTER SET utf8 ;
USE `db` ;
CREATE TABLE IF NOT EXISTS `users` (
id_user INT NOT NULL AUTO_INCREMENT,
email VARCHAR(255) NOT NULL,
`password` VARCHAR(255) NOT NULL,
phone varchar(10) not null,
firstName VARCHAR(255) not NULL,
lastname VARCHAR(255) ,
Sex tinyint(1) not NULL,
birth_date date not null,
lang tinyint(1) not NULL default 1,
photo varchar(200),
subscribe_date datetime,
`type` tinyint not null,
PRIMARY KEY (`id_user`),
UNIQUE INDEX `email_UNIQUE` (`email` ASC) VISIBLE
)
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
CREATE TABLE IF NOT EXISTS `patients` (
id_patient INT NOT NULL,
`status` int not null default 1,
primary key(id_patient),
foreign key (id_patient) references users(id_user)
)
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
CREATE TABLE IF NOT EXISTS addresses (
id_address int not null auto_increment,
longitude float ,
latitude float ,
wilaya varchar(30) not null,
commune varchar(30) not null,
PRIMARY KEY (id_address)
)
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
CREATE TABLE IF NOT EXISTS specialities (
id_speciality INT NOT NULL AUTO_INCREMENT,
speciality_name VARCHAR(60) not null,
PRIMARY KEY (id_speciality)
)
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
CREATE TABLE IF NOT EXISTS forms (
id_form int not null auto_increment,
licence_photo varchar(200) not null,
card_photo varchar(200) not null,
primary key (id_form)
)
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
CREATE TABLE IF NOT EXISTS `doctors` (
id_doctor INT NOT NULL,
`description` varchar(500),
id_speciality int not null,
id_address int not null,
id_form int default null,
work_phone varchar(20) not null,
session_duration int not null,
isApprouved int not null default 0,
PRIMARY KEY (id_doctor),
foreign key (id_doctor) references `users`(id_user),
foreign key (id_address) references addresses(id_address),
foreign key (id_speciality) references specialities(id_speciality),
foreign key (id_form) references forms(id_form)
)
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
CREATE TABLE IF NOT EXISTS work_days(
day_number int not null,
id_doctor int not null,
start_time time not null,
nbr_sessions int not null,
primary key(id_doctor, day_number),
foreign key(id_doctor) references doctors(id_doctor)
)
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
CREATE TABLE IF NOT EXISTS rdvs(
id_doctor int not null,
id_patient int not null,
time_rdv datetime not null,
state int not null default 0,
primary key(id_doctor, id_patient, time_rdv),
foreign key(id_doctor) references doctors(id_doctor),
foreign key(id_patient) references patients(id_patient)
)
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
CREATE TABLE IF NOT EXISTS physical_rdvs(
id_doctor int not null,
time_rdv datetime not null,
primary key(id_doctor, time_rdv),
foreign key(id_doctor) references doctors(id_doctor)
)
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
CREATE TABLE IF NOT EXISTS favorites(
id_doctor int not null,
id_patient int not null,
primary key(id_doctor, id_patient),
foreign key(id_doctor) references doctors(id_doctor),
foreign key(id_patient) references patients(id_patient)
)
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
CREATE TABLE IF NOT EXISTS reviews(
id_doctor int not null,
id_patient int not null,
review int not null,
primary key(id_doctor, id_patient),
foreign key(id_doctor) references doctors(id_doctor),
foreign key(id_patient) references patients(id_patient)
)
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
CREATE TABLE IF NOT EXISTS gallery(
id_doctor int not null,
image_src varchar(300) not null,
foreign key(id_doctor) references doctors(id_doctor)
)
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
CREATE TABLE IF NOT EXISTS reports(
id_report int not null auto_increment,
cause varchar(400) not null,
id_doctor int not null,
id_patient int not null,
primary key(id_report),
foreign key(id_doctor) references doctors (id_doctor),
foreign key(id_patient) references patients (id_patient)
)
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
CREATE TABLE IF NOT EXISTS messages(
id_message int not null auto_increment,
`text` varchar(500) not null,
date_message datetime,
id_sender int not null,
id_receiver int not null,
primary key(id_message),
foreign key(id_receiver) references users(id_user),
foreign key(id_sender) references users(id_user)
)
ENGINE = InnoDB;
CREATE TABLE IF NOT EXISTS chats(
id_doctor int not null,
id_patient int not null,
doctor_last_seen_message int default null,
patient_last_seen_message int default null,
primary key(id_doctor, id_patient),
foreign key(id_doctor) references doctors(id_doctor),
foreign key(id_patient) references patients(id_patient),
foreign key(doctor_last_seen_message) references messages(id_message),
foreign key(patient_last_seen_message) references messages(id_message)
)
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
CREATE TABLE IF NOT EXISTS admins(
id_admin int not null auto_increment,
useranme varchar(100),
`password` varchar(400),
primary key(id_admin)
)
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
CREATE TABLE IF NOT EXISTS feedbacks(
id_feedback int not null auto_increment,
id_user int not null,
`text` varchar(500),
primary key(id_feedback),
foreign key (id_user) references users(id_user)
)
ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8;
|
<filename>ADD_LOCATION.sql
/*
CREATE_LOCATION_SP. Add a new location to the VM_LOCATION table.
This procedure should take as input location-related attributes and create a
new location entry. This procedure does not set the latitude/longitude values,
only address information a user might provide. If the country, postalcode, and
street portion of the address match, then a new location is not added. The
identifier for the location created or found is returned as an output parameter.
PARAMETERS: Described below
RETURNS: a new or existing location_id, using the p_location_id output parameter
ERROR MESSAGES:
Error text: "Missing mandatory value for parameter (x). No location added."
Error meaning: A mandatory value is missing. Here, y = 'CREATE_LOCATION_SP'
Error effect: Because a mandatory value is not provided, no data are
inserted into the VM_LOCATION table. The p_location_id value returned is
NULL.
*/
create or replace procedure CREATE_LOCATION_SP (
-- an output parameter
p_location_country VM_LOCATION.LOCATION_COUNTRY%TYPE,
p_location_postal_code VM_LOCATION.LOCATION_POSTAL_CODE%TYPE,
p_location_street1 VM_LOCATION.LOCATION_STREET_1%TYPE,
p_location_street2 VM_LOCATION.LOCATION_STREET_2%TYPE,
p_location_city VM_LOCATION.LOCATION_CITY%TYPE,
p_location_administrative_region VM_LOCATION.LOCATION_ADMINISTRATIVE_REGION%TYPE
)
IS
ex_error exception;
p_count number (10);
err_msg_txt varchar(200) :=null;
lv_lid_p_location_id NUMBER;
p_location_id NUMBER;
BEGIN
select count (*)
into p_count
from VM_LOCATION
WHERE LOCATION_COUNTRY = p_location_country AND LOCATION_POSTAL_CODE = p_location_postal_code AND LOCATION_STREET_1 = p_location_street1;
IF p_count > 0
then
err_msg_txt := 'Location is already existed';
raise ex_error;
IF p_location_id is null THEN
err_msg_txt:= 'LOCATION ID CANNOT BE null';
raise ex_error;
ELSIF p_location_country is null then
err_msg_txt := 'Missing mandatory value for parameter, LOCATION_COUNTRY can not be null.
The p_location_country value returned is NULL. ';
raise ex_error;
elsif p_location_postal_code is null then
err_msg_txt := 'Missing mandatory value for parameter, PERSON_EMAIL can not be null.
The p_person_id value returned is NULL. ';
raise ex_error;
end if;
end if;
lv_lid_p_location_id := VM_LOCATION_sq.NEXTVAL;
Insert Into VM_LOCATION ("LOCATION_ID", "LOCATION_COUNTRY", "LOCATION_POSTAL_CODE", "LOCATION_STREET_1", "LOCATION_STREET_2", "LOCATION_CITY", "LOCATION_ADMINISTRATIVE_REGION")
VALUES (lv_lid_p_location_id, p_location_country, p_location_postal_code, p_location_street1, p_location_street2, p_location_city, p_location_administrative_region);
commit;
p_location_id := lv_lid_p_location_id;
EXCEPTION
WHEN ex_error THEN
dbms_output.put_line (err_msg_txt);
rollback;
WHEN OTHERS THEN
dbms_output.put_line (' THE ERROR CODE IS' || sqlcode);
dbms_output.put_line (' THE ERROR MSG IS' || sqlerrm);
rollback;
END;
/
BEGIN
CREATE_LOCATION_SP('norway', '6366', 'Dronningensgate 69', 'Dronningensgate 67', 'Kristiansand', 'Vestagder');
COMMIT;
END;
/
|
-- phpMyAdmin SQL Dump
-- version 4.7.0
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Dec 18, 2017 at 01:39 PM
-- Server version: 10.1.25-MariaDB
-- PHP Version: 7.1.7
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: `ecom_1`
--
-- --------------------------------------------------------
--
-- Table structure for table `all_settings`
--
CREATE TABLE `all_settings` (
`all_id` int(3) NOT NULL,
`all_name_settings` varchar(60) NOT NULL,
`all_value_settings` varchar(60) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `all_settings`
--
INSERT INTO `all_settings` (`all_id`, `all_name_settings`, `all_value_settings`) VALUES
(1, 'footer', 'Excel Company'),
(2, 'site_name', 'Excel Company');
-- --------------------------------------------------------
--
-- Table structure for table `groups`
--
CREATE TABLE `groups` (
`gro_id` tinyint(1) NOT NULL,
`gro_name` varchar(60) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `groups`
--
INSERT INTO `groups` (`gro_id`, `gro_name`) VALUES
(1, 'admin'),
(2, 'c_admin'),
(3, 'member');
-- --------------------------------------------------------
--
-- Table structure for table `invoices`
--
CREATE TABLE `invoices` (
`id` int(16) NOT NULL,
`data` datetime NOT NULL,
`due_date` datetime NOT NULL,
`user_id` int(10) NOT NULL,
`status` enum('paid','confirmed','unpaid','canceled','expired') NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `invoices`
--
INSERT INTO `invoices` (`id`, `data`, `due_date`, `user_id`, `status`) VALUES
(10001001, '2015-05-06 08:13:09', '2015-05-07 08:13:09', 2, 'confirmed'),
(10001002, '2015-05-06 08:17:15', '2015-05-07 08:17:15', 3, 'unpaid');
-- --------------------------------------------------------
--
-- Table structure for table `orders`
--
CREATE TABLE `orders` (
`id` int(16) NOT NULL,
`invoice_id` int(16) NOT NULL,
`product_id` int(16) NOT NULL,
`product_type` varchar(60) NOT NULL,
`product_title` varchar(60) NOT NULL,
`qty` int(3) NOT NULL,
`price` int(9) NOT NULL,
`options` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `orders`
--
INSERT INTO `orders` (`id`, `invoice_id`, `product_id`, `product_type`, `product_title`, `qty`, `price`, `options`) VALUES
(10001001, 10001001, 1, 'PC', 'Dell', 1, 25000, ''),
(10001002, 10001002, 5, 'Mobile', 'Iphone 6', 1, 46000, '');
-- --------------------------------------------------------
--
-- Table structure for table `products`
--
CREATE TABLE `products` (
`pro_id` int(16) NOT NULL,
`pro_name` varchar(50) NOT NULL,
`pro_title` varchar(20) NOT NULL,
`pro_description` text NOT NULL,
`pro_price` int(9) NOT NULL,
`pro_stock` int(3) NOT NULL,
`pro_image` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `products`
--
INSERT INTO `products` (`pro_id`, `pro_name`, `pro_title`, `pro_description`, `pro_price`, `pro_stock`, `pro_image`) VALUES
(1, 'PC', 'Dell', 'Dell INSPIRON N5111\r\nRAM 2GB\r\nCORE i5\r\nAVG 1Gb\r\nCPU 3000', 25000, 3, 'Dell_Computer.jpg'),
(2, 'Laptop', 'Toshiba', 'RAM 1GB\r\nCORE i7\r\nAVG 2Gb\r\nCPU 3500', 50000, 5, 'prod_satA205-OFTWH_300-01.jpg'),
(3, 'PC', 'HP', 'HP 300 \r\nram 2 gb\r\navg 2\r\ncpu 3500\r\ndvd\r\ncam 16 px\r\n', 75000, 1, 'images.jpg'),
(4, 'Mobile', 'HTC sensation XL', 'htc', 45000, 1, 'htc_sensation_xl_28.jpg'),
(5, 'Mobile', 'Iphone 6', 'Iphone 6', 46000, 1, 'aabffb1c6425f95fd26db8595ee28c0e_png.jpg');
-- --------------------------------------------------------
--
-- Table structure for table `reports`
--
CREATE TABLE `reports` (
`rep_id` int(9) NOT NULL,
`rep_name` varchar(60) NOT NULL,
`rep_id_product` int(9) NOT NULL,
`rep_title_product` varchar(60) NOT NULL,
`rep_usr_name` varchar(60) NOT NULL,
`rep_usr_group` varchar(60) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `reports`
--
INSERT INTO `reports` (`rep_id`, `rep_name`, `rep_id_product`, `rep_title_product`, `rep_usr_name`, `rep_usr_group`) VALUES
(3, 'PC', 1, 'Dell', '', '0'),
(4, 'Laptop', 2, 'Toshiba', '', '0'),
(5, 'Mobile', 4, 'HTC sensation XL', 'test', '3'),
(6, 'Laptop', 2, 'Toshiba', 'test', '3'),
(7, 'PC', 3, 'HP', 'Gost', 'Gost'),
(8, 'PC', 1, 'Dell', 'hichamtest', '3'),
(9, 'Mobile', 5, 'Iphone 6', 'Gost', 'Gost'),
(10, 'PC', 3, 'HP', 'Gost', 'Gost');
-- --------------------------------------------------------
--
-- Table structure for table `shop_session`
--
CREATE TABLE `shop_session` (
`id` varchar(40) NOT NULL,
`ip_address` varchar(45) NOT NULL,
`timestamp` int(10) UNSIGNED NOT NULL DEFAULT '0',
`data` blob NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `shop_session`
--
INSERT INTO `shop_session` (`id`, `ip_address`, `timestamp`, `data`) VALUES
('0056750e80f770b669fe527b15de3d60', '::1', 1504700139, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343730303133393b),
('<KEY>', '::1', 1504699401, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393430313b),
('024272f15c38aca399100d5ba60d3a5a', '::1', 1504699230, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393233303b),
('<KEY>', '::1', 1504754192, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343735343139323b),
('0568461a0a0c6d4d72d7110845e687bd', '::1', 1504700065, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343730303036353b757365726e616d657c733a353a2261646d696e223b67726f75707c733a313a2231223b),
('082f8ef234a64a9610dbfab6786b7d2a', '::1', 1504699374, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393337343b757365726e616d657c4e3b67726f75707c4e3b),
('<KEY>', '::1', 1504699568, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393536383b),
('<KEY>', '::1', 1513600068, 0x5f5f63695f6c6173745f726567656e65726174657c693a313531333630303036383b),
('0bb4501e351e88681aebca968cd4885f', '::1', 1504699402, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393430323b757365726e616d657c733a353a2261646d696e223b67726f75707c733a313a2231223b),
('0e94a6e66df70703b294b92bca3267da', '::1', 1504699569, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393536393b757365726e616d657c733a353a2261646d696e223b67726f75707c693a313b),
('<KEY>', '::1', 1513600047, 0x5f5f63695f6c6173745f726567656e65726174657c693a313531333630303034373b),
('129a0ed89b7818d8876016cbf9b85f50', '::1', 1504699351, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393335313b),
('<KEY>', '::1', 1504699041, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393034313b757365726e616d657c733a353a2261646d696e223b67726f75707c733a313a2231223b),
('<KEY>', '::1', 1504758242, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343735383234323b),
('1a952168f69adc7e246e9e5a5f69310e', '::1', 1504698758, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639383735383b),
('1bd1d0becdf9da779b22872a679f60d0', '::1', 1504700090, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343730303039303b),
('1c76e6eb038b9433dd1397292e29ef81', '::1', 1504699104, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393130343b),
('22f50e9cb988305d26e682c9c6c0d165', '::1', 1504699416, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393431363b),
('29de1d5eb7a63175d1491579936630ea', '::1', 1504698978, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639383937383b),
('<KEY>', '::1', 1504700141, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343730303134313b757365726e616d657c733a353a2261646d696e223b67726f75707c733a313a2231223b),
('2f8ea32cc6558832124833d251782d5b', '::1', 1504699666, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393636363b),
('<KEY>', '::1', 1504699177, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393137373b),
('360419a8c2e37f68b6f825fe2d29d8e1', '::1', 1504698757, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639383735373b),
('362d1094a8278b4a9c57cc8f7af5b3d6', '::1', 1510910727, 0x5f5f63695f6c6173745f726567656e65726174657c693a313531303931303732373b),
('<KEY>', '::1', 1504754165, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343735343136353b757365726e616d657c733a353a2261646d696e223b67726f75707c733a313a2231223b),
('3963ef962d443bb370e2a35be3457a47', '::1', 1504699401, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393430313b),
('<KEY>', '::1', 1504699352, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393335323b),
('3de92e13954ba62b9bdaa13525d1aa9c', '::1', 1504699361, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393336313b),
('3effadf33d656826b40f432d12234b66', '::1', 1504700163, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343730303136333b),
('3f20afcc235a5099436225176260afbe', '::1', 1504699660, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393636303b),
('409aba9c62bd9032710f3ac6785a35c2', '::1', 1510910738, 0x5f5f63695f6c6173745f726567656e65726174657c693a313531303931303733383b),
('40ff9f4a9e62a0ded557a417adae9949', '::1', 1504698758, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639383735383b),
('4101d9529781cedf98f649c1db0d1f49', '::1', 1513600073, 0x5f5f63695f6c6173745f726567656e65726174657c693a313531333630303037333b),
('454e92e0d37b8a61a533e3ac225a140c', '::1', 1513600067, 0x5f5f63695f6c6173745f726567656e65726174657c693a313531333630303036373b),
('460b55e96b97135ac01126fee564061b', '::1', 1504700231, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343730303233313b),
('48bb6c11055b5add3e5ff2ca28ff32ae', '::1', 1504700190, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343730303139303b),
('<KEY>', '::1', 1504698748, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639383734383b),
('5330e5b4b36d565d4178bee0b6522886', '::1', 1504699416, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393431363b757365726e616d657c733a353a2261646d696e223b67726f75707c733a313a2231223b),
('<KEY>', '::1', 1504700170, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343730303137303b757365726e616d657c733a353a2261646d696e223b67726f75707c733a313a2231223b),
('<KEY>', '::1', 1504754201, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343735343230313b),
('55dccc91ac35240163a6da6bbf74b36c', '::1', 1504699219, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393231393b),
('563b9782638ea8c10193da52c8840c6e', '::1', 1504699177, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393137373b757365726e616d657c733a353a2261646d696e223b67726f75707c733a313a2231223b),
('<KEY>', '::1', 1504699668, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393636383b),
('5ed213856d5ca50f4f8e893f88e6c64f', '::1', 1504699378, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393337383b),
('62ee5a03bda6320a3b9355e08bbd8ff8', '::1', 1504698978, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639383937383b757365726e616d657c733a353a2261646d696e223b67726f75707c733a313a2231223b),
('62f885c4e1c3088a8a8e6469f5203d4f', '::1', 1504700026, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343730303032363b),
('<KEY>', '::1', 1504754163, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343735343136333b),
('<KEY>', '::1', 1504699092, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393039323b757365726e616d657c733a353a2261646d696e223b67726f75707c733a313a2231223b),
('<KEY>', '::1', 1504699223, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393232333b),
('6bb6402ab06c52149b017ea99c597354', '::1', 1513600063, 0x5f5f63695f6c6173745f726567656e65726174657c693a313531333630303036333b),
('6c84b2ea6f5462e2dd86279c494dd002', '::1', 1504699540, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393534303b),
('6e125e5014412bd4fe9f6b78ea46aafa', '::1', 1504699359, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393335393b757365726e616d657c733a353a2261646d696e223b67726f75707c733a313a2231223b),
('<KEY>', '::1', 1504700025, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343730303032353b),
('<KEY>8', '::1', 1504699039, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393033393b),
('<KEY>', '::1', 1504754165, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343735343136353b),
('75a0e4f37de2cbee559efd71fe345200', '::1', 1513600075, 0x5f5f63695f6c6173745f726567656e65726174657c693a313531333630303037353b),
('<KEY>', '::1', 1504699569, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393536393b),
('<KEY>', '::1', 1504700026, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343730303032363b757365726e616d657c733a353a2261646d696e223b67726f75707c733a313a2231223b),
('<KEY>', '::1', 1504699104, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393130343b),
('<KEY>', '::1', 1504699057, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393035373b),
('82248a9f9266db4404eb642354b895a0', '::1', 1504699668, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393636383b),
('<KEY>', '::1', 1504700106, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343730303130363b),
('<KEY>', '::1', 1504699103, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393130333b),
('86fec7339d24bfade9b14e117409c88c', '::1', 1504699092, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393039323b),
('<KEY>', '::1', 1513600060, 0x5f5f63695f6c6173745f726567656e65726174657c693a313531333630303036303b),
('8894538da476e52f83a6d19b1dd5e6ae', '::1', 1504699223, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393232333b),
('<KEY>', '::1', 1504699370, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393337303b),
('<KEY>', '::1', 1513600071, 0x5f5f63695f6c6173745f726567656e65726174657c693a313531333630303037313b),
('8bee6762eb05a808f0ad35d30ae4a6b8', '::1', 1504700168, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343730303136383b),
('<KEY>', '::1', 1504699050, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393035303b757365726e616d657c733a353a2261646d696e223b67726f75707c733a313a2231223b),
('8f64c1437a9ad841c58297634999aadb', '::1', 1504700228, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343730303232383b),
('<KEY>', '::1', 1504698751, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639383735313b757365726e616d657c733a353a2261646d696e223b67726f75707c733a313a2231223b),
('93a07c7cdaa87999c77c9e5b02237373', '::1', 1504698751, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639383735313b),
('<KEY>', '::1', 1504699359, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393335393b),
('<KEY>', '::1', 1504699384, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393338343b757365726e616d657c733a353a2261646d696e223b67726f75707c733a313a2231223b),
('<KEY>', '::1', 1504699415, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393431353b),
('946b912ce00fe5783e3aec5f5aea1d46', '::1', 1513600064, 0x5f5f63695f6c6173745f726567656e65726174657c693a313531333630303036343b),
('948ca211163f4b55041fe07ad7a70c1a', '::1', 1504699709, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393730393b),
('<KEY>', '::1', 1504698758, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639383735383b757365726e616d657c733a353a2261646d696e223b67726f75707c733a313a2231223b),
('97d33b42f6a1ce980926083c33ca6bc5', '::1', 1504699416, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393431363b),
('991f868716fef6d7e461ad54ebf6202a', '::1', 1504699843, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393834333b),
('9c27993217a0a3634687df4e97d8e637', '::1', 1504699811, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393831313b),
('<KEY>', '::1', 1504699106, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393130363b),
('<KEY>', '::1', 1504699219, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393231393b),
('<KEY>', '::1', 1504699399, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393339393b),
('a304faf9731891fa0d6f66af59991f16', '::1', 1504700170, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343730303137303b),
('a45eeff244a1364ef75930f72800376a', '::1', 1504699223, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393232333b757365726e616d657c733a353a2261646d696e223b67726f75707c733a313a2231223b),
('<KEY>', '::1', 1504698977, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639383937373b),
('<KEY>', '::1', 1504698746, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639383734363b),
('<KEY>', '::1', 1504698978, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639383937383b),
('<KEY>', '::1', 1504700231, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343730303233313b757365726e616d657c733a353a2261646d696e223b67726f75707c733a313a2231223b),
('<KEY>', '::1', 1510910736, 0x5f5f63695f6c6173745f726567656e65726174657c693a313531303931303733363b),
('acf8b3666205c89ac520c04a1dd42dc1', '::1', 1504698981, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639383938313b),
('<KEY>', '::1', 1513600057, 0x5f5f63695f6c6173745f726567656e65726174657c693a313531333630303035373b),
('b09ab7c685fff37dc674ede68e3a23ad', '::1', 1504699366, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393336363b757365726e616d657c4e3b67726f75707c4e3b),
('b5728ea592559c1d187698915178c4c1', '::1', 1504699399, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393339393b),
('<KEY>', '::1', 1504698750, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639383735303b),
('b8e14069d6985da85db43d694d29eda4', '::1', 1504699857, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393835373b),
('b9a073eca826134a32bb9b22859a9c6c', '::1', 1504699402, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393430323b),
('<KEY>', '::1', 1504699540, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393534303b),
('<KEY>', '::1', 1504699357, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393335373b),
('c6d5beb0a0ad54e2af7887594ddc6954', '::1', 1504699356, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393335363b),
('c8c8f796e6344f214efee68c31cffdd1', '::1', 1504699221, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393232313b),
('<KEY>', '::1', 1504699042, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393034323b),
('d1771ab4d1b763603201a6e3a0a046a4', '::1', 1504699384, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393338343b),
('d335ae75fb9b68a8a268a6c1ba495a44', '::1', 1504700132, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343730303133323b),
('<KEY>', '::1', 1504699101, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393130313b),
('<KEY>', '::1', 1504699352, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393335323b757365726e616d657c733a353a2261646d696e223b67726f75707c733a313a2231223b),
('da0bbd73f7c62d612109565b0e0f5e1e', '::1', 1504699879, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393837393b),
('da107ce840ec4b72a5e1b748018a1db2', '::1', 1504699402, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393430323b),
('<KEY>', '::1', 1504699668, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393636383b757365726e616d657c733a353a2261646d696e223b67726f75707c733a313a2231223b),
('ddcda9bd4ee80c68ecac191c9030257b', '::1', 1504754161, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343735343136313b),
('<KEY>', '::1', 1504699104, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393130333b757365726e616d657c733a353a2261646d696e223b67726f75707c733a313a2231223b),
('e1f76d9f82189e51ddb343e06f184d64', '::1', 1504700141, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343730303134313b),
('e26c044b6cf64c517145cedacb068857', '::1', 1504699092, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393039323b),
('e642d3a9908eea098ac08a1e04a4a8e2', '::1', 1504700004, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343730303030343b),
('e9dffdc0b7dde329bdb300a6778b761f', '::1', 1513600065, 0x5f5f63695f6c6173745f726567656e65726174657c693a313531333630303036353b),
('ec81157be71061dd2d83aad498e7fa84', '::1', 1504699538, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393533383b),
('f397206b6e80b392a23d75cdb06d06e9', '::1', 1504699540, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393534303b757365726e616d657c733a353a2261646d696e223b67726f75707c693a313b),
('f3980e623c1851e107ac5edf453e3a74', '::1', 1504699414, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393431343b),
('f4a6193448415643b4f79e51a81ae012', '::1', 1504699567, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393536373b),
('<KEY>', '::1', 1504700063, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343730303036333b),
('f9ba1c6d123acd5df54e05abe5a0fe01', '::1', 1504699176, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639393137363b),
('<KEY>', '::1', 1504698751, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343639383735313b),
('<KEY>', '::1', 1504700065, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343730303036353b),
('faa327117267caa14d02a54bb7a9f012', '::1', 1504754152, 0x5f5f63695f6c6173745f726567656e65726174657c693a313530343735343135323b);
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`usr_id` int(10) NOT NULL,
`usr_name` varchar(25) NOT NULL,
`usr_password` varchar(60) NOT NULL,
`usr_group` tinyint(1) NOT NULL,
`stuts` tinyint(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`usr_id`, `usr_name`, `usr_password`, `usr_group`, `stuts`) VALUES
(1, 'admin', '<PASSWORD>', 1, 1),
(2, 'hicham', '<PASSWORD>', 3, 1),
(3, 'dyaa', '<PASSWORD>', 3, 1),
(4, 'rdhaw', '<PASSWORD>', 3, 1);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `all_settings`
--
ALTER TABLE `all_settings`
ADD PRIMARY KEY (`all_id`);
--
-- Indexes for table `groups`
--
ALTER TABLE `groups`
ADD PRIMARY KEY (`gro_id`);
--
-- Indexes for table `invoices`
--
ALTER TABLE `invoices`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `orders`
--
ALTER TABLE `orders`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `products`
--
ALTER TABLE `products`
ADD PRIMARY KEY (`pro_id`);
--
-- Indexes for table `reports`
--
ALTER TABLE `reports`
ADD PRIMARY KEY (`rep_id`);
--
-- Indexes for table `shop_session`
--
ALTER TABLE `shop_session`
ADD PRIMARY KEY (`id`),
ADD KEY `ci_sessions_timestamp` (`timestamp`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`usr_id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `all_settings`
--
ALTER TABLE `all_settings`
MODIFY `all_id` int(3) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `groups`
--
ALTER TABLE `groups`
MODIFY `gro_id` tinyint(1) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT for table `invoices`
--
ALTER TABLE `invoices`
MODIFY `id` int(16) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10001003;
--
-- AUTO_INCREMENT for table `orders`
--
ALTER TABLE `orders`
MODIFY `id` int(16) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10001003;
--
-- AUTO_INCREMENT for table `products`
--
ALTER TABLE `products`
MODIFY `pro_id` int(16) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `reports`
--
ALTER TABLE `reports`
MODIFY `rep_id` int(9) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `usr_id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
-- phpMyAdmin SQL Dump
-- version 4.5.2
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Feb 10, 2017 at 02:34 PM
-- Server version: 5.7.9
-- PHP Version: 5.6.16
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `db`
--
-- --------------------------------------------------------
--
-- Table structure for table `posts`
--
DROP TABLE IF EXISTS `posts`;
CREATE TABLE IF NOT EXISTS `posts` (
`post_id` int(15) NOT NULL AUTO_INCREMENT,
`post_from_id` int(15) NOT NULL,
`post_to_id` int(15) NOT NULL,
`post` longtext NOT NULL,
`picture` varchar(255) DEFAULT NULL,
`datetimer` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`post_id`)
) ENGINE=MyISAM AUTO_INCREMENT=113 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `posts`
--
INSERT INTO `posts` (`post_id`, `post_from_id`, `post_to_id`, `post`, `picture`, `datetimer`) VALUES
(12, 1, 1, 'hfksfhs fose fsef sof seufh sodefj soef jsoef jsoejf se ofj seofj soef seof hsoefhsoe fhosefh soefh soefh soefh soefh osehf osehf soehfsoehfsoehf ose fsoehfsoefh osefh seohfsoefh soefh seofh sefhoseofhseofhsoef shefosehfos ehfsoe fhsoefhseohfseof seohfsoefh seofhs efhsefohseofh esfoehfo sehfsoe fshoefo sefsoehfseohfsoe fos efohseofhseofhseofhseo fsoe fshoefose fhsoef ', NULL, '2017-01-05 19:32:59'),
(13, 1, 1, ' feus efos efose fosd fseof soef soef soe fsoe fsijoe fose fose fose fosef soe fsoef ose fose fose fosie fose fisefiseof ow idoqw idoqaw doqwa daow doaw doaw dawo daowd aow daow doawd aowd aow doqd owaf soe sof eof awof awd awoi daw doaw dawo dawo doaw daow daowd oawd aowf g orgrpgspegsprg sepg ps', NULL, '2017-01-05 19:33:20'),
(14, 1, 1, 'd\r\n', NULL, '2017-01-05 19:33:30'),
(15, 1, 1, 'dahkdjawifha qor fnwe fhsd fhowef aeiufh oes fosef hsoef hsoeufh soef soef soefh soehf ose fhsoef osehf osefh soe fhsoe fsoehfsoefh soef hsoefh soefh soefh soef hsoefh soehf soefh soehf seofh seof hseofhseofshefoshefos efhsoe fsoehfsoefh so ef shoe fhsoefhsoefh soefh soef hsoe fose fsoehf\r\n\r\n\r\nseof osef hsoefjsefo sejofose fjseof jsoef sjeof sjf soefjseofj seof sejfosejfsoe fjsoe fseof jsoefj seof jsoe f', NULL, '2017-01-05 19:40:56'),
(16, 2, 2, 'how r u?\r\n', NULL, '2017-01-05 20:56:38'),
(17, 1, 2, 'Hello Henry', NULL, '2017-01-07 22:59:29'),
(18, 1, 3, 'Hello', NULL, '2017-01-07 23:23:56'),
(19, 1, 1, 'Hello There', NULL, '2017-01-07 23:29:28'),
(43, 1, 1, '', 'uploads/post_pics/jxs215yhrg4evt7WallPaperHD 004.jpg', '2017-01-09 17:45:19'),
(44, 1, 1, '', 'uploads/post_pics/jb9zui1fhq5skypWallPaperHD 008.jpg', '2017-01-09 18:03:33'),
(77, 1, 1, 'feus efos efose fosd fseof soef soef soe fsoe fsijoe fose fose fose fosef soe fsoef ose fose fose fosie fose fisefiseof ow idoqw idoqaw doqwa daow doaw doaw dawo daowd aow daow doawd aowd aow doqd owaf soe sof eof awof awd awoi daw doaw dawo dawo doaw daow daowd oawd aowf g orgrpgspegsprg sepg ps\r\n\r\nfeus efos efose fosd fseof soef soef soe fsoe fsijoe fose fose fose fosef soe fsoef ose fose fose fosie fose fisefiseof ow idoqw idoqaw doqwa daow doaw doaw dawo daowd aow daow doawd aowd aow doqd owaf soe sof eof awof awd awoi daw doaw dawo dawo doaw daow daowd oawd aowf g orgrpgspegsprg sepg ps\r\n\r\n\r\nfeus efos efose fosd fseof soef soef soe fsoe fsijoe fose fose fose fosef soe fsoef ose fose fose fosie fose fisefiseof ow idoqw idoqaw doqwa daow doaw doaw dawo daowd aow daow doawd aowd aow doqd owaf soe sof eof awof awd awoi daw doaw dawo dawo doaw daow daowd oawd aowf g orgrpgspegsprg sepg ps\r\nfeus efos efose fosd fseof soef soef soe fsoe fsijoe fose fose fose fosef soe fsoef ose fose fose fosie fose fisefiseof ow idoqw idoqaw doqwa daow doaw doaw dawo daowd aow daow doawd aowd aow doqd owaf soe sof eof awof awd awoi daw doaw dawo dawo doaw daow daowd oawd aowf g orgrpgspegsprg sepg ps\r\n\r\n\r\n\r\nfeus efos efose fosd fseof soef soef soe fsoe fsijoe fose fose fose fosef soe fsoef ose fose fose fosie fose fisefiseof ow idoqw idoqaw doqwa daow doaw doaw dawo daowd aow daow doawd aowd aow doqd owaf soe sof eof awof awd awoi daw doaw dawo dawo doaw daow daowd oawd aowf g orgrpgspegsprg sepg ps\r\n\r\n\r\nfeus efos efose fosd fseof soef soef soe fsoe fsijoe fose fose fose fosef soe fsoef ose fose fose fosie fose fisefiseof ow idoqw idoqaw doqwa daow doaw doaw dawo daowd aow daow doawd aowd aow doqd owaf soe sof eof awof awd awoi daw doaw dawo dawo doaw daow daowd oawd aowf g orgrpgspegsprg sepg ps\r\n\r\n\r\n\r\nfeus efos efose fosd fseof soef soef soe fsoe fsijoe fose fose fose fosef soe fsoef ose fose fose fosie fose fisefiseof ow idoqw idoqaw doqwa daow doaw doaw dawo daowd aow daow doawd aowd aow doqd owaf soe sof eof awof awd awoi daw doaw dawo dawo doaw daow daowd oawd aowf g orgrpgspegsprg sepg psfeus efos efose fosd fseof soef soef soe fsoe fsijoe fose fose fose fosef soe fsoef ose fose fose fosie fose fisefiseof ow idoqw idoqaw doqwa daow doaw doaw dawo daowd aow daow doawd aowd aow doqd owaf soe sof eof awof awd awoi daw doaw dawo dawo doaw daow daowd oawd aowf g orgrpgspegsprg sepg ps\r\n\r\n\r\nfeus efos efose fosd fseof soef soef soe fsoe fsijoe fose fose fose fosef soe fsoef ose fose fose fosie fose fisefiseof ow idoqw idoqaw doqwa daow doaw doaw dawo daowd aow daow doawd aowd aow doqd owaf soe sof eof awof awd awoi daw doaw dawo dawo doaw daow daowd oawd aowf g orgrpgspegsprg sepg psfeus efos efose fosd fseof soef soef soe fsoe fsijoe fose fose fose fosef soe fsoef ose fose fose fosie fose fisefiseof ow idoqw idoqaw doqwa daow doaw doaw dawo daowd aow daow doawd aowd aow doqd owaf soe sof eof awof awd awoi daw doaw dawo dawo doaw daow daowd oawd aowf g orgrpgspegsprg sepg ps', NULL, '2017-01-11 19:25:48'),
(72, 1, 1, 'hello', NULL, '2017-01-11 19:03:29'),
(56, 1, 1, '', 'uploads/post_pics/kcmp57n8rvjbx3oWallPaperHD 008.jpg', '2017-01-09 20:40:36'),
(59, 1, 1, 'Hey..', NULL, '2017-01-09 23:23:44'),
(48, 1, 1, 'Let us see the tutorial how to create infinite scroll for webpage in PHP in below code snippet.\r\nFirst of all create infinite-scroll folder in your root folder of www or htdocs. Create two file which is index,php and get_moredata.php. Here we sending the request for more data using ajax with jquery. As usual for working of javascript here we are including jquery.js library file.', 'uploads/post_pics/imh0jz6qpbcvew1WallPaperHD 011.jpg', '2017-01-09 18:04:47'),
(49, 2, 2, '', 'uploads/post_pics/rl7tqxmnbsp65dgWallPaperHD 007.jpg', '2017-01-09 18:07:59'),
(50, 2, 2, '', 'uploads/post_pics/5aq38edb0sjf7trWallPaperHD 001.jpg', '2017-01-09 18:08:05'),
(52, 2, 2, '', 'uploads/post_pics/nvr8uzw2a7c4egbWallPaperHD 018.jpg', '2017-01-09 18:08:16'),
(54, 2, 2, '', 'uploads/post_pics/bgnvzi5u61pomh3WallPaperHD 031.jpg', '2017-01-09 18:08:27'),
(81, 1, 1, 's', NULL, '2017-01-11 19:30:08'),
(82, 1, 1, 'he;dvftgybnhujm,kop.lk,mjinhuybgf\r\n', NULL, '2017-01-11 19:46:11'),
(112, 1, 1, '', 'uploads/post_pics/a4vgjkn0zt2fw6mchem.pdf', '2017-01-22 14:48:26'),
(108, 1, 1, '', NULL, '2017-01-15 21:20:41'),
(109, 1, 1, '', NULL, '2017-01-15 21:20:43'),
(110, 1, 1, '', 'uploads/post_pics/vexm5i6you12dpz6-wallpaper121qu.jpg', '2017-01-22 14:37:28');
-- --------------------------------------------------------
--
-- Table structure for table `relationship`
--
DROP TABLE IF EXISTS `relationship`;
CREATE TABLE IF NOT EXISTS `relationship` (
`user_one_id` int(15) NOT NULL,
`user_two_id` int(15) NOT NULL,
`status` tinyint(4) NOT NULL,
`action_user_id` int(15) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `relationship`
--
INSERT INTO `relationship` (`user_one_id`, `user_two_id`, `status`, `action_user_id`) VALUES
(1, 3, 1, 3),
(2, 3, 1, 3),
(1, 18, 1, 18),
(11, 18, 0, 18),
(1, 11, 1, 1);
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
DROP TABLE IF EXISTS `users`;
CREATE TABLE IF NOT EXISTS `users` (
`user_id` int(15) NOT NULL AUTO_INCREMENT,
`first_name` varchar(255) NOT NULL,
`last_name` varchar(255) NOT NULL,
`username` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`mobile` bigint(15) NOT NULL,
`password` varchar(255) NOT NULL,
`dater` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`about` varchar(255) NOT NULL DEFAULT 'Hey I am using this new social networking site dosti time.',
`work` varchar(255) NOT NULL DEFAULT 'Information Not Availaible',
`study` varchar(255) NOT NULL DEFAULT 'Information Not Availaible',
`lives` varchar(255) NOT NULL DEFAULT 'Information Not Availaible',
`placefrom` varchar(255) NOT NULL DEFAULT 'Information Not Availaible',
`profile_pic` varchar(255) NOT NULL DEFAULT 'img/profile_default.jpg',
`cover_pic` varchar(255) NOT NULL DEFAULT 'img/cover_default1.jpg',
PRIMARY KEY (`user_id`)
) ENGINE=MyISAM AUTO_INCREMENT=21 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`user_id`, `first_name`, `last_name`, `username`, `email`, `mobile`, `password`, `dater`, `about`, `work`, `study`, `lives`, `placefrom`, `profile_pic`, `cover_pic`) VALUES
(1, 'Aayush', 'Sinha', 'aayush', '<EMAIL>', 947017776, 'c4ca423<PASSWORD>6f75<PASSWORD>b', '2017-01-02 00:00:00', 'Building this awesome, brand new and fantastic website friendzone.', 'Information Not Availaible', 'Birla Institute of Technology, Mesra', 'Ranchi, Jharkand', 'Sambalpur, Odisha', 'uploads/profile_pics/piklexj9dmbgs166-wallpaper121qu.jpg', 'uploads/cover_pics/p3l7b0a9ijcnstkhacker-wallpapers-5352.jpg'),
(2, 'Henry', 'Watson', 'henry', '<EMAIL>', 947017776, 'c4ca4238a0b923820dcc509a6f75849b', '2017-01-02 00:00:00', 'Hey I am using this new social networking site friend zone.', 'Warbook Pvt. Limited', 'London Business School', 'Standford', 'Standford', 'img/profile_default.jpg', 'img/cover_default1.jpg'),
(3, 'Michael', 'Maxwell', 'michael', '<EMAIL>', 947017776, 'c4ca4238a0b923820dcc509a6f75849b', '2017-01-03 00:00:00', 'Hey I am using this new social networking site friend zone.', 'Information Not Availaible', 'R.R. Institute of Technology', 'L.A.', 'L.A.', 'img/profile_default.jpg', 'img/cover_default1.jpg'),
(10, 'Yashwant', 'Rajput', 'yashwant', '<EMAIL>', 9470177764, 'c4ca4238a0b923820dcc509a6f75849b', '2017-01-11 18:41:00', 'Hey I am using this new social networking site dosti time.', 'Information Not Availaible', 'Information Not Availaible', 'Information Not Availaible', 'Information Not Availaible', 'img/profile_default.jpg', 'img/cover_default1.jpg'),
(9, 'Glenn', 'Mcgrath', 'glenn', '<EMAIL>', 9470177764, 'c4ca4238a0b923820dcc509a6f75849b', '2017-01-08 19:12:41', 'Hey I am using this new social networking site dosti time.', 'Information Not Availaible', 'Information Not Availaible', 'Information Not Availaible', 'Information Not Availaible', 'img/profile_default.jpg', 'img/cover_default1.jpg'),
(11, 'Joe', 'West', 'joe', '<EMAIL>', 9470177764, 'c4ca4238a0b923820dcc509a6f75849b', '2017-01-11 18:41:24', 'Hey I am using this new social networking site dosti time.', 'Information Not Availaible', 'Information Not Availaible', 'Information Not Availaible', 'Information Not Availaible', 'img/profile_default.jpg', 'img/cover_default1.jpg'),
(12, 'Iris', 'West', 'iris', '<EMAIL>', 9470177764, 'c4ca4238a0b923820dcc509a6f75849b', '2017-01-11 18:41:56', 'Hey I am using this new social networking site dosti time.', 'Information Not Availaible', 'Information Not Availaible', 'Information Not Availaible', 'Information Not Availaible', 'img/profile_default.jpg', 'img/cover_default1.jpg'),
(13, 'Ram', 'Prasad', 'ram', '<EMAIL>', 9470177764, 'c4ca4238a0b923820dcc509a6f75849b', '2017-01-11 18:42:23', 'Hey I am using this new social networking site dosti time.', 'Information Not Availaible', 'Information Not Availaible', 'Information Not Availaible', 'Information Not Availaible', 'img/profile_default.jpg', 'img/cover_default1.jpg'),
(14, 'Barry', 'Allen', 'barry', '<EMAIL>', 9470177764, 'c4ca4238a0b923820dcc509a6f75849b', '2017-01-11 18:42:50', 'Hey I am using this new social networking site dosti time.', 'Information Not Availaible', 'Information Not Availaible', 'Information Not Availaible', 'Information Not Availaible', 'img/profile_default.jpg', 'img/cover_default1.jpg'),
(15, 'Oliver', 'Queen', 'oliver', '<EMAIL>', 9470177764, 'c4ca4238a0b923820dcc509a6f75849b', '2017-01-11 18:43:12', 'Hey I am using this new social networking site dosti time.', 'Information Not Availaible', 'Information Not Availaible', 'Information Not Availaible', 'Information Not Availaible', 'img/profile_default.jpg', 'img/cover_default1.jpg'),
(16, 'Sarah', 'Lance', 'sarah', '<EMAIL>', 9470177764, 'c4ca4238a0b923820dcc509a6f75849b', '2017-01-11 18:43:34', 'Hey I am using this new social networking site dosti time.', 'Information Not Availaible', 'Information Not Availaible', 'Information Not Availaible', 'Information Not Availaible', 'img/profile_default.jpg', 'img/cover_default1.jpg'),
(17, 'Laurel', 'Lance', 'laurel', '<EMAIL>', 9470177764, 'c81e728d9d4c2f636f067f89cc14862c', '2017-01-11 18:44:01', 'Hey I am using this new social networking site dosti time.', 'Information Not Availaible', 'Information Not Availaible', 'Information Not Availaible', 'Information Not Availaible', 'img/profile_default.jpg', 'img/cover_default1.jpg'),
(18, 'Andrew', 'West', 'andrew', '<EMAIL>', 9470177764, 'c4ca4238a0b923820dcc509a6f75849b', '2017-01-12 15:42:35', 'Hey I am using this new social networking site dosti time.', 'Information Not Availaible', 'Information Not Availaible', 'Information Not Availaible', 'Information Not Availaible', 'img/profile_default.jpg', 'img/cover_default1.jpg'),
(19, 'Anna', 'Tim', 'anna', '<EMAIL>', 9470177764, 'c4ca4238a0b923820dcc509a6f75849b', '2017-01-12 15:43:10', 'Hey I am using this new social networking site dosti time.', 'Information Not Availaible', 'Information Not Availaible', 'Information Not Availaible', 'Information Not Availaible', 'img/profile_default.jpg', 'img/cover_default1.jpg'),
(20, 'Areya', 'Toshi', 'areya', '<EMAIL>', 9470177764, 'c4ca4238a0b923820dcc509a6f75849b', '2017-01-12 15:43:36', 'Hey I am using this new social networking site dosti time.', 'Information Not Availaible', 'Information Not Availaible', 'Information Not Availaible', 'Information Not Availaible', 'img/profile_default.jpg', 'img/cover_default1.jpg');
/*!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>0
create table `recordbook` (
`app_user_id` int not null
,`workbook_id` int not null
,`problem_type_id` int not null
,`study_type_id` int not null
,`problem_id` int not null
,`result_prev3` tinyint
,`result_prev2` tinyint
,`result_prev1` tinyint
,`level` int not null
,`memorized` tinyint
,`last_answered_at` datetime not null default current_timestamp
,primary key(`app_user_id`, `problem_id`, `study_type_id`, `problem_type_id`)
,foreign key(`app_user_id`) references `app_user`(`id`)
,foreign key(`problem_type_id`) references `problem_type`(`id`)
,foreign key(`study_type_id`) references `study_type`(`id`)
,foreign key(`workbook_id`) references `workbook`(`id`)
);
|
<reponame>seinyan/nest-rest-booking-task
SELECT * FROM room AS r
WHERE id NOT IN (
SELECT rr.room_id FROM room_reserve as rr
WHERE (date '2021-08-11', date '2021-08-23') OVERLAPS (rr.arrival_at, rr.departure_at) ::boolean
)
SELECT * FROM room as r
LEFT JOIN room_reserve rr on r.id = rr.room_id
WHERE NOT (date '2021-08-11', date '2021-08-23') OVERLAPS (rr.arrival_at, rr.departure_at) ::boolean
OR rr.arrival_at IS NULL
|
<gh_stars>0
-- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Feb 03, 2020 at 06:48 PM
-- Server version: 10.1.38-MariaDB
-- PHP Version: 7.3.4
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: `koncoternak`
--
-- --------------------------------------------------------
--
-- Table structure for table `level_user`
--
CREATE TABLE `level_user` (
`id_level` int(11) NOT NULL,
`pengguna` varchar(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `level_user`
--
INSERT INTO `level_user` (`id_level`, `pengguna`) VALUES
(1, 'user'),
(2, 'programmer');
-- --------------------------------------------------------
--
-- Table structure for table `produk`
--
CREATE TABLE `produk` (
`id_produk` int(11) NOT NULL,
`id_user` int(11) NOT NULL,
`id_ternak` int(11) NOT NULL,
`stok` int(11) NOT NULL,
`gender` enum('Jantan','Betina') NOT NULL,
`umur` int(11) NOT NULL,
`verified` enum('1','0') DEFAULT NULL,
`harga` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `ternak`
--
CREATE TABLE `ternak` (
`id_ternak` int(11) NOT NULL,
`jenis_ternak` enum('Kambing','Sapi') NOT NULL,
`nama_jenis` varchar(35) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `ternak`
--
INSERT INTO `ternak` (`id_ternak`, `jenis_ternak`, `nama_jenis`) VALUES
(1, 'Kambing', 'Ettawa'),
(2, 'Kambing', 'Garut'),
(3, 'Sapi', 'Limosin'),
(4, 'Sapi', 'Australi');
-- --------------------------------------------------------
--
-- Table structure for table `transaksi`
--
CREATE TABLE `transaksi` (
`id_transaksi` int(11) NOT NULL,
`id_produk` int(11) NOT NULL,
`tanggal` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`jumlah` int(11) NOT NULL,
`total` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `user`
--
CREATE TABLE `user` (
`id_user` int(11) NOT NULL,
`nama` varchar(25) NOT NULL,
`email` varchar(35) NOT NULL,
`username` varchar(25) NOT NULL,
`password` varchar(25) NOT NULL,
`id_level` int(11) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `user`
--
INSERT INTO `user` (`id_user`, `nama`, `email`, `username`, `password`, `id_level`) VALUES
(1, 'Additya', '<EMAIL>', 'addit', '<PASSWORD>', 1),
(2, 'Super Konco', '<EMAIL>', 'admin', '<PASSWORD>a57a5a743894a0e4', 2),
(3, 'Salah', '<EMAIL>', '<PASSWORD>', 'sal<PASSWORD>', 1);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `level_user`
--
ALTER TABLE `level_user`
ADD PRIMARY KEY (`id_level`);
--
-- Indexes for table `produk`
--
ALTER TABLE `produk`
ADD PRIMARY KEY (`id_produk`),
ADD KEY `id_ternak` (`id_ternak`),
ADD KEY `id_user` (`id_user`);
--
-- Indexes for table `ternak`
--
ALTER TABLE `ternak`
ADD PRIMARY KEY (`id_ternak`);
--
-- Indexes for table `transaksi`
--
ALTER TABLE `transaksi`
ADD PRIMARY KEY (`id_transaksi`),
ADD KEY `id_produk` (`id_produk`);
--
-- Indexes for table `user`
--
ALTER TABLE `user`
ADD PRIMARY KEY (`id_user`),
ADD KEY `id_level` (`id_level`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `level_user`
--
ALTER TABLE `level_user`
MODIFY `id_level` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `produk`
--
ALTER TABLE `produk`
MODIFY `id_produk` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `ternak`
--
ALTER TABLE `ternak`
MODIFY `id_ternak` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `transaksi`
--
ALTER TABLE `transaksi`
MODIFY `id_transaksi` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `user`
--
ALTER TABLE `user`
MODIFY `id_user` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `produk`
--
ALTER TABLE `produk`
ADD CONSTRAINT `produk_ibfk_1` FOREIGN KEY (`id_ternak`) REFERENCES `ternak` (`id_ternak`),
ADD CONSTRAINT `produk_ibfk_2` FOREIGN KEY (`id_user`) REFERENCES `user` (`id_user`);
--
-- Constraints for table `transaksi`
--
ALTER TABLE `transaksi`
ADD CONSTRAINT `transaksi_ibfk_1` FOREIGN KEY (`id_produk`) REFERENCES `produk` (`id_produk`);
--
-- Constraints for table `user`
--
ALTER TABLE `user`
ADD CONSTRAINT `user_ibfk_1` FOREIGN KEY (`id_level`) REFERENCES `level_user` (`id_level`);
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 */;
|
<filename>database_dump/urlshortner.sql
-- phpMyAdmin SQL Dump
-- version 4.7.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1:3306
-- Generation Time: Jul 10, 2020 at 10:06 AM
-- Server version: 5.7.19
-- PHP Version: 7.3.10
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: `urlshortner`
--
-- --------------------------------------------------------
--
-- Table structure for table `short_urls`
--
DROP TABLE IF EXISTS `short_urls`;
CREATE TABLE IF NOT EXISTS `short_urls` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`long_url` text NOT NULL,
`short_code` varchar(255) NOT NULL,
`date_created` int(10) UNSIGNED NOT NULL,
`counter` int(10) UNSIGNED NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `short_code` (`short_code`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `short_urls`
--
INSERT INTO `short_urls` (`id`, `long_url`, `short_code`, `date_created`, `counter`) VALUES
(1, 'https://www.quira.com', 'b34807', 1594372078, 0),
(2, 'https://www.google.com', '30483050', 1594374468, 0);
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 */;
|
<filename>bamazon.sql
DROP DATABASE IF EXISTS bamazon;
CREATE DATABASE bamazon;
USE bamazon;
CREATE TABLE products (
item_id INT NOT NULL AUTO_INCREMENT,
product_name VARCHAR(128) NULL,
department_name VARCHAR(128) NULL,
price DECIMAL (7, 2),
stock_quantity INT NULL,
PRIMARY KEY (item_ID)
);
INSERT INTO products (product_name, department_name, price, stock_quantity)
VALUES ("iPhone X", "Cell Phones", 1000.00, 500);
INSERT INTO products (product_name, department_name, price, stock_quantity)
VALUES ("Toilet Paper", "Home", 10.00, 100000);
INSERT INTO products (product_name, department_name, price, stock_quantity)
VALUES ("A Dance for Dragons", "Books", 20.00, 1000);
INSERT INTO products (product_name, department_name, price, stock_quantity)
VALUES ("Samsung Television", "Electronics", 550.00, 7500);
INSERT INTO products (product_name, department_name, price, stock_quantity)
VALUES ("USB Type C Cable" , "Electronics", 10.00, 9000);
INSERT INTO products (product_name, department_name, price, stock_quantity)
VALUES ("Hanes Socks", "Men's Clothing", 12.00, 250);
INSERT INTO products (product_name, department_name, price, stock_quantity)
VALUES ("Samsung Galaxy Note 8", "Cell Phones", 1050.00, 750);
INSERT INTO products (product_name, department_name, price, stock_quantity)
VALUES ("bAmazon bEcho", "Electronics", 35.00, 2000);
INSERT INTO products (product_name, department_name, price, stock_quantity)
VALUES ("Oven Thermometor", "Kitchen", 5.60, 200);
INSERT INTO products (product_name, department_name, price, stock_quantity)
VALUES ("Diapers", "Baby", 500.00, 10000);
CREATE TABLE departments (
);
|
SELECT president
FROM STUDIO
WHERE name="MGM"
|
-- phpMyAdmin SQL Dump
-- version 4.7.3
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Feb 27, 2018 at 03:59 PM
-- Server version: 5.6.35
-- PHP Version: 7.1.8
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
--
-- Database: `mydb`
--
-- --------------------------------------------------------
--
-- Table structure for table `atlits`
--
CREATE TABLE `atlits` (
`id` int(10) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`jk` tinyint(1) NOT NULL,
`ttl` date NOT NULL,
`sekolah_id` int(10) UNSIGNED NOT NULL,
`user_id` int(10) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `atlits`
--
INSERT INTO `atlits` (`id`, `name`, `jk`, `ttl`, `sekolah_id`, `user_id`, `created_at`, `updated_at`) VALUES
(1, '<NAME>', 1, '1998-02-24', 13, 5, NULL, '2018-02-25 00:57:45'),
(2, '<NAME>', 0, '1998-02-06', 14, 6, NULL, NULL),
(4, '<NAME>', 0, '1990-01-30', 10, 5, '2018-02-24 01:04:45', '2018-02-25 00:58:43'),
(5, '<NAME>', 0, '2004-02-10', 13, 5, '2018-02-24 07:48:40', '2018-02-24 07:48:40'),
(6, 'Made Sumbawe', 1, '1998-02-12', 11, 5, '2018-02-24 19:57:08', '2018-02-24 19:57:08'),
(7, 'Komang Sudana Yasa Pande', 1, '1998-05-03', 5, 5, '2018-02-25 06:58:32', '2018-02-25 06:58:32'),
(8, 'Made <NAME>', 1, '1998-01-01', 11, 5, '2018-02-25 07:15:36', '2018-02-25 07:15:36');
-- --------------------------------------------------------
--
-- Table structure for table `daftars`
--
CREATE TABLE `daftars` (
`id` int(10) UNSIGNED NOT NULL,
`atlit_id` int(10) UNSIGNED NOT NULL,
`lomba_id` int(10) UNSIGNED NOT NULL,
`best_time` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`user_id` int(10) UNSIGNED NOT NULL,
`umur_id` int(10) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `daftars`
--
INSERT INTO `daftars` (`id`, `atlit_id`, `lomba_id`, `best_time`, `user_id`, `umur_id`, `created_at`, `updated_at`) VALUES
(1, 1, 2, '<NAME>', 6, 5, NULL, NULL),
(2, 4, 2, '30 Menit', 6, 4, NULL, NULL),
(3, 7, 2, '30 Menit', 5, 2, '2018-02-25 07:38:03', '2018-02-25 07:38:03'),
(5, 1, 2, '00 Jam', 5, 3, '2018-02-25 08:13:31', '2018-02-25 08:51:11'),
(6, 2, 3, '12', 5, 5, '2018-02-25 08:57:52', '2018-02-25 08:57:52'),
(7, 2, 3, '12', 5, 5, '2018-02-25 08:57:54', '2018-02-25 08:57:54'),
(8, 2, 3, '12', 5, 5, '2018-02-25 08:57:57', '2018-02-25 08:57:57'),
(9, 2, 3, '12', 5, 5, '2018-02-25 08:57:59', '2018-02-25 08:57:59'),
(10, 2, 3, '12', 5, 5, '2018-02-25 08:58:07', '2018-02-25 08:58:07'),
(11, 2, 3, '12', 5, 5, '2018-02-25 08:58:10', '2018-02-25 08:58:10'),
(12, 2, 3, '12', 5, 5, '2018-02-25 08:58:14', '2018-02-25 08:58:14'),
(13, 2, 3, '12', 5, 5, '2018-02-25 08:58:18', '2018-02-25 08:58:18'),
(14, 2, 3, '12', 5, 5, '2018-02-25 08:58:21', '2018-02-25 08:58:21'),
(15, 2, 3, '12', 5, 5, '2018-02-25 08:58:23', '2018-02-25 08:58:23'),
(16, 2, 3, '12', 5, 5, '2018-02-25 08:58:28', '2018-02-25 08:58:28');
-- --------------------------------------------------------
--
-- Table structure for table `lombas`
--
CREATE TABLE `lombas` (
`id` int(10) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`acara` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `lombas`
--
INSERT INTO `lombas` (`id`, `name`, `acara`, `created_at`, `updated_at`) VALUES
(2, '<NAME>', 0, NULL, NULL),
(3, '<NAME>', 1, '2018-02-23 18:34:30', '2018-02-23 18:34:36'),
(4, '<NAME>', 2, '2018-02-25 07:40:25', '2018-02-25 07:40:25'),
(5, 'Renang 50 Meter', 3, '2018-02-25 07:40:39', '2018-02-25 07:40:39'),
(6, 'Renang 2 Meter', 4, '2018-02-25 07:40:47', '2018-02-25 07:40:47'),
(9, '<NAME>', 6, '2018-02-26 20:51:04', '2018-02-26 21:19:42'),
(17, 'Perlombaan anak muda', 7, '2018-02-26 21:11:07', '2018-02-26 21:11:07'),
(26, 'Perlombaan <NAME>', 8, '2018-02-26 22:10:30', '2018-02-26 22:10:30');
-- --------------------------------------------------------
--
-- Table structure for table `migrations`
--
CREATE TABLE `migrations` (
`id` int(10) UNSIGNED NOT NULL,
`migration` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `migrations`
--
INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(3, '2014_10_12_000000_create_users_table', 1),
(4, '2014_10_12_100000_create_password_resets_table', 1),
(5, '2018_02_23_134519_create_sekolahs_table', 2),
(6, '2018_02_23_153855_create_upload_files_table', 3),
(7, '2018_02_23_153921_create_lombas_table', 3),
(8, '2018_02_23_155404_create_umurs_table', 4),
(9, '2018_02_24_013853_users_migration', 5),
(11, '2018_02_24_042314_create_atlits_table', 6),
(16, '2018_02_25_091234_create_daftars_table', 7);
-- --------------------------------------------------------
--
-- Table structure for table `password_resets`
--
CREATE TABLE `password_resets` (
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`token` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `sekolahs`
--
CREATE TABLE `sekolahs` (
`id` int(10) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`alamat` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`phone` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `sekolahs`
--
INSERT INTO `sekolahs` (`id`, `name`, `alamat`, `phone`, `created_at`, `updated_at`) VALUES
(5, 'SMA 4 Singaraja EDIT', 'Kapolsek singaraja ke barat dikit 2a', '01938246', '2018-02-23 07:05:40', '2018-02-24 20:13:45'),
(10, 'SMK Bali Berjaya', 'Jalan gunung subabue', '91083439', '2018-02-23 18:39:26', '2018-02-23 18:39:26'),
(11, 'Sekolah International', 'Jalan international no baru', '91340193', '2018-02-23 18:44:53', '2018-02-23 18:44:53'),
(13, 'Sekolah Kurang Angin', 'Jalan anignanan 23', '98173894', '2018-02-23 19:43:31', '2018-02-23 19:43:31'),
(14, 'Sekolah Kita Bersama', 'Jalan meninang kaingian', '019824', '2018-02-23 19:50:57', '2018-02-23 19:50:57'),
(15, 'dddddd', 'adasd', '12312', '2018-02-23 19:52:50', '2018-02-23 19:52:50'),
(16, 'hhhhhhh', 'Gunung batur', '209812901', '2018-02-23 19:54:05', '2018-02-23 19:54:05'),
(17, 'Sekolah Funday', 'Jalan gunung batur no 5', '013984790134', '2018-02-23 19:56:35', '2018-02-23 19:56:35'),
(18, 'Bisaa lo Ini', 'jalanjlana', '901384913', '2018-02-23 20:05:53', '2018-02-23 20:05:53'),
(19, 'Dari Register', 'Jalan pingunin', '90834091', '2018-02-23 20:07:20', '2018-02-23 20:07:20'),
(20, 'Penambahan ID Hilang', 'Hebat', '90238902', '2018-02-23 20:09:58', '2018-02-23 20:09:58'),
(21, 'Sekolah Pinguin', 'Pingun cuk curacuk', '1093481', '2018-02-23 20:11:12', '2018-02-23 20:11:12'),
(22, '<NAME>', '<NAME>', '01934809134', '2018-02-23 20:12:51', '2018-02-23 20:12:51'),
(23, 'Hebatt', 'Jalan hebat makmur', '01984', '2018-02-24 20:25:34', '2018-02-24 20:25:34');
-- --------------------------------------------------------
--
-- Table structure for table `umurs`
--
CREATE TABLE `umurs` (
`id` int(10) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`keterangan` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `umurs`
--
INSERT INTO `umurs` (`id`, `name`, `keterangan`, `created_at`, `updated_at`) VALUES
(2, 'Remaja', '14 Tahun Keatas', NULL, NULL),
(3, 'Tua Sekali', '50 tahun keatas', '2018-02-23 08:07:09', '2018-02-23 08:07:20'),
(4, 'Sangat Remaja', '12 Tahun', '2018-02-23 08:20:54', '2018-02-23 08:20:54'),
(5, 'Dewasa Sekali', 'Umur 70 Tahun s', '2018-02-23 18:34:54', '2018-02-23 18:34:58');
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`id` int(10) UNSIGNED NOT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`username` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`password` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`school` int(10) UNSIGNED DEFAULT NULL,
`phone` varchar(15) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`gambar` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` tinyint(1) NOT NULL DEFAULT '0',
`role` tinyint(1) NOT NULL DEFAULT '1',
`token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`id`, `name`, `username`, `email`, `password`, `school`, `phone`, `gambar`, `status`, `role`, `token`, `remember_token`, `created_at`, `updated_at`) VALUES
(5, 'funday', 'fundaypande', '<EMAIL>', <PASSWORD>', 11, '1093840913', '1519532236.png', 1, 0, '1ctbeFS5qYjoMYDUQfup', 'KWIxTqGTkqLdO944nJaQUeImjFR0l9IA72y3eKReYDekrQv9qJDx228qmI9N', '2018-02-23 18:31:07', '2018-02-24 20:17:35'),
(6, 'funday', 'funday', '<EMAIL>', NULL, NULL, '0293821', NULL, 0, 1, 'lmRuTS5rRjrJwJEI5bEJ', NULL, '2018-02-23 18:33:40', '2018-02-23 18:33:40'),
(7, 'budi', 'budi', '<EMAIL>', <PASSWORD>', NULL, '24562546', '1519440423.png', 1, 1, '3PfMs5N1zmHSVPxByqi7', '2kihEcK2FejYQYmGjQDHrMbRkifWuyax3FZPGP8MZ1A3URnWY3NbVl8PMb9A', '2018-02-23 18:34:16', '2018-02-23 18:56:20'),
(8, 'Krisna', 'krisna', '<EMAIL>', <PASSWORD>', 20, '0913840913', '1519441539.jpg', 1, 0, 'YK1edwupRC1yWwd10WoI', NULL, '2018-02-23 19:03:55', '2018-02-23 20:10:03'),
(9, '<NAME>', 'pinguin', '<EMAIL>', <PASSWORD>', 22, '8734019734', NULL, 1, 1, 'XeG0A41GY7nUNtJbjmoa', '8XJU3o3GFCHalUs2wRYlKafAnmaNpKPMc4khhWV9gDCYFg0rCrKvEtuNZDyX', '2018-02-23 20:12:57', '2018-02-23 20:13:52'),
(10, 'member', 'member', '<EMAIL>', <PASSWORD>.', 11, '0198304913', NULL, 1, 1, 'sX9KA3NFehimaUrMbq6h', NULL, '2018-02-27 06:40:16', '2018-02-27 06:40:55');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `atlits`
--
ALTER TABLE `atlits`
ADD PRIMARY KEY (`id`),
ADD KEY `atlits_sekolah_id_foreign` (`sekolah_id`),
ADD KEY `atlits_user_id_foreign` (`user_id`);
--
-- Indexes for table `daftars`
--
ALTER TABLE `daftars`
ADD PRIMARY KEY (`id`),
ADD KEY `daftars_user_id_foreign` (`user_id`),
ADD KEY `daftars_atlit_id_foreign` (`atlit_id`),
ADD KEY `daftars_lomba_id_foreign` (`lomba_id`),
ADD KEY `daftars_umur_id_foreign` (`umur_id`);
--
-- Indexes for table `lombas`
--
ALTER TABLE `lombas`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `acara` (`acara`);
--
-- Indexes for table `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `password_resets`
--
ALTER TABLE `password_resets`
ADD KEY `password_resets_email_index` (`email`);
--
-- Indexes for table `sekolahs`
--
ALTER TABLE `sekolahs`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `umurs`
--
ALTER TABLE `umurs`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `users_email_unique` (`email`),
ADD UNIQUE KEY `users_username_unique` (`username`),
ADD KEY `users_school_foreign` (`school`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `atlits`
--
ALTER TABLE `atlits`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT for table `daftars`
--
ALTER TABLE `daftars`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;
--
-- AUTO_INCREMENT for table `lombas`
--
ALTER TABLE `lombas`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=32;
--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;
--
-- AUTO_INCREMENT for table `sekolahs`
--
ALTER TABLE `sekolahs`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24;
--
-- AUTO_INCREMENT for table `umurs`
--
ALTER TABLE `umurs`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `atlits`
--
ALTER TABLE `atlits`
ADD CONSTRAINT `atlits_sekolah_id_foreign` FOREIGN KEY (`sekolah_id`) REFERENCES `sekolahs` (`id`),
ADD CONSTRAINT `atlits_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`);
--
-- Constraints for table `daftars`
--
ALTER TABLE `daftars`
ADD CONSTRAINT `daftars_atlit_id_foreign` FOREIGN KEY (`atlit_id`) REFERENCES `atlits` (`id`),
ADD CONSTRAINT `daftars_lomba_id_foreign` FOREIGN KEY (`lomba_id`) REFERENCES `lombas` (`id`),
ADD CONSTRAINT `daftars_umur_id_foreign` FOREIGN KEY (`umur_id`) REFERENCES `umurs` (`id`),
ADD CONSTRAINT `daftars_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;
--
-- Constraints for table `users`
--
ALTER TABLE `users`
ADD CONSTRAINT `users_school_foreign` FOREIGN KEY (`school`) REFERENCES `sekolahs` (`id`) ON DELETE SET NULL;
|
<filename>database/migrations/06_createeventtable.sql
drop table if exists event;
create table event (
id integer AUTO_INCREMENT not null,
org_id integer not null,
message varchar(1000),
date_created date,
last_updated date,
version varchar(10),
primary key (id)
);
drop table if exists event_subscriber;
create table event_subscriber (
id integer AUTO_INCREMENT not null,
org_id integer not null,
sub_id integer not null,
primary key (id)
);
|
-- phpMyAdmin SQL Dump
-- version 5.0.1
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Jul 05, 2020 at 03:16 PM
-- Server version: 8.0.13
-- PHP Version: 7.4.5
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: `tutorial_blog`
--
-- --------------------------------------------------------
--
-- Table structure for table `posts`
--
CREATE TABLE `posts` (
`id` int(11) NOT NULL,
`title` varchar(250) COLLATE utf8mb4_general_ci NOT NULL,
`small_description` varchar(250) COLLATE utf8mb4_general_ci NOT NULL,
`full_post` text COLLATE utf8mb4_general_ci NOT NULL,
`author` varchar(250) COLLATE utf8mb4_general_ci NOT NULL,
`image_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`insert_datetime` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `posts`
--
INSERT INTO `posts` (`id`, `title`, `small_description`, `full_post`, `author`, `image_path`, `insert_datetime`) VALUES
(1, 'Man must explore, and this is exploration at its greatest', 'Problems look mighty small from 150 miles up', ' <p>Never in all their history have men been able truly to conceive of the world as one: a single sphere, a globe, having the qualities of a globe, a round earth in which all the directions eventually meet, in which there is no center because every point, or none, is center — an equal earth which all men occupy as equals. The airman\'s earth, if free men make it, will be truly round: a globe in practice, not in theory.</p>\r\n\r\n <p>Science cuts two ways, of course; its products can be used for both good and evil. But there\'s no turning back from science. The early warnings about technological dangers also come from science.</p>\r\n\r\n <p>What was most significant about the lunar voyage was not that man set foot on the Moon but that they set eye on the earth.</p>\r\n\r\n <p>A Chinese tale tells of some men sent to harm a young girl who, upon seeing her beauty, become her protectors rather than her violators. That\'s how I felt seeing the Earth for the first time. I could not help but love and cherish her.</p>\r\n\r\n <p>For those who have seen the Earth from space, and for the hundreds and perhaps thousands more who will, the experience most certainly changes your perspective. The things that we share in our world are far more valuable than those which divide us.</p>\r\n\r\n <h2 class=\"section-heading\">The Final Frontier</h2>\r\n\r\n <p>There can be no thought of finishing for ‘aiming for the stars.’ Both figuratively and literally, it is a task to occupy the generations. And no matter how much progress one makes, there is always the thrill of just beginning.</p>\r\n\r\n <p>There can be no thought of finishing for ‘aiming for the stars.’ Both figuratively and literally, it is a task to occupy the generations. And no matter how much progress one makes, there is always the thrill of just beginning.</p>\r\n\r\n <blockquote class=\"blockquote\">The dreams of yesterday are the hopes of today and the reality of tomorrow. Science has not yet mastered prophecy. We predict too much for the next year and yet far too little for the next ten.</blockquote>\r\n\r\n <p>Spaceflights cannot be stopped. This is not the work of any one man or even a group of men. It is a historical process which mankind is carrying out in accordance with the natural laws of human development.</p>\r\n\r\n <h2 class=\"section-heading\">Reaching for the Stars</h2>\r\n\r\n <p>As we got further and further away, it [the Earth] diminished in size. Finally it shrank to the size of a marble, the most beautiful you can imagine. That beautiful, warm, living object looked so fragile, so delicate, that if you touched it with a finger it would crumble and fall apart. Seeing this has to change a man.</p>\r\n\r\n <a href=\"#\">\r\n <img class=\"img-fluid\" src=\"img/post-sample-image.jpg\" alt=\"\">\r\n </a>\r\n <span class=\"caption text-muted\">To go places and do things that have never been done before – that’s what living is all about.</span>\r\n\r\n <p>Space, the final frontier. These are the voyages of the Starship Enterprise. Its five-year mission: to explore strange new worlds, to seek out new life and new civilizations, to boldly go where no man has gone before.</p>\r\n\r\n <p>As I stand out here in the wonders of the unknown at Hadley, I sort of realize there’s a fundamental truth to our nature, Man must explore, and this is exploration at its greatest.</p>\r\n\r\n <p>Placeholder text by\r\n <a href=\"http://spaceipsum.com/\">Space Ipsum</a>. Photographs by\r\n <a href=\"https://www.flickr.com/photos/nasacommons/\">NASA on The Commons</a>.</p>', '<NAME>', 'img/post-bg.jpg', '2020-06-15 07:17:18'),
(2, 'I believe every human has a finite number of heartbeats.', 'I don\'t intend to waste any of mine.', '', '<NAME>', 'img/running-bg.jpg', '2020-06-14 07:17:31'),
(3, 'Science has not yet mastered prophecy', 'We predict too much for the next year and yet far too little for the next ten.', '', '<NAME>', '', '2020-06-13 00:00:00'),
(4, 'Failure is not an option', 'Many say exploration is part of our destiny, but it’s actually our duty to future generations.', '', '<NAME>', '', '2020-06-12 07:17:49');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `posts`
--
ALTER TABLE `posts`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `posts`
--
ALTER TABLE `posts`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
UPDATE settings SET send_push_notifications = 1;
|
<reponame>rzayevsahil/HRMS
-- This script was generated by a beta version of the ERD tool in pgAdmin 4.
-- Please log an issue at https://redmine.postgresql.org/projects/pgadmin4/issues/new if you find any bugs, including reproduction steps.
BEGIN;
CREATE TABLE public.cities
(
id integer NOT NULL GENERATED BY DEFAULT AS IDENTITY ( INCREMENT 1 START 1 MINVALUE 1 MAXVALUE 2147483647 CACHE 1 ),
name character varying(75) NOT NULL,
PRIMARY KEY (id)
);
CREATE TABLE public.cv_cover_letters
(
id integer NOT NULL GENERATED ALWAYS AS IDENTITY ( INCREMENT 1 START 1 MINVALUE 1 MAXVALUE 2147483647 CACHE 1 ),
created_at date,
is_active boolean,
is_deleted boolean,
content character varying(255) NOT NULL,
jobseeker_id integer NOT NULL,
PRIMARY KEY (id)
);
CREATE TABLE public.cv_experiences
(
id integer NOT NULL GENERATED ALWAYS AS IDENTITY ( INCREMENT 1 START 1 MINVALUE 1 MAXVALUE 2147483647 CACHE 1 ),
created_at date,
is_active boolean,
is_deleted boolean,
leave_date date,
"position" character varying(255) NOT NULL,
start_date date NOT NULL,
workplace_name character varying(255) NOT NULL,
jobseeker_id integer NOT NULL,
PRIMARY KEY (id)
);
CREATE TABLE public.cv_foreign_languages
(
id integer NOT NULL GENERATED ALWAYS AS IDENTITY ( INCREMENT 1 START 1 MINVALUE 1 MAXVALUE 2147483647 CACHE 1 ),
created_at date,
is_active boolean,
is_deleted boolean,
language character varying(255) NOT NULL,
level smallint NOT NULL,
jobseeker_id integer NOT NULL,
PRIMARY KEY (id)
);
CREATE TABLE public.cv_images
(
id integer NOT NULL GENERATED ALWAYS AS IDENTITY ( INCREMENT 1 START 1 MINVALUE 1 MAXVALUE 2147483647 CACHE 1 ),
created_at date,
is_active boolean,
is_deleted boolean,
uploaded_at date,
url character varying(255),
jobseeker_id integer,
PRIMARY KEY (id)
);
CREATE TABLE public.cv_links
(
id integer NOT NULL GENERATED ALWAYS AS IDENTITY ( INCREMENT 1 START 1 MINVALUE 1 MAXVALUE 2147483647 CACHE 1 ),
created_at date,
is_active boolean,
is_deleted boolean,
name character varying(255),
url character varying(255) NOT NULL,
jobseeker_id integer NOT NULL,
PRIMARY KEY (id)
);
CREATE TABLE public.cv_schools
(
id integer NOT NULL GENERATED ALWAYS AS IDENTITY ( INCREMENT 1 START 1 MINVALUE 1 MAXVALUE 2147483647 CACHE 1 ),
created_at date,
is_active boolean,
is_deleted boolean,
department_name character varying(255),
school_name character varying(255),
jobseeker_id integer NOT NULL,
start_year date,
graduation_year date,
PRIMARY KEY (id)
);
CREATE TABLE public.cv_skills
(
id integer NOT NULL GENERATED ALWAYS AS IDENTITY ( INCREMENT 1 START 1 MINVALUE 1 MAXVALUE 2147483647 CACHE 1 ),
created_at date,
is_active boolean,
is_deleted boolean,
name character varying(255) NOT NULL,
job_seeker_id integer NOT NULL,
PRIMARY KEY (id)
);
CREATE TABLE public.employees
(
user_id integer NOT NULL,
first_name character varying(50) NOT NULL,
last_name character varying(50) NOT NULL,
PRIMARY KEY (user_id)
);
CREATE TABLE public.employers
(
user_id integer NOT NULL,
website character varying(250) NOT NULL,
phone_number character varying(30) NOT NULL,
is_verified boolean NOT NULL,
company_name character varying(250) NOT NULL,
PRIMARY KEY (user_id)
);
CREATE TABLE public.employers_verification_employees
(
id integer NOT NULL GENERATED BY DEFAULT AS IDENTITY ( INCREMENT 1 START 1 MINVALUE 1 MAXVALUE 2147483647 CACHE 1 ),
employer_id integer NOT NULL,
employee_id integer NOT NULL,
created_at date NOT NULL,
PRIMARY KEY (id)
);
CREATE TABLE public.favorites
(
id integer NOT NULL,
jobseeker_id integer,
jobadvert_id integer,
PRIMARY KEY (id)
);
CREATE TABLE public.job_advert_confirmation
(
id integer NOT NULL,
confirmation_date date,
is_confirmed boolean,
employee_id integer,
job_advert_id integer NOT NULL,
PRIMARY KEY (id)
);
CREATE TABLE public.job_adverts
(
id integer NOT NULL GENERATED BY DEFAULT AS IDENTITY ( INCREMENT 1 START 1 MINVALUE 1 MAXVALUE 2147483647 CACHE 1 ),
job_position_id integer NOT NULL,
description character varying NOT NULL,
city_id integer NOT NULL,
open_position_count integer NOT NULL,
deadline date NOT NULL,
is_open boolean,
created_at timestamp without time zone,
is_active boolean,
is_deleted boolean,
employer_id integer NOT NULL,
published_at date NOT NULL,
salary_min integer,
salary_max integer,
work_hour_id integer,
work_type_id integer,
PRIMARY KEY (id)
);
CREATE TABLE public.job_positions
(
id integer NOT NULL GENERATED BY DEFAULT AS IDENTITY ( INCREMENT 1 START 1 MINVALUE 1 MAXVALUE 2147483647 CACHE 1 ),
job_title character varying(150) NOT NULL,
created_at timestamp without time zone,
is_active boolean,
is_deleted boolean,
PRIMARY KEY (id)
);
CREATE TABLE public.jobseekers
(
user_id integer NOT NULL,
first_name character varying(50) NOT NULL,
last_name character varying(50) NOT NULL,
national_id character varying(11) NOT NULL,
is_verified boolean NOT NULL,
date_of_birth date NOT NULL,
PRIMARY KEY (user_id)
);
CREATE TABLE public.users
(
id integer NOT NULL GENERATED BY DEFAULT AS IDENTITY ( INCREMENT 1 START 1 MINVALUE 1 MAXVALUE 2147483647 CACHE 1 ),
email character varying(100) NOT NULL,
password character varying(30) NOT NULL,
created_at timestamp without time zone,
is_active boolean,
is_deleted boolean,
PRIMARY KEY (id)
);
CREATE TABLE public.verification_codes
(
id integer NOT NULL GENERATED BY DEFAULT AS IDENTITY ( INCREMENT 1 START 1 MINVALUE 1 MAXVALUE 2147483647 CACHE 1 ),
user_id integer NOT NULL,
code character varying(50) NOT NULL,
is_confirmed boolean NOT NULL,
created_at date NOT NULL,
PRIMARY KEY (id)
);
CREATE TABLE public.verification_employer
(
id integer NOT NULL,
company_name character varying(255),
created_at date,
email character varying(255),
is_active boolean,
is_deleted boolean,
is_verified boolean,
password character varying(255),
phone_number character varying(255),
web_address character varying(255),
PRIMARY KEY (id)
);
CREATE TABLE public.work_hours
(
id integer NOT NULL GENERATED ALWAYS AS IDENTITY ( INCREMENT 1 START 1 MINVALUE 1 MAXVALUE 2147483647 CACHE 1 ),
work_hours character varying NOT NULL,
PRIMARY KEY (id)
);
CREATE TABLE public.work_types
(
id integer NOT NULL GENERATED ALWAYS AS IDENTITY ( INCREMENT 1 START 1 MINVALUE 1 MAXVALUE 2147483647 CACHE 1 ),
work_type character varying NOT NULL,
PRIMARY KEY (id)
);
ALTER TABLE public.cv_cover_letters
ADD FOREIGN KEY (jobseeker_id)
REFERENCES public.jobseekers (user_id)
NOT VALID;
ALTER TABLE public.cv_experiences
ADD FOREIGN KEY (jobseeker_id)
REFERENCES public.jobseekers (user_id)
NOT VALID;
ALTER TABLE public.cv_foreign_languages
ADD FOREIGN KEY (jobseeker_id)
REFERENCES public.jobseekers (user_id)
NOT VALID;
ALTER TABLE public.cv_images
ADD FOREIGN KEY (jobseeker_id)
REFERENCES public.jobseekers (user_id)
NOT VALID;
ALTER TABLE public.cv_links
ADD FOREIGN KEY (jobseeker_id)
REFERENCES public.jobseekers (user_id)
NOT VALID;
ALTER TABLE public.cv_schools
ADD FOREIGN KEY (jobseeker_id)
REFERENCES public.jobseekers (user_id)
NOT VALID;
ALTER TABLE public.cv_skills
ADD FOREIGN KEY (job_seeker_id)
REFERENCES public.jobseekers (user_id)
NOT VALID;
ALTER TABLE public.employees
ADD FOREIGN KEY (user_id)
REFERENCES public.users (id)
NOT VALID;
ALTER TABLE public.employers
ADD FOREIGN KEY (user_id)
REFERENCES public.users (id)
NOT VALID;
ALTER TABLE public.employers_verification_employees
ADD FOREIGN KEY (employee_id)
REFERENCES public.employees (user_id)
NOT VALID;
ALTER TABLE public.employers_verification_employees
ADD FOREIGN KEY (employer_id)
REFERENCES public.employers (user_id)
NOT VALID;
ALTER TABLE public.favorites
ADD FOREIGN KEY (jobseeker_id)
REFERENCES public.jobseekers (user_id)
NOT VALID;
ALTER TABLE public.favorites
ADD FOREIGN KEY (jobadvert_id)
REFERENCES public.job_adverts (id)
NOT VALID;
ALTER TABLE public.job_advert_confirmation
ADD FOREIGN KEY (employee_id)
REFERENCES public.employees (user_id)
NOT VALID;
ALTER TABLE public.job_advert_confirmation
ADD FOREIGN KEY (job_advert_id)
REFERENCES public.job_adverts (id)
NOT VALID;
ALTER TABLE public.job_adverts
ADD FOREIGN KEY (work_type_id)
REFERENCES public.work_types (id)
NOT VALID;
ALTER TABLE public.job_adverts
ADD FOREIGN KEY (work_hour_id)
REFERENCES public.work_hours (id)
NOT VALID;
ALTER TABLE public.job_adverts
ADD FOREIGN KEY (city_id)
REFERENCES public.cities (id)
NOT VALID;
ALTER TABLE public.job_adverts
ADD FOREIGN KEY (employer_id)
REFERENCES public.employers (user_id)
NOT VALID;
ALTER TABLE public.job_adverts
ADD FOREIGN KEY (job_position_id)
REFERENCES public.job_positions (id)
NOT VALID;
ALTER TABLE public.jobseekers
ADD FOREIGN KEY (user_id)
REFERENCES public.users (id)
NOT VALID;
ALTER TABLE public.verification_codes
ADD FOREIGN KEY (user_id)
REFERENCES public.users (id)
NOT VALID;
END;
|
<reponame>bruce-one/pg_timetable
DO $$
-- An example for using the Log task.
DECLARE
v_task_id bigint;
v_chain_config_id bigint;
BEGIN
-- Create the chain
INSERT INTO timetable.task(command)
VALUES ('Log')
RETURNING task_id INTO v_task_id;
-- Create the chain execution configuration
INSERT INTO timetable.chain (
chain_id,
task_id,
chain_name,
run_at,
max_instances,
live,
self_destruct,
exclusive_execution
) VALUES (
DEFAULT, -- chain_id,
v_task_id, -- task_id,
'Builtin-in Log', -- chain_name
'* * * * *', -- run_at,
1, -- max_instances,
TRUE, -- live,
FALSE, -- self_destruct,
FALSE -- exclusive_execution,
)
RETURNING chain_id INTO v_chain_config_id;
-- Chain Execution Parameters
INSERT INTO timetable.parameter (
chain_id,
task_id,
order_id,
value
) VALUES (
v_chain_config_id,
v_task_id,
1,
'{"Description":"Logs Execution"}'::jsonb
);
END;
$$
LANGUAGE PLPGSQL;
|
<reponame>Ambal/mangos
ALTER TABLE `item_template` ADD `RangedModRange` float NOT NULL default '0' AFTER `ammo_type` ;
|
<reponame>HSLdevcom/openmaptiles<gh_stars>0
DROP TRIGGER IF EXISTS trigger_store ON osm_waterway_linestring;
DROP TRIGGER IF EXISTS trigger_flag ON osm_waterway_linestring;
DROP TRIGGER IF EXISTS trigger_refresh ON waterway_important.updates;
-- We merge the waterways by name like the highways
-- This helps to drop not important rivers (since they do not have a name)
-- and also makes it possible to filter out too short rivers
CREATE INDEX IF NOT EXISTS osm_waterway_linestring_waterway_partial_idx
ON osm_waterway_linestring (waterway)
WHERE waterway = 'river';
CREATE INDEX IF NOT EXISTS osm_waterway_linestring_name_partial_idx
ON osm_waterway_linestring (name)
WHERE name <> '';
-- etldoc: osm_waterway_linestring -> osm_important_waterway_linestring
CREATE TABLE IF NOT EXISTS osm_important_waterway_linestring AS
SELECT (ST_Dump(geometry)).geom AS geometry,
name,
name_en,
name_sv,
tags
FROM (
SELECT ST_LineMerge(ST_Union(geometry)) AS geometry,
name,
name_en,
name_sv,
slice_language_tags(tags) AS tags
FROM osm_waterway_linestring
WHERE name <> ''
AND waterway = 'river'
AND ST_IsValid(geometry)
GROUP BY name, name_en, name_sv, slice_language_tags(tags)
) AS waterway_union;
CREATE INDEX IF NOT EXISTS osm_important_waterway_linestring_names ON osm_important_waterway_linestring (name);
CREATE INDEX IF NOT EXISTS osm_important_waterway_linestring_geometry_idx ON osm_important_waterway_linestring USING gist (geometry);
-- etldoc: osm_important_waterway_linestring -> osm_important_waterway_linestring_gen_z11
DROP MATERIALIZED VIEW IF EXISTS osm_important_waterway_linestring_gen_z11 CASCADE;
CREATE MATERIALIZED VIEW osm_important_waterway_linestring_gen_z11 AS
(
SELECT ST_Simplify(geometry, ZRes(12)) AS geometry,
name,
name_en,
name_sv,
tags
FROM osm_important_waterway_linestring
WHERE ST_Length(geometry) > 1000
);
CREATE INDEX IF NOT EXISTS osm_important_waterway_linestring_gen_z11_name_idx ON osm_important_waterway_linestring_gen_z11 (name);
CREATE INDEX IF NOT EXISTS osm_important_waterway_linestring_gen_z11_geometry_idx ON osm_important_waterway_linestring_gen_z11 USING gist (geometry);
-- etldoc: osm_important_waterway_linestring_gen_z11 -> osm_important_waterway_linestring_gen_z10
DROP MATERIALIZED VIEW IF EXISTS osm_important_waterway_linestring_gen_z10 CASCADE;
CREATE MATERIALIZED VIEW osm_important_waterway_linestring_gen_z10 AS
(
SELECT ST_Simplify(geometry, ZRes(11)) AS geometry,
name,
name_en,
name_sv,
tags
FROM osm_important_waterway_linestring_gen_z11
WHERE ST_Length(geometry) > 4000
);
CREATE INDEX IF NOT EXISTS osm_important_waterway_linestring_gen_z10_name_idx ON osm_important_waterway_linestring_gen_z10 (name);
CREATE INDEX IF NOT EXISTS osm_important_waterway_linestring_gen_z10_geometry_idx ON osm_important_waterway_linestring_gen_z10 USING gist (geometry);
-- etldoc: osm_important_waterway_linestring_gen_z10 -> osm_important_waterway_linestring_gen_z9
DROP MATERIALIZED VIEW IF EXISTS osm_important_waterway_linestring_gen_z9 CASCADE;
CREATE MATERIALIZED VIEW osm_important_waterway_linestring_gen_z9 AS
(
SELECT ST_Simplify(geometry, ZRes(10)) AS geometry,
name,
name_en,
name_sv,
tags
FROM osm_important_waterway_linestring_gen_z10
WHERE ST_Length(geometry) > 8000
);
CREATE INDEX IF NOT EXISTS osm_important_waterway_linestring_gen_z9_name_idx ON osm_important_waterway_linestring_gen_z9 (name);
CREATE INDEX IF NOT EXISTS osm_important_waterway_linestring_gen_z9_geometry_idx ON osm_important_waterway_linestring_gen_z9 USING gist (geometry);
-- Handle updates
CREATE SCHEMA IF NOT EXISTS waterway_important;
CREATE TABLE IF NOT EXISTS waterway_important.changes
(
id serial PRIMARY KEY,
osm_id bigint,
is_old boolean,
name character varying,
name_en character varying,
name_sv character varying,
tags hstore
);
CREATE OR REPLACE FUNCTION waterway_important.store() RETURNS trigger AS
$$
BEGIN
IF (tg_op IN ('DELETE', 'UPDATE')) AND OLD.name <> '' AND OLD.waterway = 'river' THEN
INSERT INTO waterway_important.changes(is_old, name, name_en, name_sv, tags)
VALUES (TRUE, OLD.name, OLD.name_en, OLD.name_sv, slice_language_tags(OLD.tags));
END IF;
IF (tg_op IN ('UPDATE', 'INSERT')) AND NEW.name <> '' AND NEW.waterway = 'river' THEN
INSERT INTO waterway_important.changes(is_old, name, name_en, name_sv, tags)
VALUES (FALSE, NEW.name, NEW.name_en, NEW.name_sv, slice_language_tags(NEW.tags));
END IF;
RETURN NULL;
END;
$$ LANGUAGE plpgsql;
CREATE TABLE IF NOT EXISTS waterway_important.updates
(
id serial PRIMARY KEY,
t text,
UNIQUE (t)
);
CREATE OR REPLACE FUNCTION waterway_important.flag() RETURNS trigger AS
$$
BEGIN
INSERT INTO waterway_important.updates(t) VALUES ('y') ON CONFLICT(t) DO NOTHING;
RETURN NULL;
END;
$$ LANGUAGE plpgsql;
CREATE OR REPLACE FUNCTION waterway_important.refresh() RETURNS trigger AS
$$
DECLARE
t TIMESTAMP WITH TIME ZONE := clock_timestamp();
BEGIN
RAISE LOG 'Refresh waterway';
-- REFRESH osm_important_waterway_linestring
-- Compact the change history to keep only the first and last version, and then uniq version of row
CREATE TEMP TABLE changes_compact AS
SELECT DISTINCT ON (name, name_en, name_sv, tags)
name,
name_en,
name_sv,
tags
FROM ((
SELECT DISTINCT ON (osm_id) *
FROM waterway_important.changes
WHERE is_old
ORDER BY osm_id,
id ASC
)
UNION ALL
(
SELECT DISTINCT ON (osm_id) *
FROM waterway_important.changes
WHERE NOT is_old
ORDER BY osm_id,
id DESC
)) AS t;
DELETE
FROM osm_important_waterway_linestring AS w
USING changes_compact AS c
WHERE w.name = c.name
AND w.name_en IS NOT DISTINCT FROM c.name_en
AND w.name_sv IS NOT DISTINCT FROM c.name_sv
AND w.tags IS NOT DISTINCT FROM c.tags;
INSERT INTO osm_important_waterway_linestring
SELECT (ST_Dump(geometry)).geom AS geometry,
name,
name_en,
name_sv,
tags
FROM (
SELECT ST_LineMerge(ST_Union(geometry)) AS geometry,
w.name,
w.name_en,
w.name_sv,
slice_language_tags(w.tags) AS tags
FROM osm_waterway_linestring AS w
JOIN changes_compact AS c ON
w.name = c.name AND w.name_en IS NOT DISTINCT FROM c.name_en AND
w.name_sv IS NOT DISTINCT FROM c.name_sv AND
slice_language_tags(w.tags) IS NOT DISTINCT FROM c.tags
WHERE w.name <> ''
AND w.waterway = 'river'
AND ST_IsValid(geometry)
GROUP BY w.name, w.name_en, w.name_sv, slice_language_tags(w.tags)
) AS waterway_union;
-- REFRESH osm_important_waterway_linestring_gen_z11
REFRESH MATERIALIZED VIEW osm_important_waterway_linestring_gen_z11;
-- REFRESH osm_important_waterway_linestring_gen_z10
REFRESH MATERIALIZED VIEW osm_important_waterway_linestring_gen_z10;
-- REFRESH osm_important_waterway_linestring_gen_z9
REFRESH MATERIALIZED VIEW osm_important_waterway_linestring_gen_z9;
DROP TABLE changes_compact;
-- noinspection SqlWithoutWhere
DELETE FROM waterway_important.changes;
-- noinspection SqlWithoutWhere
DELETE FROM waterway_important.updates;
RAISE LOG 'Refresh waterway done in %', age(clock_timestamp(), t);
RETURN NULL;
END;
$$ LANGUAGE plpgsql;
CREATE TRIGGER trigger_store
AFTER INSERT OR UPDATE OR DELETE
ON osm_waterway_linestring
FOR EACH ROW
EXECUTE PROCEDURE waterway_important.store();
CREATE TRIGGER trigger_flag
AFTER INSERT OR UPDATE OR DELETE
ON osm_waterway_linestring
FOR EACH STATEMENT
EXECUTE PROCEDURE waterway_important.flag();
CREATE CONSTRAINT TRIGGER trigger_refresh
AFTER INSERT
ON waterway_important.updates
INITIALLY DEFERRED
FOR EACH ROW
EXECUTE PROCEDURE waterway_important.refresh();
|
--
-- Table structure for table `teleport`
--
DROP TABLE IF EXISTS custom_teleport;
CREATE TABLE custom_teleport (
Description varchar(75) default NULL,
id decimal(11,0) NOT NULL default '0',
loc_x decimal(9,0) default NULL,
loc_y decimal(9,0) default NULL,
loc_z decimal(9,0) default NULL,
price decimal(6,0) default NULL,
fornoble int(1) NOT NULL default '0',
PRIMARY KEY (id)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
CREATE FOREIGN PROCEDURE SourceProc (
IN airlineid string,
IN connectionid string,
IN flightdate timestamp )
RETURNS
OPTIONS (
ANNOTATION 'procedure result desc',
UPDATECOUNT '2' )
TABLE (
ECONOMAX integer,
ECONOFREE integer,
BUSINMAX integer,
BUSINFREE integer,
FIRSTMAX integer,
FIRSTFREE integer )
OPTIONS (
"teiid_odata:EntityType" 'RMTSAMPLEFLIGHT.FlightAvailability',
"teiid_odata:HttpMethod" 'GET' )
CREATE VIRTUAL FUNCTION SourceFunc (
flag boolean,
msg varchar )
RETURNS
OPTIONS (
ANNOTATION 'function result desc' )
varchar
OPTIONS (
CATEGORY 'misc',
DETERMINISM 'DETERMINISTIC',
"NULL-ON-NULL" 'true',
JAVA_CLASS 'foo',
JAVA_METHOD 'bar',
RANDOM 'any',
UUID 'x' )
|
create table user (
id int primary key AUTO_INCREMENT,
created timestamp not null default now(),
login varchar(80) not null,
name varchar(140),
locale varchar(3) ,
language varchar(3) ,
is_login_enabled enum ('Y','N') not null default 'n',
enabled TINYINT NOT NULL DEFAULT 1 ,
unique key (login)
) engine innodb;
|
select rowid from nulls where binary_10 <= x'01' order by 1;
1
2
|
<filename>src/main/resources/genres.sql
insert into genres (category, genres) values ('Лёгкое чтение', 'Фантастика');
insert into genres (category, genres) values ('Лёгкое чтение', 'Боевики');
insert into genres (category, genres) values ('Лёгкое чтение', 'Детективы');
insert into genres (category, genres) values ('Лёгкое чтение', 'Триллер');
insert into genres (category, genres) values ('Лёгкое чтение', 'Крутой детектив');
insert into genres (category, genres) values ('Лёгкое чтение', 'Иронический детектив');
insert into genres (category, genres) values ('Лёгкое чтение', 'Про маньяков');
insert into genres (category, genres) values ('Лёгкое чтение', 'Шпионский детектив');
insert into genres (category, genres) values ('Лёгкое чтение', 'Криминальный детектив');
insert into genres (category, genres) values ('Лёгкое чтение', 'Классический детектив');
insert into genres (category, genres) values ('Лёгкое чтение', 'Политический детектив');
insert into genres (category, genres) values ('Лёгкое чтение', 'Фэнтези');
insert into genres (category, genres) values ('Лёгкое чтение', 'Романы');
insert into genres (category, genres) values ('Лёгкое чтение', 'Ужасы');
insert into genres (category, genres) values ('Лёгкое чтение', 'Приключения');
insert into genres (category, genres) values ('Серьёзное чтение', 'Биографии');
insert into genres (category, genres) values ('Деловая литература', 'Управление экономикой');
insert into genres (category, genres) values ('Деловая литература', 'Карьера');
insert into genres (category, genres) values ('Деловая литература', 'Маркетинг, PR, реклама');
insert into genres (category, genres) values ('Деловая литература', 'Финансы');
insert into genres (category, genres) values ('Деловая литература', 'Бизнес-справочники');
insert into genres (category, genres) values ('Деловая литература', 'Личные финансы');
insert into genres (category, genres) values ('Деловая литература', 'Менеджмент');
insert into genres (category, genres) values ('Деловая литература', 'Зарубежная деловая литература');
insert into genres (category, genres) values ('Деловая литература', 'Личная эффективность');
insert into genres (category, genres) values ('Деловая литература', 'Тайм-менеджмент');
insert into genres (category, genres) values ('Деловая литература', 'Малый бизнес');
insert into genres (category, genres) values ('Деловая литература', 'Продажи');
insert into genres (category, genres) values ('Деловая литература', 'Стартапы и создание бизнеса');
insert into genres (category, genres) values ('Деловая литература', 'Корпоративная культура');
insert into genres (category, genres) values ('Деловая литература', 'Банковское дело');
insert into genres (category, genres) values ('Деловая литература', 'Логистика');
insert into genres (category, genres) values ('Деловая литература', 'Недвижимость');
insert into genres (category, genres) values ('Деловая литература', 'Интернет-бизнес');
insert into genres (category, genres) values ('Деловая литература', 'Ораторское искусство');
insert into genres (category, genres) values ('Деловая литература', 'Привлечение клиентов');
insert into genres (category, genres) values ('Деловая литература', 'Делопроизводство');
insert into genres (category, genres) values ('Деловая литература', 'Переговоры');
insert into genres (category, genres) values ('Деловая литература', 'О бизнесе популярно');
insert into genres (category, genres) values ('Деловая литература', 'Ценные бумаги / инвестиции');
insert into genres (category, genres) values ('Деловая литература', 'Бухучет / налогообложение ');
insert into genres (category, genres) values ('Деловая литература', 'Российская практика');
insert into genres (category, genres) values ('Деловая литература', 'Истории успеха');
insert into genres (category, genres) values ('Деловая литература', 'Интернет-маркетинг');
insert into genres (category, genres) values ('Деловая литература', 'Лидерство');
insert into genres (category, genres) values ('Деловая литература', 'Проектный менеджмент');
insert into genres (category, genres) values ('Деловая литература', 'Управление качеством');
insert into genres (category, genres) values ('Деловая литература', 'Финансовый менеджмент');
insert into genres (category, genres) values ('Деловая литература', 'Управление персоналом');
insert into genres (category, genres) values ('Деловая литература', 'Бизнес-процессы');
insert into genres (category, genres) values ('Деловая литература', 'Управление бизнесом');
insert into genres (category, genres) values ('Драматургия', 'Античная драма');
insert into genres (category, genres) values ('Драматургия', 'Комедия');
insert into genres (category, genres) values ('Драматургия', 'Сценарий');
insert into genres (category, genres) values ('Драматургия', 'Драма, пьеса');
|
DROP TABLE IF EXISTS public.water_iq_history;
DROP SEQUENCE IF EXISTS public.water_iq_history_id_seq;
DROP TABLE IF EXISTS public.water_iq;
DROP TABLE IF EXISTS public.water_iq;
-- Account current water iq information
CREATE TABLE public.water_iq
(
id int not null,
updated_on timestamp without time zone not null,
interval_from character varying(8) not null,
interval_to character varying(8) not null,
row_version bigint default 0,
user_volume double precision not null,
user_value character varying(2) not null,
similar_volume double precision null,
similar_value character varying(2) null,
nearest_volume double precision null,
nearest_value character varying(2) null,
all_volume double precision null,
all_value character varying(2) null,
user_1m_consumption double precision null,
similar_1m_consumption double precision null,
nearest_1m_consumption double precision null,
all_1m_consumption double precision null,
user_6m_consumption double precision null,
similar_6m_consumption double precision null,
nearest_6m_consumption double precision null,
all_6m_consumption double precision null,
CONSTRAINT pk_water_iq PRIMARY KEY (id),
CONSTRAINT fk_water_iq_account FOREIGN KEY (id)
REFERENCES public.account (id) MATCH SIMPLE
ON UPDATE CASCADE ON DELETE CASCADE
)
WITH (
OIDS=FALSE
);
-- Account water iq historical information
DROP TABLE IF EXISTS public.water_iq_history;
DROP SEQUENCE IF EXISTS public.water_iq_history_id_seq;
CREATE SEQUENCE public.water_iq_history_id_seq
INCREMENT 1
MINVALUE 1
MAXVALUE 9223372036854775807
START 1
CACHE 1;
CREATE TABLE public.water_iq_history
(
id int not null default nextval('water_iq_history_id_seq'::regclass),
account_id int not null,
created_on timestamp without time zone not null,
interval_from character varying(8) not null,
interval_to character varying(8) not null,
user_volume double precision not null,
user_value character varying(2) not null,
similar_volume double precision null,
similar_value character varying(2) null,
nearest_volume double precision null,
nearest_value character varying(2) null,
all_volume double precision null,
all_value character varying(2) null,
user_1m_consumption double precision null,
similar_1m_consumption double precision null,
nearest_1m_consumption double precision null,
all_1m_consumption double precision null,
user_6m_consumption double precision null,
similar_6m_consumption double precision null,
nearest_6m_consumption double precision null,
all_6m_consumption double precision null,
CONSTRAINT pk_water_iq_history PRIMARY KEY (id),
CONSTRAINT fk_water_iq_history_account FOREIGN KEY (account_id)
REFERENCES public.account (id) MATCH SIMPLE
ON UPDATE CASCADE ON DELETE CASCADE
)
WITH (
OIDS=FALSE
);
|
/*
Navicat Premium Data Transfer
Source Server : 192.168.127.12
Source Server Type : MySQL
Source Server Version : 50728
Source Host : 192.168.127.12:3306
Source Schema : ol_system
Target Server Type : MySQL
Target Server Version : 50728
File Encoding : 65001
Date: 10/12/2019 23:33:57
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for article_category
-- ----------------------------
DROP TABLE IF EXISTS `article_category`;
CREATE TABLE `article_category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 247 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '文章分类表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of article_category
-- ----------------------------
INSERT INTO `article_category` VALUES (239, '后端');
INSERT INTO `article_category` VALUES (240, '前端');
INSERT INTO `article_category` VALUES (241, 'Android');
INSERT INTO `article_category` VALUES (242, '代码人生');
INSERT INTO `article_category` VALUES (243, '阅读');
INSERT INTO `article_category` VALUES (244, '人工智能');
INSERT INTO `article_category` VALUES (245, 'iOS');
INSERT INTO `article_category` VALUES (246, '开发工具');
SET FOREIGN_KEY_CHECKS = 1;
|
-- set users with to-be-removed groups to now be proctors
update user_account_security_group uasg
set security_group_id =
(select security_group_id from security_group sg where
sg.group_name='PROCTOR')
where uasg.security_group_id in (
select security_group_id from security_group sg
where sg.group_name in ('COUNSELOR', 'FACULTY', 'RESEARCHER',
'CONFIGURATOR')
);
-- remove unused security group security permission associations
-- exeplicitily list group names just in case.
delete from security_group_security_permission
where security_group_id in (
select security_group_id from security_group
where group_name in ('STUDENT', 'ADMIN', 'PROCTOR', 'COUNSELOR', 'FACULTY', 'RESEARCHER', 'CONFIGURATOR', 'DEVELOPER', 'PROCESSOR'));
-- remove unused security groups
delete from security_group
where group_name in ('COUNSELOR', 'FACULTY', 'RESEARCHER', 'CONFIGURATOR');
-- remove unused permissions
delete from security_permission
where security_permission_id not in (
'VIEW_SERVER_CONFIG',
'VIEW_PROCTOR_DASHBOARD',
'VIEW_ADMIN_DASHBOARD',
'VIEW_CODE_VERSION',
'PRINT_ASSESSMENT_SESSION',
'VIEW_ASSESSMENT_SESSION',
'VIEW_PREVIEW_ASSESSMENT_UPLOAD_UI',
'VIEW_PROTOTYPE_ASSESSMENT',
'VIEW_REDACT_ASSESSMENT_UI',
'VIEW_ACCOMMODATIONS',
'CREATE_ACTIVATION',
'CREATE_ACTIVATION_SEARCH_SET',
'FIND_ACTIVATIONS',
'DELETE_ACTIVATION_SEARCH_SET',
'VIEW_ACTIVATION_SEARCH_SET',
'UPDATE_ACTIVATION_SEARCH_SET',
'VIEW_CURRENT_USER_ACTIVE_ACTIVATIONS',
'VIEW_CURRENT_USER_ACTIVATIONS',
'VIEW_ACTIVATIONS_REPORT',
'VIEW_ACTIVATION_STATUS_CHANGE_REPORT',
'VIEW_ACTIVATION',
'AUTHORIZE_ACTIVATION',
'CANCEL_ACTIVATION',
'LAUNCH_ACTIVATION',
'PAUSE_ACTIVATION',
'CREATE_ACTIVITY_LOG_ENTRY',
'VIEW_ACTIVITY_LOG',
'VIEW_ASSESSMENT_METADATA',
'VIEW_ASSESSMENTS',
'VIEW_ASSESSMENTS_BY_LOCATION',
'PUBLISH_ASSESSMENT',
'PUBLISH_ASSESSMENT_ITEM',
'VIEW_ASSESSMENT',
'VIEW_ASSESSMENT_ITEM',
'VIEW_ALL_ASSESSMENT_SESSIONS',
'VIEW_DELIVERY_ASSESSMENT_SESSION',
'CREATE_ASSESSMENT_SESSION_ACTIVITY_ENTRY',
'COMPLETE_ASSESSMENT_SESSION_TASK_SET',
'UPDATE_ASSESSMENT_SESSION_TASK_SET_RESPONSE',
'VIEW_PASSCODES_FOR_CURRENT_USER',
'VIEW_PRIVATE_PASSCODE_FOR_CURRENT_USER',
'VIEW_PUBLIC_PASSCODE_FOR_CURRENT_USER',
'VIEW_PREVIEW_ASSESSMENT_SESSION',
'COMPLETE_PREVIEW_ASSESSMENT_SESSION_TASK_SET',
'UPDATE_PREVIEW_ASSESSMENT_SESSION_TASK_SET_RESPONSE',
'CHECK_PREVIEW_ASSESSMENT_SESSION_TASK_SET_SCORE',
'CHECK_PREVIEW_ASSESSMENT_SESSION_TASK_SCORE',
'UPLOAD_PREVIEW_ASSESSMENT_PACKAGE',
'REDACT_ASSESSMENT_PACKAGE',
'DOWNLOAD_RESPONSE_REPORT',
'VIEW_ASSESSMENT_SESSIONS_SEQUENCE',
'GENERATE_SAMPLE_ASSESSMENT_SESSIONS',
'STORE_RESPONSE_REPORT',
'DOWNLOAD_STATIC_REPORT',
'FIND_STUDENT',
'UPLOAD_ASSESSMENT_PACKAGE',
'VIEW_TEST_LOCATIONS_BY_USER',
'VIEW_STUDENT_DASHBOARD',
'UPLOAD_ASSESSMENT_PACKAGE_UI',
'VIEW_UPLOADED_ASSESSMENT_PACKAGE',
'LAUNCH_PAPER_ACTIVATION',
'VIEW_PROCTOR_ACTIVATION',
'VIEW_PROCESSOR_DELIVERY_ASSESSMENT_SESSION',
'TRACK_USER_HISTORY');
|
<reponame>bcgov/cas-ciip-portal
-- Deploy ggircs-portal:enum_operators to pg
-- https://github.com/metabase/metabase/issues/7092
begin;
create or replace function ggircs_portal_private.add_enum_comparison_operators(schema_name text)
returns void as
$func$
declare
r record;
code_ text;
enum_name text;
cmp_func_eq text;
cmp_func_neq text;
begin
for r in (
select distinct
n.nspname as schema,
t.typname as name
from pg_type t
join pg_enum e on t.oid = e.enumtypid
join pg_catalog.pg_namespace n on n.oid = t.typnamespace
where n.nspname = schema_name
)
loop
enum_name := r.schema || $$.$$ || r.name;
cmp_func_eq := r.schema || $$._cmp_$$ || r.name || $$__text__eq$$;
cmp_func_neq := r.schema || $$._cmp_$$ || r.name || $$__text__neq$$;
code_ := $$
create or replace function $$ || cmp_func_eq || $$(_a $$ || enum_name || $$, _b text)
returns boolean as
$f$
select _a = _b::$$ || enum_name || $$;
$f$
language sql immutable strict;
create or replace function $$ || cmp_func_neq || $$(_a $$ || enum_name || $$, _b text)
returns boolean as
$g$
select _a != _b::$$ || enum_name || $$;
$g$
language sql immutable strict;
-- no replace, so drop and recreate
drop operator if exists = ($$ || enum_name || $$, text);
drop operator if exists != ($$ || enum_name || $$, text);
create operator = (
leftarg = $$ || enum_name || $$,
rightarg = text,
procedure = $$ || cmp_func_eq || $$
);
create operator != (
leftarg = $$ || enum_name || $$,
rightarg = text,
procedure = $$ || cmp_func_neq || $$
);$$;
raise notice 'creating enum operators = and != for %', enum_name;
execute code_;
end loop;
end
$func$ language 'plpgsql';
comment on function ggircs_portal_private.add_enum_comparison_operators(text) is 'A function adding enum to text comparison operators for metabase usage.';
commit;
|
CREATE TABLE `news_source_subscription` (
`id` INT NOT NULL AUTO_INCREMENT,
`subscriber_id` INT NOT NULL,
`news_source_id` INT NOT NULL,
PRIMARY KEY (`id`),
FOREIGN KEY (subscriber_id) REFERENCES `student` (id)
ON UPDATE CASCADE
ON DELETE CASCADE,
FOREIGN KEY (news_source_id) REFERENCES `news_source` (id)
ON UPDATE CASCADE
ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
select
[deployment_started_at:aggregation] as period
, sum(datediff('minute', deployment_started_at, deployment_completed_at)) as total_runtime_m
, avg(datediff('minute', deployment_started_at, deployment_completed_at)) as avg_runtime_m
, sum(models_deployed) as models_deployed
from
{{ ref('stg_dbt_deployments') }}
where
[deployment_started_at=daterange]
group by
1
order by
1 desc
|
INSERT INTO `m_permission` (`grouping`, `code`, `entity_name`, `action_name`, `can_maker_checker`)
VALUES
('transaction_savings', 'REFUNDBYTRANSFER_ACCOUNTTRANSFER_CHECKER', 'ACCOUNTTRANSFER', 'REFUNDBYTRANSFER', 0);
INSERT INTO `m_permission` (`grouping`, `code`, `entity_name`, `action_name`, `can_maker_checker`)
VALUES
( 'transaction_savings', 'REFUNDBYTRANSFER_ACCOUNTTRANSFER', 'ACCOUNTTRANSFER', 'REFUNDBYTRANSFER', 1);
INSERT INTO `m_permission` (`grouping`, `code`, `entity_name`, `action_name`, `can_maker_checker`)
VALUES
('transaction_loan', 'REFUNDBYCASH_LOAN', 'LOAN', 'REFUNDBYCASH', 1);
INSERT INTO `m_permission` (`grouping`, `code`, `entity_name`, `action_name`, `can_maker_checker`)
VALUES
('transaction_loan', 'REFUNDBYCASH_LOAN_CHECKER', 'LOAN', 'REFUNDBYCASH', 0);
|
/*
* Copyright 2015 herd contributors
*
* Licensed 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 msg_type_cd_lk (
msg_type_cd varchar(30) NOT NULL,
creat_ts timestamp NOT NULL DEFAULT ('now'::text)::timestamp without time zone,
creat_user_id varchar(100) NOT NULL,
updt_ts timestamp NOT NULL DEFAULT ('now'::text)::timestamp without time zone,
updt_user_id varchar(100) NULL
);
alter table msg_type_cd_lk add constraint msg_type_cd_lk_pk primary key (msg_type_cd);
CREATE TABLE ntfcn_msg (
ntfcn_msg_id int8 NOT NULL,
msg_type_cd varchar(30) NOT NULL,
msg_dstnt varchar(100) NOT NULL,
msg_tx text NULL,
creat_ts timestamp NOT NULL DEFAULT ('now'::text)::timestamp without time zone,
creat_user_id varchar(100) NOT NULL,
updt_ts timestamp NOT NULL DEFAULT ('now'::text)::timestamp without time zone,
updt_user_id varchar(100) NULL
);
ALTER TABLE ntfcn_msg add constraint ntfcn_msg_pk primary key (ntfcn_msg_id);
ALTER TABLE ntfcn_msg ADD CONSTRAINT ntfcn_msg_fk1 FOREIGN KEY (msg_type_cd) REFERENCES msg_type_cd_lk(msg_type_cd);
CREATE SEQUENCE ntfcn_msg_seq;
insert into msg_type_cd_lk (msg_type_cd, creat_ts, creat_user_id, updt_ts, updt_user_id)
values ('SQS', current_timestamp, 'SYSTEM', current_timestamp, 'SYSTEM');
insert into msg_type_cd_lk (msg_type_cd, creat_ts, creat_user_id, updt_ts, updt_user_id)
values ('SNS', current_timestamp, 'SYSTEM', current_timestamp, 'SYSTEM');
|
<gh_stars>10-100
create table article
(
id int auto_increment
primary key,
article_title varchar(255) charset utf8 default '' null,
article_content text null,
create_time datetime null,
user_id int null,
del_flag int(255) default '0' null,
like_count int default '0' null,
comment_count int default '0' null,
browse_count int default '0' null,
label int null,
anonymous_switch int default '0' not null,
is_recommend int default '0' null,
content_type int default '1' not null
)
charset=utf8mb4
;
create table c_message
(
id int auto_increment
primary key,
content varchar(255) null,
create_time datetime null,
post_user_id int null,
received_user_id int null,
del_flag int default '0' null,
type int null,
is_read int default '0' null
)
;
create table general_comment
(
id int not null auto_increment
primary key,
topic_id int null,
topic_type int null,
content varchar(255) null,
post_user_id int null,
create_time datetime null,
like_count int null,
del_flag int default '0' null,
has_reply INT DEFAULT '0' null
)
comment '评论表设计'
;
create table general_like
(
id int not null auto_increment
primary key,
topic_id int null,
topic_type int null,
like_value int default '0' null,
post_user_id int null,
create_time datetime null,
del_flag int default '0' null
)
comment '点赞表'
;
create table cwd_boring.general_reply
(
id int not null auto_increment
primary key,
comment_id int null,
content varchar(255) null,
post_user_id int null,
to_user_id int null,
type int null,
create_time datetime null,
del_flag int default '0' null,
reply_id int null
)
comment '回复评论的'
;
create table question
(
id int not null auto_increment
primary key,
que_content varchar(255) null,
createtime datetime null,
del_flag int(255) default '0' null,
user_id int null
)
;
create table super_beauty
(
id int not null auto_increment
primary key,
img_url varchar(255) null,
upload_user_id int null,
create_time datetime null,
del_flag int(255) default '0' null,
like_count int default '0' null,
title varchar(255) null,
category varchar(255) default '' null comment '类别',
pic_list varchar(500) default '' null,
pic_desc_list varchar(500) default '' null,
see_count int default '0' null
)
;
create table thought
(
id int auto_increment
primary key,
thought_content varchar(400) null,
create_time datetime null,
user_id int null,
like_count int default '0' null,
comment_count int default '0' null,
del_flag int default '0' null,
area varchar(100) null,
last_reply_time varchar(50) default '''' null,
pic_list varchar(500) default '' null,
last_reply_user_name varchar(50) default '' null
)
comment '想法'
;
create table fq_user
(
id int not null auto_increment
primary key,
username varchar(255) null,
password varchar(255) null,
create_time datetime null,
nickname varchar(255) null,
icon varchar(255) null,
create_ip varchar(255) null,
city varchar(50) null,
sex int null,
is_single int null,
is_mail_bind int null,
sign varchar(255) null,
openid varchar(255) null,
provider varchar(255) null,
qudou_num int null,
birth varchar(255) default '' null,
education varchar(255) default '' null,
school varchar(255) default '' null,
role int default '0' null,
level int default '1' null,
status int default '0' null
)
;
create table user_time_line
(
id int not null auto_increment
primary key,
content varchar(255) null,
create_time datetime null,
del_flag int default '0' null,
user_id int null
)
;
create table job_talk
(
id int auto_increment
primary key,
content text null,
user_id int null,
title varchar(255) null,
create_time datetime null,
del_flag int default '0' null,
comment_count int default '0' null,
label varchar(255) null,
type int null,
last_pub_nickname varchar(255) null,
last_pub_time datetime null,
see_count int null
)
;
create table upload_img_record
(
id int auto_increment
primary key,
pic_url varchar(255) null,
pic_md5 varchar(255) null,
create_time datetime null,
ip varchar(100) null,
user_id int null,
pic_size bigint null
)
;
create table user_activate
(
id int auto_increment
primary key,
user_id int null,
token varchar(255) null,
create_time datetime null
)
;
create table cwd_boring.user_follow
(
id int not null auto_increment
primary key,
follower_user_id int null,
followed_user_id int null,
create_time datetime null,
del_flag int default '0' null
)
comment '用户关注表'
;
create table fq_notice
(
id int auto_increment
primary key,
content text null,
create_time datetime null,
title varchar(255) null,
fq_order int null,
is_show int default '0' null,
user_id int null,
nickname varchar(255) null,
icon varchar(255) null,
type varchar(50) null,
comment_num int null
)
comment '通知表'
;
create table nginx_log
(
id int auto_increment
primary key,
ip varchar(255) null,
local_time varchar(255) null,
method varchar(255) null,
url varchar(255) null,
http varchar(255) null,
status varchar(255) null,
bytes varchar(255) null,
referer varchar(255) null,
xforward varchar(255) null,
request_time double null,
user_agent varchar(255) null,
create_time datetime null,
spider_type int default '0' null comment '//0代表没有爬虫 1 百度爬虫 2 google爬虫 3 bing爬虫 4 搜狗'
)
;
create table fq_sign
(
id int auto_increment
primary key,
days int not null comment '实时的连续的签到天数',
user_id int null,
sign_time datetime null,
sign_days varchar(255) null,
max_days int default 0 not null comment '签到最长的天数,用于补签'
)
comment '签到' charset=utf8;
create table fq_third_party
(
id int auto_increment
primary key,
openid varchar(255) null,
provider varchar(255) null,
user_id int null,
create_time datetime null
)
comment '第三方'
;
create table fq_label
(
id int auto_increment
primary key,
name varchar(255) null,
del_flag int default '0' null,
type int null
)
;
create table fq_area
(
id int auto_increment
primary key,
name varchar(255) null,
card_num int default '0' null
)
;
create table cwd_boring.fq_visit_record
(
id int not null auto_increment
primary key,
visit_user_id int null,
visited_user_id int null,
visit_time datetime null,
del_flag int default '0' null
)
;
create table fq_music
(
id int auto_increment
primary key,
music_name varchar(255) null,
music_url varchar(255) null,
del_flag int null,
create_time datetime null,
like_count int default '0' null,
play_count int null,
user_id int null,
lyric varchar(1000) null,
singer varchar(50) default '' null
)
engine=InnoDB
;
create table fq_friend_link
(
id int auto_increment
primary key,
link_name varchar(255) null,
link_url varchar(255) null,
create_time datetime null
)
;
create table fq_background_img
(
id int auto_increment
primary key,
img_url varchar(255) null,
del_flag int default '0' null,
user_id int null,
create_time datetime null,
update_time datetime null,
history_urls varchar(500) default '' null
)
;
create table cwd_boring.fq_collect
(
id int not null auto_increment
primary key,
topic_type int null,
topic_id int null,
del_flag int default '0' null,
create_time datetime null,
user_id int null
)
comment '收藏表'
;
create table fq_website_dir
(
id int not null auto_increment
primary key,
url varchar(255) default '' not null,
type varchar(40) default '' null,
del_flag int default '0' null,
name varchar(255) default '' not null,
click_count int default '0' null,
user_id int default '0' null,
create_time datetime null,
icon varchar(100) default '' null
)
;
create table fq_short_video
(
id bigint not null auto_increment
primary key,
url varchar(255) default '' not null,
user_id int default '0' not null,
create_time datetime not null,
del_flag int default '0' not null,
like_count int default '0' not null,
title varchar(40) default '' not null
)
;
create table fq_news
(
ID bigint auto_increment comment '主键'
primary key,
TITLE varchar(100) default '' not null comment '标题',
CONTENT text null,
SOURCE varchar(50) default '' not null,
COMMENT_COUNT int default '0' not null,
IMG_SRC varchar(100) default '' not null,
P_TIME varchar(50) default '' not null,
GMT_CREATE datetime not null
)
comment '新闻'
;
create table fq_topic
(
ID bigint auto_increment comment '主键'
primary key,
TITLE varchar(100) default '' not null comment '标题',
CONTENT text null,
SOURCE varchar(50) default '' not null,
AUTHOR varchar(50) default '' not null COMMENT '作者',
AUTHOR_ICON varchar(100) default '' not null COMMENT '作者头像',
COMMENT_COUNT int default '0' not null,
GMT_CREATE datetime not null,
TYPE VARCHAR(20) DEFAULT '' NOT NULL
)
comment '话题'
;
CREATE TABLE fq_topic_reply
(
ID BIGINT PRIMARY KEY NOT NULL AUTO_INCREMENT,
CONTENT VARCHAR(500) DEFAULT '' NOT NULL,
TOPIC_ID BIGINT DEFAULT 0 NOT NULL,
GMT_CREATE DATETIME NOT NULL
);
create table wang_hong_wan
(
ID bigint not null auto_increment
primary key,
AUTHOR varchar(50) default '' not null,
AREA varchar(50) default '' not null,
CONTENT varchar(500) default '' not null,
PIC_LIST varchar(1000) default '' not null
)
comment '网红玩'
;
CREATE TABLE FQ_SEARCH_RECORD
(
ID BIGINT PRIMARY KEY NOT NULL AUTO_INCREMENT,
NAME VARCHAR(50) DEFAULT '' NOT NULL COMMENT '搜索名称',
GMT_CREATE DATETIME NOT NULL,
DEL_FLAG int DEFAULT 0 NOT NULL,
TYPE int DEFAULT 0 NOT NULL COMMENT '搜索类别',
USER_ID int DEFAULT 0 NOT NULL COMMENT '用户id'
);
ALTER TABLE FQ_SEARCH_RECORD COMMENT = '搜索记录';
CREATE TABLE FQ_BLACK_LIST
(
ID BIGINT PRIMARY KEY NOT NULL AUTO_INCREMENT,
IP VARCHAR(20) DEFAULT '' NOT NULL COMMENT '被拉黑的ip',
GMT_CREATE DATETIME NOT NULL,
OPERATOR VARCHAR(45) DEFAULT '' NOT NULL
);
ALTER TABLE FQ_BLACK_LIST COMMENT = '黑名单';
CREATE TABLE fq_user_active_num
(
ID BIGINT PRIMARY KEY NOT NULL AUTO_INCREMENT,
ACTIVE_NUM int DEFAULT 0 NOT NULL COMMENT '活跃度',
GMT_CREATE DATETIME NOT NULL,
USER_ID int DEFAULT 0 NOT NULL COMMENT '用户id',
MARK VARCHAR(20) DEFAULT '' NOT NULL COMMENT '标识'
);
ALTER TABLE fq_user_active_num COMMENT = '用户活跃度';
CREATE TABLE FQ_USER_ACTIVITY_RECORD
(
ID BIGINT PRIMARY KEY NOT NULL AUTO_INCREMENT,
USER_ID INT DEFAULT 0 NOT NULL,
CREATE_TIME DATETIME DEFAULT CURRENT_TIMESTAMP NOT NULL,
DEL_FLAG int DEFAULT 0 NOT NULL,
ACTIVITY_CONTENT VARCHAR(500) DEFAULT '' NOT NULL
);
ALTER TABLE FQ_USER_ACTIVITY_RECORD COMMENT = '用户活动记录';
create table api_doc_project
(
ID bigint not null auto_increment
primary key,
USER_ID int default '0' not null comment '创建人的id',
PROJECT_NAME varchar(50) default '' not null comment '项目名称',
CREATE_TIME datetime default CURRENT_TIMESTAMP not null,
STATUS tinyint default '1' not null,
REMARK varchar(200) default '' not null,
TYPE tinyint default '1' not null,
PASSWORD varchar(45) default '' not null,
COVER varchar(200) default '' not null
)
comment 'api文档项目'
;
CREATE TABLE api_doc_interface (
ID bigint not null auto_increment
primary key,
`url` varchar(200) NOT NULL COMMENT 'api链接',
`method` varchar(50) NOT NULL COMMENT ' 请求方式',
`param` text COMMENT '参数列表',
`paramRemark` text COMMENT '请求参数备注',
`requestExam` text COMMENT '请求示例',
`responseParam` text COMMENT '返回参数说明',
`errorList` text COMMENT '接口错误码列表',
`trueExam` text COMMENT '正确返回示例',
`falseExam` text COMMENT '错误返回示例',
`status` tinyint(4) NOT NULL DEFAULT '1' COMMENT '是否可用;0不可用;1可用;-1 删除',
`moduleId` BIGINT NOT NULL DEFAULT '0' COMMENT '所属模块ID',
`interfaceName` varchar(100) NOT NULL COMMENT '接口名',
`remark` text,
`errors` text COMMENT '错误码、错误码信息',
`updateBy` varchar(100) DEFAULT NULL,
`updateTime` timestamp NOT NULL DEFAULT '2018-12-31 00:00:00',
`createTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`version` varchar(20) NOT NULL DEFAULT '1.0' COMMENT '版本号',
`sequence` int(11) NOT NULL DEFAULT '0' COMMENT '排序,越大越靠前',
`header` text,
`fullUrl` varchar(255) NOT NULL DEFAULT '',
`monitorEmails` varchar(200) DEFAULT NULL,
`isTemplate` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否是模板',
`projectId` BIGINT NOT NULL DEFAULT '0',
`contentType` varchar(45) NOT NULL DEFAULT 'application/json' COMMENT '接口返回contentType'
) COMMENT 'api文档接口';
create table api_doc_module
(
ID bigint not null auto_increment
primary key,
MODULE_NAME varchar(50) default '' not null,
CREATE_TIME datetime default CURRENT_TIMESTAMP not null,
STATUS tinyint default '1' not null,
URL varchar(100) default '' not null,
REMARK varchar(200) default '' not null,
USER_ID int default '0' not null,
PROJECT_ID bigint default '0' not null
)
comment '模块'
;
create table api_doc_project_user
(
ID bigint not null auto_increment
primary key,
PROJECT_ID bigint default '0' not null,
USER_ID int default '0' not null,
CREATE_TIME datetime default CURRENT_TIMESTAMP not null,
STATUS int default '0' not null,
sponsor int default '0' not null
)
comment '项目与用户的关联表'
;
create table fq_user_pay_way
(
ID bigint auto_increment
primary key,
PAY_WAY int default '1' not null comment '1 支付宝 2 微信',
PAY_IMG_URL varchar(100) default '' not null comment '支付的二维码照片',
GMT_CREATE datetime not null comment '创建时间',
USER_ID int default '0' not null comment '用户id',
DEL_FLAG int default '0' not null comment '是否删除'
)
comment '支付方式'
;
CREATE TABLE cwd_boring.fq_lolita
(
ID BIGINT PRIMARY KEY NOT NULL AUTO_INCREMENT,
PIC_URL VARCHAR(500) DEFAULT '' NOT NULL,
USER_ID INT DEFAULT 0 NOT NULL,
GMT_CREATE DATETIME NOT NULL COMMENT '创建时间',
DEL_FLAG INT DEFAULT 0 NOT NULL,
REMARK VARCHAR(100) DEFAULT '' NOT NULL COMMENT '备注',
LINK VARCHAR(100) DEFAULT '' NOT NULL COMMENT '自动生成的链接 用于分享',
LIKE_COUNT INT DEFAULT 0 NOT NULL ,
COMMENT_COUNT INT DEFAULT 0 NOT NULL
);
ALTER TABLE cwd_boring.fq_lolita COMMENT = 'LOLITA FASHION洋装';
create table fq_advertisement
(
ID int auto_increment
primary key,
PIC_URL varchar(100) default '' not null comment '广告图片',
REMARK varchar(100) default '' not null comment '备注',
GMT_CREATE datetime not null comment '创建时间',
AD_HREF varchar(100) default '' not null comment '广告跳转链接',
POSITION int default '1' not null comment '0 首页banner 1 列表页 2 详情页'
)
comment '广告配置'
;
create table fq_doutu_cloud
(
ID bigint auto_increment
primary key,
USER_ID int default 0 not null,
IMG_URL varchar(500) default '' not null,
GMT_CREATE datetime not null,
DEL_FLAG int default 0 not null,
TAG varchar(100) default '' not null comment '标签 逗号隔开',
VIDEO_URL varchar(100) default '' not null,
TITLE varchar(100) default '' not null comment '标题'
)
comment '斗图云';
create table fq_user_auth
(
ID int auto_increment,
USER_ID int default 0 not null comment '授权的用户',
AUTHED_USER_ID int default 0 not null comment '被授权的用户',
AUTH_TIME DATETIME not null comment '被授权时间',
DEL_FLAG INT default 0 not null comment '删除标志',
AUTH_TYPE int default 0 not null comment '授权类型',
constraint fq_user_auth_pk
primary key (ID)
)
comment '用户授权';
create table fq_good_pic
(
ID BIGINT auto_increment,
TITLE VARCHAR(100) default '' not null,
PIC_URL_LIST VARCHAR(1000) default '' not null comment '图片列表',
GMT_CREATE DATETIME not null comment '创建时间',
constraint fq_good_pic__pk
primary key (ID)
)
comment '好资源的图片';
create table sys_job (
job_id int(11) not null auto_increment comment '任务ID',
job_name varchar(64) default '' comment '任务名称',
job_group varchar(64) default '' comment '任务组名',
method_name varchar(500) default '' comment '任务方法',
method_params varchar(50) default null comment '方法参数',
cron_expression varchar(255) default '' comment 'cron执行表达式',
misfire_policy varchar(20) default '3' comment '计划执行错误策略(1立即执行 2执行一次 3放弃执行)',
status char(1) default '0' comment '状态(0正常 1暂停)',
create_by varchar(64) default '' comment '创建者',
create_time datetime comment '创建时间',
update_by varchar(64) default '' comment '更新者',
update_time datetime comment '更新时间',
remark varchar(500) default '' comment '备注信息',
concurrent char(1) default '1' comment '是否并发执行(0允许 1禁止)',
primary key (job_id)
) engine=innodb auto_increment=100 default charset=utf8 comment = '定时任务调度表';
-- ----------------------------
-- 17、定时任务调度日志表
-- ----------------------------
create table sys_job_log (
job_log_id int(11) not null auto_increment comment '任务日志ID',
job_name varchar(64) not null comment '任务名称',
job_group varchar(64) not null comment '任务组名',
method_name varchar(500) comment '任务方法',
method_params varchar(50) default null comment '方法参数',
job_message varchar(500) comment '日志信息',
status char(1) default '0' comment '执行状态(0正常 1失败)',
exception_info varchar(2000) default '' comment '异常信息',
create_time datetime comment '创建时间',
primary key (job_log_id)
) engine=innodb default charset=utf8 comment = '定时任务调度日志表';
create table fq_change_log_collect
(
id int auto_increment,
title varchar(50) default '' not null comment '标题',
gmt_create datetime not null,
content text null,
watch_count int default 0 not null comment '观看数量',
constraint fq_change_log_collect_pk
primary key (id)
)
comment '更新日志收集';
|
<filename>sql/init-user.sql
-- --------------------------------------------------------
-- Host: 127.0.0.1
-- Server version: 5.5.28 - MySQL Community Server (GPL)
-- Server OS: Win64
-- HeidiSQL Version: 9.4.0.5125
-- --------------------------------------------------------
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!50503 SET NAMES utf8mb4 */;
/*!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' */;
-- Dumping data for table webqq.user: ~6 rows (approximately)
/*!40000 ALTER TABLE `user` DISABLE KEYS */;
INSERT INTO `user` (`id`, `username`, `password`, `email`) VALUES
('12345', 'daming', '<PASSWORD>', '<EMAIL>'),
('23456', 'xiao2', '<PASSWORD>', '<EMAIL>'),
('34567', 'aming', '<PASSWORD>', 'arthur.<EMAIL>');
/*!40000 ALTER TABLE `user` ENABLE KEYS */;
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
-- This file should undo anything in `up.sql`
drop table if exists events;
|
/*
Navicat MySQL Data Transfer
Source Server : localhost
Source Server Version : 50616
Source Host : localhost:3306
Source Database : yii2lv_blog
Target Server Type : MYSQL
Target Server Version : 50616
File Encoding : 65001
Date: 2019-02-17 18:29:09
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for admin
-- ----------------------------
DROP TABLE IF EXISTS `admin`;
CREATE TABLE `admin` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增ID',
`username` varchar(255) NOT NULL COMMENT '用户名',
`auth_key` varchar(32) NOT NULL COMMENT '自动登录KEY',
`password_hash` varchar(255) NOT NULL COMMENT '加密密码',
`password_reset_token` varchar(255) DEFAULT NULL COMMENT '重置密码token',
`email_validate_token` varchar(255) DEFAULT NULL COMMENT '邮箱验证token',
`email` varchar(255) NOT NULL DEFAULT '' COMMENT '邮箱',
`role` smallint(6) NOT NULL DEFAULT '10' COMMENT '角色等级',
`status` smallint(6) NOT NULL DEFAULT '10' COMMENT '状态',
`avatar` varchar(255) DEFAULT NULL COMMENT '头像',
`created_at` int(11) NOT NULL COMMENT '创建时间',
`updated_at` int(11) NOT NULL COMMENT '修改时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='管理员表';
-- ----------------------------
-- Records of admin
-- ----------------------------
INSERT INTO `admin` VALUES ('1', 'admin', 'Z6wYrOnf7TG9UOuuZ51XKcp8ZscLXUg-', '$2y$13$nhADHGTEMT/eamZ6V9dvGedhUK8/uT9YhLL7o8SyeDhQPI9fgmZ4O', null, null, '<EMAIL>', '10', '10', null, '1546180975', '1546180975');
-- ----------------------------
-- Table structure for cats
-- ----------------------------
DROP TABLE IF EXISTS `cats`;
CREATE TABLE `cats` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增ID',
`cat_name` varchar(255) NOT NULL COMMENT '分类名称',
`created_at` int(11) NOT NULL COMMENT '创建时间',
`updated_at` int(11) NOT NULL COMMENT '修改时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='分类表';
-- ----------------------------
-- Records of cats
-- ----------------------------
INSERT INTO `cats` VALUES ('1', '分类一', '1546180975', '1546180975');
-- ----------------------------
-- Table structure for feeds
-- ----------------------------
DROP TABLE IF EXISTS `feeds`;
CREATE TABLE `feeds` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) NOT NULL COMMENT '用户id',
`content` varchar(255) NOT NULL COMMENT '内容',
`created_at` int(11) NOT NULL COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='聊天信息表';
-- ----------------------------
-- Records of feeds
-- ----------------------------
INSERT INTO `feeds` VALUES ('1', '2', '第一条流言。', '1550398765');
-- ----------------------------
-- Table structure for posts
-- ----------------------------
DROP TABLE IF EXISTS `posts`;
CREATE TABLE `posts` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增ID',
`title` varchar(255) DEFAULT NULL COMMENT '标题',
`summary` varchar(255) DEFAULT NULL COMMENT '摘要',
`content` text COMMENT '内容',
`label_img` varchar(255) DEFAULT NULL COMMENT '标签图',
`cat_id` int(11) DEFAULT NULL COMMENT '分类id',
`user_id` int(11) DEFAULT NULL COMMENT '用户id',
`user_name` varchar(255) DEFAULT NULL COMMENT '用户名',
`is_valid` tinyint(1) DEFAULT '0' COMMENT '是否有效:0-未发布 1-已发布',
`created_at` int(11) DEFAULT NULL COMMENT '创建时间',
`updated_at` int(11) DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`id`),
KEY `idx_cat_valid` (`cat_id`,`is_valid`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8 COMMENT='文章主表';
-- ----------------------------
-- Records of posts
-- ----------------------------
INSERT INTO `posts` VALUES ('10', '测试一1111', '床前明月光,疑是地上霜,举头望明月,低头思故乡。', '<p>床前明月光,疑是地上霜,举头望明月,低头思故乡。</p>', '/image/20190203/1549201699608641.jpg', '1', '1', 'test', '1', '1549201766', '1549201766');
INSERT INTO `posts` VALUES ('14', '测试标签', '全运会脍', '<p>全运会脍</p>', '', '1', '1', 'test', '1', '1549381682', '1549381682');
INSERT INTO `posts` VALUES ('15', '测试标签二', 'abcdefghijklmnopqrstuvwxyz', '<p>abcdefghijklmnopqrstuvwxyz</p>', '', '1', '1', 'test', '1', '1549418726', '1549418726');
-- ----------------------------
-- Table structure for post_extends
-- ----------------------------
DROP TABLE IF EXISTS `post_extends`;
CREATE TABLE `post_extends` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增ID',
`post_id` int(11) DEFAULT NULL COMMENT '文章id',
`browser` int(11) DEFAULT '0' COMMENT '浏览量',
`collect` int(11) DEFAULT '0' COMMENT '收藏量',
`praise` int(11) DEFAULT '0' COMMENT '点赞',
`comment` int(11) DEFAULT '0' COMMENT '评论',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='文章扩展表';
-- ----------------------------
-- Records of post_extends
-- ----------------------------
INSERT INTO `post_extends` VALUES ('1', '10', '15', '0', '0', '0');
INSERT INTO `post_extends` VALUES ('2', '14', '6', '0', '0', '0');
INSERT INTO `post_extends` VALUES ('3', '15', '2', '0', '0', '0');
-- ----------------------------
-- Table structure for relation_post_tags
-- ----------------------------
DROP TABLE IF EXISTS `relation_post_tags`;
CREATE TABLE `relation_post_tags` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增ID',
`post_id` int(11) DEFAULT NULL COMMENT '文章ID',
`tag_id` int(11) DEFAULT NULL COMMENT '标签ID',
PRIMARY KEY (`id`),
UNIQUE KEY `post_id` (`post_id`,`tag_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COMMENT='文章和标签关系表';
-- ----------------------------
-- Records of relation_post_tags
-- ----------------------------
INSERT INTO `relation_post_tags` VALUES ('1', '14', '4');
INSERT INTO `relation_post_tags` VALUES ('2', '14', '5');
INSERT INTO `relation_post_tags` VALUES ('3', '15', '4');
INSERT INTO `relation_post_tags` VALUES ('4', '15', '5');
INSERT INTO `relation_post_tags` VALUES ('5', '15', '6');
-- ----------------------------
-- Table structure for tags
-- ----------------------------
DROP TABLE IF EXISTS `tags`;
CREATE TABLE `tags` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增ID',
`tag_name` varchar(255) DEFAULT NULL COMMENT '标签名称',
`post_num` int(11) DEFAULT '0' COMMENT '关联文章数',
PRIMARY KEY (`id`),
UNIQUE KEY `tag_name` (`tag_name`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COMMENT='标签表';
-- ----------------------------
-- Records of tags
-- ----------------------------
INSERT INTO `tags` VALUES ('4', '标签一', '2');
INSERT INTO `tags` VALUES ('5', '标签二', '2');
INSERT INTO `tags` VALUES ('6', '标签三', '1');
-- ----------------------------
-- Table structure for user
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增ID',
`username` varchar(255) NOT NULL COMMENT '用户名',
`auth_key` varchar(32) NOT NULL COMMENT '自动登录KEY',
`password_hash` varchar(255) NOT NULL COMMENT '加密密码',
`password_reset_token` varchar(255) DEFAULT NULL COMMENT '重置密码token',
`email_validate_token` varchar(255) DEFAULT NULL COMMENT '邮箱验证token',
`email` varchar(255) NOT NULL DEFAULT '' COMMENT '邮箱',
`role` smallint(6) NOT NULL DEFAULT '10' COMMENT '角色等级',
`status` smallint(6) NOT NULL DEFAULT '10' COMMENT '状态',
`avatar` varchar(255) DEFAULT NULL COMMENT '头像',
`vip_lv` int(11) NOT NULL DEFAULT '0' COMMENT 'VIP等级',
`created_at` int(11) NOT NULL COMMENT '创建时间',
`updated_at` int(11) NOT NULL COMMENT '修改时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='会员表';
-- ----------------------------
-- Records of user
-- ----------------------------
INSERT INTO `user` VALUES ('1', 'test', 'Z6wYrOnf7TG9UOuuZ51XKcp8ZscLXUg-', '$2y$13$nhADHGTEMT/eamZ6V9dvGedhUK8/uT9YhLL7o8SyeDhQPI9fgmZ4O', null, null, '<EMAIL>', '10', '10', null, '0', '1546180975', '1546180975');
INSERT INTO `user` VALUES ('2', 'test1', 'GmaJpbYToRShCPtKLMS3BoHX1tDZoFVJ', '$2y$13$h40vOidabFU.Hvk8TqcYLOdHP1cRBgBRTCWogvtDnMgdhMVCLTKfS', null, null, '<EMAIL>', '10', '10', null, '0', '1546441089', '1546441089');
|
-- Remove colorset references
alter table visualization drop column if exists colorsetid;
-- Remove colorset tables
drop table if exists colorset_colors;
drop table if exists color;
drop table if exists colorset;
|
CREATE INDEX foo__uniq__key__null_value
ON foo ( key )
WHERE value IS NULL
|
use cadastro;
create table gafanhotos_assiste_cursos (
id int not null auto_increment,
data date,
idgafanhoto int,
idcurso int,
primary key(id),
foreign key(idgafanhoto) references gafanhotos(id),
foreign key(idcurso) references cursos(idcurso)
) default charset = utf8;
insert into gafanhotos_assiste_cursos values
(default, '2019-06-02', '1','6');
select * from gafanhotos_assiste_cursos;
select g.nome, a.idgafanhoto, a.data, c.nome from gafanhotos g join gafanhotos_assiste_cursos a
on g.id = a.idgafanhoto
join cursos c
on c.idcurso = a.idcurso;
|
<reponame>wang-q/garr<gh_stars>0
SELECT
chr_name, COUNT(*), AVG(length)
FROM
ctg
GROUP BY
chr_name
|
<gh_stars>0
DELETE FROM "managers"; -- apagar todas as linha da tabela
INSERT INTO "managers" ("cpf", "directorship_id")
VALUES
('16370290102', (SELECT "directorship_id" from "directorships" WHERE "name" = 'Inovação')),
('19370290101', (SELECT "directorship_id" from "directorships" WHERE "name" = 'Inovação')),
('19370290103', (SELECT "directorship_id" from "directorships" WHERE "name" = 'Inovação')),
('12370290103', (SELECT "directorship_id" from "directorships" WHERE "name" = 'Inovação'))
;
|
<filename>database/07.itemFixPriceSomeEmpv2.sql
-- --------------------------------------------------------
-- Host: 127.0.0.1
-- Server version: 5.6.21 - MySQL Community Server (GPL)
-- Server OS: Win32
-- HeidiSQL Version: 9.2.0.4947
-- --------------------------------------------------------
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8mb4 */;
/*!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' */;
-- Dumping database structure for pos
CREATE DATABASE IF NOT EXISTS `pos` /*!40100 DEFAULT CHARACTER SET latin1 */;
USE `pos`;
-- Dumping structure for table pos.ospos_app_config
CREATE TABLE IF NOT EXISTS `ospos_app_config` (
`key` varchar(255) NOT NULL,
`value` varchar(255) NOT NULL,
PRIMARY KEY (`key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table pos.ospos_app_config: ~10 rows (approximately)
DELETE FROM `ospos_app_config`;
/*!40000 ALTER TABLE `ospos_app_config` DISABLE KEYS */;
INSERT INTO `ospos_app_config` (`key`, `value`) VALUES
('address', 'Alamat : Desa Cicadas Kec. Gunung Putri Kabupaten Bogor - Jawa Barat Indonesia, 16964'),
('barcode_content', 'id'),
('barcode_first_row', 'name'),
('barcode_font', '0'),
('barcode_font_size', '10'),
('barcode_height', '50'),
('barcode_num_in_row', '2'),
('barcode_page_cellspacing', '20'),
('barcode_page_width', '100'),
('barcode_quality', '100'),
('barcode_second_row', 'item_code'),
('barcode_third_row', 'cost_price'),
('barcode_type', '1'),
('barcode_width', '250'),
('company', 'PT. HSI'),
('company_logo', ''),
('currency_side', '0'),
('currency_symbol', 'Rp.'),
('dateformat', 'd/m/Y'),
('decimal_point', ','),
('default_sales_discount', '0'),
('default_tax_rate', '8'),
('email', '<EMAIL>'),
('fax', ''),
('invoice_default_comments', 'This is a default comment'),
('invoice_email_message', 'Dear $CU, In attachment the receipt for sale $INV'),
('language', 'en'),
('lines_per_page', '25'),
('phone', '+62218671739'),
('print_bottom_margin', '0'),
('print_footer', '0'),
('print_header', '0'),
('print_left_margin', '0'),
('print_right_margin', '0'),
('print_silently', '1'),
('print_top_margin', '0'),
('receipt_show_taxes', '0'),
('recv_invoice_format', '$CO'),
('return_policy', 'Test'),
('sales_invoice_format', '$CO'),
('show_total_discount', '1'),
('tax_included', '0'),
('thousands_separator', '.'),
('timeformat', 'H:i:s'),
('timezone', 'Asia/Bangkok'),
('use_invoice_template', '1'),
('website', '');
/*!40000 ALTER TABLE `ospos_app_config` ENABLE KEYS */;
-- Dumping structure for table pos.ospos_customers
CREATE TABLE IF NOT EXISTS `ospos_customers` (
`person_id` int(10) NOT NULL,
`company_name` varchar(255) DEFAULT NULL,
`account_number` varchar(255) DEFAULT NULL,
`taxable` int(1) NOT NULL DEFAULT '1',
`deleted` int(1) NOT NULL DEFAULT '0',
UNIQUE KEY `account_number` (`account_number`),
KEY `person_id` (`person_id`),
CONSTRAINT `ospos_customers_ibfk_1` FOREIGN KEY (`person_id`) REFERENCES `ospos_people` (`person_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table pos.ospos_customers: ~4 rows (approximately)
DELETE FROM `ospos_customers`;
/*!40000 ALTER TABLE `ospos_customers` DISABLE KEYS */;
INSERT INTO `ospos_customers` (`person_id`, `company_name`, `account_number`, `taxable`, `deleted`) VALUES
(6, NULL, NULL, 1, 1),
(7, NULL, NULL, 1, 1),
(8, NULL, NULL, 1, 1),
(9, NULL, NULL, 1, 1);
/*!40000 ALTER TABLE `ospos_customers` ENABLE KEYS */;
-- Dumping structure for table pos.ospos_employees
CREATE TABLE IF NOT EXISTS `ospos_employees` (
`username` varchar(255) NOT NULL,
`password` varchar(255) NOT NULL,
`person_id` int(10) NOT NULL,
`deleted` int(1) NOT NULL DEFAULT '0',
UNIQUE KEY `username` (`username`),
KEY `person_id` (`person_id`),
CONSTRAINT `ospos_employees_ibfk_1` FOREIGN KEY (`person_id`) REFERENCES `ospos_people` (`person_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table pos.ospos_employees: ~10 rows (approximately)
DELETE FROM `ospos_employees`;
/*!40000 ALTER TABLE `ospos_employees` DISABLE KEYS */;
INSERT INTO `ospos_employees` (`username`, `password`, `person_id`, `deleted`) VALUES
('adminhsi', '<PASSWORD>', 1, 0),
('andreas', '<PASSWORD>', 10, 0),
('dwiastuti', '25d55ad283aa400af464c76d713c07ad', 13, 0),
('eko.kurniawan', '<PASSWORD>', 15, 0),
('fadli', '<PASSWORD>', 14, 0),
('jackson', '<PASSWORD>', 5, 0),
('joko.susilo', '25d55ad283aa400af464c76d713c07ad', 2, 0),
('riki.hamdani', '<PASSWORD>', 11, 0),
('songky', '25d55ad283aa400af464c76d713c07ad', 12, 0),
('wince', '25d55ad283aa400af464c76d713c07ad', 4, 0);
/*!40000 ALTER TABLE `ospos_employees` ENABLE KEYS */;
-- Dumping structure for table pos.ospos_giftcards
CREATE TABLE IF NOT EXISTS `ospos_giftcards` (
`record_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`giftcard_id` int(11) NOT NULL AUTO_INCREMENT,
`giftcard_number` int(10) NOT NULL,
`value` decimal(15,2) NOT NULL,
`deleted` int(1) NOT NULL DEFAULT '0',
`person_id` int(10) DEFAULT NULL,
PRIMARY KEY (`giftcard_id`),
UNIQUE KEY `giftcard_number` (`giftcard_number`),
KEY `person_id` (`person_id`),
CONSTRAINT `ospos_giftcards_ibfk_1` FOREIGN KEY (`person_id`) REFERENCES `ospos_people` (`person_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table pos.ospos_giftcards: ~0 rows (approximately)
DELETE FROM `ospos_giftcards`;
/*!40000 ALTER TABLE `ospos_giftcards` DISABLE KEYS */;
/*!40000 ALTER TABLE `ospos_giftcards` ENABLE KEYS */;
-- Dumping structure for table pos.ospos_grants
CREATE TABLE IF NOT EXISTS `ospos_grants` (
`permission_id` varchar(255) NOT NULL,
`person_id` int(10) NOT NULL,
PRIMARY KEY (`permission_id`,`person_id`),
KEY `ospos_grants_ibfk_2` (`person_id`),
CONSTRAINT `ospos_grants_ibfk_1` FOREIGN KEY (`permission_id`) REFERENCES `ospos_permissions` (`permission_id`) ON DELETE CASCADE,
CONSTRAINT `ospos_grants_ibfk_2` FOREIGN KEY (`person_id`) REFERENCES `ospos_employees` (`person_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table pos.ospos_grants: ~187 rows (approximately)
DELETE FROM `ospos_grants`;
/*!40000 ALTER TABLE `ospos_grants` DISABLE KEYS */;
INSERT INTO `ospos_grants` (`permission_id`, `person_id`) VALUES
('config', 1),
('customers', 1),
('employees', 1),
('giftcards', 1),
('items', 1),
('items_stock', 1),
('item_kits', 1),
('receivings', 1),
('receivings_stock', 1),
('reports', 1),
('reports_categories', 1),
('reports_customers', 1),
('reports_discounts', 1),
('reports_employees', 1),
('reports_inventory', 1),
('reports_items', 1),
('reports_payments', 1),
('reports_receivings', 1),
('reports_sales', 1),
('reports_suppliers', 1),
('reports_taxes', 1),
('sales', 1),
('sales_stock', 1),
('suppliers', 1),
('customers', 2),
('employees', 2),
('giftcards', 2),
('items', 2),
('items_stock', 2),
('item_kits', 2),
('receivings', 2),
('receivings_stock', 2),
('reports', 2),
('reports_categories', 2),
('reports_customers', 2),
('reports_discounts', 2),
('reports_employees', 2),
('reports_inventory', 2),
('reports_items', 2),
('reports_payments', 2),
('reports_receivings', 2),
('reports_sales', 2),
('reports_suppliers', 2),
('reports_taxes', 2),
('sales', 2),
('sales_stock', 2),
('suppliers', 2),
('customers', 4),
('employees', 4),
('giftcards', 4),
('items', 4),
('items_stock', 4),
('item_kits', 4),
('receivings', 4),
('receivings_stock', 4),
('reports', 4),
('reports_categories', 4),
('reports_customers', 4),
('reports_discounts', 4),
('reports_employees', 4),
('reports_inventory', 4),
('reports_items', 4),
('reports_payments', 4),
('reports_receivings', 4),
('reports_sales', 4),
('reports_suppliers', 4),
('reports_taxes', 4),
('sales', 4),
('sales_stock', 4),
('suppliers', 4),
('customers', 5),
('employees', 5),
('giftcards', 5),
('items', 5),
('items_stock', 5),
('item_kits', 5),
('receivings', 5),
('receivings_stock', 5),
('sales', 5),
('sales_stock', 5),
('suppliers', 5),
('config', 10),
('customers', 10),
('employees', 10),
('giftcards', 10),
('items', 10),
('items_stock', 10),
('item_kits', 10),
('receivings', 10),
('receivings_stock', 10),
('reports', 10),
('reports_categories', 10),
('reports_customers', 10),
('reports_discounts', 10),
('reports_employees', 10),
('reports_inventory', 10),
('reports_items', 10),
('reports_payments', 10),
('reports_receivings', 10),
('reports_sales', 10),
('reports_suppliers', 10),
('reports_taxes', 10),
('sales', 10),
('sales_stock', 10),
('suppliers', 10),
('customers', 11),
('employees', 11),
('giftcards', 11),
('items', 11),
('items_stock', 11),
('item_kits', 11),
('receivings', 11),
('receivings_stock', 11),
('sales', 11),
('sales_stock', 11),
('suppliers', 11),
('customers', 12),
('employees', 12),
('giftcards', 12),
('items', 12),
('items_stock', 12),
('item_kits', 12),
('receivings', 12),
('receivings_stock', 12),
('reports', 12),
('reports_categories', 12),
('reports_customers', 12),
('reports_discounts', 12),
('reports_employees', 12),
('reports_inventory', 12),
('reports_items', 12),
('reports_payments', 12),
('reports_receivings', 12),
('reports_sales', 12),
('reports_suppliers', 12),
('reports_taxes', 12),
('sales', 12),
('sales_stock', 12),
('suppliers', 12),
('customers', 13),
('giftcards', 13),
('items', 13),
('items_stock', 13),
('item_kits', 13),
('receivings', 13),
('receivings_stock', 13),
('reports', 13),
('reports_categories', 13),
('reports_customers', 13),
('reports_discounts', 13),
('reports_employees', 13),
('reports_inventory', 13),
('reports_items', 13),
('reports_payments', 13),
('reports_receivings', 13),
('reports_sales', 13),
('reports_suppliers', 13),
('reports_taxes', 13),
('sales', 13),
('sales_stock', 13),
('suppliers', 13),
('customers', 14),
('sales', 14),
('sales_stock', 14),
('customers', 15),
('employees', 15),
('giftcards', 15),
('items', 15),
('items_stock', 15),
('item_kits', 15),
('receivings', 15),
('receivings_stock', 15),
('reports', 15),
('reports_categories', 15),
('reports_customers', 15),
('reports_discounts', 15),
('reports_employees', 15),
('reports_inventory', 15),
('reports_items', 15),
('reports_payments', 15),
('reports_receivings', 15),
('reports_sales', 15),
('reports_suppliers', 15),
('reports_taxes', 15),
('sales', 15),
('sales_stock', 15),
('suppliers', 15);
/*!40000 ALTER TABLE `ospos_grants` ENABLE KEYS */;
-- Dumping structure for table pos.ospos_inventory
CREATE TABLE IF NOT EXISTS `ospos_inventory` (
`trans_id` int(11) NOT NULL AUTO_INCREMENT,
`trans_items` int(11) NOT NULL DEFAULT '0',
`trans_user` int(11) NOT NULL DEFAULT '0',
`trans_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`trans_comment` text NOT NULL,
`trans_location` int(11) NOT NULL,
`trans_inventory` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`trans_id`),
KEY `trans_items` (`trans_items`),
KEY `trans_user` (`trans_user`),
KEY `trans_location` (`trans_location`),
CONSTRAINT `ospos_inventory_ibfk_1` FOREIGN KEY (`trans_items`) REFERENCES `ospos_items` (`item_id`),
CONSTRAINT `ospos_inventory_ibfk_2` FOREIGN KEY (`trans_user`) REFERENCES `ospos_employees` (`person_id`),
CONSTRAINT `ospos_inventory_ibfk_3` FOREIGN KEY (`trans_location`) REFERENCES `ospos_stock_locations` (`location_id`)
) ENGINE=InnoDB AUTO_INCREMENT=234 DEFAULT CHARSET=utf8;
-- Dumping data for table pos.ospos_inventory: ~231 rows (approximately)
DELETE FROM `ospos_inventory`;
/*!40000 ALTER TABLE `ospos_inventory` DISABLE KEYS */;
INSERT INTO `ospos_inventory` (`trans_id`, `trans_items`, `trans_user`, `trans_date`, `trans_comment`, `trans_location`, `trans_inventory`) VALUES
(1, 11, 1, '2015-08-21 14:31:16', 'Qty CSV Imported', 1, 0),
(2, 12, 1, '2015-08-21 14:31:16', 'Qty CSV Imported', 1, 0),
(3, 13, 1, '2015-08-21 14:31:16', 'Qty CSV Imported', 1, 0),
(4, 14, 1, '2015-08-21 14:31:17', 'Qty CSV Imported', 1, 0),
(5, 15, 1, '2015-08-21 14:31:17', 'Qty CSV Imported', 1, 0),
(6, 16, 1, '2015-08-21 14:31:17', 'Qty CSV Imported', 1, 0),
(7, 17, 1, '2015-08-21 14:31:17', 'Qty CSV Imported', 1, 0),
(8, 18, 1, '2015-08-21 14:31:18', 'Qty CSV Imported', 1, 0),
(9, 19, 1, '2015-08-21 14:31:18', 'Qty CSV Imported', 1, 0),
(10, 20, 1, '2015-08-21 14:31:18', 'Qty CSV Imported', 1, 0),
(11, 21, 1, '2015-08-21 14:31:18', 'Qty CSV Imported', 1, 0),
(12, 22, 1, '2015-08-21 14:31:18', 'Qty CSV Imported', 1, 0),
(13, 23, 1, '2015-08-21 14:31:18', 'Qty CSV Imported', 1, 0),
(14, 24, 1, '2015-08-21 14:31:18', 'Qty CSV Imported', 1, 0),
(15, 25, 1, '2015-08-21 14:31:19', 'Qty CSV Imported', 1, 0),
(16, 26, 1, '2015-08-21 14:31:19', 'Qty CSV Imported', 1, 0),
(17, 27, 1, '2015-08-21 14:31:19', 'Qty CSV Imported', 1, 0),
(18, 28, 1, '2015-08-21 14:31:19', 'Qty CSV Imported', 1, 0),
(19, 29, 1, '2015-08-21 14:31:19', 'Qty CSV Imported', 1, 0),
(20, 30, 1, '2015-08-21 14:31:19', 'Qty CSV Imported', 1, 0),
(21, 31, 1, '2015-08-21 14:31:19', 'Qty CSV Imported', 1, 0),
(22, 32, 1, '2015-08-21 14:31:20', 'Qty CSV Imported', 1, 0),
(23, 33, 1, '2015-08-21 14:31:20', 'Qty CSV Imported', 1, 0),
(24, 34, 1, '2015-08-21 14:31:20', 'Qty CSV Imported', 1, 0),
(25, 35, 1, '2015-08-21 14:31:20', 'Qty CSV Imported', 1, 0),
(26, 36, 1, '2015-08-21 14:31:21', 'Qty CSV Imported', 1, 0),
(27, 37, 1, '2015-08-21 14:31:21', 'Qty CSV Imported', 1, 0),
(28, 38, 1, '2015-08-21 14:31:21', 'Qty CSV Imported', 1, 0),
(29, 39, 1, '2015-08-21 14:31:21', 'Qty CSV Imported', 1, 0),
(30, 40, 1, '2015-08-21 14:31:21', 'Qty CSV Imported', 1, 0),
(31, 41, 1, '2015-08-21 14:31:21', 'Qty CSV Imported', 1, 0),
(32, 42, 1, '2015-08-21 14:31:21', 'Qty CSV Imported', 1, 0),
(33, 43, 1, '2015-08-21 14:31:22', 'Qty CSV Imported', 1, 0),
(34, 44, 1, '2015-08-21 14:31:22', 'Qty CSV Imported', 1, 0),
(35, 45, 1, '2015-08-21 14:31:22', 'Qty CSV Imported', 1, 0),
(36, 46, 1, '2015-08-21 14:31:22', 'Qty CSV Imported', 1, 0),
(37, 47, 1, '2015-08-21 14:31:22', 'Qty CSV Imported', 1, 0),
(38, 48, 1, '2015-08-21 14:31:22', 'Qty CSV Imported', 1, 0),
(39, 49, 1, '2015-08-21 14:31:23', 'Qty CSV Imported', 1, 0),
(40, 50, 1, '2015-08-21 14:31:23', 'Qty CSV Imported', 1, 0),
(41, 51, 1, '2015-08-21 14:31:23', 'Qty CSV Imported', 1, 0),
(42, 52, 1, '2015-08-21 14:31:23', 'Qty CSV Imported', 1, 0),
(43, 53, 1, '2015-08-21 14:31:23', 'Qty CSV Imported', 1, 0),
(44, 54, 1, '2015-08-21 14:31:23', 'Qty CSV Imported', 1, 0),
(45, 55, 1, '2015-08-21 14:31:23', 'Qty CSV Imported', 1, 0),
(46, 56, 1, '2015-08-21 14:31:24', 'Qty CSV Imported', 1, 0),
(47, 57, 1, '2015-08-21 14:31:24', 'Qty CSV Imported', 1, 0),
(48, 58, 1, '2015-08-21 14:31:24', 'Qty CSV Imported', 1, 0),
(49, 59, 1, '2015-08-21 14:31:24', 'Qty CSV Imported', 1, 0),
(50, 60, 1, '2015-08-21 14:31:24', 'Qty CSV Imported', 1, 0),
(51, 61, 1, '2015-08-21 14:31:24', 'Qty CSV Imported', 1, 0),
(52, 62, 1, '2015-08-21 14:31:25', 'Qty CSV Imported', 1, 0),
(53, 63, 1, '2015-08-21 14:31:25', 'Qty CSV Imported', 1, 0),
(54, 64, 1, '2015-08-21 14:31:25', 'Qty CSV Imported', 1, 0),
(55, 65, 1, '2015-08-21 14:31:25', 'Qty CSV Imported', 1, 0),
(56, 66, 1, '2015-08-21 14:31:25', 'Qty CSV Imported', 1, 0),
(57, 67, 1, '2015-08-21 14:31:25', 'Qty CSV Imported', 1, 0),
(58, 68, 1, '2015-08-21 14:31:25', 'Qty CSV Imported', 1, 0),
(59, 69, 1, '2015-08-21 14:31:26', 'Qty CSV Imported', 1, 0),
(60, 70, 1, '2015-08-21 14:31:26', 'Qty CSV Imported', 1, 0),
(61, 71, 1, '2015-08-21 14:31:26', 'Qty CSV Imported', 1, 0),
(62, 72, 1, '2015-08-21 14:31:26', 'Qty CSV Imported', 1, 0),
(63, 73, 1, '2015-08-21 14:31:26', 'Qty CSV Imported', 1, 0),
(64, 74, 1, '2015-08-21 14:31:26', 'Qty CSV Imported', 1, 0),
(65, 75, 1, '2015-08-21 14:31:27', 'Qty CSV Imported', 1, 0),
(66, 76, 1, '2015-08-21 14:31:27', 'Qty CSV Imported', 1, 0),
(67, 77, 1, '2015-08-21 14:31:27', 'Qty CSV Imported', 1, 0),
(68, 78, 1, '2015-08-21 14:31:27', 'Qty CSV Imported', 1, 0),
(69, 79, 1, '2015-08-21 14:31:27', 'Qty CSV Imported', 1, 0),
(70, 80, 1, '2015-08-21 14:31:27', 'Qty CSV Imported', 1, 0),
(71, 81, 1, '2015-08-21 14:31:28', 'Qty CSV Imported', 1, 0),
(72, 82, 1, '2015-08-21 14:31:28', 'Qty CSV Imported', 1, 0),
(73, 83, 1, '2015-08-21 14:31:28', 'Qty CSV Imported', 1, 0),
(74, 84, 1, '2015-08-21 14:31:28', 'Qty CSV Imported', 1, 0),
(75, 85, 1, '2015-08-21 14:31:29', 'Qty CSV Imported', 1, 0),
(76, 86, 1, '2015-08-21 14:31:29', 'Qty CSV Imported', 1, 0),
(77, 87, 1, '2015-08-21 14:31:29', 'Qty CSV Imported', 1, 0),
(78, 88, 1, '2015-08-21 14:31:29', 'Qty CSV Imported', 1, 0),
(79, 89, 1, '2015-08-21 14:31:29', 'Qty CSV Imported', 1, 0),
(80, 90, 1, '2015-08-21 14:31:29', 'Qty CSV Imported', 1, 0),
(81, 91, 1, '2015-08-21 14:31:30', 'Qty CSV Imported', 1, 0),
(82, 92, 1, '2015-08-21 14:31:30', 'Qty CSV Imported', 1, 0),
(83, 93, 1, '2015-08-21 14:31:30', 'Qty CSV Imported', 1, 0),
(84, 94, 1, '2015-08-21 14:31:30', 'Qty CSV Imported', 1, 0),
(85, 95, 1, '2015-08-21 14:31:30', 'Qty CSV Imported', 1, 0),
(86, 96, 1, '2015-08-21 14:31:30', 'Qty CSV Imported', 1, 0),
(87, 97, 1, '2015-08-21 14:31:30', 'Qty CSV Imported', 1, 0),
(88, 98, 1, '2015-08-21 14:31:30', 'Qty CSV Imported', 1, 0),
(89, 99, 1, '2015-08-21 14:31:31', 'Qty CSV Imported', 1, 0),
(90, 100, 1, '2015-08-21 14:31:31', 'Qty CSV Imported', 1, 0),
(91, 101, 1, '2015-08-21 14:31:31', 'Qty CSV Imported', 1, 0),
(92, 102, 1, '2015-08-21 14:31:31', 'Qty CSV Imported', 1, 0),
(93, 103, 1, '2015-08-21 14:31:31', 'Qty CSV Imported', 1, 0),
(94, 104, 1, '2015-08-21 14:31:31', 'Qty CSV Imported', 1, 0),
(95, 105, 1, '2015-08-21 14:31:31', 'Qty CSV Imported', 1, 0),
(96, 106, 1, '2015-08-21 14:31:32', 'Qty CSV Imported', 1, 0),
(97, 107, 1, '2015-08-21 14:31:32', 'Qty CSV Imported', 1, 0),
(98, 108, 1, '2015-08-21 14:31:32', 'Qty CSV Imported', 1, 0),
(99, 109, 1, '2015-08-21 14:31:32', 'Qty CSV Imported', 1, 0),
(100, 110, 1, '2015-08-21 14:31:32', 'Qty CSV Imported', 1, 0),
(101, 111, 1, '2015-08-21 14:31:32', 'Qty CSV Imported', 1, 0),
(102, 112, 1, '2015-08-21 14:31:33', 'Qty CSV Imported', 1, 0),
(103, 113, 1, '2015-08-21 14:31:33', 'Qty CSV Imported', 1, 0),
(104, 114, 1, '2015-08-21 14:31:33', 'Qty CSV Imported', 1, 0),
(105, 115, 1, '2015-08-21 14:31:33', 'Qty CSV Imported', 1, 0),
(106, 116, 1, '2015-08-21 14:31:33', 'Qty CSV Imported', 1, 0),
(107, 117, 1, '2015-08-21 14:31:33', 'Qty CSV Imported', 1, 0),
(108, 118, 1, '2015-08-21 14:31:33', 'Qty CSV Imported', 1, 0),
(109, 119, 1, '2015-08-21 14:31:34', 'Qty CSV Imported', 1, 0),
(110, 120, 1, '2015-08-21 14:31:34', 'Qty CSV Imported', 1, 0),
(111, 121, 1, '2015-08-21 14:31:34', 'Qty CSV Imported', 1, 0),
(112, 122, 1, '2015-08-21 14:31:34', 'Qty CSV Imported', 1, 0),
(113, 123, 1, '2015-08-21 14:31:34', 'Qty CSV Imported', 1, 0),
(114, 124, 1, '2015-08-21 14:31:34', 'Qty CSV Imported', 1, 0),
(115, 125, 1, '2015-08-21 14:31:34', 'Qty CSV Imported', 1, 0),
(116, 126, 1, '2015-08-21 14:31:34', 'Qty CSV Imported', 1, 0),
(117, 127, 1, '2015-08-21 14:31:35', 'Qty CSV Imported', 1, 0),
(118, 128, 1, '2015-08-21 14:31:35', 'Qty CSV Imported', 1, 0),
(119, 129, 1, '2015-08-21 14:31:35', 'Qty CSV Imported', 1, 0),
(120, 130, 1, '2015-08-21 14:31:35', 'Qty CSV Imported', 1, 0),
(121, 131, 1, '2015-08-21 14:31:35', 'Qty CSV Imported', 1, 0),
(122, 132, 1, '2015-08-21 14:31:35', 'Qty CSV Imported', 1, 0),
(123, 133, 1, '2015-08-21 14:31:36', 'Qty CSV Imported', 1, 0),
(124, 134, 1, '2015-08-21 14:31:36', 'Qty CSV Imported', 1, 0),
(125, 135, 1, '2015-08-21 14:31:36', 'Qty CSV Imported', 1, 0),
(126, 136, 1, '2015-08-21 14:31:36', 'Qty CSV Imported', 1, 0),
(127, 137, 1, '2015-08-21 14:31:36', 'Qty CSV Imported', 1, 0),
(128, 138, 1, '2015-08-21 14:31:36', 'Qty CSV Imported', 1, 0),
(129, 139, 1, '2015-08-21 14:31:37', 'Qty CSV Imported', 1, 0),
(130, 140, 1, '2015-08-21 14:31:37', 'Qty CSV Imported', 1, 0),
(131, 141, 1, '2015-08-21 14:31:37', 'Qty CSV Imported', 1, 0),
(132, 142, 1, '2015-08-21 14:31:37', 'Qty CSV Imported', 1, 0),
(133, 143, 1, '2015-08-21 14:31:38', 'Qty CSV Imported', 1, 0),
(134, 144, 1, '2015-08-21 14:31:38', 'Qty CSV Imported', 1, 0),
(135, 145, 1, '2015-08-21 14:31:38', 'Qty CSV Imported', 1, 0),
(136, 146, 1, '2015-08-21 14:31:38', 'Qty CSV Imported', 1, 0),
(137, 147, 1, '2015-08-21 14:31:38', 'Qty CSV Imported', 1, 0),
(138, 148, 1, '2015-08-21 14:31:38', 'Qty CSV Imported', 1, 0),
(139, 149, 1, '2015-08-21 14:31:38', 'Qty CSV Imported', 1, 0),
(140, 150, 1, '2015-08-21 14:31:39', 'Qty CSV Imported', 1, 0),
(141, 151, 1, '2015-08-21 14:31:39', 'Qty CSV Imported', 1, 0),
(142, 152, 1, '2015-08-21 14:31:39', 'Qty CSV Imported', 1, 0),
(145, 26, 1, '2015-08-22 08:17:49', 'Manual Edit of Quantity', 1, 142),
(146, 148, 1, '2015-08-22 08:18:34', 'Manual Edit of Quantity', 1, 139),
(147, 145, 1, '2015-08-22 08:20:23', 'Manual Edit of Quantity', 1, 76),
(148, 65, 1, '2015-08-22 08:20:48', 'Manual Edit of Quantity', 1, 70),
(149, 140, 1, '2015-08-22 08:21:39', 'Manual Edit of Quantity', 1, 65),
(150, 77, 1, '2015-08-22 08:22:07', 'Manual Edit of Quantity', 1, 58),
(151, 112, 1, '2015-08-22 08:22:36', 'Manual Edit of Quantity', 1, 55),
(152, 113, 1, '2015-08-22 08:22:58', 'Manual Edit of Quantity', 1, 55),
(153, 137, 1, '2015-08-22 08:23:35', 'Manual Edit of Quantity', 1, 50),
(154, 64, 1, '2015-08-22 08:23:58', 'Manual Edit of Quantity', 1, 45),
(155, 138, 1, '2015-08-22 08:24:23', 'Manual Edit of Quantity', 1, 44),
(156, 49, 1, '2015-08-22 08:24:44', 'Manual Edit of Quantity', 1, 41),
(157, 50, 1, '2015-08-22 08:26:25', 'Manual Edit of Quantity', 1, 40),
(158, 62, 1, '2015-08-22 08:26:43', 'Manual Edit of Quantity', 1, 40),
(159, 149, 1, '2015-08-22 08:27:38', 'Manual Edit of Quantity', 1, 39),
(160, 103, 1, '2015-08-22 08:27:59', 'Manual Edit of Quantity', 1, 37),
(161, 70, 1, '2015-08-22 08:28:14', 'Manual Edit of Quantity', 1, 36),
(162, 75, 1, '2015-08-22 08:28:24', 'Manual Edit of Quantity', 1, 36),
(163, 66, 1, '2015-08-22 08:28:38', 'Manual Edit of Quantity', 1, 35),
(164, 108, 1, '2015-08-22 08:31:00', 'Manual Edit of Quantity', 1, 32),
(165, 74, 1, '2015-08-22 08:31:10', 'Manual Edit of Quantity', 1, 30),
(166, 102, 1, '2015-08-22 08:31:26', 'Manual Edit of Quantity', 1, 30),
(167, 109, 1, '2015-08-22 08:31:40', 'Manual Edit of Quantity', 1, 30),
(168, 25, 1, '2015-08-22 08:33:39', 'Manual Edit of Quantity', 1, 28),
(169, 130, 1, '2015-08-22 08:33:54', 'Manual Edit of Quantity', 1, 25),
(170, 142, 1, '2015-08-22 08:34:19', 'Manual Edit of Quantity', 1, 25),
(171, 63, 1, '2015-08-22 08:42:11', 'Manual Edit of Quantity', 1, 23),
(172, 30, 1, '2015-08-22 08:42:18', 'Manual Edit of Quantity', 1, 22),
(173, 90, 1, '2015-08-22 08:42:33', 'Manual Edit of Quantity', 1, 22),
(174, 92, 1, '2015-08-22 08:42:58', 'Manual Edit of Quantity', 1, 22),
(175, 111, 1, '2015-08-22 08:47:10', 'Manual Edit of Quantity', 1, 21),
(176, 131, 1, '2015-08-22 08:47:23', 'Manual Edit of Quantity', 1, 21),
(177, 17, 1, '2015-08-22 08:47:34', 'Manual Edit of Quantity', 1, 18),
(178, 118, 1, '2015-08-22 08:47:48', 'Manual Edit of Quantity', 1, 18),
(179, 152, 1, '2015-08-22 08:48:00', 'Manual Edit of Quantity', 1, 17),
(180, 13, 1, '2015-08-22 08:51:51', 'Manual Edit of Quantity', 1, 16),
(181, 39, 1, '2015-08-22 08:52:02', 'Manual Edit of Quantity', 1, 16),
(182, 83, 1, '2015-08-22 08:52:17', 'Manual Edit of Quantity', 1, 16),
(183, 89, 1, '2015-08-22 08:52:30', 'Manual Edit of Quantity', 1, 16),
(184, 91, 1, '2015-08-22 08:55:42', 'Manual Edit of Quantity', 1, 16),
(185, 16, 1, '2015-08-22 08:56:01', 'Manual Edit of Quantity', 1, 15),
(186, 40, 1, '2015-08-22 08:56:10', 'Manual Edit of Quantity', 1, 15),
(187, 94, 1, '2015-08-22 08:56:20', 'Manual Edit of Quantity', 1, 15),
(188, 99, 1, '2015-08-22 08:56:32', 'Manual Edit of Quantity', 1, 15),
(189, 12, 1, '2015-08-22 08:58:49', 'Manual Edit of Quantity', 1, 14),
(190, 15, 1, '2015-08-22 08:59:02', 'Manual Edit of Quantity', 1, 14),
(191, 48, 1, '2015-08-22 08:59:14', 'Manual Edit of Quantity', 1, 14),
(192, 120, 1, '2015-08-22 08:59:29', 'Manual Edit of Quantity', 1, 14),
(193, 88, 1, '2015-08-22 08:59:41', 'Manual Edit of Quantity', 1, 13),
(194, 19, 1, '2015-08-22 08:59:52', 'Manual Edit of Quantity', 1, 12),
(195, 100, 1, '2015-08-22 09:00:05', 'Manual Edit of Quantity', 1, 12),
(196, 114, 1, '2015-08-22 09:00:15', 'Manual Edit of Quantity', 1, 12),
(197, 81, 1, '2015-08-22 09:00:26', 'Manual Edit of Quantity', 1, 11),
(198, 132, 1, '2015-08-22 09:00:36', 'Manual Edit of Quantity', 1, 11),
(199, 35, 1, '2015-08-22 09:00:50', 'Manual Edit of Quantity', 1, 10),
(200, 98, 1, '2015-08-22 09:01:01', 'Manual Edit of Quantity', 1, 100),
(201, 98, 1, '2015-08-22 09:01:06', 'Manual Edit of Quantity', 1, -90),
(202, 73, 1, '2015-08-22 09:10:25', 'Manual Edit of Quantity', 1, 9),
(203, 67, 1, '2015-08-22 09:10:35', 'Manual Edit of Quantity', 1, 8),
(204, 71, 1, '2015-08-22 09:10:44', 'Manual Edit of Quantity', 1, 8),
(205, 95, 1, '2015-08-22 09:10:56', 'Manual Edit of Quantity', 1, 8),
(206, 104, 1, '2015-08-22 09:11:08', 'Manual Edit of Quantity', 1, 8),
(207, 38, 1, '2015-08-22 09:11:22', 'Manual Edit of Quantity', 1, 7),
(208, 119, 1, '2015-08-22 09:11:37', 'Manual Edit of Quantity', 1, 7),
(209, 121, 1, '2015-08-22 09:11:48', 'Manual Edit of Quantity', 1, 7),
(210, 124, 1, '2015-08-22 09:12:07', 'Manual Edit of Quantity', 1, 7),
(211, 52, 1, '2015-08-22 09:14:59', 'Manual Edit of Quantity', 1, 6),
(212, 79, 1, '2015-08-22 09:15:10', 'Manual Edit of Quantity', 1, 6),
(213, 110, 1, '2015-08-22 09:15:19', 'Manual Edit of Quantity', 1, 6),
(214, 129, 1, '2015-08-22 09:15:29', 'Manual Edit of Quantity', 1, 6),
(215, 11, 1, '2015-08-22 09:15:44', 'Manual Edit of Quantity', 1, 5),
(216, 69, 1, '2015-08-22 09:15:56', 'Manual Edit of Quantity', 1, 5),
(217, 78, 1, '2015-08-22 09:16:15', 'Manual Edit of Quantity', 1, 5),
(218, 93, 1, '2015-08-22 09:16:31', 'Manual Edit of Quantity', 1, 5),
(219, 101, 1, '2015-08-22 09:20:48', 'Manual Edit of Quantity', 1, 5),
(220, 123, 1, '2015-08-22 09:21:01', 'Manual Edit of Quantity', 1, 5),
(221, 18, 1, '2015-08-22 09:21:09', 'Manual Edit of Quantity', 1, 4),
(222, 106, 1, '2015-08-22 09:21:23', 'Manual Edit of Quantity', 1, 4),
(223, 151, 1, '2015-08-22 09:21:32', 'Manual Edit of Quantity', 1, 4),
(224, 14, 1, '2015-08-22 09:21:40', 'Manual Edit of Quantity', 1, 3),
(225, 107, 1, '2015-08-22 09:22:01', 'Manual Edit of Quantity', 1, 3),
(226, 126, 1, '2015-08-22 09:22:25', 'Manual Edit of Quantity', 1, 3),
(227, 133, 1, '2015-08-22 09:22:40', 'Manual Edit of Quantity', 1, 3),
(228, 55, 1, '2015-08-22 09:22:51', 'Manual Edit of Quantity', 1, 2),
(229, 136, 1, '2015-08-22 09:23:01', 'Manual Edit of Quantity', 1, 2),
(230, 72, 1, '2015-08-22 09:23:13', 'Manual Edit of Quantity', 1, 1),
(231, 134, 1, '2015-08-22 09:23:26', 'Manual Edit of Quantity', 1, 1),
(232, 91, 1, '2015-08-25 17:15:13', 'Manual Edit of Quantity', 1, -16),
(233, 92, 1, '2015-08-25 17:34:46', 'Manual Edit of Quantity', 1, -22);
/*!40000 ALTER TABLE `ospos_inventory` ENABLE KEYS */;
-- Dumping structure for table pos.ospos_items
CREATE TABLE IF NOT EXISTS `ospos_items` (
`name` varchar(255) NOT NULL,
`category` varchar(255) NOT NULL,
`supplier_id` int(11) DEFAULT NULL,
`item_number` varchar(255) DEFAULT NULL,
`description` varchar(255) NOT NULL,
`cost_price` decimal(15,2) NOT NULL,
`unit_price` decimal(15,2) NOT NULL,
`reorder_level` decimal(15,2) NOT NULL DEFAULT '0.00',
`receiving_quantity` int(11) NOT NULL DEFAULT '1',
`item_id` int(10) NOT NULL AUTO_INCREMENT,
`pic_id` int(10) DEFAULT NULL,
`allow_alt_description` tinyint(1) NOT NULL,
`is_serialized` tinyint(1) NOT NULL,
`deleted` int(1) NOT NULL DEFAULT '0',
`custom1` varchar(25) NOT NULL,
`custom2` varchar(25) NOT NULL,
`custom3` varchar(25) NOT NULL,
`custom4` varchar(25) NOT NULL,
`custom5` varchar(25) NOT NULL,
`custom6` varchar(25) NOT NULL,
`custom7` varchar(25) NOT NULL,
`custom8` varchar(25) NOT NULL,
`custom9` varchar(25) NOT NULL,
`custom10` varchar(25) NOT NULL,
PRIMARY KEY (`item_id`),
UNIQUE KEY `item_number` (`item_number`),
KEY `supplier_id` (`supplier_id`),
CONSTRAINT `ospos_items_ibfk_1` FOREIGN KEY (`supplier_id`) REFERENCES `ospos_suppliers` (`person_id`)
) ENGINE=InnoDB AUTO_INCREMENT=153 DEFAULT CHARSET=utf8;
-- Dumping data for table pos.ospos_items: ~142 rows (approximately)
DELETE FROM `ospos_items`;
/*!40000 ALTER TABLE `ospos_items` DISABLE KEYS */;
INSERT INTO `ospos_items` (`name`, `category`, `supplier_id`, `item_number`, `description`, `cost_price`, `unit_price`, `reorder_level`, `receiving_quantity`, `item_id`, `pic_id`, `allow_alt_description`, `is_serialized`, `deleted`, `custom1`, `custom2`, `custom3`, `custom4`, `custom5`, `custom6`, `custom7`, `custom8`, `custom9`, `custom10`) VALUES
('1D.Set of 12 (pcs)', '1', NULL, '11111111', '', 174107.00, 195000.00, 0.00, 1, 11, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('1E.Set of 8 (pcs)', '1', NULL, '11111112', '', 129465.00, 145000.00, 0.00, 1, 12, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('1H.Set of 4 Dinner (pcs)', '1', NULL, '11111113', '', 71429.00, 80000.00, 0.00, 1, 13, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('2D.Set of 12 (pcs)', '2', NULL, '11111114', '', 174107.00, 195000.00, 0.00, 1, 14, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('2H.Set of 4 Mug (pcs)', '2', NULL, '11111115', '', 58036.00, 65000.00, 0.00, 1, 15, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('3B.Set of 16 (pcs)', '3', NULL, '11111116', '', 214286.00, 240000.00, 0.00, 1, 16, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('3D.Set of 12 (pcs)', '3', NULL, '11111117', '', 174107.00, 195000.00, 0.00, 1, 17, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('3E. Set of 8 (pcs)', '3', NULL, '11111118', '', 116072.00, 130000.00, 0.00, 1, 18, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('3H. Set of 4 bowl (pcs)', '3', NULL, '11111119', '', 58036.00, 65000.00, 0.00, 1, 19, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('4B.Set of 16 (pcs)', '4', NULL, '11111120', '', 214286.00, 240000.00, 0.00, 1, 20, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('4D.Set of 12 (pcs)', '4', NULL, '11111121', '', 174107.00, 195000.00, 0.00, 1, 21, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('4E.Set of 8 (pcs)', '4', NULL, '11111122', '', 116072.00, 130000.00, 0.00, 1, 22, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('4H.Set of 4 bowl (pcs)', '4', NULL, '11111123', '', 58036.00, 65000.00, 0.00, 1, 23, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('5D.Set of 12 (pcs)', '5', NULL, '11111124', '', 276786.00, 310000.00, 0.00, 1, 24, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('5E.Set of 8 (pcs)', '5', NULL, '11111125', '', 0.00, 0.00, 0.00, 1, 25, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('5H.Set of 4 Salad (pcs)', '5', NULL, '11111126', '', 80357.00, 90000.00, 0.00, 1, 26, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('6D.Set of 12 (pcs)', '6', NULL, '11111127', '', 174107.00, 195000.00, 0.00, 1, 27, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('7D.Set of 12 (pcs)', '7', NULL, '11111128', '', 174107.00, 195000.00, 0.00, 1, 28, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('7E.Set of 8 (Pcs)', '7', NULL, '11111129', '', 129465.00, 145000.00, 0.00, 1, 29, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('8D.Set of 12 (pcs)', '8', NULL, '11111130', '', 174107.00, 195000.00, 0.00, 1, 30, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('8E.Set of 8 (pcs)', '8', NULL, '11111131', '', 129465.00, 145000.00, 0.00, 1, 31, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('8H.Set of 4 dinner (pcs)', '8', NULL, '11111132', '', 71429.00, 80000.00, 0.00, 1, 32, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('9C.Set of 13 (pcs)', '9', NULL, '11111133', '', 0.00, 0.00, 0.00, 1, 33, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('9.Set of 9 (pcs)', '9', NULL, '11111134', '', 0.00, 0.00, 0.00, 1, 34, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('10D.Set of 12 (pcs)', '10', NULL, '11111135', '', 174107.00, 195000.00, 0.00, 1, 35, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('10H.Set of 4 salad (pcs)', '10', NULL, '11111136', '', 58036.00, 65000.00, 0.00, 1, 36, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('11D.Set of 12 (pcs)', '11', NULL, '11111137', '', 174107.00, 195000.00, 0.00, 1, 37, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('12B.Set of 16 (pcs)', '12', NULL, '11111138', '', 214286.00, 240000.00, 0.00, 1, 38, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('12H.Set of 4 Mug (pcs)', '12', NULL, '11111139', '', 58036.00, 65000.00, 0.00, 1, 39, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('12I.Set of 2 Mug (pcs)', '12', NULL, '11111140', '', 29018.00, 32500.00, 0.00, 1, 40, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('12D.Set of 12 (pcs)', '12', NULL, '11111141', '', 174107.00, 195000.00, 0.00, 1, 41, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('12E.Set of 8 (pcs)', '12', NULL, '11111142', '', 116072.00, 130000.00, 0.00, 1, 42, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('12H.Set of 4 salad (pcs)', '12', NULL, '11111143', '', 58036.00, 65000.00, 0.00, 1, 43, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('13B.Set of 16 (pcs)', '13', NULL, '11111144', '', 214286.00, 240000.00, 0.00, 1, 44, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('13D.Set of 12 (pcs)', '13', NULL, '11111145', '', 174107.00, 195000.00, 0.00, 1, 45, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('13E.Set of 8 (pcs)', '13', NULL, '11111146', '', 129465.00, 145000.00, 0.00, 1, 46, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('13H.Set of 4 mug (pcs)', '13', NULL, '11111147', '', 58036.00, 65000.00, 0.00, 1, 47, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('14.Set of 12 (pcs)', '14', NULL, '11111148', '', 0.00, 0.00, 0.00, 1, 48, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('14E. Set of 8 (pcs)', '14', NULL, '11111149', '', 129465.00, 145000.00, 0.00, 1, 49, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('14H.Set of 4 Salad (pcs)', '14', NULL, '11111150', '', 58036.00, 65000.00, 0.00, 1, 50, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('15E.Set of 8 (pcs)', '15', NULL, '11111151', '', 129465.00, 145000.00, 0.00, 1, 51, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('16D.Set of 12 (pcs)', '16', NULL, '11111152', '', 214286.00, 240000.00, 0.00, 1, 52, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('16E.Set of 8 (pcs)', '16', NULL, '11111153', '', 116072.00, 130000.00, 0.00, 1, 53, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('16H.Set of 4 salad (pcs)', '16', NULL, '11111154', '', 58036.00, 65000.00, 0.00, 1, 54, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('17D.Set of 12 (pcs)', '17', NULL, '11111155', '', 174107.00, 195000.00, 0.00, 1, 55, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('17E.Set of 8 (pcs)', '17', NULL, '11111156', '', 116072.00, 130000.00, 0.00, 1, 56, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('19D.Set of 12 (pcs)', '19', NULL, '11111157', '', 276786.00, 310000.00, 0.00, 1, 57, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('19E.Set of 8 (pcs)', '19', NULL, '11111158', '', 0.00, 0.00, 0.00, 1, 58, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('19H.Set of 4 salad (pcs)', '19', NULL, '11111159', '', 80357.00, 90000.00, 0.00, 1, 59, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('20H.Set of 4 rice bowl (pcs)', '20', NULL, '11111160', '', 58036.00, 65000.00, 0.00, 1, 60, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('21H.Set of 4 rice bowl (pcs)', '21', NULL, '11111161', '', 58036.00, 65000.00, 0.00, 1, 61, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('22H.Set of 4 Salad (pcs)', '22', NULL, '11111162', '', 58036.00, 65000.00, 0.00, 1, 62, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('23H.Set of 4 Salad (pcs)', '23', NULL, '11111163', '', 80357.00, 90000.00, 0.00, 1, 63, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('24H.Set of 4 Salad (pcs)', '24', NULL, '11111164', '', 58036.00, 65000.00, 0.00, 1, 64, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('26H.Set of 4 Salad (pcs)', '26', NULL, '11111165', '', 80357.00, 90000.00, 0.00, 1, 65, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('27D.Set of 12 (pcs)', '27', NULL, '11111166', '', 174107.00, 195000.00, 0.00, 1, 66, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('27E.Set of 8 (pcs)', '27', NULL, '11111167', '', 129465.00, 145000.00, 0.00, 1, 67, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('27H.Set of 4 (pcs)', '27', NULL, '11111168', '', 71429.00, 80000.00, 0.00, 1, 68, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('28.Set of 12 (pcs)', '28', NULL, '11111169', '', 174107.00, 195000.00, 0.00, 1, 69, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('28.(28B) Set of 4 Dinner (pcs)', '28', NULL, '11111170', '', 71429.00, 80000.00, 0.00, 1, 70, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('29D.Set of 12 (pcs)', '29', NULL, '11111171', '', 174107.00, 195000.00, 0.00, 1, 71, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('29E.Set of 8 (pcs)', '29', NULL, '11111172', '', 129465.00, 145000.00, 0.00, 1, 72, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('29H.Set of 4 Dinner (pcs)', '29', NULL, '11111173', '', 71429.00, 80000.00, 0.00, 1, 73, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('30F.Set of 6 (prs)', '30', NULL, '11111174', '', 102679.00, 115000.00, 0.00, 1, 74, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('32B.Set of 16 (pcs)', '32', NULL, '11111175', '', 214286.00, 240000.00, 0.00, 1, 75, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('32H.Set of 4 salad (pcs)', '32', NULL, '11111176', '', 58036.00, 65000.00, 0.00, 1, 76, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('33B.Set of 16 (pcs)', '33', NULL, '11111177', '', 214286.00, 240000.00, 0.00, 1, 77, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('33D.Set of 12 (pcs)', '33', NULL, '11111178', '', 174107.00, 195000.00, 0.00, 1, 78, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('33F.Set of 6 (prs)', '33', NULL, '11111179', '', 102679.00, 115000.00, 0.00, 1, 79, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('33. Oven Stock (pcs)', '33', NULL, '11111180', '', 0.00, 0.00, 0.00, 1, 80, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('34D.Set of 12 (pcs)', '34', NULL, '11111181', '', 174107.00, 195000.00, 0.00, 1, 81, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('34H.Set of 4 salad (pcs)', '34', NULL, '11111182', '', 58036.00, 65000.00, 0.00, 1, 82, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('35F.Set of 6 (prs)', '35', NULL, '11111183', '', 102679.00, 115000.00, 0.00, 1, 83, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('36A.Set of 20 (pcs)', '36', NULL, '11111184', '', 223214.00, 250000.00, 0.00, 1, 84, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('36B.Set of 16 (pcs)', '36', NULL, '11111185', '', 214286.00, 240000.00, 0.00, 1, 85, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('36E.Set of 8 (pcs)', '36', NULL, '11111186', '', 129465.00, 145000.00, 0.00, 1, 86, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('36H.Set of 4 Salad (pcs)', '36', NULL, '11111187', '', 58036.00, 65000.00, 0.00, 1, 87, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('37B.Set of 16 (pcs)', '37', NULL, '11111188', '', 361607.00, 405000.00, 0.00, 1, 88, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('37C.Set of 13 (pcs)', '37', NULL, '11111189', '', 0.00, 0.00, 0.00, 1, 89, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('37E.Set of 8 (pcs)', '37', NULL, '11111190', '', 160714.00, 180000.00, 0.00, 1, 90, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('38B.Set of 16 (pcs)', '38', NULL, '11111191', '', 0.00, 0.00, 0.00, 1, 91, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('38H.Set of 4 mug (pcs)', '38', NULL, '11111192', '', 0.00, 0.00, 0.00, 1, 92, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('38B.Set of 16 (pcs)', '38', NULL, '11111193', '', 214286.00, 240000.00, 0.00, 1, 93, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('38.Set of 4 mug (pcs)', '38', NULL, '11111194', '', 58036.00, 65000.00, 0.00, 1, 94, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('39D.Set of 12 (pcs)', '39', NULL, '11111195', '', 174107.00, 195000.00, 0.00, 1, 95, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('39E.Set of 8 (pcs)', '39', NULL, '11111196', '', 116072.00, 130000.00, 0.00, 1, 96, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('39H. Set of 4 Mug (pcs)', '39', NULL, '11111197', '', 58036.00, 65000.00, 0.00, 1, 97, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('40D.Set of 12 (pcs)', '40', NULL, '11111198', '', 174107.00, 195000.00, 0.00, 1, 98, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('41D.Set of 12 (pcs)', '41', NULL, '11111199', '', 174107.00, 195000.00, 0.00, 1, 99, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('41H.Set of 4 salad (4 pcs)', '41', NULL, '11111200', '', 58036.00, 65000.00, 0.00, 1, 100, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('42D.Set of 12 (pcs)', '42', NULL, '11111201', '', 174107.00, 195000.00, 0.00, 1, 101, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('42H.Set of 4 salad (pcs)', '42', NULL, '11111202', '', 58036.00, 65000.00, 0.00, 1, 102, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('43F.Set of 6 (prs)', '43', NULL, '11111203', '', 102679.00, 115000.00, 0.00, 1, 103, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('45F.Set of 6 (prs)', '45', NULL, '11111204', '', 102679.00, 115000.00, 0.00, 1, 104, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('46F.Set of 6 (prs)', '46', NULL, '11111205', '', 102679.00, 115000.00, 0.00, 1, 105, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('48F.Set of 6 (prs)', '48', NULL, '11111206', '', 102679.00, 115000.00, 0.00, 1, 106, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('49F.Set of 6 (prs)', '49', NULL, '11111207', '', 102679.00, 115000.00, 0.00, 1, 107, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('51F.Set of 6 (prs)', '51', NULL, '11111208', '', 102679.00, 115000.00, 0.00, 1, 108, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('52F.Set of 6 (prs)', '52', NULL, '11111209', '', 102679.00, 115000.00, 0.00, 1, 109, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('53H.Set of 4 mug (pcs)', '53', NULL, '11111210', '', 80357.00, 90000.00, 0.00, 1, 110, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('54H.Set of 4 mug (pcs)', '54', NULL, '11111211', '', 80357.00, 90000.00, 0.00, 1, 111, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('55H. Set of 4 salad (pcs)', '55', NULL, '11111212', '', 58036.00, 65000.00, 0.00, 1, 112, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('93H. Set of 4 coupsop (pcs)', '93', NULL, '11111213', '', 58036.00, 65000.00, 0.00, 1, 113, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('95A. Set of 20 (pcs)', '95', NULL, '11111214', '', 223214.00, 250000.00, 0.00, 1, 114, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('95B. Set of 16 (pcs)', '95', NULL, '11111215', '', 214286.00, 240000.00, 0.00, 1, 115, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('95D. Set of 12 (pcs)', '95', NULL, '11111216', '', 174107.00, 195000.00, 0.00, 1, 116, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('95E. Set of 8 (pcs)', '95', NULL, '11111217', '', 116072.00, 130000.00, 0.00, 1, 117, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('96D. Set of 12 (pcs)', '96', NULL, '11111218', '', 174107.00, 195000.00, 0.00, 1, 118, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('96E. Set of 8 (pcs)', '96', NULL, '11111219', '', 116072.00, 130000.00, 0.00, 1, 119, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('97D. Set of 12 (pcs)', '97', NULL, '11111220', '', 174107.00, 195000.00, 0.00, 1, 120, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('97E. Set of 8 (pcs)', '97', NULL, '11111221', '', 116072.00, 130000.00, 0.00, 1, 121, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('97H. Set of 4 Salad (pcs)', '97', NULL, '11111222', '', 58036.00, 65000.00, 0.00, 1, 122, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('98D. Set of 12 (pcs)', '98', NULL, '11111223', '', 174107.00, 195000.00, 0.00, 1, 123, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('98E. Set of 8 (pcs)', '98', NULL, '11111224', '', 129465.00, 145000.00, 0.00, 1, 124, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('98H. Set of 4 Coupsop (pcs)', '98', NULL, '11111225', '', 58036.00, 65000.00, 0.00, 1, 125, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('99D. Set of 12 (pcs)', '99', NULL, '11111226', '', 174107.00, 195000.00, 0.00, 1, 126, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('99E. Set of 8 (pcs)', '99', NULL, '11111227', '', 129465.00, 145000.00, 0.00, 1, 127, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('Set of 8 (pcs)', '', NULL, '11111228', '', 0.00, 0.00, 0.00, 1, 128, NULL, 0, 0, 0, '', '', '', '', '', '', '', '', '', ''),
('111E. Set of 8 (pcs)', '111', NULL, '11111229', '', 0.00, 0.00, 0.00, 1, 129, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('112E. set of 8 (pcs)', '112', NULL, '11111230', '', 116072.00, 130000.00, 0.00, 1, 130, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('113G. Set of 6 BB Plate (6 pcs)', '113', NULL, '11111231', '', 0.00, 0.00, 0.00, 1, 131, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('114G. Set of 6 BB Plate (6 pcs)', '114', NULL, '11111232', '', 0.00, 0.00, 0.00, 1, 132, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('115G. Set of 6 BB Plate (6 pcs)', '115', NULL, '11111233', '', 0.00, 0.00, 0.00, 1, 133, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('116G. Set of 6 BB Plate (6 pcs)', '116', NULL, '11111234', '', 0.00, 0.00, 0.00, 1, 134, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('117G. Set of 6 BB Plate (6 pcs)', '117', NULL, '11111235', '', 0.00, 0.00, 0.00, 1, 135, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('118E. Set of 8 (pcs)', '118', NULL, '11111236', '', 129465.00, 145000.00, 0.00, 1, 136, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('131B. Set of 16 (Pcs)', '131', NULL, '11111237', '', 361607.00, 405000.00, 0.00, 1, 137, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('132B. Set Of 16 (Pcs)', '132', NULL, '11111238', '', 0.00, 0.00, 0.00, 1, 138, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('133F. Set Of 6 (Prs)', '133', NULL, '11111239', '', 0.00, 0.00, 0.00, 1, 139, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('Bamboo Green. Set of 12 (pcs)', 'Bamboo Green', NULL, '11111240', '', 174107.00, 195000.00, 0.00, 1, 140, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('Bamboo Green. Set of 4 Bowl (pcs)', 'Bamboo Green', NULL, '11111241', '', 58036.00, 65000.00, 0.00, 1, 141, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('Living Stone. Set of 12 (pcs)', 'Living Stone', NULL, '11111242', '', 174107.00, 195000.00, 0.00, 1, 142, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('Living Stone. Set of 4 Salad Bowl (pcs)', 'Living Stone', NULL, '11111243', '', 58036.00, 65000.00, 0.00, 1, 143, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('Living Stone. Set of 4 Dinner (pcs)', 'Living Stone', NULL, '11111244', '', 71429.00, 80000.00, 0.00, 1, 144, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('Maison Stoneware. Set of 12 (pcs)', '<NAME>', NULL, '11111245', '', 174107.00, 195000.00, 0.00, 1, 145, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('Maison Stoneware. Set of 8 (pcs)', 'Ma<NAME>', NULL, '11111246', '', 129465.00, 145000.00, 0.00, 1, 146, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('Maison Stoneware. Set of 4 salad (pcs)', 'Maison Stoneware', NULL, '11111247', '', 58036.00, 65000.00, 0.00, 1, 147, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('Overan 12\' Santa. Set of 12" (1 pcs)', 'Overan 12\' Santa', NULL, '11111248', '', 0.00, 0.00, 0.00, 1, 148, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('Overan SQ Dinner. Set of 1 SQ Dinner (1 pcs)', 'Overan SQ Dinner', NULL, '11111249', '', 17857.00, 20000.00, 0.00, 1, 149, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('Overan SQ Dinner. (96B) Set of 1 magis (pcs)', 'Overan SQ Dinner', NULL, '11111250', '', 17857.00, 20000.00, 0.00, 1, 150, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('Overan (Round Veg Bowl Noritake). Set of 1 round veg bowl (1 pcs)', 'Overan (Round Veg Bowl Noritake)', NULL, '11111251', '', 0.00, 0.00, 0.00, 1, 151, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0'),
('Overan (Caserolle). Set of 1 caserolle (1 pcs)', 'Overan (Caserolle)', NULL, '11111252', '', 0.00, 0.00, 0.00, 1, 152, NULL, 0, 0, 0, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');
/*!40000 ALTER TABLE `ospos_items` ENABLE KEYS */;
-- Dumping structure for table pos.ospos_items_taxes
CREATE TABLE IF NOT EXISTS `ospos_items_taxes` (
`item_id` int(10) NOT NULL,
`name` varchar(255) NOT NULL,
`percent` decimal(15,2) NOT NULL,
PRIMARY KEY (`item_id`,`name`,`percent`),
CONSTRAINT `ospos_items_taxes_ibfk_1` FOREIGN KEY (`item_id`) REFERENCES `ospos_items` (`item_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table pos.ospos_items_taxes: ~0 rows (approximately)
DELETE FROM `ospos_items_taxes`;
/*!40000 ALTER TABLE `ospos_items_taxes` DISABLE KEYS */;
/*!40000 ALTER TABLE `ospos_items_taxes` ENABLE KEYS */;
-- Dumping structure for table pos.ospos_item_kits
CREATE TABLE IF NOT EXISTS `ospos_item_kits` (
`item_kit_id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`description` varchar(255) NOT NULL,
PRIMARY KEY (`item_kit_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table pos.ospos_item_kits: ~0 rows (approximately)
DELETE FROM `ospos_item_kits`;
/*!40000 ALTER TABLE `ospos_item_kits` DISABLE KEYS */;
/*!40000 ALTER TABLE `ospos_item_kits` ENABLE KEYS */;
-- Dumping structure for table pos.ospos_item_kit_items
CREATE TABLE IF NOT EXISTS `ospos_item_kit_items` (
`item_kit_id` int(11) NOT NULL,
`item_id` int(11) NOT NULL,
`quantity` decimal(15,2) NOT NULL,
PRIMARY KEY (`item_kit_id`,`item_id`,`quantity`),
KEY `ospos_item_kit_items_ibfk_2` (`item_id`),
CONSTRAINT `ospos_item_kit_items_ibfk_1` FOREIGN KEY (`item_kit_id`) REFERENCES `ospos_item_kits` (`item_kit_id`) ON DELETE CASCADE,
CONSTRAINT `ospos_item_kit_items_ibfk_2` FOREIGN KEY (`item_id`) REFERENCES `ospos_items` (`item_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table pos.ospos_item_kit_items: ~0 rows (approximately)
DELETE FROM `ospos_item_kit_items`;
/*!40000 ALTER TABLE `ospos_item_kit_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `ospos_item_kit_items` ENABLE KEYS */;
-- Dumping structure for table pos.ospos_item_quantities
CREATE TABLE IF NOT EXISTS `ospos_item_quantities` (
`item_id` int(11) NOT NULL,
`location_id` int(11) NOT NULL,
`quantity` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`item_id`,`location_id`),
KEY `item_id` (`item_id`),
KEY `location_id` (`location_id`),
CONSTRAINT `ospos_item_quantities_ibfk_1` FOREIGN KEY (`item_id`) REFERENCES `ospos_items` (`item_id`),
CONSTRAINT `ospos_item_quantities_ibfk_2` FOREIGN KEY (`location_id`) REFERENCES `ospos_stock_locations` (`location_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table pos.ospos_item_quantities: ~142 rows (approximately)
DELETE FROM `ospos_item_quantities`;
/*!40000 ALTER TABLE `ospos_item_quantities` DISABLE KEYS */;
INSERT INTO `ospos_item_quantities` (`item_id`, `location_id`, `quantity`) VALUES
(11, 1, 5),
(12, 1, 14),
(13, 1, 16),
(14, 1, 3),
(15, 1, 14),
(16, 1, 15),
(17, 1, 18),
(18, 1, 4),
(19, 1, 12),
(20, 1, 0),
(21, 1, 0),
(22, 1, 0),
(23, 1, 0),
(24, 1, 0),
(25, 1, 28),
(26, 1, 142),
(27, 1, 0),
(28, 1, 0),
(29, 1, 0),
(30, 1, 22),
(31, 1, 0),
(32, 1, 0),
(33, 1, 0),
(34, 1, 0),
(35, 1, 10),
(36, 1, 0),
(37, 1, 0),
(38, 1, 7),
(39, 1, 16),
(40, 1, 15),
(41, 1, 0),
(42, 1, 0),
(43, 1, 0),
(44, 1, 0),
(45, 1, 0),
(46, 1, 0),
(47, 1, 0),
(48, 1, 14),
(49, 1, 41),
(50, 1, 40),
(51, 1, 0),
(52, 1, 6),
(53, 1, 0),
(54, 1, 0),
(55, 1, 2),
(56, 1, 0),
(57, 1, 0),
(58, 1, 0),
(59, 1, 0),
(60, 1, 0),
(61, 1, 0),
(62, 1, 40),
(63, 1, 23),
(64, 1, 45),
(65, 1, 70),
(66, 1, 35),
(67, 1, 8),
(68, 1, 0),
(69, 1, 5),
(70, 1, 36),
(71, 1, 8),
(72, 1, 1),
(73, 1, 9),
(74, 1, 30),
(75, 1, 36),
(76, 1, 0),
(77, 1, 58),
(78, 1, 5),
(79, 1, 6),
(80, 1, 0),
(81, 1, 11),
(82, 1, 0),
(83, 1, 16),
(84, 1, 0),
(85, 1, 0),
(86, 1, 0),
(87, 1, 0),
(88, 1, 13),
(89, 1, 16),
(90, 1, 22),
(91, 1, 0),
(92, 1, 0),
(93, 1, 5),
(94, 1, 15),
(95, 1, 8),
(96, 1, 0),
(97, 1, 0),
(98, 1, 10),
(99, 1, 15),
(100, 1, 12),
(101, 1, 5),
(102, 1, 30),
(103, 1, 37),
(104, 1, 8),
(105, 1, 0),
(106, 1, 4),
(107, 1, 3),
(108, 1, 32),
(109, 1, 30),
(110, 1, 6),
(111, 1, 21),
(112, 1, 55),
(113, 1, 55),
(114, 1, 12),
(115, 1, 0),
(116, 1, 0),
(117, 1, 0),
(118, 1, 18),
(119, 1, 7),
(120, 1, 14),
(121, 1, 7),
(122, 1, 0),
(123, 1, 5),
(124, 1, 7),
(125, 1, 0),
(126, 1, 3),
(127, 1, 0),
(128, 1, 0),
(129, 1, 6),
(130, 1, 25),
(131, 1, 21),
(132, 1, 11),
(133, 1, 3),
(134, 1, 1),
(135, 1, 0),
(136, 1, 2),
(137, 1, 50),
(138, 1, 44),
(139, 1, 0),
(140, 1, 65),
(141, 1, 0),
(142, 1, 25),
(143, 1, 0),
(144, 1, 0),
(145, 1, 76),
(146, 1, 0),
(147, 1, 0),
(148, 1, 139),
(149, 1, 39),
(150, 1, 0),
(151, 1, 4),
(152, 1, 17);
/*!40000 ALTER TABLE `ospos_item_quantities` ENABLE KEYS */;
-- Dumping structure for table pos.ospos_modules
CREATE TABLE IF NOT EXISTS `ospos_modules` (
`name_lang_key` varchar(255) NOT NULL,
`desc_lang_key` varchar(255) NOT NULL,
`sort` int(10) NOT NULL,
`module_id` varchar(255) NOT NULL,
PRIMARY KEY (`module_id`),
UNIQUE KEY `desc_lang_key` (`desc_lang_key`),
UNIQUE KEY `name_lang_key` (`name_lang_key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table pos.ospos_modules: ~10 rows (approximately)
DELETE FROM `ospos_modules`;
/*!40000 ALTER TABLE `ospos_modules` DISABLE KEYS */;
INSERT INTO `ospos_modules` (`name_lang_key`, `desc_lang_key`, `sort`, `module_id`) VALUES
('module_config', 'module_config_desc', 100, 'config'),
('module_customers', 'module_customers_desc', 10, 'customers'),
('module_employees', 'module_employees_desc', 80, 'employees'),
('module_giftcards', 'module_giftcards_desc', 90, 'giftcards'),
('module_items', 'module_items_desc', 20, 'items'),
('module_item_kits', 'module_item_kits_desc', 30, 'item_kits'),
('module_receivings', 'module_receivings_desc', 60, 'receivings'),
('module_reports', 'module_reports_desc', 50, 'reports'),
('module_sales', 'module_sales_desc', 70, 'sales'),
('module_suppliers', 'module_suppliers_desc', 40, 'suppliers');
/*!40000 ALTER TABLE `ospos_modules` ENABLE KEYS */;
-- Dumping structure for table pos.ospos_people
CREATE TABLE IF NOT EXISTS `ospos_people` (
`first_name` varchar(255) NOT NULL,
`last_name` varchar(255) NOT NULL,
`gender` int(1) DEFAULT NULL,
`phone_number` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`address_1` varchar(255) NOT NULL,
`address_2` varchar(255) NOT NULL,
`city` varchar(255) NOT NULL,
`state` varchar(255) NOT NULL,
`zip` varchar(255) NOT NULL,
`country` varchar(255) NOT NULL,
`comments` text NOT NULL,
`person_id` int(10) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`person_id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8;
-- Dumping data for table pos.ospos_people: ~0 rows (approximately)
DELETE FROM `ospos_people`;
/*!40000 ALTER TABLE `ospos_people` DISABLE KEYS */;
INSERT INTO `ospos_people` (`first_name`, `last_name`, `gender`, `phone_number`, `email`, `address_1`, `address_2`, `city`, `state`, `zip`, `country`, `comments`, `person_id`) VALUES
('Admin', 'hsi', 0, '104', '<EMAIL>', '', '', '', '', '', '', '', 1),
('Joko', 'Susilo', 1, '', '', '', '', '', '', '', '', '', 2),
('HSI', 'PUSAT', 1, '', '', '', '', '', '', '', '', '', 3),
('Wince', 'Rano', 1, '', '', '', '', '', '', '', '', '', 4),
('Jackson', 'Perdana', 1, '', '', '', '', '', '', '', '', '', 5),
('Syahrini', '<NAME>', 0, '', '', '', '', '', '', '', '', '', 6),
('Wojciech ', 'Szczęsny', 1, '', '', '', '', '', '', '', '', '', 7),
('Henrikh ', 'Mkhitaryan', 0, '', '', '', '', '', '', '', '', '', 8),
('Sokratis ', 'Papastathopoulos', 0, '', '', '', '', '', '', '', '', '', 9),
('Andreas ', '<NAME>', 1, '', '', '', '', '', '', '', '', '', 10),
('Riki', 'Hamdani', 1, '', '', '', '', '', '', '', '', '', 11),
('Songky', 'Hartanto', 1, '', '', '', '', '', '', '', '', '', 12),
('Dwiastuti', 'W', 0, '', '', '', '', '', '', '', '', '', 13),
('Fadli', 'Rifa\'i', 1, '', '', '', '', '', '', '', '', '', 14),
('Eko', 'Kurniawan', 1, '', '', '', '', '', '', '', '', '', 15);
/*!40000 ALTER TABLE `ospos_people` ENABLE KEYS */;
-- Dumping structure for table pos.ospos_permissions
CREATE TABLE IF NOT EXISTS `ospos_permissions` (
`permission_id` varchar(255) NOT NULL,
`module_id` varchar(255) NOT NULL,
`location_id` int(10) DEFAULT NULL,
PRIMARY KEY (`permission_id`),
KEY `module_id` (`module_id`),
KEY `ospos_permissions_ibfk_2` (`location_id`),
CONSTRAINT `ospos_permissions_ibfk_1` FOREIGN KEY (`module_id`) REFERENCES `ospos_modules` (`module_id`) ON DELETE CASCADE,
CONSTRAINT `ospos_permissions_ibfk_2` FOREIGN KEY (`location_id`) REFERENCES `ospos_stock_locations` (`location_id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table pos.ospos_permissions: ~0 rows (approximately)
DELETE FROM `ospos_permissions`;
/*!40000 ALTER TABLE `ospos_permissions` DISABLE KEYS */;
INSERT INTO `ospos_permissions` (`permission_id`, `module_id`, `location_id`) VALUES
('config', 'config', NULL),
('customers', 'customers', NULL),
('employees', 'employees', NULL),
('giftcards', 'giftcards', NULL),
('items', 'items', NULL),
('items_stock', 'items', 1),
('item_kits', 'item_kits', NULL),
('receivings', 'receivings', NULL),
('receivings_stock', 'receivings', 1),
('reports', 'reports', NULL),
('reports_categories', 'reports', NULL),
('reports_customers', 'reports', NULL),
('reports_discounts', 'reports', NULL),
('reports_employees', 'reports', NULL),
('reports_inventory', 'reports', NULL),
('reports_items', 'reports', NULL),
('reports_payments', 'reports', NULL),
('reports_receivings', 'reports', NULL),
('reports_sales', 'reports', NULL),
('reports_suppliers', 'reports', NULL),
('reports_taxes', 'reports', NULL),
('sales', 'sales', NULL),
('sales_stock', 'sales', 1),
('suppliers', 'suppliers', NULL);
/*!40000 ALTER TABLE `ospos_permissions` ENABLE KEYS */;
-- Dumping structure for table pos.ospos_receivings
CREATE TABLE IF NOT EXISTS `ospos_receivings` (
`receiving_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`supplier_id` int(10) DEFAULT NULL,
`employee_id` int(10) NOT NULL DEFAULT '0',
`comment` text NOT NULL,
`receiving_id` int(10) NOT NULL AUTO_INCREMENT,
`payment_type` varchar(20) DEFAULT NULL,
`invoice_number` varchar(32) DEFAULT NULL,
PRIMARY KEY (`receiving_id`),
UNIQUE KEY `invoice_number` (`invoice_number`),
KEY `supplier_id` (`supplier_id`),
KEY `employee_id` (`employee_id`),
CONSTRAINT `ospos_receivings_ibfk_1` FOREIGN KEY (`employee_id`) REFERENCES `ospos_employees` (`person_id`),
CONSTRAINT `ospos_receivings_ibfk_2` FOREIGN KEY (`supplier_id`) REFERENCES `ospos_suppliers` (`person_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table pos.ospos_receivings: ~0 rows (approximately)
DELETE FROM `ospos_receivings`;
/*!40000 ALTER TABLE `ospos_receivings` DISABLE KEYS */;
/*!40000 ALTER TABLE `ospos_receivings` ENABLE KEYS */;
-- Dumping structure for table pos.ospos_receivings_items
CREATE TABLE IF NOT EXISTS `ospos_receivings_items` (
`receiving_id` int(10) NOT NULL DEFAULT '0',
`item_id` int(10) NOT NULL DEFAULT '0',
`description` varchar(30) DEFAULT NULL,
`serialnumber` varchar(30) DEFAULT NULL,
`line` int(3) NOT NULL,
`quantity_purchased` decimal(15,2) NOT NULL DEFAULT '0.00',
`item_cost_price` decimal(15,2) NOT NULL,
`item_unit_price` decimal(15,2) NOT NULL,
`discount_percent` decimal(15,2) NOT NULL DEFAULT '0.00',
`item_location` int(11) NOT NULL,
`receiving_quantity` int(11) NOT NULL DEFAULT '1',
PRIMARY KEY (`receiving_id`,`item_id`,`line`),
KEY `item_id` (`item_id`),
CONSTRAINT `ospos_receivings_items_ibfk_1` FOREIGN KEY (`item_id`) REFERENCES `ospos_items` (`item_id`),
CONSTRAINT `ospos_receivings_items_ibfk_2` FOREIGN KEY (`receiving_id`) REFERENCES `ospos_receivings` (`receiving_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table pos.ospos_receivings_items: ~0 rows (approximately)
DELETE FROM `ospos_receivings_items`;
/*!40000 ALTER TABLE `ospos_receivings_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `ospos_receivings_items` ENABLE KEYS */;
-- Dumping structure for table pos.ospos_sales
CREATE TABLE IF NOT EXISTS `ospos_sales` (
`sale_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`customer_id` int(10) DEFAULT NULL,
`employee_id` int(10) NOT NULL DEFAULT '0',
`comment` text NOT NULL,
`invoice_number` varchar(32) DEFAULT NULL,
`sale_id` int(10) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`sale_id`),
UNIQUE KEY `invoice_number` (`invoice_number`),
KEY `customer_id` (`customer_id`),
KEY `employee_id` (`employee_id`),
KEY `sale_time` (`sale_time`),
CONSTRAINT `ospos_sales_ibfk_1` FOREIGN KEY (`employee_id`) REFERENCES `ospos_employees` (`person_id`),
CONSTRAINT `ospos_sales_ibfk_2` FOREIGN KEY (`customer_id`) REFERENCES `ospos_customers` (`person_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table pos.ospos_sales: ~0 rows (approximately)
DELETE FROM `ospos_sales`;
/*!40000 ALTER TABLE `ospos_sales` DISABLE KEYS */;
/*!40000 ALTER TABLE `ospos_sales` ENABLE KEYS */;
-- Dumping structure for table pos.ospos_sales_items
CREATE TABLE IF NOT EXISTS `ospos_sales_items` (
`sale_id` int(10) NOT NULL DEFAULT '0',
`item_id` int(10) NOT NULL DEFAULT '0',
`description` varchar(30) DEFAULT NULL,
`serialnumber` varchar(30) DEFAULT NULL,
`line` int(3) NOT NULL DEFAULT '0',
`quantity_purchased` decimal(15,2) NOT NULL DEFAULT '0.00',
`item_cost_price` decimal(15,2) NOT NULL,
`item_unit_price` decimal(15,2) NOT NULL,
`discount_percent` decimal(15,2) NOT NULL DEFAULT '0.00',
`item_location` int(11) NOT NULL,
PRIMARY KEY (`sale_id`,`item_id`,`line`),
KEY `sale_id` (`sale_id`),
KEY `item_id` (`item_id`),
KEY `item_location` (`item_location`),
CONSTRAINT `ospos_sales_items_ibfk_1` FOREIGN KEY (`item_id`) REFERENCES `ospos_items` (`item_id`),
CONSTRAINT `ospos_sales_items_ibfk_2` FOREIGN KEY (`sale_id`) REFERENCES `ospos_sales` (`sale_id`),
CONSTRAINT `ospos_sales_items_ibfk_3` FOREIGN KEY (`item_location`) REFERENCES `ospos_stock_locations` (`location_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table pos.ospos_sales_items: ~0 rows (approximately)
DELETE FROM `ospos_sales_items`;
/*!40000 ALTER TABLE `ospos_sales_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `ospos_sales_items` ENABLE KEYS */;
-- Dumping structure for table pos.ospos_sales_items_taxes
CREATE TABLE IF NOT EXISTS `ospos_sales_items_taxes` (
`sale_id` int(10) NOT NULL,
`item_id` int(10) NOT NULL,
`line` int(3) NOT NULL DEFAULT '0',
`name` varchar(255) NOT NULL,
`percent` decimal(15,2) NOT NULL,
PRIMARY KEY (`sale_id`,`item_id`,`line`,`name`,`percent`),
KEY `sale_id` (`sale_id`),
KEY `item_id` (`item_id`),
CONSTRAINT `ospos_sales_items_taxes_ibfk_1` FOREIGN KEY (`sale_id`) REFERENCES `ospos_sales_items` (`sale_id`),
CONSTRAINT `ospos_sales_items_taxes_ibfk_2` FOREIGN KEY (`item_id`) REFERENCES `ospos_items` (`item_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table pos.ospos_sales_items_taxes: ~0 rows (approximately)
DELETE FROM `ospos_sales_items_taxes`;
/*!40000 ALTER TABLE `ospos_sales_items_taxes` DISABLE KEYS */;
/*!40000 ALTER TABLE `ospos_sales_items_taxes` ENABLE KEYS */;
-- Dumping structure for table pos.ospos_sales_payments
CREATE TABLE IF NOT EXISTS `ospos_sales_payments` (
`sale_id` int(10) NOT NULL,
`payment_type` varchar(40) NOT NULL,
`payment_amount` decimal(15,2) NOT NULL,
PRIMARY KEY (`sale_id`,`payment_type`),
KEY `sale_id` (`sale_id`),
CONSTRAINT `ospos_sales_payments_ibfk_1` FOREIGN KEY (`sale_id`) REFERENCES `ospos_sales` (`sale_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table pos.ospos_sales_payments: ~0 rows (approximately)
DELETE FROM `ospos_sales_payments`;
/*!40000 ALTER TABLE `ospos_sales_payments` DISABLE KEYS */;
/*!40000 ALTER TABLE `ospos_sales_payments` ENABLE KEYS */;
-- Dumping structure for table pos.ospos_sales_suspended
CREATE TABLE IF NOT EXISTS `ospos_sales_suspended` (
`sale_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`customer_id` int(10) DEFAULT NULL,
`employee_id` int(10) NOT NULL DEFAULT '0',
`comment` text NOT NULL,
`invoice_number` varchar(32) DEFAULT NULL,
`sale_id` int(10) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`sale_id`),
UNIQUE KEY `invoice_number` (`invoice_number`),
KEY `customer_id` (`customer_id`),
KEY `employee_id` (`employee_id`),
CONSTRAINT `ospos_sales_suspended_ibfk_1` FOREIGN KEY (`employee_id`) REFERENCES `ospos_employees` (`person_id`),
CONSTRAINT `ospos_sales_suspended_ibfk_2` FOREIGN KEY (`customer_id`) REFERENCES `ospos_customers` (`person_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
-- Dumping data for table pos.ospos_sales_suspended: ~0 rows (approximately)
DELETE FROM `ospos_sales_suspended`;
/*!40000 ALTER TABLE `ospos_sales_suspended` DISABLE KEYS */;
INSERT INTO `ospos_sales_suspended` (`sale_time`, `customer_id`, `employee_id`, `comment`, `invoice_number`, `sale_id`) VALUES
('2015-08-26 06:53:28', NULL, 1, 'Jackson', '0', 2);
/*!40000 ALTER TABLE `ospos_sales_suspended` ENABLE KEYS */;
-- Dumping structure for table pos.ospos_sales_suspended_items
CREATE TABLE IF NOT EXISTS `ospos_sales_suspended_items` (
`sale_id` int(10) NOT NULL DEFAULT '0',
`item_id` int(10) NOT NULL DEFAULT '0',
`description` varchar(30) DEFAULT NULL,
`serialnumber` varchar(30) DEFAULT NULL,
`line` int(3) NOT NULL DEFAULT '0',
`quantity_purchased` decimal(15,2) NOT NULL DEFAULT '0.00',
`item_cost_price` decimal(15,2) NOT NULL,
`item_unit_price` decimal(15,2) NOT NULL,
`discount_percent` decimal(15,2) NOT NULL DEFAULT '0.00',
`item_location` int(11) NOT NULL,
PRIMARY KEY (`sale_id`,`item_id`,`line`),
KEY `sale_id` (`sale_id`),
KEY `item_id` (`item_id`),
KEY `ospos_sales_suspended_items_ibfk_3` (`item_location`),
CONSTRAINT `ospos_sales_suspended_items_ibfk_1` FOREIGN KEY (`item_id`) REFERENCES `ospos_items` (`item_id`),
CONSTRAINT `ospos_sales_suspended_items_ibfk_2` FOREIGN KEY (`sale_id`) REFERENCES `ospos_sales_suspended` (`sale_id`),
CONSTRAINT `ospos_sales_suspended_items_ibfk_3` FOREIGN KEY (`item_location`) REFERENCES `ospos_stock_locations` (`location_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table pos.ospos_sales_suspended_items: ~0 rows (approximately)
DELETE FROM `ospos_sales_suspended_items`;
/*!40000 ALTER TABLE `ospos_sales_suspended_items` DISABLE KEYS */;
INSERT INTO `ospos_sales_suspended_items` (`sale_id`, `item_id`, `description`, `serialnumber`, `line`, `quantity_purchased`, `item_cost_price`, `item_unit_price`, `discount_percent`, `item_location`) VALUES
(2, 11, '', '', 1, 1.00, 174107.00, 195000.00, 0.00, 1);
/*!40000 ALTER TABLE `ospos_sales_suspended_items` ENABLE KEYS */;
-- Dumping structure for table pos.ospos_sales_suspended_items_taxes
CREATE TABLE IF NOT EXISTS `ospos_sales_suspended_items_taxes` (
`sale_id` int(10) NOT NULL,
`item_id` int(10) NOT NULL,
`line` int(3) NOT NULL DEFAULT '0',
`name` varchar(255) NOT NULL,
`percent` decimal(15,2) NOT NULL,
PRIMARY KEY (`sale_id`,`item_id`,`line`,`name`,`percent`),
KEY `item_id` (`item_id`),
CONSTRAINT `ospos_sales_suspended_items_taxes_ibfk_1` FOREIGN KEY (`sale_id`) REFERENCES `ospos_sales_suspended_items` (`sale_id`),
CONSTRAINT `ospos_sales_suspended_items_taxes_ibfk_2` FOREIGN KEY (`item_id`) REFERENCES `ospos_items` (`item_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table pos.ospos_sales_suspended_items_taxes: ~0 rows (approximately)
DELETE FROM `ospos_sales_suspended_items_taxes`;
/*!40000 ALTER TABLE `ospos_sales_suspended_items_taxes` DISABLE KEYS */;
/*!40000 ALTER TABLE `ospos_sales_suspended_items_taxes` ENABLE KEYS */;
-- Dumping structure for table pos.ospos_sales_suspended_payments
CREATE TABLE IF NOT EXISTS `ospos_sales_suspended_payments` (
`sale_id` int(10) NOT NULL,
`payment_type` varchar(40) NOT NULL,
`payment_amount` decimal(15,2) NOT NULL,
PRIMARY KEY (`sale_id`,`payment_type`),
CONSTRAINT `ospos_sales_suspended_payments_ibfk_1` FOREIGN KEY (`sale_id`) REFERENCES `ospos_sales_suspended` (`sale_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table pos.ospos_sales_suspended_payments: ~0 rows (approximately)
DELETE FROM `ospos_sales_suspended_payments`;
/*!40000 ALTER TABLE `ospos_sales_suspended_payments` DISABLE KEYS */;
INSERT INTO `ospos_sales_suspended_payments` (`sale_id`, `payment_type`, `payment_amount`) VALUES
(2, 'Cash', 195000.00);
/*!40000 ALTER TABLE `ospos_sales_suspended_payments` ENABLE KEYS */;
-- Dumping structure for table pos.ospos_sessions
CREATE TABLE IF NOT EXISTS `ospos_sessions` (
`session_id` varchar(40) NOT NULL DEFAULT '0',
`ip_address` varchar(45) NOT NULL DEFAULT '0',
`user_agent` varchar(120) NOT NULL,
`last_activity` int(10) unsigned NOT NULL DEFAULT '0',
`user_data` text,
PRIMARY KEY (`session_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table pos.ospos_sessions: ~0 rows (approximately)
DELETE FROM `ospos_sessions`;
/*!40000 ALTER TABLE `ospos_sessions` DISABLE KEYS */;
INSERT INTO `ospos_sessions` (`session_id`, `ip_address`, `user_agent`, `last_activity`, `user_data`) VALUES
('0ce2d0d48ddda0744cc7f3e3ed6b73ce', '192.168.0.5', 'Mozilla/5.0 (Linux; U; Android 4.2.2; en-gb; GT-I9082 Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mo', 1440142708, 'a:8:{s:9:"user_data";s:0:"";s:9:"person_id";s:1:"1";s:4:"cart";a:2:{i:1;a:16:{s:7:"item_id";s:1:"2";s:13:"item_location";s:1:"1";s:10:"stock_name";s:5:"stock";s:4:"line";i:1;s:4:"name";s:21:"1.(1B) Set of 8 (pcs)";s:11:"item_number";s:8:"11111112";s:11:"description";s:0:"";s:12:"serialnumber";s:0:"";s:21:"allow_alt_description";s:1:"0";s:13:"is_serialized";s:1:"0";s:8:"quantity";s:2:"10";s:8:"discount";s:1:"0";s:8:"in_stock";s:1:"0";s:5:"price";s:4:"0.00";s:5:"total";s:4:"0.00";s:16:"discounted_total";s:7:"0.00000";}i:2;a:16:{s:7:"item_id";s:3:"123";s:13:"item_location";s:1:"1";s:10:"stock_name";s:5:"stock";s:4:"line";i:2;s:4:"name";s:31:"115. Set of 6 BB Plate (6 pcs)";s:11:"item_number";s:8:"11111233";s:11:"description";s:0:"";s:12:"serialnumber";s:0:"";s:21:"allow_alt_description";s:1:"0";s:13:"is_serialized";s:1:"0";s:8:"quantity";i:1;s:8:"discount";s:1:"0";s:8:"in_stock";s:1:"0";s:5:"price";s:4:"0.00";s:5:"total";s:4:"0.00";s:16:"discounted_total";s:7:"0.00000";}}s:9:"sale_mode";s:4:"sale";s:13:"sale_location";s:1:"1";s:8:"customer";i:-1;s:8:"payments";a:0:{}s:20:"sales_invoice_number";s:1:"0";}'),
('1d40d117cc6d67fe533cd84ac917f546', '::1', 'Mozilla/5.0 (Windows NT 6.3; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0', 1440547356, 'a:9:{s:9:"user_data";s:0:"";s:9:"person_id";s:1:"1";s:13:"item_location";s:1:"1";s:4:"cart";a:0:{}s:9:"sale_mode";s:4:"sale";s:13:"sale_location";s:1:"1";s:8:"customer";i:-1;s:8:"payments";a:0:{}s:20:"sales_invoice_number";s:1:"0";}'),
('24a93b1c72726ee44c26c0f3e90edde5', '::1', 'Mozilla/5.0 (Windows NT 6.3; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0', 1440585509, ''),
('36724c23dd2c8ee557948623c0dafcb8', '192.168.0.91', 'Mozilla/5.0 (Windows NT 6.1; rv:40.0) Gecko/20100101 Firefox/40.0', 1440142665, 'a:3:{s:9:"user_data";s:0:"";s:9:"person_id";s:1:"2";s:13:"item_location";s:1:"1";}'),
('3ee682664c160a83b19acaaf77ca0147', '127.0.0.1', 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0', 1440142555, 'a:3:{s:9:"user_data";s:0:"";s:9:"person_id";s:1:"1";s:13:"item_location";s:1:"1";}'),
('7ac5c10785fcf35c6565622e35fe8245', '127.0.0.1', 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0', 1440214319, 'a:9:{s:9:"user_data";s:0:"";s:9:"person_id";s:1:"1";s:13:"item_location";s:1:"1";s:4:"cart";a:0:{}s:9:"sale_mode";s:4:"sale";s:13:"sale_location";s:1:"1";s:8:"customer";i:-1;s:8:"payments";a:0:{}s:20:"sales_invoice_number";s:1:"0";}'),
('9d8cb1eac9d1c449a48ba0b95dd16384', '::1', 'Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36', 1440496360, 'a:3:{s:9:"user_data";s:0:"";s:9:"person_id";s:1:"4";s:13:"item_location";s:1:"1";}'),
('b2dfb661e950ac8769aa48cb3da6d985', '127.0.0.1', 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0', 1440214427, ''),
('bdd71cf974806ad23ad71d3053fc3696', '192.168.0.233', 'Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Firefox/38.0', 1440141285, 'a:3:{s:9:"user_data";s:0:"";s:9:"person_id";s:1:"1";s:13:"item_location";s:1:"1";}'),
('dd6fcc7ccdc30a004eb4e362e7ac2414', '192.168.0.202', 'Mozilla/5.0 (Windows NT 6.1; rv:26.0) Gecko/20100101 Firefox/26.0', 1440499843, 'a:3:{s:9:"user_data";s:0:"";s:9:"person_id";s:1:"1";s:13:"item_location";s:1:"1";}'),
('e04005f44546e22f9f13cbb6467014e5', '192.168.0.207', 'Mozilla/5.0 (Windows NT 6.1; rv:40.0) Gecko/20100101 Firefox/40.0', 1440499236, 'a:3:{s:9:"user_data";s:0:"";s:9:"person_id";s:1:"2";s:13:"item_location";s:1:"1";}'),
('f41a8100e9f37c01df8b3150e87d706a', '192.168.0.5', 'Mozilla/5.0 (iPad; CPU OS 7_1_2 like Mac OS X) AppleWebKit/537.51.2 (KHTML, like Gecko) Version/7.0 Mobile/11D257 Safari', 1440500347, '');
/*!40000 ALTER TABLE `ospos_sessions` ENABLE KEYS */;
-- Dumping structure for table pos.ospos_stock_locations
CREATE TABLE IF NOT EXISTS `ospos_stock_locations` (
`location_id` int(11) NOT NULL AUTO_INCREMENT,
`location_name` varchar(255) DEFAULT NULL,
`deleted` int(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`location_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- Dumping data for table pos.ospos_stock_locations: ~0 rows (approximately)
DELETE FROM `ospos_stock_locations`;
/*!40000 ALTER TABLE `ospos_stock_locations` DISABLE KEYS */;
INSERT INTO `ospos_stock_locations` (`location_id`, `location_name`, `deleted`) VALUES
(1, 'stock', 0);
/*!40000 ALTER TABLE `ospos_stock_locations` ENABLE KEYS */;
-- Dumping structure for table pos.ospos_suppliers
CREATE TABLE IF NOT EXISTS `ospos_suppliers` (
`person_id` int(10) NOT NULL,
`company_name` varchar(255) NOT NULL,
`agency_name` varchar(255) NOT NULL,
`account_number` varchar(255) DEFAULT NULL,
`deleted` int(1) NOT NULL DEFAULT '0',
UNIQUE KEY `account_number` (`account_number`),
KEY `person_id` (`person_id`),
CONSTRAINT `ospos_suppliers_ibfk_1` FOREIGN KEY (`person_id`) REFERENCES `ospos_people` (`person_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table pos.ospos_suppliers: ~0 rows (approximately)
DELETE FROM `ospos_suppliers`;
/*!40000 ALTER TABLE `ospos_suppliers` DISABLE KEYS */;
INSERT INTO `ospos_suppliers` (`person_id`, `company_name`, `agency_name`, `account_number`, `deleted`) VALUES
(3, 'PT. Haeng Nam Sejahtera Indonesia', 'Kantor Pusat', NULL, 0);
/*!40000 ALTER TABLE `ospos_suppliers` ENABLE KEYS */;
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
IF OBJECT_ID(N'[__EFMigrationsHistory]') IS NULL
BEGIN
CREATE TABLE [__EFMigrationsHistory] (
[MigrationId] nvarchar(150) NOT NULL,
[ProductVersion] nvarchar(32) NOT NULL,
CONSTRAINT [PK___EFMigrationsHistory] PRIMARY KEY ([MigrationId])
);
END;
GO
CREATE TABLE [AspNetRoles] (
[Id] nvarchar(450) NOT NULL,
[Name] nvarchar(256) NULL,
[NormalizedName] nvarchar(256) NULL,
[ConcurrencyStamp] nvarchar(max) NULL,
CONSTRAINT [PK_AspNetRoles] PRIMARY KEY ([Id])
);
GO
CREATE TABLE [AspNetUsers] (
[Id] nvarchar(450) NOT NULL,
[UserName] nvarchar(256) NULL,
[NormalizedUserName] nvarchar(256) NULL,
[Email] nvarchar(256) NULL,
[NormalizedEmail] nvarchar(256) NULL,
[EmailConfirmed] bit NOT NULL,
[PasswordHash] nvarchar(max) NULL,
[SecurityStamp] nvarchar(max) NULL,
[ConcurrencyStamp] nvarchar(max) NULL,
[PhoneNumber] nvarchar(max) NULL,
[PhoneNumberConfirmed] bit NOT NULL,
[TwoFactorEnabled] bit NOT NULL,
[LockoutEnd] datetimeoffset NULL,
[LockoutEnabled] bit NOT NULL,
[AccessFailedCount] int NOT NULL,
CONSTRAINT [PK_AspNetUsers] PRIMARY KEY ([Id])
);
GO
CREATE TABLE [AspNetRoleClaims] (
[Id] int NOT NULL IDENTITY,
[RoleId] nvarchar(450) NOT NULL,
[ClaimType] nvarchar(max) NULL,
[ClaimValue] nvarchar(max) NULL,
CONSTRAINT [PK_AspNetRoleClaims] PRIMARY KEY ([Id]),
CONSTRAINT [FK_AspNetRoleClaims_AspNetRoles_RoleId] FOREIGN KEY ([RoleId]) REFERENCES [AspNetRoles] ([Id]) ON DELETE CASCADE
);
GO
CREATE TABLE [AspNetUserClaims] (
[Id] int NOT NULL IDENTITY,
[UserId] nvarchar(450) NOT NULL,
[ClaimType] nvarchar(max) NULL,
[ClaimValue] nvarchar(max) NULL,
CONSTRAINT [PK_AspNetUserClaims] PRIMARY KEY ([Id]),
CONSTRAINT [FK_AspNetUserClaims_AspNetUsers_UserId] FOREIGN KEY ([UserId]) REFERENCES [AspNetUsers] ([Id]) ON DELETE CASCADE
);
GO
CREATE TABLE [AspNetUserLogins] (
[LoginProvider] nvarchar(128) NOT NULL,
[ProviderKey] nvarchar(128) NOT NULL,
[ProviderDisplayName] nvarchar(max) NULL,
[UserId] nvarchar(450) NOT NULL,
CONSTRAINT [PK_AspNetUserLogins] PRIMARY KEY ([LoginProvider], [ProviderKey]),
CONSTRAINT [FK_AspNetUserLogins_AspNetUsers_UserId] FOREIGN KEY ([UserId]) REFERENCES [AspNetUsers] ([Id]) ON DELETE CASCADE
);
GO
CREATE TABLE [AspNetUserRoles] (
[UserId] nvarchar(450) NOT NULL,
[RoleId] nvarchar(450) NOT NULL,
CONSTRAINT [PK_AspNetUserRoles] PRIMARY KEY ([UserId], [RoleId]),
CONSTRAINT [FK_AspNetUserRoles_AspNetRoles_RoleId] FOREIGN KEY ([RoleId]) REFERENCES [AspNetRoles] ([Id]) ON DELETE CASCADE,
CONSTRAINT [FK_AspNetUserRoles_AspNetUsers_UserId] FOREIGN KEY ([UserId]) REFERENCES [AspNetUsers] ([Id]) ON DELETE CASCADE
);
GO
CREATE TABLE [AspNetUserTokens] (
[UserId] nvarchar(450) NOT NULL,
[LoginProvider] nvarchar(128) NOT NULL,
[Name] nvarchar(128) NOT NULL,
[Value] nvarchar(max) NULL,
CONSTRAINT [PK_AspNetUserTokens] PRIMARY KEY ([UserId], [LoginProvider], [Name]),
CONSTRAINT [FK_AspNetUserTokens_AspNetUsers_UserId] FOREIGN KEY ([UserId]) REFERENCES [AspNetUsers] ([Id]) ON DELETE CASCADE
);
GO
CREATE INDEX [IX_AspNetRoleClaims_RoleId] ON [AspNetRoleClaims] ([RoleId]);
GO
CREATE UNIQUE INDEX [RoleNameIndex] ON [AspNetRoles] ([NormalizedName]) WHERE [NormalizedName] IS NOT NULL;
GO
CREATE INDEX [IX_AspNetUserClaims_UserId] ON [AspNetUserClaims] ([UserId]);
GO
CREATE INDEX [IX_AspNetUserLogins_UserId] ON [AspNetUserLogins] ([UserId]);
GO
CREATE INDEX [IX_AspNetUserRoles_RoleId] ON [AspNetUserRoles] ([RoleId]);
GO
CREATE INDEX [EmailIndex] ON [AspNetUsers] ([NormalizedEmail]);
GO
CREATE UNIQUE INDEX [UserNameIndex] ON [AspNetUsers] ([NormalizedUserName]) WHERE [NormalizedUserName] IS NOT NULL;
GO
INSERT INTO [__EFMigrationsHistory] ([MigrationId], [ProductVersion])
VALUES (N'00000000000000_CreateIdentitySchema', N'2.2.4-servicing-10062');
GO
|
CREATE TABLE "user" (
id UUID PRIMARY KEY,
name TEXT NOT NULL CONSTRAINT user_name_unique UNIQUE,
email TEXT NULL,
pw_hash TEXT NOT NULL,
is_admin BOOLEAN NOT NULL DEFAULT FALSE
);
CREATE TABLE session (
session_id UUID UNIQUE,
user_id UUID NOT NULL REFERENCES "user"(id),
PRIMARY KEY(session_id, user_id)
);
CREATE TABLE article (
id UUID PRIMARY KEY,
name TEXT NOT NULL CONSTRAINT article_name_unique UNIQUE,
created TIMESTAMP NOT NULL DEFAULT now(),
creator_id UUID NOT NULL REFERENCES "user"(id)
);
CREATE TABLE revision (
article_id UUID NOT NULL REFERENCES article(id),
num BIGINT NOT NULL,
content TEXT NOT NULL,
author_id UUID NOT NULL REFERENCES "user"(id),
created TIMESTAMP NOT NULL DEFAULT now(),
PRIMARY KEY(article_id, num)
);
CREATE TABLE flags (
name TEXT PRIMARY KEY,
value BOOLEAN NOT NULL
);
|
CREATE TABLE customServiceQuestions (
id INT AUTO_INCREMENT PRIMARY KEY,
serviceId INT NOT NULL,
label VARCHAR(256),
type ENUM (
'text',
'number',
'select',
'boolean',
'date'
) NOT NULL,
CONSTRAINT fk_question_serviceId FOREIGN KEY (serviceId) REFERENCES services(id)
);
CREATE TABLE customServiceQuestionOptions(
id INT AUTO_INCREMENT PRIMARY KEY,
questionId INT NOT NULL,
name VARCHAR(256),
value VARCHAR(256),
CONSTRAINT fk_option_question FOREIGN KEY (questionId) REFERENCES customServiceQuestions(id)
);
CREATE TABLE clientInteractionCustomAnswers(
id INT AUTO_INCREMENT PRIMARY KEY,
questionId INT NOT NULL,
answer VARCHAR(256),
CONSTRAINT fk_custom_answer_question FOREIGN KEY (questionId) REFERENCES customServiceQuestions(id)
);
|
<filename>data/train/sql/802c0e468715fd3bab0550c495fcf73b08407937donetselling_doterm_taxonomy.sql
CREATE DATABASE IF NOT EXISTS `donetselling` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `donetselling`;
-- MySQL dump 10.13 Distrib 5.6.13, for Win32 (x86)
--
-- Host: localhost Database: donetselling
-- ------------------------------------------------------
-- Server version 5.5.35
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `doterm_taxonomy`
--
DROP TABLE IF EXISTS `doterm_taxonomy`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `doterm_taxonomy` (
`term_taxonomy_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`term_id` bigint(20) unsigned NOT NULL DEFAULT '0',
`taxonomy` varchar(32) NOT NULL DEFAULT '',
`description` longtext NOT NULL,
`parent` bigint(20) unsigned NOT NULL DEFAULT '0',
`count` bigint(20) NOT NULL DEFAULT '0',
PRIMARY KEY (`term_taxonomy_id`),
UNIQUE KEY `term_id_taxonomy` (`term_id`,`taxonomy`),
KEY `taxonomy` (`taxonomy`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `doterm_taxonomy`
--
LOCK TABLES `doterm_taxonomy` WRITE;
/*!40000 ALTER TABLE `doterm_taxonomy` DISABLE KEYS */;
INSERT INTO `doterm_taxonomy` VALUES (1,1,'category','',0,1),(2,2,'nav_menu','',0,6),(3,3,'nav_menu','',0,6),(4,4,'nav_menu','',0,7);
/*!40000 ALTER TABLE `doterm_taxonomy` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2014-04-25 7:15:22
|
-- Move reference from shipment to orderline part 2 of 3
PRINT N'Altering [dbo].[uCommerce_OrderLine]'
ALTER TABLE [dbo].[uCommerce_OrderLine] ADD
[ShipmentId] [int] NULL
|
<filename>src/SFA.DAS.Commitments.Database/AdhocScripts/Support/UpdateAccountLevyStatus.sql
/*
UpdateAccountLevyStatus script for Commitments db
Sets the LevyStatus for a given Account (0 = NonLevy, 1 = Levy)
Note: this script only updates the record held in the Commitments service
Other systems (eas, reservations, payments, etc.) must be updated accordingly
Commitment records that have been created and approved under the incorrect status are not updated.
*/
--Declare the AccountId and the correct LevyStatus here
declare @AccountId BIGINT = 29645
declare @NewLevyStatus TINYINT = 0
---
/* ***************************** */
/* DO NOT MODIFY BELOW THIS LINE */
/* ***************************** */
SET NOCOUNT ON
print 'Updating Levy Status for Account ' + convert(varchar, @AccountId) + ' to ' + convert(varchar, @NewLevyStatus)
declare @CurrentLevyStatus TINYINT
select @CurrentLevyStatus = LevyStatus from Accounts where Id = @AccountId
if(@CurrentLevyStatus is null)
BEGIN
print 'Error - could not find Account ' + convert(varchar, @AccountId)
return
END
if(@CurrentLevyStatus = @NewLevyStatus)
BEGIN
print 'Error - Levy Status for Account ' + convert(varchar, @AccountId) + ' is already ' + convert(varchar,@NewLevyStatus)
return
END
update Accounts set LevyStatus = @NewLevyStatus where Id = @AccountId
print 'Account levy status updated ok'
IF(EXISTS(SELECT * FROM Commitment where EmployerAccountId = @AccountId))
BEGIN
print ''
print 'Warning: this Account has Commitments (or drafts) - these have not been updated by this script'
END
SET NOCOUNT OFF
|
<reponame>prbpedro/java-springboot-microservices-patterns-exemples<filename>scripts/createreadonlyuser.sql
CREATE USER 'readonlyuser'@'%' IDENTIFIED BY 'password';
GRANT SELECT, SHOW VIEW ON *.* TO 'readonlyuser'@'%' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
|
<filename>prisma/migrations/20220201150635_initial_migration/migration.sql
-- CreateEnum
CREATE TYPE "TaskStatus" AS ENUM ('TODO', 'DOING', 'DONE');
-- CreateTable
CREATE TABLE "users" (
"id" TEXT NOT NULL,
"email" TEXT NOT NULL,
"password" TEXT NOT NULL,
"full_name" TEXT NOT NULL,
"created_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updated_at" TIMESTAMP(3) NOT NULL,
CONSTRAINT "users_pkey" PRIMARY KEY ("id")
);
-- CreateTable
CREATE TABLE "auths" (
"id" TEXT NOT NULL,
"created_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"user_id" TEXT,
"jti" TEXT NOT NULL,
"aud" TEXT,
"refresh_token" TEXT NOT NULL,
CONSTRAINT "auths_pkey" PRIMARY KEY ("id")
);
-- CreateTable
CREATE TABLE "tasks" (
"id" TEXT NOT NULL,
"name" TEXT NOT NULL,
"status" "TaskStatus" NOT NULL,
"userId" TEXT NOT NULL,
"attachmentId" TEXT,
"created_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updated_at" TIMESTAMP(3) NOT NULL,
CONSTRAINT "tasks_pkey" PRIMARY KEY ("id")
);
-- CreateTable
CREATE TABLE "attachments" (
"id" TEXT NOT NULL,
"uuid" TEXT NOT NULL,
"path" TEXT NOT NULL,
"key" TEXT NOT NULL,
"ext" TEXT NOT NULL,
"content_type" TEXT NOT NULL,
"created_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
CONSTRAINT "attachments_pkey" PRIMARY KEY ("id")
);
-- CreateIndex
CREATE UNIQUE INDEX "users_email_key" ON "users"("email");
-- CreateIndex
CREATE UNIQUE INDEX "auths_jti_key" ON "auths"("jti");
-- CreateIndex
CREATE UNIQUE INDEX "auths_refresh_token_key" ON "auths"("refresh_token");
-- CreateIndex
CREATE UNIQUE INDEX "tasks_attachmentId_key" ON "tasks"("attachmentId");
-- CreateIndex
CREATE UNIQUE INDEX "attachments_uuid_key" ON "attachments"("uuid");
-- AddForeignKey
ALTER TABLE "auths" ADD CONSTRAINT "auths_user_id_fkey" FOREIGN KEY ("user_id") REFERENCES "users"("id") ON DELETE SET NULL ON UPDATE CASCADE;
-- AddForeignKey
ALTER TABLE "tasks" ADD CONSTRAINT "tasks_userId_fkey" FOREIGN KEY ("userId") REFERENCES "users"("id") ON DELETE RESTRICT ON UPDATE CASCADE;
-- AddForeignKey
ALTER TABLE "tasks" ADD CONSTRAINT "tasks_attachmentId_fkey" FOREIGN KEY ("attachmentId") REFERENCES "attachments"("id") ON DELETE SET NULL ON UPDATE CASCADE;
|
DROP TABLE utbetalingsreferanse;
|
-- enc2.test
--
-- execsql {SELECT * FROM t5 ORDER BY 1 COLLATE test_collate; }
SELECT * FROM t5 ORDER BY 1 COLLATE test_collate;
|
<filename>src/test/resources/sql/insert/63745964.sql<gh_stars>10-100
-- file:inherit.sql ln:30 expect:true
INSERT INTO d(aa) VALUES('ddd')
|
-- file:timestamp.sql ln:232 expect:true
SELECT make_timestamp(2014,12,28,6,30,45.887)
|
<reponame>scheltwort-it-services/common_schema<gh_stars>100-1000
DROP TABLE IF EXISTS `routine_privileges`;
CREATE TABLE IF NOT EXISTS `routine_privileges` (
`GRANTEE` varchar(81),
`ROUTINE_CATALOG` binary(0),
`ROUTINE_SCHEMA` char(64),
`ROUTINE_NAME` char(64),
`ROUTINE_TYPE` enum('FUNCTION','PROCEDURE'),
`PRIVILEGE_TYPE` varchar(27),
`IS_GRANTABLE` varchar(3)
) ENGINE=MyISAM;
--
-- (Internal use): privileges set on columns
--
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
SQL SECURITY INVOKER
VIEW _columns_privileges AS
SELECT
GRANTEE,
TABLE_SCHEMA,
TABLE_NAME,
MAX(IS_GRANTABLE) AS IS_GRANTABLE,
CONCAT(
PRIVILEGE_TYPE,
' (', GROUP_CONCAT(COLUMN_NAME ORDER BY COLUMN_NAME SEPARATOR ', '), ')'
) AS column_privileges
FROM
INFORMATION_SCHEMA.COLUMN_PRIVILEGES
GROUP BY
GRANTEE, TABLE_SCHEMA, TABLE_NAME, PRIVILEGE_TYPE
;
--
-- (Internal use): GRANTs, account details, privileges details
--
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
SQL SECURITY INVOKER
VIEW _sql_grants_components AS
(
SELECT
GRANTEE,
'*.*' AS priv_level,
'user' AS priv_level_name,
'' AS object_type,
NULL AS object_schema,
NULL AS object_name,
'USAGE' AS current_privileges,
MAX(IS_GRANTABLE) AS IS_GRANTABLE,
1 AS result_order
FROM
INFORMATION_SCHEMA.USER_PRIVILEGES
GROUP BY
GRANTEE
)
UNION ALL
(
SELECT
GRANTEE,
'*.*' AS priv_level,
'user' AS priv_level_name,
'' AS object_type,
NULL AS object_schema,
NULL AS object_name,
GROUP_CONCAT(PRIVILEGE_TYPE ORDER BY PRIVILEGE_TYPE SEPARATOR ', ') AS current_privileges,
MAX(IS_GRANTABLE) AS IS_GRANTABLE,
2 AS result_order
FROM
INFORMATION_SCHEMA.USER_PRIVILEGES
GROUP BY
GRANTEE
HAVING
GROUP_CONCAT(PRIVILEGE_TYPE ORDER BY PRIVILEGE_TYPE) != 'USAGE'
)
UNION ALL
(
SELECT
GRANTEE,
CONCAT('`', TABLE_SCHEMA, '`.*') AS priv_level,
'schema' AS priv_level_name,
'' AS object_type,
NULL AS object_schema,
TABLE_SCHEMA AS object_name,
GROUP_CONCAT(PRIVILEGE_TYPE ORDER BY PRIVILEGE_TYPE SEPARATOR ', ') AS current_privileges,
MAX(IS_GRANTABLE) AS IS_GRANTABLE,
3 AS result_order
FROM
INFORMATION_SCHEMA.SCHEMA_PRIVILEGES
GROUP BY
GRANTEE, TABLE_SCHEMA
)
UNION ALL
(
SELECT
GRANTEE,
CONCAT('`', TABLE_SCHEMA, '`.`', TABLE_NAME, '`') AS priv_level,
'table' AS priv_level_name,
'table' AS object_type,
TABLE_SCHEMA AS object_schema,
TABLE_NAME AS object_name,
GROUP_CONCAT(PRIVILEGE_TYPE ORDER BY PRIVILEGE_TYPE SEPARATOR ', ') AS current_privileges,
MAX(IS_GRANTABLE) AS IS_GRANTABLE,
4 AS result_order
FROM
INFORMATION_SCHEMA.TABLE_PRIVILEGES
GROUP BY
GRANTEE, TABLE_SCHEMA, TABLE_NAME
)
UNION ALL
(
SELECT
GRANTEE,
CONCAT('`', TABLE_SCHEMA, '`.`', TABLE_NAME, '`') AS priv_level,
'column' AS priv_level_name,
'' AS object_type,
TABLE_SCHEMA AS object_schema,
TABLE_NAME AS object_name,
GROUP_CONCAT(column_privileges ORDER BY column_privileges SEPARATOR ', ') AS current_privileges,
MAX(IS_GRANTABLE) AS IS_GRANTABLE,
5 AS result_order
FROM
_columns_privileges
GROUP BY
GRANTEE, TABLE_SCHEMA, TABLE_NAME
)
UNION ALL
(
SELECT
GRANTEE,
CONCAT('`', ROUTINE_SCHEMA, '`.`', ROUTINE_NAME, '`') AS priv_level,
'routine' AS priv_level_name,
MAX(ROUTINE_TYPE) AS object_type,
ROUTINE_SCHEMA AS object_schema,
ROUTINE_NAME AS object_name,
GROUP_CONCAT(PRIVILEGE_TYPE ORDER BY PRIVILEGE_TYPE SEPARATOR ', ') AS current_privileges,
MAX(IS_GRANTABLE) AS IS_GRANTABLE,
6 AS result_order
FROM
routine_privileges
GROUP BY
GRANTEE, ROUTINE_SCHEMA, ROUTINE_NAME
)
;
--
-- Current grantee privileges and additional info breakdown, generated GRANT and REVOKE sql statements
--
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
SQL SECURITY INVOKER
VIEW sql_grants AS
SELECT
GRANTEE,
user.user,
user.host,
priv_level,
priv_level_name,
object_schema,
object_name,
current_privileges,
IS_GRANTABLE,
CONCAT(
'GRANT ', current_privileges,
' ON ', IF(priv_level_name = 'routine', CONCAT(object_type, ' '), ''), priv_level,
' TO ', GRANTEE,
IF(priv_level = '*.*' AND current_privileges = 'USAGE',
CONCAT(' IDENTIFIED BY PASSWORD ''', user.password, ''''), ''),
IF(IS_GRANTABLE = 'YES',
' WITH GRANT OPTION', '')
) AS sql_grant,
CASE
WHEN current_privileges = 'USAGE' AND priv_level = '*.*' THEN ''
ELSE
CONCAT(
'REVOKE ', current_privileges,
IF(IS_GRANTABLE = 'YES',
', GRANT OPTION', ''),
' ON ', priv_level,
' FROM ', GRANTEE
)
END AS sql_revoke,
CONCAT(
'DROP USER ', GRANTEE
) AS sql_drop_user
FROM
_sql_grants_components
JOIN mysql.user ON (GRANTEE = CONCAT('''', user.user, '''@''', user.host, ''''))
ORDER BY
GRANTEE, result_order
;
--
-- SHOW GRANTS like output, for all accounts
--
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
SQL SECURITY INVOKER
VIEW sql_show_grants AS
SELECT
GRANTEE,
user,
host,
GROUP_CONCAT(
CONCAT(sql_grant, ';')
SEPARATOR '\n'
) AS sql_grants
FROM
sql_grants
GROUP BY
GRANTEE, user, host
;
--
-- _bare_grantee_grants: just the grants per grantee, exluding the grantee name and password from statements
--
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
SQL SECURITY INVOKER
VIEW _bare_grantee_grants AS
SELECT
GRANTEE,
user,
host,
GROUP_CONCAT(
CONCAT(
SUBSTRING_INDEX(
REPLACE(sql_grant, GRANTEE, ''),
'IDENTIFIED BY PASSWORD',
1),
';')
ORDER BY sql_grant
SEPARATOR '\n'
) AS sql_grants
FROM
sql_grants
GROUP BY
GRANTEE, user, host
;
--
-- _bare_grantee_grants: just the grants per grantee, exluding USAGE (which is shared by all), and exluding the grantee name from statement
--
CREATE OR REPLACE
ALGORITHM = TEMPTABLE
SQL SECURITY INVOKER
VIEW similar_grants AS
SELECT
MIN(GRANTEE) AS sample_grantee,
COUNT(GRANTEE) AS count_grantees,
GROUP_CONCAT(GRANTEE ORDER BY GRANTEE) AS similar_grantees
FROM
_bare_grantee_grants
GROUP BY
sql_grants
ORDER BY
COUNT(*) DESC
;
|
INSERT INTO notes(id, name, hash, created, content)
VALUES (counter.nextval, ?, ?, ?, ?);
|
SELECT * FROM table ORDER BY TIME_FORMAT(column '%H:%i') DESC
|
<gh_stars>100-1000
USE [CSETWeb]
GO
/****** Object: Table [dbo].[FILE_KEYWORDS] Script Date: 11/14/2018 3:57:23 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[FILE_KEYWORDS](
[Gen_File_Id] [int] NOT NULL,
[Keyword] [varchar](60) NOT NULL,
CONSTRAINT [FILE_KEYWORDS_PK] PRIMARY KEY CLUSTERED
(
[Gen_File_Id] ASC,
[Keyword] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (507, N'12')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (507, N'An Introduction to Computer Security: The NIST Handbook')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (507, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (507, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (507, N'handbook')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (507, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (507, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (507, N'NIST SP800-12')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (507, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (507, N'SP800-12')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (507, N'SP800-12.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (508, N'140')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (508, N'140-2')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (508, N'140.2')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (508, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (508, N'Cryptographic Modules')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (508, N'cryptography')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (508, N'Encryption')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (508, N'Federal Information Processing Standards')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (508, N'FIPS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (508, N'FIPS 140-2')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (508, N'FIPS 140-2.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (508, N'Security Requirements for Cryptographic Modules')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (511, N'199')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (511, N'availability')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (511, N'confidentiality')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (511, N'Federal Information')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (511, N'Federal Information Processing Standards')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (511, N'FIPS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (511, N'FIPS 199')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (511, N'FIPS 199.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (511, N'Information Systems')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (511, N'integrity')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (511, N'Security Categorization')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (511, N'Standards for Security Categorization of Federal Information')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (514, N'50')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (514, N'Building an Information Technology Security Awareness and Tr')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (514, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (514, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (514, N'information technology')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (514, N'IT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (514, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (514, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (514, N'NIST SP800-50')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (514, N'security awareness')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (514, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (514, N'SP800-50')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (514, N'SP800-50.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (514, N'training')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (518, N'47')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (518, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (518, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (518, N'information technology')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (518, N'interconnecting')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (518, N'IT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (518, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (518, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (518, N'NIST SP800-47')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (518, N'Security Guide for Interconnecting Information Technology Sy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (518, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (518, N'SP800-47')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (518, N'SP800-47.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (525, N'76-1')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (525, N'biometric')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (525, N'Biometric Data Specification for Personal Identity Verificat')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (525, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (525, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (525, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (525, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (525, N'NIST SP800-76-1')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (525, N'personal identity verification')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (525, N'PIV')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (525, N'SP800-76')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (525, N'SP800-76.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (527, N'36')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (527, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (527, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (527, N'Guide to Selecting Information Technology Security Products')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (527, N'information technology')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (527, N'IT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (527, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (527, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (527, N'NIST SP800-36')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (527, N'products')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (527, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (527, N'SP800-36')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (527, N'SP800-36.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (529, N'18')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (529, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (529, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (529, N'Guide for Developing Security Plans for Federal Information ')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (529, N'information systems')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (529, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (529, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (529, N'NIST SP800-18')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (529, N'plan')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (529, N'security plan')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (529, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (529, N'SP800-18')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (529, N'SP800-18.pdf')
GO
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (532, N'35')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (532, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (532, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (532, N'Guide to Information Technology Security Services')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (532, N'information technology')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (532, N'IT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (532, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (532, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (532, N'NIST SP800-35')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (532, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (532, N'SP800-35')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (532, N'SP800-35.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (535, N'40')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (535, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (535, N'Creating a Patch and Vulnerability Management Program')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (535, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (535, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (535, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (535, N'NIST SP800-40')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (535, N'patch')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (535, N'patch management')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (535, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (535, N'SP800-40')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (535, N'SP800-40.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (535, N'vulnerability management')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (544, N'58')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (544, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (544, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (544, N'IP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (544, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (544, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (544, N'NIST SP800-58')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (544, N'QoS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (544, N'Security Considerations for Voice Over IP Systems')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (544, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (544, N'SP800-58')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (544, N'SP800-58.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (544, N'voice')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (544, N'voiceover')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (544, N'VOIP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (555, N'057')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (555, N'057R')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (555, N'5.0')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (555, N'C4')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (555, N'C4-057R-00')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (555, N'FTP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (555, N'IIS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (555, N'Microsoft IIS Guide-NSA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (555, N'Microsoft internet information services')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (555, N'NNTP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (555, N'NSA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (555, N'NSA C4-057R-00.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (555, N'NSA Guide to the Secure Configuration and Administration of ')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (555, N'secure configuration')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (555, N'SMTP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (555, N'SNAC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (555, N'WWW')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (556, N'BCIT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (556, N'CIAG')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (556, N'deployment')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (556, N'firewall')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (556, N'GAIT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (556, N'good practice guide')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (556, N'IEL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (556, N'network')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (556, N'NISCC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (556, N'NISCC Firewall Guide')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (556, N'NISCC Firewall Guide.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (556, N'NISCC Good Practice Guide on Firewall Deployment for SCADA a')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (556, N'process control')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (556, N'SCADA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (557, N'02')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (557, N'040')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (557, N'040R')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (557, N'C4')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (557, N'C4-040r-02')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (557, N'configuration')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (557, N'NSA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (557, N'NSA 04-040R-02.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (557, N'NSA Router Guide, C4-040R-02')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (557, N'NSA Router Security Configuration Guide')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (557, N'router')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (557, N'router security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (557, N'SNAC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (568, N'8500')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (568, N'8500.2')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (568, N'department of defense')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (568, N'DOD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (568, N'DOD Instruction 8500.2')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (568, N'DODI')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (568, N'DODI-8500.2')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (568, N'DODI-8500.2.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (568, N'IA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (568, N'Information Assurance')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (618, N'CC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (618, N'CC Part 3')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (618, N'CCMB-2007-09-003')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (618, N'CCPART3V3.1R2.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (618, N'common criteria')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (618, N'Common Criteria Part 3 Security Assurance Components ver. 3.')
GO
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (618, N'PP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (618, N'protection profile')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (618, N'Security Assurance Components')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (618, N'security target')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (618, N'ST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (618, N'target of evaluation')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (618, N'TOE')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (668, N'A-130')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (668, N'a130trans4.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (668, N'Circ A-130')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (668, N'circular')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (668, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (668, N'information resources')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (668, N'management')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (668, N'Management of Federal Information Resources')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (669, N'cost for security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (669, N'Evans')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (669, N'information technology')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (669, N'investments')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (669, N'IT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (669, N'M-06-19')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (669, N'm-6-19')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (669, N'm.06.19')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (669, N'memorandum')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (669, N'OMB m06-19.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (669, N'personally identifiable information')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (669, N'PII')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (669, N'privacy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (669, N'reporting incidents')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (669, N'Reporting Incidents Involving Personally Identifiable Inform')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (670, N'92')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (670, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (670, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (670, N'Guide to Computer Security Log Management')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (670, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (670, N'log')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (670, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (670, N'NIST SP800-92')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (670, N'security log')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (670, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (670, N'SP800-92')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (670, N'SP800-92.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (671, N'94')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (671, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (671, N'Guide to Intrusion Detection and Prevention Systems (IDPS)')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (671, N'IDPS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (671, N'intrusion detection')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (671, N'Intrusion Detection and Prevention System')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (671, N'intrusion prevention')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (671, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (671, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (671, N'NIST SP800-94')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (671, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (671, N'SP800-94')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (671, N'SP800-94.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (673, N'84')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (673, N'capabilities')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (673, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (673, N'exercise programs')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (673, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (673, N'Guide to Test, Training, and Exercise Programs for IT Plans ')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (673, N'information technology')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (673, N'IT plans')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (673, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (673, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (673, N'NIST SP800-84')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (673, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (673, N'SP800-84')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (673, N'SP800-84.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (673, N'test')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (673, N'testing')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (673, N'training')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (673, N'TT&E')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (673, N'TTE')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (674, N'authentication')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (674, N'Bolten')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (674, N'CSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (674, N'CSPs')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (674, N'E-Authentication')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (674, N'E-Authentication Guidance for Federal Agencies')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (674, N'Federal Agencies')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (674, N'IT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (674, N'M-04-04')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (674, N'm-4-4')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (674, N'M.04.04')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (674, N'memorandum')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (674, N'OMB m04-04.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (678, N'88')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (678, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (678, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (678, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (678, N'media')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (678, N'media sanitation')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (678, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (678, N'NIST Guidelines for Media Sanitization (Computer Security)')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (678, N'NIST SP800-88')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (678, N'sanitation')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (678, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (678, N'SP800-88')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (678, N'SP800-88_rev1.pdf')
GO
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (681, N'77')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (681, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (681, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (681, N'Guide to IPsec VPNs')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (681, N'Internet Protocol')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (681, N'Internet Protocol Security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (681, N'IP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (681, N'IPsec')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (681, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (681, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (681, N'NIST SP800-77')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (681, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (681, N'SP800-77')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (681, N'SP800-77.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (681, N'virtual private network')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (681, N'VPN')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (684, N'50')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (684, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (684, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (684, N'Guidelines for the Selection and Use of Transport Layer Secu')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (684, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (684, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (684, N'NIST SP800-52')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (684, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (684, N'SP800-50')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (684, N'SP800-52.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (684, N'TLS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (684, N'transport layer')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (684, N'transport layer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (685, N'32')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (685, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (685, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (685, N'infrastructure')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (685, N'Introduction to Public Key Technology and the Federal PKI In')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (685, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (685, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (685, N'NIST SP800-32')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (685, N'PKI')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (685, N'public key')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (685, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (685, N'SP800-32')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (685, N'SP800-32.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (687, N'95')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (687, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (687, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (687, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (687, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (687, N'NIST Guide to Secure Web Services')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (687, N'NIST SP800-95')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (687, N'Service Oriented Architecture')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (687, N'services')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (687, N'SOA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (687, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (687, N'SP800-95')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (687, N'SP800-95.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (687, N'web')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (687, N'web services')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (688, N'45')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (688, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (688, N'electronic mail')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (688, N'email')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (688, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (688, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (688, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (688, N'NIST Guidelines on Electronic Mail Security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (688, N'NIST SP800-45')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (688, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (688, N'SP800-45')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (688, N'SP800-45v2.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2030, N' security Standards')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2030, N'200')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2030, N'federal information')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2030, N'Federal Information Processing Standards')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2030, N'FIPS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2030, N'FIPS 200')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2030, N'FIPS-200-final-march.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2030, N'information systems')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2030, N'Minimum Security Requirements for Federal Information and In')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2060, N'15')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2060, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2060, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2060, N'interoperability')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2060, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2060, N'Minimum Interoperability Specification for PKI Components, V')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2060, N'MISPC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2060, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2060, N'NIST SP800-15')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2060, N'PKI')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2060, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2060, N'SP800-15')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2060, N'SP800-15.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2061, N'115')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2061, N'assessment')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2061, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2061, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2061, N'information security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2061, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2061, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2061, N'NIST SP800-115')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2061, N'SP800')
GO
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2061, N'SP800-115')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2061, N'SP800-115.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2061, N'Technical Guide to Information Security Testing and Assessme')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2061, N'testing')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2063, N'55')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2063, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2063, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2063, N'information security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2063, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2063, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2063, N'NIST SP800-55')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2063, N'performance measurement')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2063, N'Performance Measurement Guide for Information Security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2063, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2063, N'SP800-55')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2063, N'SP800-55-rev1.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2067, N'Challenges')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2067, N'CIP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2067, N'Congressional Requesters')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2067, N'Critical Infrastructure Protection')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2067, N'Cybersecurity')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2067, N'd05434.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2067, N'Department of Homeland Security Faces Challenges in Fulfilli')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2067, N'DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2067, N'Fulfilling')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2067, N'GAO')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2067, N'GAO-05-434')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2067, N'Role')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2068, N'96')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2068, N'card')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2068, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2068, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2068, N'interoperability')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2068, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2068, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2068, N'NIST SP800-96')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2068, N'Personal identity')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2068, N'PIV')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2068, N'PIV card')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2068, N'PIV Card to Reader Interoperability Guidelines')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2068, N'reader')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2068, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2068, N'SP800-96')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2068, N'SP800-96-091106.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2068, N'verification')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2091, N'Advanced Encryption Standards')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2091, N'AES')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2091, N'CNSS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2091, N'CNSS Policy 15')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2091, N'CNSS Policy No 15 Fact Sheet 1 - National Policy on the Use ')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2091, N'cnssp_15_fs.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2091, N'Encryption')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2091, N'FIPS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2091, N'National Security Agency')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2091, N'NSA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2091, N'security information')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2091, N'Security Systems')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2092, N'6/9')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2092, N'compartmented; compartmented information')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2092, N'DCI')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2092, N'DCI directive 6/9')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2092, N'dcid6-9.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2092, N'directive')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2092, N'Director of Central Intelligence')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2092, N'Director of Central Intelligence Directive No 6-9 Physical S')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2092, N'physical security ')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2092, N'SCI')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2092, N'SCIF')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2093, N'8552')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2093, N'8552-01')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2093, N'8552.01')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2093, N'department of defense')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2093, N'DOD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2093, N'DoD Instruction 8552.01 - Use of Mobile Code Technologies in')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2093, N'DODI')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2093, N'DODI 855201.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2093, N'DODI-8552.01')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2093, N'Information systems')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2093, N'Mobile Code')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2096, N'FCD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2096, N'FCD 1')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2096, N'FCD1')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2096, N'fcd1.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2096, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2096, N'Federal Continuity Directive')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2096, N'Federal Continuity Directive 1 (FCD 1) Federal Executive Bra')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2096, N'FEMA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2096, N'National Essential Functions')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2096, N'NEF')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2096, N'NEFs')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2097, N' Encryption')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2097, N'197')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2097, N'Advanced Encryption Standard (AES)')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2097, N'AES')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2097, N'algorithm')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2097, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2097, N'cryptography')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2097, N'Federal Information Processing Standards')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2097, N'FIPS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2097, N'FIPS 197')
GO
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2097, N'FIPS 197.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2098, N'201')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2098, N'201-1')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2098, N'201.1')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2098, N'Contractors')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2098, N'Federal Employees')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2098, N'Federal Information Processing Standards')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2098, N'FIPS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2098, N'FIPS 201-1')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2098, N'FIPS 201-1-chng1.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2098, N'Personal Identity Verification')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2098, N'Personal Identity Verification (PIV) of Federal Employees an')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2098, N'PIV')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2099, N'CIP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2099, N'Critical Infrastructure')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2099, N'DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2099, N'Homeland Security Presidential Directive')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2099, N'Homeland Security Presidential Directive/HSPD-7 - Critical I')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2099, N'HSPD-7')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2099, N'HSPD-7.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2099, N'Identification')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2099, N'Prioritization')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2099, N'Protection')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2100, N' Controlled')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2100, N'Access')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2100, N'Compartmented')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2100, N'CSA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2100, N'DNI')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2100, N'Eligibility')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2100, N'Governing')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2100, N'IC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2100, N'ICD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2100, N'ICD 704')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2100, N'icd-704.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2100, N'Intelligence')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2100, N'Intelligence Community Directive Number 704')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2100, N'National Intelligence')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2100, N'Personnel Security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2100, N'SCI')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2100, N'Sensitive')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2104, N'Bolten')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2104, N'federal information')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2104, N'FISMA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2104, N'FY 2004 Reporting Instructions for the Federal Information S')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2104, N'M-04-25')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2104, N'm-4-25')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2104, N'm.04.25')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2104, N'memorandum')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2104, N'OMB')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2104, N'OMB m04-25.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2104, N'reporting instructions')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2104, N'security management')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2105, N'Implementation of Commonly Accepted Security Configurations ')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2105, N'Johnson')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2105, N'M-07-11')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2105, N'm-7-11')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2105, N'm.07.11')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2105, N'memorandum')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2105, N'OMB')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2105, N'OMB m07-11.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2105, N'security configurations')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2105, N'WIN XP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2105, N'windows')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2105, N'windows operating systems')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2105, N'XP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2106, N'acquisitions')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2106, N'common')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2106, N'Ensuring New Acquisitions Include Common Security Configurat')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2106, N'Evans')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2106, N'M-07-18')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2106, N'm-7-18')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2106, N'm.07.18')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2106, N'memorandum')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2106, N'OMB')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2106, N'OMB m07-18.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2106, N'security configurations')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2108, N'core configuration')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2108, N'desktop')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2108, N'Evans')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2108, N'FDCC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2108, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2108, N'Guidance on the Federal Desktop Core Configuration (FDCC)')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2108, N'M-08-22')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2108, N'm-8-22')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2108, N'm.08.22')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2108, N'memorandum')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2108, N'OMB')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2108, N'OMB m08-22.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2108, N'SCAP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2109, N'DNS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2109, N'DNSSEC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2109, N'domain name')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2109, N'Evans')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2109, N'IP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2109, N'M-08-23')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2109, N'm-8-23')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2109, N'm.08.23')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2109, N'memorandum')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2109, N'OMB')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2109, N'OMB m08-23.pdf')
GO
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2109, N'Securing the Federal Government''s Domain Name System Infrast')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2109, N'system infrastructure')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2111, N' information systems')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2111, N'37')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2111, N'approach')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2111, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2111, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2111, N'framework')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2111, N'Guide for Applying the Risk Management Framework to Federal ')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2111, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2111, N'life cycle')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2111, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2111, N'NIST SP800-37')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2111, N'risk management')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2111, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2111, N'SP800-37')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2111, N'SP800-37-rev1-final.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2112, N' Information Technology')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2112, N'41')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2112, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2112, N'csd')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2112, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2112, N'firewall')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2112, N'firewalls')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2112, N'Guidelines on Firewalls and Firewall Policy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2112, N'IT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2112, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2112, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2112, N'NIST SP800-41')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2112, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2112, N'SP800-41')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2112, N'SP800-41-rev1.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2113, N'46')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2113, N'broadband')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2113, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2113, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2113, N'Guide to Enterprise Telework and Remote Access Security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2113, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2113, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2113, N'NIST SP800-46')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2113, N'remote access')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2113, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2113, N'SP800-46')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2113, N'SP800-46r1.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2113, N'telecommuting')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2113, N'timework')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2114, N'48')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2114, N'802.11')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2114, N'802.11i')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2114, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2114, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2114, N'Guide to Securing Legacy IEEE 802.11 Wireless Networks')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2114, N'IEEE 802')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2114, N'IEEE 802.11')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2114, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2114, N'legacy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2114, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2114, N'NIST SP800-48')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2114, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2114, N'SP800-48')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2114, N'SP800-48r1.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2114, N'wireless')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2114, N'wireless networks')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2114, N'WLAN')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2116, N'60')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2116, N'appendices')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2116, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2116, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2116, N'Information systems')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2116, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2116, N'mapping')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2116, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2116, N'NIST SP800-60 Vol 2')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2116, N'security categories')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2116, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2116, N'SP800-60')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2116, N'SP800-60_Vol2-Rev1.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2116, N'volume 2')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2116, N'volume II')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2116, N'Volume II: Appendices to Guide for Mapping Types of Informat')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2117, N'58')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2117, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2117, N'Computer Security Incident Handling Guide (Rev 1)')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2117, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2117, N'incident handling')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2117, N'incident response')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2117, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2117, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2117, N'NIST SP800-61')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2117, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2117, N'SP800-58')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2117, N'SP800-61rev1.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2118, N'63')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2118, N'authentication')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2118, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2118, N'electronic')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2118, N'electronic authentication')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2118, N'Electronic Authentication Guideline_Draft')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2118, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2118, N'ITL')
GO
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2118, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2118, N'NIST SP800-63')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2118, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2118, N'SP800-63-1')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2118, N'SP800-63-Rev1_Draft.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2120, N'70')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2120, N'checklist')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2120, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2120, N'developers')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2120, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2120, N'information technology')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2120, N'IT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2120, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2120, N'national')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2120, N'national checklist program')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2120, N'National Checklist Program for IT Products - Guidelines for ')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2120, N'NCP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2120, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2120, N'NIST SP800-70')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2120, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2120, N'SP800-70')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2120, N'SP800-70r1.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2120, N'users')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2123, N'83')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2123, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2123, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2123, N'Guide to Malware Incident Prevention and Handling')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2123, N'incident handling')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2123, N'incident prevention')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2123, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2123, N'malicious code')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2123, N'malware')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2123, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2123, N'NIST SP800-83')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2123, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2123, N'SP800-83')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2123, N'SP800-83.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2127, N'(No Suggestions)')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2127, N'802')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2127, N'802.11i')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2127, N'97')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2127, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2127, N'Establishing Wireless Robust Security Networks: A Guide to I')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2127, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2127, N'idee')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2127, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2127, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2127, N'NIST SP800-97')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2127, N'RSN')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2127, N'security networks')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2127, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2127, N'SP800-97')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2127, N'SP800-97.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2127, N'wireless')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2127, N'WLAN')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2128, N'100')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2128, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2128, N'handbook')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2128, N'information security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2128, N'Information Security Handbook: A Guide for Managers')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2128, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2128, N'managers')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2128, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2128, N'NIST SP800-100')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2128, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2128, N'SP800-100')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2128, N'SP800-100-Mar07-2007.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2129, N'111')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2129, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2129, N'devices')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2129, N'encryption')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2129, N'end user')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2129, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2129, N'Guide to Storage Encryption Technologies for End User Device')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2129, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2129, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2129, N'NIST SP800-111')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2129, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2129, N'SP800-111')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2129, N'SP800-111.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2129, N'storage')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2130, N'113')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2130, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2130, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2130, N'Guide to SSL VPNs')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2130, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2130, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2130, N'NIST SP800-113')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2130, N'Secure Socket Layer')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2130, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2130, N'SP800-113')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2130, N'SP800-113.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2130, N'SSL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2130, N'virtual private network')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2130, N'VPN')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2131, N'121')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2131, N'blue')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2131, N'bluetooth')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2131, N'bluetooth security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2131, N'computer security')
GO
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2131, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2131, N'Guide to Bluetooth Security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2131, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2131, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2131, N'NIST SP800-121')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2131, N'RF')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2131, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2131, N'SP800-121')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2131, N'SP800-121.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2131, N'tooth')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2132, N'124')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2132, N'cell')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2132, N'cellphone')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2132, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2132, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2132, N'Guidelines on Cell Phone and PDA Security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2132, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2132, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2132, N'NIST SP800-124')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2132, N'PDA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2132, N'phone')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2132, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2132, N'SP800-124')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2132, N'SP800-124.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2144, N'73')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2144, N'73-3')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2144, N'73.3')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2144, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2144, N'data model')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2144, N'end-point')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2144, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2144, N'Interfaces for Personal Identity Verification: Parts 1-4')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2144, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2144, N'namespace')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2144, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2144, N'NIST SP800-73')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2144, N'NPIVP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2144, N'part 1')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2144, N'part1')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2144, N'Personal identity verification')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2144, N'PIV')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2144, N'PIV card application')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2144, N'representation')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2144, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2144, N'SP800-73-3')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2144, N'SP800-73.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2147, N'114')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2147, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2147, N'external devices')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2147, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2147, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2147, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2147, N'NIST SP800-114')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2147, N'remote access')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2147, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2147, N'SP800-114')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2147, N'SP800-114.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2147, N'timework')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2147, N'User''s Guide to Securing External Devices for Telework and R')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2148, N'Daniels')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2148, N'Guidance for Preparing and Submitting Security Plans of Acti')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2148, N'M-02-01')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2148, N'M.02.01')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2148, N'memorandum')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2148, N'OMB')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2148, N'OMB m02-01.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2148, N'plan of action and milestones')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2148, N'POA&M')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2148, N'POAM')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2148, N'security plan')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2161, N'Audit')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2161, N'COBIT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2161, N'COBIT 4.1')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2161, N'COBIT4.1.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2161, N'Control Association')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2161, N'control objectives')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2161, N'Control Objectives for Information and related Technology (4')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2161, N'Information Systems')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2161, N'information technology')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2161, N'ISACA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2161, N'it')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2162, N'20')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2162, N'audit')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2162, N'baseline')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2162, N'CAG')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2162, N'cag.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2162, N'CNCI')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2162, N'consensus')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2162, N'consensus audit guidelines')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2162, N'Consensus Audit Guidelines - 20 Critical Security Controls 1')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2162, N'controls')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2162, N'critical')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2162, N'Cyber Defense')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2162, N'guidelines')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2162, N'prioritized')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2162, N'security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2174, N'catalog of control systems security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2174, N'Catalog of Control Systems Security: Recommendations for Sta')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2174, N'catalog of recommendations')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2174, N'CIKR')
GO
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2174, N'COR')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2174, N'COR 2010')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2174, N'COR Ver6.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2174, N'CSSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2174, N'DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2174, N'NCSD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2192, N'Acceptable InfoSec Use Policy Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2192, N'acceptable use')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2192, N'AcceptableUsePolicy_SANS.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2192, N'InfoSec Use Policy-SANS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2192, N'internet use')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2192, N'Policy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2192, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2192, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2202, N'definitions')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2202, N'glossary')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2202, N'Glossary of Terms Used in NERC Reliability Standards')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2202, N'NERC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2202, N'NERC Glossary of Terms')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2202, N'NERC_Glossary_of_Terms_2010April20.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2202, N'terms')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2203, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2203, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2203, N'Guide to NIST Information Security Documents')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2203, N'Information security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2203, N'Information security documents')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2203, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2203, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2203, N'NIST Doc Guide')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2203, N'NIST Doc Guide.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2204, N'definitions')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2204, N'Glossary')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2204, N'Glossary of Key Information Security Terms - NIST Draft')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2204, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2204, N'NIST IR-7298 Draft')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2204, N'NIST IR-7298 Draft rev1.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2204, N'terms')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2205, N'122')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2205, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2205, N'CSD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2205, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2205, N'Guide to Protecting the Confidentiality of Personally Identi')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2205, N'Information Technology')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2205, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2205, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2205, N'NIST SP800-122')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2205, N'Personally Identifiable Information')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2205, N'PII')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2205, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2205, N'SP800-122')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2205, N'SP800-122.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2208, N'34')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2208, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2208, N'contingency planning')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2208, N'Contingency Planning Guide for Information Technology System')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2208, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2208, N'information technology')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2208, N'IT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2208, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2208, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2208, N'NIST SP800-34')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2208, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2208, N'SP800-34')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2208, N'SP800-34-rev1.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2209, N' low impact')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2209, N'53')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2209, N'annex')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2209, N'baseline')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2209, N'Baseline Security Controls_Low-Impact Information Systems')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2209, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2209, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2209, N'information system')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2209, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2209, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2209, N'NIST SP800-53 Annex 1')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2209, N'security controls')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2209, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2209, N'SP800-53')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2209, N'SP800-53-rev3-Annex1.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2210, N'53')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2210, N'annex')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2210, N'baseline')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2210, N'Baseline Security Controls_Moderate-Impact Information Syste')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2210, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2210, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2210, N'information system')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2210, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2210, N'moderate impact')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2210, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2210, N'NIST SP800-53 Annex 2')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2210, N'security controls')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2210, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2210, N'SP800-53')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2210, N'SP800-53-rev3-Annex2.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2211, N'53')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2211, N'annex')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2211, N'baseline')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2211, N'Baseline Security Controls_High-Impact Information Systems')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2211, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2211, N'federal')
GO
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2211, N'high impact')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2211, N'information system')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2211, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2211, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2211, N'NIST SP800-53 Annex 3')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2211, N'security controls')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2211, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2211, N'SP800-53')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2211, N'SP800-53-rev3-Annex3.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2212, N'56')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2212, N'ASC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2212, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2212, N'cryptography')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2212, N'Discrete Logarithm')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2212, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2212, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2212, N'key')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2212, N'logarithm')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2212, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2212, N'NIST SP800-56A')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2212, N'pair-wise')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2212, N'Recommendation for Pair-Wise Key Establishment Schemes Using')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2212, N'schemes')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2212, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2212, N'SP800-56')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2212, N'SP800-56A_Rev1.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2212, N'X9')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2213, N'56')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2213, N'ASC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2213, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2213, N'cryptography')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2213, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2213, N'integer factorization')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2213, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2213, N'key')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2213, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2213, N'NIST SP800-56B')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2213, N'pair-wise')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2213, N'Recommendation for Pair-Wise Key Establishment Schemes Using')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2213, N'RSA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2213, N'schemes')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2213, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2213, N'SP800-56')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2213, N'SP800-56B.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2213, N'X9')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2214, N'56')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2214, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2214, N'DRAFT Recommendation for Key Derivation through Extraction-t')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2214, N'Extraction')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2214, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2214, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2214, N'Key Derivation')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2214, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2214, N'NIST SP800-56C Draft')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2214, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2214, N'SP800-56')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2214, N'SP800-56C-draft.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2216, N'change')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2216, N'change control')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2216, N'change management')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2216, N'Change Management Plan Template - HHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2216, N'Change Mgt Plan-HHS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2216, N'ChangeMgtPlan_template_HHS.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2216, N'HHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2216, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2217, N'Contingency')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2217, N'contingency plan')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2217, N'Contingency Plan Template - NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2217, N'Contingency Plan- NIST Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2217, N'ContingencyPlan_template_NIST.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2217, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2218, N'contingency')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2218, N'Contingency Plan_IT-HHS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2218, N'ContingencyPlan-IT_template_HHS.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2218, N'HHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2218, N'information technology')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2218, N'Information Technology (IT) Contingency Plan template - HHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2218, N'IT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2218, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2219, N'Contingency')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2219, N'contingency plan')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2219, N'Contingency Plan Template for Systems - HHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2219, N'Contingency Plan_Sys-HHS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2219, N'ContingencyPlan-system_template_HHS.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2219, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2220, N'continuity')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2220, N'Continuity of Operations (COOP) Plan Template - DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2220, N'Continuity of Ops- DHS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2220, N'COOP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2220, N'COOP_Template_DHS.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2220, N'DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2220, N'emergency')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2220, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2221, N'continuity')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2221, N'Continuity of Operations (COOP) Plan Template - FEMA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2221, N'Continuity of Ops- FEMA Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2221, N'COOP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2221, N'COOP_Template_FEMA.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2221, N'emergency')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2221, N'FEMA')
GO
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2221, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2222, N'CyberSec')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2222, N'CyberSec Plan-NRC Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2222, N'cybersecurity')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2222, N'Cybersecurity Plan template - NRC RG-5.71')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2222, N'CyberSecurityPlan-RG5.71.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2222, N'NRC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2222, N'RG-5.71')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2222, N'security plan')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2222, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2223, N'CC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2223, N'CC Part 1')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2223, N'CCMB-2006-09-001')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2223, N'CCPART1V3.1R1.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2223, N'common criteria')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2223, N'Common Criteria for Information Technology Security Evaluati')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2223, N'evaluation')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2223, N'general model')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2223, N'PP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2223, N'protection profile')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2223, N'security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2223, N'ST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2223, N'target')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2223, N'target evaluation')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2223, N'TOE')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2224, N'accreditation')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2224, N'card')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2224, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2224, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2224, N'Guidelines for the Accreditation of Personal Identity Verifi')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2224, N'issuers')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2224, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2224, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2224, N'NIST SP800-79-1')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2224, N'PCI')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2224, N'personal identity verification')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2224, N'PIV')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2224, N'SP800-79-1')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2224, N'SP800-79-1.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2225, N'business')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2225, N'continuity')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2225, N'COOP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2225, N'DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2225, N'Disaster')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2225, N'Disaster Preparedness and Business Continuity Plan-DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2225, N'DisasterPreparedness_DHS.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2225, N'Emerg Planning-DHS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2225, N'Preparedness')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2225, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2226, N'checklist')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2226, N'Disaster')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2226, N'DisasterPreparedness_Florida.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2226, N'incident handling')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2226, N'information technology')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2226, N'Information Technology (IT) Disaster Recovery Plan (ITDRP) G')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2226, N'IT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2226, N'IT Disaster Recovery Plan-FLA Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2226, N'ITDRP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2226, N'Recovery')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2227, N'Business Continuity')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2227, N'checklist')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2227, N'COOP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2227, N'Disaster')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2227, N'DisasterPreparedness_Nascio.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2227, N'IT Disaster Recovery and Business Continuity Toolkit')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2227, N'IT Disaster Recovery-NASCIO')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2227, N'Nascio')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2227, N'Preparedness')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2227, N'Recovery')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2227, N'toolkit')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2228, N'incident')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2228, N'incident handling')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2228, N'incident response')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2228, N'Incident Response Plan Template - HHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2228, N'Incident Response Plan-HHS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2228, N'IncidentResponsePlan_template_HHS.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2228, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2229, N'abqspin')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2229, N'information security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2229, N'Information System Security Plan Template - abqspin')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2229, N'InfoSec Plan-AbqSPIN Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2229, N'InfoSysSecurityPlan-abqspin.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2229, N'security plan')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2229, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2230, N'Information Systems Security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2230, N'Information Systems Security (ISS) Computer User''s Security ')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2230, N'InfoSec ISS-Neb Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2230, N'ISS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2230, N'ISS_Nebraska.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2230, N'Nebraska')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2230, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2231, N'Encrypt Keys-LMRs-PSWN Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2231, N'encryption')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2231, N'key')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2231, N'key management')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2231, N'Key Management Plan Template for Public Safety Land Mobile R')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2231, N'KeyMgtPlan_Template_PSWN.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2231, N'mobile radio')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2231, N'PSWN')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2231, N'public safety radio')
GO
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2231, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2232, N'HHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2232, N'PM')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2232, N'PMP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2232, N'PMP_template_HHS.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2232, N'project')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2232, N'project management')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2232, N'Project Management Plan Template - HHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2232, N'Project Mgt Plan-HHS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2232, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2233, N'hhs')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2233, N'risk')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2233, N'risk management')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2233, N'Risk Management Plan Template - HHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2233, N'Risk Mgt Plan-HHS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2233, N'RiskMgtPlan_template_HHS.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2233, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2234, N'HHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2234, N'Sec Approach Plan-HHS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2234, N'SecApproach_template_HHS.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2234, N'security approach')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2234, N'Security Approach Plan Template - HHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2234, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2235, N'Incident')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2235, N'Incident Response-HHS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2235, N'Reporting')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2235, N'SecIncidentRpt_UCDavis.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2235, N'Security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2235, N'Security Incident Response Plan Template for IT Users-UC Dav')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2235, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2235, N'UCDavis')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2236, N' planning')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2236, N'Cyber')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2236, N'SecPlan-CoSN Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2236, N'SecPlan_CoSN.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2236, N'security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2236, N'Security Planning Template - Cyber Security-CoSN')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2236, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2237, N'application')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2237, N'plan')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2237, N'SecPlan_Major Apps-USG Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2237, N'SecPlan_USG.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2237, N'Security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2237, N'Security Plan Template for Major Apps and General Support Sy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2237, N'support')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2237, N'system')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2237, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2238, N'land mobile radio')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2238, N'Land Mobile Radio System Security Planning Template-PSWN')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2238, N'lmr')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2238, N'PSWN')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2238, N'SecPlan-LMRs-PSWN Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2238, N'SecPlan_WirelessSys_PSWN.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2238, N'security plan')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2238, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2238, N'wireless')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2239, N'DoD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2239, N'SecPlan_Network-QIT Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2239, N'SecPlanTemplate_QIT.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2239, N'Security plan')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2239, N'System')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2239, N'System_Network Security Plan Template-QIT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2239, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2240, N'CIP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2240, N'DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2240, N'Guidance for Developing Sector-Specific Plans-DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2240, N'Infrastructure')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2240, N'National Infrastructure Protection')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2240, N'NIPP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2240, N'SSP Development Guidance-DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2240, N'SSPGuidance_DHS.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2241, N'HHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2241, N'SSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2241, N'SSP-HHS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2241, N'SSPTemplate_HHS.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2241, N'System Security Plan')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2241, N'System Security Plan (SSP) Template-HHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2241, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2242, N'SSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2242, N'SSP-Mod Impact-NIST Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2242, N'SSPTemplate_Moderate_NIST.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2242, N'System Security Plan')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2242, N'System Security Plan (SSP) Template_Mod Impact-NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2242, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2243, N'communications')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2243, N'DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2243, N'interoperability')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2243, N'State')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2243, N'State Comm Interoperability Plan-DHS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2243, N'State Communications Interoperability Plan-DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2243, N'StateCommPlan_Template_DHS.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2243, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2244, N'Sec Test-Eval Plan-SANS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2244, N'Security test')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2244, N'Security Test and Evaluation')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2244, N'Security Test_Evaluation (ST&E) Plan Template-NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2244, N'ST&E')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2244, N'STE')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2244, N'STE-Plan_Template_NIST.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2244, N'template')
GO
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2245, N'emergency')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2245, N'Emergency Prep Plan-TSA Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2245, N'emergency preparedness')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2245, N'SEPP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2245, N'SEPP_transportation.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2245, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2245, N'Transportation Sec_Emerg Prep Plan Template-TSA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2245, N'transportation sector')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2245, N'TSA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2246, N'CERT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2246, N'Control Systems')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2246, N'CSSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2246, N'DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2246, N'NCSD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2246, N'Securing Control Systems_US-CERT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2246, N'Strategy for Securing Control Systems-US-CERT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2246, N'Strategy for Securing Control Systems.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2247, N'05-00993 r0 Common Vulnerability.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2247, N'case study')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2247, N'CERT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2247, N'Common Control System Vulnerability_US-Cert')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2247, N'Common ICS Vulnerabilities')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2247, N'common vulnerability')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2247, N'control system')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2247, N'CSSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2247, N'DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2247, N'ICS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2247, N'man-in-the-middle')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2247, N'NCSD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2247, N'reverse engineering')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2248, N'21 Steps')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2248, N'21 Steps to Improve Cyber Security of SCADA Networks_DOE')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2248, N'21_Steps-SCADA.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2248, N'cyber security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2248, N'DOE;')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2248, N'networks')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2248, N'SCADA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2249, N'An Undirected Attack Against Critical Infrastructure_US-Cert')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2249, N'case study')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2249, N'CaseStudy-002.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2249, N'CERT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2249, N'control system')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2249, N'CSSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2249, N'DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2249, N'ICS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2249, N'NCSD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2249, N'undirected attack')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2249, N'Undirected Attack Case Study')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2250, N'Backdoors and Holes')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2250, N'Backdoors and Holes in Network Perimeters_US-Cert')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2250, N'case study')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2250, N'CaseStudy-001_CSSC.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2250, N'CERT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2250, N'control system')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2250, N'CSSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2250, N'DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2250, N'ICS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2250, N'NCSD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2250, N'network')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2250, N'perimeters')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2251, N'CERT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2251, N'Control Systems Cyber Security: Defense in Depth Strategies')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2251, N'CSSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2251, N'CyberSecDefenseStrategies.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2251, N'defense')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2251, N'Defense-in-Depth Strategies')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2251, N'depth')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2251, N'DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2251, N'ICS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2251, N'NCSD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2251, N'recommended practice')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2252, N'6 CFR 27')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2252, N'6 CFR Part 27')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2252, N'anti-terrorism')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2252, N'CFATS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2252, N'CFATS_6CFR27_Part III.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2252, N'Chemical')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2252, N'chemical facility')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2252, N'Chemical Facility Anti-Terrorism Standards (CFATS)')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2252, N'ILTA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2252, N'Security Vulnerability Assessment')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2252, N'Site Security Plan')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2252, N'SSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2252, N'SVA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2253, N'CERT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2253, N'CSSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2253, N'cybersecurity')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2253, N'Defense-in-depth')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2253, N'Defense-in-Depth Program')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2253, N'Defense_in_Depth_Oct09.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2253, N'DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2253, N'ICS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2253, N'Improving ICS Cybersecurity with Defense-in-Depth Strategies')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2253, N'NCSD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2253, N'recommended practice')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2254, N'CERT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2254, N'CSSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2254, N'DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2254, N'DHS bulletin')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2254, N'DHS Bulletin: Securing Control Systems')
GO
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2254, N'DHS Bulletin_Feb 2005 R2.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2254, N'ICS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2254, N'NCSD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2254, N'Securing Control Systems')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2255, N'CERT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2255, N'Control system')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2255, N'CSSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2255, N'DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2255, N'DHS_Procurement_Language_US-Cert.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2255, N'Language')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2255, N'NCSD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2255, N'Procurement')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2255, N'Procurement Language')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2255, N'Procurement_Language_Rev4_100809.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2256, N'CERT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2256, N'Control systems')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2256, N'Creating Cyber Forensics Plans for Control Systems_US-Cert')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2256, N'CSSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2256, N'Cyber Forensics Plans')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2256, N'Cybersecurity')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2256, N'DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2256, N'Forensics')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2256, N'Forensics_RP.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2256, N'NCSD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2256, N'recommended practice')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2257, N'A Reference Model for Control and Automation Systems in Elec')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2257, N'automation')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2257, N'CERT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2257, N'control system')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2257, N'CSSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2257, N'DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2257, N'electric power')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2257, N'Electric Power Security Model')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2257, N'ICS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2257, N'ICS_RefModel.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2257, N'NCSD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2257, N'reference model')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2257, N'report')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2258, N'CERT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2258, N'CSSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2258, N'cybersecurity')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2258, N'DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2258, N'ICS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2258, N'idee')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2258, N'Industrial Cybersecurity for Power System and SCADA Networks')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2258, N'IndustrialCyberSecurity.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2258, N'NCSD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2258, N'power system')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2258, N'Power system Security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2258, N'report')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2258, N'scads')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2259, N'CERT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2259, N'control system')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2259, N'CSSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2259, N'cyber security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2259, N'DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2259, N'ICS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2259, N'mitigation')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2259, N'Mitigations for Security Vulnerabilities Found in Control Sy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2259, N'MitigationsForVulnerabilitiesCSNetsISA.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2259, N'NCSD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2259, N'recommended practice')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2259, N'Vulnerability Mitigations')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2260, N'CERT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2260, N'CSSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2260, N'DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2260, N'ICS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2260, N'NCSD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2260, N'OLE')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2260, N'OPC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2260, N'OPC Guide')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2260, N'OPC Security WP1.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2260, N'recommended practice')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2260, N'Understanding OPC and How it is Deployed_US-Cert')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2260, N'white paper')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2261, N'CERT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2261, N'CSSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2261, N'DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2261, N'ICS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2261, N'NCSD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2261, N'OLE')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2261, N'OPC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2261, N'OPC Exposed')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2261, N'OPC Exposed_US-Cert')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2261, N'OPC Security WP2.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2261, N'recommended practice')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2261, N'server security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2261, N'white paper')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2262, N'CERT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2262, N'CSSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2262, N'DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2262, N'Hardening Guidelines for OPC Hosts_US-Cert')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2262, N'ICS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2262, N'NCSD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2262, N'OLE')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2262, N'OPC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2262, N'OPC Hardening')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2262, N'OPC Security WP3.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2262, N'recommended practice')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2262, N'server security')
GO
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2262, N'white paper')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2263, N'CERT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2263, N'control system')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2263, N'CSSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2263, N'DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2263, N'ICS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2263, N'NCSD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2263, N'patch management')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2263, N'Patch Management-US-CERT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2263, N'PatchMgt_RP_Final.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2263, N'recommended practice')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2263, N'Recommended Practice for Patch Management of Control Systems')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2264, N'CERT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2264, N'Good Practice Guide_Patch Management_NISCC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2264, N'Guide')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2264, N'NISCC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2264, N'patch management')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2264, N'Patch Management-NISCC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2264, N'PatchMgtGuide.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2265, N'CERT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2265, N'CSSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2265, N'DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2265, N'ICS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2265, N'NCSD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2265, N'Penetration Testing')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2265, N'Penetration Testing of Industrial Control Systems')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2265, N'PenetrationTesting.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2265, N'report')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2266, N'CERT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2266, N'CSSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2266, N'DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2266, N'ICS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2266, N'NCSD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2266, N'Personnel Security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2266, N'Personnel Security Guidelines_US-Cert')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2266, N'Personnel_Guide_0904.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2266, N'recommended practice')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2267, N'CERT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2267, N'CSSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2267, N'Developing an Industrial Control Systems Cybersecurity Incid')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2267, N'DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2267, N'ICS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2267, N'ICS Incident Response')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2267, N'incident response')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2267, N'NCSD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2267, N'recommended practice')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2267, N'RP_ICS_Incident_Response_100609.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2268, N'CERT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2268, N'CSSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2268, N'DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2268, N'Framework')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2268, N'Framework for SCADA Security Policy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2268, N'ICS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2268, N'NCSD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2268, N'SCADA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2268, N'SCADA Sec Policy Framework')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2268, N'SecPolicyFramework_2005_1002C.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2268, N'Security Policy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2269, N'CERT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2269, N'CSSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2269, N'DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2269, N'ICS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2269, N'modems')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2269, N'NCSD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2269, N'recommended practice')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2269, N'Recommended Practice for Securing Control System Modems_US-C')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2269, N'Securing Modems_US-CERT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2269, N'SecuringModems.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2270, N'case study')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2270, N'CERT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2270, N'control system')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2270, N'Cross-Site Scripting')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2270, N'CSSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2270, N'DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2270, N'ICS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2270, N'NCSD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2270, N'recommended practice')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2270, N'Recommended Practice Case Study: Cross-Site Scripting_US-Cer')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2270, N'XSS_Cross-Site Scripting_10-24-07_Final.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2271, N'2002')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2271, N'208')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2271, N'Bolten')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2271, N'E-government')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2271, N'M-03-22')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2271, N'M.03.22')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2271, N'memorandum')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2271, N'OMB')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2271, N'OMB Guidance for Implementing the Privacy Provisions of the ')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2271, N'OMB m03-22.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2271, N'personally identifiable information')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2271, N'PII')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2271, N'Privacy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2271, N'Privacy Provisions')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2272, N'A Summary of Control System Security Standards Activities in')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2272, N'DOE')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2272, N'Energy Sector')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2272, N'Energy_Control_Sys_Security_Stds-DOE.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2272, N'National SCADA Testbed;')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2272, N'Security Standards Activities')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2272, N'Summary of Control System Standards')
GO
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2273, N'AcqAssessPolicy_SANS.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2273, N'acquisition')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2273, N'Acquisition Assessment Policy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2273, N'Acquisition Policy-SANS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2273, N'assessment')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2273, N'information')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2273, N'infosec')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2273, N'security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2273, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2274, N'Application Service Providers (ASP) Policy Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2274, N'ASP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2274, N'ASP Policy-SANS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2274, N'ASPPolicy_SANS.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2274, N'Policy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2274, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2274, N'Service provider')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2274, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2275, N'Application Service Providers (ASP) Security Standards Templ')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2275, N'ASP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2275, N'ASP Standard-SANS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2275, N'ASPStandards_SANS.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2275, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2275, N'Service provider')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2275, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2276, N'Bluetooth')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2276, N'Bluetooth Sec Policy-SANS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2276, N'Bluetooth Security Policy Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2276, N'BluetoothSecPolicy_SANS.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2276, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2276, N'security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2276, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2277, N'chain of custody')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2277, N'Chain of Custody Form for Evidence and Property')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2277, N'ChainOfCustody_SANS.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2277, N'CoC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2277, N'CoC Form-SANS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2277, N'Evidence')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2277, N'Form')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2277, N'property')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2277, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2278, N'access security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2278, N'Database (DB) Password Policy Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2278, N'Database Credentials')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2278, N'Database Credentials-SANS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2278, N'DatabaseCredentials_SANS.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2278, N'Passwords')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2278, N'Policy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2278, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2278, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2279, N'access')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2279, N'Access Policy, Dial in-SANS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2279, N'dial')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2279, N'dial-in')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2279, N'Dial-In Access Policy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2279, N'DialInAccessPolicy_SANS.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2279, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2280, N'Computer disaster')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2280, N'Computer Disaster Recovery Plan Policy Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2280, N'Computer Disaster Recovery Policy-SANS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2280, N'disaster recovery')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2280, N'DisasterRecovery2_SANS.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2280, N'Policy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2280, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2280, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2281, N'Acceptable Encryption Policy Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2281, N'encryption')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2281, N'Encryption Policy-SANS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2281, N'EncryptionPolicy_SANS.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2281, N'Policy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2281, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2281, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2282, N'Encryption')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2282, N'Encryption Key Policy-SANS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2282, N'End User Encryption Key Protection Policy Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2282, N'EndUserEncrypKeyProt_SANS.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2282, N'key')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2282, N'Policy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2282, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2282, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2283, N'disposal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2283, N'EquipDisposalPolicy_SANS.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2283, N'Equipment Disposal Policy-SANS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2283, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2283, N'secure erase')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2283, N'Technology Equipment Disposal Policy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2283, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2284, N'Communication Log')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2284, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2284, N'Computer Security Incident Communication Log')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2284, N'ComputerSec log-SANS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2284, N'Form')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2284, N'IH_CommunicationLog_SANS.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2284, N'Incident')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2284, N'incident handling')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2284, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2285, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2285, N'Computer Security Incident Contact List')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2285, N'ComputerSec Contacts-SANS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2285, N'contact list')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2285, N'Form')
GO
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2285, N'IH_Contacts_SANS.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2285, N'Incident')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2285, N'incident handling')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2285, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2286, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2286, N'Computer Security Incident Containment Form')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2286, N'ComputerSec Containment-SANS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2286, N'Form')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2286, N'IH_Containment_SANS.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2286, N'Incident')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2286, N'Incident containment')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2286, N'incident handling')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2286, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2287, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2287, N'Computer Security Incident Eradication')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2287, N'ComputerSec Eradication-SANS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2287, N'Eradication')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2287, N'Form')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2287, N'IH_Eradication_SANS.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2287, N'Incident')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2287, N'incident handling')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2288, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2288, N'Computer Security Incident Identification')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2288, N'ComputerSec Identification-SANS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2288, N'Form')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2288, N'identification')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2288, N'IH_Identification_SANS.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2288, N'Incident')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2288, N'incident handling')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2288, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2289, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2289, N'Computer Security Incident Survey')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2289, N'ComputerSec survey-SANS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2289, N'Form')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2289, N'IH_Survey_SANS.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2289, N'Incident')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2289, N'incident handling')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2289, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2289, N'survey')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2290, N'controls')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2290, N'effectiveness')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2290, N'information security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2290, N'InfoSecControlEffectiveness_SANS.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2290, N'measurement')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2290, N'Measuring Effectiveness-SANS WP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2290, N'Measuring effectiveness in Information Security Controls')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2290, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2290, N'Whitepaper')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2291, N'development guide')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2291, N'information security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2291, N'Information Security Policy - A Development Guide for Large ')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2291, N'infosec')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2291, N'InfoSec Development Guide-SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2291, N'InfoSecPolicy Dev_1331_SANS.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2291, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2291, N'security policy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2291, N'Whitepaper')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2292, N'information sensitivity')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2292, N'Information Sensitivity Policy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2292, N'Information Sensitivity Policy-SANS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2292, N'InfoSensitivityPolicy_SANS.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2292, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2292, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2293, N'Checklist')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2293, N'Form')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2293, N'Incident')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2293, N'incident handling')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2293, N'Incident Handling Checklist-SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2293, N'Intellectual Property')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2293, N'Intellectual Property Incident Checklist')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2293, N'IPIH_Checklist_SANS.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2293, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2295, N'Contact List')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2295, N'Form')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2295, N'Incident')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2295, N'Incident Contact List-SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2295, N'incident handling')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2295, N'Intellectual Property')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2295, N'Intellectual Property Incident Contact List')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2295, N'IPIH_Contacts_SANS.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2295, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2296, N'Containment')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2296, N'Form')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2296, N'Incident')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2296, N'Incident Containment-SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2296, N'incident handling')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2296, N'Intellectual Property')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2296, N'Intellectual Property Incident Containment')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2296, N'IPIH_Containment_SANS.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2296, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2297, N'Eradication')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2297, N'Form')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2297, N'Incident')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2297, N'Incident Eradication-SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2297, N'incident handling')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2297, N'Intellectual Property')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2297, N'Intellectual Property Incident Eradication')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2297, N'IPIH_Eradication_SANS.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2297, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2298, N'Form')
GO
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2298, N'Identification')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2298, N'Incident')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2298, N'incident handling')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2298, N'Incident Identification-SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2298, N'Intellectual Property')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2298, N'Intellectual Property Incident Identification')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2298, N'IPIH_Identification_SANS.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2298, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2299, N'Internal Lab Security Policy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2299, N'lab')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2299, N'Lab Policy Template-SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2299, N'laboratory')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2299, N'LabSecPolicy_SANS.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2299, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2299, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2300, N'password')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2300, N'Password Policy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2300, N'Password Policy-SANS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2300, N'PasswordPolicy_SANS.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2300, N'Policy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2300, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2300, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2301, N'Comm Device Policy-SANS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2301, N'communication device')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2301, N'personal communication')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2301, N'Personal Communication Devices and Voicemail Policy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2301, N'PersonalCommDevice_SANS.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2301, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2301, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2301, N'voicemail')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2302, N'Policy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2302, N'Policy Primer-SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2302, N'Policy_Primer_SANS.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2302, N'primer')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2302, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2302, N'Short Primer on Developing Security Policies')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2302, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2303, N'risk')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2303, N'Risk Assess Policy-SANS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2303, N'risk assessment')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2303, N'Risk Assessment Policy Template-SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2303, N'RiskAssessPolicy_SANS.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2303, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2303, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2304, N'A Guide to Security Metrics')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2304, N'Guide')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2304, N'metrics')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2304, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2304, N'SecMetricsGuide_SANS.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2304, N'Security Metrics-SANS WP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2304, N'whitepaper')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2305, N'roadmap')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2305, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2305, N'Sec Policy Roadmap-SANS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2305, N'SecPolicyRoadMap_494_SANS.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2305, N'security policy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2305, N'Security Policy Roadmap - Process for Creating Security Poli')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2305, N'Whitepaper')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2306, N'malware')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2306, N'Policy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2306, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2306, N'server')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2306, N'Server Malware Prot Policy-SANS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2306, N'Server Malware Protection Policy Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2306, N'ServerMalwareProtection_SANS.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2306, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2307, N' configuration')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2307, N'Policy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2307, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2307, N'server')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2307, N'Server Sec Policy-SANS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2307, N'Server Security Policy Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2307, N'ServerSecurity_SANS.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2307, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2308, N'five easy steps')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2308, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2308, N'Sec Policy Technical Writing-SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2308, N'security policy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2308, N'Technical writing')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2308, N'Technical Writing for IT Security Policies in five Easy Step')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2308, N'TechWriting_SecPolicy_SANS.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2309, N'Access')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2309, N'Access Policy Template, Visitors and Contractors')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2309, N'Access Policy-SANS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2309, N'Policy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2309, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2309, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2309, N'Visitor')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2309, N'VisitorAccessPolicy_SANS.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2312, N'communication')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2312, N'Policy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2312, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2312, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2312, N'wireless')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2312, N'Wireless Comm Policy-SANS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2312, N'Wireless Communication Policy Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2312, N'WirelessCommunication_SANS.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2313, N'Policy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2313, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2313, N'template')
GO
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2313, N'wireless')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2313, N'Wireless Comm Std-SANS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2313, N'Wireless Communication Standard Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2313, N'wireless devices')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2313, N'WirelessComStandard_SANS.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2314, N'employee')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2314, N'Policy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2314, N'SANS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2314, N'template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2314, N'workstation')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2314, N'Workstation SecPolicy-SANS Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2314, N'Workstation Security Policy Template')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2314, N'WorkstationSecurity_SANS.docx')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2315, N'Banking')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2315, N'CIKR')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2315, N'Finance')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2315, N'NIPP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2315, N'NIPP_SSP-banking.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2315, N'SSA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2315, N'SSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2315, N'SSP Banking_Finance')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2315, N'SSP_Banking_Finance')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2316, N'chemical')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2316, N'CIKR')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2316, N'NIPP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2316, N'NIPP_SSP-chemical-2010.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2316, N'SSA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2316, N'SSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2316, N'SSP Chemical')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2316, N'SSP_Chemical')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2317, N'CF')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2317, N'CIKR')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2317, N'commercial')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2317, N'facilities')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2317, N'NIPP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2317, N'NIPP_SSP-commercial-facilities-2010.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2317, N'SSA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2317, N'SSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2317, N'SSP Commercial Facilities')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2317, N'SSP_Commercial Facilities')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2318, N'CIKR')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2318, N'communications')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2318, N'CSSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2318, N'NCS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2318, N'NIPP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2318, N'NIPP_SSP-communications-2010.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2318, N'SSA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2318, N'SSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2318, N'SSP Communications')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2318, N'SSP_Communications')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2319, N'CIKR')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2319, N'Critical Manufacturing')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2319, N'NIPP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2319, N'NIPP_SSP-critical-manufacturing-2010.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2319, N'SSA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2319, N'SSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2319, N'SSP Critical Manufacturing')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2319, N'SSP_Critical Manufacturing')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2320, N'CIKR')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2320, N'Dams')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2320, N'DSSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2320, N'NIPP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2320, N'NIPP_SSP-dams-2010.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2320, N'SSA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2320, N'SSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2320, N'SSP Dams')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2320, N'SSP_Dams')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2321, N'CIKR')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2321, N'Defense Industrial Base')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2321, N'DIB')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2321, N'DOD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2321, N'NIPP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2321, N'NIPP_SSP-defense-industrial-base.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2321, N'SSA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2321, N'SSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2321, N'SSP Defense Industrial Base')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2321, N'SSP_Defense Industrial Base')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2322, N'CIKR')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2322, N'DOE')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2322, N'Energy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2322, N'GCC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2322, N'NIPP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2322, N'NIPP_SSP-energy-2010.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2322, N'SCC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2322, N'SSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2322, N'SSP Energy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2322, N'SSP_Energy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2322, N'SSSA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2323, N'agriculture')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2323, N'CIKR')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2323, N'food')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2323, N'NIPP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2323, N'NIPP_SSP-food-ag-2010.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2323, N'SSA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2323, N'SSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2323, N'SSP Food_Ag')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2323, N'SSP_Food_Ag')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2324, N'CIKR')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2324, N'GCC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2324, N'Information Technology')
GO
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2324, N'IT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2324, N'ITSRA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2324, N'NIPP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2324, N'NIPP_SSP-information-tech-2010.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2324, N'SCC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2324, N'SSA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2324, N'SSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2324, N'SSP Information Technology')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2324, N'SSP_Information Technology')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2325, N'CIKR')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2325, N'DOI')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2325, N'GCC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2325, N'Icons')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2325, N'National Monuments')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2325, N'NIPP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2325, N'NIPP_SSP-national-monuments-icons.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2325, N'NMI')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2325, N'SSA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2325, N'SSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2325, N'SSP National Monuments')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2325, N'SSP_National Monuments_Icons')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2326, N'CIKR')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2326, N'NIPP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2326, N'NIPP_SSP-transportation.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2326, N'SBRM')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2326, N'SSA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2326, N'SSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2326, N'SSP Transportation')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2326, N'SSP_Transportation')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2326, N'Transportation')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2326, N'TSA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2326, N'TSGCC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2327, N'CIKR')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2327, N'EPA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2327, N'GCC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2327, N'NIPP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2327, N'NIPP_SSP-water.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2327, N'SSA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2327, N'SSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2327, N'SSP Water')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2327, N'SSP_Water')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2327, N'Water')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2327, N'WSSC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2328, N'cyber security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2328, N'DOE')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2328, N'energy sector')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2328, N'Energy Sector Roadmap')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2328, N'roadmap')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2328, N'Roadmap to Secure Control Systems in the Energy Sector')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2328, N'Roadmap_EnergySector.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2330, N'CIKA;')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2330, N'National Strategy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2330, N'National Strategy for Physical Protection')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2330, N'National Strategy for Physical Protection of Critical Infras')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2330, N'Physical Protection')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2330, N'Physical_Strategy.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2331, N'Cyberspace')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2331, N'DHS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2331, N'National Strategy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2331, N'National Strategy to Secure Cyberspace')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2331, N'National_Cyberspace_Strategy.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2340, N'5.71')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2340, N'NRC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2340, N'NRC Cyber Security Programs for Nuclear Facilities')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2340, N'NRC Reg Guide 5-71.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2340, N'NRC RG 5.71')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2340, N'nuclear')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2340, N'Nuclear Regulatory Commission')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2340, N'Regulatory Guide')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2340, N'RG')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2353, N'6 CFR 27')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2353, N'6 CFR Part 27')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2353, N'anti-terrorism')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2353, N'Appendix to Chemical Facility Anti-Terrorism Standards; Fina')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2353, N'CFATS App A')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2353, N'CFATS_6CFR27_Part II_App A.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2353, N'Chemical')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2353, N'chemical facility')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2353, N'COI, Appendix A')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2353, N'ILTA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2353, N'Security Vulnerability Assessment')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2353, N'Site Security Plan')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2353, N'SSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2353, N'STG')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2353, N'SVA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2356, N'CCSMM')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2356, N'Community')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2356, N'Community CCM')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2356, N'Community Cyber Security Maturity Model')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2356, N'Community Cyber Security Maturity Model_2007f.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2356, N'Cyber')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2356, N'Maturity model')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2356, N'Report')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2357, N'CSC_NCSD_Cyber_StormII_final09.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2357, N'cyber exercise;')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2357, N'Cyber Storm II')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2357, N'Cyber Storm II Final Report')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2358, N'Aggregated data protection')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2358, N'aggregation')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2358, N'data')
GO
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2358, N'data protection')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2358, N'Data-Agg-120605.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2358, N'Protecting Aggregated Data')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2359, N'Continuing Denial of Service Threat Posed by DNS Recursion')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2359, N'DDoS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2359, N'denial of service')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2359, N'dns')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2359, N'DNS Recursion')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2359, N'DNS-recursion033006.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2359, N'us-cert')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2361, N'audit')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2361, N'emerging threats')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2361, N'GAO')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2361, N'GAO-09-432T')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2361, N'GAO-09-432T_10Mar09.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2361, N'Key Improvements Are Needed to Strengthen the Nation''s Postu')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2361, N'Powner')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2361, N'strategy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2361, N'Testimony')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2362, N'Characteristics of Effective Security Governance')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2362, N'Effective security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2362, N'ESP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2362, N'GES')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2362, N'GES Characteristics')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2362, N'GES_IG_1_0702.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2362, N'governance')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2363, N'Carnegie Mellon')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2363, N'IMAF')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2363, N'IMAF;')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2363, N'IMAF_10tn025.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2363, N'Integrated Measurement and Analysis Framework')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2363, N'Integrated Measurement and Analysis Framework for Software S')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2363, N'SEI')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2364, N'Basics')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2364, N'Information Security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2364, N'Infosec')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2364, N'InfoSecurity Basics')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2364, N'InfoSecurityBasics.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2364, N'Introduction to Information Security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2365, N'<NAME>')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2365, N'Comparing Insider IT Sabotage and Espionage: A Model-Based A')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2365, N'espionage')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2365, N'insider threat')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2365, N'Insider Threat_Comparison')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2365, N'Insiderthreat_06tr026.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2365, N'sabotage')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2366, N'big picture')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2366, N'Carnegie Mellon')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2366, N'insider threat')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2366, N'Insider Threat_IT Big Picture')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2366, N'Insiderthreat_08tr009.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2366, N'IT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2366, N'The Big Picture of Insider IT Sabotage Across U.S. Critical ')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2367, N'An Analysis of Technical Observations in Insider Theft of In')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2367, N'<NAME>')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2367, N'insider threat')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2367, N'Insider Threat_Analysis')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2367, N'Insiderthreat_11tn006.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2367, N'intellectual property')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2367, N'IP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2367, N'technical observations')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2369, N'Carnegie Mellon')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2369, N'common sense')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2369, N'Common Sense Guide to Prevention and Detection of Insider Th')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2369, N'insider threat')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2369, N'Insider Threat_Common Sense Guide')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2369, N'Insiderthreat_CSG-V3.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2370, N'<NAME>')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2370, N'CyLab')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2370, N'foreign government')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2370, N'insider threat')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2370, N'Insider Threat foreign')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2370, N'Insiderthreat_ForeignTheftIP.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2370, N'intellectual property')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2370, N'IP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2370, N'Spotlight On')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2370, N'Spotlight On: Insider Theft of Intellectual Property inside ')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2371, N'Carnegie Mellon')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2371, N'Government Sector')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2371, N'insider threat')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2371, N'Insider Threat Study: Illicit Cyber Activity in the Governme')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2371, N'Insider Threat_Gov')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2371, N'Insiderthreat_gov2008.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2372, N'<NAME>')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2372, N'Information Technology and Telecommunications Sector')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2372, N'insider threat')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2372, N'Insider Threat Study: Illicit Cyber Activity in the Informat')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2372, N'Insider Threat_IT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2372, N'Insiderthreat_it2008.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2372, N'IT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2373, N'Carnegie Mellon')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2373, N'CyLab')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2373, N'insider threat')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2373, N'Insider Threat_IUC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2373, N'Insiderthreat_IUC_March 2009P.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2373, N'malicious insider')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2373, N'Spotlight On')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2373, N'Spotlight On: Malicious Insiders with Ties to the Internet U')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2373, N'underground')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2374, N'<NAME>')
GO
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2374, N'insider threat')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2374, N'Insider Threat_MERIT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2374, N'Insiderthreat_MERIT.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2374, N'management and education')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2374, N'Management and Education of the Risk of Insider Threat (MERI')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2374, N'MERIT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2375, N'attack tool')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2375, N'<NAME>')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2375, N'CyLab')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2375, N'insider threat')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2375, N'Insider Threat_ProgTech')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2375, N'Insiderthreat_programmers_1208.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2375, N'program')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2375, N'Spotlight On')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2375, N'Spotlight On: Programming Techniques Used as an Insider Atta')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2375, N'technique')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2376, N'Carnegie Mellon')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2376, N'CyLab')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2376, N'insider threat')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2376, N'Insider Threat_TBP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2376, N'Insiderthreat_TBP0210.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2376, N'Spotlight On')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2376, N'Spotlight On: Insider Threat from Trusted Business Partners')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2376, N'TBP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2376, N'Trusted Business Partner')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2378, N'internet protocol')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2378, N'IPv6')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2378, N'IPv6 Malware-Tunneling.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2378, N'Malware')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2378, N'Malware tunneling')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2378, N'Malware Tunneling in IPv6')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2378, N'tunneling')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2379, N' bot')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2379, N'botnet')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2379, N'Malware threats')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2379, N'Malware Threats and Mitigation Strategies')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2379, N'MalwareThreatsMitigation.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2379, N'mitigation')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2379, N'us-cert')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2381, N'Carnegie Mellon')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2381, N'Network Monitor_11tr005.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2381, N'Network monitoring')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2381, N'Network Monitoring for Web-Based Threats')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2381, N'SEI')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2382, N'Cyber-ecosystem')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2382, N'cyberspace')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2382, N'distributed security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2382, N'ecosystem')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2382, N'Enabling Distributed Security in Cyberspace')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2382, N'healthy cyber ecosystem')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2382, N'napped')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2382, N'NPPD-CyberEcosystem-WP-03-23-2011.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2383, N'audit')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2383, N'DHS Needs to Improve the Security Posture of Its Cybersecuri')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2383, N'Inspector General')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2383, N'OIG, NCSD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2383, N'OIG-10-111')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2383, N'OIG-10-111_Aug10.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2383, N'US-CERT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2384, N'Phishing')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2384, N'Phishing_Trends_0511.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2384, N'Phising')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2384, N'social engineering')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2384, N'Technical Trends')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2384, N'Technical Trends in Phishing Attacks')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2385, N'<NAME>')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2385, N'Identifying Anomalous Port-Specific Network Behavior')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2385, N'Port monitor_10tr010.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2385, N'Port monitoring')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2385, N'SEI')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2386, N'Safe social networking')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2386, N'Safe_Social_Networking.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2386, N'social network;')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2386, N'Socializing Securely: Using Social Networking Services')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2387, N'risk')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2387, N'social network')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2387, N'Social Networking and Security Risks')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2387, N'Social networking risks')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2387, N'Social-Networking_Security-Risks.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2388, N'infosec')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2388, N'Spyware')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2388, N'Spyware basics')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2388, N'Spyware Overview.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2389, N'attack technique')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2389, N'SQL Injection')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2389, N'SQL_Inject_200901.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2389, N'TIP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2389, N'us-cert')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2390, N'Adapting the SQUARE Process for Privacy Requirements Enginee')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2390, N'<NAME>')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2390, N'Privacy requirements')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2390, N'Security Quality Requirements Engineering')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2390, N'SEI')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2390, N'SQUARE')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2390, N'SQUARE_10tn022.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2391, N'<NAME>')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2391, N'R-SQUARE')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2391, N'Security Quality Requirements Engineering')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2391, N'Security Requirements')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2391, N'Security Requirements Reusability and the SQUARE Methodology')
GO
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2391, N'SEI')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2391, N'SQUARE')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2391, N'SQUARE_10tn027.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2392, N'acquisition')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2392, N'Acquisition requirements')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2392, N'Adapting the SQUARE Method for Security Requirements Enginee')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2392, N'<NAME>')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2392, N'Security Quality Requirements Engineering')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2392, N'SEI')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2392, N'SQUARE')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2392, N'SQUARE_Acquisition.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2393, N'Carnegie Mellon')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2393, N'SAF;')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2393, N'SEI')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2393, N'Software survivability')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2393, N'survivability')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2393, N'Survivability Analysis Framework')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2393, N'Survivability_10tn013.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2394, N'Cisco')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2394, N'Internet Protocol ')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2394, N'IP Security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2394, N'IPv4')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2394, N'IPv6')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2394, N'IPv6 - IPv4 threats')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2394, N'IPv6 and IPv4 Threat Comparison and Best-Practice Evaluation')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2394, N'IPv6-IPv4-threats.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2395, N'Cyber Threats')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2395, N'Cyber Threats to Mobile Devices')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2395, N'Devices')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2395, N'Mobile')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2395, N'Technical Information Paper-TIP-10-105-01. Cyber Threats to')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2395, N'TIP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2395, N'TIP-10-105-01_Mobile Devices.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2395, N'us-cert')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2396, N'Best Practices')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2396, N'System Integrity')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2396, N'System Integrity Best Practices')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2396, N'Technical Information Paper-TIP-11-075-01. System Integrity')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2396, N'TIP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2396, N'TIP-11-075-01_System Integrity.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2396, N'us-cert')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2397, N'Botnet')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2397, N'Coreflood')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2397, N'Coreflood Trojan Botnet')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2397, N'malware')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2397, N'Technical Information Paper-TIP-11-103-01. Coreflood Trojan')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2397, N'TIP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2397, N'TIP-11-103-01_Coreflood.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2397, N'Trojan')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2397, N'us-cert')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2398, N'Recovering from a Trojan Horse or Virus')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2398, N'trojan')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2398, N'Trojan horse')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2398, N'Trojan recovery')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2398, N'Trojan-Recovery.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2398, N'virus, recovery')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2399, N'Understanding Voice over Internet Protocol (VoIP)')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2399, N'Understanding VoIP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2399, N'Understanding_VOIP.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2399, N'us-cert')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2399, N'Voice over Internet Protocol')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2399, N'VoIP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2400, N'us-cert')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2400, N'Using Wireless Technology Securely')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2400, N'wireless')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2400, N'Wireless Security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2400, N'Wireless-Security.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2401, N'Effective security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2401, N'GES')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2401, N'GES Implementation Guide')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2401, N'GES_IG_0708.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2401, N'governance')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2401, N'Governing for Enterprise Security (GES)')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2401, N'networked systems')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2401, N'survivability')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2402, N'Defining an Effective Enterprise Security Program (ESP)')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2402, N'Effective security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2402, N'ESP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2402, N'GES')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2402, N'GES Description')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2402, N'GES_IG_2_0703.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2402, N'governance')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2403, N'Effective security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2403, N'Enterprise Security Governance Activities')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2403, N'ESP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2403, N'GES')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2403, N'GES Description Detail')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2403, N'GES_IG_3_0703.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2403, N'governance')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2404, N'Effective security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2404, N'ESP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2404, N'GES')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2404, N'GES Networked Systems')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2404, N'GES_Networks_0505.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2404, N'governance')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2404, N'Governing for Enterprise Security (GES) - Networked Systems ')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2405, N'Effective security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2405, N'ESP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2405, N'GES')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2405, N'GES Roles and Responsibilities')
GO
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2405, N'GES_R&R_artifact.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2405, N'governance')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2405, N'Governing for Enterprise Security (GES) Implementation Guide')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2406, N'7275')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2406, N'configuration checklist')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2406, N'description format')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2406, N'Extensible')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2406, N'IR')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2406, N'IR-7275')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2406, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2406, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2406, N'NIST IR-7275_Draft')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2406, N'NIST IR-7275_Draft R4.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2406, N'Specification for the Extensible Configuration Checklist Des')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2406, N'xccdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2407, N'7328')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2407, N'credentialing')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2407, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2407, N'IR')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2407, N'IR-7328')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2407, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2407, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2407, N'NIST IR-7328_Draft')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2407, N'NIST IR-7328_Draft.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2407, N'security assessment provider')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2407, N'Security Assessment Provider Requirements and Customer Respo')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2408, N'7511')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2408, N'automation')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2408, N'IR')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2408, N'IR-7511')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2408, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2408, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2408, N'NIST IR-7511_Draft')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2408, N'NIST IR-7511_Draft 2.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2408, N'NVD')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2408, N'SCAP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2408, N'Security Content')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2408, N'Security Content Automation Protocol (SCAP) Version 1.0 Vali')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2409, N'7517')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2409, N'CMSS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2409, N'Common Misuse Scoring System (CMSS): Metrics for Software Fe')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2409, N'CVSS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2409, N'IR')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2409, N'IR-7517')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2409, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2409, N'misuse')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2409, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2409, N'NIST IR-7517_Draft')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2409, N'NIST IR-7517_Draft.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2409, N'scoring')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2410, N'7622')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2410, N'IR')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2410, N'IR-7622')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2410, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2410, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2410, N'NIST IR-7622_Draft')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2410, N'NIST IR-7622_Draft.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2410, N'Piloting Supply Chain Risk Management Practices for Federal ')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2410, N'supply chain, acquisition')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2411, N'7669')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2411, N'IR')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2411, N'IR-7669')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2411, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2411, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2411, N'NIST IR-7669_Draft')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2411, N'NIST IR-7669_Draft.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2411, N'Open Vulnerability and Assessment Language (OVAL) Validation')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2411, N'OVAL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2411, N'validation')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2411, N'vulnerability and asset language')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2412, N'7693')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2412, N'asset identification')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2412, N'IR')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2412, N'IR-7693')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2412, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2412, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2412, N'NIST IR-7693_Draft')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2412, N'NIST IR-7693_Draft.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2412, N'Specification for Asset Identification 1.1 (Draft)')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2413, N'7756')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2413, N'CAESARS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2413, N'CAESARS Framework Extension: An Enterprise Continuous Monito')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2413, N'continuous monitoring')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2413, N'enterprise')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2413, N'IR')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2413, N'IR-7756')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2413, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2413, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2413, N'NIST IR-7756_Draft')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2413, N'NIST IR-7756_Draft.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2415, N'800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2415, N'800-126')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2415, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2415, N'NIST SP 800-126')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2415, N'protocol')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2415, N'SCAP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2415, N'Security Content Automation')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2415, N'SP800-126')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2415, N'SP800-126_R1.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2415, N'The Technical Specification for the Security Content Automat')
GO
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2417, N'118')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2417, N'enterprise password management')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2417, N'Guide to Enterprise Password Management (Draft)')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2417, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2417, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2417, N'NIST SP800-118 Draft')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2417, N'password')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2417, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2417, N'SP800-118')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2417, N'SP800-118_Draft.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2418, N'130')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2418, N'800-130')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2418, N'A Framework for Designing Cryptographic Key Management Syste')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2418, N'cryptographic key management')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2418, N'cryptography')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2418, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2418, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2418, N'NIST SP800-130_Draft')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2418, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2418, N'SP800-130_Draft.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2419, N' Transitioning')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2419, N'131')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2419, N'131A')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2419, N'Cryptographic Algorithms')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2419, N'Key Lengths')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2419, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2419, N'NIST SP800-131A')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2419, N'SP800-131A')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2419, N'SP800-131A.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2419, N'Transitions: Recommendation for Transitioning the Use of Cry')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2420, N'1321')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2420, N'encryption')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2420, N'ILT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2420, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2420, N'NIST SP800-132')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2420, N'password')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2420, N'Password-Based Key Derivation')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2420, N'Recommendation for Password-Based Key Derivation Part 1: Sto')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2420, N'SP800-132')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2420, N'SP800-132.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2421, N'135')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2421, N'800-135')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2421, N'Application-Specific')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2421, N'CAVP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2421, N'CMVP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2421, N'IKE')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2421, N'key')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2421, N'Key Derivation Functions')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2421, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2421, N'NIST SP800-135')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2421, N'Recommendation for Existing Application-Specific Key Derivat')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2421, N'RFC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2421, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2421, N'SP800-135.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2421, N'SRTP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2421, N'SSH')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2421, N'TLS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2421, N'TPM')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2421, N'USM')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2422, N'137')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2422, N'800-137')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2422, N'information Security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2422, N'Information Security Continuous Monitoring for Federal Infor')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2422, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2422, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2422, N'NIST SP800-137_Draft')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2422, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2422, N'SP800-137_Draft.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2423, N'combinatorial')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2423, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2423, N'NIST SP800-142')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2423, N'Practical Combinatorial Testing')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2423, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2423, N'SP800-142')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2423, N'SP800-142.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2423, N'test')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2423, N'testing')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2424, N'146')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2424, N'800-146')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2424, N'cloud')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2424, N'cloud computing')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2424, N'Guidelines on Security and Privacy in Public Cloud Computing')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2424, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2424, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2424, N'NIST SP800-144_Draft')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2424, N'privacy')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2424, N'security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2424, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2424, N'SP800-144_Draft.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2425, N'145')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2425, N'800-145')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2425, N'cloud')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2425, N'cloud computing')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2425, N'definition')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2425, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2425, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2425, N'NIST SP800-145_Draft')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2425, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2425, N'SP800-145_Draft.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2425, N'The NIST Definition of Cloud Computing (Draft)')
GO
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2426, N'146')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2426, N'800-146')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2426, N'cloud')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2426, N'cloud computing')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2426, N'Cloud Computing Synopsis and Recommendations (Draft)')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2426, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2426, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2426, N'NIST SP800-146_Draft')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2426, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2426, N'SP800-146_Draft.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2427, N'147')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2427, N'800-147')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2427, N'BIOS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2427, N'BIOS Protection Guidelines')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2427, N'computer Security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2427, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2427, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2427, N'NIST SP800-147')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2427, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2427, N'SP800-147.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2428, N' Personal Identity Verification')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2428, N'85')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2428, N'85B')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2428, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2428, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2428, N'NIST SP800-85B-1_Draft')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2428, N'PIV')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2428, N'PIV Data Model')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2428, N'PIV Data Model Test Guidelines')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2428, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2428, N'SP800-85B')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2428, N'SP800-85B-1_Draft.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2429, N'7694')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2429, N'ARF')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2429, N'asset reporting')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2429, N'assets')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2429, N'IR')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2429, N'IR-7694')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2429, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2429, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2429, N'NIST IR-7694_Draft')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2429, N'NIST IR-7694_Draft.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2429, N'Specification for the Asset Reporting Format 1.1 (Draft)')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2430, N'128')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2430, N'800-128')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2430, N'Configuration Management')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2430, N'Guide for Security Configuration Management of Information S')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2430, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2430, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2430, N'NIST SP800-128_Draft')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2430, N'security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2430, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2430, N'SP800-128_Draft.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2431, N'39')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2431, N'800-39')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2431, N'Information Security Risk')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2431, N'Information System')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2431, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2431, N'Managing Information Security Risk. Organization, Mission, a')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2431, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2431, N'NIST SP800-39')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2431, N'risk')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2431, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2431, N'SP800-39.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2432, N'117')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2432, N'Guide to Adopting and Using the Security Content Automation ')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2432, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2432, N'NIST SP800-117')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2432, N'SCAP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2432, N'Security Content automation protocol')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2432, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2432, N'SP800-117')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2432, N'SP800-117.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2433, N'123')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2433, N'Guide to General Server Security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2433, N'ILT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2433, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2433, N'NIST SP800-123')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2433, N'Server Security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2433, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2433, N'SP800-123')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2433, N'SP800-123.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2434, N'70')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2434, N'70-2')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2434, N'checklist')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2434, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2434, N'developers')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2434, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2434, N'information technology')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2434, N'IT')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2434, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2434, N'national')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2434, N'national checklist program')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2434, N'National Checklist Program for IT Products - Guidelines for ')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2434, N'NCP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2434, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2434, N'NIST SP800-70 R2')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2434, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2434, N'SP800-70-2')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2434, N'SP800-70-2.pdf')
GO
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2434, N'users')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2435, N'76-1')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2435, N'biometric')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2435, N'Biometric Data Specification for Personal Identity Verificat')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2435, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2435, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2435, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2435, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2435, N'NIST SP800-76-2_Draft')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2435, N'PIV')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2435, N'SP800-76')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2435, N'SP800-76-2_Draft.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2436, N'78')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2436, N'78-3')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2436, N'algorithms')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2436, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2436, N'cryptographic')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2436, N'Cryptographic Algorithms and Key Sizes for Personal Identity')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2436, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2436, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2436, N'key sizes')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2436, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2436, N'NIST SP800-78-3')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2436, N'Personal Identity Verification')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2436, N'PIV')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2436, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2436, N'SP800-78-3')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2436, N'SP800-78-3.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2437, N'119')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2437, N'Guidelines for the Secure Deployment of IPv6')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2437, N'Internet Protocol')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2437, N'IP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2437, N'IPv6')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2437, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2437, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2437, N'NIST SP800-119')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2437, N'Secure Deployment')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2437, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2437, N'SP800-119')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2437, N'SP800-119.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2453, N'98')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2453, N'Guidelines for Securing Radio Frequency Identification (RFID')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2453, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2453, N'NIST SP-800-98')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2453, N'NIST SP800-98')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2453, N'Radio Frequency Identification')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2453, N'RFID')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2453, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2453, N'SP800-98.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2462, N'6 CFR 27')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2462, N'6 CFR Part 27')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2462, N'anti-terrorism')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2462, N'CFATS RBPS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2462, N'CFATS Risk-Based Performance Standards Guidance')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2462, N'CFATS_RBPS.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2462, N'Chemical')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2462, N'chemical facility')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2462, N'ILTA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2462, N'RBPS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2462, N'Security Vulnerability Assessment')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2462, N'Site Security Plan')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2462, N'SSP')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2462, N'SVA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2464, N'82')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2464, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2464, N'DCS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2464, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2464, N'Guide to Industrial Control Systems (ICS) Security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2464, N'ICS')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2464, N'industrial control system')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2464, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2464, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2464, N'NIST SP800-82')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2464, N'PLC')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2464, N'SCADA')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2464, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2464, N'SP800-82')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2464, N'SP800-82.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2472, N'53A')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2472, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2472, N'Guide for Assessing the Security Controls in Federal Informa')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2472, N'information security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2472, N'information system')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2472, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2472, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2472, N'NIST SP800-53A')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2472, N'risk management')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2472, N'RMF')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2472, N'security controls')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2472, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2472, N'SP800-53A')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2472, N'SP800-53A_R1.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2473, N'53')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2473, N'computer security')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2473, N'federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2473, N'information system')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2473, N'ITL')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2473, N'NIST')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2473, N'NIST SP800-53')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2473, N'Recommended Security Controls for Federal Information System')
GO
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2473, N'security controls')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2473, N'SP800')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2473, N'SP800-53')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2473, N'SP800-53_R3_errata_05-01-2010.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2474, N'5 CFR 930 Subpart C.pdf')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2474, N'5CFR')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2474, N'5CFR930')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2474, N'5CFR930_C')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2474, N'930')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2474, N'CFR')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2474, N'Federal')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2474, N'Information')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2474, N'Information Security Responsibilities for Employees who Mana')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2474, N'Information Systems')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2474, N'OPM')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2474, N'personnel management')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2474, N'Responsibilities')
INSERT [dbo].[FILE_KEYWORDS] ([Gen_File_Id], [Keyword]) VALUES (2474, N'Security')
ALTER TABLE [dbo].[FILE_KEYWORDS] WITH NOCHECK ADD CONSTRAINT [FILE_KEYWORDS_GEN_FILE_FK] FOREIGN KEY([Gen_File_Id])
REFERENCES [dbo].[GEN_FILE] ([Gen_File_Id])
ON DELETE CASCADE
GO
ALTER TABLE [dbo].[FILE_KEYWORDS] CHECK CONSTRAINT [FILE_KEYWORDS_GEN_FILE_FK]
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The Gen File Id is used to' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'FILE_KEYWORDS', @level2type=N'COLUMN',@level2name=N'Gen_File_Id'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'The Keyword is used to' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'FILE_KEYWORDS', @level2type=N'COLUMN',@level2name=N'Keyword'
GO
EXEC sys.sp_addextendedproperty @name=N'BELONGS_IN_EA', @value=N'YES' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'FILE_KEYWORDS'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'File Keywords' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'FILE_KEYWORDS'
GO
|
-- Package model
{{
config(
materialized = "table",
)
}}
with
wer as (
SELECT
sp.sergvsdrvs,
sp.sdtrsbnt,
trim(LTRIM(sp.sresgdr, 'asecesf')) as srebstrgserg,
sp.bdfgsrg,
sp.sfnsfdgnfd,
sp.vsdfbvsdfv,
sp.sdbsdr,
sp.srgdsrbsfcgb,
s.sdrgsdrbsd,
s.sdrgngf,
s.cvyjhcth,
tspc.fgyjmgbhmv,
tspc.cgh,
tspc.ghftdnftbcfhcgnc,
tspc.ynvgnmbjmvb,
s.vgbhm,
fhdtdtnyjftgjyumh,
sp.fgufghjfghjf
FROM {{ ref('wetrghdxfh') }} as sp
inner join {{ ref('strghtdfh') }} s using(sergvsdrvs)
left join {{ ref('sdrtghsdtrh') }} as tspc
on (sp.sdtrsbnt = tspc.sdtrsbnt)
),
qwe as (
select
servsdrfvsdzrv,
min(dsfgsergsrdg) as sftgbnsbgvszd
from {{ ref('sdfgsre') }}
group by servsdrfvsdzrv
),
ert as (
SELECT
p.sdfsdgsdfg,
MAX(IFF(ce.ts is not null, 1, 0)) = 1 as has_events,
min(ce.ts) as first_event,
max(ce.ts) as last_event
FROM sdfsgdfg p
LEFT JOIN {{ ref('dsrgsdrg') }} ce
on (p.dfgsd = trim(ce.lpn)
and ce.ts > p.sdfg - interval '30 days'
and ce.ts < p.sdfg + interval '60 days'
and ce.ts < CURRENT_DATE + interval '78 hours')
GROUP BY p.sdfsdgsdfg
),
dsfg as (
SELECT
p.rfgsrdsrd,
MAX(IFF(t.success = 0, 1, 0)) = 1 as sergsdrg
FROM wer p
LEFT JOIN {{ ref('ncvbncbvnvcn') }} t
ON (p.dfg = t.dfg AND t.ertwretwetr = 'purchase')
GROUP BY p.rfgsrdsrd
)
select
p.sdfgsdg,
p.wertwert,
p.nfghncvn,
p.fgsgdfg,
p.dfgsncn,
p.sdfhgdg,
p.ghdstrh,
p.dgnsfnstrh,
p.srthsdhfgh,
p.fgdfhgdfgn,
p.dfgnhdndtf,
p.dfthstghsreg,
qwe.sdfbsrb,
qwe.sdfbsfdb,
qwe.dfdfgdr,
billing_events.ahreagre,
p.fsdgseag,
p.fb,
p.fsgfdg,
od.xcbrdbrbsdrbsg,
p.sdfgsrbsrebs,
p.sdfgsdfbsdrg,
p.sdgsdrgrgrdgs
from packages p
inner join qwe using(sdrgsrdg)
inner join ert using(sdfasef)
INNER JOIN dsfg od ON p.shipment_id = od.shipment_id
|
--
-- Copyright 2005-2014 The Kuali Foundation
--
-- Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
--
-- 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.
--
alter table kren_chnl_subscrp_t add OBJ_ID varchar2(36)
/
alter table kren_cntnt_typ_t add OBJ_ID varchar2(36)
/
alter table kren_chnl_t add OBJ_ID varchar2(36)
/
alter table kren_ntfctn_msg_deliv_t add OBJ_ID varchar2(36)
/
alter table kren_ntfctn_t add OBJ_ID varchar2(36)
/
alter table kren_prio_t add OBJ_ID varchar2(36)
/
alter table kren_prodcr_t add OBJ_ID varchar2(36)
/
alter table kren_recip_list_t add OBJ_ID varchar2(36)
/
alter table kren_sndr_t add OBJ_ID varchar2(36)
/
alter table kren_recip_t add OBJ_ID varchar2(36)
/
alter table kren_rvwer_t add OBJ_ID varchar2(36)
/
alter table kren_chnl_subscrp_t add ver_nbr NUMBER(8)
/
alter table kren_recip_list_t add ver_nbr NUMBER(8)
/
alter table kren_sndr_t add ver_nbr NUMBER(8)
/
alter table kren_recip_t add ver_nbr NUMBER(8)
|
<filename>docs/db/2.1/easyreport21.sql
/*
Navicat MySQL Data Transfer
Source Server : localhost
Source Server Version : 50532
Source Host : localhost:3306
Source Database : easyreport2
Target Server Type : MYSQL
Target Server Version : 50532
File Encoding : 65001
Date: 2017-05-25 01:35:38
*/
SET FOREIGN_KEY_CHECKS=0;
CREATE DATABASE IF NOT EXISTS easyreport2 DEFAULT CHARSET utf8 COLLATE utf8_general_ci;
use easyreport2;
-- ----------------------------
-- Table structure for ezrpt_member_module
-- ----------------------------
DROP TABLE IF EXISTS `ezrpt_member_module`;
CREATE TABLE `ezrpt_member_module` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '系统模块标识',
`parent_id` int(11) NOT NULL COMMENT '系统模块父标识',
`name` varchar(50) NOT NULL COMMENT '系统模块父标识',
`code` varchar(50) NOT NULL COMMENT '系统模块代号',
`icon` varchar(100) NOT NULL COMMENT '系统模块显示图标',
`url` varchar(100) NOT NULL COMMENT '系统模块对应的页面地址',
`path` varchar(200) NOT NULL COMMENT '从根模块到当前子模块的id路径,id之间用逗号分隔',
`has_child` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否存在子模块,0否,1 是',
`link_type` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'URL链接类型(0表示系统内部,1表示外部链接,默认 0)',
`target` varchar(20) NOT NULL COMMENT 'URL链接的target(_blank,_top等)',
`params` varchar(200) NOT NULL COMMENT 'URL链接参数',
`sequence` int(11) NOT NULL COMMENT '系统模块在当前父模块下的排序顺序',
`status` tinyint(4) NOT NULL DEFAULT '1' COMMENT '系统模块的状态,1表示启用,0表示禁用,默认为1,其他保留',
`comment` varchar(50) NOT NULL COMMENT '系统模块备注',
`gmt_created` timestamp NOT NULL DEFAULT '1980-01-01 01:01:01' COMMENT '系统模块记录创建时间',
`gmt_modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '系统模块记录更新时间戳',
PRIMARY KEY (`id`),
UNIQUE KEY `uk_module_code` (`code`),
UNIQUE KEY `uk_module_parent_id_name` (`parent_id`,`name`),
KEY `ix_path` (`path`)
) ENGINE=InnoDB AUTO_INCREMENT=55 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of ezrpt_member_module
-- ----------------------------
INSERT INTO `ezrpt_member_module` VALUES ('3', '40', '数据源', 'report.ds', 'icon-datasource', 'views/report/ds', '40,3', '0', '0', '', '', '2', '1', '数据源', '2014-10-30 06:41:24', '2015-12-17 18:13:28');
INSERT INTO `ezrpt_member_module` VALUES ('4', '40', '报表设计', 'report.designer', 'icon-chart', 'views/report/designer', '40,4', '0', '0', '', '', '1', '1', '报表设计', '2014-10-30 06:41:42', '2015-12-17 18:13:28');
INSERT INTO `ezrpt_member_module` VALUES ('7', '0', '用户权限', 'membership', 'icon-user', 'views/report/user', '7', '1', '0', '', '', '3', '1', '用户权限', '2014-10-30 06:45:47', '2015-12-17 18:13:28');
INSERT INTO `ezrpt_member_module` VALUES ('23', '7', '用户管理', 'membership.user', 'icon-member', 'views/member/user', '7,23', '0', '0', '', '', '1', '1', '用户管理', '2014-10-30 07:38:22', '2015-12-17 18:13:57');
INSERT INTO `ezrpt_member_module` VALUES ('24', '7', '角色管理', 'membership.role', 'icon-group', 'views/member/role', '7,24', '0', '0', '', '', '2', '1', '角色管理', '2014-10-30 07:38:44', '2015-12-17 18:13:57');
INSERT INTO `ezrpt_member_module` VALUES ('25', '7', '权限管理', 'membership.permission', 'icon-perm', 'views/member/permission', '7,25', '0', '0', '', '', '3', '1', '操作管理', '2014-10-30 07:39:03', '2015-12-17 18:13:57');
INSERT INTO `ezrpt_member_module` VALUES ('26', '32', '系统日志', 'membership.event', 'icon-event', 'views/member/event', '32,26', '0', '0', '', '', '3', '1', '系统日志', '2014-10-30 07:41:06', '2015-12-17 18:13:57');
INSERT INTO `ezrpt_member_module` VALUES ('31', '7', '模块管理', 'membership.module', 'icon-org', 'views/member/module', '7,31', '0', '0', '', '', '4', '1', '模块管理', '2014-10-31 02:21:46', '2015-12-17 18:13:57');
INSERT INTO `ezrpt_member_module` VALUES ('32', '0', '系统管理', 'sys', 'icon-settings4', 'views/sys/conf', '32', '1', '0', '', '', '5', '1', '系统管理', '2014-11-12 04:20:57', '2015-12-17 18:13:28');
INSERT INTO `ezrpt_member_module` VALUES ('39', '32', '系统配置', 'sys.conf', 'icon-settings2', 'views/sys/conf', '32,39', '0', '0', ' ', ' ', '2', '0', '系统配置', '2015-08-08 02:48:03', '2015-12-17 18:13:57');
INSERT INTO `ezrpt_member_module` VALUES ('40', '0', '报表管理', 'report', 'icon-designer1', 'views/report/designer', '40', '1', '0', '', '', '1', '1', '报表管理', '2015-12-14 03:45:36', '2015-12-17 18:13:28');
INSERT INTO `ezrpt_member_module` VALUES ('41', '40', '参数配置', 'report.conf', 'icon-settings', 'views/report/conf', '40,41', '0', '0', '', '', '3', '1', '参数配置', '2015-12-14 03:45:36', '2015-12-17 18:13:28');
INSERT INTO `ezrpt_member_module` VALUES ('42', '0', '计划任务', 'schedule', 'icon-scheduled1', 'views/schedule/task', '42', '1', '0', '', '', '2', '1', '计划任务', '2015-12-14 03:45:36', '2015-12-17 18:13:28');
INSERT INTO `ezrpt_member_module` VALUES ('54', '42', '任务管理', 'schedule.task', 'icon-task2', 'views/schedule/task', '42,54', '0', '0', ' ', ' ', '1', '1', '任备管理', '2016-08-29 09:43:08', '2016-08-29 09:43:12');
-- ----------------------------
-- Table structure for ezrpt_member_permission
-- ----------------------------
DROP TABLE IF EXISTS `ezrpt_member_permission`;
CREATE TABLE `ezrpt_member_permission` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '系统操作标识',
`module_id` int(11) NOT NULL COMMENT '系统模块标识',
`name` varchar(50) NOT NULL COMMENT '系统操作名称',
`code` varchar(50) NOT NULL COMMENT '系统操作唯一代号',
`sequence` int(11) NOT NULL COMMENT '系统操作的排序顺序',
`comment` varchar(50) NOT NULL COMMENT '系统操作备注',
`gmt_created` timestamp NOT NULL DEFAULT '1980-01-01 01:01:01' COMMENT '系统操作记录创建时间',
`gmt_modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '系统操作记录更新时间戳',
PRIMARY KEY (`id`),
UNIQUE KEY `uk_permisson_code` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=80 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of ezrpt_member_permission
-- ----------------------------
INSERT INTO `ezrpt_member_permission` VALUES ('2', '23', '删除用户', 'membership.user:delete', '2', '删除', '2014-10-30 08:25:52', '2014-10-30 08:24:54');
INSERT INTO `ezrpt_member_permission` VALUES ('4', '23', '编辑用户', 'membership.user:update', '3', '编辑', '2014-10-30 13:02:37', '2014-10-30 13:01:39');
INSERT INTO `ezrpt_member_permission` VALUES ('5', '23', '查看用户', 'membership.user:view', '4', '查看', '2014-10-30 13:08:23', '2014-10-30 13:07:25');
INSERT INTO `ezrpt_member_permission` VALUES ('6', '24', '添加角色', 'membership.role:add', '5', '添加', '2014-10-31 02:13:48', '2014-10-31 02:12:52');
INSERT INTO `ezrpt_member_permission` VALUES ('7', '24', '删除角色', 'membership.role:delete', '4', '删除', '2014-10-31 02:15:43', '2014-10-31 02:14:47');
INSERT INTO `ezrpt_member_permission` VALUES ('8', '24', '编辑角色', 'membership.role:update', '3', '编辑', '2014-10-31 02:16:07', '2014-10-31 02:15:10');
INSERT INTO `ezrpt_member_permission` VALUES ('9', '24', '查看角色', 'membership.role:view', '2', '查看', '2014-10-31 02:16:21', '2014-10-31 02:15:25');
INSERT INTO `ezrpt_member_permission` VALUES ('10', '25', '管理', 'membership.permission:*', '1', '管理所有权限', '2014-10-31 02:24:04', '2014-10-31 02:23:08');
INSERT INTO `ezrpt_member_permission` VALUES ('14', '31', '管理', 'membership.module:*', '1', '管理系统模块', '2014-10-31 02:28:43', '2014-10-31 02:27:46');
INSERT INTO `ezrpt_member_permission` VALUES ('15', '31', '编辑模块', 'membership.module.edit', '2', '编辑', '2014-10-31 02:29:17', '2014-10-31 02:28:20');
INSERT INTO `ezrpt_member_permission` VALUES ('16', '31', '删除模块', 'membership.module.remove', '3', '删除', '2014-10-31 02:29:38', '2014-10-31 02:28:42');
INSERT INTO `ezrpt_member_permission` VALUES ('18', '26', '查看日志', 'membership.event:view', '1', '查看', '2014-10-31 02:31:08', '2014-10-31 02:30:11');
INSERT INTO `ezrpt_member_permission` VALUES ('20', '23', '添加用户', 'membership.user:add', '1', '添加', '2014-10-31 10:29:22', '2014-10-31 10:28:26');
INSERT INTO `ezrpt_member_permission` VALUES ('21', '2', '查看', 'dashboard:view', '1', '查看仪表盘图表', '2014-11-12 03:01:11', '2014-11-12 03:01:11');
INSERT INTO `ezrpt_member_permission` VALUES ('37', '23', '管理', 'membership.user:*', '1', '用户管理', '2014-11-12 03:26:41', '2014-11-12 03:26:41');
INSERT INTO `ezrpt_member_permission` VALUES ('38', '24', '管理', 'membership.role:*', '1', '角色管理', '2014-11-12 03:27:49', '2014-11-12 03:27:49');
INSERT INTO `ezrpt_member_permission` VALUES ('58', '26', '日志管理', 'membership.event:*', '2', '日志管理', '2014-11-27 07:51:02', '2014-11-27 07:51:04');
INSERT INTO `ezrpt_member_permission` VALUES ('59', '3', '删除数据源', 'report.ds:delete', '1', '删除数据源', '2015-06-23 06:55:58', '2015-06-23 06:55:58');
INSERT INTO `ezrpt_member_permission` VALUES ('60', '3', '创建数据源', 'report.ds:add', '2', '创建数据源', '2015-06-23 06:56:18', '2015-06-23 06:56:18');
INSERT INTO `ezrpt_member_permission` VALUES ('61', '3', '修改数据源', 'report.ds:update', '3', '修改数据源', '2015-06-23 06:56:37', '2015-06-23 06:56:37');
INSERT INTO `ezrpt_member_permission` VALUES ('62', '3', '查看数据源', 'report.ds:view', '4', '查看数据源', '2015-06-23 06:57:36', '2015-06-23 06:57:36');
INSERT INTO `ezrpt_member_permission` VALUES ('63', '3', '管理数据源', 'report.ds:*', '5', '管理数据源', '2015-06-23 06:59:14', '2015-06-23 06:59:14');
INSERT INTO `ezrpt_member_permission` VALUES ('64', '41', '管理', 'report.conf:*', '1', '管理报表参数配置', '2015-06-23 07:01:44', '2015-06-23 07:01:44');
INSERT INTO `ezrpt_member_permission` VALUES ('65', '4', '管理', 'report.designer:*', '2', '报表设计管理', '2015-06-23 07:02:04', '2015-06-23 07:02:04');
INSERT INTO `ezrpt_member_permission` VALUES ('66', '4', '查看', 'report.designer:view', '10', '查看', '2015-12-17 13:24:08', '2015-12-17 13:24:08');
INSERT INTO `ezrpt_member_permission` VALUES ('67', '4', '增加', 'report.designer:add', '10', '添加', '2015-12-17 13:24:40', '2015-12-17 13:24:52');
INSERT INTO `ezrpt_member_permission` VALUES ('69', '4', '修改', 'report.designer:update', '10', '编辑', '2015-12-17 17:43:58', '2015-12-17 17:43:58');
INSERT INTO `ezrpt_member_permission` VALUES ('71', '39', '管理', 'sys.conf:*', '10', '管理', '2015-12-17 17:44:35', '2015-12-17 17:44:35');
INSERT INTO `ezrpt_member_permission` VALUES ('72', '42', '修改', 'schedule.task:update', '10', '修改任务', '2015-12-17 17:45:36', '2015-12-17 17:45:43');
INSERT INTO `ezrpt_member_permission` VALUES ('73', '42', '删除', 'schedule.task:delete', '10', '删除任务', '2015-12-17 17:46:00', '2015-12-17 17:46:00');
INSERT INTO `ezrpt_member_permission` VALUES ('74', '42', '查看', 'schedule.task:view', '10', '查看任务', '2015-12-17 17:46:19', '2015-12-17 17:46:19');
INSERT INTO `ezrpt_member_permission` VALUES ('75', '54', '管理', 'schedule.task:*', '10', '管理所有任务', '2015-12-17 17:46:50', '2015-12-17 17:46:50');
INSERT INTO `ezrpt_member_permission` VALUES ('77', '54', '增加', 'schedule.task:add', '10', 'add', '2016-09-18 23:57:09', '2016-09-18 23:57:09');
INSERT INTO `ezrpt_member_permission` VALUES ('78', '4', '预览', 'report.designer:preview', '10', '预览报表', '2016-09-27 11:09:14', '2016-09-27 11:09:14');
INSERT INTO `ezrpt_member_permission` VALUES ('79', '4', '导出', 'report.designer:export', '10', '导出excel,pdf等', '2016-09-27 11:09:55', '2016-09-27 11:09:55');
-- ----------------------------
-- Table structure for ezrpt_member_role
-- ----------------------------
DROP TABLE IF EXISTS `ezrpt_member_role`;
CREATE TABLE `ezrpt_member_role` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '系统角色标识',
`modules` varchar(1000) NOT NULL COMMENT '系统角色所拥有的模块集合(module_id以英文逗号分隔)',
`permissions` varchar(1000) NOT NULL COMMENT '系统角色所拥有的操作集合(permission_id以英文逗号分隔)',
`name` varchar(50) NOT NULL COMMENT '系统角色名称',
`code` varchar(50) NOT NULL DEFAULT '' COMMENT '系统角色英语名',
`is_system` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否为系统角色,1表示是,0表示否,默认为0',
`status` tinyint(4) NOT NULL DEFAULT '1' COMMENT '系统角色的状态,1表示启用,0表示禁用,默认为1,其他保留',
`sequence` int(11) NOT NULL COMMENT '系统角色的排序顺序',
`comment` varchar(50) NOT NULL COMMENT '系统角色备注',
`create_user` varchar(64) NOT NULL COMMENT '创建用户',
`gmt_created` timestamp NOT NULL DEFAULT '1980-01-01 01:01:01' COMMENT '系统角色记录创建时间',
`gmt_modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '系统角色记录更新时间戳',
PRIMARY KEY (`id`),
UNIQUE KEY `uk_role_code` (`code`),
UNIQUE KEY `uk_role_name` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of ezrpt_member_role
-- ----------------------------
INSERT INTO `ezrpt_member_role` VALUES ('4', '39,38,42,41,40,23,24,25,26,3,7,32,31,4', '76,75,67,66,77,64,65,74,73,72,59,60,61,62,63,69,37,20,2,4,5,38,9,8,7,6,10,14,15,16,71,70,18,58', '超级管理员', 'superAdmin', '1', '1', '1', '管理员', 'admin', '2014-10-31 14:38:09', '2015-12-18 01:48:00');
INSERT INTO `ezrpt_member_role` VALUES ('22', '39,38,42,41,40,23,24,25,26,3,7,32,31,4', '76,75,67,66,77,64,65,74,73,72,59,60,61,62,63,69,37,20,2,4,5,38,9,8,7,6,10,14,15,16,71,70,18,58', '开发人员', 'developer', '1', '1', '2', '开发人员', 'admin', '2014-11-15 12:56:56', '2015-12-18 01:47:45');
INSERT INTO `ezrpt_member_role` VALUES ('23', '3,4,40,41,42,54', '59,60,61,62,63,65,66,67,69,64,75,77,72,73,74', '测试人员', 'test', '1', '1', '10', '测试人员', 'admin', '2015-12-17 21:35:50', '2015-12-20 18:05:27');
-- ----------------------------
-- Table structure for ezrpt_member_user
-- ----------------------------
DROP TABLE IF EXISTS `ezrpt_member_user`;
CREATE TABLE `ezrpt_member_user` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '系统用户标识',
`roles` varchar(500) NOT NULL COMMENT '系统用户所属角色集合(role_id以英文逗号分隔)',
`account` varchar(64) NOT NULL COMMENT '系统用户账号',
`password` varchar(64) NOT NULL COMMENT '系统用户密码',
`salt` varchar(50) NOT NULL COMMENT '加盐',
`name` varchar(50) NOT NULL COMMENT '系统用户姓名',
`email` varchar(64) NOT NULL COMMENT '系统用户电子邮箱',
`telephone` varchar(36) NOT NULL COMMENT '系统用户用户电话号码,多个用英文逗号分开',
`status` tinyint(4) NOT NULL DEFAULT '1' COMMENT '系统用户的状态,1表示启用,0表示禁用,默认为1,其他保留',
`comment` varchar(50) NOT NULL COMMENT '系统用户备注',
`gmt_created` timestamp NOT NULL DEFAULT '1980-01-01 01:01:01' COMMENT '系统用户记录创建时间',
`gmt_modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '系统用户记录更新时间戳',
PRIMARY KEY (`id`),
UNIQUE KEY `uk_user_account` (`account`),
UNIQUE KEY `uk_user_email` (`email`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of ezrpt_member_user
-- ----------------------------
INSERT INTO `ezrpt_member_user` VALUES ('1', '4', 'admin', '436a5530ff7436c546dc<PASSWORD>7d24fff46', 'c1d69267a3fd2e207408b68f8662cf27', '管理员', '<EMAIL>', '123456789', '1', 'sa', '2015-01-05 17:38:50', '2015-01-05 17:38:50');
INSERT INTO `ezrpt_member_user` VALUES ('5', '23', 'test', 'c2b57a2b72ec4f289c8daa68aa7fb3a6', '283facc4dc9896ddb303a736be9530ea', 'tester', '<EMAIL>', '12343423423', '1', '1', '2015-12-20 18:06:59', '2015-08-14 10:04:00');
-- ----------------------------
-- Table structure for ezrpt_meta_category
-- ----------------------------
DROP TABLE IF EXISTS `ezrpt_meta_category`;
CREATE TABLE `ezrpt_meta_category` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '报表ID',
`parent_id` int(11) NOT NULL DEFAULT '0' COMMENT '父分类',
`name` varchar(50) NOT NULL COMMENT '名称',
`path` varchar(500) NOT NULL COMMENT '树型结构路径从根id到当前id的路径',
`has_child` tinyint(1) NOT NULL COMMENT '是否为子类别1为是,0为否',
`status` int(11) NOT NULL COMMENT '状态(1表示启用,0表示禁用,默认为0)',
`sequence` int(11) NOT NULL COMMENT '节点在其父节点中的顺序',
`comment` varchar(500) NOT NULL COMMENT '说明备注',
`gmt_created` timestamp NOT NULL DEFAULT '1980-01-01 01:01:01' COMMENT '创建时间',
`gmt_modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
PRIMARY KEY (`id`),
UNIQUE KEY `uk_parent_id_name` (`parent_id`,`name`),
KEY `ix_path` (`path`(255))
) ENGINE=InnoDB AUTO_INCREMENT=717 DEFAULT CHARSET=utf8 COMMENT='报表类别表';
-- ----------------------------
-- Records of ezrpt_meta_category
-- ----------------------------
INSERT INTO `ezrpt_meta_category` VALUES ('711', '0', '中国空气(MySQL)', '711', '0', '0', '100', '', '2015-01-29 17:54:49', '2016-09-22 23:06:48');
INSERT INTO `ezrpt_meta_category` VALUES ('716', '0', '中国天气(MySQL)', '716', '0', '0', '100', '', '2015-02-10 15:20:31', '2016-09-22 23:06:50');
-- ----------------------------
-- Table structure for ezrpt_meta_conf
-- ----------------------------
DROP TABLE IF EXISTS `ezrpt_meta_conf`;
CREATE TABLE `ezrpt_meta_conf` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '配置字典ID',
`parent_id` int(11) NOT NULL DEFAULT '0' COMMENT '父ID',
`name` varchar(50) NOT NULL COMMENT '名称',
`key` varchar(50) NOT NULL COMMENT '配置key',
`value` varchar(1000) NOT NULL COMMENT '配置值',
`sequence` int(11) NOT NULL COMMENT '显示顺序',
`comment` varchar(50) NOT NULL COMMENT '配置说明',
`gmt_created` timestamp NOT NULL DEFAULT '1980-01-01 01:01:01' COMMENT '记录创建时间',
`gmt_modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `ezrpt_meta_conf_uk_pid_key` (`parent_id`,`key`)
) ENGINE=InnoDB AUTO_INCREMENT=77 DEFAULT CHARSET=utf8 COMMENT='报表元数据配置字典表';
-- ----------------------------
-- Records of ezrpt_meta_conf
-- ----------------------------
INSERT INTO `ezrpt_meta_conf` VALUES ('1', '33', '常见统计列', 'statColumn', 'statColumn', '0', '统计列', '2015-02-10 10:23:56', '2015-02-10 10:23:56');
INSERT INTO `ezrpt_meta_conf` VALUES ('5', '1', 'AQI指数', 'aqi', '空气指数', '100', '空气指数', '2015-02-10 11:01:45', '2015-02-10 11:01:45');
INSERT INTO `ezrpt_meta_conf` VALUES ('6', '1', 'AQI指数范围', 'aqi_range', 'AQI指数范围', '100', 'AQI指数范围', '2015-02-10 11:02:34', '2015-02-10 11:02:34');
INSERT INTO `ezrpt_meta_conf` VALUES ('7', '1', '空气等级', 'quality', '空气等级', '100', '空气等级', '2015-02-10 11:03:41', '2015-02-10 11:03:41');
INSERT INTO `ezrpt_meta_conf` VALUES ('15', '33', '常见日期列', 'dateColumn', 'dateColumn', '100', '', '2015-02-10 10:23:56', '2015-02-10 10:23:56');
INSERT INTO `ezrpt_meta_conf` VALUES ('16', '15', 'dt日期', 'dt', '日期', '100', '', '2015-02-10 11:17:18', '2015-02-10 11:17:18');
INSERT INTO `ezrpt_meta_conf` VALUES ('17', '15', 'date日期', 'date', '日期', '100', '日期列', '2015-02-10 11:17:22', '2015-02-10 11:17:22');
INSERT INTO `ezrpt_meta_conf` VALUES ('18', '1', 'PM2.5细颗粒物', 'pm25', 'PM2.5细颗粒物', '100', 'PM2.5细颗粒物', '2015-02-10 11:04:31', '2015-02-10 11:04:31');
INSERT INTO `ezrpt_meta_conf` VALUES ('19', '1', 'PM10可吸入颗粒物', 'pm10', 'PM10可吸入颗粒物', '100', 'PM10可吸入颗粒物', '2015-02-10 11:05:05', '2015-02-10 11:05:05');
INSERT INTO `ezrpt_meta_conf` VALUES ('32', '33', '常见维度列', 'dimColumn', 'dimColumn', '0', '常见统计列', '2015-02-10 10:23:56', '2015-02-10 10:23:56');
INSERT INTO `ezrpt_meta_conf` VALUES ('33', '0', '报表常用元数据列', 'reportCommonMetaColum', 'reportCommonMetaColum', '0', '报表常用元数据列', '2015-02-10 10:23:56', '2015-02-10 10:23:56');
INSERT INTO `ezrpt_meta_conf` VALUES ('36', '1', '二氧化硫', 'so2', '二氧化硫(So2)', '100', '二氧化硫', '2015-02-10 11:05:57', '2015-02-10 11:05:57');
INSERT INTO `ezrpt_meta_conf` VALUES ('37', '32', '城市', 'area', '城市', '100', '', '2015-02-10 11:10:47', '2015-02-10 11:10:47');
INSERT INTO `ezrpt_meta_conf` VALUES ('38', '32', '地区', 'region', '地区', '100', '华北,华南', '2015-02-10 11:11:06', '2015-02-10 11:11:06');
INSERT INTO `ezrpt_meta_conf` VALUES ('39', '32', '省(直辖市)', 'province', '省(直辖市)', '100', '', '2015-02-10 11:11:41', '2015-02-10 11:11:41');
INSERT INTO `ezrpt_meta_conf` VALUES ('40', '32', '城市', 'city', '城市', '100', '北京,上海', '2015-02-10 11:12:01', '2015-02-10 11:12:01');
INSERT INTO `ezrpt_meta_conf` VALUES ('41', '32', '城区', 'district', '城区', '100', '海淀区、朝阳区', '2015-02-10 11:12:43', '2015-02-10 11:12:43');
INSERT INTO `ezrpt_meta_conf` VALUES ('42', '32', '标题', 'title', '标题', '100', '', '2015-02-10 11:13:30', '2015-02-10 11:13:30');
INSERT INTO `ezrpt_meta_conf` VALUES ('48', '32', '标识', 'id', '标识', '100', '', '2015-02-10 11:13:44', '2015-02-10 11:13:44');
INSERT INTO `ezrpt_meta_conf` VALUES ('49', '32', '文本', 'text', '文本', '100', '', '2015-02-10 11:14:22', '2015-02-10 11:14:22');
INSERT INTO `ezrpt_meta_conf` VALUES ('50', '32', '首字母', 'capital', '首字母', '100', '首字母', '2015-02-10 11:15:27', '2015-02-10 11:15:27');
INSERT INTO `ezrpt_meta_conf` VALUES ('52', '33', '常见可选列', 'optionalColumn', 'optionalColumn', '0', '', '2015-02-10 10:23:56', '2015-02-10 10:23:56');
INSERT INTO `ezrpt_meta_conf` VALUES ('53', '52', '二氧化氮', 'no2', '二氧化氮(No2)', '100', '', '2015-02-10 11:20:21', '2015-02-10 11:20:21');
INSERT INTO `ezrpt_meta_conf` VALUES ('54', '52', '臭氧', 'o3', '臭氧(O3)', '100', '', '2015-02-10 11:20:55', '2015-02-10 11:20:55');
INSERT INTO `ezrpt_meta_conf` VALUES ('55', '32', '代号', 'code', '代号', '100', '', '2015-02-10 11:15:09', '2015-02-10 11:15:09');
INSERT INTO `ezrpt_meta_conf` VALUES ('56', '1', '一氧化碳', 'co', '一氧化碳(Co)', '100', '一氧化碳', '2015-02-10 11:06:26', '2015-02-10 11:06:26');
INSERT INTO `ezrpt_meta_conf` VALUES ('57', '1', '二氧化氮', 'no2', '二氧化氮(No2)', '100', '二氧化氮', '2015-02-10 11:06:48', '2015-02-10 11:06:48');
INSERT INTO `ezrpt_meta_conf` VALUES ('58', '1', '臭氧', 'o3', '臭氧(O3)', '100', '臭氧', '2015-02-10 11:07:21', '2015-02-10 11:07:21');
INSERT INTO `ezrpt_meta_conf` VALUES ('59', '15', '天', 'day', '天', '100', '', '2015-02-10 11:17:10', '2015-02-10 11:17:10');
INSERT INTO `ezrpt_meta_conf` VALUES ('60', '15', '小时', 'hour', '小时', '100', '', '2015-02-10 11:17:38', '2015-02-10 11:17:38');
INSERT INTO `ezrpt_meta_conf` VALUES ('61', '15', '月度', 'month', '月度', '100', '', '2015-02-10 11:17:57', '2015-02-10 11:17:57');
INSERT INTO `ezrpt_meta_conf` VALUES ('69', '0', '数据源类型', 'dbType', 'dbType', '10', '数据源类型', '2016-09-20 13:57:36', '2016-09-20 13:57:36');
INSERT INTO `ezrpt_meta_conf` VALUES ('70', '69', 'MySQL', 'mysql', '{\r\n \"driverClass\":\"com.mysql.jdbc.Driver\",\r\n \"queryerClass\":\"com.easytoolsoft.easyreport.engine.query.MySqlQueryer\",\r\n \"jdbcUrl\":\"jdbc:mysql://${host}:${port}/${database}?characterEncoding=${encoding}\"\r\n}', '10', '', '2016-09-20 14:06:02', '2016-09-20 14:06:02');
INSERT INTO `ezrpt_meta_conf` VALUES ('71', '69', 'SQLServer', 'sqlserver', '{\r\n \"driverClass\":\"com.microsoft.sqlserver.jdbc.SQLServerDriver\",\r\n \"queryerClass\":\"com.easytoolsoft.easyreport.engine.query.SqlServerQueryer\",\r\n \"jdbcUrl\":\"jdbc:sqlserver://${host};databaseName=${database}\"\r\n}', '10', '', '2016-09-20 14:08:09', '2016-09-20 14:08:09');
INSERT INTO `ezrpt_meta_conf` VALUES ('72', '0', '数据源连接池类型', 'dbPoolType', 'dbPoolType', '10', '', '2016-09-20 14:09:21', '2016-09-20 14:09:21');
INSERT INTO `ezrpt_meta_conf` VALUES ('73', '72', 'C3P0', 'c3p0', '{\r\n \"poolClass\":\"com.easytoolsoft.easyreport.engine.dbpool.C3p0DataSourcePool\",\r\n \"options\":{\r\n \"initialPoolSize\":3,\r\n \"minPoolSize\":1,\r\n \"maxPoolSize\":10,\r\n \"maxStatements\":50,\r\n \"maxIdleTime\":1000,\r\n \"acquireIncrement\":3,\r\n \"acquireRetryAttempts\":30,\r\n \"idleConnectionTestPeriod\":60,\r\n \"breakAfterAcquireFailure\":false,\r\n \"testConnectionOnCheckout\":false\r\n }\r\n}', '10', '', '2016-09-20 14:10:46', '2016-09-20 14:10:46');
INSERT INTO `ezrpt_meta_conf` VALUES ('74', '72', 'DBCP2', 'dbcp2', '{\r\n \"poolClass\":\"com.easytoolsoft.easyreport.engine.dbpool.DBCP2DataSourcePool\",\r\n \"options\":{\r\n \"initialSize\":3,\r\n \"maxIdle\":20,\r\n \"minIdle\":1,\r\n \"logAbandoned\":true,\r\n \"removeAbandoned\":true,\r\n \"removeAbandonedTimeout\":180,\r\n \"maxWait\":1000\r\n }\r\n}', '10', '', '2016-09-20 14:11:03', '2016-09-20 14:11:03');
INSERT INTO `ezrpt_meta_conf` VALUES ('75', '72', 'Druid', 'druid', '{\r\n \"poolClass\":\"com.easytoolsoft.easyreport.engine.dbpool.DruidDataSourcePool\",\r\n \"options\":{\r\n \"initialSize\": 3,\r\n \"maxActive\": 20,\r\n \"minIdle\": 1,\r\n \"maxWait\": 60000,\r\n \"timeBetweenEvictionRunsMillis\": 60000,\r\n \"minEvictableIdleTimeMillis\": 300000,\r\n \"testWhileIdle\": true,\r\n \"testOnBorrow\": false,\r\n \"testOnReturn\": false,\r\n \"maxOpenPreparedStatements\": 20,\r\n \"removeAbandoned\": true,\r\n \"removeAbandonedTimeout\": 1800,\r\n \"logAbandoned\": true\r\n }\r\n}', '10', '', '2016-09-20 14:11:18', '2016-09-20 14:11:18');
INSERT INTO `ezrpt_meta_conf` VALUES ('76', '72', '无连接池', 'noDbPool', '{\r\n \"poolClass\":\"com.easytoolsoft.easyreport.engine.dbpool.NoDataSourcePool\",\r\n \"options\":{}\r\n}', '10', '', '2016-09-20 14:14:32', '2016-09-20 14:14:32');
-- ----------------------------
-- Table structure for ezrpt_meta_datasource
-- ----------------------------
DROP TABLE IF EXISTS `ezrpt_meta_datasource`;
CREATE TABLE `ezrpt_meta_datasource` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '数据源ID',
`uid` varchar(128) NOT NULL COMMENT '数据源唯一ID,由调接口方传入',
`name` varchar(50) NOT NULL COMMENT '数据源名称',
`driver_class` varchar(100) NOT NULL COMMENT '数据源驱动类',
`jdbc_url` varchar(500) NOT NULL COMMENT '数据源连接字符串(JDBC)',
`user` varchar(50) NOT NULL COMMENT '数据源登录用户名',
`password` varchar(100) NOT NULL COMMENT '数据源登录密码',
`queryer_class` varchar(100) NOT NULL COMMENT '获取报表引擎查询器类名',
`pool_class` varchar(100) NOT NULL COMMENT '报表引擎查询器使用的数据源连接池类名',
`options` varchar(1000) NOT NULL COMMENT '数据源配置选项(JSON格式)',
`comment` varchar(100) NOT NULL COMMENT '说明备注',
`gmt_created` timestamp NOT NULL DEFAULT '1980-01-01 01:01:01' COMMENT '记录创建时间',
`gmt_modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '记录修改时间',
PRIMARY KEY (`id`),
KEY `AK_uk_uid` (`uid`)
) ENGINE=InnoDB AUTO_INCREMENT=51 DEFAULT CHARSET=utf8 COMMENT='数据源配置信息表';
-- ----------------------------
-- Records of ezrpt_meta_datasource
-- ----------------------------
INSERT INTO `ezrpt_meta_datasource` VALUES ('49', '8b2d3b62-0c08-4d62-a666-8bb97fc9c222', '中国天气(SQLServer)', 'com.microsoft.sqlserver.jdbc.SQLServerDriver', 'jdbc:sqlserver://localhost;databaseName=ChinaWeatherAir', 'sa', 'ddd', 'com.easytoolsoft.easyreport.engine.query.SqlServerQueryer', 'com.easytoolsoft.easyreport.engine.dbpool.DBCP2DataSourcePool', '{\"initialSize\":3,\"maxIdle\":20,\"minIdle\":1,\"logAbandoned\":true,\"removeAbandoned\":true,\"removeAbandonedTimeout\":180,\"maxWait\":1000}', '', '2015-01-27 14:32:32', '2015-01-27 14:32:32');
INSERT INTO `ezrpt_meta_datasource` VALUES ('50', '6423b076-ce78-47fc-8c25-c005be2b85af', '中国天气(MySQL)', 'com.mysql.jdbc.Driver', 'jdbc:mysql://localhost:3306/china_weather_air?characterEncoding=UTF-8', 'root', 'ddd', 'com.easytoolsoft.easyreport.engine.query.MySqlQueryer', 'com.easytoolsoft.easyreport.engine.dbpool.DruidDataSourcePool', '{\"initialSize\":3,\"maxActive\":20,\"minIdle\":1,\"maxWait\":60000,\"timeBetweenEvictionRunsMillis\":60000,\"minEvictableIdleTimeMillis\":300000,\"testWhileIdle\":true,\"testOnBorrow\":false,\"testOnReturn\":false,\"maxOpenPreparedStatements\":20,\"removeAbandoned\":true,\"removeAbandonedTimeout\":1800,\"logAbandoned\":true}', '', '2015-01-29 17:54:32', '2015-01-29 17:54:32');
-- ----------------------------
-- Table structure for ezrpt_meta_report
-- ----------------------------
DROP TABLE IF EXISTS `ezrpt_meta_report`;
CREATE TABLE `ezrpt_meta_report` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '报表ID',
`uid` varchar(128) DEFAULT NULL COMMENT '报表唯一ID,由接口调用方传入',
`category_id` int(11) NOT NULL COMMENT '报表分类id',
`ds_id` int(11) NOT NULL COMMENT '数据源ID',
`name` varchar(50) NOT NULL COMMENT '报表名称',
`sql_text` text NOT NULL COMMENT '报表SQL语句',
`meta_columns` text NOT NULL COMMENT '报表列集合元数据(JSON格式)',
`query_params` text NOT NULL COMMENT '查询条件列属性集合(JSON格式)',
`options` text NOT NULL COMMENT '报表配置选项(JSON格式)',
`status` int(11) NOT NULL COMMENT '报表状态(1表示锁定,0表示编辑)',
`sequence` int(11) NOT NULL COMMENT '报表节点在其父节点中的顺序',
`comment` varchar(500) NOT NULL COMMENT '说明备注',
`create_user` varchar(50) NOT NULL COMMENT '创建用户',
`gmt_created` timestamp NOT NULL DEFAULT '1980-01-01 01:01:01' COMMENT '记录创建时间',
`gmt_modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '记录修改时间',
PRIMARY KEY (`id`),
UNIQUE KEY `uk_category_id_name` (`category_id`,`name`),
UNIQUE KEY `uk_uid` (`uid`)
) ENGINE=InnoDB AUTO_INCREMENT=721 DEFAULT CHARSET=utf8 COMMENT='报表信息表';
-- ----------------------------
-- Records of ezrpt_meta_report
-- ----------------------------
INSERT INTO `ezrpt_meta_report` VALUES ('712', 'bb7be838-31ae-41fe-ae63-4ae8efe5c138', '711', '50', '2014年北京每天空气指数', 'select * from fact_air_cn where area=\'北京市\' and year(dt)=\'2014\'', '[{\"ordinal\":0,\"name\":\"dt\",\"text\":\"日期\",\"dataType\":\"DATE\",\"expression\":\"\",\"format\":\"\",\"comment\":\"\",\"width\":10,\"decimals\":\"0\",\"type\":\"1\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"footings\":false,\"displayInMail\":false,\"optional\":false},{\"ordinal\":0,\"name\":\"aqi\",\"text\":\"空气指数\",\"dataType\":\"INT\",\"expression\":\"\",\"width\":11,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"footings\":false,\"displayInMail\":false,\"optional\":false},{\"ordinal\":0,\"name\":\"aqi_range\",\"text\":\"AQI指数范围\",\"dataType\":\"VARCHAR\",\"expression\":\"\",\"width\":20,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"footings\":false,\"displayInMail\":false,\"optional\":false},{\"ordinal\":0,\"name\":\"quality\",\"text\":\"空气等级\",\"dataType\":\"VARCHAR\",\"expression\":\"\",\"width\":10,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"footings\":false,\"displayInMail\":false,\"optional\":false},{\"ordinal\":0,\"name\":\"pm25\",\"text\":\"PM2.5细颗粒物\",\"dataType\":\"FLOAT\",\"expression\":\"\",\"width\":12,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"footings\":false,\"displayInMail\":false,\"optional\":false},{\"ordinal\":0,\"name\":\"pm10\",\"text\":\"PM10可吸入颗粒物\",\"dataType\":\"FLOAT\",\"expression\":\"\",\"width\":12,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"footings\":false,\"displayInMail\":false,\"optional\":false},{\"ordinal\":0,\"name\":\"so2\",\"text\":\"二氧化硫(So2)\",\"dataType\":\"FLOAT\",\"expression\":\"\",\"width\":12,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"footings\":false,\"displayInMail\":false,\"optional\":false},{\"ordinal\":0,\"name\":\"co\",\"text\":\"一氧化碳(Co)\",\"dataType\":\"FLOAT\",\"expression\":\"\",\"width\":12,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"footings\":false,\"displayInMail\":false,\"optional\":false},{\"ordinal\":0,\"name\":\"no2\",\"text\":\"二氧化氮(No2)\",\"dataType\":\"FLOAT\",\"expression\":\"\",\"width\":12,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"footings\":false,\"displayInMail\":false,\"optional\":false},{\"ordinal\":0,\"name\":\"o3\",\"text\":\"臭氧(O3)\",\"dataType\":\"FLOAT\",\"expression\":\"\",\"width\":12,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"footings\":false,\"displayInMail\":false,\"optional\":false}]', '', '{\"layout\":2,\"statColumnLayout\":1,\"dataRange\":7}', '1', '100', '', 'admin', '2015-01-29 17:59:14', '2016-09-26 18:40:37');
INSERT INTO `ezrpt_meta_report` VALUES ('713', '3180eafe-e4a2-4b5c-828e-e054043f6e87', '711', '50', '30天内城市空气指数', 'select * from fact_air_cn where area in (\'${area}\') and dt>=\'${startTime}\' and dt <\'${endTime}\'', '[{\"ordinal\":0,\"name\":\"dt\",\"text\":\"日期\",\"dataType\":\"DATE\",\"expression\":\"\",\"format\":\"\",\"comment\":\"\",\"width\":10,\"decimals\":\"0\",\"type\":\"1\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"optional\":false,\"footings\":false,\"displayInMail\":false},{\"ordinal\":0,\"name\":\"area\",\"text\":\"城市\",\"dataType\":\"VARCHAR\",\"expression\":\"\",\"format\":\"\",\"comment\":\"\",\"width\":20,\"decimals\":\"0\",\"type\":\"1\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"optional\":false,\"footings\":false,\"displayInMail\":false},{\"ordinal\":0,\"name\":\"aqi\",\"text\":\"空气指数\",\"dataType\":\"INT\",\"expression\":\"\",\"width\":11,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"optional\":false,\"footings\":false,\"displayInMail\":false},{\"ordinal\":0,\"name\":\"aqi_range\",\"text\":\"AQI指数范围\",\"dataType\":\"VARCHAR\",\"expression\":\"\",\"width\":20,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"optional\":false,\"footings\":false,\"displayInMail\":false},{\"ordinal\":0,\"name\":\"quality\",\"text\":\"空气等级\",\"dataType\":\"VARCHAR\",\"expression\":\"\",\"width\":10,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"optional\":false,\"footings\":false,\"displayInMail\":false},{\"ordinal\":0,\"name\":\"pm25\",\"text\":\"PM2.5细颗粒物\",\"dataType\":\"FLOAT\",\"expression\":\"\",\"width\":12,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"optional\":false,\"footings\":false,\"displayInMail\":false},{\"ordinal\":0,\"name\":\"pm10\",\"text\":\"PM10可吸入颗粒物\",\"dataType\":\"FLOAT\",\"expression\":\"\",\"width\":12,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"optional\":false,\"footings\":false,\"displayInMail\":false},{\"ordinal\":0,\"name\":\"so2\",\"text\":\"二氧化硫(So2)\",\"dataType\":\"FLOAT\",\"expression\":\"\",\"width\":12,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"optional\":false,\"footings\":false,\"displayInMail\":false},{\"ordinal\":0,\"name\":\"co\",\"text\":\"一氧化碳(Co)\",\"dataType\":\"FLOAT\",\"expression\":\"\",\"width\":12,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"optional\":false,\"footings\":false,\"displayInMail\":false},{\"ordinal\":0,\"name\":\"no2\",\"text\":\"二氧化氮(No2)\",\"dataType\":\"FLOAT\",\"expression\":\"\",\"width\":12,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"optional\":true,\"footings\":false,\"displayInMail\":false},{\"ordinal\":0,\"name\":\"o3\",\"text\":\"臭氧(O3)\",\"dataType\":\"FLOAT\",\"expression\":\"\",\"width\":12,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"optional\":true,\"footings\":false,\"displayInMail\":false}]', '[{\"name\":\"area\",\"text\":\"城市\",\"defaultValue\":\"北京市\",\"defaultText\":\"北京市\",\"dataType\":\"string\",\"width\":\"100\",\"required\":true,\"formElement\":\"selectMul\",\"dataSource\":\"sql\",\"content\":\"select distinct area as name,area as text from fact_air_cn\",\"autoComplete\":false}]', '{\"layout\":2,\"statColumnLayout\":1,\"dataRange\":30}', '1', '100', '', 'admin', '2015-01-29 18:04:46', '2016-09-26 18:40:37');
INSERT INTO `ezrpt_meta_report` VALUES ('714', '7608bb39-fa1b-4aff-bd15-b31f318e7025', '711', '50', '2014年主要城市空气质量', 'SELECT\n area,\n quality,\n count(*) total,\n count(*) / 365 as rating\nFROM\n fact_air_cn\nWHERE\n YEAR (dt) = \'2014\'\nGROUP BY\n area,\n quality', '[{\"ordinal\":0,\"name\":\"area\",\"text\":\"城市/地区\",\"dataType\":\"VARCHAR\",\"expression\":\"\",\"format\":\"\",\"comment\":\"\",\"width\":20,\"decimals\":\"0\",\"type\":\"1\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"footings\":false,\"displayInMail\":false,\"optional\":false},{\"ordinal\":0,\"name\":\"quality\",\"text\":\"空气质量\",\"dataType\":\"VARCHAR\",\"expression\":\"\",\"format\":\"\",\"comment\":\"\",\"width\":10,\"decimals\":\"0\",\"type\":\"2\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"footings\":false,\"displayInMail\":false,\"optional\":false},{\"ordinal\":0,\"name\":\"total\",\"text\":\"天数\",\"dataType\":\"BIGINT\",\"expression\":\"\",\"width\":21,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"footings\":false,\"displayInMail\":false,\"optional\":false},{\"ordinal\":0,\"name\":\"rating\",\"text\":\"占比\",\"dataType\":\"DECIMAL\",\"expression\":\"\",\"width\":26,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":true,\"optional\":false,\"footings\":false,\"displayInMail\":false}]', '', '{\"layout\":2,\"statColumnLayout\":1,\"dataRange\":7}', '1', '100', '', 'admin', '2015-01-29 18:15:19', '2016-09-26 18:40:38');
INSERT INTO `ezrpt_meta_report` VALUES ('715', 'c8258587-eb6f-4a2a-8caf-0ae236b77807', '711', '50', '2014年主要城市空气质量好坏表', 'SELECT\n area,\n quality,\n sum(total) total,\n sum(total) / 365 as rating\nFROM\n (\n SELECT\n area,\n CASE quality\n WHEN \'优\' THEN\n \'好\'\n WHEN \'良\' THEN\n \'好\'\n ELSE\n \'差\'\n END AS quality,\n count(*) total\n FROM\n fact_air_cn\n WHERE\n YEAR (dt) = \'2014\'\n GROUP BY\n area,\n quality\n ) t\nGROUP BY\n t.area,\n t.quality', '[{\"ordinal\":0,\"name\":\"area\",\"text\":\"城市/地区\",\"dataType\":\"VARCHAR\",\"expression\":\"\",\"format\":\"\",\"comment\":\"\",\"width\":20,\"decimals\":\"0\",\"type\":\"1\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"footings\":false,\"displayInMail\":false,\"optional\":false},{\"ordinal\":0,\"name\":\"quality\",\"text\":\"质量\",\"dataType\":\"VARCHAR\",\"expression\":\"\",\"format\":\"\",\"comment\":\"\",\"width\":1,\"decimals\":\"0\",\"type\":\"2\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"footings\":false,\"displayInMail\":false,\"optional\":false},{\"ordinal\":0,\"name\":\"total\",\"text\":\"天数\",\"dataType\":\"DECIMAL\",\"expression\":\"\",\"width\":43,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"footings\":false,\"displayInMail\":false,\"optional\":false},{\"ordinal\":0,\"name\":\"rating\",\"text\":\"占比\",\"dataType\":\"DECIMAL\",\"expression\":\"\",\"width\":48,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":true,\"optional\":false,\"footings\":false,\"displayInMail\":false}]', '', '{\"layout\":2,\"statColumnLayout\":1,\"dataRange\":7}', '1', '100', '', 'admin', '2015-01-29 18:31:43', '2016-09-26 18:40:39');
INSERT INTO `ezrpt_meta_report` VALUES ('717', '5beca118-e15e-4c3b-91f4-5330dc9a62dd', '716', '50', '2014年北京每天天气', 'select * from fact_weather_cn where year(dt)=2014 and area=\'北京\'', '[{\"ordinal\":0,\"name\":\"dt\",\"text\":\"日期\",\"dataType\":\"DATE\",\"expression\":\"\",\"format\":\"\",\"comment\":\"\",\"width\":10,\"decimals\":\"0\",\"type\":\"1\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"footings\":false,\"displayInMail\":false,\"optional\":false},{\"ordinal\":0,\"name\":\"weather\",\"text\":\"天气\",\"dataType\":\"VARCHAR\",\"expression\":\"\",\"width\":50,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"footings\":false,\"displayInMail\":false,\"optional\":false},{\"ordinal\":0,\"name\":\"min_temp\",\"text\":\"最低温度\",\"dataType\":\"INT\",\"expression\":\"\",\"width\":11,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"footings\":false,\"displayInMail\":false,\"optional\":false},{\"ordinal\":0,\"name\":\"max_temp\",\"text\":\"最高温度\",\"dataType\":\"INT\",\"expression\":\"\",\"width\":11,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"footings\":false,\"displayInMail\":false,\"optional\":false},{\"ordinal\":0,\"name\":\"wind_level\",\"text\":\"风级\",\"dataType\":\"VARCHAR\",\"expression\":\"\",\"width\":255,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"footings\":false,\"displayInMail\":false,\"optional\":false},{\"ordinal\":0,\"name\":\"wind_direct\",\"text\":\"风向\",\"dataType\":\"VARCHAR\",\"expression\":\"\",\"width\":255,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"footings\":false,\"displayInMail\":false,\"optional\":false}]', '', '{\"layout\":2,\"statColumnLayout\":1,\"dataRange\":7}', '1', '1', '', 'admin', '2015-02-10 15:37:11', '2016-09-26 18:40:40');
INSERT INTO `ezrpt_meta_report` VALUES ('718', 'b6e04111-75b7-4c6b-9a30-c3d7d0b846c4', '711', '50', '2014年主要城市(可选)空气质量', 'SELECT\n area,\n CASE quality\n WHEN \'优\' THEN \'1-优\'\n WHEN \'良\' THEN \'2-良\'\n WHEN \'轻度污染\' THEN \'3-轻度污染\'\n WHEN \'中度污染\' THEN \'4-中度污染\'\n WHEN \'重度污染\' THEN \'5-重度污染\'\n WHEN \'严重污染\' THEN \'6-严重污染\' \n END AS quality,\n count(*) total,\n count(*) / 365 as rating,\n avg(aqi) avg_aqi\nFROM\n fact_air_cn\nWHERE\n YEAR (dt) = \'2014\' \n AND area in (\'${area}\')\nGROUP BY\n area,\n quality\norder by total desc', '[{\"ordinal\":0,\"name\":\"area\",\"text\":\"城市\",\"dataType\":\"VARCHAR\",\"expression\":\"\",\"format\":\"\",\"comment\":\"\",\"width\":20,\"decimals\":\"0\",\"type\":\"2\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"optional\":false,\"footings\":false,\"displayInMail\":false},{\"ordinal\":0,\"name\":\"quality\",\"text\":\"空气等级\",\"dataType\":\"VARCHAR\",\"expression\":\"\",\"width\":6,\"decimals\":\"0\",\"type\":\"1\",\"sortType\":\"3\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"optional\":false,\"footings\":false,\"displayInMail\":false},{\"ordinal\":0,\"name\":\"total\",\"text\":\"天数\",\"dataType\":\"BIGINT\",\"expression\":\"\",\"width\":21,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"footings\":false,\"optional\":false,\"percent\":false,\"displayInMail\":false},{\"ordinal\":0,\"name\":\"rating\",\"text\":\"占比\",\"dataType\":\"DECIMAL\",\"expression\":\"\",\"width\":26,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"footings\":false,\"optional\":false,\"percent\":true,\"displayInMail\":false},{\"ordinal\":0,\"name\":\"avg_aqi\",\"text\":\"AQI均值\",\"dataType\":\"DECIMAL\",\"expression\":\"\",\"width\":16,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"optional\":false,\"displayInMail\":false,\"footings\":false}]', '[{\"name\":\"area\",\"text\":\"城市\",\"defaultValue\":\"北京市\",\"defaultText\":\"北京市\",\"dataType\":\"string\",\"width\":\"100\",\"formElement\":\"selectMul\",\"dataSource\":\"sql\",\"content\":\"select distinct area as name,area as text from fact_air_cn\",\"required\":false,\"autoComplete\":false}]', '{\"layout\":1,\"statColumnLayout\":1,\"dataRange\":7}', '1', '100', '', 'admin', '2015-02-11 18:58:46', '2016-09-26 18:40:40');
INSERT INTO `ezrpt_meta_report` VALUES ('719', 'a6233a37-18b2-4ec9-8ca1-90e8fe3ffed1', '711', '50', '2014年分地区城市空气质量', 'SELECT\n t1.region,\n t1.province,\n t2.area,\n CASE t2.quality\n WHEN \'优\' THEN \'1-优\'\n WHEN \'良\' THEN \'2-良\'\n WHEN \'轻度污染\' THEN \'3-轻度污染\'\n WHEN \'中度污染\' THEN \'4-中度污染\'\n WHEN \'重度污染\' THEN \'5-重度污染\'\n WHEN \'严重污染\' THEN \'6-严重污染\' \n END AS quality,\n count(*) total,\n count(*) / 365 AS rating\nFROM\n (\n SELECT DISTINCT\n t1.region,\n t1.province,\n t1.city\n FROM\n dim_area_cn t1\n ) t1\nINNER JOIN fact_air_cn t2 ON t1.city = t2.area\nWHERE\n YEAR (t2.dt) = \'2014\'\n AND t1.region like \'%${region}%\'\n AND t1.province like \'%${province}%\'\n AND t2.area like \'%${area}%\'\nGROUP BY\n t1.region,\n t1.province,\n t2.area,\n t2.quality', '[{\"ordinal\":0,\"name\":\"region\",\"text\":\"地区\",\"dataType\":\"VARCHAR\",\"expression\":\"\",\"format\":\"\",\"comment\":\"\",\"width\":10,\"decimals\":\"0\",\"type\":\"1\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"optional\":false,\"footings\":false,\"displayInMail\":false},{\"ordinal\":0,\"name\":\"province\",\"text\":\"省(直辖市)\",\"dataType\":\"VARCHAR\",\"expression\":\"\",\"format\":\"\",\"comment\":\"\",\"width\":50,\"decimals\":\"0\",\"type\":\"1\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"optional\":false,\"footings\":false,\"displayInMail\":false},{\"ordinal\":0,\"name\":\"area\",\"text\":\"城市\",\"dataType\":\"VARCHAR\",\"expression\":\"\",\"format\":\"\",\"comment\":\"\",\"width\":20,\"decimals\":\"0\",\"type\":\"1\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"optional\":false,\"footings\":false,\"displayInMail\":false},{\"ordinal\":0,\"name\":\"quality\",\"text\":\"空气等级\",\"dataType\":\"VARCHAR\",\"expression\":\"\",\"width\":10,\"decimals\":\"0\",\"type\":\"2\",\"sortType\":\"1\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"optional\":false,\"footings\":false,\"displayInMail\":false},{\"ordinal\":0,\"name\":\"total\",\"text\":\"天数\",\"dataType\":\"BIGINT\",\"expression\":\"\",\"width\":21,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"optional\":false,\"footings\":false,\"displayInMail\":false},{\"ordinal\":0,\"name\":\"rating\",\"text\":\"占比\",\"dataType\":\"DECIMAL\",\"expression\":\"\",\"width\":26,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":true,\"optional\":false,\"footings\":false,\"displayInMail\":false}]', '[{\"name\":\"region\",\"text\":\"地区\",\"defaultValue\":\"%\",\"defaultText\":\"全部\",\"dataType\":\"string\",\"width\":\"100\",\"formElement\":\"select\",\"dataSource\":\"sql\",\"content\":\"select distinct region as name,region as text from dim_area_cn\",\"required\":false,\"autoComplete\":false},{\"name\":\"province\",\"text\":\"省(市)\",\"defaultValue\":\"%\",\"defaultText\":\"全部\",\"dataType\":\"string\",\"width\":\"100\",\"formElement\":\"select\",\"dataSource\":\"sql\",\"content\":\"select distinct province as name,province as text from dim_area_cn\",\"required\":false,\"autoComplete\":false},{\"name\":\"area\",\"text\":\"城市\",\"defaultValue\":\"%\",\"defaultText\":\"全部\",\"dataType\":\"string\",\"width\":\"100\",\"formElement\":\"selectMul\",\"dataSource\":\"sql\",\"content\":\"select distinct area as name,area as text from fact_air_cn\",\"required\":false,\"autoComplete\":false}]', '{\"layout\":2,\"statColumnLayout\":1,\"dataRange\":7}', '1', '100', '', 'admin', '2015-02-13 12:15:23', '2016-09-26 18:40:41');
INSERT INTO `ezrpt_meta_report` VALUES ('720', '3b6d84ef-e6d7-4644-a145-e99b578426bf', '711', '50', '2014主要城市(可选)每月空气质量', 'SELECT\n MONTH(dt) month,\n area,\n CASE quality\n WHEN \'优\' THEN \'1-优\'\n WHEN \'良\' THEN \'2-良\'\n WHEN \'轻度污染\' THEN \'3-轻度污染\'\n WHEN \'中度污染\' THEN \'4-中度污染\'\n WHEN \'重度污染\' THEN \'5-重度污染\'\n WHEN \'严重污染\' THEN \'6-严重污染\' \n END AS quality,\n count(*) total,\n count(*) / 365 as rating\nFROM\n fact_air_cn\nWHERE\n YEAR (dt) = \'2014\' \n AND area in (\'${area}\')\nGROUP BY\n MONTH(dt),\n area,\n quality\norder by total desc', '[{\"ordinal\":0,\"name\":\"month\",\"text\":\"月度\",\"dataType\":\"INT\",\"expression\":\"\",\"format\":\"\",\"comment\":\"\",\"width\":2,\"decimals\":\"0\",\"type\":\"1\",\"sortType\":\"1\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"optional\":false,\"displayInMail\":false,\"footings\":false},{\"ordinal\":0,\"name\":\"area\",\"text\":\"城市\",\"dataType\":\"VARCHAR\",\"expression\":\"\",\"format\":\"\",\"comment\":\"\",\"width\":20,\"decimals\":\"0\",\"type\":\"1\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"optional\":false,\"displayInMail\":false,\"footings\":false},{\"ordinal\":0,\"name\":\"quality\",\"text\":\"空气等级\",\"dataType\":\"VARCHAR\",\"expression\":\"\",\"width\":6,\"decimals\":\"0\",\"type\":\"2\",\"sortType\":\"1\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"optional\":false,\"displayInMail\":false,\"footings\":false},{\"ordinal\":0,\"name\":\"total\",\"text\":\"天数\",\"dataType\":\"BIGINT\",\"expression\":\"\",\"width\":21,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":false,\"optional\":false,\"displayInMail\":false,\"footings\":false},{\"ordinal\":0,\"name\":\"rating\",\"text\":\"占比\",\"dataType\":\"DECIMAL\",\"expression\":\"\",\"width\":26,\"decimals\":\"0\",\"type\":\"3\",\"sortType\":\"0\",\"extensions\":false,\"hidden\":false,\"percent\":true,\"optional\":false,\"displayInMail\":false,\"footings\":false}]', '[{\"name\":\"area\",\"text\":\"城市\",\"defaultValue\":\"北京市\",\"defaultText\":\"北京市\",\"dataType\":\"string\",\"width\":\"100\",\"formElement\":\"selectMul\",\"dataSource\":\"sql\",\"content\":\"select distinct area as name,area as text from fact_air_cn\",\"required\":false,\"autoComplete\":false}]', '{\"layout\":2,\"statColumnLayout\":1,\"dataRange\":7}', '1', '100', '', 'admin', '2015-02-13 18:26:33', '2016-09-26 18:40:42');
-- ----------------------------
-- Table structure for ezrpt_meta_report_history
-- ----------------------------
DROP TABLE IF EXISTS `ezrpt_meta_report_history`;
CREATE TABLE `ezrpt_meta_report_history` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '报表历史记录id',
`report_id` int(11) NOT NULL COMMENT '报表ID',
`uid` varchar(128) NOT NULL,
`category_id` int(11) NOT NULL COMMENT '报表分类id',
`ds_id` int(11) NOT NULL COMMENT '数据源ID',
`name` varchar(50) NOT NULL COMMENT '报表名称',
`sql_text` text NOT NULL COMMENT '报表SQL语句',
`meta_columns` text NOT NULL COMMENT '报表列集合元数据(JSON格式)',
`query_params` text NOT NULL COMMENT '查询条件列属性集合(JSON格式)',
`options` text NOT NULL COMMENT '报表配置选项(JSON格式)',
`status` int(11) NOT NULL COMMENT '报表状态(1表示锁定,0表示编辑)',
`sequence` int(11) NOT NULL COMMENT '报表节点在其父节点中的顺序',
`comment` varchar(500) NOT NULL COMMENT '说明备注',
`author` varchar(50) NOT NULL COMMENT '创建用户',
`gmt_created` timestamp NOT NULL DEFAULT '1980-01-01 01:01:01' COMMENT '记录创建时间',
`gmt_modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '记录修改时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='报表信息表';
-- ----------------------------
-- Records of ezrpt_meta_report_history
-- ----------------------------
-- ----------------------------
-- Table structure for ezrpt_schedule_task
-- ----------------------------
DROP TABLE IF EXISTS `ezrpt_schedule_task`;
CREATE TABLE `ezrpt_schedule_task` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '报表任务ID',
`report_ids` varchar(1024) NOT NULL COMMENT '报表ID列表',
`cron_expr` varchar(100) NOT NULL COMMENT '报表任务调度crontab表达式',
`type` tinyint(2) NOT NULL DEFAULT '1' COMMENT '任务类型,1为邮件任务,2为手机短信任务,其他保留.默认为1',
`options` text NOT NULL COMMENT '配置选项(JSON格式)',
`template` text NOT NULL COMMENT '任务内容模板',
`comment` varchar(100) NOT NULL COMMENT '报表任务说明',
`gmt_created` timestamp NOT NULL DEFAULT '1980-01-01 01:01:01' COMMENT '报表任务记录创建时间',
`gmt_modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '报表任务记录修改时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='报表任务信息表';
-- ----------------------------
-- Records of ezrpt_schedule_task
-- ----------------------------
-- ----------------------------
-- Table structure for ezrpt_sys_conf
-- ----------------------------
DROP TABLE IF EXISTS `ezrpt_sys_conf`;
CREATE TABLE `ezrpt_sys_conf` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '配置字典ID',
`parent_id` int(11) NOT NULL DEFAULT '0' COMMENT '父ID',
`name` varchar(50) NOT NULL COMMENT '名称',
`key` varchar(50) NOT NULL COMMENT '配置key',
`value` varchar(1000) NOT NULL COMMENT '配置值',
`sequence` int(11) NOT NULL COMMENT '显示顺序',
`comment` varchar(50) NOT NULL COMMENT '配置说明',
`gmt_created` timestamp NOT NULL DEFAULT '1980-01-01 01:01:01' COMMENT '记录创建时间',
`gmt_modified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `ezrpt_sys_conf_uk_key` (`key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='系统配置字典表';
-- ----------------------------
-- Records of ezrpt_sys_conf
-- ----------------------------
-- ----------------------------
-- Table structure for ezrpt_sys_event
-- ----------------------------
DROP TABLE IF EXISTS `ezrpt_sys_event`;
CREATE TABLE `ezrpt_sys_event` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '日志标识',
`source` varchar(100) NOT NULL COMMENT '日志来源',
`user_id` int(11) NOT NULL COMMENT '操作用户id',
`account` varchar(50) NOT NULL COMMENT '操作用户账号',
`level` varchar(10) NOT NULL COMMENT '日志级别',
`message` text NOT NULL COMMENT '日志信息',
`url` varchar(255) NOT NULL COMMENT 'url',
`gmt_created` timestamp NOT NULL DEFAULT '1980-01-01 01:01:01' COMMENT '日志发生的时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=221 DEFAULT CHARSET=utf8;
|
<gh_stars>10-100
ALTER TABLE cstar_perf.test_artifacts ADD artifact_available boolean;
ALTER TABLE cstar_perf.test_artifacts ADD object_id text;
CREATE TABLE cstar_perf.chunk_object_storage (
object_id text,
chunk_id int,
chunk_size int,
chunk_sha text,
object_chunk blob,
total_chunks int static,
object_size int static,
object_sha text static,
primary key ((object_id), chunk_id));
|
<reponame>189569400/ClickHouse
SELECT toTypeName(now() - now()) = 'Int32';
SELECT toTypeName(now() + 1) = 'DateTime';
SELECT toTypeName(1 + now()) = 'DateTime';
SELECT toTypeName(now() - 1) = 'DateTime';
SELECT toDateTime(1) + 1 = toDateTime(2);
SELECT 1 + toDateTime(1) = toDateTime(2);
SELECT toDateTime(1) - 1 = toDateTime(0);
SELECT toTypeName(today()) = 'Date';
SELECT today() = toDate(now());
SELECT toTypeName(yesterday()) = 'Date';
SELECT yesterday() = toDate(now() - 24*60*60);
SELECT toTypeName(today() - today()) = 'Int32';
SELECT toTypeName(today() + 1) = 'Date';
SELECT toTypeName(1 + today()) = 'Date';
SELECT toTypeName(today() - 1) = 'Date';
SELECT yesterday() + 1 = today();
SELECT 1 + yesterday() = today();
SELECT today() - 1 = yesterday();
|
<filename>devstats/config/metrics/shared/episodic_issues.sql
with prev as (
select distinct user_id
from
gha_issues
where
created_at >= date '{{from}}' - '3 months'::interval
and created_at < '{{from}}'
and is_pull_request = false
), prev_cnt as (
select user_id, count(distinct id) as cnt
from
gha_issues
where
created_at < '{{from}}'
and is_pull_request = false
group by
user_id
)
select
'epis_iss;All;contrib,iss' as name,
round(count(distinct i.user_id) / {{n}}, 2) as contributors,
round(count(distinct i.id) / {{n}}, 2) as issues
from
gha_issues i
left join
prev_cnt pc
on
pc.user_id = i.user_id
where
i.is_pull_request = false
and i.created_at >= '{{from}}'
and i.created_at < '{{to}}'
and i.user_id not in (select user_id from prev)
and (pc.user_id is null or pc.cnt <= 12)
union select sub.name,
round(count(distinct sub.user_id) / {{n}}, 2) as contributors,
round(count(distinct sub.id) / {{n}}, 2) as issues
from (
select 'epis_iss;' || coalesce(ecf.repo_group, r.repo_group) || ';contrib,iss' as name,
i.user_id,
i.id
from
gha_repos r,
gha_issues i
left join
gha_events_commits_files ecf
on
ecf.event_id = i.event_id
left join
prev_cnt pc
on
pc.user_id = i.user_id
where
i.dup_repo_id = r.id
and i.is_pull_request = false
and i.created_at >= '{{from}}'
and i.created_at < '{{to}}'
and i.user_id not in (select user_id from prev)
and (pc.user_id is null or pc.cnt <= 12)
) sub
where
sub.name is not null
group by
sub.name
order by
issues desc,
name asc
;
|
--
-- PostgreSQL database dump
--
-- Dumped from database version 9.3.15
-- Dumped by pg_dump version 9.5.1
SET statement_timeout = 0;
SET lock_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SET check_function_bodies = false;
SET client_min_messages = warning;
--
-- Name: plpgsql; Type: EXTENSION; Schema: -; Owner: -
--
CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
--
-- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner: -
--
COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
SET search_path = public, pg_catalog;
--
-- Name: check_valid_score(numeric, integer); Type: FUNCTION; Schema: public; Owner: -
--
CREATE FUNCTION check_valid_score(numeric, integer) RETURNS boolean
LANGUAGE plpgsql
AS $_$
declare
valid_score BOOLEAN;
BEGIN
SELECT
CASE WHEN gc_max_value >=0 THEN $1<=gc_max_value AND $1>=0
ELSE $1>=gc_max_value AND $1<=0
END INTO valid_score FROM gradeable_component AS gc WHERE gc.gc_id=$2;
RETURN valid_score;
END;
$_$;
CREATE FUNCTION get_allowed_late_days(character varying, timestamp with time zone) RETURNS integer AS $$
SELECT allowed_late_days FROM late_days WHERE user_id = $1 AND since_timestamp <= $2 ORDER BY since_timestamp DESC LIMIT 1;
$$ LANGUAGE SQL;
--
-- Name: csv_to_numeric_gradeable(text[], text, text); Type: FUNCTION; Schema: public; Owner: -
--
CREATE FUNCTION csv_to_numeric_gradeable(vcode text[], gradeable_id text, grader_id text) RETURNS boolean
LANGUAGE plpgsql
AS $$
DECLARE
-- Size of first array after splitting
size INTEGER;
-- Array of individual line after splitting
line TEXT[];
-- Variable to store each line in the array
i TEXT;
-- Array of gc_ids for this gradeable
gcids INTEGER[];
-- gradeable_data id for this gradeable for this student
gdid INTEGER;
-- Array counter
j INTEGER;
-- Is this gradeable component text?
istext BOOLEAN[];
--Score to be inserted
score NUMERIC;
BEGIN
gcids := ARRAY(SELECT gc_id FROM gradeable_component WHERE g_id = gradeable_id);
istext := ARRAY(SELECT gc_is_text FROM gradeable_component WHERE g_id = gradeable_id);
-- Get the number of gradeable components for this gradeable. Will be used to test
-- for uniform sized arrays
size := array_length(gcids, 1);
FOREACH i IN ARRAY vcode
LOOP
-- Split the current line
line := string_to_array(i, ',');
-- Check for uniform size
IF array_length(line, 1) <> size + 1 THEN
RAISE EXCEPTION 'INVALID SIZE: Arrays are jagged.';
END IF;
-- Remove any existing record for this student for this gradeable
DELETE FROM gradeable_data WHERE gd_user_id = line[1] AND g_id = gradeable_id;
INSERT INTO gradeable_data(g_id, gd_user_id, gd_overall_comment) VALUES (gradeable_id, line[1], '', 1);
SELECT gd_id INTO gdid FROM gradeable_data WHERE g_id = gradeable_id AND gd_user_id = line[1];
FOR j IN 1..size
LOOP
IF istext[j] THEN
--COME BACK AND FIX: need to put in gcd_grade_time...double check to see that CSV upload still works for numeric/text
INSERT INTO gradeable_component_data(gc_id, gd_id, gcd_component_comment, gcd_grader_id, gcd_graded_version, gcd_grade_time) VALUES (gcids[j], gdid, line[j+1], grader_id, NULL);
ELSE
score := CAST(line[j+1] AS NUMERIC);
INSERT INTO gradeable_component_data(gc_id, gd_id, gcd_score, gcd_grader_id, gcd_graded_version, gcd_grade_time) VALUES (gcids[j], gdid, score, grader_id, NULL);
END IF;
END LOOP;
END LOOP;
RETURN TRUE ;
END;
$$;
SET default_with_oids = false;
--
-- Name: electronic_gradeable; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE electronic_gradeable (
g_id character varying(255) NOT NULL,
eg_config_path character varying(1024) NOT NULL,
eg_is_repository boolean NOT NULL,
eg_subdirectory character varying(1024) NOT NULL,
eg_vcs_host_type integer DEFAULT(0) NOT NULL,
eg_team_assignment boolean NOT NULL,
--eg_inherit_teams_from character varying(255) NOT NULL,
eg_max_team_size integer NOT NULL,
eg_team_lock_date timestamp(6) with time zone NOT NULL,
eg_use_ta_grading boolean NOT NULL,
eg_scanned_exam boolean DEFAULT (FALSE) NOT NULL,
eg_student_view boolean NOT NULL,
eg_student_view_after_grades boolean DEFAULT (FALSE) NOT NULL,
eg_student_submit boolean NOT NULL,
eg_peer_grading boolean NOT NULL,
eg_submission_open_date timestamp(6) with time zone NOT NULL,
eg_submission_due_date timestamp(6) with time zone NOT NULL,
eg_has_due_date boolean DEFAULT TRUE NOT NULL,
eg_late_days integer DEFAULT (-1) NOT NULL,
eg_allow_late_submission boolean DEFAULT true NOT NULL,
eg_peer_grade_set integer DEFAULT (0) NOT NULL,
eg_precision numeric NOT NULL,
eg_regrade_allowed boolean DEFAULT true NOT NULL,
eg_grade_inquiry_per_component_allowed boolean DEFAULT false NOT NULL,
eg_regrade_request_date timestamp(6) with time zone NOT NULL,
eg_thread_ids json DEFAULT '{}' NOT NULL,
eg_has_discussion boolean DEFAULT FALSE NOT NULL,
CONSTRAINT eg_submission_date CHECK ((eg_submission_open_date <= eg_submission_due_date)),
CONSTRAINT eg_team_lock_date_max CHECK ((eg_team_lock_date <= '9999-03-01 00:00:00.000000')),
CONSTRAINT eg_submission_due_date_max CHECK ((eg_submission_due_date <= '9999-03-01 00:00:00.000000')),
CONSTRAINT eg_regrade_request_date_max CHECK ((eg_regrade_request_date <= '9999-03-01 00:00:00.000000')),
CONSTRAINT eg_regrade_allowed_true CHECK (eg_regrade_allowed is true or eg_grade_inquiry_per_component_allowed is false)
);
--
-- Name: electronic_gradeable_data; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE electronic_gradeable_data (
g_id character varying(255) NOT NULL,
user_id character varying(255),
team_id character varying(255),
g_version integer NOT NULL,
autograding_non_hidden_non_extra_credit numeric DEFAULT 0 NOT NULL,
autograding_non_hidden_extra_credit numeric DEFAULT 0 NOT NULL,
autograding_hidden_non_extra_credit numeric DEFAULT 0 NOT NULL,
autograding_hidden_extra_credit numeric DEFAULT 0 NOT NULL,
submission_time timestamp(6) with time zone NOT NULL,
autograding_complete boolean DEFAULT FALSE NOT NULL,
CONSTRAINT egd_user_team_id_check CHECK (user_id IS NOT NULL OR team_id IS NOT NULL),
CONSTRAINT egd_g_user_team_id_unique UNIQUE (g_id, user_id, team_id, g_version)
);
--
-- Name: electronic_gradeable_version; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE electronic_gradeable_version (
g_id character varying(255) NOT NULL,
user_id character varying(255),
team_id character varying(255),
active_version integer,
CONSTRAINT egv_user_team_id_check CHECK (user_id IS NOT NULL OR team_id IS NOT NULL),
CONSTRAINT egv_g_user_team_id_unique UNIQUE (g_id, user_id, team_id)
);
--
-- Name: gradeable; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE gradeable (
g_id character varying(255) NOT NULL,
g_title character varying(255) NOT NULL,
g_instructions_url character varying NOT NULL,
g_overall_ta_instructions character varying NOT NULL,
g_gradeable_type integer NOT NULL,
g_grader_assignment_method integer NOT NULL,
g_ta_view_start_date timestamp(6) with time zone NOT NULL,
g_grade_start_date timestamp(6) with time zone NOT NULL,
g_grade_due_date timestamp(6) with time zone NOT NULL,
g_grade_released_date timestamp(6) with time zone NOT NULL,
g_grade_locked_date timestamp(6) with time zone,
g_min_grading_group integer NOT NULL,
g_syllabus_bucket character varying(255) NOT NULL,
CONSTRAINT g_ta_view_start_date CHECK ((g_ta_view_start_date <= g_grade_start_date)),
CONSTRAINT g_grade_start_date CHECK ((g_grade_start_date <= g_grade_due_date)),
CONSTRAINT g_grade_due_date CHECK ((g_grade_due_date <= g_grade_released_date)),
CONSTRAINT g_grade_released_date CHECK ((g_grade_released_date <= g_grade_locked_date)),
CONSTRAINT g_grade_locked_date_max CHECK ((g_grade_locked_date <= '9999-03-01 00:00:00.000000'))
);
--
-- Name: gradeable_component_mark; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE gradeable_component_mark (
gcm_id integer NOT NULL,
gc_id integer NOT NULL,
gcm_points numeric NOT NULL,
gcm_note character varying NOT NULL,
gcm_publish boolean DEFAULT false,
gcm_order integer NOT NULL
);
--
-- Name: gradeable_component_mark_data; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE gradeable_component_mark_data (
gc_id integer NOT NULL,
gd_id integer NOT NULL,
gcd_grader_id character varying(255) NOT NULL,
gcm_id integer NOT NULL
);
--
-- Name: gradeable_component; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE gradeable_component (
gc_id integer NOT NULL,
g_id character varying(255) NOT NULL,
gc_title character varying(255) NOT NULL,
gc_ta_comment character varying NOT NULL,
gc_student_comment character varying NOT NULL,
gc_lower_clamp numeric NOT NULL,
gc_default numeric NOT NULL,
gc_max_value numeric NOT NULL,
gc_upper_clamp numeric NOT NULL,
gc_is_text boolean NOT NULL,
gc_is_peer boolean NOT NULL,
gc_order integer NOT NULL,
gc_page integer NOT NULL
);
--
-- Name: gradeable_component_data; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE gradeable_component_data (
gc_id integer NOT NULL,
gd_id integer NOT NULL,
gcd_score numeric NOT NULL,
gcd_component_comment character varying NOT NULL,
gcd_grader_id character varying(255) NOT NULL,
gcd_graded_version integer,
gcd_grade_time timestamp(6) with time zone NOT NULL,
gcd_verifier_id character varying(255),
gcd_verify_time TIMESTAMP
-- CONSTRAINT gradeable_component_data_check CHECK (check_valid_score(gcd_score, gc_id)) -
);
--
-- Name: gradeable_component_gc_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE gradeable_component_gc_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: gradeable_component_gc_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE gradeable_component_gc_id_seq OWNED BY gradeable_component.gc_id;
--
-- Name: gradeable_data; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE gradeable_data (
gd_id integer NOT NULL,
g_id character varying(255) NOT NULL,
gd_user_id character varying(255),
gd_team_id character varying(255),
gd_overall_comment character varying NOT NULL,
gd_user_viewed_date timestamp(6) with time zone DEFAULT NULL
);
--
-- Name: gradeable_data_gd_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE gradeable_data_gd_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: gradeable_component_mark_gcm_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE gradeable_component_mark_gcm_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: gradeable_component_mark_gcm_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE gradeable_component_mark_gcm_id_seq OWNED BY gradeable_component_mark.gcm_id;
--
-- Name: gradeable_data_gd_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE gradeable_data_gd_id_seq OWNED BY gradeable_data.gd_id;
--
-- Name: grading_registration; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE grading_registration (
sections_registration_id character varying(255) NOT NULL,
user_id character varying NOT NULL
);
--
-- Name: grading_rotating; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE grading_rotating (
sections_rotating_id integer NOT NULL,
user_id character varying NOT NULL,
g_id character varying NOT NULL
);
--
-- Name: seeking_team; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE seeking_team (
g_id character varying(255) NOT NULL,
user_id character varying NOT NULL
);
--
-- Name: peer_assign; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE peer_assign (
g_id character varying NOT NULL,
grader_id character varying NOT NULL,
user_id character varying NOT NULL
);
--
-- Name: late_day_exceptions; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE late_day_exceptions (
user_id character varying(255) NOT NULL,
g_id character varying(255) NOT NULL,
late_day_exceptions integer NOT NULL
);
--
-- Name: late_days; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE late_days (
user_id character varying(255) NOT NULL,
allowed_late_days integer NOT NULL,
since_timestamp timestamp(6) with time zone NOT NULL
);
CREATE TABLE migrations_course (
id VARCHAR(100) PRIMARY KEY NOT NULL,
commit_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
status NUMERIC(1) DEFAULT 0 NOT NULL
);
--
-- Name: sections_registration; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE sections_registration (
sections_registration_id character varying(255) NOT NULL
);
--
-- Name: sections_rotating; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE sections_rotating (
sections_rotating_id integer NOT NULL
);
--
-- Name: sessions; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE sessions (
session_id character varying(255) NOT NULL,
user_id character varying(255) NOT NULL,
csrf_token character varying(255) NOT NULL,
session_expires timestamp(6) with time zone NOT NULL
);
--
-- Name: users; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE users (
user_id character varying NOT NULL,
anon_id character varying,
user_numeric_id character varying,
user_firstname character varying NOT NULL,
user_preferred_firstname character varying,
user_lastname character varying NOT NULL,
user_preferred_lastname character varying,
user_email character varying NOT NULL,
user_group integer NOT NULL,
registration_section character varying(255),
rotating_section integer,
user_updated boolean NOT NULL DEFAULT false,
instructor_updated boolean NOT NULL DEFAULT false,
manual_registration boolean DEFAULT false,
last_updated timestamp(6) with time zone,
CONSTRAINT users_user_group_check CHECK ((user_group >= 1) AND (user_group <= 4))
);
CREATE INDEX users_user_numeric_id_idx ON users using btree (
user_numeric_id ASC NULLS LAST
);
--
-- Name: gradeable_teams; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE gradeable_teams (
team_id character varying(255) NOT NULL,
g_id character varying(255) NOT NULL,
registration_section character varying(255),
rotating_section integer
);
--
-- Name: teams; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE teams (
team_id character varying(255) NOT NULL,
user_id character varying(255) NOT NULL,
state integer NOT NULL,
last_viewed_time timestamp(6) with time zone DEFAULT NULL
);
--
-- Name: regrade_requests; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE regrade_requests (
id serial NOT NULL PRIMARY KEY,
g_id VARCHAR(255) NOT NULL,
timestamp TIMESTAMP WITH TIME ZONE NOT NULL,
user_id VARCHAR(255),
team_id VARCHAR(255),
status INTEGER DEFAULT 0 NOT NULL,
gc_id INTEGER
);
CREATE TABLE notification_settings (
user_id character varying NOT NULL,
merge_threads BOOLEAN DEFAULT FALSE NOT NULL,
all_new_threads BOOLEAN DEFAULT FALSE NOT NULL,
all_new_posts BOOLEAN DEFAULT FALSE NOT NULL,
all_modifications_forum BOOLEAN DEFAULT FALSE NOT NULL,
reply_in_post_thread BOOLEAN DEFAULT FALSE NOT NULL,
team_invite BOOLEAN DEFAULT TRUE NOT NULL,
team_joined BOOLEAN DEFAULT TRUE NOT NULL,
team_member_submission BOOLEAN DEFAULT TRUE NOT NULL,
self_notification BOOLEAN DEFAULT FALSE NOT NULL,
merge_threads_email BOOLEAN DEFAULT FALSE NOT NULL,
all_new_threads_email BOOLEAN DEFAULT FALSE NOT NULL,
all_new_posts_email BOOLEAN DEFAULT FALSE NOT NULL,
all_modifications_forum_email BOOLEAN DEFAULT FALSE NOT NULL,
reply_in_post_thread_email BOOLEAN DEFAULT FALSE NOT NULL,
team_invite_email BOOLEAN DEFAULT TRUE NOT NULL,
team_joined_email BOOLEAN DEFAULT TRUE NOT NULL,
team_member_submission_email BOOLEAN DEFAULT TRUE NOT NULL,
self_notification_email BOOLEAN DEFAULT FALSE NOT NULL
);
--
-- Name: regrade_discussion; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE regrade_discussion (
id serial NOT NULL PRIMARY KEY,
regrade_id INTEGER NOT NULL,
timestamp TIMESTAMP WITH TIME ZONE NOT NULL,
user_id VARCHAR(255) NOT NULL,
content TEXT,
deleted BOOLEAN DEFAULT FALSE NOT NULL,
gc_id integer
);
--
-- Name: grade_override; Type: TABLE; Schema:
--
CREATE TABLE grade_override (
user_id character varying(255) NOT NULL,
g_id character varying(255) NOT NULL,
marks float NOT NULL,
comment character varying
);
--
-- Name: notifications_component_enum; Type: ENUM; Schema: public; Owner: -
--
CREATE TYPE notifications_component AS ENUM ('forum', 'student', 'grading', 'team');
--
-- Name: notifications; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE notifications (
id serial NOT NULL PRIMARY KEY,
component notifications_component NOT NULL,
metadata TEXT NOT NULL,
content TEXT NOT NULL,
from_user_id VARCHAR(255),
to_user_id VARCHAR(255) NOT NULL,
created_at timestamp with time zone NOT NULL,
seen_at timestamp with time zone
);
-- Begins Forum
--
-- Name: posts; Type: Table; Schema: public; Owner: -
--
CREATE TABLE "posts" (
"id" serial NOT NULL,
"thread_id" int NOT NULL,
"parent_id" int DEFAULT '-1',
"author_user_id" character varying NOT NULL,
"content" TEXT NOT NULL,
"timestamp" timestamp with time zone NOT NULL,
"anonymous" BOOLEAN NOT NULL,
"deleted" BOOLEAN NOT NULL DEFAULT 'false',
"endorsed_by" varchar,
"type" int NOT NULL,
"has_attachment" BOOLEAN NOT NULL,
"render_markdown" BOOLEAN NOT NULL DEFAULT 'false',
CONSTRAINT posts_pk PRIMARY KEY ("id")
);
CREATE TABLE "threads" (
"id" serial NOT NULL,
"title" varchar NOT NULL,
"created_by" varchar NOT NULL,
"pinned" BOOLEAN NOT NULL DEFAULT 'false',
"deleted" BOOLEAN NOT NULL DEFAULT 'false',
"merged_thread_id" int DEFAULT '-1',
"merged_post_id" int DEFAULT '-1',
"is_visible" BOOLEAN NOT NULL,
"status" int DEFAULT 0 NOT NULL,
"lock_thread_date" timestamp with time zone,
CONSTRAINT threads_pk PRIMARY KEY ("id")
);
CREATE TABLE forum_posts_history (
"post_id" int NOT NULL,
"edit_author" character varying NOT NULL,
"content" text NOT NULL,
"edit_timestamp" timestamp with time zone NOT NULL
);
CREATE TABLE "thread_categories" (
"thread_id" int NOT NULL,
"category_id" int NOT NULL
);
CREATE TABLE "categories_list" (
"category_id" serial NOT NULL,
"category_desc" varchar NOT NULL,
"rank" int,
"color" varchar DEFAULT '#000080' NOT NULL,
CONSTRAINT categories_list_pk PRIMARY KEY ("category_id")
);
CREATE TABLE "student_favorites" (
"id" serial NOT NULL,
"user_id" character varying NOT NULL,
"thread_id" int,
CONSTRAINT student_favorites_pk PRIMARY KEY ("id")
);
CREATE TABLE "viewed_responses" (
"thread_id" int NOT NULL,
"user_id" character varying NOT NULL,
"timestamp" timestamp with time zone NOT NULL,
CONSTRAINT viewed_responses_pkey PRIMARY KEY ("thread_id", "user_id")
);
-- Ends Forum
--
-- Name: gc_id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY gradeable_component ALTER COLUMN gc_id SET DEFAULT nextval('gradeable_component_gc_id_seq'::regclass);
--
-- Name: gd_id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY gradeable_data ALTER COLUMN gd_id SET DEFAULT nextval('gradeable_data_gd_id_seq'::regclass);
--
-- Name: gcm_id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY gradeable_component_mark ALTER COLUMN gcm_id SET DEFAULT nextval('gradeable_component_mark_gcm_id_seq'::regclass);
--
-- Name: electronic_gradeable_g_id_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY electronic_gradeable
ADD CONSTRAINT electronic_gradeable_g_id_pkey PRIMARY KEY (g_id);
--
-- Name: gradeable_component_data_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY gradeable_component_data
ADD CONSTRAINT gradeable_component_data_pkey PRIMARY KEY (gc_id, gd_id, gcd_grader_id);
--
-- Name: gradeable_component_data_normal_index; Type: INDEX; Schema: public; Owner: -
--
CREATE INDEX gradeable_component_data_no_grader_index
ON gradeable_component_data (gc_id, gd_id);
--
-- Name: gradeable_component_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY gradeable_component
ADD CONSTRAINT gradeable_component_pkey PRIMARY KEY (gc_id);
--
-- Name: gradeable_component_mark_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY gradeable_component_mark
ADD CONSTRAINT gradeable_component_mark_pkey PRIMARY KEY (gcm_id);
--
-- Name: gradeable_component_mark_data_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY gradeable_component_mark_data
ADD CONSTRAINT gradeable_component_mark_data_pkey PRIMARY KEY (gcm_id, gc_id, gd_id, gcd_grader_id);
--
-- Name: gradeable_data_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY gradeable_data
ADD CONSTRAINT gradeable_data_pkey PRIMARY KEY (gd_id);
--
-- Name: gradeable_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY gradeable
ADD CONSTRAINT gradeable_pkey PRIMARY KEY (g_id);
--
-- Name: gradeable_unqiue; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY gradeable_data
ADD CONSTRAINT gradeable_unqiue UNIQUE (g_id, gd_user_id);
--
-- Name: grading_registration_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY grading_registration
ADD CONSTRAINT grading_registration_pkey PRIMARY KEY (sections_registration_id, user_id);
--
-- Name: grading_rotating_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY grading_rotating
ADD CONSTRAINT grading_rotating_pkey PRIMARY KEY (sections_rotating_id, user_id, g_id);
--
-- Name: seeking_team; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE seeking_team
ADD CONSTRAINT seeking_team_pkey PRIMARY KEY (g_id, user_id);
--
-- Name: peer_assign_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY peer_assign
ADD CONSTRAINT peer_assign_pkey PRIMARY KEY (g_id, grader_id, user_id);
--
-- Name: late_day_exceptions_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY late_day_exceptions
ADD CONSTRAINT late_day_exceptions_pkey PRIMARY KEY (g_id, user_id);
--
-- Name: late_days_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY late_days
ADD CONSTRAINT late_days_pkey PRIMARY KEY (user_id, since_timestamp);
--
-- Name: sections_registration_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY sections_registration
ADD CONSTRAINT sections_registration_pkey PRIMARY KEY (sections_registration_id);
--
-- Name: sections_rotating_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY sections_rotating
ADD CONSTRAINT sections_rotating_pkey PRIMARY KEY (sections_rotating_id);
--
-- Name: sessions_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY sessions
ADD CONSTRAINT sessions_pkey PRIMARY KEY (session_id);
--
-- Name: users_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY users
ADD CONSTRAINT users_pkey PRIMARY KEY (user_id);
ALTER TABLE ONLY notification_settings
ADD CONSTRAINT notification_settings_pkey PRIMARY KEY (user_id);
ALTER TABLE ONLY notification_settings
ADD CONSTRAINT notification_settings_fkey FOREIGN KEY (user_id) REFERENCES users(user_id) ON UPDATE CASCADE;
--
-- Name: gradeable_teams_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY gradeable_teams
ADD CONSTRAINT gradeable_teams_pkey PRIMARY KEY (team_id);
--
-- Name: teams_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY teams
ADD CONSTRAINT teams_pkey PRIMARY KEY (team_id, user_id);
--
-- Name: grade_override_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY grade_override
ADD CONSTRAINT grade_override_pkey PRIMARY KEY (user_id, g_id);
--
-- Name: electronic_gradeable_data_gid; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY electronic_gradeable_data
ADD CONSTRAINT electronic_gradeable_data_gid FOREIGN KEY (g_id) REFERENCES gradeable(g_id) ON UPDATE CASCADE ON DELETE CASCADE;
--
-- Name: electronic_gradeable_data_user; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY electronic_gradeable_data
ADD CONSTRAINT electronic_gradeable_data_user FOREIGN KEY (user_id) REFERENCES users(user_id) ON UPDATE CASCADE;
--
-- Name: electronic_gradeable_data_team; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY electronic_gradeable_data
ADD CONSTRAINT electronic_gradeable_data_team FOREIGN KEY (team_id) REFERENCES gradeable_teams(team_id) ON UPDATE CASCADE;
--
-- Name: electronic_gradeable_g_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY electronic_gradeable
ADD CONSTRAINT electronic_gradeable_g_id_fkey FOREIGN KEY (g_id) REFERENCES gradeable(g_id) ON DELETE CASCADE;
--
-- Name: electronic_gradeable_gid; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY electronic_gradeable_version
ADD CONSTRAINT electronic_gradeable_version_g_id FOREIGN KEY (g_id) REFERENCES gradeable(g_id) ON DELETE CASCADE;
--
-- Name: electronic_gradeable_user; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY electronic_gradeable_version
ADD CONSTRAINT electronic_gradeable_version_user FOREIGN KEY (user_id) REFERENCES users(user_id) ON UPDATE CASCADE;
--
-- Name: electronic_gradeable_team_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY electronic_gradeable_version
ADD CONSTRAINT electronic_gradeable_version_team FOREIGN KEY (team_id) REFERENCES gradeable_teams(team_id) ON UPDATE CASCADE;
--
-- Name: electronic_gradeable_version; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY electronic_gradeable_version
ADD CONSTRAINT electronic_gradeable_version FOREIGN KEY (g_id, user_id, team_id, active_version) REFERENCES electronic_gradeable_data(g_id, user_id, team_id, g_version) ON UPDATE CASCADE ON DELETE CASCADE;
--
-- Name: gradeable_component_data_gc_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY gradeable_component_data
ADD CONSTRAINT gradeable_component_data_gc_id_fkey FOREIGN KEY (gc_id) REFERENCES gradeable_component(gc_id) ON DELETE CASCADE;
--
-- Name: gradeable_component_data_gd_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY gradeable_component_data
ADD CONSTRAINT gradeable_component_data_gd_id_fkey FOREIGN KEY (gd_id) REFERENCES gradeable_data(gd_id) ON DELETE CASCADE;
--
-- Name: gradeable_component_data_gcd_grader_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY gradeable_component_data
ADD CONSTRAINT gradeable_component_data_gcd_grader_id_fkey FOREIGN KEY (gcd_grader_id) REFERENCES users(user_id) ON UPDATE CASCADE;
--
-- Name: gradeable_component_data_verifier_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY gradeable_component_data
ADD CONSTRAINT gradeable_component_data_verifier_id_fkey FOREIGN KEY (gcd_verifier_id) REFERENCES users(user_id);
--
-- Name: gradeable_component_g_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY gradeable_component
ADD CONSTRAINT gradeable_component_g_id_fkey FOREIGN KEY (g_id) REFERENCES gradeable(g_id) ON DELETE CASCADE;
--
-- Name: gradeable_component_mark_gc_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY gradeable_component_mark
ADD CONSTRAINT gradeable_component_mark_gc_id_fkey FOREIGN KEY (gc_id) REFERENCES gradeable_component(gc_id) ON DELETE CASCADE;
--
-- Name: gradeable_component_mark_data_gcm_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY gradeable_component_mark_data
ADD CONSTRAINT gradeable_component_mark_data_gcm_id_fkey FOREIGN KEY (gcm_id) REFERENCES gradeable_component_mark(gcm_id) ON DELETE CASCADE;
--
-- Name: gradeable_component_mark_data_gd_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY gradeable_component_mark_data
ADD CONSTRAINT gradeable_component_mark_data_gd_id_and_gc_id_fkey FOREIGN KEY (gd_id, gc_id, gcd_grader_id) REFERENCES gradeable_component_data(gd_id, gc_id, gcd_grader_id) ON UPDATE CASCADE ON DELETE CASCADE;
--
-- Name: gradeable_data_g_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY gradeable_data
ADD CONSTRAINT gradeable_data_g_id_fkey FOREIGN KEY (g_id) REFERENCES gradeable(g_id) ON DELETE CASCADE;
--
-- Name: gradeable_data_gd_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY gradeable_data
ADD CONSTRAINT gradeable_data_gd_user_id_fkey FOREIGN KEY (gd_user_id) REFERENCES users(user_id) ON UPDATE CASCADE;
--
-- Name: gradeable_data_team_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY gradeable_data
ADD CONSTRAINT gradeable_data_gd_team_id_fkey FOREIGN KEY (gd_team_id) REFERENCES gradeable_teams(team_id) ON UPDATE CASCADE;
--
-- Name: grading_registration_sections_registration_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY grading_registration
ADD CONSTRAINT grading_registration_sections_registration_id_fkey FOREIGN KEY (sections_registration_id) REFERENCES sections_registration(sections_registration_id);
--
-- Name: grading_registration_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY grading_registration
ADD CONSTRAINT grading_registration_user_id_fkey FOREIGN KEY (user_id) REFERENCES users(user_id) ON UPDATE CASCADE;
--
-- Name: grading_rotating_g_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY grading_rotating
ADD CONSTRAINT grading_rotating_g_id_fkey FOREIGN KEY (g_id) REFERENCES gradeable(g_id) ON DELETE CASCADE;
--
-- Name: grading_rotating_sections_rotating_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY grading_rotating
ADD CONSTRAINT grading_rotating_sections_rotating_fkey FOREIGN KEY (sections_rotating_id) REFERENCES sections_rotating(sections_rotating_id) ON DELETE CASCADE;
--
-- Name: grading_rotating_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY grading_rotating
ADD CONSTRAINT grading_rotating_user_id_fkey FOREIGN KEY (user_id) REFERENCES users(user_id) ON UPDATE CASCADE;
--
-- Name: seeking_team; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY seeking_team
ADD CONSTRAINT seeking_team_g_id_fkey FOREIGN KEY (g_id) REFERENCES gradeable(g_id) ON UPDATE CASCADE ON DELETE CASCADE;
--
-- Name: late_day_exceptions_g_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY late_day_exceptions
ADD CONSTRAINT late_day_exceptions_g_id_fkey FOREIGN KEY (g_id) REFERENCES gradeable(g_id) ON DELETE CASCADE;
--
-- Name: late_day_exceptions_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY late_day_exceptions
ADD CONSTRAINT late_day_exceptions_user_id_fkey FOREIGN KEY (user_id) REFERENCES users(user_id) ON UPDATE CASCADE;
--
-- Name: late_days_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY late_days
ADD CONSTRAINT late_days_user_id_fkey FOREIGN KEY (user_id) REFERENCES users(user_id) ON UPDATE CASCADE;
--
-- Name: peer_assign_g_id_fkey; Type: FK CONSTRAINT; Schma: public; Owner: -
--
ALTER TABLE ONLY peer_assign
ADD CONSTRAINT peer_assign_g_id_fkey FOREIGN KEY (g_id) REFERENCES gradeable(g_id) ON UPDATE CASCADE ON DELETE CASCADE;
--
-- Name: peer_assign_grader_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY peer_assign
ADD CONSTRAINT peer_assign_grader_id_fkey FOREIGN KEY (grader_id) REFERENCES users(user_id) ON UPDATE CASCADE;
--
-- Name: peer_assign_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY peer_assign
ADD CONSTRAINT peer_assign_user_id_fkey FOREIGN KEY (user_id) REFERENCES users(user_id) ON UPDATE CASCADE;
--
-- Name: sessions_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY sessions
ADD CONSTRAINT sessions_fkey FOREIGN KEY (user_id) REFERENCES users(user_id) ON UPDATE CASCADE;
--
-- Name: users_registration_section_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY users
ADD CONSTRAINT users_registration_section_fkey FOREIGN KEY (registration_section) REFERENCES sections_registration(sections_registration_id);
ALTER TABLE ONLY gradeable_teams
ADD CONSTRAINT gradeable_teams_registration_section_fkey FOREIGN KEY (registration_section) REFERENCES sections_registration(sections_registration_id);
--
-- Name: users_rotating_section_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY users
ADD CONSTRAINT users_rotating_section_fkey FOREIGN KEY (rotating_section) REFERENCES sections_rotating(sections_rotating_id);
ALTER TABLE ONLY gradeable_teams
ADD CONSTRAINT gradeable_teams_rotating_section_fkey FOREIGN KEY (rotating_section) REFERENCES sections_rotating(sections_rotating_id);
--
-- Name: gradeable_teams_g_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY gradeable_teams
ADD CONSTRAINT gradeable_teams_g_id_fkey FOREIGN KEY (g_id) REFERENCES gradeable(g_id) ON DELETE CASCADE;
--
-- Name: teams_team_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY teams
ADD CONSTRAINT teams_team_id_fkey FOREIGN KEY (team_id) REFERENCES gradeable_teams(team_id) ON DELETE CASCADE;
--
-- Name: teams_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY teams
ADD CONSTRAINT teams_user_id_fkey FOREIGN KEY (user_id) REFERENCES users(user_id) ON UPDATE CASCADE;
--
-- Name: grade_override_g_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY grade_override
ADD CONSTRAINT grade_override_g_id_fkey FOREIGN KEY (g_id) REFERENCES gradeable(g_id) ON DELETE CASCADE;
--
-- Name: grade_override_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY grade_override
ADD CONSTRAINT grade_override_user_id_fkey FOREIGN KEY (user_id) REFERENCES users(user_id) ON UPDATE CASCADE;
--
-- Name: regrade_discussion; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY regrade_discussion
ADD CONSTRAINT regrade_discussion_regrade_requests_id_fk FOREIGN KEY (regrade_id) REFERENCES regrade_requests(id) ON UPDATE CASCADE;
--
-- Name: notifications_to_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY notifications
ADD CONSTRAINT notifications_to_user_id_fkey FOREIGN KEY (to_user_id) REFERENCES users(user_id) ON UPDATE CASCADE;
--
-- Name: notifications_from_user_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY notifications
ADD CONSTRAINT notifications_from_user_id_fkey FOREIGN KEY (from_user_id) REFERENCES users(user_id) ON UPDATE CASCADE;
-- Forum Key relationships
ALTER TABLE "posts" ADD CONSTRAINT "posts_fk0" FOREIGN KEY ("thread_id") REFERENCES "threads"("id");
ALTER TABLE "posts" ADD CONSTRAINT "posts_fk1" FOREIGN KEY ("author_user_id") REFERENCES "users"("user_id");
ALTER TABLE "threads" ADD CONSTRAINT "threads_status_check" CHECK ("status" IN (-1,0,1));
ALTER TABLE "forum_posts_history" ADD CONSTRAINT "forum_posts_history_post_id_fk" FOREIGN KEY ("post_id") REFERENCES "posts"("id");
ALTER TABLE "forum_posts_history" ADD CONSTRAINT "forum_posts_history_edit_author_fk" FOREIGN KEY ("edit_author") REFERENCES "users"("user_id");
CREATE INDEX "forum_posts_history_post_id_index" ON "forum_posts_history" ("post_id");
CREATE INDEX "forum_posts_history_edit_timestamp_index" ON "forum_posts_history" ("edit_timestamp" DESC);
ALTER TABLE "thread_categories" ADD CONSTRAINT "thread_categories_fk0" FOREIGN KEY ("thread_id") REFERENCES "threads"("id");
ALTER TABLE "thread_categories" ADD CONSTRAINT "thread_categories_fk1" FOREIGN KEY ("category_id") REFERENCES "categories_list"("category_id");
ALTER TABLE "student_favorites" ADD CONSTRAINT "student_favorites_fk0" FOREIGN KEY ("user_id") REFERENCES "users"("user_id");
ALTER TABLE "student_favorites" ADD CONSTRAINT "student_favorites_fk1" FOREIGN KEY ("thread_id") REFERENCES "threads"("id");
ALTER TABLE "viewed_responses" ADD CONSTRAINT "viewed_responses_fk0" FOREIGN KEY ("thread_id") REFERENCES "threads"("id");
ALTER TABLE "viewed_responses" ADD CONSTRAINT "viewed_responses_fk1" FOREIGN KEY ("user_id") REFERENCES "users"("user_id");
ALTER TABLE "regrade_requests" ADD CONSTRAINT "regrade_requests_fk0" FOREIGN KEY ("g_id") REFERENCES "gradeable"("g_id");
ALTER TABLE "regrade_requests" ADD CONSTRAINT "regrade_requests_fk1" FOREIGN KEY ("user_id") REFERENCES "users"("user_id");
ALTER TABLE "regrade_requests" ADD CONSTRAINT "regrade_requests_fk2" FOREIGN KEY ("team_id") REFERENCES "gradeable_teams"("team_id");
ALTER TABLE "regrade_requests" ADD CONSTRAINT "regrade_requests_fk3" FOREIGN KEY ("gc_id") REFERENCES "gradeable_component"("gc_id");
ALTER TABLE "regrade_discussion" ADD CONSTRAINT "regrade_discussion_fk0" FOREIGN KEY ("regrade_id") REFERENCES "regrade_requests"("id");
ALTER TABLE "regrade_discussion" ADD CONSTRAINT "regrade_discussion_fk1" FOREIGN KEY ("user_id") REFERENCES "users"("user_id");
ALTER TABLE ONLY categories_list
ADD CONSTRAINT category_unique UNIQUE (category_desc);
ALTER TABLE ONLY thread_categories
ADD CONSTRAINT thread_and_category_unique UNIQUE (thread_id, category_id);
ALTER TABLE ONLY student_favorites
ADD CONSTRAINT user_and_thread_unique UNIQUE (user_id, thread_id);
CREATE UNIQUE INDEX gradeable_user_unique ON regrade_requests(user_id, g_id) WHERE gc_id IS NULL;
CREATE UNIQUE INDEX gradeable_team_unique ON regrade_requests(team_id, g_id) WHERE gc_id IS NULL;
ALTER TABLE ONLY regrade_requests ADD CONSTRAINT gradeable_user_gc_id UNIQUE (user_id, g_id, gc_id);
ALTER TABLE ONLY regrade_requests ADD CONSTRAINT gradeable_team_gc_id UNIQUE (team_id, g_id, gc_id);
-- End Forum Key relationships
--
-- PostgreSQL database dump complete
--
|
CREATE TABLE IF NOT EXISTS meta_settings (
id BIGINT PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY,
meta_setting TEXT NOT NULL UNIQUE,
meta_value TEXT
);
|
<gh_stars>0
-- @testpoint:opengauss关键字comments(非保留),作为模式名
--关键字不带引号-成功
drop schema if exists comments;
create schema comments;
drop schema comments;
--关键字带双引号-成功
drop schema if exists "comments";
create schema "comments";
drop schema "comments";
--关键字带单引号-合理报错
drop schema if exists 'comments';
create schema 'comments';
--关键字带反引号-合理报错
drop schema if exists `comments`;
create schema `comments`;
|
create table APP_USER (
id BIGINT NOT NULL AUTO_INCREMENT,
ident_id INT(30) NOT NULL,
password VARCHAR(100) NOT NULL,
first_name VARCHAR(30) NOT NULL,
last_name VARCHAR(30) NOT NULL,
email VARCHAR(30) NOT NULL,
PRIMARY KEY (id),
UNIQUE (ident_id)
);
create table USER_PROFILE(
id BIGINT NOT NULL AUTO_INCREMENT,
type VARCHAR(30) NOT NULL,
PRIMARY KEY (id),
UNIQUE (type)
);
CREATE TABLE APP_USER_USER_PROFILE (
user_id BIGINT NOT NULL,
user_profile_id BIGINT NOT NULL,
PRIMARY KEY (user_id, user_profile_id),
CONSTRAINT FK_APP_USER FOREIGN KEY (user_id) REFERENCES APP_USER (id),
CONSTRAINT FK_USER_PROFILE FOREIGN KEY (user_profile_id) REFERENCES USER_PROFILE (id)
);
INSERT INTO USER_PROFILE(type)
VALUES ('USER');
INSERT INTO USER_PROFILE(type)
VALUES ('ADMIN');
INSERT INTO USER_PROFILE(type)
VALUES ('DBA');
INSERT INTO APP_USER(ident_id, password, first_name, last_name, email)
VALUES ('1064','$2a$10$4eqIF5s/ewJwHK1p8lqlFOEm2QIA0S8g6./Lok.pQxqcxaBZYChRm', 'Lord','kotan','<EMAIL>');
INSERT INTO APP_USER_USER_PROFILE (user_id, user_profile_id)
SELECT user.id, profile.id FROM app_user user, user_profile profile
where user.ident_id='1064' and profile.type='ADMIN';
CREATE TABLE persistent_logins (
username VARCHAR(64) NOT NULL,
series VARCHAR(64) NOT NULL,
token VARCHAR(64) NOT NULL,
last_used TIMESTAMP NOT NULL,
PRIMARY KEY (series)
);
create table USER_PRODUCTS(
id BIGINT NOT NULL AUTO_INCREMENT,
code_product VARCHAR(30) NOT NULL,
des_product VARCHAR(30) NOT NULL,
image_product VARCHAR(30) NOT NULL,
pathImage_product VARCHAR(30) NOT NULL,
type VARCHAR(30) NOT NULL,
PRIMARY KEY (id),
UNIQUE (code_product)
);
CREATE TABLE APP_USER_USER_PRODUCTS (
user_id BIGINT NOT NULL,
user_products_id BIGINT NOT NULL,
PRIMARY KEY (user_id, user_products_id),
CONSTRAINT FK_APP_USER_2 FOREIGN KEY (user_id) REFERENCES APP_USER (id),
CONSTRAINT FK_USER_PRODUCTS FOREIGN KEY (user_products_id) REFERENCES USER_PRODUCTS (id)
);
INSERT INTO USER_PRODUCTS(code_product, des_product, image_product, pathImage_product,type)
VALUES ('1064','El chocolate rico', 'Lord','kotan','HOL');
INSERT INTO APP_USER_USER_PRODUCTS (user_id, user_products_id)
SELECT user.id, products.id FROM `dajoSellers`.APP_USER user, `dajoSellers`.USER_PRODUCTS products
where user.ident_id='1064' and products.code_product='1064';
|
{{ config(materialized='table') }}
SELECT DISTINCT o.o_orderdate,
SUM(o.o_totalprice) over (ORDER BY o.o_orderdate) AS cumulative_sales
FROM "SNOWFLAKE_SAMPLE_DATA"."TPCH_SF1"."ORDERS" o
ORDER BY o.o_orderdate
|
-- DROP DATABASE
DROP DATABASE IF EXISTS tech_blog_db;
-- CREATE DATABASE
CREATE DATABASE tech_blog_db;
|
CREATE TABLE [AppDbo].[Stage] (
[StageId] INT IDENTITY (1, 1) NOT NULL,
[Stage] NVARCHAR (100) NOT NULL,
[OrderNumber] INT NOT NULL,
CONSTRAINT [PK_Stage] PRIMARY KEY CLUSTERED ([StageId] ASC)
);
GO
CREATE NONCLUSTERED INDEX [IX_Stage]
ON [AppDbo].[Stage]([Stage] ASC);
|
CREATE TABLE IF NOT EXISTS "simpleregister_passwords" (
"id" SERIAL PRIMARY KEY,
"name" VARCHAR(255),
"uuid" VARCHAR(36),
"ip" VARCHAR(255),
"password" VARCHAR(255)
);
CREATE INDEX "simpleregister_passwords_uuid" ON "simpleregister_passwords" ("uuid");
|
<reponame>pabloIO/clinica-unifranz
-- MySQL Script generated by MySQL Workbench
-- Thu Jan 11 00:30:54 2018
-- 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 clinica_unifranz_reservas
-- -----------------------------------------------------
-- -----------------------------------------------------
-- Schema clinica_unifranz_reservas
-- -----------------------------------------------------
CREATE SCHEMA IF NOT EXISTS `clinica_unifranz_reservas` DEFAULT CHARACTER SET utf8 ;
USE `clinica_unifranz_reservas` ;
-- -----------------------------------------------------
-- Table `clinica_unifranz_reservas`.`servicios`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `clinica_unifranz_reservas`.`servicios` (
`id` INT NOT NULL AUTO_INCREMENT,
`nombre_servicio` VARCHAR(80) NULL,
PRIMARY KEY (`id`))
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `clinica_unifranz_reservas`.`estado_civil`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `clinica_unifranz_reservas`.`estado_civil` (
`id` INT NOT NULL AUTO_INCREMENT,
`nombre` VARCHAR(80) NULL,
PRIMARY KEY (`id`))
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `clinica_unifranz_reservas`.`genero`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `clinica_unifranz_reservas`.`genero` (
`id` INT NOT NULL AUTO_INCREMENT,
`nombre` VARCHAR(80) NULL,
PRIMARY KEY (`id`))
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `clinica_unifranz_reservas`.`reserva_consulta`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `clinica_unifranz_reservas`.`reserva_consulta` (
`id` INT NOT NULL AUTO_INCREMENT,
`nombres` VARCHAR(80) NOT NULL,
`apat` VARCHAR(80) NOT NULL,
`amat` VARCHAR(80) NOT NULL,
`direccion` VARCHAR(80) NULL,
`correo` VARCHAR(80) NULL,
`telefono` INT NOT NULL,
`celular` INT NOT NULL,
`fecha_nacimiento` DATE NOT NULL,
`dni` VARCHAR(10) NOT NULL,
`fecha_creacion` DATETIME NULL,
`fecha_actualizacion` DATETIME NULL,
`atendido` TINYINT(1) NULL DEFAULT 0,
`estado_civil_id` INT NOT NULL,
`genero_id` INT NOT NULL,
PRIMARY KEY (`id`),
INDEX `fk_reserva_cita_estado_civil_idx` (`estado_civil_id` ASC),
INDEX `fk_reserva_cita_genero1_idx` (`genero_id` ASC),
CONSTRAINT `fk_reserva_cita_estado_civil`
FOREIGN KEY (`estado_civil_id`)
REFERENCES `clinica_unifranz_reservas`.`estado_civil` (`id`)
ON DELETE NO ACTION
ON UPDATE CASCADE,
CONSTRAINT `fk_reserva_cita_genero1`
FOREIGN KEY (`genero_id`)
REFERENCES `clinica_unifranz_reservas`.`genero` (`id`)
ON DELETE NO ACTION
ON UPDATE CASCADE)
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `clinica_unifranz_reservas`.`consulta_tiene_servicio`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `clinica_unifranz_reservas`.`consulta_tiene_servicio` (
`id` INT NOT NULL AUTO_INCREMENT,
`reserva_consulta_id` INT NOT NULL,
`servicios_id` INT NOT NULL,
`fecha_creacion` DATETIME NULL,
`fecha_actualizacion` DATETIME NULL,
PRIMARY KEY (`id`),
INDEX `fk_consulta_tiene_servicio_reserva_consulta1_idx` (`reserva_consulta_id` ASC),
INDEX `fk_consulta_tiene_servicio_servicios1_idx` (`servicios_id` ASC),
CONSTRAINT `fk_consulta_tiene_servicio_reserva_consulta1`
FOREIGN KEY (`reserva_consulta_id`)
REFERENCES `clinica_unifranz_reservas`.`reserva_consulta` (`id`)
ON DELETE NO ACTION
ON UPDATE CASCADE,
CONSTRAINT `fk_consulta_tiene_servicio_servicios1`
FOREIGN KEY (`servicios_id`)
REFERENCES `clinica_unifranz_reservas`.`servicios` (`id`)
ON DELETE NO ACTION
ON UPDATE CASCADE)
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `clinica_unifranz_reservas`.`usuario`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `clinica_unifranz_reservas`.`usuario` (
`id` INT NOT NULL AUTO_INCREMENT,
`nombre_usuario` VARCHAR(80) NOT NULL,
`password` VARCHAR(80) NOT NULL,
`fecha_creacion` DATETIME NULL,
`fecha_actualizacion` DATETIME NULL,
PRIMARY KEY (`id`))
ENGINE = InnoDB;
SET SQL_MODE=@OLD_SQL_MODE;
SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS;
SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS;
|
CREATE TABLE `dz`.`question` (
`question_id` int(11) NOT NULL AUTO_INCREMENT,
`question_description` varchar(255) NOT NULL,
PRIMARY KEY (`question_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `dz`.`quiz` (
`quiz_id` int(11) NOT NULL AUTO_INCREMENT,
`quiz_nome` varchar(255) DEFAULT NULL,
PRIMARY KEY (`quiz_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `dz`.`result` (
`result_id` int(11) NOT NULL AUTO_INCREMENT,
`result_name` varchar(255) NOT NULL,
`result_description` TEXT NOT NULL,
`quiz_id` int(11) NOT NULL,
PRIMARY KEY (`result_id`),
KEY `fk_result_quiz1_idx` (`quiz_id`),
CONSTRAINT `fk_result_quiz1` FOREIGN KEY (`quiz_id`) REFERENCES `dz`.`quiz` (`quiz_id`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `dz`.`user` (
`user_id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(255) DEFAULT NULL,
`password` varchar(255) DEFAULT NULL,
PRIMARY KEY (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
INSERT INTO `dz`.`user` VALUES (1,'admin',md5('admin'));
CREATE TABLE `dz`.`option` (
`option_id` int(11) NOT NULL AUTO_INCREMENT,
`option_description` varchar(255) DEFAULT NULL,
`question_id` int(11) NOT NULL,
`result_id` int(11) NOT NULL,
PRIMARY KEY (`option_id`),
KEY `fk_option_question_idx` (`question_id`),
KEY `fk_option_result1_idx` (`result_id`),
CONSTRAINT `fk_option_question` FOREIGN KEY (`question_id`) REFERENCES `dz`.`question` (`question_id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
CONSTRAINT `fk_option_result1` FOREIGN KEY (`result_id`) REFERENCES `dz`.`result` (`result_id`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
INSERT INTO `dz`.`quiz` (`quiz_id`, `quiz_nome`) VALUES
(1, 'Qual sua série?');
INSERT INTO `dz`.`result` (`result_id`, `result_name`,`result_description`, `quiz_id`) VALUES
(1, 'House of Cards', 'Ataca o problema com método e faz de tudo para resolver a situação.', 1),
(2, 'Game of Thrones','Não tem muita delicadeza nas ações, mas resolve o problema de forma prática.', 1),
(3, 'Lost', 'Faz as coisas sem ter total certeza se é o caminho certo ou se faz sentido, mas no final dá tudo certo.',1),
(4, 'Breaking Bad', 'Pra fazer acontecer você toma a liderança, mas sempre contando com seus parceiros.', 1),
(5, 'Silicon Valley', 'Vive a tecnologia o tempo todo e faz disso um mantra para cada situação no dia.',1);
INSERT INTO `dz`.`question` (`question_id`, `question_description`) VALUES
(1, 'De manhã, você:'),
(2, 'Indo para o trabalho você encontra uma senhora idosa caída na rua.'),
(3, 'Chega no prédio e o elevador está cheio.'),
(4, 'Você chega no trabalho e as convenções sociais te obrigam a puxar assunto.'),
(5, 'A pauta pegou o dia todo, mas você está indo para casa.');
INSERT INTO `dz`.`option` (`option_id`, `option_description`, `question_id`, `result_id`) VALUES
(1, 'Acorda cedo e come frutas cortadas metodicamente.', 1, 1),
(2, 'Sai da cama com o despertador e se prepara para a batalha da semana.', 1, 2),
(3, 'Só consegue lembrar do seu nome depois do café.', 1, 3),
(4, 'Levanta e faz café pra todos da casa.', 1, 4),
(5, 'Passa o café e conserta um erro no HTML.', 1, 5),
(6, 'Ela vai atrapalhar seu horário. Oculte o corpo.', 2, 1),
(7, 'Levanta a senhora e jura protegê-la com sua vida.', 2, 2),
(8, 'Ajuda-a, mas questiona sua real identidade.', 2, 3),
(9, 'Oferece para caminharem juntos até um destino em comum.', 2, 4),
(10, 'Testa se ela roda bem no Firefox. Não roda.', 2, 5),
(11, 'Convence parte das pessoas a esperarem o próximo.', 3, 1),
(12, 'Ignora as pessoas no elevador e entra de qualquer forma.', 3, 2),
(13, 'Você questiona a realidade, as coisas e tudo mais. Sobe de escada.', 3, 3),
(14, 'Com uma leve intimidação passivo-agressiva, encontra um lugar no elevador.', 3, 4),
(15, 'Cria um app que mostra a lotação do elevador. Vende o app e fica milionário.', 3, 5),
(16, 'Fala sobre a política, eleições, como tudo é um absurdo.', 4, 1),
(17, 'Larga uma frase polêmica e vê uma pequena guerra se formar.', 4, 2),
(18, 'Puxa um assunto e te lembram que já foi discutido semana passada.', 4, 3),
(19, 'Sugere que os colegas trabalhem na ideia de um novo projeto.', 4, 4),
(20, 'Desabafa sobre como odeia PHP. Todo mundo na sala adora PHP.', 4, 5),
(21, 'Vou chamar aqui o meu Uber.', 5, 1),
(22, 'Pegarei o bus junto com o resto do povo.', 5, 2),
(23, 'No ponto de ônibus mais uma vez, espero não errar a linha de novo.', 5, 3),
(24, 'Vou de carro, mas ofereço uma carona para os colegas.', 5, 4),
(25, 'Acho que descobri uma forma de fazer aquela senhora rodar no Firefox.', 5, 5);
|
<filename>dml.sql
/*
* DML - Data Modification Language
* DML is used for adding (inserting), deleting, and modifying (updating) data in a database
*/
INSERT INTO seasons (year)
VALUES
(2019);
INSERT INTO teams(team_name, team_city, home_stadium, team_nickname, team_owner)
VALUES
('New England Patriots', 'Foxborough', 'Gillette Stadium', 'Pats', '<NAME>'),
('Houston Texans', 'Houston', 'NRG Stadium', '', '<NAME>'),
('Jacksonville Jaguars', 'Jacksonville', 'TIAA Bankfield Stadium', 'Jags', '<NAME>'),
('Detroit Lions', 'Detriot', 'Ford Field Stadium', '', 'Sheila Ford Hamp'),
('Miami Dolphins', 'Miami', 'Hard Rock Stadium', '', '<NAME>'),
('Indianapolis Colts', 'Indianapolis', 'Lucas Oil Stadium', '', '<NAME>'),
('Kansas City Chiefs', 'Kansas City', 'Arrowhead Stadium', '', '<NAME>'),
('Chicago Bears', 'Chicago', 'Soldier Field', 'The Bears', '<NAME>'),
('Buffalo Bills', 'Buffalo', 'Highmark Stadium', '', '<NAME>'),
('Green Bay Packers', 'Green Bay', 'Lambeau Field', 'Packers', '<NAME>'),
('Tennessee Titans', 'Nashville', 'Nissan Stadium', 'The Titans', '<NAME>'),
('New York Jets', 'East Rutherford', 'MetLife Stadium', 'The Jets', '<NAME>'),
('Minnesota Vikings', 'Minneapolis', 'U.S. Bank Stadium', 'Vikings', '<NAME>'),
('Pittsburgh Steelers', 'Pittsburgh', 'Hienz Field', 'Steelers', 'Rooney Family'),
('Los Angeles Chargers', 'Inglewood', 'SoFi Stadium', 'Chargers', '<NAME>'),
('Los Angeles Rams', 'Inglewood', 'SoFi Stadium', 'Rams', '<NAME>'); /*superbowl*/
INSERT INTO games (season, home_team, visiting_team, home_score, visit_score, game_date, game_stadium)
VALUES
(1, 1, 2, 27, 20, '09/09/2018', 'Gillette Stadium'),
(1, 3, 1, 31, 20, '09/16/2018', 'TIAA Bankfield Stadium'),
(1, 4, 1, 26, 10, '09/23/2018', 'Ford Field Stadium'),
(1, 1, 5, 38, 7, '09/30/2018', 'Gillette Stadium'),
(1, 1, 6, 38, 24, '10/04/2018', 'Gillette Stadium'),
(1, 1, 7, 43, 40, '10/14/2018', 'Gillette Stadium'),
(1, 8, 1, 31, 38, '10/21/2018', 'Soldier Field'),
(1, 9, 1, 6, 25, '10/29/2018', 'Highmark Stadium'),
(1, 1, 10, 31, 17, '11/04/2018', 'Gillette Stadium'),
(1, 11, 1, 34, 10, '11/11/2018', 'Nissan Stadium'),
(1, 12, 1, 13, 27, '11/25/2018', 'MetLife Stadium'),
(1, 1, 13, 24, 10, '12/02/2018', 'Gillette Stadium'),
(1, 5, 1, 34, 33, '12/09/2018', 'Hard Rock Stadium'),
(1, 14, 1, 17, 10, '12/16/2018', '<NAME>'),
(1, 1, 9, 24, 12, '12/23/2018', 'Gillette Stadium'),
(1, 1, 12, 38, 3, '12/30/2018', 'Gillette Stadium'),
(1, 1, 15, 41, 28, '01/13/2019', 'Gillette Stadium'),
(1, 7, 1, 31, 37, '01/20/2019', 'Arrowhead Stadium'),
(1, 16, 1, 3, 13, '02/03/2019', 'Mercedes-Benz Stadium'); /*superbowl*/
|
<reponame>prateeknagwani/tally-database-loader
/*
Daily Receipt and Payment (incl Contra)
*/
declare
@fromDate date = '2014-04-01',
@toDate date = '2015-03-31';
with tblDateList as
(
select @fromDate value
union all
select dateadd(day, 1, value) from tblDateList where value < @toDate
),
tblCashMovement as
(
select v.date,
sum(case when a.amount < 0 then -a.amount else 0 end) receipt,
sum(case when a.amount > 0 then a.amount else 0 end) payment
from trn_accounting a
join trn_voucher v on v.guid = a.guid
join mst_ledger l on l.name = a.ledger
join mst_group g on g.name = l.parent
join mst_vouchertype t on t.name = v.voucher_type
where g.primary_group = 'cash-in-hand' and t.parent in ('receipt', 'payment', 'contra')
group by v.date
)
select d.value date, isnull(c.receipt, 0) receipt, isnull(c.payment, 0) payment
from tblDateList d
left join tblCashMovement c on d.value = c.date
option (maxrecursion 500)
;
|
--------------------------------------------------------------------------------
-- Mode ------------------------------------------------------------------------
--------------------------------------------------------------------------------
CREATE OR REPLACE VIEW Mode (Id, Reference, Code, Name, Description)
AS
SELECT c.id, c.reference, r.code, r.name, r.description
FROM db.mode c INNER JOIN Reference r ON r.id = c.reference;
GRANT SELECT ON Mode TO administrator;
--------------------------------------------------------------------------------
-- AccessMode ------------------------------------------------------------------
--------------------------------------------------------------------------------
CREATE OR REPLACE VIEW AccessMode
AS
WITH access AS (
SELECT * FROM AccessObjectUser(GetEntity('mode'), current_userid())
)
SELECT m.* FROM Mode m INNER JOIN access ac ON m.id = ac.object;
GRANT SELECT ON AccessMode TO administrator;
--------------------------------------------------------------------------------
-- ObjectMode ------------------------------------------------------------------
--------------------------------------------------------------------------------
CREATE OR REPLACE VIEW ObjectMode (Id, Object, Parent,
Entity, EntityCode, EntityName,
Class, ClassCode, ClassLabel,
Type, TypeCode, TypeName, TypeDescription,
Code, Name, Label, Description,
StateType, StateTypeCode, StateTypeName,
State, StateCode, StateLabel, LastUpdate,
Owner, OwnerCode, OwnerName, Created,
Oper, OperCode, OperName, OperDate
)
AS
SELECT m.id, r.object, o.parent,
o.entity, o.entitycode, o.entityname,
o.class, o.classcode, o.classlabel,
o.type, o.typecode, o.typename, o.typedescription,
r.code, r.name, o.label, r.description,
o.statetype, o.statetypecode, o.statetypename,
o.state, o.statecode, o.statelabel, o.lastupdate,
o.owner, o.ownercode, o.ownername, o.created,
o.oper, o.opercode, o.opername, o.operdate
FROM AccessMode m INNER JOIN Reference r ON m.reference = r.id
INNER JOIN Object o ON m.reference = o.id;
GRANT SELECT ON ObjectMode TO administrator;
|
<filename>sql_trab2/insert.sql<gh_stars>0
-- PESSOA
-- CLIENTE
INSERT INTO CLIENTE
VALUES ('455.111.111.31', '361111131', '<NAME>', '1977-07-16', 'CLIENTE');
INSERT INTO CLIENTE
VALUES ('455.111.111.32', '361111132', '<NAME>', '1955-02-23', 'CLIENTE');
INSERT INTO CLIENTE
VALUES ('455.111.111.33', '361111133', '<NAME>', '1947-11-08', 'CLIENTE');
INSERT INTO CLIENTE
VALUES ('455.111.111.34', '361111134', '<NAME>', '1924-05-10', 'CLIENTE');
INSERT INTO CLIENTE
VALUES ('455.111.111.35', '361111135', '<NAME>', '1993-03-19', 'CLIENTE');
INSERT INTO CLIENTE
VALUES ('455.111.111.36', '361111136', '<NAME>', '1976-10-23', 'CLIENTE');
-- BAR
INSERT INTO BAR
VALUES ('1');
INSERT INTO BAR
VALUES ('2');
INSERT INTO BAR
VALUES ('3');
INSERT INTO BAR
VALUES ('4');
INSERT INTO BAR
VALUES ('5');
-- FUNCIONARIO
INSERT INTO FUNCIONARIO
VALUES ('455.111.111.11', '361111111', '<NAME>', '1994-03-10', 'FUNCIONARIO', '111111111111111', '3000', '1');
INSERT INTO FUNCIONARIO
VALUES ('455.111.111.12', '361111112', '<NAME>', '1974-12-10', 'FUNCIONARIO', '111111111111112', '3000', '1');
INSERT INTO FUNCIONARIO
VALUES ('455.111.111.13', '361111113', 'PAULA CAMPOS', '1987-04-12', 'FUNCIONARIO', '111111111111113', '1000', '2');
INSERT INTO FUNCIONARIO
VALUES ('455.111.111.14', '361111114', 'LUIZ BARROS DA SILVA', '1969-11-02', 'FUNCIONARIO', '111111111111114', '3900', '2');
INSERT INTO FUNCIONARIO
VALUES ('455.111.111.15', '361111115', 'REGINALDO ALVES PEREIRA', '1976-04-01', 'FUNCIONARIO', '111111111111115', '3000', '3');
INSERT INTO FUNCIONARIO
VALUES ('455.111.111.16', '361111116', 'MATHEUS LVES PEREIRA', '1996-05-01', 'FUNCIONARIO', '111111111111116', '1900', '3');
-- PROPRIETARIO
INSERT INTO PROPRIETARIO
VALUES ('455.111.111.21', '361111121', 'PABLO DA SILVA', '1994-03-10', 'PROPRIETARIO', '1');
INSERT INTO PROPRIETARIO
VALUES ('455.111.111.22', '361111122', '<NAME>', '1996-03-10', 'PROPRIETARIO', '2');
INSERT INTO PROPRIETARIO
VALUES ('455.111.111.23', '361111123', '<NAME>', '1946-02-10', 'PROPRIETARIO', '1');
INSERT INTO PROPRIETARIO
VALUES ('455.111.111.24', '361111124', '<NAME>', '1940-12-17', 'PROPRIETARIO', '2');
INSERT INTO PROPRIETARIO
VALUES ('455.111.111.25', '361111125', '<NAME>', '1998-12-17', 'PROPRIETARIO', '2');
INSERT INTO PROPRIETARIO
VALUES ('455.111.111.26', '361111126', '<NAME>', '1968-12-17', 'PROPRIETARIO', '1');
-- DATA_ALOCACAO
INSERT INTO DATA_ALOCACAO
VALUES ('2018-12-01', '10:00:00');
-- ALOCACAO
INSERT INTO ALOCACAO
VALUES ('455.111.111.15', '3', '2018-12-01', '10:00:00', '500');
-- FANTASIA
INSERT INTO FANTASIA
VALUES ('1133111111111', 'LEAO', 'MARROM', 'P');
INSERT INTO FANTASIA
VALUES ('1133111111112', 'LEAO', 'MARROM', 'G');
INSERT INTO FANTASIA
VALUES ('1133111111113', 'ANJO', 'BRANCO', 'P');
INSERT INTO FANTASIA
VALUES ('1133111111114', 'ANJO', 'BRANCO', 'M');
INSERT INTO FANTASIA
VALUES ('1133111111115', 'ANJO', 'BRANCO', 'G');
INSERT INTO FANTASIA
VALUES ('1133111111116', 'CAPETA', 'VERMELHO', 'P');
INSERT INTO FANTASIA
VALUES ('1133111111117', 'CAPETA', 'VERMELHO', 'X');
INSERT INTO FANTASIA
VALUES ('1133111111118', 'CAMINHONEIRO', 'BEGE', 'X');
INSERT INTO FANTASIA
VALUES ('1133111111119', 'CAMINHONEIRO', 'BEGE', 'G');
INSERT INTO FANTASIA
VALUES ('1133111111120', 'CAMINHONEIRO', 'BEGE', 'G');
INSERT INTO FANTASIA
VALUES ('1133111111121', 'CORINGA', 'ROXA', 'P');
INSERT INTO FANTASIA
VALUES ('1133111111122', 'CORINGA', 'ROXA', 'M');
INSERT INTO FANTASIA
VALUES ('1133111111123', 'CORINGA', 'ROXA', 'M');
INSERT INTO FANTASIA
VALUES ('1133111112123', 'BATMAN', 'PRETO', 'G');
INSERT INTO FANTASIA
VALUES ('1133111111124', 'BATMAN', 'PRETO', 'M');
INSERT INTO FANTASIA
VALUES ('1133111111125', 'SUPERMAN', 'VERMELHO', 'P');
INSERT INTO FANTASIA
VALUES ('1133111111126', 'SUPERMAN', 'VERMELHO', 'M');
INSERT INTO FANTASIA
VALUES ('1133111111127', 'SUPERMAN', 'VERMELHO', 'G');
INSERT INTO FANTASIA
VALUES ('1133111111128', 'PESCADOR', 'BEGE', 'M');
INSERT INTO FANTASIA
VALUES ('1133111111129', 'PESCADOR', 'BEGE', 'G');
-- FESTA
-- CARNAVAL
-- BALADA
INSERT INTO FESTA
VALUES ('2018-12-01', '01:30:00', 'BALADA', '100');
INSERT INTO FESTA
VALUES ('2018-12-02', '16:00:00', 'CARNAVAL', '75');
-- COMANDA
INSERT INTO COMANDA
VALUES ('12345111', '455.111.111.31', '100', '1133111111111', '2018-12-01', '01:30:00');
-- ALUGUEL
INSERT INTO ALUGUEL
VALUES ('12345111', '1133111111122');
-- PALCO
INSERT INTO PALCO
VALUES ('1', '01:15:00');
INSERT INTO PALCO
VALUES ('2', '01:00:00');
INSERT INTO PALCO
VALUES ('3', '01:30:00');
INSERT INTO PALCO
VALUES ('4', '01:45:00');
INSERT INTO PALCO
VALUES ('5', '02:00:00');
-- BANDA
INSERT INTO BANDA
VALUES ('ANNITA', '02:00:00', 'FUNK', '30000');
INSERT INTO BANDA
VALUES ('<NAME>', '01:30:00', 'FORRO', '8000');
INSERT INTO BANDA
VALUES ('KEVINHO', '02:00:00', 'FUNK', '39000');
INSERT INTO BANDA
VALUES ('BONDE DO TIGRAO', '03:50:00', 'FUNK', '20500');
INSERT INTO BANDA
VALUES ('<NAME>', '02:00:00', 'SERTANEJO', '11000');
INSERT INTO BANDA
VALUES ('WESLEY SAFADAO', '02:10:00', 'SERTANEJO', '83000');
INSERT INTO BANDA
VALUES ('<NAME>', '01:00:00', 'SERTANEJO', '3000');
INSERT INTO BANDA
VALUES ('<NAME>', '01:20:00', 'SERTANEJO', '30000');
INSERT INTO BANDA
VALUES ('<NAME>', '01:30:00', 'FUNK', '30000');
-- SHOW_BANDA
INSERT INTO SHOW_BANDA
VALUES ('BONDE DO TIGRAO', '3', '16:30:00', '2018-12-02');
INSERT INTO SHOW_BANDA
VALUES ('WESLEY SAFADAO', '2', '19:00:00', '2018-12-02');
INSERT INTO SHOW_BANDA
VALUES ('<NAME>', '3', '19:00:00', '2018-12-02');
-- CONTRATO_BANDA
--INSERT INTO CONTRATO_BANDA
--VALUES ('123', '2018-12-02', '<NAME>', '2018-12-02', '16:00:00', '35')
-- DJ
INSERT INTO DJ
VALUES ('<NAME>', '02:00:00', '100');
INSERT INTO DJ
VALUES ('ALOK', '02:00:00', '23000');
INSERT INTO DJ
VALUES ('VEGAS', '01:30:00', '15000');
INSERT INTO DJ
VALUES ('<NAME>', '01:50:00', '30000');
INSERT INTO DJ
VALUES ('<NAME>', '02:10:00', '10000');
INSERT INTO DJ
VALUES ('<NAME>', '03:00:00', '22000');
INSERT INTO DJ
VALUES ('HARDWELL', '12:50:00', '1000');
INSERT INTO DJ
VALUES ('<NAME>', '01:20:00', '25000');
-- SHOW_DJ
INSERT INTO SHOW_DJ
VALUES ('1', '<NAME>', '01:00:00', '2018-12-01');
INSERT INTO SHOW_DJ
VALUES ('1', '<NAME>', '01:00:00','2018-12-01');
INSERT INTO SHOW_DJ
VALUES ('3', '<NAME>', '01:00:00', '2018-12-01');
-- CONTRATO_DJ
--INSERT INTO CONTRATO_DJ
--VALUES ('223', '2018-12-01', '01:30:00', '<NAME>', '20');
-- FOOD-TRUCK
INSERT INTO FOOD_TRUCK
VALUES ('ACB1111', 'DOGAO', 'HOT - DOG', '455.111.111.21');
INSERT INTO FOOD_TRUCK
VALUES ('AAA2221', '<NAME>', 'COMIDA JAPONESA', '455.111.111.22');
INSERT INTO FOOD_TRUCK
VALUES ('AAA2222', 'CHOURIPAN', 'LANCHE ARTESANAL', '455.111.111.22');
INSERT INTO FOOD_TRUCK
VALUES ('BBB1234', 'LANCHES FABIO', 'LANCHE', '455.111.111.23');
INSERT INTO FOOD_TRUCK
VALUES ('AAB1222', 'GRILL NOTA MIL ', 'CHURRASCO', '455.111.111.24');
INSERT INTO FOOD_TRUCK
VALUES ('AAB2222', 'SUCOS NATURAIS', 'SUCO', '45172.16.31.10');
INSERT INTO FOOD_TRUCK
VALUES ('AAB3222', 'LARICA MANEIRA', 'LANCHE', '455.111.111.25');
INSERT INTO FOOD_TRUCK
VALUES ('AAB4222', 'MISTAO', 'LANCHE', '455.111.111.25');
INSERT INTO FOOD_TRUCK
VALUES ('AAB5222', 'PIZZA NO CONE', 'PIZZA', '455.111.111.26');
-- PARTICIPACAO
INSERT INTO PARTICIPACAO
VALUES ('AAB1222', '2018-12-02', '16:00:00');
-- COMIDA
INSERT INTO COMIDA
VALUES ('12', 'ACB1111', 'HOT - DOG ALEMAO', '8');
INSERT INTO COMIDA
VALUES ('9', 'ACB1111', 'HOT - DOG BRASILEIRINHO', '6');
INSERT INTO COMIDA
VALUES ('3', 'AAA2221', 'TEMAKI DE NUTELLA', '15');
INSERT INTO COMIDA
VALUES ('5', 'AAA2221', 'TEMAKI DE CHURROS', '20');
INSERT INTO COMIDA
VALUES ('3', 'AAA2222', 'BURGAO ANGUS', '36');
INSERT INTO COMIDA
VALUES ('2', 'AAA2222', 'BURGAO VEGANO TRISTE', '10');
INSERT INTO COMIDA
VALUES ('5', 'BBB1234', 'X MORTADELA', '12');
INSERT INTO COMIDA
VALUES ('7', 'BBB1234', 'X OVO', '11');
INSERT INTO COMIDA
VALUES ('6', 'AAB1222', 'ESPETO FRANGO', '7');
INSERT INTO COMIDA
VALUES ('2', 'AAB1222', 'ESPETO CALABRESA', '8');
INSERT INTO COMIDA
VALUES ('9', 'AAB2222', 'DETOX', '15');
INSERT INTO COMIDA
VALUES ('1', 'AAB2222', 'ABACAXI COM HORTELA', '12');
INSERT INTO COMIDA
VALUES ('6', 'AAB3222', 'SUPER X TUDO', '22');
INSERT INTO COMIDA
VALUES ('8', 'AAB3222', 'X DA CASA ESPECIAL', '25');
INSERT INTO COMIDA
VALUES ('1', 'AAB4222', 'BAURU PLUS', '13');
INSERT INTO COMIDA
VALUES ('9', 'AAB4222', 'MISTO MISERIA', '6');
INSERT INTO COMIDA
VALUES ('12', 'AAB5222', 'QUATRO QUEIJOS', '9');
INSERT INTO COMIDA
VALUES ('7', 'AAB5222', 'PORTUGUESA', '7');
-- REGISTRA_COMIDA
INSERT INTO REGISTRA_COMIDA
VALUES ('12345111', '6', 'AAB1222');
INSERT INTO REGISTRA_COMIDA
VALUES ('12345111', '3', 'AAA2222');
INSERT INTO REGISTRA_COMIDA
VALUES ('12345111', '7', 'BBB1234');
-- DATA_VENDA_COMIDA
INSERT INTO DATA_VENDA_COMIDA
VALUES ('2018-12-02', '18:00:00');
-- VENDA_DE_COMIDA
INSERT INTO VENDA_DE_COMIDA
VALUES ('00112233445566778899', '2018-12-02', '18:00:00', '12345111', '6', 'AAB1222', '40');
-- BEBIDA
INSERT INTO BEBIDA
VALUES ('1', '2121211111111', 'PITU', '10');
INSERT INTO BEBIDA
VALUES ('1', '2121211111112', 'COCA', '8');
INSERT INTO BEBIDA
VALUES ('2', '2121211111113', 'VODKA', '20');
INSERT INTO BEBIDA
VALUES ('2', '2121211111114', 'KVAS', '18');
INSERT INTO BEBIDA
VALUES ('3', '2121211111115', 'MORS', '16');
INSERT INTO BEBIDA
VALUES ('3', '2121211111116', 'RYAZHENKA', '22');
INSERT INTO BEBIDA
VALUES ('4', '2121211111117', 'CERVEJA', '9');
INSERT INTO BEBIDA
VALUES ('4', '2121211111118', 'VINHO', '15');
INSERT INTO BEBIDA
VALUES ('5', '2121211111119', 'TEQUILA', '14');
INSERT INTO BEBIDA
VALUES ('5', '2121211111120', 'CHOPP', '12');
-- REGISTRA_BEBIDA
INSERT INTO REGISTRA_BEBIDA
VALUES ('12345111', '5', '2121211111120');
INSERT INTO REGISTRA_BEBIDA
VALUES ('12345111', '5', '2121211111119');
INSERT INTO REGISTRA_BEBIDA
VALUES ('12345111', '4', '2121211111118');
INSERT INTO REGISTRA_BEBIDA
VALUES ('12345111', '1', '2121211111111');
-- DATA_VENDA_BEBIDA
INSERT INTO DATA_VENDA_BEBIDA
VALUES ('2018-12-01', '3:00:00');
INSERT INTO DATA_VENDA_BEBIDA
VALUES ('2018-12-01', '3:01:00');
INSERT INTO DATA_VENDA_BEBIDA
VALUES ('2018-12-01', '3:02:00');
-- VENDA_BEBIDA
INSERT INTO VENDA_BEBIDA
VALUES ('11112233445566778899', '2018-12-01', '3:00:00', '12345111', '5', '2121211111120', '12');
INSERT INTO VENDA_BEBIDA
VALUES ('11112233445566778899', '2018-12-01', '3:01:00', '12345111', '5', '2121211111120', '12');
INSERT INTO VENDA_BEBIDA
VALUES ('11112233445566778899', '2018-12-01', '3:02:00', '12345111', '5', '2121211111120', '12');
INSERT INTO DATA_VENDA_BEBIDA
VALUES ('2018-12-01', '3:03:00');
INSERT INTO DATA_VENDA_BEBIDA
VALUES ('2018-12-01', '3:04:00');
INSERT INTO DATA_VENDA_BEBIDA
VALUES ('2018-12-01', '3:05:00');
INSERT INTO VENDA_BEBIDA
VALUES ('11112233445566778899', '2018-12-01', '3:03:00', '12345111', '5', '2121211111119', '15');
INSERT INTO VENDA_BEBIDA
VALUES ('11112233445566778899', '2018-12-01', '3:04:00', '12345111', '5', '2121211111119', '15');
INSERT INTO VENDA_BEBIDA
VALUES ('11112233445566778899', '2018-12-01', '3:05:00', '12345111', '5', '2121211111119', '15');
|
<reponame>qvant/achivement_bot<gh_stars>0
CREATE SCHEMA achievements_hunt
AUTHORIZATION achievements_hunt_bot;
create table achievements_hunt.statuses
(
id integer primary key,
name varchar(32)
);
create unique index u_statuses_name on achievements_hunt.statuses(name);
alter table achievements_hunt.statuses owner to achievements_hunt_bot;
insert into achievements_hunt.statuses(id, name) values (1, 'New');
insert into achievements_hunt.statuses(id, name) values (2, 'Valid');
create table achievements_hunt.platforms
(
id serial primary key,
name varchar(255) not null
);
alter table achievements_hunt.platforms owner to achievements_hunt_bot;
insert into achievements_hunt.platforms(id, name) values(1, 'Steam');
create table achievements_hunt.platform_languages
(
id serial primary key,
platform_id integer not null,
name varchar(1024) not null,
locale_name varchar(32) not null,
dt_created timestamp with time zone default current_timestamp,
dt_last_update timestamp with time zone
);
alter table achievements_hunt.platform_languages owner to achievements_hunt_bot;
create unique index u_platform_languages_key on achievements_hunt.platform_languages(platform_id, locale_name);
create unique index u_platform_languages_key2 on achievements_hunt.platform_languages(platform_id, name);
insert into achievements_hunt.platform_languages(platform_id, name, locale_name) values(1, 'English', 'en');
insert into achievements_hunt.platform_languages(platform_id, name, locale_name) values(1, 'Russian', 'ru');
create table achievements_hunt.games
(
id serial primary key,
platform_id integer not null,
name varchar(1024) not null,
ext_id varchar(1024) not null,
dt_create timestamp with time zone default current_timestamp not null,
dt_update timestamp with time zone,
num_owners integer default 0 not null,
has_achievements boolean default true not null
);
create unique index u_games_ext_key on achievements_hunt.games(platform_id, ext_id);
alter table achievements_hunt.games ADD CONSTRAINT u_games_ext_key unique using index u_games_ext_key;
alter table achievements_hunt.games ADD CONSTRAINT fk_games_to_platforms foreign key (platform_id) references achievements_hunt.platforms(id);
alter table achievements_hunt.games owner to achievements_hunt_bot;
create table achievements_hunt.achievements
(
id serial primary key,
platform_id integer not null,
game_id integer not null,
name varchar(1024) not null,
ext_id varchar(1024) not null,
description varchar(1024),
dt_create timestamp with time zone default current_timestamp not null,
dt_update timestamp with time zone,
num_owners integer default 0 not null,
percent_owners real default 0 not null
);
create unique index u_achievements_ext_key on achievements_hunt.achievements(platform_id, game_id, ext_id);
alter table achievements_hunt.achievements ADD CONSTRAINT u_achievements_ext_key unique using index u_achievements_ext_key;
alter table achievements_hunt.achievements ADD CONSTRAINT fk_achievements_to_platforms foreign key (platform_id) references achievements_hunt.platforms(id);
alter table achievements_hunt.achievements ADD CONSTRAINT fk_achievements_to_games foreign key (game_id) references achievements_hunt.games(id);
alter table achievements_hunt.achievements owner to achievements_hunt_bot;
create table achievements_hunt.achievement_translations
(
id serial primary key,
platform_id integer not null,
game_id integer not null,
achievement_id integer not null,
locale varchar(32) not null,
name varchar(1024),
description varchar(1024),
dt_create timestamp with time zone default current_timestamp not null,
dt_update timestamp with time zone
);
create unique index u_achievement_translations_key on achievements_hunt.achievement_translations(platform_id, game_id, achievement_id, locale);
create index idx_achievement_achievement on achievements_hunt.achievement_translations(achievement_id);
alter table achievements_hunt.achievement_translations ADD CONSTRAINT u_achievement_translations_key unique using index u_achievement_translations_key;
alter table achievements_hunt.achievement_translations ADD CONSTRAINT fk_achievements_to_platforms foreign key (platform_id) references achievements_hunt.platforms(id);
alter table achievements_hunt.achievement_translations ADD CONSTRAINT fk_achievements_to_games foreign key (game_id) references achievements_hunt.games(id);
alter table achievements_hunt.achievement_translations ADD CONSTRAINT fk_achievements_to_achievements foreign key (achievement_id) references achievements_hunt.achievements(id);
alter table achievements_hunt.achievement_translations owner to achievements_hunt_bot;
create table achievements_hunt.users
(
id serial primary key,
telegram_id integer not null,
dt_created timestamp with time zone default current_timestamp,
dt_last_update timestamp with time zone,
locale varchar(32),
dt_last_delete timestamp with time zone
);
create unique index u_users_telegram_id on achievements_hunt.users(telegram_id);
alter table achievements_hunt.users owner to achievements_hunt_bot;
create table achievements_hunt.players
(
id serial primary key,
platform_id integer not null,
name varchar(1024) not null,
ext_id varchar(255) not null,
dt_create timestamp with time zone default current_timestamp not null,
dt_update timestamp with time zone,
telegram_id integer,
status_id integer not null,
is_public boolean not null default true,
dt_update_full timestamp with time zone,
dt_update_inc timestamp with time zone
);
create unique index u_players_ext_key on achievements_hunt.players(platform_id, ext_id);
create unique index u_players_telegram on achievements_hunt.players(platform_id, telegram_id);
create index idx_players_name on achievements_hunt.players(name);
alter table achievements_hunt.players ADD CONSTRAINT u_players_ext_key unique using index u_players_ext_key;
alter table achievements_hunt.players ADD CONSTRAINT fk_players_to_platforms foreign key (platform_id) references achievements_hunt.platforms(id);
alter table achievements_hunt.players ADD CONSTRAINT fk_players_to_statuses foreign key (status_id) references achievements_hunt.statuses(id);
alter table achievements_hunt.players ADD CONSTRAINT fk_players_to_users foreign key (telegram_id) references achievements_hunt.users(telegram_id) on delete cascade;
alter table achievements_hunt.players owner to achievements_hunt_bot;
create table achievements_hunt.player_games
(
id serial primary key,
platform_id integer not null,
game_id integer not null,
player_id integer not null,
percent_complete real,
is_perfect boolean
);
create unique index u_player_games_key on achievements_hunt.player_games(platform_id, game_id, player_id);
create index idx_player_games_player on achievements_hunt.player_games(player_id);
create index idx_player_games_game on achievements_hunt.player_games(game_id);
alter table achievements_hunt.player_games ADD CONSTRAINT fk_player_games_to_platforms foreign key (platform_id) references achievements_hunt.platforms(id);
alter table achievements_hunt.player_games ADD CONSTRAINT fk_player_games_to_games foreign key (game_id) references achievements_hunt.games(id);
alter table achievements_hunt.player_games ADD CONSTRAINT fk_player_games_to_players foreign key (player_id) references achievements_hunt.players(id) on delete cascade;
alter table achievements_hunt.player_games owner to achievements_hunt_bot;
create table achievements_hunt.player_achievements
(
id serial primary key,
platform_id integer not null,
game_id integer not null,
achievement_id integer not null,
player_id integer not null,
dt_unlock timestamp with time zone
);
create unique index u_player_achievements_key on achievements_hunt.player_achievements(player_id, platform_id, game_id, achievement_id);
create index idx_player_achievements_game on achievements_hunt.player_achievements(game_id);
create index idx_player_achievements_achievement on achievements_hunt.player_achievements(achievement_id);
create index idx_player_achievements_player on achievements_hunt.player_achievements(player_id);
alter table achievements_hunt.player_achievements ADD CONSTRAINT fk_player_achievements_to_platforms foreign key (platform_id) references achievements_hunt.platforms(id);
alter table achievements_hunt.player_achievements ADD CONSTRAINT fk_player_achievements_to_games foreign key (game_id) references achievements_hunt.games(id);
alter table achievements_hunt.player_achievements ADD CONSTRAINT fk_player_achievements_to_players foreign key (player_id) references achievements_hunt.players(id) on delete cascade;
alter table achievements_hunt.player_achievements ADD CONSTRAINT fk_player_achievements_to_achievement foreign key (achievement_id) references achievements_hunt.achievements(id);
alter table achievements_hunt.player_achievements owner to achievements_hunt_bot;
create table achievements_hunt.update_history
(
id serial primary key,
dt_started timestamp with time zone default current_timestamp,
dt_ended timestamp with time zone,
dt_next_update timestamp with time zone,
id_platform integer not null
);
create index idx_update_history_dt_next_update on achievements_hunt.update_history(id_platform, dt_next_update, dt_ended);
alter table achievements_hunt.update_history owner to achievements_hunt_bot;
create table achievements_hunt.queue_achievements_update
(
id serial primary key,
achievement_id integer not null,
game_id integer not null,
platform_id integer not null,
dt_insert timestamp with time zone default current_timestamp not null,
operation varchar(32)
);
alter table achievements_hunt.queue_achievements_update owner to achievements_hunt_bot;
create table achievements_hunt.queue_games_update
(
id serial primary key,
game_id integer not null,
platform_id integer not null,
dt_insert timestamp with time zone default current_timestamp not null,
player_id integer not null,
operation varchar(32)
);
alter table achievements_hunt.queue_games_update owner to achievements_hunt_bot;
create table achievements_hunt.queue_player_achievements_update
(
id serial primary key,
achievement_id integer not null,
game_id integer not null,
platform_id integer not null,
dt_insert timestamp with time zone default current_timestamp not null,
player_id integer not null,
operation varchar(32)
);
alter table achievements_hunt.queue_player_achievements_update owner to achievements_hunt_bot;
CREATE OR REPLACE FUNCTION achievements_hunt.f_on_achievements_del()
RETURNS trigger
LANGUAGE plpgsql
AS $function$
BEGIN
insert into achievements_hunt.queue_achievements_update(achievement_id, game_id, platform_id, operation) values (old.id, old.game_id, old.platform_id, TG_OP);
return old;
END;
$function$
;
CREATE OR REPLACE FUNCTION achievements_hunt.f_on_achievements_ins()
RETURNS trigger
LANGUAGE plpgsql
AS $function$
BEGIN
insert into achievements_hunt.queue_achievements_update(achievement_id, game_id, platform_id, operation) values (new.id, new.game_id, new.platform_id, TG_OP);
return new;
END;
$function$
;
CREATE OR REPLACE FUNCTION achievements_hunt.f_on_player_achievements_del()
RETURNS trigger
LANGUAGE plpgsql
AS $function$
BEGIN
insert into achievements_hunt.queue_player_achievements_update(achievement_id, game_id, platform_id, player_id, operation) values (old.achievement_id, old.game_id, old.platform_id, old.player_id, TG_OP);
return old;
END;
$function$
;
CREATE OR REPLACE FUNCTION achievements_hunt.f_on_player_achievements_ins()
RETURNS trigger
LANGUAGE plpgsql
AS $function$
BEGIN
insert into achievements_hunt.queue_player_achievements_update(achievement_id, game_id, platform_id, player_id, operation) values (new.achievement_id, new.game_id, new.platform_id, new.player_id, TG_OP);
return new;
END;
$function$
;
CREATE OR REPLACE FUNCTION achievements_hunt.f_on_player_games_del()
RETURNS trigger
LANGUAGE plpgsql
AS $function$
BEGIN
insert into achievements_hunt.queue_games_update(game_id, platform_id, player_id, operation) values (old.game_id, old.platform_id, old.player_id, TG_OP);
return old;
END;
$function$
;
CREATE OR REPLACE FUNCTION achievements_hunt.f_on_player_games_ins()
RETURNS trigger
LANGUAGE plpgsql
AS $function$
BEGIN
insert into achievements_hunt.queue_games_update(game_id, platform_id, player_id, operation) values (new.game_id, new.platform_id, new.player_id, TG_OP);
return new;
END;
$function$
;
create trigger trg_on_achievements_ad after
delete
on
achievements_hunt.achievements for each row execute procedure achievements_hunt.f_on_achievements_del();
create trigger trg_on_achievements_ai after
insert
on
achievements_hunt.achievements for each row execute procedure achievements_hunt.f_on_achievements_ins();
create trigger trg_on_player_achievements_ad after
delete
on
achievements_hunt.player_achievements for each row execute procedure achievements_hunt.f_on_player_achievements_del();
create trigger trg_on_player_achievements_ai after
insert
on
achievements_hunt.player_achievements for each row execute procedure achievements_hunt.f_on_player_achievements_ins();
create trigger trg_player_games_ad after
delete
on
achievements_hunt.player_games for each row execute procedure achievements_hunt.f_on_player_games_del();
create trigger trg_player_games_ai after
insert
on
achievements_hunt.player_games for each row execute procedure achievements_hunt.f_on_player_games_ins();
create table achievements_hunt.version
(
v_name varchar(255),
n_version integer,
dt_update timestamp with time zone
);
alter table achievements_hunt.version owner to achievements_hunt_bot;
insert into achievements_hunt.version(v_name, n_version, dt_update) values('Achievement hunt bot', 1, current_timestamp);
commit;
|
CREATE TABLE forum_reponses (
id int(6) NOT NULL auto_increment,
auteur VARCHAR(30) NOT NULL,
message text NOT NULL,
date_reponse datetime NOT NULL default '0000-00-00 00:00:00',
correspondance_sujet int(6) NOT NULL,
PRIMARY KEY (id)
) TYPE=MyISAM;
|
CREATE TABLE `hopak`.`users` (
`user_id` INT(11) NOT NULL,
`username` VARCHAR(45) NOT NULL,
`email` VARCHAR(45) NOT NULL,
`password` VARCHAR(100) NOT NULL,
PRIMARY KEY (`user_id`),
UNIQUE INDEX `user_id_UNIQUE` (`user_id` ASC) VISIBLE,
UNIQUE INDEX `username_UNIQUE` (`username` ASC) VISIBLE,
UNIQUE INDEX `email_UNIQUE` (`email` ASC) VISIBLE,
UNIQUE INDEX `password_UNIQUE` (`password` ASC) VISIBLE);
|
<gh_stars>1-10
SET DEFINE OFF;
CREATE SEQUENCE AFW_36_FILTR_SESN_SEQ
START WITH 1
MAXVALUE 9999999999999999999999999999
MINVALUE 1
NOCYCLE
CACHE 20
NOORDER
/
|
-- +goose Up
CREATE TABLE IF NOT EXISTS `shoppingcart` (
`id` BIGINT NOT NULL AUTO_INCREMENT,
`user_id` BIGINT NOT NULL,
`created_at` TIMESTAMP NOT NULL,
`updated_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP(),
PRIMARY KEY (`id`),
INDEX `user_id_cart_id` (`user_id`, `id`)
)
DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci
ENGINE=InnoDB;
CREATE TABLE IF NOT EXISTS `shoppingcart_item` (
`id` BIGINT NOT NULL AUTO_INCREMENT,
`shoppingcart_id` BIGINT NOT NULL,
`product_id` BIGINT NOT NULL,
`quantity` INT UNSIGNED NOT NULL DEFAULT 1,
`created_at` TIMESTAMP NOT NULL,
`updated_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP(),
PRIMARY KEY (`id`),
INDEX `shoppingcart_id_item_id` (`shoppingcart_id`, `id`),
FOREIGN KEY (`shoppingcart_id`) REFERENCES shoppingcart(id)
)
DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci
ENGINE=InnoDB;
-- +goose Down
DROP TABLE IF EXISTS `shoppingcart_item`;
DROP TABLE IF EXISTS `shoppingcart`;
|
<gh_stars>1-10
--Authors: <NAME>, <NAME> (SQL Help)
WITH stitch AS (
select a.accession, a.id as rxn_id,
b.reactionside,
b.reactionsidereactiontype,
c.compound,
d.id as cmpd_id,
d.name
FROM reaction a
inner join reactionsidereaction b on a.accession = b.reaction
inner join reactionparticipant c USING(reactionside)
inner join compound d ON c.compound = d.accession
where b.reactionsidereactiontype <> 'substrateorproduct'
and d.id != 0
),
not_one(ids) AS (
SELECT cmpd_id FROM (
SELECT count(*) as count, cmpd_id
FROM stitch
GROUP BY cmpd_id
ORDER BY count(*) DESC )
WHERE count > 100 -- modify to filter out commonly available molecules
),
chain AS (
select c.rxn_id, c.reactionsidereactiontype as type1, c.cmpd_id as prod_id, c.name as prod_name,
d.reactionsidereactiontype as type2, d.cmpd_id as sub_id, d.name as sub_name, 0 as lvl,
c.name|| ',' ||d.name as name_path,
cast(c.rxn_id as text) as id_path
from
stitch c
inner join stitch d on c.rxn_id = d.rxn_id
where c.cmpd_id = ?
and sub_id NOT IN (SELECT ids from not_one)
and type2 = 'substrate'
and type1 <> 'substrate'
UNION ALL
select e.rxn_id, e.reactionsidereactiontype as type1, e.cmpd_id as prod_id, e.name as prod_name,
f.reactionsidereactiontype as type2, f.cmpd_id as sub_id, f.name as sub_name, chain.lvl + 1 as lvl,
chain.name_path || ',' || f.name as name_path,
chain.id_path || ',' || cast(e.rxn_id as text) as id_path
from
stitch e
inner join stitch f on e.rxn_id = f.rxn_id
inner join chain on e.cmpd_id = chain.sub_id
where lvl < ?
and f.reactionsidereactiontype LIKE '%substrate%'
and e.reactionsidereactiontype NOT LIKE '%substrate%'
and f.cmpd_id NOT IN (SELECT ids FROM not_one)
and instr(chain.name_path, f.name) = 0
)
select * from chain
|
<filename>phoenix-scala/sql/V1.053__create_gift_card_adjustments.sql
-- ledger for all adjustments (credits/debits) to gift_cards
create table gift_card_adjustments (
id serial primary key,
gift_card_id integer not null,
order_payment_id integer null,
store_admin_id integer null,
credit integer not null default 0,
debit integer not null default 0,
available_balance integer not null default 0,
state character varying(255) not null,
created_at generic_timestamp,
foreign key (gift_card_id) references gift_cards(id) on update restrict on delete restrict,
foreign key (order_payment_id) references order_payments(id) on update restrict on delete restrict,
-- both credit/debit are unsigned (never negative) and only one can be > 0
constraint valid_entry check (
(
(credit >= 0 and debit >= 0) and
(credit > 0 or debit > 0) and
not (credit > 0 and debit > 0) and
state <> 'cancellationCapture'
) or
(credit >= 0 and debit >= 0 and state = 'cancellationCapture')
),
constraint valid_state check (state in ('auth','canceled','capture','cancellationCapture'))
);
create function update_gift_card_current_balance() returns trigger as $$
declare
adjustment integer default 0;
new_available_balance integer default 0;
begin
if new.debit > 0 then
adjustment := -new.debit;
elsif new.credit > 0 then
adjustment := new.credit;
end if;
-- canceling an adjustment should remove its monetary change from the gc
if new.state = 'canceled' and old.state != 'canceled' then
if old.state = 'capture' or old.state = 'cancellationCapture' then
update gift_cards
set current_balance = current_balance - adjustment,
available_balance = available_balance - adjustment
where id = new.gift_card_id
returning available_balance into new_available_balance;
else
update gift_cards
set available_balance = available_balance - adjustment
where id = new.gift_card_id
returning available_balance into new_available_balance;
end if;
new.available_balance = new_available_balance;
return new;
end if;
-- handle credit or debit for auth or capture
if new.state = 'capture' then
update gift_cards
set current_balance = current_balance + adjustment,
available_balance = available_balance + adjustment
where id = new.gift_card_id
returning available_balance into new_available_balance;
else
update gift_cards
set available_balance = available_balance + adjustment
where id = new.gift_card_id
returning available_balance into new_available_balance;
end if;
new.available_balance = new_available_balance;
return new;
end;
$$ language plpgsql;
create trigger set_gift_card_current_balance_trg
before insert
on gift_card_adjustments
for each row
execute procedure update_gift_card_current_balance();
create trigger update_gift_card_current_balance_trg
before update
on gift_card_adjustments
for each row
execute procedure update_gift_card_current_balance();
create index gift_card_adjustments_payment_state_idx on gift_card_adjustments (order_payment_id, state);
create index gift_card_adjustments_gift_card_idx on gift_card_adjustments (gift_card_id);
|
grant alter any COLLATION TO PUBLIC WITH GRANT OPTION;
grant alter any DOMAIN TO PUBLIC WITH GRANT OPTION;
grant alter any EXCEPTION TO PUBLIC WITH GRANT OPTION;
grant alter any FILTER TO PUBLIC WITH GRANT OPTION;
grant alter any FUNCTION TO PUBLIC WITH GRANT OPTION;
grant alter any SEQUENCE TO PUBLIC WITH GRANT OPTION;
grant alter any PACKAGE TO PUBLIC WITH GRANT OPTION;
grant alter any PROCEDURE TO PUBLIC WITH GRANT OPTION;
grant alter any ROLE TO PUBLIC WITH GRANT OPTION;
grant alter any TABLE TO PUBLIC WITH GRANT OPTION;
grant alter any VIEW TO PUBLIC WITH GRANT OPTION;
grant alter any CHARACTER SET TO PUBLIC WITH GRANT OPTION;
|
<filename>sql2019workshop/sql2019wks/03_Security/dataclassification/findpeopleonecolumn.sql
USE WideWorldImporters
GO
-- What if I access just one of the columns directly?
SELECT FullName FROM [Application].[People]
GO
|
-- you can change the password on initial the database.
/**
create database `wolf` CHARACTER SET utf8mb4;
grant DELETE,EXECUTE,INSERT,SELECT,UPDATE
on wolf.* to wolfroot@'127.0.0.1' IDENTIFIED BY '123456';
grant DELETE,EXECUTE,INSERT,SELECT,UPDATE
on wolf.* to wolfroot@'localhost' IDENTIFIED BY '123456';
FLUSH PRIVILEGES;
use wolf;
*/
CREATE TABLE `application` (
id varchar(64) NOT NULL comment 'application id, client.id in oauth2',
name varchar(128) NOT NULL,
`description` varchar(256),
secret varchar(128) DEFAULT NULL comment 'client.secret in oauth2',
redirect_uris text DEFAULT NULL comment 'client.redirect_uris in oauth2',
grants text DEFAULT NULL,
access_token_lifetime bigint DEFAULT NULL comment 'access_token.lifetime in oauth2',
refresh_token_lifetime bigint DEFAULT NULL comment 'refresh_token.lifetime in oauth2',
create_time bigint NOT NULL,
update_time bigint NOT NULL,
primary key(id),
unique key(name)
)ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_bin comment 'Managed applications';
CREATE TABLE `user` (
id bigint auto_increment,
username varchar(128) not null,
nickname varchar(128),
email varchar(128),
tel varchar(32),
password varchar(128),
app_ids text,
manager varchar(32) comment 'super,admin,NULL',
status smallint DEFAULT 0,
auth_type smallint DEFAULT 1 comment 'user authentication type, 1: password, 2: LDAP',
profile text default NULL,
last_login bigint DEFAULT 0,
create_time bigint NOT NULL,
update_time bigint NOT NULL,
primary key(id),
unique key(username),
key(email),
key(tel)
)ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_bin comment 'users';
CREATE TABLE `category` (
id int auto_increment,
app_id varchar(64) NOT NULL,
name varchar(128),
create_time bigint NOT NULL,
update_time bigint NOT NULL,
primary key(id),
unique key(app_id, name)
)ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_bin comment 'permisstion category';
CREATE TABLE `permission` (
id varchar(64),
app_id varchar(64) NOT NULL,
name varchar(128),
`description` varchar(256),
category_id int comment 'reference to category.id',
create_time bigint NOT NULL,
update_time bigint NOT NULL,
primary key(app_id, id),
unique key(app_id, name),
key(category_id)
)ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_bin;
CREATE TABLE `resource` (
id bigint auto_increment,
app_id varchar(64) NOT NULL,
match_type varchar(16) NOT NULL comment 'The name match type, includes the following:
1. equal, equal match
2. suffix, suffix matching
3. prefix, prefix matching (maximum matching principle)
When matching, equal matches first, if not matched,
Use suffix match, then prefix',
name varchar(256) NOT NULL,
name_len smallint DEFAULT 0,
priority bigint DEFAULT 0,
action varchar(16) NOT NULL comment 'for http resource, action is http method: GET, HEAD, POST, OPTIONS, DELETE, PUT, PATCH, ALL means includes all.',
perm_id varchar(64),
create_time bigint NOT NULL,
update_time bigint NOT NULL,
primary key(id),
unique key(app_id,`match_type`,`name`, action)
)ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_bin;
CREATE TABLE `role` (
id varchar(64) ,
app_id varchar(64) NOT NULL,
name varchar(128) NOT NULL,
`description` varchar(256),
perm_ids text,
create_time bigint NOT NULL,
update_time bigint NOT NULL,
primary key(app_id, id),
unique key(app_id, name)
)ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_bin;
CREATE TABLE `user_role` (
user_id bigint,
app_id varchar(64) NOT NULL,
perm_ids text,
role_ids text,
create_time bigint NOT NULL,
update_time bigint NOT NULL,
primary key(user_id, app_id)
)ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_bin;
CREATE TABLE `access_log` (
id bigint auto_increment,
app_id varchar(64),
user_id varchar(64),
username varchar(128),
nickname varchar(128),
action varchar(16),
res_name varchar(256),
matched_resource text default NULL,
status smallint DEFAULT 0,
body text default NULL,
content_type varchar(32),
date varchar(32),
ip varchar(32),
access_time bigint NOT NULL,
primary key(id),
key(app_id),
key(user_id),
key(username),
key(action),
key(res_name),
key(status),
key(date),
key(ip),
key(access_time)
)ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_bin;
CREATE TABLE oauth_code (
id bigint auto_increment,
authorization_code varchar(128) NOT NULL comment 'authorization_code in oauth',
expires_at timestamp NOT NULL,
redirect_uri varchar(256) NOT NULL,
scope varchar(64) DEFAULT NULL,
client_id varchar(128) NOT NULL,
user_id varchar(128) NOT NULL,
create_time bigint NOT NULL,
update_time bigint NOT NULL,
primary key(id),
key(authorization_code),
key(user_id)
)ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_bin;
CREATE TABLE oauth_token (
id bigint auto_increment,
access_token varchar(256) NOT NULL,
access_token_expires_at timestamp NOT NULL,
client_id varchar(128) NOT NULL comment 'client_id in oauth, which corresponds to application.id in this system',
refresh_token varchar(256),
refresh_token_expires_at timestamp,
scope varchar(64) DEFAULT NULL,
user_id varchar(128) NOT NULL comment 'ID of the user corresponding to client_id, mapped to user.id',
create_time bigint NOT NULL,
update_time bigint NOT NULL,
primary key(id),
unique key(access_token),
unique key(refresh_token),
index(user_id)
)ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_bin;
|
{# only valid for PostgreSQL targets #}
{{ config(
materialized="table",
enabled=(target.type == 'postgres' | as_bool())
) }}
{# Repurpose any existing model to test the macro select_star_except() #}
{% set src = ref("data_test_numeric_constraints") %}
{% set exceptions_list = ["type", "vat_pct"] %}
{# check both modes: query and column returns! #}
SELECT {{ gemma_dbt_utils.select_star_except(src, exceptions_list, False) }}
FROM {{ src }}
UNION ALL
{{ gemma_dbt_utils.select_star_except(src, exceptions_list, True) }}
|
<gh_stars>1-10
select papers.PaperId,
Year,
DocType,
PaperTitle,
paper_fields.Score
from gcp_cset_mag.FieldsOfStudy fields
inner join gcp_cset_mag.PaperFieldsOfStudy paper_fields
on paper_fields.FieldOfStudyId = fields.FieldOfStudyId
inner join gcp_cset_mag.PapersWithAbstracts papers on papers.PaperId = paper_fields.PaperId
where (NormalizedName = 'artificial intelligence'
or NormalizedName = 'applications of artificial intelligence'
or NormalizedName = 'artificial intelligence system')
and DocType != 'Dataset'
and DocType != 'Patent'
and DocType != 'Repository'
and DocType is not null
and DocType != ''
and cast(Year as int64) >= 2010
and Score > .1
|
CREATE TABLE backup.BKP_M_InventoryLine_gh12663_18032022
AS
SELECT *
FROM m_inventoryline
;
UPDATE m_inventoryline il
SET IsExplicitCostPrice = 'Y',
Updated = TO_TIMESTAMP('2022-03-18 16:41:56', 'YYYY-MM-DD HH24:MI:SS'),
UpdatedBy = 100
WHERE il.qtybook = il.qtycount
;
|
<filename>db/sql/src/main/resources/org/kuali/rice/rice-sql/upgrades/2.4.0/mysql/client/test/2014-02-13--KULRICE-10937.sql
--
-- Copyright 2005-2015 The Kuali Foundation
--
-- Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
--
-- 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 KRTST_CONF_SESS_T (
ID varchar(10) not null,
TITLE varchar(40),
SESS_DT date,
START_TIME varchar(10),
END_TIME varchar(10),
SESS_TYPE_CODE char(1),
DESCRIPTION varchar(255),
COORD_ID bigint,
ALT_COORD1_ID bigint,
ALT_COORD2_ID bigint,
ROOM_ID varchar(10),
ALT_ROOM1_ID varchar(10),
ALT_ROOM2_ID varchar(10),
PRIMARY KEY(id)
)
/
CREATE TABLE KRTST_CONF_PRESENTER_T (
ID varchar(10) not null,
NM varchar(40),
INST_NM varchar(40),
PRIMARY KEY(ID)
)
/
CREATE TABLE KRTST_CONF_ROOM_T (
ID varchar(10) not null,
BLDG_NM varchar(40),
NUM varchar(10),
PRIMARY KEY(ID)
)
/
CREATE TABLE KRTST_CONF_COORD_T (
ID bigint not null,
NM varchar(40),
PRIMARY KEY (ID)
)
/
CREATE TABLE KRTST_CONF_SESS_PRES_T (
ID varchar(10) not null,
SESS_ID varchar(10),
PRES_ID varchar(10),
PRIMARY_IND char(1),
PRIMARY KEY (ID)
)
/
CREATE TABLE KRTST_CONF_LBL_T (
NM varchar(40) not null,
PRIMARY KEY (NM)
)
/
CREATE TABLE KRTST_CONF_LBL_EXT_T (
NM varchar(40) not null,
EXTRA varchar(40),
PRIMARY KEY (NM)
)
/
ALTER TABLE KRTST_CONF_SESS_T
ADD CONSTRAINT KRTST_CONF_SESS_FK1
FOREIGN KEY (COORD_ID)
REFERENCES KRTST_CONF_COORD_T (ID)
/
ALTER TABLE KRTST_CONF_SESS_T
ADD CONSTRAINT KRTST_CONF_SESS_FK2
FOREIGN KEY (ALT_COORD1_ID)
REFERENCES KRTST_CONF_COORD_T (ID)
/
ALTER TABLE KRTST_CONF_SESS_T
ADD CONSTRAINT KRTST_CONF_SESS_FK3
FOREIGN KEY (ALT_COORD2_ID)
REFERENCES KRTST_CONF_COORD_T (ID)
/
ALTER TABLE KRTST_CONF_SESS_T
ADD CONSTRAINT KRTST_CONF_SESS_FK4
FOREIGN KEY (ROOM_ID)
REFERENCES KRTST_CONF_ROOM_T (ID)
/
ALTER TABLE KRTST_CONF_SESS_T
ADD CONSTRAINT KRTST_CONF_SESS_FK5
FOREIGN KEY (ALT_ROOM1_ID)
REFERENCES KRTST_CONF_ROOM_T (ID)
/
ALTER TABLE KRTST_CONF_SESS_T
ADD CONSTRAINT KRTST_CONF_SESS_FK6
FOREIGN KEY (ALT_ROOM2_ID)
REFERENCES KRTST_CONF_ROOM_T (ID)
/
ALTER TABLE KRTST_CONF_SESS_PRES_T
ADD CONSTRAINT KRTST_CONF_SESS_PRES_FK1
FOREIGN KEY (SESS_ID)
REFERENCES KRTST_CONF_SESS_T (ID)
/
ALTER TABLE KRTST_CONF_SESS_PRES_T
ADD CONSTRAINT KRTST_CONF_SESS_PRES_FK2
FOREIGN KEY (PRES_ID)
REFERENCES KRTST_CONF_PRESENTER_T (ID)
/
CREATE TABLE KRTST_CONF_SESS_S (
ID bigint(19) not null auto_increment, primary key (id)
) ENGINE MyISAM
/
ALTER TABLE KRTST_CONF_SESS_S auto_increment = 1
/
CREATE TABLE KRTST_CONF_PRESENTER_S (
ID bigint(19) not null auto_increment, primary key (id)
) ENGINE MyISAM
/
ALTER TABLE KRTST_CONF_PRESENTER_S auto_increment = 1
/
CREATE TABLE KRTST_CONF_ROOM_S (
ID bigint(19) not null auto_increment, primary key (id)
) ENGINE MyISAM
/
ALTER TABLE KRTST_CONF_ROOM_S auto_increment = 1
/
CREATE TABLE KRTST_CONF_COORD_S (
ID bigint(19) not null auto_increment, primary key (id)
) ENGINE MyISAM
/
ALTER TABLE KRTST_CONF_COORD_S auto_increment = 1
/
CREATE TABLE KRTST_CONF_SESS_PRES_S (
ID bigint(19) not null auto_increment, primary key (id)
) ENGINE MyISAM
/
ALTER TABLE KRTST_CONF_SESS_PRES_S auto_increment = 1
/
|
/* Insert statement for Currency */
INSERT INTO currency (id, entity_code, symbol, name, description) VALUES (1, 'KSH', 'Ksh', 'Kenyan Shillings', 'Kenyan Shillings');
INSERT INTO currency (id, entity_code, symbol, name, description) VALUES (2, 'USD', '$', 'US Dollar', 'US Dollar');
/* Insert statement for Location Type */
INSERT INTO locationtype (id, entity_code, name, description) VALUES (1, 'COUNTRY', 'Country', 'Country');
INSERT INTO locationtype (id, entity_code, name, description) VALUES (2, 'STATE', 'State', 'State');
INSERT INTO locationtype (id, entity_code, name, description) VALUES (3, 'CITY', 'City', 'City');
/* Insert statement for Location */
INSERT INTO location (location_type, entity_code, name, description) VALUES (1, 'KENYA', 'Kenya', 'Kenya');
INSERT INTO location (location_type, location, entity_code, name, description) VALUES (2, 1, 'NAIROBI', 'Nairobi', 'Nairobi');
INSERT INTO location (location_type, location, entity_code, name, description) VALUES (3, 2, 'NBO', 'Nairobi', 'Nairobi');
/* Insert statement for Business */
INSERT INTO business (id, currency, entity_code, name, user_name, pin, tel_no, account_notify_email, orders_notify_email, description) VALUES (1, 1, 'AFAD', 'African Fabric & Designs', '<EMAIL>', '0000000', '254 0710 660 524', '<EMAIL>', '<EMAIL>', 'African Fabric & Designs');
/* Insert statement for Business Unit */
INSERT INTO businessunit (id, business, currency, entity_code, name, address_1, address_2, description) VALUES (1, 1, 1, 'DEFAULT', 'Head Office', 'Shop No. 26 Adams arcade mini mall', 'Opposite Shell Petrol station along Suna road, (Right after Iran Medical Clinic)', 'Head Office');
/* Insert statement for Party Category */
INSERT INTO partycategory (id, entity_code, name, description) VALUES (1, 'ORGANIZATION', 'Organization', 'Organizational party');
INSERT INTO partycategory (id, entity_code, name, description) VALUES (2, 'INDIVIDUAL', 'Individual', 'Individual party');
/* Insert statement for Party Type */
INSERT INTO partytype (party_category, entity_code, name, description) VALUES (1, 'ORGANIZATION', 'Organization', 'Organizational party');
INSERT INTO partytype (party_category, entity_code, name, description) VALUES (2, 'INDIVIDUAL', 'Individual', 'Individual party');
/* Insert statement for Role Type */
INSERT INTO roletype (entity_code, name, description) VALUES ('BUSINESS_USER', 'Business User', 'Business User');
INSERT INTO roletype (entity_code, name, description) VALUES ('BUSINESS_OWNER', 'Business Owner', 'Business Owner');
INSERT INTO roletype (entity_code, name, description) VALUES ('CUSTOMER', 'Customer', 'Customer');
INSERT INTO roletype (entity_code, name, description) VALUES ('SUPPLIER', 'Supplier', 'Supplier');
INSERT INTO roletype (entity_code, name, description) VALUES ('EMPLOYEE', 'Employee', 'Employee');
/* Insert statement for Party */
INSERT INTO party (id, party_type, entity_code, name, user_name, description, business_unit) VALUES (1, 2, 'ADMINISTRATOR', 'Administrator', '<EMAIL>', 'Organizational party', 1);
/* Insert statement for Party Role */
INSERT INTO partyrole (party, role, parent_unit, entity_code, name, description, business_unit) VALUES (1, 1, 1, 'ADMINISTRATOR', 'Administrator', 'Administrator', 1);
INSERT INTO partyrole (party, role, parent_unit, entity_code, name, description, business_unit) VALUES (1, 5, 1, 'ADMIN_EMPLOYEE', 'Administrator Employee', 'Administrator Employee', 1);
/* Insert statement for Party Profile */
INSERT INTO partyprofile (party, default_unit, entity_code, name, display_name, date_created, description, business_unit) VALUES (1, 1, 'ADMINISTRATOR', 'Administrator', 'Administrator', '2000-01-01', 'Organizational party', 1);
|
-----------------------------------------------------------------------------
-- Copyright (c) 2010-2015 <NAME> <<EMAIL>>
-- https://github.com/DmitryZav/
--
-- This file is part of Constellation Kings game project.
--
-- This file is subject to the terms and conditions defined in
-- file 'LICENSE', which is part of this source code package.
-----------------------------------------------------------------------------
-- Dijkstra algorithm to find shortest path in the routes network
-- parameters:
-- AccountId - routes owner or shared user
-- _SrcId - from which star to begin
-- _DestId - to which star to finish
-- _NavFlag - flags to navigate to
-----------------------------------------------------------------------------
DELIMITER $$
CREATE DEFINER=`xgameuser`@`localhost` PROCEDURE `DIJKSTRA`(_AccountId INT unsigned, _SrcId INT unsigned, _DestId INT unsigned, _NavFlag INT)
BEGIN
-- call debug(CONCAT('dijkstra (',CURRENT_TURN(),'): ',_AccountId,', from ', _SrcId,' to ', _DestId, ' Nav=', _NavFlag));
CREATE TEMPORARY TABLE IF NOT EXISTS StarList (
`StarId` Integer unsigned NOT NULL,
`Estimate` float NOT NULL,
`Pred` Integer unsigned DEFAULT NULL,
`Distance` float NOT NULL,
`Tunnel` Integer unsigned NOT NULL,
`Done` Tinyint NOT NULL,
PRIMARY KEY (`StarId`) USING BTREE,
KEY `StarIndex` (`StarId`) USING BTREE,
KEY `TunnelIndex` (`Tunnel`) USING BTREE
) ENGINE=MEMORY;
CREATE TEMPORARY TABLE IF NOT EXISTS TabRoutes (
`TabRouteId` Integer unsigned NOT NULL,
`SrcId` Integer unsigned NOT NULL,
`DestId` Integer unsigned NOT NULL,
`SrcPortalId` Integer unsigned NOT NULL,
`DestPortalId` Integer unsigned NOT NULL,
`Dist` float NOT NULL,
`OwnerId` Integer unsigned NOT NULL,
PRIMARY KEY (`TabRouteId`) USING BTREE,
KEY `StarIndex1` (`SrcId`) USING BTREE,
KEY `StarIndex2` (`DestId`) USING BTREE,
KEY `PortalIndex1` (`SrcPortalId`) USING BTREE,
KEY `PortalIndex2` (`DestPortalId`) USING BTREE,
KEY `OwnerIndex` (`OwnerId`) USING BTREE
) ENGINE=MEMORY;
CREATE TEMPORARY TABLE IF NOT EXISTS StarsPath (
`PathId` Integer unsigned NOT NULL AUTO_INCREMENT,
`StarId` Integer unsigned NOT NULL,
`FleetId` Integer unsigned NOT NULL,
`Dist` float NOT NULL,
`TunId` Integer DEFAULT NULL,
PRIMARY KEY (`PathId`) USING BTREE,
KEY `StarIndex` (`StarId`) USING BTREE,
KEY `TunnelIndex` (`TunId`) USING BTREE
) AUTO_INCREMENT=1 ENGINE=MEMORY;
DELETE FROM TabRoutes;
DELETE FROM StarList;
DELETE FROM StarsPath;
INSERT INTO TabRoutes (TabRouteId, Dist, SrcId, DestId, SrcPortalId, DestPortalId,OwnerId)
SELECT RouteId, 1, SRC.StarId AS SrcStarId, DST.StarId AS DestStarId,
S.FleetId, D.FleetId, RouteOwnerAccountId as AccountId
FROM
Routes JOIN (Fleets S
JOIN Sectors SS ON ( SS.SectorNumber = S.FleetCSector
AND SS.SectorGalaxyId = S.FleetCGalaxy )
JOIN Stars SRC ON ( SRC.StarX = S.FleetCX
AND SRC.StarY = S.FleetCY
AND SRC.StarSectorId = SS.SectorId AND SS.SectorGalaxyId = S.FleetCGalaxy )) ON ( S.FleetId = RouteSourcePortalId )
JOIN ( Fleets D
JOIN Sectors DS ON ( DS.SectorNumber = D.FleetCSector
AND DS.SectorGalaxyId = D.FleetCGalaxy )
JOIN Stars DST ON ( DST.StarX = D.FleetCX
AND DST.StarY = D.FleetCY AND DST.StarSectorId = DS.SectorId
AND DS.SectorGalaxyId = D.FleetCGalaxy ))ON ( D.FleetId = RouteDestinationPortalId )
WHERE RouteOwnerAccountId=_AccountId
UNION
SELECT RouteId, 1.1, SRC.StarId AS SrcStarId, DST.StarId AS DestStarId,
S.FleetId, D.FleetId, RouteOwnerAccountId as AccountId
FROM Routes
JOIN ( Fleets S
JOIN Sectors SS ON ( SS.SectorNumber = S.FleetCSector
AND SS.SectorGalaxyId = S.FleetCGalaxy )
JOIN Stars SRC ON ( SRC.StarX = S.FleetCX
AND SRC.StarY = S.FleetCY
AND SRC.StarSectorId = SS.SectorId
AND SS.SectorGalaxyId = S.FleetCGalaxy )) ON ( S.FleetId = RouteSourcePortalId )
JOIN ( Fleets D
JOIN Sectors DS ON ( DS.SectorNumber = D.FleetCSector
AND DS.SectorGalaxyId = D.FleetCGalaxy )
JOIN Stars DST ON ( DST.StarX = D.FleetCX
AND DST.StarY = D.FleetCY AND DST.StarSectorId = DS.SectorId
AND DS.SectorGalaxyId = D.FleetCGalaxy ))ON ( D.FleetId = RouteDestinationPortalId )
JOIN RoutePermissions ON (RoutePermissionActive =1 AND RoutePermissionRouteId = RouteId )
JOIN PermissionTypes ON (PermissionName='tunnel.use' AND PermissionTypeId=RoutePermissionTypeId)
JOIN Accounts OWN ON (RouteOwnerAccountId= OWN.AccountId) JOIN Accounts ACT ON (ACT.AccountId=_AccountId AND
ACT.AccountId <> OWN.AccountId AND IFNULL(OWN.AccountCountryId, -1)<>IFNULL(ACT.AccountCountryId, -2) )
WHERE RoutePermissionAccountId=_AccountId AND _NavFlag = 0
UNION
SELECT RouteId, 1.1, SRC.StarId AS SrcStarId, DST.StarId AS DestStarId,
S.FleetId, D.FleetId, RouteOwnerAccountId as AccountId
FROM Routes
JOIN ( Fleets S
JOIN Sectors SS ON ( SS.SectorNumber = S.FleetCSector
AND SS.SectorGalaxyId = S.FleetCGalaxy )
JOIN Stars SRC ON ( SRC.StarX = S.FleetCX
AND SRC.StarY = S.FleetCY
AND SRC.StarSectorId = SS.SectorId
AND SS.SectorGalaxyId = S.FleetCGalaxy )) ON ( S.FleetId = RouteSourcePortalId )
JOIN ( Fleets D
JOIN Sectors DS ON ( DS.SectorNumber = D.FleetCSector
AND DS.SectorGalaxyId = D.FleetCGalaxy )
JOIN Stars DST ON ( DST.StarX = D.FleetCX
AND DST.StarY = D.FleetCY
AND DST.StarSectorId = DS.SectorId
AND DS.SectorGalaxyId = D.FleetCGalaxy )) ON ( D.FleetId = RouteDestinationPortalId )
JOIN Accounts OWN ON (RouteOwnerAccountId= OWN.AccountId) JOIN Accounts ACT ON (ACT.AccountId=_AccountId AND
ACT.AccountId <> OWN.AccountId AND IFNULL(OWN.AccountCountryId, -1)=IFNULL(ACT.AccountCountryId, -2) )
WHERE _NavFlag = 0;
INSERT INTO StarList (StarId, Estimate, Pred, Distance, Tunnel, Done)
SELECT DISTINCT StarId, 2147483647, NULL, 0, 0, 0 from Stars JOIN TabRoutes
WHERE StarId=TabRoutes.DestId OR StarId=TabRoutes.SrcId;
UPDATE StarList SET Estimate = 0 WHERE StarId = _SrcId;
SET @FromStar = NULL;
SET @CurrentEstimate = NULL;
SET @Cnt=2000;
lab:LOOP
SET @Cnt = @Cnt - 1;
SET @FromStar = NULL;
SELECT StarId, Estimate FROM StarList WHERE Done = 0 AND Estimate < 2147483647
ORDER BY Estimate LIMIT 1 INTO @FromStar, @CurrentEstimate;
IF @FromStar IS NULL THEN LEAVE lab; END IF;
UPDATE StarList SET Done = 1 WHERE StarId = @FromStar;
UPDATE StarList, TabRoutes
SET Estimate = @CurrentEstimate + Dist, Pred = @FromStar, Tunnel = TabRouteId
WHERE
((SrcId = StarId AND DestId = @FromStar) OR
(SrcId = @FromStar AND DestId = StarId )) AND (@CurrentEstimate + Dist) < Estimate;
IF @Cnt < 1 THEN LEAVE lab; END IF;
END LOOP;
IF EXISTS (SELECT * FROM StarList WHERE StarId = _DestId AND Estimate < 2147483647) THEN
SET @CurrentId = _DestId;
SET @NextId = 0;
SET @CurrentFleetId = 0;
SET @PathDist = 0;
SET @CurrentPath = 0;
SET @TunId = 0;
lab1:LOOP
SELECT Pred, IF(SrcId = Pred, SrcPortalId, DestPortalId) as FleetId, Estimate, Tunnel FROM TabRoutes
JOIN StarList ON
((SrcId = Pred AND DestId = @CurrentId) OR
(SrcId = @CurrentId AND DestId = Pred ))
WHERE StarId=@CurrentId AND Tunnel=TabRouteId
INTO @NextId, @CurrentFleetId, @PathDist, @TunId;
IF @NextId = 0 OR @NextId IS NULL OR @PathDist > 2147483646 THEN
LEAVE lab1;
END IF;
INSERT INTO StarsPath (`PathId`,`StarId`,`FleetId`,`Dist`,`TunId`)
VALUES (0, @CurrentId, @CurrentFleetId, @PathDist, @TunId);
call debug(CONCAT('path fleet:', @CurrentId, ', route: ', @TunId));
SET @CurrentId = @NextId;
SET @NextId = NULL;
END LOOP;
END IF;
END
|
<reponame>silas0605/phpFaculdade<gh_stars>0
-- phpMyAdmin SQL Dump
-- version 4.8.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: 06-Nov-2019 às 09:34
-- Versão do servidor: 10.1.33-MariaDB
-- PHP Version: 7.2.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: `banco_geral`
--
-- --------------------------------------------------------
--
-- Estrutura da tabela `func`
--
CREATE TABLE `func` (
`Id_Func` varchar(50) NOT NULL,
`Nome` varchar(50) NOT NULL,
`Email` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Estrutura da tabela `relatorio`
--
CREATE TABLE `relatorio` (
`Data_venda` int(10) NOT NULL,
`Id_func` varchar(50) NOT NULL,
`Id_produto` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Estrutura da tabela `venda`
--
CREATE TABLE `venda` (
`Id_Venda` varchar(50) NOT NULL,
`Id_funcionario` varchar(50) NOT NULL,
`Produto` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
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 */;
|
-- // CB-15139 Support for StopStart scaling in periscope
-- Migration SQL that makes the change goes here.
ALTER TABLE "cluster" ADD COLUMN IF NOT EXISTS "stop_start_enabled" boolean DEFAULT false;
-- //@UNDO
-- SQL to undo the change goes here.
ALTER TABLE "cluster" DROP COLUMN IF EXISTS "stop_start_enabled";
|
<reponame>l-tyagi/course-dbt-lucky
{{
config(
materialized='table',
unique_key = 'session_guid'
)
}}
SELECT date(event_date_utc) as event_date,
extract(Hour from event_date_utc) as EventHour,
session_guid,
product_name,
user_guid,
event_guid
FROM {{ ref('int_user_events')}}
WHERE event_type = 'page_view'
AND page_name = ('Product Page')
|
ALTER TABLE PARTY_STRUCT_RULE DROP CONSTRAINT FK_PARTY_STRUCT_RULE_TYPE;
ALTER TABLE PARTY_STRUCT_RULE DROP CONSTRAINT FK_PARTY_STRUCT_RULE_TYPE_PARENT;
ALTER TABLE PARTY_STRUCT_RULE DROP CONSTRAINT FK_PARTY_STRUCT_RULE_TYPE_CHILD;
ALTER TABLE PARTY_STRUCT_RULE DROP CONSTRAINT PK_PARTY_STRUCT_RULE;
ALTER TABLE PARTY_STRUCT_RULE DROP CONSTRAINT FK_PARTY_STRUCT_RULE_DIM;
ALTER TABLE PARTY_STRUCT_RULE DROP COLUMN DIM_ID;
ALTER TABLE PARTY_STRUCT_RULE ALTER COLUMN PARENT_TYPE_ID SET NULL;
ALTER TABLE PARTY_STRUCT_RULE ADD COLUMN ID BIGINT;
ALTER TABLE PARTY_STRUCT_RULE ADD CONSTRAINT PK_PARTY_STRUCT_RULE PRIMARY KEY(ID);
ALTER TABLE PARTY_STRUCT_RULE ADD CONSTRAINT FK_PARTY_STRUCT_RULE_TYPE FOREIGN KEY(STRUCT_TYPE_ID) REFERENCES PARTY_STRUCT_TYPE(ID);
ALTER TABLE PARTY_STRUCT_RULE ADD CONSTRAINT FK_PARTY_STRUCT_RULE_TYPE_PARENT FOREIGN KEY(PARENT_TYPE_ID) REFERENCES PARTY_TYPE(ID);
ALTER TABLE PARTY_STRUCT_RULE ADD CONSTRAINT FK_PARTY_STRUCT_RULE_TYPE_CHILD FOREIGN KEY(CHILD_TYPE_ID) REFERENCES PARTY_TYPE(ID);
COMMENT ON COLUMN PARTY_STRUCT_RULE.ID IS '主键';
|
-- Revert ggircs-portal:tables/application_002 from pg
begin;
alter table ggircs_portal.application drop column report_id;
commit;
|
<filename>db_api/create_dbuser.sql
CREATE USER 'mimus'@'localhost' IDENTIFIED BY '9dc1b3ae-584c-434e-b899-da2c8ad093fb';
GRANT ALL PRIVILEGES ON *.* TO 'mimus'@'localhost' WITH GRANT OPTION;
CREATE USER 'mimus'@'%' IDENTIFIED BY '9dc1b3ae-584c-434e-b899-da2c8ad093fb';
GRANT ALL PRIVILEGES ON *.* TO 'mimus'@'%' WITH GRANT OPTION;
FLUSH PRIVILEGES;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.