sql stringlengths 6 1.05M |
|---|
<gh_stars>0
-- phpMyAdmin SQL Dump
-- version 4.7.7
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Jun 06, 2018 at 04:25 PM
-- Server version: 10.1.30-MariaDB
-- PHP Version: 7.0.27
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+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: `mp-seg`
--
-- --------------------------------------------------------
--
-- Table structure for table `tb_cliente`
--
CREATE TABLE `tb_cliente` (
`cli_id` int(11) NOT NULL,
`cli_nome` varchar(80) NOT NULL,
`cli_cpf_cnpj` varchar(18) DEFAULT NULL,
`cli_rg_ie` varchar(20) DEFAULT NULL,
`cli_tel_ddd` varchar(2) DEFAULT NULL,
`cli_tel_numero` varchar(14) DEFAULT NULL,
`cli_cel_ddd` varchar(2) DEFAULT NULL,
`cli_cel_numero` varchar(14) DEFAULT NULL,
`cli_end_cep` varchar(10) DEFAULT NULL,
`cli_end_tp_lgr` varchar(10) DEFAULT NULL,
`cli_end_logradouro` varchar(80) DEFAULT NULL,
`cli_end_numero` varchar(15) DEFAULT NULL,
`cli_end_bairro` varchar(80) DEFAULT NULL,
`cli_end_cidade` varchar(80) DEFAULT NULL,
`cli_end_estado` varchar(2) DEFAULT NULL,
`cli_observacao` text,
`cli_ativo` tinyint(1) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `tb_cliente`
--
INSERT INTO `tb_cliente` (`cli_id`, `cli_nome`, `cli_cpf_cnpj`, `cli_rg_ie`, `cli_tel_ddd`, `cli_tel_numero`, `cli_cel_ddd`, `cli_cel_numero`, `cli_end_cep`, `cli_end_tp_lgr`, `cli_end_logradouro`, `cli_end_numero`, `cli_end_bairro`, `cli_end_cidade`, `cli_end_estado`, `cli_observacao`, `cli_ativo`) VALUES
(1, '<NAME>', '339.118.538-40', '26527089-3', '19', '3468-3244', '19', '98132-4148', '13.477-708', 'Rua', 'Progresso', '317', 'Jdm Boer', 'Americana', 'SP', 'Teste', 1),
(2, '<NAME>', '349.641.258-58', '987654321', '99', '8888-8888', '77', '6666-6666', '13450-712', 'Rua', '<NAME>', '135', '<NAME>', 'Santa Bárbara D\'Oeste', 'SP', 'Bloco B, Ap11', 0);
-- --------------------------------------------------------
--
-- Table structure for table `tb_cont_pagar`
--
CREATE TABLE `tb_cont_pagar` (
`ctp_id` int(11) NOT NULL,
`ctp_dtvencimento` date NOT NULL,
`ctp_valor` double NOT NULL,
`ctp_dtpagamento` date DEFAULT NULL,
`ctp_valor_pago` double DEFAULT NULL,
`ctp_fornecedor` varchar(80) DEFAULT NULL,
`ctp_obs` text,
`ctp_deletado` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `tb_cont_pagar`
--
INSERT INTO `tb_cont_pagar` (`ctp_id`, `ctp_dtvencimento`, `ctp_valor`, `ctp_dtpagamento`, `ctp_valor_pago`, `ctp_fornecedor`, `ctp_obs`, `ctp_deletado`) VALUES
(1, '2018-05-17', 87.99, '2018-05-18', 88, 'Teste', '', 1),
(3, '2018-05-17', 1.7, '2018-05-18', 1.8, '', 'Observação', 1),
(4, '2018-05-09', 0.8, '2018-05-10', 0.9, 'Fornecedor', '', 1),
(5, '2018-05-02', 49.99, NULL, NULL, 'CPFL', '', 1),
(6, '2018-06-30', 150, NULL, NULL, 'Carros', '', 1),
(7, '2018-06-05', 12, NULL, NULL, 'Oxyconn', '', 0);
-- --------------------------------------------------------
--
-- Table structure for table `tb_cont_receber`
--
CREATE TABLE `tb_cont_receber` (
`ctr_id` int(11) NOT NULL,
`ctr_cli_id` int(11) DEFAULT NULL,
`ctr_dtvencimento` date NOT NULL,
`ctr_valor` double NOT NULL,
`ctr_dtpagamento` date DEFAULT NULL,
`ctr_valor_pago` double DEFAULT NULL,
`ctr_obs` text,
`ctr_deletado` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `tb_cont_receber`
--
INSERT INTO `tb_cont_receber` (`ctr_id`, `ctr_cli_id`, `ctr_dtvencimento`, `ctr_valor`, `ctr_dtpagamento`, `ctr_valor_pago`, `ctr_obs`, `ctr_deletado`) VALUES
(18, 1, '2018-06-01', 1.99, '2018-06-01', 2, 'Teste de observação', 1),
(19, 1, '2018-06-20', 500, NULL, NULL, '', 0);
-- --------------------------------------------------------
--
-- Table structure for table `tb_estado`
--
CREATE TABLE `tb_estado` (
`est_id` int(11) NOT NULL,
`est_sigla` varchar(2) NOT NULL,
`est_descricao` varchar(40) NOT NULL,
`est_codigo` varchar(2) NOT NULL COMMENT 'Códido IBGE'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `tb_estado`
--
INSERT INTO `tb_estado` (`est_id`, `est_sigla`, `est_descricao`, `est_codigo`) VALUES
(1, 'AC', 'Acre', '12'),
(2, 'AL', 'Alagoas', '27'),
(3, 'AP', 'Amapá', '16'),
(4, 'AM', 'Amazonas', '13'),
(5, 'BA', 'Bahia', '29'),
(6, 'CE', 'Ceará', '23'),
(7, 'DF', 'Distrito Federal', '53'),
(8, 'ES', 'Espírito Santo', '32'),
(9, 'GO', 'Goiás', '52'),
(10, 'MA', 'Maranhão', '21'),
(11, 'MT', 'Mat<NAME>', '51'),
(12, 'MS', 'Mato Grosso do Sul', '50'),
(13, 'MG', 'Minas Gerais', '31'),
(14, 'PA', 'Pará', '15'),
(15, 'PB', 'Paraíba', '25'),
(16, 'PR', 'Paraná', '41'),
(17, 'PE', 'Pernambuco', '26'),
(18, 'PI', 'Piauí', '22'),
(19, 'RJ', 'Rio de Janeiro', '33'),
(20, 'RN', 'Rio Grande do Norte', '24'),
(21, 'RS', 'Rio Grande do Sul', '43'),
(22, 'RO', 'Rondônia', '11'),
(23, 'RR', 'Roraima', '14'),
(24, 'SC', 'Santa Catarina', '42'),
(25, 'SP', 'São Paulo', '35'),
(26, 'SE', 'Sergipe', '28'),
(27, 'TO', 'Tocantins', '17');
-- --------------------------------------------------------
--
-- Table structure for table `tb_funcionario`
--
CREATE TABLE `tb_funcionario` (
`fun_id` int(11) NOT NULL,
`fun_nome` varchar(80) NOT NULL,
`fun_cpf_cnpj` varchar(18) DEFAULT NULL,
`fun_rg_ie` varchar(20) DEFAULT NULL,
`fun_tel_ddd` varchar(2) DEFAULT NULL,
`fun_tel_numero` varchar(14) DEFAULT NULL,
`fun_cel_ddd` varchar(2) DEFAULT NULL,
`fun_cel_numero` varchar(14) DEFAULT NULL,
`fun_end_cep` varchar(10) DEFAULT NULL,
`fun_end_tp_lgr` varchar(10) DEFAULT NULL,
`fun_end_logradouro` varchar(80) DEFAULT NULL,
`fun_end_numero` varchar(15) DEFAULT NULL,
`fun_end_bairro` varchar(80) DEFAULT NULL,
`fun_end_cidade` varchar(80) DEFAULT NULL,
`fun_end_estado` varchar(2) DEFAULT NULL,
`fun_observacao` text,
`fun_ativo` tinyint(1) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `tb_funcionario`
--
INSERT INTO `tb_funcionario` (`fun_id`, `fun_nome`, `fun_cpf_cnpj`, `fun_rg_ie`, `fun_tel_ddd`, `fun_tel_numero`, `fun_cel_ddd`, `fun_cel_numero`, `fun_end_cep`, `fun_end_tp_lgr`, `fun_end_logradouro`, `fun_end_numero`, `fun_end_bairro`, `fun_end_cidade`, `fun_end_estado`, `fun_observacao`, `fun_ativo`) VALUES
(4, '<NAME>', '339.118.538-40', '26527089-3', '19', '3468-3244', '19', '98132-4148', '13.450-712', 'Rua', '<NAME>', '135', '<NAME>', 'Santa Bárbara D\'oeste', 'SP', '', 0);
-- --------------------------------------------------------
--
-- Table structure for table `tb_menu`
--
CREATE TABLE `tb_menu` (
`men_id` int(11) NOT NULL,
`men_descricao` varchar(35) NOT NULL,
`men_controller` varchar(50) NOT NULL,
`men_action` varchar(50) NOT NULL,
`men_vars` varchar(100) DEFAULT NULL,
`men_id_pai` int(11) DEFAULT NULL,
`men_ativo` tinyint(1) NOT NULL DEFAULT '1',
`men_icon` varchar(50) DEFAULT NULL,
`men_order` int(11) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `tb_menu`
--
INSERT INTO `tb_menu` (`men_id`, `men_descricao`, `men_controller`, `men_action`, `men_vars`, `men_id_pai`, `men_ativo`, `men_icon`, `men_order`) VALUES
(1, 'Início', 'Start', 'index', NULL, NULL, 1, '<i class=\"icon icon-home\"></i>', 0),
(3, 'Clientes', 'Cliente', 'index', NULL, NULL, 1, '<i class=\"icon icon-user\"></i>', 1),
(4, 'Funcionários', 'Funcionario', 'index', NULL, NULL, 1, '<i class=\"icon icon-briefcase\"></i>', 1),
(9, 'Recebimentos', 'ContaReceber', 'index', NULL, NULL, 1, '<i class=\"icon icon-money\"></i>', 1),
(11, 'Pagamentos', 'ContaPagar', 'index', NULL, NULL, 1, '<i class=\"icon icon-credit-card\"></i>', 1),
(13, 'Relatórios', 'Relatorio', 'index', NULL, NULL, 1, '<i class=\"icon icon-print\"></i>', 1);
-- --------------------------------------------------------
--
-- Table structure for table `tb_usuario`
--
CREATE TABLE `tb_usuario` (
`usu_id` int(10) NOT NULL,
`usu_login` varchar(40) NOT NULL,
`usu_senha` varchar(40) NOT NULL,
`usu_nome` varchar(50) DEFAULT NULL,
`usu_sobrenome` varchar(50) DEFAULT NULL,
`usu_email` varchar(100) DEFAULT NULL,
`usu_ativo` tinyint(1) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `tb_usuario`
--
INSERT INTO `tb_usuario` (`usu_id`, `usu_login`, `usu_senha`, `usu_nome`, `usu_sobrenome`, `usu_email`, `usu_ativo`) VALUES
(1, 'admin', '213299609efe85beef603ede5c10a508', 'Admin', NULL, '<EMAIL>', 1),
(2, 'luis', '<PASSWORD>', 'Luis', 'Truculo', NULL, 1);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `tb_cliente`
--
ALTER TABLE `tb_cliente`
ADD PRIMARY KEY (`cli_id`);
--
-- Indexes for table `tb_cont_pagar`
--
ALTER TABLE `tb_cont_pagar`
ADD PRIMARY KEY (`ctp_id`);
--
-- Indexes for table `tb_cont_receber`
--
ALTER TABLE `tb_cont_receber`
ADD PRIMARY KEY (`ctr_id`),
ADD KEY `fk_ctr_cli_id` (`ctr_cli_id`);
--
-- Indexes for table `tb_estado`
--
ALTER TABLE `tb_estado`
ADD PRIMARY KEY (`est_id`),
ADD UNIQUE KEY `uk_est_sigla` (`est_sigla`);
--
-- Indexes for table `tb_funcionario`
--
ALTER TABLE `tb_funcionario`
ADD PRIMARY KEY (`fun_id`);
--
-- Indexes for table `tb_menu`
--
ALTER TABLE `tb_menu`
ADD PRIMARY KEY (`men_id`);
--
-- Indexes for table `tb_usuario`
--
ALTER TABLE `tb_usuario`
ADD PRIMARY KEY (`usu_id`),
ADD UNIQUE KEY `usu_id` (`usu_id`),
ADD UNIQUE KEY `uk_usu_login` (`usu_login`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `tb_cliente`
--
ALTER TABLE `tb_cliente`
MODIFY `cli_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `tb_cont_pagar`
--
ALTER TABLE `tb_cont_pagar`
MODIFY `ctp_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
--
-- AUTO_INCREMENT for table `tb_cont_receber`
--
ALTER TABLE `tb_cont_receber`
MODIFY `ctr_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20;
--
-- AUTO_INCREMENT for table `tb_estado`
--
ALTER TABLE `tb_estado`
MODIFY `est_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=28;
--
-- AUTO_INCREMENT for table `tb_funcionario`
--
ALTER TABLE `tb_funcionario`
MODIFY `fun_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `tb_menu`
--
ALTER TABLE `tb_menu`
MODIFY `men_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;
--
-- AUTO_INCREMENT for table `tb_usuario`
--
ALTER TABLE `tb_usuario`
MODIFY `usu_id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- Constraints for dumped tables
--
--
-- Constraints for table `tb_cont_receber`
--
ALTER TABLE `tb_cont_receber`
ADD CONSTRAINT `fk_ctr_cli_id` FOREIGN KEY (`ctr_cli_id`) REFERENCES `tb_cliente` (`cli_id`) ON UPDATE CASCADE;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
INSERT INTO config VALUES('SmtpSetting',0);
ALTER TABLE `companies` CHANGE `debtorsact` `debtorsact` VARCHAR( 20 ) NOT NULL DEFAULT '70000',
CHANGE `pytdiscountact` `pytdiscountact` VARCHAR( 20 ) NOT NULL DEFAULT '55000',
CHANGE `creditorsact` `creditorsact` VARCHAR( 20 ) NOT NULL DEFAULT '80000',
CHANGE `payrollact` `payrollact` VARCHAR( 20 ) NOT NULL DEFAULT '84000',
CHANGE `grnact` `grnact` VARCHAR( 20 ) NOT NULL DEFAULT '72000',
CHANGE `exchangediffact` `exchangediffact` VARCHAR( 20 ) NOT NULL DEFAULT '65000',
CHANGE `purchasesexchangediffact` `purchasesexchangediffact` VARCHAR( 20 ) NOT NULL DEFAULT '0',
CHANGE `retainedearnings` `retainedearnings` VARCHAR( 20 ) NOT NULL DEFAULT '90000',
CHANGE `freightact` `freightact` VARCHAR( 20 ) NOT NULL DEFAULT '0';
ALTER TABLE `lastcostrollup` CHANGE `stockact` `stockact` VARCHAR( 20 ) NOT NULL DEFAULT '0',
CHANGE `adjglact` `adjglact` VARCHAR( 20 ) NOT NULL DEFAULT '0';
ALTER TABLE `salesglpostings` CHANGE `discountglcode` `discountglcode` VARCHAR( 20 ) NOT NULL DEFAULT '0',
CHANGE `salesglcode` `salesglcode` VARCHAR( 20 ) NOT NULL DEFAULT '0';
ALTER TABLE `cogsglpostings` CHANGE `glcode` `glcode` VARCHAR( 20 ) NOT NULL DEFAULT '0';
ALTER TABLE `fixedassetcategories` CHANGE `costact` `costact` VARCHAR( 20 ) NOT NULL DEFAULT '0',
CHANGE `depnact` `depnact` VARCHAR( 20 ) NOT NULL DEFAULT '0',
CHANGE `disposalact` `disposalact` VARCHAR( 20 ) NOT NULL DEFAULT '80000',
CHANGE `accumdepnact` `accumdepnact` VARCHAR( 20 ) NOT NULL DEFAULT '0';
ALTER TABLE `purchorderdetails` CHANGE `glcode` `glcode` VARCHAR( 20 ) NOT NULL DEFAULT '0';
ALTER TABLE `stockcategory` CHANGE `stockact` `stockact` VARCHAR( 20 ) NOT NULL DEFAULT '0',
CHANGE `adjglact` `adjglact` VARCHAR( 20 ) NOT NULL DEFAULT '0',
CHANGE `issueglact` `issueglact` VARCHAR( 20 ) NOT NULL DEFAULT '0',
CHANGE `purchpricevaract` `purchpricevaract` VARCHAR( 20 ) NOT NULL DEFAULT '80000',
CHANGE `materialuseagevarac` `materialuseagevarac` VARCHAR( 20 ) NOT NULL DEFAULT '80000',
CHANGE `wipact` `wipact` VARCHAR( 20 ) NOT NULL DEFAULT '0';
ALTER TABLE `workcentres` CHANGE `overheadrecoveryact` `overheadrecoveryact` VARCHAR( 20 ) NOT NULL DEFAULT '0';
INSERT INTO `scripts` (`script` , `pagesecurity` , `description`)
VALUES ('Z_ChangeGLAccountCode.php', '15', 'Script to change a GL account code accross all tables necessary');
ALTER TABLE `currencies` ADD `webcart` TINYINT( 1 ) NOT NULL DEFAULT '1' COMMENT 'If 1 shown in weberp cart. if 0 no show';
ALTER TABLE `salescat` CHANGE `salescatname` `salescatname` VARCHAR( 50 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL;
CREATE TABLE `mailgroups` ( id int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY,
groupname varchar(100) NOT NULL,
unique (groupname)) ENGINE = InnoDB DEFAULT CHARSET = utf8;
CREATE TABLE `mailgroupdetails` (groupname varchar(100) NOT NULL,
userid varchar(20) NOT NULL,
CONSTRAINT FOREIGN KEY (`groupname`) REFERENCES `mailgroups` (`groupname`),
CONSTRAINT FOREIGN KEY (`userid`) REFERENCES `www_users`(`userid`),
INDEX(`groupname`)) Engine=InnoDB DEFAULT CHARSET=utf8;
INSERT INTO scripts VALUES('MailingGroupMaintenance.php', 15, 'Mainting mailing lists for items to mail');
INSERT INTO mailgroups VALUES(1,'ChkListingRecipients');
INSERT INTO mailgroups VALUES(2,'SalesAnalysisReportRecipients');
INSERT INTO scripts VALUES('MailSalesReport_csv.php',15,'Mailing the sales report');
INSERT INTO mailgroups VALUES(3,'OffersReceivedResultRecipients');
INSERT INTO mailgroups VALUES(4,'InventoryValuationRecipients');
ALTER TABLE stockrequestitems DROP PRIMARY KEY;
ALTER TABLE stockrequestitems ADD PRIMARY KEY (`dispatchitemsid`,`dispatchid`);
INSERT INTO scripts VALUES('Z_ImportGLTransactions.php', 15, 'Import General Ledger Transactions');
CREATE TABLE IF NOT EXISTS `fixedassettasks` (
`taskid` int(11) NOT NULL AUTO_INCREMENT,
`assetid` int(11) NOT NULL,
`taskdescription` text NOT NULL,
`frequencydays` int(11) NOT NULL DEFAULT '365',
`lastcompleted` date NOT NULL,
`userresponsible` varchar(20) NOT NULL,
`manager` varchar(20) NOT NULL DEFAULT '',
PRIMARY KEY (`taskid`),
KEY `assetid` (`assetid`),
KEY `userresponsible` (`userresponsible`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
INSERT INTO `scripts` (`script`, `pagesecurity`, `description`) VALUES ('MaintenanceTasks.php', '1', 'Allows set up and edit of scheduled maintenance tasks');
INSERT INTO `scripts` (`script`, `pagesecurity`, `description`) VALUES ('MaintenanceUserSchedule.php', '1', 'List users or managers scheduled maintenance tasks and allow to be flagged as completed');
INSERT INTO `scripts` (`script`, `pagesecurity`, `description`) VALUES ('MaintenanceReminders.php', '1', 'Sends email reminders for scheduled asset maintenance tasks');
INSERT INTO `scripts` (`script`, `pagesecurity`, `description`) VALUES ('ImportBankTransAnalysis.php', '11', 'Allows analysis of bank transactions being imported');
INSERT INTO `scripts` (`script`, `pagesecurity`, `description`) VALUES ('ImportBankTrans.php', '11', 'Imports bank transactions');
INSERT INTO scripts VALUES ('Manufacturers.php','15','Maintain brands of sales products');
INSERT INTO scripts VALUES ('SalesCategoryDescriptions.php','15','Maintain translations for sales categories');
INSERT INTO scripts VALUES ('ShopParameters.php','15','Maintain web-store configuration and set up');
INSERT INTO config VALUES ('ShopName','');
INSERT INTO config VALUES ('ShopPrivacyStatement','');
INSERT INTO config VALUES ('ShopFreightPolicy','');
INSERT INTO config VALUES ('ShopTermsConditions','');
INSERT INTO config VALUES ('ShopDebtorNo','');
INSERT INTO config VALUES ('ShopBranchCode','');
INSERT INTO config VALUES ('ShopAboutUs','');
INSERT INTO config VALUES ('ShopPayPalUser','');
INSERT INTO config VALUES ('ShopPayPalPassword','');
INSERT INTO config VALUES ('ShopPayPalSignature','');
INSERT INTO config VALUES ('ShopPayPalProUser','');
INSERT INTO config VALUES ('ShopPayPalProPassword','');
INSERT INTO config VALUES ('ShopPayPalProSignature','');
INSERT INTO config VALUES ('ShopCreditCardGateway', 'PayFlowPro');
INSERT INTO config VALUES ('ShopPayFlowUser','');
INSERT INTO config VALUES ('ShopPayFlowPassword','');
INSERT INTO config VALUES ('ShopPayFlowVendor','');
INSERT INTO config VALUES ('ShopAllowPayPal', '1');
INSERT INTO config VALUES ('ShopAllowCreditCards', '1');
INSERT INTO config VALUES ('ShopAllowBankTransfer', '1');
INSERT INTO config VALUES ('ShopAllowSurcharges', '1');
INSERT INTO config VALUES ('ShopPayPalSurcharge', '0.034');
INSERT INTO config VALUES ('ShopBankTransferSurcharge', '0.0');
INSERT INTO config VALUES ('ShopCreditCardSurcharge', '0.029');
INSERT INTO config VALUES ('ShopPayPalBankAccount', '1030');
INSERT INTO config VALUES ('ShopCreditCardBankAccount', '1030');
INSERT INTO config VALUES ('ShopSwipeHQMerchantID', '');
INSERT INTO config VALUES ('ShopSwipeHQAPIKey', '');
INSERT INTO config VALUES ('ShopSurchargeStockID', '');
INSERT INTO config VALUES ('ItemDescriptionLanguages','');
INSERT INTO config VALUES('SmtpSetting',0);
CREATE TABLE IF NOT EXISTS `stockdescriptiontranslations` (
`stockid` varchar(20) NOT NULL DEFAULT '',
`language_id` varchar(10) NOT NULL DEFAULT 'en_GB.utf8',
`descriptiontranslation` varchar(50) NOT NULL,
PRIMARY KEY (`stockid`,`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
ALTER TABLE `debtorsmaster` ADD `language_id` VARCHAR( 10 ) NOT NULL DEFAULT 'en_GB.utf8';
ALTER TABLE `debtortrans` ADD `salesperson` VARCHAR( 4 ) NOT NULL DEFAULT '' , ADD INDEX ( `salesperson` );
UPDATE debtortrans INNER JOIN salesorders ON debtortrans.order_=salesorders.orderno SET debtortrans.salesperson=salesorders.salesperson;
UPDATE debtortrans INNER JOIN custbranch ON debtortrans.debtorno=custbranch.debtorno AND debtortrans.branchcode=custbranch.branchcode SET debtortrans.salesperson=custbranch.salesman WHERE debtortrans.type=11;
CREATE TABLE IF NOT EXISTS `manufacturers` (
`manufacturers_id` int(11) NOT NULL AUTO_INCREMENT,
`manufacturers_name` varchar(32) NOT NULL,
`manufacturers_url` varchar(50) NOT NULL DEFAULT '',
`manufacturers_image` varchar(64) DEFAULT NULL,
PRIMARY KEY (`manufacturers_id`),
KEY (`manufacturers_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `salescattranslations` (
`salescatid` tinyint(4) NOT NULL DEFAULT '0',
`language_id` varchar(10) NOT NULL DEFAULT 'en_GB.utf8',
`salescattranslation` varchar(40) NOT NULL,
PRIMARY KEY (`salescatid`,`language_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
ALTER TABLE salescatprod ADD COLUMN manufacturers_id int(11) NOT NULL;
ALTER TABLE salescatprod ADD COLUMN featured int(11) DEFAULT '0' NOT NULL;
ALTER TABLE `salescatprod` ADD INDEX ( `manufacturers_id` );
INSERT INTO config VALUES ('ShopMode','test');
INSERT INTO config VALUES ('ShopContactUs','');
ALTER TABLE `purchorderauth` CHANGE `authlevel` `authlevel` DOUBLE NOT NULL DEFAULT '0';
INSERT INTO config VALUES ('ShopShowOnlyAvailableItems','0');
INSERT INTO config VALUES ('ShopShowQOHColumn','1');
INSERT INTO config VALUES ('ShopStockLocations','');
ALTER TABLE `freightcosts` ADD `destinationcountry` VARCHAR( 40 ) NOT NULL AFTER `locationfrom`;
INSERT INTO config VALUES ('ShopTitle','Shop Home');
ALTER TABLE `stockmaster` CHANGE `kgs` `grossweight` DECIMAL( 20, 4 ) NOT NULL DEFAULT '0.0000';
ALTER TABLE `custbranch` CHANGE `brpostaddr3` `brpostaddr3` VARCHAR( 40 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '',
CHANGE `brpostaddr4` `brpostaddr4` VARCHAR( 50 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '',
CHANGE `brpostaddr6` `brpostaddr6` VARCHAR( 40 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '';
ALTER TABLE `stockcategory` ADD `defaulttaxcatid` TINYINT NOT NULL DEFAULT '1';
ALTER TABLE `salescat` ADD `active` INT NOT NULL DEFAULT '1' COMMENT '1 if active 0 if inactive';
INSERT INTO config VALUES ('ShopManagerEmail','');
UPDATE config SET confvalue='4.11.0' WHERE confname='VersionNumber';
|
-- phpMyAdmin SQL Dump
-- version 4.9.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Waktu pembuatan: 12 Agu 2020 pada 11.37
-- Versi server: 10.4.8-MariaDB
-- Versi PHP: 7.1.33
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `sarugo`
--
-- --------------------------------------------------------
--
-- Struktur dari tabel `akun`
--
CREATE TABLE `akun` (
`id` int(11) NOT NULL,
`nip_admin` int(11) NOT NULL,
`nama_admin` varchar(255) NOT NULL,
`telp_admin` varchar(15) NOT NULL,
`email_admin` varchar(255) NOT NULL,
`username_admin` varchar(255) NOT NULL,
`password_admin` varchar(255) NOT NULL,
`konfpass_admin` varchar(255) NOT NULL,
`level` int(2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data untuk tabel `akun`
--
INSERT INTO `akun` (`id`, `nip_admin`, `nama_admin`, `telp_admin`, `email_admin`, `username_admin`, `password_<PASSWORD>`, `konfpass_admin`, `level`) VALUES
(2, 105217001, 'fauzi', '82210714854', '<EMAIL>', 'fauziarda', 'Mdnduwd082210714854', 'Mdnduwd082210714854', 1),
(3, 170036, 'ardhan', '0808080808080', '<EMAIL>', 'ardhan', 'ardhan', 'ardhan', 2),
(6, 1234, 'dika', '123', '<EMAIL>', 'dika', 'dika', 'dika', 0);
--
-- Indexes for dumped tables
--
--
-- Indeks untuk tabel `akun`
--
ALTER TABLE `akun`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT untuk tabel yang dibuang
--
--
-- AUTO_INCREMENT untuk tabel `akun`
--
ALTER TABLE `akun`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
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 */;
|
select
s.survey_name,
s.SurveyID,
u.Alias,
u.Thumbprint
from
[survey].[Survey] s
full outer join [security].[CertificateSurvey] us
on us.SurveyID = s.SurveyID
full outer join [security].[Certificate] u
on u.CertID = us.CertID
SELECT
[GroupRole]
,[Type]
,[SurveyID]
,[SurveyName]
FROM
[security_v].[ApplicationRoleSurveyAccess]
WHERE
Type <> 'Internal' |
-- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Feb 10, 2020 at 03:37 PM
-- Server version: 10.1.40-MariaDB
-- PHP Version: 7.1.29
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: `company`
--
-- --------------------------------------------------------
--
-- Table structure for table `company`
--
CREATE TABLE `company` (
`id` bigint(20) NOT NULL,
`user_id` binary(16) NOT NULL,
`title` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`website` varchar(255) NOT NULL,
`address` varchar(255) DEFAULT NULL,
`created_date` int(11) NOT NULL,
`created_by` binary(16) NOT NULL,
`modified_date` int(11) NOT NULL,
`modified_by` binary(16) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `company`
--
INSERT INTO `company` (`id`, `user_id`, `title`, `email`, `website`, `address`, `created_date`, `created_by`, `modified_date`, `modified_by`) VALUES
(3, 0x37383735303862653462666231316561, 'aman', '<EMAIL>', '<EMAIL>', 'kota', 1581343214, 0x37383735303862653462666231316561, 1581344951, 0x37383735303862653462666231316561),
(4, 0x37383735303862653462666231316561, 'abcd', '<EMAIL>', '<EMAIL>', '<PASSWORD>', 1581343361, 0x37383735303862653462666231316561, 1581343361, 0x37383735303862653462666231316561);
-- --------------------------------------------------------
--
-- Table structure for table `register`
--
CREATE TABLE `register` (
`id` int(11) NOT NULL,
`user_id` binary(16) NOT NULL,
`name` varchar(255) NOT NULL,
`address` varchar(255) NOT NULL,
`mobile_no` int(11) NOT NULL,
`jobtype` varchar(255) NOT NULL,
`password` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`verify_link` int(11) NOT NULL,
`forget_pass_code` varchar(255) DEFAULT NULL,
`forget_pass_exptime` varchar(255) NOT NULL,
`verification_code` varchar(255) NOT NULL,
`status` int(11) NOT NULL,
`created` int(11) NOT NULL,
`modified` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `register`
--
INSERT INTO `register` (`id`, `user_id`, `name`, `address`, `mobile_no`, `jobtype`, `password`, `email`, `verify_link`, `forget_pass_code`, `forget_pass_exptime`, `verification_code`, `status`, `created`, `modified`) VALUES
(1, 0x37383735303862653462666231316561, 'aman', '', 2147483647, 'designer', '<PASSWORD>', '<EMAIL>', 2147483647, NULL, '', '', 1, 1581335401, 0);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `company`
--
ALTER TABLE `company`
ADD PRIMARY KEY (`id`),
ADD KEY `album_id` (`id`);
--
-- Indexes for table `register`
--
ALTER TABLE `register`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `company`
--
ALTER TABLE `company`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `register`
--
ALTER TABLE `register`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
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>sql/enrolled.sql
INSERT INTO `enrolled` (`user_id`, `module_id`) VALUES
('A5000099B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000100B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000101B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000102B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000103B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000104B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000105B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000106B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000107B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000108B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000109B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000110B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000111B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000112B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000113B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000114B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000115B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000116B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000117B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000118B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000119B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000120B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000121B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000122B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000123B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000124B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000125B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000126B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000127B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000128B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000129B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000130B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000131B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000132B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000133B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000134B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000135B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000136B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000137B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000138B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000139B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000140B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000141B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000142B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000143B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000144B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000145B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000146B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000147B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000148B', 'oooooooo-oooo-oooo-oooo-oooooooooooo'),
('A5000059B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000060B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000061B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000062B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000063B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000064B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000065B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000066B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000067B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000068B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000069B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000070B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000071B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000072B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000073B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000074B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000075B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000076B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000077B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000078B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000079B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000080B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000081B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000082B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000083B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000084B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000085B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000086B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000087B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000088B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000089B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000090B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000091B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000092B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000093B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000094B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000095B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000096B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000097B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000098B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000041B', 'qqqqqqqq-qqqq-qqqq-qqqq-qqqqqqqqqqqq'),
('A5000042B', 'qqqqqqqq-qqqq-qqqq-qqqq-qqqqqqqqqqqq'),
('A5000043B', 'qqqqqqqq-qqqq-qqqq-qqqq-qqqqqqqqqqqq'),
('A5000044B', 'qqqqqqqq-qqqq-qqqq-qqqq-qqqqqqqqqqqq'),
('A5000045B', 'qqqqqqqq-qqqq-qqqq-qqqq-qqqqqqqqqqqq'),
('A5000046B', 'qqqqqqqq-qqqq-qqqq-qqqq-qqqqqqqqqqqq'),
('A5000047B', 'qqqqqqqq-qqqq-qqqq-qqqq-qqqqqqqqqqqq'),
('A5000048B', 'qqqqqqqq-qqqq-qqqq-qqqq-qqqqqqqqqqqq'),
('A5000049B', 'qqqqqqqq-qqqq-qqqq-qqqq-qqqqqqqqqqqq'),
('A5000050B', 'qqqqqqqq-qqqq-qqqq-qqqq-qqqqqqqqqqqq'),
('A5000051B', 'qqqqqqqq-qqqq-qqqq-qqqq-qqqqqqqqqqqq'),
('A5000052B', 'qqqqqqqq-qqqq-qqqq-qqqq-qqqqqqqqqqqq'),
('A5000053B', 'qqqqqqqq-qqqq-qqqq-qqqq-qqqqqqqqqqqq'),
('A5000054B', 'qqqqqqqq-qqqq-qqqq-qqqq-qqqqqqqqqqqq'),
('A5000055B', 'qqqqqqqq-qqqq-qqqq-qqqq-qqqqqqqqqqqq'),
('A5000056B', 'qqqqqqqq-qqqq-qqqq-qqqq-qqqqqqqqqqqq'),
('A5000057B', 'qqqqqqqq-qqqq-qqqq-qqqq-qqqqqqqqqqqq'),
('A5000058B', 'qqqqqqqq-qqqq-qqqq-qqqq-qqqqqqqqqqqq'),
('A5000149B', 'rrrrrrrr-rrrr-rrrr-rrrr-rrrrrrrrrrrr'),
('A5000150B', 'rrrrrrrr-rrrr-rrrr-rrrr-rrrrrrrrrrrr'),
('A5000151B', 'rrrrrrrr-rrrr-rrrr-rrrr-rrrrrrrrrrrr'),
('A5000152B', 'rrrrrrrr-rrrr-rrrr-rrrr-rrrrrrrrrrrr'),
('A5000153B', 'rrrrrrrr-rrrr-rrrr-rrrr-rrrrrrrrrrrr'),
('A5000154B', 'rrrrrrrr-rrrr-rrrr-rrrr-rrrrrrrrrrrr'),
('A5000155B', 'rrrrrrrr-rrrr-rrrr-rrrr-rrrrrrrrrrrr'),
('A5000156B', 'rrrrrrrr-rrrr-rrrr-rrrr-rrrrrrrrrrrr'),
('A5000157B', 'rrrrrrrr-rrrr-rrrr-rrrr-rrrrrrrrrrrr'),
('A5000158B', 'rrrrrrrr-rrrr-rrrr-rrrr-rrrrrrrrrrrr'),
('A5000159B', 'rrrrrrrr-rrrr-rrrr-rrrr-rrrrrrrrrrrr'),
('A5000160B', 'rrrrrrrr-rrrr-rrrr-rrrr-rrrrrrrrrrrr'),
('A5000161B', 'rrrrrrrr-rrrr-rrrr-rrrr-rrrrrrrrrrrr'),
('A5000162B', 'rrrrrrrr-rrrr-rrrr-rrrr-rrrrrrrrrrrr'),
('A5000163B', 'rrrrrrrr-rrrr-rrrr-rrrr-rrrrrrrrrrrr'),
('A5000164B', 'rrrrrrrr-rrrr-rrrr-rrrr-rrrrrrrrrrrr'),
('A5000165B', 'rrrrrrrr-rrrr-rrrr-rrrr-rrrrrrrrrrrr'),
('A5000166B', 'rrrrrrrr-rrrr-rrrr-rrrr-rrrrrrrrrrrr'),
('A5000001B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000002B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000003B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000004B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000005B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000006B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000007B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000008B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000009B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000010B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000011B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000012B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000013B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000014B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000015B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000016B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000017B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000018B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000019B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000020B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000021B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000022B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000023B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000024B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000025B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000026B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000027B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000028B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000029B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000030B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000031B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000032B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000033B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000034B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000035B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000036B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000037B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000038B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000039B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000040B', 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'),
('A5000401B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000402B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000403B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000404B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000405B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000406B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000407B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000408B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000409B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000410B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000411B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000412B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000413B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000414B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000415B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000416B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000417B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000418B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000419B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000420B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000421B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000422B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000423B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000424B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000425B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000426B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000427B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000428B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000429B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000430B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000431B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000432B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000433B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000434B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000435B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000436B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000437B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000438B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000439B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000440B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000441B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000442B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000443B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000444B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000445B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000446B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000447B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000448B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000449B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000450B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000451B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000452B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000453B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000454B', 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy'),
('A5000455B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000456B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000457B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000458B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000459B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000460B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000461B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000462B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000463B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000464B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000465B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('A5000466B', 'pppppppp-pppp-pppp-pppp-pppppppppppp'),
('a0114906', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0108385', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0110674', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0108358', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0081146', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0114847', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0082930', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0116673', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0111546', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0132729', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0088436', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0099103', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0105617', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0119444', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0119379', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0119414', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0088278', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0087914', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0113598', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0088680', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0088584', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0088645', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0088591', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0118897', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0093929', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0112068', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0118919', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0086772', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0087171', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0087091', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0073731', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0097978', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0094655', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0106044', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0091847', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0105517', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0091842', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0105518', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0119392', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0119416', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0091827', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0105699', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0082903', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0112204', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0101891', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0099655', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0084801', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0132756', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0110924', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0091892', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0099727', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0116724', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0096928', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0115530', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0119264', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0135717', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0094022', '16ceadcc-55ce-431c-be2e-fdb47db11a7c'),
('a0115696', '16ceadcc-55ce-431c-be2e-fdb47db11a7c');
|
<reponame>archishab/Team-Riker
CREATE TABLE `events` (
`user_id` int DEFAULT NULL,
`event_id` int NOT NULL AUTO_INCREMENT,
`title` varchar(30) NOT NULL,
`course_name` varchar(30) NOT NULL,
`type` varchar(30) NOT NULL,
`due_date` date DEFAULT NULL,
`due_time` time DEFAULT NULL,
`description` varchar(500) DEFAULT NULL,
`state` varchar(50) DEFAULT NULL,
PRIMARY KEY (`event_id`),
KEY `user_id` (`user_id`),
CONSTRAINT `Events_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `User` (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8mb4
|
<filename>server/database/agreement.sql
USE nominal_dev;
-- HOSTELERIA
INSERT INTO nominal_dev.agreement (name) VALUES ("Hosteleria");
-- EMPLOYEE CATEGORIES
INSERT INTO nominal_dev.agreement_emp_category (agreement,name,level) VALUES
(1,"Jefe/a de recepción",1)
,(1,"Primer/a conserje",1)
,(1,"Jefe/a de cocina",1)
,(1,"Jefe/a de comedor",1)
,(1,"Contable general",1)
,(1,"Primer/a encargado/a de mostrador",1)
,(1,"Primer/a jefe/a de sala",1)
,(1,"Encargado/a general pisos y limpieza (antes gobernanta/e)",1)
,(1,"Monta discos",1)
,(1,"Jefe/a de operaciones de catering",1)
,(1,"Jefe/a de personal de catering",1)
,(1,"Jefe/a de compras de catering",1)
,(1,"Jefe/a de administración de catering",1)
,(1,"Jefe/a de mantenimiento de catering",1)
,(1,"Jefe/a de supervisores de catering",1)
,(1,"Encargado/a de mantenimiento y servicios (antes encargado/a de trabajos)",1)
,(1,"Jefe/a de bar",2)
,(1,"Segundo/a jefe/a de cocina",2)
,(1,"Segundo/a jefe/a de comedor",2)
,(1,"Jefe/a repostería",2)
,(1,"Segundo/a jefe/a de sala",2)
,(1,"Segundo/a encargado/a de mostrador",2)
,(1,"Mayordomo/a de pisos",2)
,(1,"Segundo/a Jefe/a de Recepción",2)
,(1,"Interventor/a",2)
,(1,"Supervisor/a de catering",2)
,(1,"Jefe/a de Sala de catering",2)
,(1,"Jefe/a de repostería de catering",2)
,(1,"Encargado/a de sección pisos y limpieza (antes Subgobernanta/e)",2)
,(1,"Segundo/a jefe/a de cocina de catering",2)
,(1,"Jefe/a administrativo/a",2)
,(1,"Segundo/a encargado/a de mantenimiento y servicios (en aquellos centros donde existe este puesto de trabajo)",2)
,(1,"Jefe/a de partida",3)
,(1,"Jefe/a de sector",3)
,(1,"Segundo/a jefe/a de bar",3)
,(1,"Dependiente/a de primera",3)
,(1,"Segundo/a conserje",3)
,(1,"Recepcionista",3)
,(1,"Oficial/a administrativo/a de 1ª",3)
,(1,"Manocorrentista",3)
,(1,"Encargado/a de lencería de catering",3)
,(1,"Especialista en dietética y nutrición en catering (BUP o equivalente más 2 años de especialización)",3)
,(1,"Cajero/a",3)
,(1,"Contable",3)
,(1,"Encargado/a de economato",3)
,(1,"Conserje/a de noche",3)
,(1,"Encargado/a de economato catering",3)
,(1,"Encargado/a sala limpieza catering",3)
,(1,"Jefe/a de equipo de catering",3)
,(1,"Oficial/a 1ª administrativo/a de catering",3)
,(1,"Relaciones públicas (titulado/a y con idiomas)",3)
,(1,"Encargado/a de lencería y lavandería",4)
,(1,"Cocinero/a",4)
,(1,"Planchista",4)
,(1,"Cafetero/a",4)
,(1,"Oficial/a repostero/a",4)
,(1,"Dependiente/a 2ª",4)
,(1,"Camarero/a de sala",4)
,(1,"Cocinero/a de catering",4)
,(1,"Preparador/a de catering",4)
,(1,"Fontanero/a",4)
,(1,"Mecánico/a-calefactor/a",4)
,(1,"Conductor/a",4)
,(1,"Jardinero/a",4)
,(1,"Albañil",4)
,(1,"Carpintero/a",4)
,(1,"Electricista",4)
,(1,"Pintor/a",4)
,(1,"Tapicero/a",4)
,(1,"Panadero/a",4)
,(1,"Animador/a y monitor/a",4)
,(1,"Camarero/a bar",4)
,(1,"Camarero/a comedor",4)
,(1,"Camarero/a sala de fiestas",4)
,(1,"Oficial/a administrativo/a 2ª",4)
,(1,"Oficial/a de repostería de catering",4)
,(1,"Oficial/a de mantenimiento de catering",4)
,(1,"Conductor/a de catering",4)
,(1,"Mecánico/a de catering",4)
,(1,"Oficial/a administrativo/a 2ª catering",4)
,(1,"Camarero/a de pisos",4)
,(1,"Ayudante/a de planchista",5)
,(1,"Ayudante/a de cocina",5)
,(1,"Ayudante/a de repostería",5)
,(1,"Telefonista",5)
,(1,"Facturista",5)
,(1,"Taquillero/a",5)
,(1,"Ayudante/a recepción o conserjería",5)
,(1,"Ayudante/a de sala o mostrador",5)
,(1,"Ayudante/a de comedor o bar",5)
,(1,"Auxiliar administrativo/a caja o contabilidad",5)
,(1,"Ayudante/a de preparación catering",5)
,(1,"Ayudante/a de economato",5)
,(1,"Ayudante/a de economato catering",5)
,(1,"Ayudante/a de cocina catering",5)
,(1,"Ayudante/a de repostería catering",5)
,(1,"Ayudante/a de jefe/a de equipo catering",5)
,(1,"Auxiliar administrativo/a catering",5)
,(1,"Lavandero/a de catering",5)
,(1,"Bodeguero/a",5)
,(1,"Portero/a de coches",6)
,(1,"Portero/a recibidor/a de sala de fiestas",6)
,(1,"Guardarropa",6)
,(1,"Peón",6)
,(1,"Pinche",6)
,(1,"Fregador/a",6)
,(1,"Vigilante/a de noche",6)
,(1,"Portero/a de servicio",6)
,(1,"Mozo/a de equipajes",6)
,(1,"Niñero/a",6)
,(1,"Piscinero/a",6)
,(1,"Mozo/a de habitaciones",6)
,(1,"Marmitón/a",6)
,(1,"Ayudante/a de cafetín",6)
,(1,"Calefactor/a",6)
,(1,"Ayudante/a de mecánico/a",6)
,(1,"Ayudante/a de tapicero/a",6)
,(1,"Ayudante/a de jardinero/a",6)
,(1,"Ayudante/a de albañil Ascensorista",6)
,(1,"Ayudante/a de fontanero/a",6)
,(1,"Ayudante/a de carpintero/a",6)
,(1,"Ayudante/a de electricista",6)
,(1,"Ayudante/a de pintor/a",6)
,(1,"Mozo/a de almacén",6)
,(1,"Lencero/a",6)
,(1,"Lavandero/a",6)
,(1,"Costurero/a",6)
,(1,"Planchador/a",6)
,(1,"Limpiador/a",6)
,(1,"Botones",6)
,(1,"Ascensorista",6)
,(1,"Guarda exterior de catering",6)
,(1,"Limpiador/a o fregador/a de catering",6)
,(1,"Pinche de catering",6)
,(1,"Peón de catering",6)
,(1,"Socorrista",6);
INSERT INTO nominal_dev.agreement_com_quotation (agreement,name,level) VALUES
(1,'Hotel de 4 y 5 estrellas',1)
,(1,'Hotel residencia de 4 estrellas ',1)
,(1,'Hotel apartamentos de 4 estrellas ',1)
,(1,'Apartamento extrahotelero lujo ',1)
,(1,'Restaurante de 4 y 5 tenedores ',1)
,(1,'Hotel rural',1)
,(1,'Café bar especial A y B',1)
,(1,'Bar americano',1)
,(1,'Sala de fiestas y Discoteca lujo 1ª',1)
,(1,'Motel de 4 estrellas',1)
,(1,'Salón de té',1)
,(1,'Hotel de 3 y 2 estrellas ',2)
,(1,'Hotel residencia de 3 y 2 estrellas ',2)
,(1,'Hotel apartamentos de 3 y 2 estrellas ',2)
,(1,'Apartamento extrahoteleros de 1ª y 2ª ',2)
,(1,'Residencia apartamentos de 3 y 2 estrellas',2)
,(1,'Hostal residencia de 3 estrellas ',2)
,(1,'Hostal de 3 estrellas',2)
,(1,'Motel de 3 y 2 estrellas ',2)
,(1,'Ciudad de vacaciones 3 y 2 estrellas',2)
,(1,'Pensión de 3 estrellas ',2)
,(1,'Restaurante de 3 y 2 tenedores',2)
,(1,'Cafetería de 2 y 3 tazas',2)
,(1,'Bar de 2ª y 1ª',2)
,(1,'Sala de fiestas y discoteca 2ª',2)
,(1,'Catering y Colectividades',2)
,(1,'Lavandería hotelera centralizada',2)
,(1,'Casino de segunda y tercera',2)
,(1,'Pizzería',2)
,(1,'Tablao flamencos',2)
,(1,'Granja',2)
,(1,'Barbacoa',2)
,(1,'Establecimiento turístico de interior.',2)
,(1,'Hotel de 1 estrella ',3)
,(1,'Hotel residencia de 1 estrella',3)
,(1,'Hotel apartamentos de 1 estrella ',3)
,(1,'Apartamento extrahotelero de 3ª ',3)
,(1,'Residencia apartamentos de 1 estrella ',3)
,(1,'Hostal de 2 y 1 estrellas ',3)
,(1,'Motel de 1 estrella ',3)
,(1,'Pensión de 2 y 1 estrellas',3)
,(1,'Fonda y Casa de huéspedes ',3)
,(1,'Ciudad de vacaciones de 1 estrella ',3)
,(1,'Viviendas turísticas vacacionales',3)
,(1,'Restaurante de 1 tenedor',3)
,(1,'Cafetería de 1 taza',3)
,(1,'Bar de 3ª y 4ª',3)
,(1,'Taberna y Bodegón',3)
,(1,'Casa de comida',3)
,(1,'Taberna que sirven comidas',3)
,(1,'Heladería',3)
,(1,'Sala de fiestas y Discoteca de 3ª',3)
,(1,'Salón de baile',3)
,(1,'Agroturismo',3);
INSERT INTO nominal_dev.employee_salary_values (agreement,category,quotation,value) VALUES
(1,1,1,1816.25)
,(1,1,2,1791.16)
,(1,1,3,1762.35)
,(1,2,1,1683.95)
,(1,2,2,1666.59)
,(1,2,3,1638.95)
,(1,3,1,1568.00)
,(1,3,2,1542.47)
,(1,3,3,1516.04)
,(1,4,1,1456.64)
,(1,4,2,1425.52)
,(1,4,3,1410.68)
,(1,5,1,1349.77)
,(1,5,2,1336.79)
,(1,5,3,1329.83)
,(1,6,1,1268.83)
,(1,6,2,1268.83)
,(1,6,3,1268.83);
INSERT INTO nominal_dev.employee_antiquity_values (agreement,category,quotation,years,value) VALUES
(1,1,1,3,12.08)
,(1,1,1,6,33.77)
,(1,1,1,9,64.58)
,(1,1,1,14,101.53)
,(1,1,1,19,145.86)
,(1,1,1,24,171.73)
,(1,1,2,3,11.91)
,(1,1,2,6,33.32)
,(1,1,2,9,63.69)
,(1,1,2,14,100.07)
,(1,1,2,19,143.74)
,(1,1,2,24,169.21)
,(1,1,3,3,11.71)
,(1,1,3,6,32.81)
,(1,1,3,9,62.65)
,(1,1,3,14,98.39)
,(1,1,3,19,141.74)
,(1,1,3,24,166.32)
-- 2
,(1,2,1,3,11.27)
,(1,2,1,6,31.63)
,(1,2,1,9,60.30)
,(1,2,1,14,94.57)
,(1,2,1,19,135.71)
,(1,2,1,24,159.70)
,(1,2,2,3,11.15)
,(1,2,2,6,31.32)
,(1,2,2,9,29.68)
,(1,2,2,14,93.57)
,(1,2,2,19,134.23)
,(1,2,2,24,157.96)
,(1,2,3,3,10.97)
,(1,2,3,6,30.82)
,(1,2,3,9,58.69)
,(1,2,3,14,91.96)
,(1,2,3,19,131.88)
,(1,2,3,24,155.17)
-- 3
,(1,3,1,3,10.58)
,(1,3,1,6,29.78)
,(1,3,1,9,56.60)
,(1,3,1,14,88.56)
,(1,3,1,19,123.92)
,(1,3,1,24,149.29)
,(1,3,2,3,10.41)
,(1,3,2,6,29.33)
,(1,3,2,9,55.69)
,(1,3,2,14,87.08)
,(1,3,2,19,124.75)
,(1,3,2,24,146.73)
,(1,3,3,3,10.23)
,(1,3,3,6,28.85)
,(1,3,3,9,54.74)
,(1,3,3,14,85.54)
,(1,3,3,19,122.51)
,(1,3,3,24,144.07)
-- 4
,(1,4,1,3,9.92)
,(1,4,1,6,28.01)
,(1,4,1,9,53.07)
,(1,4,1,14,82.82)
,(1,4,1,19,118.53)
,(1,4,1,24,139.35)
,(1,4,2,3,9.70)
,(1,4,2,6,27.45)
,(1,4,2,9,51.95)
,(1,4,2,14,81.01)
,(1,4,2,19,115.88)
,(1,4,2,24,136.23)
,(1,4,3,3,9.61)
,(1,4,3,6,27.19)
,(1,4,3,9,51.42)
,(1,4,3,14,80.15)
,(1,4,3,19,114.62)
,(1,4,3,24,134.74)
-- 5
,(1,5,1,3,9.37)
,(1,5,1,6,26.54)
,(1,5,1,9,50.14)
,(1,5,1,14,78.06)
,(1,5,1,19,111.56)
,(1,5,1,24,131.11)
,(1,5,2,3,9.28)
,(1,5,2,6,26.32)
,(1,5,2,9,49.68)
,(1,5,2,14,77.31)
,(1,5,2,19,110.46)
,(1,5,2,24,129.81)
,(1,5,3,3,9.24)
,(1,5,3,6,26.19)
,(1,5,3,9,49.12)
,(1,5,3,14,76.90)
,(1,5,3,19,109.87)
,(1,5,3,24,129.10)
-- 6
,(1,6,1,3,8.83)
,(1,6,1,6,25.11)
,(1,6,1,9,47.24)
,(1,6,1,14,73.36)
,(1,6,1,19,104.69)
,(1,6,1,24,122.97)
,(1,6,2,3,8.83)
,(1,6,2,6,25.11)
,(1,6,2,9,47.24)
,(1,6,2,14,73.36)
,(1,6,2,19,104.69)
,(1,6,2,24,122.97)
,(1,6,3,3,8.83)
,(1,6,3,6,25.11)
,(1,6,3,9,47.24)
,(1,6,3,14,73.36)
,(1,6,3,19,104.69)
,(1,6,3,24,122.97); |
<reponame>Shuttl-Tech/antlr_psql
-- file:privileges.sql ln:1168 expect:true
REVOKE UPDATE ON lock_table FROM regress_locktable_user
|
<gh_stars>0
INSERT INTO burgers(burger_name, devoured)
VALUES
("Cheeseburger", false),
("Bacon Cheeseburger", false),
("Mushroom Swiss", false),
("California", true),
("Peanut butter burger", true); |
<reponame>ingluisruedaw/Ferresoft
-- phpMyAdmin SQL Dump
-- version 4.6.4
-- https://www.phpmyadmin.net/
--
-- Servidor: localhost
-- Tiempo de generación: 09-06-2017 a las 19:58:47
-- Versión del servidor: 5.5.53
-- Versión de PHP: 5.5.38
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Base de datos: `ferresoft`
--
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `categorias`
--
CREATE TABLE `categorias` (
`id` bigint(20) NOT NULL,
`det` varchar(100) NOT NULL,
`estado_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Volcado de datos para la tabla `categorias`
--
INSERT INTO `categorias` (`id`, `det`, `estado_id`) VALUES
(1, 'CARPINTERIA', 1),
(2, 'CONSTRUCCION', 1),
(3, 'HOGAR', 1),
(4, 'PINTURERIA', 1),
(5, 'ELECTRICIDAD', 1),
(6, 'MAQUINAS Y HERRAMIENTAS', 1),
(7, 'TORNILLERIA', 1),
(8, 'PLOMERIA', 1),
(9, 'MOTORES', 1),
(10, 'SEGURIDAD', 1),
(11, 'SOGAS Y CADENAS', 1);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `clientes`
--
CREATE TABLE `clientes` (
`id` bigint(20) NOT NULL,
`persona_id` bigint(20) NOT NULL,
`estado_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Volcado de datos para la tabla `clientes`
--
INSERT INTO `clientes` (`id`, `persona_id`, `estado_id`) VALUES
(1, 1, 1),
(2, 1, 2),
(3, 1, 2),
(9, 4, 1),
(10, 3, 1),
(11, 1047611456, 1),
(12, 1156788541, 1),
(13, 0, 1);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `compras`
--
CREATE TABLE `compras` (
`id` bigint(20) NOT NULL,
`productos_id` int(10) NOT NULL,
`proveedores_id` int(12) NOT NULL,
`precio` double NOT NULL,
`iva_id` bigint(20) NOT NULL,
`cantidad` double NOT NULL,
`fecha` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`estado_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Volcado de datos para la tabla `compras`
--
INSERT INTO `compras` (`id`, `productos_id`, `proveedores_id`, `precio`, `iva_id`, `cantidad`, `fecha`, `estado_id`) VALUES
(19, 1, 3, 135000, 1, 100, '2017-05-29 05:00:00', 1),
(20, 4, 3, 30000, 2, 200, '2017-05-29 05:00:00', 1),
(21, 5, 4, 10000, 1, 500, '2017-05-29 05:00:00', 1),
(22, 1, 4, 500000, 2, 30, '2017-05-29 05:00:00', 1),
(23, 6, 6, 10000, 1, 1000, '2017-05-03 05:00:00', 1),
(24, 7, 8, 5000, 1, 50, '2017-05-30 05:00:00', 1),
(25, 8, 8, 8000, 1, 100, '2017-05-30 05:00:00', 1),
(26, 9, 8, 5000, 1, 20, '2017-05-30 05:00:00', 1),
(27, 11, 4, 1500, 2, 100, '2017-05-30 05:00:00', 1);
--
-- Disparadores `compras`
--
DELIMITER $$
CREATE TRIGGER `tCompraProductoStock` AFTER INSERT ON `compras` FOR EACH ROW BEGIN
DECLARE acantidad INT;
DECLARE aiva DOUBLE;
DECLARE aprecio DOUBLE;
DECLARE apretotal DOUBLE;
DECLARE aganancia DOUBLE;
DECLARE atotal DOUBLE;
SET @acantidad = (SELECT stockmin FROM productos WHERE id = NEW.productos_id);
SET @aprecio = NEW.precio;
SET @aganancia = (30/100);
SET @atotal = @aprecio * (1+@aganancia);
UPDATE productos SET stockmin = NEW.cantidad+@acantidad WHERE productos.id = NEW.productos_id;
INSERT INTO
precio_venta(
iva_id,
productos_id,
precio,
neto)
VALUES(
NEW.iva_id,
NEW.productos_id,
@aprecio,
@atotal);
END
$$
DELIMITER ;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `det_factura`
--
CREATE TABLE `det_factura` (
`id` bigint(20) NOT NULL,
`factura_id` bigint(20) NOT NULL,
`precio_venta_id` bigint(20) NOT NULL,
`cantidad` double NOT NULL,
`estado_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Volcado de datos para la tabla `det_factura`
--
INSERT INTO `det_factura` (`id`, `factura_id`, `precio_venta_id`, `cantidad`, `estado_id`) VALUES
(35, 23, 14, 100, 4),
(36, 23, 15, 100, 4),
(37, 23, 16, 250, 4),
(38, 24, 14, 50, 4),
(39, 24, 15, 100, 4),
(40, 24, 16, 250, 4),
(41, 25, 15, 1, 1),
(42, 25, 15, 1, 1),
(43, 26, 18, 50, 5),
(44, 27, 21, 1, 1),
(45, 27, 21, 1, 1),
(46, 27, 17, 1, 1),
(47, 28, 18, 1, 1),
(48, 28, 21, 1, 1),
(49, 30, 20, 1, 5),
(50, 31, 16, 1, 1),
(51, 31, 17, 2, 1),
(52, 31, 21, 1, 1),
(53, 32, 18, 2, 1),
(54, 32, 19, 3, 1),
(55, 33, 20, 1, 1),
(56, 33, 18, 5, 1),
(57, 34, 21, 12, 1),
(58, 36, 16, 1, 1),
(59, 37, 22, 10, 5),
(60, 38, 16, 1, 4),
(61, 40, 16, 1, 5),
(63, 40, 16, 9, 5),
(64, 46, 16, 0, 4),
(65, 48, 16, 10, 1),
(66, 49, 20, 2, 1),
(67, 49, 20, 3, 1),
(68, 49, 17, 33, 1);
--
-- Disparadores `det_factura`
--
DELIMITER $$
CREATE TRIGGER `tDevolverProductos` AFTER UPDATE ON `det_factura` FOR EACH ROW BEGIN
DECLARE aprecio BIGINT;
DECLARE aproducto BIGINT;
DECLARE acantidad INT;
DECLARE cantidad_antes INT;
SET @aprecio = NEW.estado_id;
SET @producto = (SELECT productos_id FROM precio_venta WHERE id = NEW.precio_venta_id);
SET @cantidad_antes = (SELECT stockmin FROM productos WHERE productos.id = @producto);
SET @acantidad = NEW.cantidad;
IF @aestado = 2 THEN
UPDATE productos SET stockmin = @cantidad_antes+@acantidad WHERE id = @producto;
ELSEIF @aestado = 4 THEN
UPDATE productos SET stockmin = @cantidad_antes+@acantidad WHERE id = @producto;
END IF;
IF @aestado = 1 THEN
UPDATE productos SET stockmin = @cantidad_antes-NEW.cantidad WHERE id = @producto;
END IF;
END
$$
DELIMITER ;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `embalaje`
--
CREATE TABLE `embalaje` (
`id` bigint(20) NOT NULL,
`det` varchar(100) NOT NULL,
`estado_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Volcado de datos para la tabla `embalaje`
--
INSERT INTO `embalaje` (`id`, `det`, `estado_id`) VALUES
(1, 'BOTELLA', 1),
(2, 'GALON', 1),
(3, 'CAJA', 1),
(4, 'UNIDAD', 1),
(5, 'UNIDAD', 2),
(6, 'PRUEBA', 2),
(7, '0', 2);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `empleados`
--
CREATE TABLE `empleados` (
`id` bigint(20) NOT NULL,
`cargo` varchar(100) NOT NULL,
`fingreso` date NOT NULL,
`persona_id` bigint(20) NOT NULL,
`estado_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Volcado de datos para la tabla `empleados`
--
INSERT INTO `empleados` (`id`, `cargo`, `fingreso`, `persona_id`, `estado_id`) VALUES
(1, 'Webmaster', '2017-02-02', 1, 1),
(4, 'Inventario', '2017-05-28', 2, 1),
(5, 'Facturación', '2017-05-29', 3, 1);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `estado`
--
CREATE TABLE `estado` (
`id` bigint(20) NOT NULL,
`det` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Volcado de datos para la tabla `estado`
--
INSERT INTO `estado` (`id`, `det`) VALUES
(1, 'ACTIVO'),
(2, 'ELIMINADO'),
(3, 'NO VIGENTE'),
(4, 'ANULADO'),
(5, 'FACTURA EN PROCESO');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `factura`
--
CREATE TABLE `factura` (
`id` bigint(20) NOT NULL,
`empleados_id` bigint(20) NOT NULL,
`clientes_id` bigint(20) NOT NULL,
`fecha` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
`total` double DEFAULT '0',
`estado_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Volcado de datos para la tabla `factura`
--
INSERT INTO `factura` (`id`, `empleados_id`, `clientes_id`, `fecha`, `total`, `estado_id`) VALUES
(23, 4, 11, '2017-05-29 05:00:00', 0, 4),
(24, 4, 11, '2017-05-29 05:00:00', 15925000, 4),
(25, 1, 9, '2017-05-29 05:00:00', 78000, 1),
(26, 4, 12, '2017-05-29 05:00:00', 0, 5),
(27, 5, 10, '2017-05-30 05:00:00', 663000, 1),
(28, 5, 12, '2017-05-30 05:00:00', 19500, 1),
(29, 4, 10, '2017-05-30 05:00:00', 0, 5),
(30, 1, 1, '2017-05-30 05:00:00', 0, 5),
(31, 4, 1, '2017-05-30 05:00:00', 1319500, 1),
(32, 1, 1, '2017-05-29 05:00:00', 45500, 1),
(33, 5, 12, '2017-05-30 05:00:00', 75400, 1),
(34, 5, 10, '2017-05-30 05:00:00', 78000, 1),
(35, 5, 9, '2017-05-30 05:00:00', 0, 5),
(36, 1, 1, '2017-11-30 05:00:00', 13000, 1),
(37, 5, 1, '2017-05-10 05:00:00', 0, 5),
(38, 5, 1, '2017-12-31 05:00:00', 13000, 4),
(39, 5, 1, '2015-10-29 05:00:00', 0, 4),
(40, 1, 1, '2017-05-31 05:00:00', 0, 5),
(44, 1, 1, '2017-05-20 05:00:00', 0, 4),
(45, 1, 1, '2017-05-07 05:00:00', 0, 4),
(46, 1, 1, '2017-05-19 05:00:00', 0, 4),
(47, 1, 1, '2017-05-19 05:00:00', 0, 5),
(48, 1, 1, '2017-05-13 05:00:00', 130000, 1),
(49, 4, 10, '2017-06-01 05:00:00', 21502000, 1);
--
-- Disparadores `factura`
--
DELIMITER $$
CREATE TRIGGER `tFacturaAnular` AFTER UPDATE ON `factura` FOR EACH ROW BEGIN
DECLARE aestado BIGINT;
SET @aestado = NEW.estado_id;
IF @aestado = 2 THEN
UPDATE det_factura SET estado_id = @aestado WHERE det_factura.factura_id = new.id;
ELSEIF @aestado = 4 THEN
UPDATE det_factura SET estado_id = @aestado WHERE det_factura.factura_id = new.id;
END IF;
IF @aestado = 1 THEN
UPDATE det_factura SET estado_id = @aestado WHERE det_factura.factura_id = NEW.id;
END IF;
END
$$
DELIMITER ;
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `iva`
--
CREATE TABLE `iva` (
`id` bigint(20) NOT NULL,
`det` double NOT NULL,
`estado_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Volcado de datos para la tabla `iva`
--
INSERT INTO `iva` (`id`, `det`, `estado_id`) VALUES
(1, 19, 1),
(2, 5, 1),
(3, 16, 1),
(4, 10, 2);
-- --------------------------------------------------------
--
-- Estructura Stand-in para la vista `new_view`
-- (Véase abajo para la vista actual)
--
CREATE TABLE `new_view` (
`empleado` varchar(255)
,`cliente` varchar(255)
,`FECHA` timestamp
);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `persona`
--
CREATE TABLE `persona` (
`id` bigint(20) NOT NULL,
`nombres` varchar(255) NOT NULL,
`direccion` varchar(100) NOT NULL,
`telefono` bigint(20) NOT NULL,
`correo` varchar(45) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Volcado de datos para la tabla `persona`
--
INSERT INTO `persona` (`id`, `nombres`, `direccion`, `telefono`, `correo`) VALUES
(0, 'aaa', 'aaaa', 123, 'aaaa'),
(1, 'c', 'asas', 0, '<EMAIL>'),
(2, '<NAME>', 'calle 8#72-15', 3321245, '<EMAIL>'),
(3, 'camilo', 'asas', 0, '<EMAIL>'),
(4, 'pwned', 'asas', 0, '_'),
(1047611456, '<NAME>', 'CALLE 106 N 56 - 99', 3568901, '---'),
(1156788541, '<NAME>', 'CRA 78 N 44 99', 3550966, '<EMAIL>');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `precio_venta`
--
CREATE TABLE `precio_venta` (
`id` bigint(20) NOT NULL,
`iva_id` bigint(20) DEFAULT NULL,
`productos_id` int(10) NOT NULL,
`precio` double DEFAULT NULL,
`neto` double DEFAULT NULL,
`estado_id` bigint(20) NOT NULL DEFAULT '1',
`fecha_activacion` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
`fecha_cancelado` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Volcado de datos para la tabla `precio_venta`
--
INSERT INTO `precio_venta` (`id`, `iva_id`, `productos_id`, `precio`, `neto`, `estado_id`, `fecha_activacion`, `fecha_cancelado`) VALUES
(14, 1, 1, 135000, 175500, 3, '2017-05-29 20:10:58', '2017-05-29 23:58:23'),
(15, 2, 4, 30000, 39000, 3, '2017-05-29 20:12:19', '2017-05-29 23:31:58'),
(16, 1, 5, 10000, 13000, 1, '2017-05-29 20:12:48', NULL),
(17, 2, 1, 500000, 650000, 1, '2017-05-29 23:31:16', NULL),
(18, 1, 6, 10000, 13000, 1, '2017-05-29 23:36:02', NULL),
(19, 1, 7, 5000, 6500, 1, '2017-05-30 13:31:43', NULL),
(20, 1, 8, 8000, 10400, 1, '2017-05-30 13:39:58', NULL),
(21, 1, 9, 5000, 6500, 1, '2017-05-30 13:40:26', NULL),
(22, 2, 11, 1500, 1950, 1, '2017-05-31 00:54:31', NULL);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `productos`
--
CREATE TABLE `productos` (
`id` int(10) NOT NULL,
`nombre` varchar(100) NOT NULL,
`stockmin` int(10) NOT NULL,
`embalaje_id` bigint(20) NOT NULL,
`categorias_id` bigint(20) NOT NULL,
`estado_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Volcado de datos para la tabla `productos`
--
INSERT INTO `productos` (`id`, `nombre`, `stockmin`, `embalaje_id`, `categorias_id`, `estado_id`) VALUES
(1, 'SIERRA BLACK+DECKER', 94, 4, 1, 1),
(4, 'SERRUCHO BLACK+DECKER', 198, 4, 1, 1),
(5, 'MARTILLO ELECTRICO ECONOMICO', 488, 4, 3, 1),
(6, 'CEMENTO ARGOS X 50 KG', 992, 4, 2, 1),
(7, '<NAME> C<NAME>', 47, 4, 10, 1),
(8, '<NAME>', 94, 4, 10, 1),
(9, '<NAME> 5/8 10UNID', 4, 3, 7, 1),
(10, 'CLAVOS DE ACERO 3\'\'', 0, 4, 1, 1),
(11, 'BLOCK SAMO', 100, 4, 2, 1);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `proveedores`
--
CREATE TABLE `proveedores` (
`id` int(12) NOT NULL,
`det` varchar(80) NOT NULL,
`direccion` varchar(80) NOT NULL,
`telefono` bigint(20) NOT NULL,
`email` varchar(80) NOT NULL,
`estado_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Volcado de datos para la tabla `proveedores`
--
INSERT INTO `proveedores` (`id`, `det`, `direccion`, `telefono`, `email`, `estado_id`) VALUES
(3, 'RUKIM', 'Av. Murillo #Km. 4, Soledad, Atlántico', 3282000, '<EMAIL>', 1),
(4, '<NAME>', 'Cl 75 48-13 Barranquilla, Colombia', 3565544, '<EMAIL>', 1),
(5, 'demo', '1234', 1234, '<EMAIL>', 2),
(6, 'ARGOS', 'VIA 40', 3212345, '<EMAIL>', 1),
(7, '<NAME>', 'CALLE 84 N 43 77', 3440955, '<EMAIL>', 1),
(8, 'DISTRIFEREETERIA ATLANTICO', 'VIA 40 CALLE 89', 3445321, '<EMAIL>', 1);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `roles`
--
CREATE TABLE `roles` (
`id` bigint(20) NOT NULL,
`det` varchar(100) NOT NULL,
`estado_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Volcado de datos para la tabla `roles`
--
INSERT INTO `roles` (`id`, `det`, `estado_id`) VALUES
(1, 'SUPERUSUARIO', 1),
(2, 'FACTURA', 1),
(3, 'INVENTARIO', 1),
(4, 'prueba', 2),
(5, 'sd', 2),
(6, 'SS', 2);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `usuario`
--
CREATE TABLE `usuario` (
`usuario` varchar(100) NOT NULL,
`clave` varchar(100) NOT NULL,
`roles_id` bigint(20) NOT NULL,
`empleados_id` bigint(20) NOT NULL,
`estado_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Volcado de datos para la tabla `usuario`
--
INSERT INTO `usuario` (`usuario`, `clave`, `roles_id`, `empleados_id`, `estado_id`) VALUES
('administrador', '$2y$10$FGaoJn8.lKbUUeZyUUuoAe/sJM2YRtd/mZOrHSDtu.Oqp4r49.Qoq', 1, 1, 1),
('facturacion', '$2y$10$JZ6evj4Kiibq7B8xefG2L.WuKQuF6cWfW7tidRnsfT2XkfGpOH6lC', 2, 5, 1),
('inventario', '$2y$10$QPOGT8aR.iyHbw3TauPVbuPVPrgpapoYNJcwEBUzbrG8vAH7saKXe', 3, 4, 1),
('sergio', '$2y$10$wk58ThiJ7HdP310YPvUcMu9POKy4yE7xyh0pCguwQ.0nTYfef4bnC', 2, 1, 2);
-- --------------------------------------------------------
--
-- Estructura para la vista `new_view`
--
DROP TABLE IF EXISTS `new_view`;
CREATE ALGORITHM=UNDEFINED DEFINER=`ferresoft`@`%` SQL SECURITY DEFINER VIEW `new_view` AS select `persona`.`nombres` AS `empleado`,`persona1`.`nombres` AS `cliente`,`factura`.`fecha` AS `FECHA` from ((((`factura` join `empleados` on((`factura`.`empleados_id` = `empleados`.`id`))) join `clientes` on((`factura`.`clientes_id` = `clientes`.`id`))) join `persona` on((`empleados`.`persona_id` = `persona`.`id`))) join `persona` `persona1` on((`clientes`.`persona_id` = `persona1`.`id`))) where (`factura`.`id` = 33) ;
--
-- Índices para tablas volcadas
--
--
-- Indices de la tabla `categorias`
--
ALTER TABLE `categorias`
ADD PRIMARY KEY (`id`),
ADD KEY `fk_categorias_estado1_idx` (`estado_id`);
--
-- Indices de la tabla `clientes`
--
ALTER TABLE `clientes`
ADD PRIMARY KEY (`id`),
ADD KEY `fk_clientes_persona1_idx` (`persona_id`),
ADD KEY `fk_clientes_estado1_idx` (`estado_id`);
--
-- Indices de la tabla `compras`
--
ALTER TABLE `compras`
ADD PRIMARY KEY (`id`),
ADD KEY `fk_productos_has_proveedores_proveedores1_idx` (`proveedores_id`),
ADD KEY `fk_productos_has_proveedores_productos1_idx` (`productos_id`),
ADD KEY `fk_compras_estado1_idx` (`estado_id`),
ADD KEY `fk_productos_has_iva_idx` (`iva_id`);
--
-- Indices de la tabla `det_factura`
--
ALTER TABLE `det_factura`
ADD PRIMARY KEY (`id`),
ADD KEY `fk_det_factura_factura1_idx` (`factura_id`),
ADD KEY `fk_det_factura_precio_venta1_idx` (`precio_venta_id`),
ADD KEY `fk_det_factura_estado1_idx` (`estado_id`);
--
-- Indices de la tabla `embalaje`
--
ALTER TABLE `embalaje`
ADD PRIMARY KEY (`id`),
ADD KEY `fk_embalaje_estado1_idx` (`estado_id`);
--
-- Indices de la tabla `empleados`
--
ALTER TABLE `empleados`
ADD PRIMARY KEY (`id`),
ADD KEY `fk_empleados_persona_idx` (`persona_id`),
ADD KEY `fk_empleados_estado1_idx` (`estado_id`);
--
-- Indices de la tabla `estado`
--
ALTER TABLE `estado`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `factura`
--
ALTER TABLE `factura`
ADD PRIMARY KEY (`id`),
ADD KEY `fk_factura_empleados1_idx` (`empleados_id`),
ADD KEY `fk_factura_clientes1_idx` (`clientes_id`),
ADD KEY `fk_factura_estado1_idx` (`estado_id`);
--
-- Indices de la tabla `iva`
--
ALTER TABLE `iva`
ADD PRIMARY KEY (`id`),
ADD KEY `fk_iva_estado1_idx` (`estado_id`);
--
-- Indices de la tabla `persona`
--
ALTER TABLE `persona`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `precio_venta`
--
ALTER TABLE `precio_venta`
ADD PRIMARY KEY (`id`),
ADD KEY `fk_precio_iva1_idx` (`iva_id`),
ADD KEY `fk_precio_productos1_idx` (`productos_id`),
ADD KEY `fk_precio_venta_estado1_idx` (`estado_id`);
--
-- Indices de la tabla `productos`
--
ALTER TABLE `productos`
ADD PRIMARY KEY (`id`),
ADD KEY `fk_productos_categorias1_idx` (`categorias_id`),
ADD KEY `fk_productos_embalaje1_idx` (`embalaje_id`),
ADD KEY `fk_productos_estado1_idx` (`estado_id`);
--
-- Indices de la tabla `proveedores`
--
ALTER TABLE `proveedores`
ADD PRIMARY KEY (`id`),
ADD KEY `fk_proveedores_estado1_idx` (`estado_id`);
--
-- Indices de la tabla `roles`
--
ALTER TABLE `roles`
ADD PRIMARY KEY (`id`),
ADD KEY `fk_roles_estado1_idx` (`estado_id`);
--
-- Indices de la tabla `usuario`
--
ALTER TABLE `usuario`
ADD PRIMARY KEY (`usuario`),
ADD KEY `fk_usuario_roles1_idx` (`roles_id`),
ADD KEY `fk_usuario_empleados1_idx` (`empleados_id`),
ADD KEY `fk_usuario_estado1_idx` (`estado_id`);
--
-- AUTO_INCREMENT de las tablas volcadas
--
--
-- AUTO_INCREMENT de la tabla `categorias`
--
ALTER TABLE `categorias`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
--
-- AUTO_INCREMENT de la tabla `clientes`
--
ALTER TABLE `clientes`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;
--
-- AUTO_INCREMENT de la tabla `compras`
--
ALTER TABLE `compras`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=28;
--
-- AUTO_INCREMENT de la tabla `det_factura`
--
ALTER TABLE `det_factura`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=69;
--
-- AUTO_INCREMENT de la tabla `embalaje`
--
ALTER TABLE `embalaje`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
--
-- AUTO_INCREMENT de la tabla `empleados`
--
ALTER TABLE `empleados`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT de la tabla `estado`
--
ALTER TABLE `estado`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
--
-- AUTO_INCREMENT de la tabla `factura`
--
ALTER TABLE `factura`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=50;
--
-- AUTO_INCREMENT de la tabla `iva`
--
ALTER TABLE `iva`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT de la tabla `precio_venta`
--
ALTER TABLE `precio_venta`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;
--
-- AUTO_INCREMENT de la tabla `productos`
--
ALTER TABLE `productos`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;
--
-- AUTO_INCREMENT de la tabla `proveedores`
--
ALTER TABLE `proveedores`
MODIFY `id` int(12) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT de la tabla `roles`
--
ALTER TABLE `roles`
MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- Restricciones para tablas volcadas
--
--
-- Filtros para la tabla `categorias`
--
ALTER TABLE `categorias`
ADD CONSTRAINT `fk_categorias_estado1` FOREIGN KEY (`estado_id`) REFERENCES `estado` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `clientes`
--
ALTER TABLE `clientes`
ADD CONSTRAINT `fk_clientes_estado1` FOREIGN KEY (`estado_id`) REFERENCES `estado` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_clientes_persona1` FOREIGN KEY (`persona_id`) REFERENCES `persona` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `compras`
--
ALTER TABLE `compras`
ADD CONSTRAINT `fk_compras_estado1` FOREIGN KEY (`estado_id`) REFERENCES `estado` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_productos_has_iva` FOREIGN KEY (`iva_id`) REFERENCES `iva` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_productos_has_proveedores_productos1` FOREIGN KEY (`productos_id`) REFERENCES `productos` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_productos_has_proveedores_proveedores1` FOREIGN KEY (`proveedores_id`) REFERENCES `proveedores` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `det_factura`
--
ALTER TABLE `det_factura`
ADD CONSTRAINT `fk_det_factura_estado1` FOREIGN KEY (`estado_id`) REFERENCES `estado` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_det_factura_factura1` FOREIGN KEY (`factura_id`) REFERENCES `factura` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_det_factura_precio_venta1` FOREIGN KEY (`precio_venta_id`) REFERENCES `precio_venta` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `embalaje`
--
ALTER TABLE `embalaje`
ADD CONSTRAINT `fk_embalaje_estado1` FOREIGN KEY (`estado_id`) REFERENCES `estado` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `empleados`
--
ALTER TABLE `empleados`
ADD CONSTRAINT `fk_empleados_estado1` FOREIGN KEY (`estado_id`) REFERENCES `estado` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_empleados_persona` FOREIGN KEY (`persona_id`) REFERENCES `persona` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `factura`
--
ALTER TABLE `factura`
ADD CONSTRAINT `fk_factura_clientes1` FOREIGN KEY (`clientes_id`) REFERENCES `clientes` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_factura_empleados1` FOREIGN KEY (`empleados_id`) REFERENCES `empleados` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_factura_estado1` FOREIGN KEY (`estado_id`) REFERENCES `estado` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `iva`
--
ALTER TABLE `iva`
ADD CONSTRAINT `fk_iva_estado1` FOREIGN KEY (`estado_id`) REFERENCES `estado` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `precio_venta`
--
ALTER TABLE `precio_venta`
ADD CONSTRAINT `fk_precio_iva1` FOREIGN KEY (`iva_id`) REFERENCES `iva` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_precio_productos1` FOREIGN KEY (`productos_id`) REFERENCES `productos` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_precio_venta_estado1` FOREIGN KEY (`estado_id`) REFERENCES `estado` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `productos`
--
ALTER TABLE `productos`
ADD CONSTRAINT `fk_productos_categorias1` FOREIGN KEY (`categorias_id`) REFERENCES `categorias` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_productos_embalaje1` FOREIGN KEY (`embalaje_id`) REFERENCES `embalaje` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_productos_estado1` FOREIGN KEY (`estado_id`) REFERENCES `estado` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `proveedores`
--
ALTER TABLE `proveedores`
ADD CONSTRAINT `fk_proveedores_estado1` FOREIGN KEY (`estado_id`) REFERENCES `estado` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `roles`
--
ALTER TABLE `roles`
ADD CONSTRAINT `fk_roles_estado1` FOREIGN KEY (`estado_id`) REFERENCES `estado` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
--
-- Filtros para la tabla `usuario`
--
ALTER TABLE `usuario`
ADD CONSTRAINT `fk_usuario_empleados1` FOREIGN KEY (`empleados_id`) REFERENCES `empleados` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_usuario_estado1` FOREIGN KEY (`estado_id`) REFERENCES `estado` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
ADD CONSTRAINT `fk_usuario_roles1` FOREIGN KEY (`roles_id`) REFERENCES `roles` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
select LAST_VALUE(a1) OVER (PARTITION BY b1 ORDER BY c1 ROWS BETWEEN CURRENT ROW AND 1 FOLLOWING) as t from t1;
|
SET FOREIGN_KEY_CHECKS = 0;
SET GROUP_CONCAT_MAX_LEN=32768;
SET @views = NULL;
SELECT GROUP_CONCAT('`', TABLE_NAME, '`') INTO @views
FROM information_schema.views
WHERE table_schema = (SELECT DATABASE());
SELECT IFNULL(@views,'dummy') INTO @views;
SET @views = CONCAT('DROP VIEW IF EXISTS ', @views);
PREPARE stmt FROM @views;
EXECUTE stmt;
DEALLOCATE PREPARE stmt;
SET FOREIGN_KEY_CHECKS = 1; |
<reponame>Ed-Fi-Alliance-OSS/Ed-Fi-MigrationUtility<filename>EdFi.Ods.Utilities.Migration/Scripts/MsSql/02Upgrade/v25_to_v31/09 Update Existing Tables/10890 InterventionPrescriptionPopulationServed.sql
-- SPDX-License-Identifier: Apache-2.0
-- Licensed to the Ed-Fi Alliance under one or more agreements.
-- The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
-- See the LICENSE and NOTICES files in the project root for more information.
PRINT N'Converting type to descriptor on [edfi].[InterventionPrescriptionPopulationServed]'
GO
EXEC [migration_tempdata].[sp_ConvertTypeToDescriptor]
'edfi', 'InterventionPrescriptionPopulationServed',
'edfi', 'PopulationServedDescriptor',
'edfi', 'PopulationServedType'
GO
ALTER TABLE [edfi].[InterventionPrescriptionPopulationServed]
ALTER COLUMN [PopulationServedDescriptorId] [int] NOT NULL
GO
ALTER TABLE [edfi].[InterventionPrescriptionPopulationServed]
DROP COLUMN [PopulationServedTypeId]
GO
|
<reponame>shukia/WebAPI-unsafe
SELECT
row_number()
OVER (
ORDER BY ar1.stratum_1) AS conceptId,
ar1.stratum_1 AS conceptName,
ar1.count_value AS countValue
FROM @results_database_schema.ACHILLES_results ar1
WHERE ar1.analysis_id = 113 |
ALTER PROCEDURE [dbo].[spGetSessionActivity]
-- Add the parameters for the stored procedure here
@FROM datetime,
@TO datetime,
@GROUPS nvarchar(255)
AS
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statements.
SET NOCOUNT ON;
DECLARE @Sessions table (nDirKey int, cDirName nvarchar(255), cSessionID nvarchar(255),
dSessionStart datetime, nNoPages int, nSessionSeconds int)
INSERT INTO @Sessions (cSessionID, nDirKey, cDirName, dSessionStart, nNoPages, nSessionSeconds)
SELECT DISTINCT
tblActivityLog_1.cSessionId AS cSessID,
tblActivityLog_1.nUserDirId AS nDirKey,
tblDirectory.cDirName AS cDirName,
(SELECT MIN(dDateTime) AS dSessionStart
FROM tblActivityLog AS tblActivityLog_2
WHERE (cSessionId = tblActivityLog_1.cSessionId)
AND (nActivityType = 2)) AS dSessionStart,
(SELECT COUNT(nActivityKey) AS nNoPages
FROM tblActivityLog
WHERE (cSessionId = tblActivityLog_1.cSessionId)
AND (nActivityType = 2)) AS cPageViewCount,
(SELECT DATEDIFF(second, MIN(dDateTime), MAX(dDateTime)) AS nSessionSeconds
FROM tblActivityLog AS tblActivityLog_3
WHERE (cSessionId = tblActivityLog_1.cSessionId)
AND (nActivityType = 2)) AS nSessionLength
FROM tblDirectoryRelation
INNER JOIN tblDirectory ON tblDirectoryRelation.nDirChildId = tblDirectory.nDirKey
RIGHT OUTER JOIN tblActivityLog AS tblActivityLog_1 ON tblDirectory.nDirKey = tblActivityLog_1.nUserDirId
WHERE
(tblActivityLog_1.nUserDirId > 0)
AND
(tblActivityLog_1.dDateTime <= CONVERT(DATETIME, @TO, 102))
AND (tblActivityLog_1.dDateTime >= CONVERT(DATETIME, @FROM, 102))
AND (tblDirectoryRelation.nDirParentId IN (@GROUPS))
GROUP BY tblActivityLog_1.cSessionId, tblActivityLog_1.nUserDirId, tblDirectory.cDirName
SELECT *
from @Sessions
ORDER BY dSessionStart DESC
END |
CREATE TABLE IF NOT EXISTS user_address
(
id INTEGER PRIMARY KEY AUTOINCREMENT,
address TEXT NOT NULL,
compressed_pub_key TEXT
) |
--
-- TOC entry 4452 (class 1259 OID 73322)
-- Name: dueageid; Type: INDEX; Schema: kdah; Owner: postgres; Tablespace:
--
CREATE INDEX dueageid ON inicudueage USING btree (dueageid);
--
-- TOC entry 4733 (class 1259 OID 73323)
-- Name: id_index8; Type: INDEX; Schema: kdah; Owner: postgres; Tablespace:
--
CREATE INDEX id_index8 ON vaccine_info USING btree (vaccineinfoid);
--
-- TOC entry 4734 (class 1259 OID 73324)
-- Name: id_index9; Type: INDEX; Schema: kdah; Owner: postgres; Tablespace:
--
CREATE INDEX id_index9 ON vaccine_info USING btree (dueageid);
--
-- TOC entry 4737 (class 1259 OID 73325)
-- Name: vaccineinfoid; Type: INDEX; Schema: kdah; Owner: postgres; Tablespace:
--
CREATE INDEX vaccineinfoid ON vaccine_info USING btree (vaccineinfoid);
--
-- TOC entry 5251 (class 2618 OID 73326)
-- Name: _RETURN; Type: RULE; Schema: kdah; Owner: postgres
--
CREATE RULE "_RETURN" AS
ON SELECT TO vw_respiratory_usage_raw DO INSTEAD SELECT respsupport.respsupportid,
respsupport.creationtime,
respsupport.uhid,
respsupport.eventid,
respsupport.eventname,
respsupport.rs_vent_type,
respsupport.isactive,
lead(respsupport.creationtime, 1) OVER (PARTITION BY respsupport.uhid) AS endtime
FROM respsupport
GROUP BY respsupport.uhid, respsupport.creationtime, respsupport.respsupportid,respsupport.eventid,respsupport.eventname,respsupport.rs_vent_type,respsupport.isactive
ORDER BY respsupport.uhid, respsupport.creationtime, respsupport.respsupportid;
--
-- TOC entry 4888 (class 2620 OID 73327)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON inicuuser FOR EACH ROW EXECUTE PROCEDURE user_creationtime();
--
-- TOC entry 5033 (class 2620 OID 73328)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON users_usergroups FOR EACH ROW EXECUTE PROCEDURE usergroups_creationtime();
--
-- TOC entry 5031 (class 2620 OID 73329)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON users_roles FOR EACH ROW EXECUTE PROCEDURE userrole_creationtime();
--
-- TOC entry 4962 (class 2620 OID 73330)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON role_manager FOR EACH ROW EXECUTE PROCEDURE managerole_creationtime();
--
-- TOC entry 4825 (class 2620 OID 73331)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON parent_detail FOR EACH ROW EXECUTE PROCEDURE parentdetail_creationtime();
--
-- TOC entry 4754 (class 2620 OID 73332)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON baby_detail FOR EACH ROW EXECUTE PROCEDURE babydetail_creationtime();
--
-- TOC entry 4833 (class 2620 OID 73333)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON notifications FOR EACH ROW EXECUTE PROCEDURE notifications_creationtime();
--
-- TOC entry 4813 (class 2620 OID 73334)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON bed_device_detail FOR EACH ROW EXECUTE PROCEDURE beddevicedetail_creationtime();
--
-- TOC entry 4835 (class 2620 OID 73335)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON uhidnotification FOR EACH ROW EXECUTE PROCEDURE uhidnotification_creationtime();
--
-- TOC entry 4892 (class 2620 OID 73336)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON logindetails FOR EACH ROW EXECUTE PROCEDURE logindetails_logintime();
--
-- TOC entry 4790 (class 2620 OID 73337)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_jaundice FOR EACH ROW EXECUTE PROCEDURE sajaundice_creationtime();
--
-- TOC entry 4980 (class 2620 OID 73338)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_metabolic FOR EACH ROW EXECUTE PROCEDURE sametabolic_creationtime();
--
-- TOC entry 4903 (class 2620 OID 73339)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON mother_current_pregnancy FOR EACH ROW EXECUTE PROCEDURE currentpregnancy_creationtime();
--
-- TOC entry 4992 (class 2620 OID 73340)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_respsystem FOR EACH ROW EXECUTE PROCEDURE respsystem_creationtime();
--
-- TOC entry 4881 (class 2620 OID 73341)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON exceptionlist FOR EACH ROW EXECUTE PROCEDURE exceptionlist_creationtime();
--
-- TOC entry 4966 (class 2620 OID 73342)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_cns FOR EACH ROW EXECUTE PROCEDURE sacns_creationtime();
--
-- TOC entry 4994 (class 2620 OID 73343)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_sepsis FOR EACH ROW EXECUTE PROCEDURE sepsis_creationtime();
--
-- TOC entry 4964 (class 2620 OID 73344)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_cardiac FOR EACH ROW EXECUTE PROCEDURE cardiac_creationtime();
--
-- TOC entry 4984 (class 2620 OID 73345)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_renalfailure FOR EACH ROW EXECUTE PROCEDURE renal_creationtime();
--
-- TOC entry 4970 (class 2620 OID 73346)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_followup FOR EACH ROW EXECUTE PROCEDURE followup_creationtime();
--
-- TOC entry 4982 (class 2620 OID 73347)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_misc FOR EACH ROW EXECUTE PROCEDURE misc_creationtime();
--
-- TOC entry 4968 (class 2620 OID 73348)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_feedgrowth FOR EACH ROW EXECUTE PROCEDURE feedgrowth_creationtime();
--
-- TOC entry 4877 (class 2620 OID 73349)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON doctor_note_templates FOR EACH ROW EXECUTE PROCEDURE doctemplate_creationtime();
--
-- TOC entry 4887 (class 2620 OID 73350)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON iniculogs FOR EACH ROW EXECUTE PROCEDURE iniculogs_creationtime();
--
-- TOC entry 4805 (class 2620 OID 73351)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON doctor_notes FOR EACH ROW EXECUTE PROCEDURE doctornotes_creationtime();
--
-- TOC entry 4951 (class 2620 OID 73352)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON pupil_reactivity FOR EACH ROW EXECUTE PROCEDURE pupilreactivity_creationtime();
--
-- TOC entry 4922 (class 2620 OID 73353)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON nursing_notes FOR EACH ROW EXECUTE PROCEDURE nursingnotes_creationtime();
--
-- TOC entry 4819 (class 2620 OID 73354)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON blood_products FOR EACH ROW EXECUTE PROCEDURE bloodproducts_creationtime();
--
-- TOC entry 4807 (class 2620 OID 73355)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON baby_prescription FOR EACH ROW EXECUTE PROCEDURE baby_prescription_creationtime();
--
-- TOC entry 4899 (class 2620 OID 73356)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON med_administration FOR EACH ROW EXECUTE PROCEDURE med_administration_creationtime();
--
-- TOC entry 4831 (class 2620 OID 73357)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON ref_room FOR EACH ROW EXECUTE PROCEDURE refroom_creationtime();
--
-- TOC entry 4828 (class 2620 OID 73358)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON ref_bed FOR EACH ROW EXECUTE PROCEDURE refbed_creationtime();
--
-- TOC entry 4901 (class 2620 OID 73359)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON medicine FOR EACH ROW EXECUTE PROCEDURE medicine_creationtime();
--
-- TOC entry 4920 (class 2620 OID 73360)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON nursing_neurovitals FOR EACH ROW EXECUTE PROCEDURE nursing_neurovitals_creationtime();
--
-- TOC entry 4915 (class 2620 OID 73361)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON nursing_intake FOR EACH ROW EXECUTE PROCEDURE nursing_intake_creationtime();
--
-- TOC entry 4823 (class 2620 OID 73362)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON device_monitor_detail FOR EACH ROW EXECUTE PROCEDURE patientdevicedetail_creationtime();
--
-- TOC entry 4908 (class 2620 OID 73363)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON nursing_bolus FOR EACH ROW EXECUTE PROCEDURE nursing_bolus_creationtime();
--
-- TOC entry 4912 (class 2620 OID 73364)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON nursing_dailyassesment FOR EACH ROW EXECUTE PROCEDURE nursing_dailyassesment_creationtime();
--
-- TOC entry 4924 (class 2620 OID 73365)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON nursing_output FOR EACH ROW EXECUTE PROCEDURE nursing_output_creationtime();
--
-- TOC entry 4926 (class 2620 OID 73366)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON nursing_outputdrain FOR EACH ROW EXECUTE PROCEDURE nursing_drain_creationtime();
--
-- TOC entry 4815 (class 2620 OID 73367)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON device_detail FOR EACH ROW EXECUTE PROCEDURE devicedetail_creationtime();
--
-- TOC entry 4906 (class 2620 OID 73368)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON nursing_bloodproducts FOR EACH ROW EXECUTE PROCEDURE nursing_bloodproducts_creationtime();
--
-- TOC entry 4910 (class 2620 OID 73369)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON nursing_catheters FOR EACH ROW EXECUTE PROCEDURE nursing_catheters_creationtime();
--
-- TOC entry 4918 (class 2620 OID 73370)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON nursing_misc FOR EACH ROW EXECUTE PROCEDURE nursing_misc_creationtime();
--
-- TOC entry 4875 (class 2620 OID 73371)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON dischargepatient_detail FOR EACH ROW EXECUTE PROCEDURE dischargepatient_detail_creationtime();
--
-- TOC entry 4849 (class 2620 OID 73372)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON discharge_doctornotes FOR EACH ROW EXECUTE PROCEDURE discharge_doctornotes_creationtime();
--
-- TOC entry 4811 (class 2620 OID 73373)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON babytpnfeed_detail FOR EACH ROW EXECUTE PROCEDURE babytpnfeed_creationtime();
--
-- TOC entry 4809 (class 2620 OID 73374)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON babyfeedivmed_detail FOR EACH ROW EXECUTE PROCEDURE babyfeedivmed_creationtime();
--
-- TOC entry 4885 (class 2620 OID 73375)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON hl7_device_mapping FOR EACH ROW EXECUTE PROCEDURE devicemapping_creationtime();
--
-- TOC entry 4841 (class 2620 OID 73376)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON discharge_aminophylline FOR EACH ROW EXECUTE PROCEDURE dischargeaminophylline_creationtime();
--
-- TOC entry 4843 (class 2620 OID 73377)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON discharge_birthdetail FOR EACH ROW EXECUTE PROCEDURE dischargebirthdetail_creationtime();
--
-- TOC entry 4845 (class 2620 OID 73378)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON discharge_caffeine FOR EACH ROW EXECUTE PROCEDURE dischargecaffeine_creationtime();
--
-- TOC entry 4847 (class 2620 OID 73379)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON discharge_cpap FOR EACH ROW EXECUTE PROCEDURE dischargecpap_creationtime();
--
-- TOC entry 4851 (class 2620 OID 73380)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON discharge_feeding FOR EACH ROW EXECUTE PROCEDURE dischargefeeding_creationtime();
--
-- TOC entry 4853 (class 2620 OID 73381)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON discharge_infection FOR EACH ROW EXECUTE PROCEDURE dischargeinfection_creationtime();
--
-- TOC entry 4855 (class 2620 OID 73382)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON discharge_investigation FOR EACH ROW EXECUTE PROCEDURE dischargeinvestigation_creationtime();
--
-- TOC entry 4857 (class 2620 OID 73383)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON discharge_metabolic FOR EACH ROW EXECUTE PROCEDURE dischargemetabolic_creationtime();
--
-- TOC entry 4859 (class 2620 OID 73384)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON discharge_nicucourse FOR EACH ROW EXECUTE PROCEDURE dischargenicucourse_creationtime();
--
-- TOC entry 4865 (class 2620 OID 73385)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON discharge_phototherapy FOR EACH ROW EXECUTE PROCEDURE dischargephototherapy_creationtime();
--
-- TOC entry 4867 (class 2620 OID 73386)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON discharge_summary FOR EACH ROW EXECUTE PROCEDURE dischargesummary_creationtime();
--
-- TOC entry 4869 (class 2620 OID 73387)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON discharge_treatment FOR EACH ROW EXECUTE PROCEDURE dischargetreatment_creationtime();
--
-- TOC entry 4871 (class 2620 OID 73388)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON discharge_ventcourse FOR EACH ROW EXECUTE PROCEDURE dischargeventcourse_creationtime();
--
-- TOC entry 4873 (class 2620 OID 73389)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON discharge_ventilation FOR EACH ROW EXECUTE PROCEDURE dischargeventilation_creationtime();
--
-- TOC entry 4945 (class 2620 OID 73390)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON preference FOR EACH ROW EXECUTE PROCEDURE pref_creationtime();
--
-- TOC entry 5024 (class 2620 OID 73391)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON setting_reference FOR EACH ROW EXECUTE PROCEDURE setting_creationtime();
--
-- TOC entry 4757 (class 2620 OID 73392)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON headtotoe_examination FOR EACH ROW EXECUTE PROCEDURE headtotoe_examination_creationtime();
--
-- TOC entry 4897 (class 2620 OID 73393)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON maternal_pasthistory FOR EACH ROW EXECUTE PROCEDURE maternalpasthistory_creationtime();
--
-- TOC entry 4800 (class 2620 OID 73394)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON baby_addinfo FOR EACH ROW EXECUTE PROCEDURE addinfo_creationtime();
--
-- TOC entry 4998 (class 2620 OID 73395)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON score_ballard FOR EACH ROW EXECUTE PROCEDURE ballardscore_creationtime();
--
-- TOC entry 4996 (class 2620 OID 73396)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON score_apgar FOR EACH ROW EXECUTE PROCEDURE apgarscore_creationtime();
--
-- TOC entry 5020 (class 2620 OID 73397)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON score_silverman FOR EACH ROW EXECUTE PROCEDURE silvermanscore_creationtime();
--
-- TOC entry 5004 (class 2620 OID 73398)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON score_downes FOR EACH ROW EXECUTE PROCEDURE downesscore_creationtime();
--
-- TOC entry 5018 (class 2620 OID 73399)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON score_sepsis FOR EACH ROW EXECUTE PROCEDURE sepsisscore_creationtime();
--
-- TOC entry 5006 (class 2620 OID 73400)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON score_hie FOR EACH ROW EXECUTE PROCEDURE hiescore_creationtime();
--
-- TOC entry 5008 (class 2620 OID 73401)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON score_ivh FOR EACH ROW EXECUTE PROCEDURE ivhscore_creationtime();
--
-- TOC entry 5002 (class 2620 OID 73402)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON score_bind FOR EACH ROW EXECUTE PROCEDURE bindscore_creationtime();
--
-- TOC entry 5012 (class 2620 OID 73403)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON score_pain FOR EACH ROW EXECUTE PROCEDURE painscore_creationtime();
--
-- TOC entry 5000 (class 2620 OID 73404)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON score_bellstage FOR EACH ROW EXECUTE PROCEDURE bellstagescore_creationtime();
--
-- TOC entry 4890 (class 2620 OID 73405)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON investigation_ordered FOR EACH ROW EXECUTE PROCEDURE investigationorder_creationtime();
--
-- TOC entry 4957 (class 2620 OID 73406)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON ref_inicu_bbox FOR EACH ROW EXECUTE PROCEDURE inicu_bbox_creationtime();
--
-- TOC entry 4959 (class 2620 OID 73407)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON ref_inicu_bbox_boards FOR EACH ROW EXECUTE PROCEDURE ref_inicu_bbox_boards_creationtime();
--
-- TOC entry 5030 (class 2620 OID 73408)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON test_result_inicu FOR EACH ROW EXECUTE PROCEDURE test_result_inicu_creationtime();
--
-- TOC entry 4953 (class 2620 OID 73409)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON readmit_history FOR EACH ROW EXECUTE PROCEDURE readmithistory_creationtime();
--
-- TOC entry 4761 (class 2620 OID 73410)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON test_result FOR EACH ROW EXECUTE PROCEDURE test_result_creationtime();
--
-- TOC entry 4935 (class 2620 OID 73411)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON nursingorder_rds FOR EACH ROW EXECUTE PROCEDURE nursingorderrds_creationtime();
--
-- TOC entry 4937 (class 2620 OID 73412)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON nursingorder_rds_medicine FOR EACH ROW EXECUTE PROCEDURE nursingorderrds_medicine_creationtime();
--
-- TOC entry 4930 (class 2620 OID 73413)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON nursingorder_apnea FOR EACH ROW EXECUTE PROCEDURE nursingorderapnea_creationtime();
--
-- TOC entry 4792 (class 2620 OID 73414)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_resp_apnea FOR EACH ROW EXECUTE PROCEDURE sa_resp_apnea_creationtime();
--
-- TOC entry 4986 (class 2620 OID 73415)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_resp_bpd FOR EACH ROW EXECUTE PROCEDURE respbpd_creationtime();
--
-- TOC entry 4798 (class 2620 OID 73416)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_resp_rds FOR EACH ROW EXECUTE PROCEDURE resprds_creationtime();
--
-- TOC entry 4990 (class 2620 OID 73417)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_resp_others FOR EACH ROW EXECUTE PROCEDURE respothers_creationtime();
--
-- TOC entry 4796 (class 2620 OID 73418)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_resp_pphn FOR EACH ROW EXECUTE PROCEDURE resppphn_creationtime();
--
-- TOC entry 4794 (class 2620 OID 73419)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_resp_pneumothorax FOR EACH ROW EXECUTE PROCEDURE resppneumothorax_creationtime();
--
-- TOC entry 4988 (class 2620 OID 73420)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_resp_chesttube FOR EACH ROW EXECUTE PROCEDURE resppneumothorax_creationtime();
--
-- TOC entry 4784 (class 2620 OID 73421)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_hypoglycemia FOR EACH ROW EXECUTE PROCEDURE sametabolic_creationtime();
--
-- TOC entry 4776 (class 2620 OID 73422)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_hyperglycemia FOR EACH ROW EXECUTE PROCEDURE hyperglycemia_creationtime();
--
-- TOC entry 4786 (class 2620 OID 73423)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_hyponatremia FOR EACH ROW EXECUTE PROCEDURE hyponatremia_creationtime();
--
-- TOC entry 4780 (class 2620 OID 73424)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_hypernatremia FOR EACH ROW EXECUTE PROCEDURE hypernatremia_creationtime();
--
-- TOC entry 4932 (class 2620 OID 73425)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON nursingorder_assesment FOR EACH ROW EXECUTE PROCEDURE nursingorder_creationtime();
--
-- TOC entry 4774 (class 2620 OID 73426)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_hypercalcemia FOR EACH ROW EXECUTE PROCEDURE hypercalcemia_creationtime();
--
-- TOC entry 4782 (class 2620 OID 73427)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_hypocalcemia FOR EACH ROW EXECUTE PROCEDURE hypocalcemia_creationtime();
--
-- TOC entry 4778 (class 2620 OID 73428)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_hyperkalemia FOR EACH ROW EXECUTE PROCEDURE hyperkalemia_creationtime();
--
-- TOC entry 4972 (class 2620 OID 73429)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_hypokalemia FOR EACH ROW EXECUTE PROCEDURE hypokalemia_creationtime();
--
-- TOC entry 4788 (class 2620 OID 73430)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_iem FOR EACH ROW EXECUTE PROCEDURE iem_creationtime();
--
-- TOC entry 4766 (class 2620 OID 73431)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_acidosis FOR EACH ROW EXECUTE PROCEDURE acidosis_creationtime();
--
-- TOC entry 4768 (class 2620 OID 73432)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_cns_asphyxia FOR EACH ROW EXECUTE PROCEDURE sacnsasphyxia_creationtime();
--
-- TOC entry 5022 (class 2620 OID 73433)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON score_thompson FOR EACH ROW EXECUTE PROCEDURE thompsonscore_creationtime();
--
-- TOC entry 4770 (class 2620 OID 73434)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_cns_ivh FOR EACH ROW EXECUTE PROCEDURE sacnsivh_creationtime();
--
-- TOC entry 5016 (class 2620 OID 73435)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON score_sarnat FOR EACH ROW EXECUTE PROCEDURE sarnatscore_creationtime();
--
-- TOC entry 5010 (class 2620 OID 73436)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON score_levene FOR EACH ROW EXECUTE PROCEDURE levenescore_creationtime();
--
-- TOC entry 5014 (class 2620 OID 73437)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON score_papile FOR EACH ROW EXECUTE PROCEDURE papilescore_creationtime();
--
-- TOC entry 4976 (class 2620 OID 73438)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_infection_sepsis FOR EACH ROW EXECUTE PROCEDURE sepsis_creationtime();
--
-- TOC entry 4759 (class 2620 OID 73439)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON device_ventilator_detail FOR EACH ROW EXECUTE PROCEDURE device_ventilator_detail_creationtime();
--
-- TOC entry 4772 (class 2620 OID 73440)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_cns_seizures FOR EACH ROW EXECUTE PROCEDURE sacnsseizures_creationtime();
--
-- TOC entry 4974 (class 2620 OID 73441)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_infection_clabsi FOR EACH ROW EXECUTE PROCEDURE clabsi_creationtime();
--
-- TOC entry 4978 (class 2620 OID 73442)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON sa_infection_vap FOR EACH ROW EXECUTE PROCEDURE vap_creationtime();
--
-- TOC entry 4762 (class 2620 OID 73443)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON antenatal_history_detail FOR EACH ROW EXECUTE PROCEDURE antenatal_history_creationtime();
--
-- TOC entry 4955 (class 2620 OID 73444)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON reason_admission FOR EACH ROW EXECUTE PROCEDURE reason_admission_creationtime();
--
-- TOC entry 4764 (class 2620 OID 73445)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON antenatal_steroid_detail FOR EACH ROW EXECUTE PROCEDURE antenatal_steroid_creationtime();
--
-- TOC entry 4883 (class 2620 OID 73446)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON gen_phy_exam FOR EACH ROW EXECUTE PROCEDURE gen_phy_exam_creationtime();
--
-- TOC entry 4837 (class 2620 OID 73447)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON device_bloodgas_detail_detail FOR EACH ROW EXECUTE PROCEDURE device_bloodgas_detail_creationtime();
--
-- TOC entry 4861 (class 2620 OID 73448)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON discharge_notes_detail FOR EACH ROW EXECUTE PROCEDURE discharge_notes_creationtime();
--
-- TOC entry 4817 (class 2620 OID 73449)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON birth_to_nicu FOR EACH ROW EXECUTE PROCEDURE birth_to_nicu_creationtime();
--
-- TOC entry 4752 (class 2620 OID 73450)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON admission_notes FOR EACH ROW EXECUTE PROCEDURE admission_notes_creationtime();
--
-- TOC entry 4839 (class 2620 OID 73451)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON discharge_advice_detail FOR EACH ROW EXECUTE PROCEDURE discharge_advice_creationtime();
--
-- TOC entry 4941 (class 2620 OID 73452)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON outborn_medicine FOR EACH ROW EXECUTE PROCEDURE outborn_medicine_creationtime();
--
-- TOC entry 4895 (class 2620 OID 73453)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON master_address FOR EACH ROW EXECUTE PROCEDURE master_address_creationtime();
--
-- TOC entry 4803 (class 2620 OID 73454)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON babyfeed_detail FOR EACH ROW EXECUTE PROCEDURE babyfeed_creationtime();
--
-- TOC entry 4939 (class 2620 OID 73455)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON oralfeed_detail FOR EACH ROW EXECUTE PROCEDURE oralfeed_detail_creationtime();
--
-- TOC entry 4943 (class 2620 OID 73456)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON peripheral_cannula FOR EACH ROW EXECUTE PROCEDURE peripheral_cannula_creationtime();
--
-- TOC entry 4821 (class 2620 OID 73457)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON central_line FOR EACH ROW EXECUTE PROCEDURE central_line_creationtime();
--
-- TOC entry 4893 (class 2620 OID 73458)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON lumbar_puncture FOR EACH ROW EXECUTE PROCEDURE lumbar_puncture_creationtime();
--
-- TOC entry 5035 (class 2620 OID 73459)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON vtap FOR EACH ROW EXECUTE PROCEDURE vtap_creationtime();
--
-- TOC entry 4879 (class 2620 OID 73460)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON et_intubation FOR EACH ROW EXECUTE PROCEDURE et_intubation_creationtime();
--
-- TOC entry 4863 (class 2620 OID 73461)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON discharge_outcome FOR EACH ROW EXECUTE PROCEDURE dischargeoutcome_creationtime();
--
-- TOC entry 5026 (class 2620 OID 73462)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON stable_notes FOR EACH ROW EXECUTE PROCEDURE stable_notes_creationtime();
--
-- TOC entry 4949 (class 2620 OID 73463)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON procedure_other FOR EACH ROW EXECUTE PROCEDURE procedure_other_creationtime();
--
-- TOC entry 5028 (class 2620 OID 73464)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON systemic_exam FOR EACH ROW EXECUTE PROCEDURE systemic_exam_creationtime();
--
-- TOC entry 4947 (class 2620 OID 73465)
-- Name: set_creationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_creationtime BEFORE INSERT ON procedure_chesttube FOR EACH ROW EXECUTE PROCEDURE procedure_chesttube_creationtime();
--
-- TOC entry 4755 (class 2620 OID 73466)
-- Name: set_episodeid; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_episodeid BEFORE INSERT ON baby_detail FOR EACH ROW EXECUTE PROCEDURE babydetails_episodeid();
--
-- TOC entry 4889 (class 2620 OID 73467)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON inicuuser FOR EACH ROW EXECUTE PROCEDURE user_modificationtime();
--
-- TOC entry 5034 (class 2620 OID 73468)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON users_usergroups FOR EACH ROW EXECUTE PROCEDURE usergroups_modificationtime();
--
-- TOC entry 5032 (class 2620 OID 73469)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON users_roles FOR EACH ROW EXECUTE PROCEDURE userrole_modificationtime();
--
-- TOC entry 4963 (class 2620 OID 73470)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON role_manager FOR EACH ROW EXECUTE PROCEDURE managerole_modificationtime();
--
-- TOC entry 4826 (class 2620 OID 73471)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON parent_detail FOR EACH ROW EXECUTE PROCEDURE parentdetail_modificationtime();
--
-- TOC entry 4756 (class 2620 OID 73472)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON baby_detail FOR EACH ROW EXECUTE PROCEDURE babydetail_modificationtime();
--
-- TOC entry 4834 (class 2620 OID 73473)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON notifications FOR EACH ROW EXECUTE PROCEDURE notifications_modificationtime();
--
-- TOC entry 4814 (class 2620 OID 73474)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON bed_device_detail FOR EACH ROW EXECUTE PROCEDURE beddevicedetail_modificationtime();
--
-- TOC entry 4836 (class 2620 OID 73475)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE INSERT ON uhidnotification FOR EACH ROW EXECUTE PROCEDURE uhidnotification_modificationtime();
--
-- TOC entry 4791 (class 2620 OID 73476)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_jaundice FOR EACH ROW EXECUTE PROCEDURE sajaundice_modificationtime();
--
-- TOC entry 4981 (class 2620 OID 73477)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_metabolic FOR EACH ROW EXECUTE PROCEDURE sametabolic_modificationtime();
--
-- TOC entry 4904 (class 2620 OID 73478)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON mother_current_pregnancy FOR EACH ROW EXECUTE PROCEDURE currentpregnancy_modificationtime();
--
-- TOC entry 4993 (class 2620 OID 73479)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_respsystem FOR EACH ROW EXECUTE PROCEDURE respsystem_modificationtime();
--
-- TOC entry 4882 (class 2620 OID 73480)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON exceptionlist FOR EACH ROW EXECUTE PROCEDURE exceptionlist_modificationtime();
--
-- TOC entry 4967 (class 2620 OID 73481)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_cns FOR EACH ROW EXECUTE PROCEDURE sacns_modificationtime();
--
-- TOC entry 4995 (class 2620 OID 73482)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_sepsis FOR EACH ROW EXECUTE PROCEDURE sepsis_modificationtime();
--
-- TOC entry 4965 (class 2620 OID 73483)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_cardiac FOR EACH ROW EXECUTE PROCEDURE cardiac_modificationtime();
--
-- TOC entry 4985 (class 2620 OID 73484)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_renalfailure FOR EACH ROW EXECUTE PROCEDURE renal_modificationtime();
--
-- TOC entry 4971 (class 2620 OID 73485)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_followup FOR EACH ROW EXECUTE PROCEDURE followup_modificationtime();
--
-- TOC entry 4983 (class 2620 OID 73486)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_misc FOR EACH ROW EXECUTE PROCEDURE misc_modificationtime();
--
-- TOC entry 4969 (class 2620 OID 73487)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_feedgrowth FOR EACH ROW EXECUTE PROCEDURE feedgrowth_modificationtime();
--
-- TOC entry 4878 (class 2620 OID 73488)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON doctor_note_templates FOR EACH ROW EXECUTE PROCEDURE doctemplate_modificationtime();
--
-- TOC entry 4806 (class 2620 OID 73489)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON doctor_notes FOR EACH ROW EXECUTE PROCEDURE doctornotes_modificationtime();
--
-- TOC entry 4804 (class 2620 OID 73490)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON babyfeed_detail FOR EACH ROW EXECUTE PROCEDURE babyfeed_modificationtime();
--
-- TOC entry 4952 (class 2620 OID 73491)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON pupil_reactivity FOR EACH ROW EXECUTE PROCEDURE pupilreactivity_modificationtime();
--
-- TOC entry 4923 (class 2620 OID 73492)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON nursing_notes FOR EACH ROW EXECUTE PROCEDURE nursingnotes_modificationtime();
--
-- TOC entry 4820 (class 2620 OID 73493)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON blood_products FOR EACH ROW EXECUTE PROCEDURE bloodproducts_modificationtime();
--
-- TOC entry 4808 (class 2620 OID 73494)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON baby_prescription FOR EACH ROW EXECUTE PROCEDURE baby_prescription_modificationtime();
--
-- TOC entry 4900 (class 2620 OID 73495)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON med_administration FOR EACH ROW EXECUTE PROCEDURE med_administration_modificationtime();
--
-- TOC entry 4832 (class 2620 OID 73496)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON ref_room FOR EACH ROW EXECUTE PROCEDURE refroom_modificationtime();
--
-- TOC entry 4829 (class 2620 OID 73497)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON ref_bed FOR EACH ROW EXECUTE PROCEDURE refbed_modificationtime();
--
-- TOC entry 4902 (class 2620 OID 73498)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON medicine FOR EACH ROW EXECUTE PROCEDURE medicine_modificationtime();
--
-- TOC entry 4921 (class 2620 OID 73499)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON nursing_neurovitals FOR EACH ROW EXECUTE PROCEDURE nursing_neurovitals_modificationtime();
--
-- TOC entry 4905 (class 2620 OID 73500)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON nursing_bloodgas FOR EACH ROW EXECUTE PROCEDURE nursing_bloodgas_modificationtime();
--
-- TOC entry 4928 (class 2620 OID 73501)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON nursing_ventilaor FOR EACH ROW EXECUTE PROCEDURE nursing_ventilaor_modificationtime();
--
-- TOC entry 4929 (class 2620 OID 73502)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON nursing_vitalparameters FOR EACH ROW EXECUTE PROCEDURE nursing_vitalparameters_modificationtime();
--
-- TOC entry 4916 (class 2620 OID 73503)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON nursing_intake FOR EACH ROW EXECUTE PROCEDURE nursing_intake_modificationtime();
--
-- TOC entry 4824 (class 2620 OID 73504)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON device_monitor_detail FOR EACH ROW EXECUTE PROCEDURE patientdevicedetail_modificationtime();
--
-- TOC entry 4802 (class 2620 OID 73505)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON baby_visit FOR EACH ROW EXECUTE PROCEDURE visit_modificationtime();
--
-- TOC entry 4909 (class 2620 OID 73506)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON nursing_bolus FOR EACH ROW EXECUTE PROCEDURE nursing_bolus_modificationtime();
--
-- TOC entry 4913 (class 2620 OID 73507)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON nursing_dailyassesment FOR EACH ROW EXECUTE PROCEDURE nursing_dailyassesment_modificationtime();
--
-- TOC entry 4925 (class 2620 OID 73508)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON nursing_output FOR EACH ROW EXECUTE PROCEDURE nursing_output_modificationtime();
--
-- TOC entry 4927 (class 2620 OID 73509)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON nursing_outputdrain FOR EACH ROW EXECUTE PROCEDURE nursing_drain_modificationtime();
--
-- TOC entry 4816 (class 2620 OID 73510)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON device_detail FOR EACH ROW EXECUTE PROCEDURE devicedetail_modificationtime();
--
-- TOC entry 4907 (class 2620 OID 73511)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON nursing_bloodproducts FOR EACH ROW EXECUTE PROCEDURE nursing_bloodproducts_modificationtime();
--
-- TOC entry 4911 (class 2620 OID 73512)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON nursing_catheters FOR EACH ROW EXECUTE PROCEDURE nursing_catheters_modificationtime();
--
-- TOC entry 4919 (class 2620 OID 73513)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON nursing_misc FOR EACH ROW EXECUTE PROCEDURE nursing_misc_modificationtime();
--
-- TOC entry 4876 (class 2620 OID 73514)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON dischargepatient_detail FOR EACH ROW EXECUTE PROCEDURE dischargepatient_detail_modificationtime();
--
-- TOC entry 4850 (class 2620 OID 73515)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON discharge_doctornotes FOR EACH ROW EXECUTE PROCEDURE discharge_doctornotes_modificationtime();
--
-- TOC entry 4812 (class 2620 OID 73516)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON babytpnfeed_detail FOR EACH ROW EXECUTE PROCEDURE babytpnfeed_modificationtime();
--
-- TOC entry 4810 (class 2620 OID 73517)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON babyfeedivmed_detail FOR EACH ROW EXECUTE PROCEDURE babyfeedivmed_modificationtime();
--
-- TOC entry 4886 (class 2620 OID 73518)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON hl7_device_mapping FOR EACH ROW EXECUTE PROCEDURE devicemapping_modificationtime();
--
-- TOC entry 4842 (class 2620 OID 73519)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON discharge_aminophylline FOR EACH ROW EXECUTE PROCEDURE dischargeaminophylline_modificationtime();
--
-- TOC entry 4844 (class 2620 OID 73520)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON discharge_birthdetail FOR EACH ROW EXECUTE PROCEDURE dischargebirthdetail_modificationtime();
--
-- TOC entry 4846 (class 2620 OID 73521)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON discharge_caffeine FOR EACH ROW EXECUTE PROCEDURE dischargecaffeine_modificationtime();
--
-- TOC entry 4848 (class 2620 OID 73522)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON discharge_cpap FOR EACH ROW EXECUTE PROCEDURE dischargecpap_modificationtime();
--
-- TOC entry 4852 (class 2620 OID 73523)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON discharge_feeding FOR EACH ROW EXECUTE PROCEDURE dischargefeeding_modificationtime();
--
-- TOC entry 4854 (class 2620 OID 73524)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON discharge_infection FOR EACH ROW EXECUTE PROCEDURE dischargeinfection_modificationtime();
--
-- TOC entry 4856 (class 2620 OID 73525)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON discharge_investigation FOR EACH ROW EXECUTE PROCEDURE dischargeinvestigation_modificationtime();
--
-- TOC entry 4858 (class 2620 OID 73526)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON discharge_metabolic FOR EACH ROW EXECUTE PROCEDURE dischargemetabolic_modificationtime();
--
-- TOC entry 4860 (class 2620 OID 73527)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON discharge_nicucourse FOR EACH ROW EXECUTE PROCEDURE dischargenicucourse_modificationtime();
--
-- TOC entry 4866 (class 2620 OID 73528)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON discharge_phototherapy FOR EACH ROW EXECUTE PROCEDURE dischargephototherapy_modificationtime();
--
-- TOC entry 4868 (class 2620 OID 73529)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON discharge_summary FOR EACH ROW EXECUTE PROCEDURE dischargesummary_modificationtime();
--
-- TOC entry 4870 (class 2620 OID 73530)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON discharge_treatment FOR EACH ROW EXECUTE PROCEDURE dischargetreatment_modificationtime();
--
-- TOC entry 4872 (class 2620 OID 73531)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON discharge_ventcourse FOR EACH ROW EXECUTE PROCEDURE dischargeventcourse_modificationtime();
--
-- TOC entry 4874 (class 2620 OID 73532)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON discharge_ventilation FOR EACH ROW EXECUTE PROCEDURE dischargeventilation_modificationtime();
--
-- TOC entry 4946 (class 2620 OID 73533)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON preference FOR EACH ROW EXECUTE PROCEDURE pref_modificationtime();
--
-- TOC entry 5025 (class 2620 OID 73534)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON setting_reference FOR EACH ROW EXECUTE PROCEDURE setting_modificationtime();
--
-- TOC entry 4758 (class 2620 OID 73535)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON headtotoe_examination FOR EACH ROW EXECUTE PROCEDURE headtotoe_examination_modificationtime();
--
-- TOC entry 4898 (class 2620 OID 73536)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON maternal_pasthistory FOR EACH ROW EXECUTE PROCEDURE maternalpasthistory_modificationtime();
--
-- TOC entry 4801 (class 2620 OID 73537)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON baby_addinfo FOR EACH ROW EXECUTE PROCEDURE addinfo_modificationtime();
--
-- TOC entry 4999 (class 2620 OID 73538)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON score_ballard FOR EACH ROW EXECUTE PROCEDURE ballardscore_modificationtime();
--
-- TOC entry 4997 (class 2620 OID 73539)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON score_apgar FOR EACH ROW EXECUTE PROCEDURE apgarscore_modificationtime();
--
-- TOC entry 5021 (class 2620 OID 73540)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON score_silverman FOR EACH ROW EXECUTE PROCEDURE silvermanscore_modificationtime();
--
-- TOC entry 5005 (class 2620 OID 73541)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON score_downes FOR EACH ROW EXECUTE PROCEDURE downesscore_modificationtime();
--
-- TOC entry 5019 (class 2620 OID 73542)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON score_sepsis FOR EACH ROW EXECUTE PROCEDURE sepsisscore_modificationtime();
--
-- TOC entry 5007 (class 2620 OID 73543)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON score_hie FOR EACH ROW EXECUTE PROCEDURE hiescore_modificationtime();
--
-- TOC entry 5009 (class 2620 OID 73544)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON score_ivh FOR EACH ROW EXECUTE PROCEDURE ivhscore_modificationtime();
--
-- TOC entry 5003 (class 2620 OID 73545)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON score_bind FOR EACH ROW EXECUTE PROCEDURE bindscore_modificationtime();
--
-- TOC entry 5013 (class 2620 OID 73546)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON score_pain FOR EACH ROW EXECUTE PROCEDURE painscore_modificationtime();
--
-- TOC entry 5001 (class 2620 OID 73547)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON score_bellstage FOR EACH ROW EXECUTE PROCEDURE bellstagescore_modificationtime();
--
-- TOC entry 4891 (class 2620 OID 73548)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON investigation_ordered FOR EACH ROW EXECUTE PROCEDURE investigationorder_modificationtime();
--
-- TOC entry 4934 (class 2620 OID 73549)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON nursingorder_jaundice FOR EACH ROW EXECUTE PROCEDURE nursingorderjaundice_modificationtime();
--
-- TOC entry 4958 (class 2620 OID 73550)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON ref_inicu_bbox FOR EACH ROW EXECUTE PROCEDURE inicu_bbox_modificationtime();
--
-- TOC entry 4960 (class 2620 OID 73551)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON ref_inicu_bbox_boards FOR EACH ROW EXECUTE PROCEDURE ref_inicu_bbox_boards_modificationtime();
--
-- TOC entry 4954 (class 2620 OID 73552)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON readmit_history FOR EACH ROW EXECUTE PROCEDURE readmithistory_modificationtime();
--
-- TOC entry 4936 (class 2620 OID 73553)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON nursingorder_rds FOR EACH ROW EXECUTE PROCEDURE nursingorderrds_modificationtime();
--
-- TOC entry 4938 (class 2620 OID 73554)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON nursingorder_rds_medicine FOR EACH ROW EXECUTE PROCEDURE nursingorderrds_medicine_modificationtime();
--
-- TOC entry 4931 (class 2620 OID 73555)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON nursingorder_apnea FOR EACH ROW EXECUTE PROCEDURE nursingorderapnea_modificationtime();
--
-- TOC entry 4914 (class 2620 OID 73556)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON nursing_episode FOR EACH ROW EXECUTE PROCEDURE nursing_episode_modificationtime();
--
-- TOC entry 4793 (class 2620 OID 73557)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_resp_apnea FOR EACH ROW EXECUTE PROCEDURE sa_resp_apnea_modificationtime();
--
-- TOC entry 4987 (class 2620 OID 73558)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_resp_bpd FOR EACH ROW EXECUTE PROCEDURE respbpd_modificationtime();
--
-- TOC entry 4799 (class 2620 OID 73559)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_resp_rds FOR EACH ROW EXECUTE PROCEDURE resprds_modificationtime();
--
-- TOC entry 4991 (class 2620 OID 73560)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_resp_others FOR EACH ROW EXECUTE PROCEDURE respothers_modificationtime();
--
-- TOC entry 4797 (class 2620 OID 73561)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_resp_pphn FOR EACH ROW EXECUTE PROCEDURE resppphn_modificationtime();
--
-- TOC entry 4795 (class 2620 OID 73562)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_resp_pneumothorax FOR EACH ROW EXECUTE PROCEDURE resppneumothorax_creationtime();
--
-- TOC entry 4989 (class 2620 OID 73563)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_resp_chesttube FOR EACH ROW EXECUTE PROCEDURE resppneumothorax_creationtime();
--
-- TOC entry 4785 (class 2620 OID 73564)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_hypoglycemia FOR EACH ROW EXECUTE PROCEDURE sametabolic_modificationtime();
--
-- TOC entry 4961 (class 2620 OID 73565)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON respsupport FOR EACH ROW EXECUTE PROCEDURE respsupport_modificationtime();
--
-- TOC entry 4777 (class 2620 OID 73566)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_hyperglycemia FOR EACH ROW EXECUTE PROCEDURE hyperglycemia_modificationtime();
--
-- TOC entry 4787 (class 2620 OID 73567)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_hyponatremia FOR EACH ROW EXECUTE PROCEDURE hyponatremia_modificationtime();
--
-- TOC entry 4781 (class 2620 OID 73568)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_hypernatremia FOR EACH ROW EXECUTE PROCEDURE hypernatremia_modificationtime();
--
-- TOC entry 4933 (class 2620 OID 73569)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON nursingorder_assesment FOR EACH ROW EXECUTE PROCEDURE nursingorder_modificationtime();
--
-- TOC entry 4775 (class 2620 OID 73570)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_hypercalcemia FOR EACH ROW EXECUTE PROCEDURE hypercalcemia_modificationtime();
--
-- TOC entry 4783 (class 2620 OID 73571)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_hypocalcemia FOR EACH ROW EXECUTE PROCEDURE hypocalcemia_modificationtime();
--
-- TOC entry 4779 (class 2620 OID 73572)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_hyperkalemia FOR EACH ROW EXECUTE PROCEDURE hyperkalemia_modificationtime();
--
-- TOC entry 4973 (class 2620 OID 73573)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_hypokalemia FOR EACH ROW EXECUTE PROCEDURE hypokalemia_modificationtime();
--
-- TOC entry 4789 (class 2620 OID 73574)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_iem FOR EACH ROW EXECUTE PROCEDURE iem_modificationtime();
--
-- TOC entry 4767 (class 2620 OID 73575)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_acidosis FOR EACH ROW EXECUTE PROCEDURE acidosis_modificationtime();
--
-- TOC entry 4769 (class 2620 OID 73576)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_cns_asphyxia FOR EACH ROW EXECUTE PROCEDURE sacnsasphyxia_modificationtime();
--
-- TOC entry 5023 (class 2620 OID 73577)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON score_thompson FOR EACH ROW EXECUTE PROCEDURE thompsonscore_modificationtime();
--
-- TOC entry 4771 (class 2620 OID 73578)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_cns_ivh FOR EACH ROW EXECUTE PROCEDURE sacnsivh_modificationtime();
--
-- TOC entry 5017 (class 2620 OID 73579)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON score_sarnat FOR EACH ROW EXECUTE PROCEDURE sarnatscore_modificationtime();
--
-- TOC entry 5011 (class 2620 OID 73580)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON score_levene FOR EACH ROW EXECUTE PROCEDURE levenescore_modificationtime();
--
-- TOC entry 5015 (class 2620 OID 73581)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON score_papile FOR EACH ROW EXECUTE PROCEDURE papilescore_modificationtime();
--
-- TOC entry 4977 (class 2620 OID 73582)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_infection_sepsis FOR EACH ROW EXECUTE PROCEDURE sepsis_modificationtime();
--
-- TOC entry 4760 (class 2620 OID 73583)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON device_ventilator_detail FOR EACH ROW EXECUTE PROCEDURE patient_ventilator_data_modificationtime();
--
-- TOC entry 4773 (class 2620 OID 73584)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_cns_seizures FOR EACH ROW EXECUTE PROCEDURE sacnsseizures_modificationtime();
--
-- TOC entry 4975 (class 2620 OID 73585)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_infection_clabsi FOR EACH ROW EXECUTE PROCEDURE clabsi_modificationtime();
--
-- TOC entry 4979 (class 2620 OID 73586)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON sa_infection_vap FOR EACH ROW EXECUTE PROCEDURE vap_modificationtime();
--
-- TOC entry 4763 (class 2620 OID 73587)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON antenatal_history_detail FOR EACH ROW EXECUTE PROCEDURE antenatal_history_modificationtime();
--
-- TOC entry 4956 (class 2620 OID 73588)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON reason_admission FOR EACH ROW EXECUTE PROCEDURE reason_admission_modificationtime();
--
-- TOC entry 4765 (class 2620 OID 73589)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON antenatal_steroid_detail FOR EACH ROW EXECUTE PROCEDURE antenatal_steroid_modificationtime();
--
-- TOC entry 4884 (class 2620 OID 73590)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON gen_phy_exam FOR EACH ROW EXECUTE PROCEDURE gen_phy_exam_modificationtime();
--
-- TOC entry 4838 (class 2620 OID 73591)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON device_bloodgas_detail_detail FOR EACH ROW EXECUTE PROCEDURE device_bloodgas_detail_modificationtime();
--
-- TOC entry 4862 (class 2620 OID 73592)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON discharge_notes_detail FOR EACH ROW EXECUTE PROCEDURE discharge_notes_modificationtime();
--
-- TOC entry 4818 (class 2620 OID 73593)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON birth_to_nicu FOR EACH ROW EXECUTE PROCEDURE birth_to_nicu_modificationtime();
--
-- TOC entry 4753 (class 2620 OID 73594)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON admission_notes FOR EACH ROW EXECUTE PROCEDURE admission_notes_modificationtime();
--
-- TOC entry 4840 (class 2620 OID 73595)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON discharge_advice_detail FOR EACH ROW EXECUTE PROCEDURE discharge_advice_modificationtime();
--
-- TOC entry 4942 (class 2620 OID 73596)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON outborn_medicine FOR EACH ROW EXECUTE PROCEDURE outborn_medicine_modificationtime();
--
-- TOC entry 4896 (class 2620 OID 73597)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON master_address FOR EACH ROW EXECUTE PROCEDURE master_address_modificationtime();
--
-- TOC entry 4940 (class 2620 OID 73598)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON oralfeed_detail FOR EACH ROW EXECUTE PROCEDURE oralfeed_detail_modificationtime();
--
-- TOC entry 4917 (class 2620 OID 73599)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE INSERT OR UPDATE ON nursing_intake_output FOR EACH ROW EXECUTE PROCEDURE nursing_intake_modificationtime();
--
-- TOC entry 4944 (class 2620 OID 73600)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON peripheral_cannula FOR EACH ROW EXECUTE PROCEDURE peripheral_cannula_modificationtime();
--
-- TOC entry 4822 (class 2620 OID 73601)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON central_line FOR EACH ROW EXECUTE PROCEDURE central_line_modificationtime();
--
-- TOC entry 4894 (class 2620 OID 73602)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON lumbar_puncture FOR EACH ROW EXECUTE PROCEDURE lumbar_puncture_modificationtime();
--
-- TOC entry 4864 (class 2620 OID 73603)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON discharge_outcome FOR EACH ROW EXECUTE PROCEDURE dischargeoutcome_modificationtime();
--
-- TOC entry 5036 (class 2620 OID 73604)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON vtap FOR EACH ROW EXECUTE PROCEDURE vtap_modificationtime();
--
-- TOC entry 5027 (class 2620 OID 73605)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON stable_notes FOR EACH ROW EXECUTE PROCEDURE stable_notes_modificationtime();
--
-- TOC entry 4880 (class 2620 OID 73606)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON et_intubation FOR EACH ROW EXECUTE PROCEDURE et_intubation_modificationtime();
--
-- TOC entry 4950 (class 2620 OID 73607)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON procedure_other FOR EACH ROW EXECUTE PROCEDURE procedure_other_modificationtime();
--
-- TOC entry 5029 (class 2620 OID 73608)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON systemic_exam FOR EACH ROW EXECUTE PROCEDURE systemic_exam_modificationtime();
--
-- TOC entry 4948 (class 2620 OID 73609)
-- Name: set_modificationtime; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_modificationtime BEFORE UPDATE ON procedure_chesttube FOR EACH ROW EXECUTE PROCEDURE procedure_chesttube_modificationtime();
--
-- TOC entry 4827 (class 2620 OID 73610)
-- Name: set_motherid; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_motherid BEFORE INSERT ON parent_detail FOR EACH ROW EXECUTE PROCEDURE parentdetail_motherid();
--
-- TOC entry 4830 (class 2620 OID 73611)
-- Name: set_removaltimestamp; Type: TRIGGER; Schema: kdah; Owner: postgres
--
CREATE TRIGGER set_removaltimestamp BEFORE UPDATE OF isactive ON ref_bed FOR EACH ROW EXECUTE PROCEDURE refbed_removaltimestamp();
|
<reponame>peter-ls/kylo
SET SQL_MODE='ALLOW_INVALID_DATES';
use kylo;
delimiter //
create procedure update_to_050()
begin
CREATE TABLE IF NOT EXISTS `AUDIT_LOG` (
`id` binary(16) NOT NULL,
`create_time` timestamp,
`user` varchar(100) DEFAULT NULL,
`description` varchar(255) DEFAULT NULL,
`log_type` varchar(45) DEFAULT NULL,
`entity_id` varchar(45),
PRIMARY KEY (`id`)
) ENGINE=InnoDB;
/**
If the VARCHAR version of the FEED_ID was added by mistake remove the column.
*/
IF EXISTS(SELECT table_name
FROM INFORMATION_SCHEMA.COLUMNS
WHERE table_schema = 'kylo'
AND table_name = 'BATCH_JOB_INSTANCE' and column_name = 'FEED_ID' and lower(DATA_TYPE) = 'varchar') THEN
ALTER TABLE BATCH_JOB_INSTANCE
DROP COLUMN FEED_ID;
END IF;
/**
Add the FEED_ID column
*/
IF NOT EXISTS(SELECT table_name
FROM INFORMATION_SCHEMA.COLUMNS
WHERE table_schema = 'kylo'
AND table_name = 'BATCH_JOB_INSTANCE' and column_name = 'FEED_ID') then
/** Adds the FEED column to the INSTANCE TABLE */
ALTER TABLE BATCH_JOB_INSTANCE
ADD COLUMN `FEED_ID` BINARY(16) NULL;
end if;
/**
CREATE the table to store the Check data feed refs
*/
CREATE TABLE IF NOT EXISTS FEED_CHECK_DATA_FEEDS (
`FEED_ID` BINARY(16) NOT NULL COMMENT '',
`CHECK_DATA_FEED_ID` BINARY(16) NOT NULL COMMENT '',
PRIMARY KEY (`FEED_ID`, `CHECK_DATA_FEED_ID`));
/**
Set the Feed ID to the respective JOB_INSTANCE table
*/
UPDATE BATCH_JOB_INSTANCE i
INNER JOIN FEED f on f.NAME = i.JOB_NAME
SET i.FEED_ID = f.ID;
END//
delimiter ;
-- Execute the procedure
call update_to_050();
-- Drop the procedure
drop procedure update_to_050; |
INSERT INTO `person` (`id`, `user_name`, `age`, `address`) VALUES ('1', 'wyf', '32', '合肥');
INSERT INTO `person` (`id`, `user_name`, `age`, `address`) VALUES ('2', 'xx', '31', '北京');
INSERT INTO `person` (`id`, `user_name`, `age`, `address`) VALUES ('3', 'yy', '30', '上海');
INSERT INTO `person` (`id`, `user_name`, `age`, `address`) VALUES ('4', 'zz', '29', '南京');
INSERT INTO `person` (`id`, `user_name`, `age`, `address`) VALUES ('5', 'aa', '28', '武汉');
INSERT INTO `person` (`id`, `user_name`, `age`, `address`) VALUES ('6', 'bb', '27', '合肥');
|
<reponame>luluai-cn/tensorbase
-- start query 67 in stream 0 using template query67.tpl
select *
from (select i_category
,i_class
,i_brand
,i_product_name
,d_year
,d_qoy
,d_moy
,s_store_id
,sumsales
,rank() over (partition by i_category order by sumsales desc) rk
from (select i_category
,i_class
,i_brand
,i_product_name
,d_year
,d_qoy
,d_moy
,s_store_id
,sum(coalesce(ss_sales_price*ss_quantity,0)) sumsales
from store_sales
,date_dim
,store
,item
where ss_sold_date_sk=d_date_sk
and ss_item_sk=i_item_sk
and ss_store_sk = s_store_sk
and d_month_seq between 1176 and 1176+11
group by rollup(i_category, i_class, i_brand, i_product_name, d_year, d_qoy, d_moy,s_store_id))dw1) dw2
where rk <= 100
order by i_category
,i_class
,i_brand
,i_product_name
,d_year
,d_qoy
,d_moy
,s_store_id
,sumsales
,rk
limit 100
-- end query 67 in stream 0 using template query67.tpl
|
-- Convert schema '/home/melmoth/amw/AmuseWikiFarm/dbicdh/_source/deploy/47/001-auto.yml' to '/home/melmoth/amw/AmuseWikiFarm/dbicdh/_source/deploy/48/001-auto.yml':;
;
BEGIN;
;
ALTER TABLE category ADD COLUMN active smallint NOT NULL DEFAULT 1;
;
COMMIT;
|
/*L
Copyright SAIC
Distributed under the OSI-approved BSD 3-Clause License.
See http://ncip.github.com/cabio/LICENSE.txt for details.
L*/
create unique index SYS_C0021150_idx on PID_ENTITY_NAME
(PID_PHYSICALENTITY_ID,NAME) tablespace CABIO_FUT;
alter table PID_ENTITY_NAME enable constraint SYS_C0021150 using index SYS_C0021150_idx;
create unique index SYS_C0016501_idx on PID_ENTITY_NAME
(ID) tablespace CABIO_FUT;
alter table PID_ENTITY_NAME enable constraint SYS_C0016501 using index SYS_C0016501_idx;
alter table PID_ENTITY_NAME enable constraint SYS_C0016471;
alter table PID_ENTITY_NAME enable constraint SYS_C0016472;
alter table PID_ENTITY_NAME enable constraint SYS_C0016473;
alter table PID_ENTITY_NAME enable constraint SYS_C0021150;
alter table PID_ENTITY_NAME enable constraint SYS_C0021150;
alter table PID_ENTITY_NAME enable constraint SYS_C0016501;
alter table PID_ENTITY_NAME enable primary key;
--EXIT;
|
-- Your SQL goes here
CREATE TABLE word_entry_notes (
id SERIAL PRIMARY KEY,
word_entry_id INTEGER NOT NULL,
note VARCHAR NOT NULL
);
CREATE TABLE word_entry_tags (
id SERIAL PRIMARY KEY,
word_entry_id INTEGER NOT NULL,
tag VARCHAR NOT NULL
);
|
CREATE TABLE IF NOT EXISTS "doc"."raw" (
"insert_ts" TIMESTAMP GENERATED ALWAYS AS current_timestamp(3),
"g_ts_week" TIMESTAMP GENERATED ALWAYS AS date_trunc('week', current_timestamp(3)),
"iothub_enqueuedtime" TIMESTAMP,
"iothub_connection_device_id" string,
"payload" OBJECT (IGNORED)
)
CLUSTERED INTO 1 SHARDS
PARTITIONED BY ("g_ts_week");
CREATE TABLE IF NOT EXISTS "doc"."opcdata" (
"g_ts_week" TIMESTAMP GENERATED ALWAYS AS date_trunc('week', "insert_ts"),
"insert_ts" TIMESTAMP,
"iothub_enqueuedtime" TIMESTAMP,
"iothub_connection_device_id" string,
"nodeid" string,
"displayname" string,
"source_ts" TIMESTAMP,
"applicationur" string,
"value" string
)
CLUSTERED INTO 1 SHARDS
PARTITIONED BY ("g_ts_week");
CREATE USER edgeingest WITH (password = '<PASSWORD>');
GRANT ALL ON SCHEMA doc to edgeingest;
|
/*
Object: dbo.CheckNextFile
Description: Checks the existance of the consecutive file.
------------------------------------------------------------------
Note: The consecutive file must exists in order to start the import.
All files have to be imported in the CORRECT date order otherwise
the database will get compromised.
------------------------------------------------------------------
Logic:
1. Compute next file (name).
2. Check whether the next file is needed:
- NOT NULL: next file is returned
- NULL: next import is not needed
*/
ALTER FUNCTION [dbo].[ComputeNextFile]()
RETURNS nvarchar(128)
AS BEGIN
DECLARE @NextDay AS datetime = DATEADD(DAY, 1, (SELECT RefDate FROM dbo.LastFile));
-- check if next day is greater than today
IF @NextDay >= CAST(CAST(GETDATE() AS DATE) AS datetime)
BEGIN
RETURN NULL; -- import not needed
END;
DECLARE @NextFile AS nvarchar(128) = REPLACE(CONVERT(char(10), @NextDay, 126), '-', '') + '.IPI';
RETURN @NextFile;
END;
GO
|
<reponame>Wowol/Education
--ZAD9
SELECT (CASE WHEN COUNT(DISTINCT adres_dostawy)=COUNT(adres_dostawy) THEN 'TAK' ELSE 'NIE' end) FROM zamowienia
---- |
<gh_stars>0
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2017-09-30',@EPS = N'1.26',@EPSDeduct = N'0',@Revenue = N'17.72亿',@RevenueYoy = N'66.49',@RevenueQoq = N'1.20',@Profit = N'8.24亿',@ProfitYoy = N'83.52',@ProfiltQoq = N'-3.64',@NAVPerUnit = N'2.2158',@ROE = N'50.79',@CashPerUnit = N'1.0355',@GrossProfitRate = N'71.54',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2017-10-19'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2017-09-30',@EPS = N'1.26',@EPSDeduct = N'0',@Revenue = N'17.72亿',@RevenueYoy = N'66.49',@RevenueQoq = N'1.20',@Profit = N'8.24亿',@ProfitYoy = N'83.52',@ProfiltQoq = N'-3.64',@NAVPerUnit = N'2.2158',@ROE = N'50.79',@CashPerUnit = N'1.0355',@GrossProfitRate = N'71.54',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2017-10-19'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2016-09-30',@EPS = N'0.69',@EPSDeduct = N'0',@Revenue = N'10.65亿',@RevenueYoy = N'-21.05',@RevenueQoq = N'10.29',@Profit = N'4.49亿',@ProfitYoy = N'99.48',@ProfiltQoq = N'32.70',@NAVPerUnit = N'1.5968',@ROE = N'52.56',@CashPerUnit = N'0.2217',@GrossProfitRate = N'67.60',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2017-10-19'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2016-06-30',@EPS = N'0.4037',@EPSDeduct = N'0.4117',@Revenue = N'6.49亿',@RevenueYoy = N'-33.30',@RevenueQoq = N'38.76',@Profit = N'2.64亿',@ProfitYoy = N'59.49',@ProfiltQoq = N'12.92',@NAVPerUnit = N'1.2932',@ROE = N'23.29',@CashPerUnit = N'0.0638',@GrossProfitRate = N'63.56',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2017-07-26'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2016-03-31',@EPS = N'0.19',@EPSDeduct = N'0',@Revenue = N'2.72亿',@RevenueYoy = N'-45.66',@RevenueQoq = N'89.94',@Profit = N'1.24亿',@ProfitYoy = N'91.34',@ProfiltQoq = N'290.15',@NAVPerUnit = N'1.0353',@ROE = N'18.44',@CashPerUnit = N'-0.0672',@GrossProfitRate = N'64.18',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2017-04-22'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2015-12-31',@EPS = N'0.2451',@EPSDeduct = N'-0.0727',@Revenue = N'14.91亿',@RevenueYoy = N'-38.84',@RevenueQoq = N'-61.55',@Profit = N'1.60亿',@ProfitYoy = N'-40.11',@ProfiltQoq = N'-248.07',@NAVPerUnit = N'1.0205',@ROE = N'22.62',@CashPerUnit = N'0.3009',@GrossProfitRate = N'36.11',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2017-02-28'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2015-09-30',@EPS = N'0.34',@EPSDeduct = N'0',@Revenue = N'13.48亿',@RevenueYoy = N'-21.11',@RevenueQoq = N'58.97',@Profit = N'2.25亿',@ProfitYoy = N'5.34',@ProfiltQoq = N'398.56',@NAVPerUnit = N'1.2881',@ROE = N'28.68',@CashPerUnit = N'-0.1102',@GrossProfitRate = N'30.71',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2016-10-18'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2015-06-30',@EPS = N'0.2531',@EPSDeduct = N'-0.1873',@Revenue = N'9.73亿',@RevenueYoy = N'-11.96',@RevenueQoq = N'-28.63',@Profit = N'1.65亿',@ProfitYoy = N'-3.33',@ProfiltQoq = N'1.47',@NAVPerUnit = N'0.0511',@ROE = N'-',@CashPerUnit = N'-0.4321',@GrossProfitRate = N'28.46',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2016-07-19'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2015-03-31',@EPS = N'0.1',@EPSDeduct = N'0',@Revenue = N'5.00亿',@RevenueYoy = N'25.05',@RevenueQoq = N'-34.25',@Profit = N'6470.47万',@ProfitYoy = N'12.76',@ProfiltQoq = N'-131.81',@NAVPerUnit = N'0.1441',@ROE = N'-',@CashPerUnit = N'-0.8166',@GrossProfitRate = N'19.63',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2016-04-23'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2014-12-31',@EPS = N'0.4092',@EPSDeduct = N'-0.1032',@Revenue = N'24.39亿',@RevenueYoy = N'-1.75',@RevenueQoq = N'23.25',@Profit = N'2.67亿',@ProfitYoy = N'-59.06',@ProfiltQoq = N'583.20',@NAVPerUnit = N'4.6027',@ROE = N'45.24',@CashPerUnit = N'2.2595',@GrossProfitRate = N'21.76',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2016-04-15'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2014-09-30',@EPS = N'0.33',@EPSDeduct = N'0',@Revenue = N'17.09亿',@RevenueYoy = N'-2.38',@RevenueQoq = N'7.60',@Profit = N'2.14亿',@ProfitYoy = N'-253.38',@ProfiltQoq = N'16.05',@NAVPerUnit = N'-0.0710',@ROE = N'-',@CashPerUnit = N'1.3214',@GrossProfitRate = N'24.45',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2015-10-28'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2014-06-30',@EPS = N'-0.18',@EPSDeduct = N'-0.18',@Revenue = N'6.38亿',@RevenueYoy = N'-5.80',@RevenueQoq = N'43.42',@Profit = N'-2872.21万',@ProfitYoy = N'-12.26',@ProfiltQoq = N'32.39',@NAVPerUnit = N'-0.0095',@ROE = N'-',@CashPerUnit = N'0.7891',@GrossProfitRate = N'-0.07',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2015-08-26'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2014-03-31',@EPS = N'-0.108',@EPSDeduct = N'0',@Revenue = N'2.62亿',@RevenueYoy = N'-9.57',@RevenueQoq = N'-47.64',@Profit = N'-1713.59万',@ProfitYoy = N'-22.12',@ProfiltQoq = N'-309.60',@NAVPerUnit = N'0.0636',@ROE = N'-',@CashPerUnit = N'0.0388',@GrossProfitRate = N'-1.92',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2015-04-30'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2013-12-31',@EPS = N'0.1319',@EPSDeduct = N'-0.4208',@Revenue = N'15.69亿',@RevenueYoy = N'17.31',@RevenueQoq = N'28.17',@Profit = N'2088.37万',@ProfitYoy = N'-71.45',@ProfiltQoq = N'-108.26',@NAVPerUnit = N'0.1719',@ROE = N'137.33',@CashPerUnit = N'0.0186',@GrossProfitRate = N'1.68',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2015-04-30'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2013-09-30',@EPS = N'0.16',@EPSDeduct = N'0',@Revenue = N'10.68亿',@RevenueYoy = N'46.70',@RevenueQoq = N'0.81',@Profit = N'2506.74万',@ProfitYoy = N'163.23',@ProfiltQoq = N'538.46',@NAVPerUnit = N'0.1785',@ROE = N'-',@CashPerUnit = N'-0.0652',@GrossProfitRate = N'1.27',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2014-10-30'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2013-06-30',@EPS = N'-0.16',@EPSDeduct = N'-0.17',@Revenue = N'6.78亿',@RevenueYoy = N'95.20',@RevenueQoq = N'33.68',@Profit = N'-2558.42万',@ProfitYoy = N'-8.21',@ProfiltQoq = N'17.67',@NAVPerUnit = N'-0.1414',@ROE = N'-',@CashPerUnit = N'0.1173',@GrossProfitRate = N'1.20',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2014-08-29'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2013-03-31',@EPS = N'-0.089',@EPSDeduct = N'-0.093',@Revenue = N'2.90亿',@RevenueYoy = N'98.40',@RevenueQoq = N'-52.41',@Profit = N'-1403.20万',@ProfitYoy = N'-24.81',@ProfiltQoq = N'-112.44',@NAVPerUnit = N'-0.0684',@ROE = N'-',@CashPerUnit = N'0.1507',@GrossProfitRate = N'-0.12',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2014-04-30'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2012-12-31',@EPS = N'0.4621',@EPSDeduct = N'-0.2511',@Revenue = N'13.38亿',@RevenueYoy = N'96.54',@RevenueQoq = N'59.88',@Profit = N'7315.97万',@ProfitYoy = N'253.65',@ProfiltQoq = N'804.96',@NAVPerUnit = N'0.0202',@ROE = N'-',@CashPerUnit = N'-0.1139',@GrossProfitRate = N'3.36',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2014-04-30'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2012-09-30',@EPS = N'-0.25',@EPSDeduct = N'-0.285',@Revenue = N'7.28亿',@RevenueYoy = N'44.77',@RevenueQoq = N'89.65',@Profit = N'-3964.37万',@ProfitYoy = N'-68.85',@ProfiltQoq = N'-29.05',@NAVPerUnit = N'-0.7135',@ROE = N'-',@CashPerUnit = N'-0.1513',@GrossProfitRate = N'1.59',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2013-10-18'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2012-06-30',@EPS = N'-0.15',@EPSDeduct = N'-0.16',@Revenue = N'3.47亿',@RevenueYoy = N'-4.33',@RevenueQoq = N'37.51',@Profit = N'-2364.23万',@ProfitYoy = N'2.02',@ProfiltQoq = N'-10.29',@NAVPerUnit = N'-0.6124',@ROE = N'-',@CashPerUnit = N'-0.1838',@GrossProfitRate = N'2.81',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2013-08-09'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2012-03-31',@EPS = N'-0.07',@EPSDeduct = N'-0.0712',@Revenue = N'1.46亿',@RevenueYoy = N'-12.53',@RevenueQoq = N'-17.66',@Profit = N'-1124.29万',@ProfitYoy = N'-413.86',@ProfiltQoq = N'53.42',@NAVPerUnit = N'-0.5082',@ROE = N'-',@CashPerUnit = N'-0.1148',@GrossProfitRate = N'3.35',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2013-04-26'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2011-12-31',@EPS = N'-0.3007',@EPSDeduct = N'-0.2457',@Revenue = N'6.81亿',@RevenueYoy = N'-34.44',@RevenueQoq = N'40.61',@Profit = N'-4761.58万',@ProfitYoy = N'-413.45',@ProfiltQoq = N'-371.95',@NAVPerUnit = N'-0.4631',@ROE = N'-',@CashPerUnit = N'0.0479',@GrossProfitRate = N'8.19',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2013-03-06'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2011-09-30',@EPS = N'-0.15',@EPSDeduct = N'-0.13',@Revenue = N'5.03亿',@RevenueYoy = N'-30.51',@RevenueQoq = N'-35.51',@Profit = N'-2347.81万',@ProfitYoy = N'7.10',@ProfiltQoq = N'132.03',@NAVPerUnit = N'-0.2871',@ROE = N'-',@CashPerUnit = N'0.1951',@GrossProfitRate = N'7.91',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2012-10-31'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2011-06-30',@EPS = N'-0.15',@EPSDeduct = N'-0.1524',@Revenue = N'3.63亿',@RevenueYoy = N'-26.02',@RevenueQoq = N'17.15',@Profit = N'-2412.88万',@ProfitYoy = N'-85.69',@ProfiltQoq = N'-873.58',@NAVPerUnit = N'-0.3100',@ROE = N'-',@CashPerUnit = N'-0.2322',@GrossProfitRate = N'5.86',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2012-08-31'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2011-03-31',@EPS = N'0.02',@EPSDeduct = N'0.0148',@Revenue = N'1.67亿',@RevenueYoy = N'-27.49',@RevenueQoq = N'-46.82',@Profit = N'358.22万',@ProfitYoy = N'150.52',@ProfiltQoq = N'-77.61',@NAVPerUnit = N'-0.1400',@ROE = N'-',@CashPerUnit = N'-0.0170',@GrossProfitRate = N'12.56',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2012-04-26'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2010-12-31',@EPS = N'-0.0586',@EPSDeduct = N'-0.2203',@Revenue = N'10.38亿',@RevenueYoy = N'109.81',@RevenueQoq = N'34.58',@Profit = N'-927.37万',@ProfitYoy = N'-118.36',@ProfiltQoq = N'230.30',@NAVPerUnit = N'-0.1624',@ROE = N'-',@CashPerUnit = N'0.2038',@GrossProfitRate = N'4.24',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2012-04-26'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2010-09-30',@EPS = N'-0.16',@EPSDeduct = N'-0.27',@Revenue = N'7.24亿',@RevenueYoy = N'136.86',@RevenueQoq = N'-10.22',@Profit = N'-2527.11万',@ProfitYoy = N'3.99',@ProfiltQoq = N'-107.96',@NAVPerUnit = N'-0.2600',@ROE = N'-',@CashPerUnit = N'0.2938',@GrossProfitRate = N'1.84',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2011-10-26'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2010-06-30',@EPS = N'-0.08',@EPSDeduct = N'-0.1737',@Revenue = N'4.90亿',@RevenueYoy = N'219.63',@RevenueQoq = N'12.85',@Profit = N'-1299.39万',@ProfitYoy = N'35.40',@ProfiltQoq = N'16.74',@NAVPerUnit = N'-0.1900',@ROE = N'-',@CashPerUnit = N'0.1598',@GrossProfitRate = N'2.58',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2011-08-30'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2010-03-31',@EPS = N'-0.04',@EPSDeduct = N'-0.0391',@Revenue = N'2.30亿',@RevenueYoy = N'327.25',@RevenueQoq = N'21.82',@Profit = N'-709.03万',@ProfitYoy = N'8.26',@ProfiltQoq = N'-109.23',@NAVPerUnit = N'-0.1500',@ROE = N'-',@CashPerUnit = N'-0.0461',@GrossProfitRate = N'5.81',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2011-04-27'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2009-12-31',@EPS = N'0.319',@EPSDeduct = N'-0.0909',@Revenue = N'4.95亿',@RevenueYoy = N'-0.34',@RevenueQoq = N'24.29',@Profit = N'5050.75万',@ProfitYoy = N'15.73',@ProfiltQoq = N'1337.85',@NAVPerUnit = N'-0.1000',@ROE = N'-',@CashPerUnit = N'0.1993',@GrossProfitRate = N'10.97',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2011-04-27'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2009-09-30',@EPS = N'-0.17',@EPSDeduct = N'-0.18',@Revenue = N'3.06亿',@RevenueYoy = N'-25.20',@RevenueQoq = N'52.94',@Profit = N'-2632.05万',@ProfitYoy = N'-185.01',@ProfiltQoq = N'49.89',@NAVPerUnit = N'-0.6900',@ROE = N'-',@CashPerUnit = N'-0.0304',@GrossProfitRate = N'4.81',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2010-10-29'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2009-06-30',@EPS = N'-0.13',@EPSDeduct = N'-0.14',@Revenue = N'1.53亿',@RevenueYoy = N'-42.92',@RevenueQoq = N'84.51',@Profit = N'-2011.39万',@ProfitYoy = N'-237.51',@ProfiltQoq = N'-60.26',@NAVPerUnit = N'-0.6500',@ROE = N'21.73',@CashPerUnit = N'0.0157',@GrossProfitRate = N'3.16',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2010-08-10'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2009-03-31',@EPS = N'-0.05',@EPSDeduct = N'-0.07',@Revenue = N'5392.96万',@RevenueYoy = N'-53.60',@RevenueQoq = N'-38.64',@Profit = N'-772.85万',@ProfitYoy = N'-267.34',@ProfiltQoq = N'-160.94',@NAVPerUnit = N'-0.5700',@ROE = N'-',@CashPerUnit = N'-0.0393',@GrossProfitRate = N'2.28',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2010-04-28'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2008-12-31',@EPS = N'0.2756',@EPSDeduct = N'0.0983',@Revenue = N'4.96亿',@RevenueYoy = N'-29.94',@RevenueQoq = N'-37.12',@Profit = N'4364.29万',@ProfitYoy = N'153.03',@ProfiltQoq = N'-22.35',@NAVPerUnit = N'-0.5200',@ROE = N'-',@CashPerUnit = N'0.4097',@GrossProfitRate = N'15.63',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2010-02-12'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2008-09-30',@EPS = N'0.2',@EPSDeduct = N'0.13',@Revenue = N'4.09亿',@RevenueYoy = N'-25.18',@RevenueQoq = N'-8.38',@Profit = N'3096.03万',@ProfitYoy = N'154.30',@ProfiltQoq = N'63.18',@NAVPerUnit = N'-0.6000',@ROE = N'-',@CashPerUnit = N'0.6022',@GrossProfitRate = N'17.44',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2009-10-26'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2008-06-30',@EPS = N'0.09',@EPSDeduct = N'0.09',@Revenue = N'2.69亿',@RevenueYoy = N'-21.28',@RevenueQoq = N'31.25',@Profit = N'1462.76万',@ProfitYoy = N'134.08',@ProfiltQoq = N'116.72',@NAVPerUnit = N'-0.7000',@ROE = N'-',@CashPerUnit = N'0.4206',@GrossProfitRate = N'17.22',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2009-07-24'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2008-03-31',@EPS = N'0.03',@EPSDeduct = N'0.03',@Revenue = N'1.16亿',@RevenueYoy = N'-40.95',@RevenueQoq = N'-28.48',@Profit = N'461.85万',@ProfitYoy = N'117.68',@ProfiltQoq = N'118.27',@NAVPerUnit = N'-0.7700',@ROE = N'-',@CashPerUnit = N'0.0737',@GrossProfitRate = N'17.10',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2009-04-29'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2007-12-31',@EPS = N'-0.52',@EPSDeduct = N'-0.64',@Revenue = N'7.09亿',@RevenueYoy = N'85.81',@RevenueQoq = N'-20.57',@Profit = N'-8230.26万',@ProfitYoy = N'-7748.48',@ProfiltQoq = N'-79.42',@NAVPerUnit = N'-0.8000',@ROE = N'-',@CashPerUnit = N'-0.6738',@GrossProfitRate = N'-3.10',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2009-03-12'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2007-09-30',@EPS = N'-0.36',@EPSDeduct = N'-0.38',@Revenue = N'5.46亿',@RevenueYoy = N'10635.76',@RevenueQoq = N'41.51',@Profit = N'-5701.64万',@ProfitYoy = N'-116.66',@ProfiltQoq = N'16.14',@NAVPerUnit = N'-0.5500',@ROE = N'-',@CashPerUnit = N'-0.4493',@GrossProfitRate = N'-2.44',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2008-10-30'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2007-06-30',@EPS = N'-0.27',@EPSDeduct = N'-0.27',@Revenue = N'3.41亿',@RevenueYoy = N'17752.34',@RevenueQoq = N'-26.54',@Profit = N'-4292.33万',@ProfitYoy = N'-155.37',@ProfiltQoq = N'35.66',@NAVPerUnit = N'-0.4600',@ROE = N'-',@CashPerUnit = N'-0.4399',@GrossProfitRate = N'-4.23',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2008-07-31'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2007-03-31',@EPS = N'-0.16',@EPSDeduct = N'0',@Revenue = N'1.97亿',@RevenueYoy = N'18140.32',@RevenueQoq = N'-47.68',@Profit = N'-2611.83万',@ProfitYoy = N'-259.36',@ProfiltQoq = N'-195.35',@NAVPerUnit = N'-0.3500',@ROE = N'-',@CashPerUnit = N'-0.1132',@GrossProfitRate = N'-5.35',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2008-04-26'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2006-12-31',@EPS = N'0.01',@EPSDeduct = N'-0.02',@Revenue = N'3.81亿',@RevenueYoy = N'1085.65',@RevenueQoq = N'11754.91',@Profit = N'107.61万',@ProfitYoy = N'101.99',@ProfiltQoq = N'388.11',@NAVPerUnit = N'-0.2800',@ROE = N'-',@CashPerUnit = N'0.6642',@GrossProfitRate = N'17.77',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2008-04-26'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2006-09-30',@EPS = N'-0.17',@EPSDeduct = N'0',@Revenue = N'508.67万',@RevenueYoy = N'-79.84',@RevenueQoq = N'280.82',@Profit = N'-2631.61万',@ProfitYoy = N'29.45',@ProfiltQoq = N'0.34',@NAVPerUnit = N'-0.4400',@ROE = N'-',@CashPerUnit = N'-0.0244',@GrossProfitRate = N'39.35',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2007-10-25'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2006-06-30',@EPS = N'-0.11',@EPSDeduct = N'0',@Revenue = N'191.27万',@RevenueYoy = N'-92.32',@RevenueQoq = N'-22.77',@Profit = N'-1680.84万',@ProfitYoy = N'34.45',@ProfiltQoq = N'-31.27',@NAVPerUnit = N'-0.3800',@ROE = N'-',@CashPerUnit = N'-0.0346',@GrossProfitRate = N'44.36',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2007-07-28'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2006-03-31',@EPS = N'-0.05',@EPSDeduct = N'0',@Revenue = N'107.92万',@RevenueYoy = N'-94.91',@RevenueQoq = N'-84.42',@Profit = N'-726.80万',@ProfitYoy = N'26.92',@ProfiltQoq = N'56.61',@NAVPerUnit = N'-0.3200',@ROE = N'-',@CashPerUnit = N'-0.0129',@GrossProfitRate = N'95.92',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2007-04-27'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2005-12-31',@EPS = N'-0.3414',@EPSDeduct = N'0',@Revenue = N'3216.52万',@RevenueYoy = N'-86.53',@RevenueQoq = N'1941.62',@Profit = N'-5405.37万',@ProfitYoy = N'-1483.68',@ProfiltQoq = N'-43.66',@NAVPerUnit = N'-0.2700',@ROE = N'3.06',@CashPerUnit = N'-0.0356',@GrossProfitRate = N'13.03',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2007-04-06'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2017-06-30',@EPS = N'0.8727',@EPSDeduct = N'0.8652',@Revenue = N'11.71亿',@RevenueYoy = N'80.45',@RevenueQoq = N'3.22',@Profit = N'5.70亿',@ProfitYoy = N'116.18',@ProfiltQoq = N'-13.69',@NAVPerUnit = N'2.4589',@ROE = N'39.26',@CashPerUnit = N'0.7506',@GrossProfitRate = N'69.25',@Distribution = N'10派6',@DividenRate = N'1.30',@AnnounceDate = N'2017-07-26'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2017-03-31',@EPS = N'0.47',@EPSDeduct = N'0',@Revenue = N'5.76亿',@RevenueYoy = N'112.00',@RevenueQoq = N'39.77',@Profit = N'3.06亿',@ProfitYoy = N'147.06',@ProfiltQoq = N'52.09',@NAVPerUnit = N'2.3090',@ROE = N'21.81',@CashPerUnit = N'0.4343',@GrossProfitRate = N'70.41',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2017-04-22'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2016-12-31',@EPS = N'0.9958',@EPSDeduct = N'0.9776',@Revenue = N'14.77亿',@RevenueYoy = N'-0.99',@RevenueQoq = N'-0.88',@Profit = N'6.50亿',@ProfitYoy = N'306.31',@ProfiltQoq = N'8.41',@NAVPerUnit = N'1.9873',@ROE = N'66.21',@CashPerUnit = N'0.8870',@GrossProfitRate = N'70.10',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2017-02-28'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2005-09-30',@EPS = N'0',@EPSDeduct = N'0',@Revenue = N'2523.80万',@RevenueYoy = N'-87.40',@RevenueQoq = N'-90.77',@Profit = N'-3730.19万',@ProfitYoy = N'-43.70',@ProfiltQoq = N'25.71',@NAVPerUnit = N'-0.1800',@ROE = N'-',@CashPerUnit = N'-0.0179',@GrossProfitRate = N'13.17',@Distribution = N'-',@DividenRate = N'-',@AnnounceDate = N'2006-10-30'
EXEC [EST].[Proc_yjbb_Ins] @Code = N'600338',@CutoffDate = N'2005-06-30',@EPS = N'-0.16',@EPSDeduct = N'0',@Revenue = N'2489.87万',@RevenueYoy = N'-84.27',@RevenueQoq = N'-82.67',@Profit = N'-2564.10万',@ProfitYoy = N'-62.78',@ProfiltQoq = N'-57.83',@NAVPerUnit = N'-0.1000',@ROE = N'-',@CashPerUnit = N'-0.0603',@GrossProfitRate = N'13.05',@Distribution = N'不分配不转增',@DividenRate = N'-',@AnnounceDate = N'2006-08-30' |
--MSSQL, baza danych na kolokwium: sklep internetowy
--dr <NAME> 12.11.2013 r.
--(celowo nie ma autoinkrementacji)
--Zmiana formatu daty (polecenie zgodne z MSSQL)
SET DATEFORMAT ymd;
GO
--Utworzenie wymaganych tabel
CREATE TABLE adres (
id_adres INTEGER NOT NULL PRIMARY KEY,
ulica VARCHAR(50) NOT NULL,
numer VARCHAR(10) NOT NULL,
kod CHAR(11) NOT NULL,
miejscowosc VARCHAR(30) NOT NULL
);
GO
CREATE TABLE klient (
id_klient INTEGER NOT NULL PRIMARY KEY,
id_adres INTEGER NOT NULL UNIQUE REFERENCES adres(id_adres),
imie VARCHAR(25) NOT NULL,
nazwisko VARCHAR(30) NOT NULL,
pesel CHAR(11) NOT NULL UNIQUE,
telefon VARCHAR(20) NOT NULL,
email VARCHAR(30) NOT NULL,
haslo VARCHAR(30) NOT NULL,
rabat INTEGER NOT NULL DEFAULT 0,
data_dodania DATETIME NOT NULL,
usuniety BIT NOT NULL DEFAULT 0
);
GO
CREATE TABLE kategoria (
id_kategoria INTEGER NOT NULL PRIMARY KEY,
nazwa VARCHAR(30) NOT NULL UNIQUE
);
GO
CREATE TABLE podkategoria (
id_podkategoria INTEGER NOT NULL PRIMARY KEY,
id_kategoria INTEGER NOT NULL REFERENCES kategoria(id_kategoria),
nazwa VARCHAR(30) NOT NULL UNIQUE
);
GO
CREATE TABLE pracownik (
id_pracownik INTEGER NOT NULL PRIMARY KEY,
id_adres INTEGER NOT NULL UNIQUE REFERENCES adres(id_adres),
imie VARCHAR(25) NOT NULL,
nazwisko VARCHAR(30) NOT NULL,
data_zatrudnienia DATETIME NOT NULL,
pensja DECIMAL(8,2) NOT NULL CHECK(pensja>0),
dodatek DECIMAL (8,2) NULL,
stanowisko VARCHAR(30) NOT NULL,
usuniety BIT NOT NULL DEFAULT 0
);
GO
CREATE TABLE producent (
id_producent INTEGER NOT NULL PRIMARY KEY,
id_adres INTEGER NOT NULL UNIQUE REFERENCES adres(id_adres),
nazwa VARCHAR(30) NOT NULL UNIQUE
);
GO
CREATE TABLE produkt (
id_produkt INTEGER NOT NULL PRIMARY KEY,
id_producent INTEGER NOT NULL REFERENCES producent(id_producent),
id_podkategoria INTEGER NOT NULL REFERENCES podkategoria(id_podkategoria),
nazwa VARCHAR(30) NOT NULL,
opis VARCHAR(50) NOT NULL,
cena_netto DECIMAL(10,2) NOT NULL CHECK(cena_netto>0),
podatek INTEGER NOT NULL DEFAULT 23,
ilosc_sztuk_magazyn INTEGER NOT NULL DEFAULT 0 CHECK(ilosc_sztuk_magazyn>=0)
);
GO
CREATE TABLE status (
id_status INTEGER NOT NULL PRIMARY KEY,
nazwa VARCHAR(50) NOT NULL,
opis VARCHAR(50) NOT NULL
);
GO
CREATE TABLE zamowienie (
id_zamowienie INTEGER NOT NULL PRIMARY KEY,
id_pracownik INTEGER NOT NULL REFERENCES pracownik(id_pracownik) ON DELETE CASCADE,
id_klient INTEGER NOT NULL REFERENCES klient(id_klient) ON DELETE CASCADE,
data_zamowienia DATETIME NOT NULL,
cena_netto_dostawy DECIMAL(10,2) NOT NULL DEFAULT 0,
podatek INTEGER NOT NULL DEFAULT 23
);
GO
CREATE TABLE koszyk (
id_zamowienie INTEGER NOT NULL REFERENCES zamowienie(id_zamowienie),
id_produkt INTEGER NOT NULL REFERENCES produkt(id_produkt),
cena_netto DECIMAL(10,2) NOT NULL CHECK(cena_netto>0),
podatek INTEGER NOT NULL DEFAULT 23,
ilosc_sztuk INTEGER NOT NULL DEFAULT 0 CHECK(ilosc_sztuk>=0),
PRIMARY KEY(id_zamowienie, id_produkt)
);
GO
CREATE TABLE zamowienie_status (
id_zamowienie INTEGER NOT NULL REFERENCES zamowienie(id_zamowienie),
id_status INTEGER NOT NULL REFERENCES status(id_status),
data_zmiany_statusu DATETIME NOT NULL,
uwagi VARCHAR(100) NULL,
PRIMARY KEY(id_zamowienie, id_status)
);
GO
CREATE TABLE faktura (
id_faktura INTEGER NOT NULL PRIMARY KEY,
id_zamowienie INTEGER NOT NULL REFERENCES zamowienie(id_zamowienie),
id_klient INTEGER NOT NULL REFERENCES klient(id_klient) ON DELETE CASCADE,
id_pracownik INTEGER NOT NULL REFERENCES pracownik(id_pracownik) ON DELETE CASCADE,
nr_faktury VARCHAR(20) NOT NULL,
data_wystawienia DATETIME NOT NULL,
data_platnosci DATETIME NOT NULL,
czy_oplacona BIT NOT NULL DEFAULT 0
);
GO
|
--
-- Índices para tablas volcadas
--
--
-- Indices de la tabla `aplicaciones`
--
ALTER TABLE `aplicaciones`
ADD PRIMARY KEY (`codigo`);
--
-- Indices de la tabla `ciudades`
--
ALTER TABLE `ciudades`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `cliente`
--
ALTER TABLE `cliente`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `departamento`
--
ALTER TABLE `departamento`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `login`
--
ALTER TABLE `login`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `mclientes`
--
ALTER TABLE `mclientes`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `sectores`
--
ALTER TABLE `sectores`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `subsectores`
--
ALTER TABLE `subsectores`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT de las tablas volcadas
--
--
-- AUTO_INCREMENT de la tabla `aplicaciones`
--
ALTER TABLE `aplicaciones`
MODIFY `codigo` int(100) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT de la tabla `ciudades`
--
ALTER TABLE `ciudades`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `cliente`
--
ALTER TABLE `cliente`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT de la tabla `departamento`
--
ALTER TABLE `departamento`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `login`
--
ALTER TABLE `login`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT de la tabla `mclientes`
--
ALTER TABLE `mclientes`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `sectores`
--
ALTER TABLE `sectores`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT de la tabla `subsectores`
--
ALTER TABLE `subsectores`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
|
<reponame>pablogb83/labPHP<gh_stars>0
-- phpMyAdmin SQL Dump
-- version 5.1.0
-- https://www.phpmyadmin.net/
--
-- Servidor: 127.0.0.1
-- Tiempo de generación: 09-06-2021 a las 19:14:52
-- Versión del servidor: 10.4.19-MariaDB
-- Versión de PHP: 8.0.6
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Base de datos: `labphp`
--
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `admins`
--
CREATE TABLE `admins` (
`id` int(5) UNSIGNED NOT NULL,
`user` varchar(100) NOT NULL,
`password` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Volcado de datos para la tabla `admins`
--
INSERT INTO `admins` (`id`, `user`, `password`) VALUES
(1, 'admin', '<PASSWORD>');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `autor`
--
CREATE TABLE `autor` (
`id` int(11) NOT NULL,
`usuario_id` int(5) NOT NULL,
`nombre` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`apellido` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`rutaImg` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`biografia` text COLLATE utf8_spanish_ci NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
--
-- Volcado de datos para la tabla `autor`
--
INSERT INTO `autor` (`id`, `usuario_id`, `nombre`, `apellido`, `rutaImg`, `biografia`, `created_at`, `updated_at`) VALUES
(19, 27, 'Dan ', 'Brown', '1622829657_d0bdfb9a8e09b4504668.jpg', 'Hijo de un matemático y una compositora de música sacra. Estudió secundaria en el instituto Phillips Exeter Academy, Class of 1982, y sus estudios universitarios en Amherst College. Como estudiante residió en Gijón (España) en el año de 1980, este traslado a España fue su primer viaje al extranjero estudiando en un instituto de dicha ciudad. Brown afirma que en 1985, un año antes de graduarse, estudió Historia del Arte en la Universidad de Sevilla, pero esta universidad declaró que no existen registros de que él hubiese sido estudiante en sus instalaciones, y que en caso de haberlo sido es probable que lo haya hecho como un estudiante itinerante en un simple curso de verano. Diplomado por el Amherst College, se dedicó a la música: produjo una grabación con canciones infantiles y fundó la empresa Dalliance, con la que grabó Perspective. Su hermano <NAME> también estudió secundaria en Phillips Exeter Academy y realizó los estudios de música y composición en Amherst College, al igual que Dan.', '2021-06-04 18:00:57', '2021-06-04 16:00:57'),
(20, 28, 'bruno', 'rodriguez', '1621190710_d9295e6a01b561966a5a.jpg', 'me conocen todos', '2021-05-16 16:45:10', '2021-05-16 16:45:10'),
(21, 36, 'Danilo', 'Castallaneta', '1622818918_11118f66c31627f02f7f.jpg', 'Me confunden con el de los Simpsons, pero no se por que ', '2021-06-04 15:01:58', '2021-06-04 13:01:58'),
(22, 41, 'William ', 'Shakespeare', '1622834740_e7fdc981979c08dc03b0.jpeg', '<NAME> fue un dramaturgo, poeta y actor inglés. Conocido en ocasiones como el Bardo de Avon, Shakespeare es considerado el escritor más importante en lengua inglesa y uno de los más célebres de la literatura universal.', '2021-06-04 19:25:40', '2021-06-04 17:25:40'),
(23, 43, 'Miguel ', 'Cervantes', '1622834885_871f9ed98e563e6bfaaa.jpg', '<NAME> fue un novelista, poeta, dramaturgo y soldado español. Está considerado la máxima figura de la literatura española y es universalmente conocido por haber escrito El ingenioso ', '2021-06-04 19:28:05', '2021-06-04 17:28:05'),
(24, 52, '<NAME> ', 'Nario', '1623202097_f6410baa1ad0ab60f27f.jpeg', '<NAME>, también conocido como El Bananero, es un productor estadounidense y fenómeno de Internet conocido por subir vídeos de clase B con humor irreverente y lenguaje obsceno a su sitio web y luego a YouTube. ', '2021-06-08 23:28:17', '2021-06-08 23:28:17'),
(26, 54, 'Nick', 'Heidfield', '1623258691_41361415a1d0f1dcb1bc.jpg', '<NAME> (Mönchengladbach, Alemania; 10 de mayo de 1977) es un piloto de automovilismo de velocidad alemán. Ha competido en Fórmula 1 para varios equipos durante los años 2000, incluyendo Prost, Sauber, Jordan, Williams y BMW Sauber. En la temporada 2010, fue piloto de pruebas en Mercedes1 y piloto oficial de BMW Sauber.23 El 16 de febrero de 2011, fue confirmado por Renault GP como piloto oficial de la escudería para la temporada 2011, sustituyendo así a <NAME>.4 Sin embargo, el 2 de septiembre, el equipo confirmó a Bruno Senna como su sustituto para el resto de la temporada.5 Sus mejores resultados de campeonato fueron quinto en 2007, sexto en 2008, y octavo en 2001. El alemán logró 13 podios en Fórmula 1, la mayor cantidad entre los pilotos sin victorias. Entre 2012 y 2016, Heidfeld participó en la clase LMP1 del Campeonato Mundial de Resistencia con Rebellion Racing.6 Finalizó 4º en las 24 Horas de Le Mans 2012.', '2021-06-09 15:11:31', '2021-06-09 15:11:31');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `autor_cliente`
--
CREATE TABLE `autor_cliente` (
`autor_id` int(11) NOT NULL,
`cliente_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
--
-- Volcado de datos para la tabla `autor_cliente`
--
INSERT INTO `autor_cliente` (`autor_id`, `cliente_id`) VALUES
(19, 10),
(19, 12),
(19, 15),
(19, 18),
(21, 10),
(21, 15),
(22, 15),
(24, 26),
(25, 10);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `categorias`
--
CREATE TABLE `categorias` (
`id` int(11) NOT NULL,
`categoria_id` int(11) NOT NULL,
`nombre` varchar(100) NOT NULL,
`rutaImg` varchar(100) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Volcado de datos para la tabla `categorias`
--
INSERT INTO `categorias` (`id`, `categoria_id`, `nombre`, `rutaImg`, `created_at`, `updated_at`) VALUES
(12, 0, 'Ciencias', 'ciencia.jpg', '2021-05-17 01:51:30', '2021-05-16 23:51:30'),
(14, 0, 'Video Juegos', '1621205199_71ce83b27cc9f5cd6bf6.jpeg', '2021-05-16 23:46:39', '2021-05-16 23:46:39'),
(15, 0, 'Viajes', '1621205514_3e963ed66e45102d5a6a.jpg', '2021-05-16 23:51:54', '2021-05-16 23:51:54'),
(16, 0, 'Deportes', '1622666283_444c3259152a36b09860.jpg', '2021-06-04 17:10:16', '2021-06-04 15:10:16'),
(25, 17, 'Naturaleza', '1622666307_4ad892341c7afbeee94e.jpg', '2021-06-02 20:38:27', '2021-06-02 18:38:27'),
(33, 0, 'Gente y sociedad', '1622069947_bf778ac4e7b3c94be616.jpg', '2021-06-04 17:10:37', '2021-06-04 15:10:37'),
(34, 0, 'Exótico', '1622070520_d4c82aee7a63b52e0ecc.jpg', '2021-06-04 17:11:12', '2021-06-04 15:11:12'),
(35, 12, 'ciencias fisicas', '1622840267_0ebf1487cf466a6905bf.jpg', '2021-06-04 18:57:47', '2021-06-04 18:57:47');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `categoria_recurso`
--
CREATE TABLE `categoria_recurso` (
`categoria_id` int(11) NOT NULL,
`recurso_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
--
-- Volcado de datos para la tabla `categoria_recurso`
--
INSERT INTO `categoria_recurso` (`categoria_id`, `recurso_id`) VALUES
(12, 15),
(13, 15),
(15, 17),
(12, 18),
(14, 18),
(26, 19),
(14, 20),
(25, 21),
(26, 22),
(26, 23),
(25, 23),
(25, 24),
(17, 24),
(26, 25),
(25, 25),
(17, 25),
(12, 26),
(25, 26),
(17, 26),
(26, 26),
(27, 26),
(12, 27),
(25, 27),
(17, 27),
(26, 27),
(27, 27),
(26, 28),
(25, 28),
(17, 28),
(12, 29),
(17, 29),
(26, 29),
(27, 29),
(15, 30),
(14, 31),
(17, 32),
(17, 33),
(15, 34),
(15, 35),
(12, 36),
(15, 36),
(14, 37),
(15, 37),
(33, 37),
(25, 38),
(34, 38),
(15, 39),
(25, 39),
(33, 39),
(34, 39),
(15, 40),
(25, 40),
(33, 40),
(15, 41),
(25, 41),
(34, 41),
(16, 42),
(33, 42);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `clientes`
--
CREATE TABLE `clientes` (
`id` int(11) NOT NULL,
`usuario_id` int(5) NOT NULL,
`nombre` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`apellido` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`rutaImg` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`fechaNac` date NOT NULL,
`suscripto` tinyint(1) NOT NULL DEFAULT 0,
`created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
--
-- Volcado de datos para la tabla `clientes`
--
INSERT INTO `clientes` (`id`, `usuario_id`, `nombre`, `apellido`, `rutaImg`, `fechaNac`, `suscripto`, `created_at`, `updated_at`) VALUES
(9, 31, 'jose', 'perez', '1621192587_c2c2f032f2551eadfdad.jpg', '1989-02-15', 1, '2021-05-17 22:59:25', '2021-05-17 20:59:25'),
(10, 32, '<NAME>', '<NAME>', '1622818806_28f8734612e11957084b.jfif', '1982-05-06', 1, '2021-06-04 19:33:13', '2021-06-04 17:33:13'),
(11, 33, 'marcelo', 'Arena', '1621617233_62597bbbbfbe54cf837e.jpg', '1963-02-12', 1, '2021-05-21 17:14:51', '2021-05-21 15:14:51'),
(12, 34, 'jose', 'gomez', '1621628413_1421684bd8d20280aa0f.jpg', '1986-05-12', 1, '2021-05-21 20:23:05', '2021-05-21 18:23:05'),
(13, 35, 'gonzalo', 'martinez', '1621695658_0e3d03ea5d90d3b3d744.jfif', '1983-05-04', 1, '2021-05-28 20:20:31', '2021-05-28 18:20:31'),
(15, 38, 'marcos', 'trombola', '1622926977_757596845f1191db5947.jpg', '1978-04-15', 1, '2021-06-05 21:02:57', '2021-06-05 19:02:57'),
(18, 42, 'Usuario', 'Prueba', 'default.png', '1983-05-04', 1, '2021-06-04 20:20:28', '2021-06-03 14:16:01'),
(19, 44, 'sdfsdfsdf', 'dsfsdfsdf', 'default.png', '1996-06-05', 0, '2021-06-01 20:54:20', '2021-06-01 20:54:20'),
(20, 45, 'jose', 'perez', '1622839279_ee18e3b23c9766672ab7.jpg', '1985-03-05', 0, '2021-06-04 20:41:19', '2021-06-04 18:41:19'),
(23, 48, 'Marcos', 'Antonio', 'default.png', '1998-11-02', 0, '2021-06-05 17:50:03', '2021-06-05 17:50:03'),
(24, 49, 'Alberto ', '<NAME>', 'default.png', '1986-12-05', 0, '2021-06-05 18:12:46', '2021-06-05 18:12:46'),
(26, 51, '<NAME>', 'Suarez', '1623203300_1eb16b8e506bbf808a90.jpg', '1989-02-15', 0, '2021-06-09 01:48:20', '2021-06-08 23:48:20');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `cliente_recurso`
--
CREATE TABLE `cliente_recurso` (
`cliente_id` int(11) NOT NULL,
`recurso_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
--
-- Volcado de datos para la tabla `cliente_recurso`
--
INSERT INTO `cliente_recurso` (`cliente_id`, `recurso_id`) VALUES
(9, 25),
(10, 27),
(9, 27),
(9, 26),
(10, 24),
(9, 21),
(12, 28),
(10, 29),
(10, 32),
(13, 15),
(10, 23),
(18, 18),
(10, 36),
(20, 36),
(15, 35),
(15, 38),
(15, 37),
(10, 40),
(26, 40),
(10, 42);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `comentarios`
--
CREATE TABLE `comentarios` (
`id` int(11) NOT NULL,
`cliente_id` int(11) NOT NULL,
`recurso_id` int(11) NOT NULL,
`nota` int(11) NOT NULL,
`texto` varchar(255) COLLATE utf8_spanish_ci NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
--
-- Volcado de datos para la tabla `comentarios`
--
INSERT INTO `comentarios` (`id`, `cliente_id`, `recurso_id`, `nota`, `texto`, `created_at`, `updated_at`) VALUES
(1, 10, 24, 4, 'me parece muy interesante', '2021-05-21 22:11:54', '2021-05-21 22:11:54'),
(2, 10, 23, 4, 'buenisimo', '2021-05-21 22:22:28', '2021-05-21 22:22:28'),
(3, 10, 28, 1, 'malo', '2021-05-21 22:23:44', '2021-05-21 22:23:44'),
(4, 12, 28, 3, 'bueno', '2021-05-21 22:24:53', '2021-05-21 22:24:53'),
(5, 13, 28, 5, 'me parece una maravilla', '2021-05-22 13:01:34', '2021-05-22 13:01:34'),
(6, 10, 24, 2, 'cambie de opinion, es una porqueria', '2021-05-22 16:55:22', '2021-05-22 16:55:22'),
(7, 10, 20, 3, 'El nombre no ayuda para lo que es el contenido', '2021-05-24 18:17:46', '2021-05-24 18:17:46'),
(8, 10, 18, 4, 'me parece muy interesante', '2021-05-24 21:57:16', '2021-05-24 21:57:16'),
(9, 10, 18, 1, 'me arrepenti me parece una mierda', '2021-05-24 21:57:41', '2021-05-24 21:57:41'),
(10, 10, 32, 1, 'aburrido', '2021-05-24 21:59:00', '2021-05-24 21:59:00'),
(11, 12, 32, 5, 'pienso que no esta mal, al menos podemos sentirnos mas cercanos a el', '2021-05-25 17:35:27', '2021-05-25 17:35:27'),
(12, 10, 33, 1, 'jodido', '2021-05-25 20:24:30', '2021-05-25 18:24:00'),
(14, 10, 21, 3, 'la portada es diablolica', '2021-05-25 19:33:53', '2021-05-25 19:33:53'),
(15, 13, 15, 4, 'me parece muy interesante', '2021-05-26 20:15:56', '2021-05-26 20:15:56'),
(16, 13, 32, 3, 'me parece muy interesante', '2021-06-06 02:37:39', '2021-05-28 18:47:44'),
(17, 9, 32, 4, 'es barbaro', '2021-05-29 16:18:49', '2021-05-29 16:18:49'),
(18, 10, 17, 2, 'la pelicula es conmovedora, esto no tiene ni pie ni cabeza', '2021-05-29 17:34:41', '2021-05-29 17:34:41'),
(19, 13, 17, 4, 'es un fiel reflejo de la pelicula, solo que el tigre es mas viejo', '2021-05-29 17:35:59', '2021-05-29 17:35:59'),
(29, 9, 17, 1, 'me parece muy interesante', '2021-05-29 17:59:23', '2021-05-29 17:59:23'),
(30, 9, 17, 3, 'interesante dije? perdon queria decir intedezante', '2021-05-29 18:00:23', '2021-05-29 18:00:23'),
(31, 11, 17, 3, 'es delirante, sobre todo el final, que no lo entendi', '2021-05-29 18:04:48', '2021-05-29 18:04:48'),
(32, 10, 35, 3, 'no sabia que las langostas tenian una vida tan interesante', '2021-06-01 17:09:02', '2021-06-01 17:09:02'),
(33, 10, 19, 2, 'me parece muy interesante', '2021-06-02 19:55:40', '2021-06-02 19:55:40'),
(34, 10, 16, 2, 'El autor sabe muy poco de videojuegos', '2021-06-04 13:13:34', '2021-06-04 13:13:34'),
(35, 10, 36, 4, 'No la entendi, pero me dijeron que esta muy buena', '2021-06-04 16:08:25', '2021-06-04 16:08:25'),
(36, 18, 20, 3, 'Esta bien, pero lo del patriarcado esta mal enfocado', '2021-06-04 18:21:00', '2021-06-04 18:21:00'),
(37, 10, 29, 4, 'me parece muy interesante', '2021-06-04 18:47:42', '2021-06-04 18:47:42'),
(38, 15, 35, 1, 'Esto es un plagio, en la portada dice el nombre de otro autor', '2021-06-05 19:01:19', '2021-06-05 19:01:19'),
(39, 10, 39, 4, 'Este autor esta robando obras, fijense en las portadas, nunca sale su nombre, estoy indignado!. Igual me gusto', '2021-06-06 00:01:56', '2021-06-06 00:01:56'),
(40, 15, 32, 1, 'un robo, no paguen por esto porque no vale la pena', '2021-06-06 00:39:52', '2021-06-06 00:39:52'),
(41, 15, 38, 3, 'habla solo sobre perros, asi que el titulo no estaria bien', '2021-06-06 00:43:16', '2021-06-06 00:43:16'),
(42, 15, 37, 5, 'el juego esta bien, la revista... tambien!!!', '2021-06-06 00:45:56', '2021-06-06 00:45:56'),
(43, 10, 40, 4, 'Conmovedor', '2021-06-08 23:44:46', '2021-06-08 23:44:46'),
(44, 10, 41, 3, 'me dormi a la media hora, pero... es para eso no? ', '2021-06-09 14:58:18', '2021-06-09 14:58:18'),
(45, 10, 42, 1, 'fracasado', '2021-06-09 15:07:04', '2021-06-09 15:07:04');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `listas`
--
CREATE TABLE `listas` (
`id` int(11) NOT NULL,
`cliente_id` int(11) NOT NULL,
`nombre` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`tipo` tinyint(1) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
--
-- Volcado de datos para la tabla `listas`
--
INSERT INTO `listas` (`id`, `cliente_id`, `nombre`, `tipo`, `created_at`, `updated_at`) VALUES
(2, 10, 'mi lista 1', 1, '2021-05-22 19:55:30', '2021-05-22 19:55:30'),
(3, 10, 'mi lista 2', 2, '2021-05-23 12:40:59', '2021-05-23 12:40:59'),
(4, 10, 'la lista definitiva', 1, '2021-05-23 13:27:47', '2021-05-23 13:27:47'),
(5, 10, 'Post de ciencia', 2, '2021-05-24 18:59:39', '2021-05-24 18:59:39'),
(6, 10, 'otra lista mas ', 1, '2021-05-25 19:53:30', '2021-05-25 19:53:30'),
(7, 13, 'mi lista principal', 1, '2021-05-26 20:17:05', '2021-05-26 20:17:05'),
(8, 10, 'nueva lista', 2, '2021-05-28 18:44:14', '2021-05-28 18:44:14'),
(9, 19, 'nueva', 2, '2021-06-01 20:55:39', '2021-06-01 20:55:39'),
(10, 19, 'nueva2', 1, '2021-06-01 20:55:52', '2021-06-01 20:55:52'),
(11, 18, 'prueba1', 2, '2021-06-03 14:18:05', '2021-06-03 14:18:05'),
(12, 20, 'lista1', 2, '2021-06-04 18:41:44', '2021-06-04 18:41:44'),
(13, 15, 'todo sobre langostas', 1, '2021-06-05 19:04:51', '2021-06-05 19:04:51'),
(14, 26, 'lista nueva', 2, '2021-06-08 23:49:09', '2021-06-08 23:49:09');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `lista_recurso`
--
CREATE TABLE `lista_recurso` (
`lista_id` int(11) NOT NULL,
`recurso_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
--
-- Volcado de datos para la tabla `lista_recurso`
--
INSERT INTO `lista_recurso` (`lista_id`, `recurso_id`) VALUES
(2, 24),
(2, 28),
(2, 28),
(3, 28),
(4, 24),
(4, 29),
(4, 18),
(5, 15),
(5, 18),
(5, 29),
(3, 32),
(7, 33),
(8, 24),
(8, 29),
(8, 32),
(6, 35),
(9, 21),
(10, 21),
(11, 18),
(11, 34),
(4, 36),
(12, 36),
(13, 35),
(13, 38),
(8, 40),
(14, 40),
(8, 42);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `migrations`
--
CREATE TABLE `migrations` (
`id` bigint(20) UNSIGNED NOT NULL,
`version` varchar(255) NOT NULL,
`class` varchar(255) NOT NULL,
`group` varchar(255) NOT NULL,
`namespace` varchar(255) NOT NULL,
`time` int(11) NOT NULL,
`batch` int(11) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Volcado de datos para la tabla `migrations`
--
INSERT INTO `migrations` (`id`, `version`, `class`, `group`, `namespace`, `time`, `batch`) VALUES
(1, '2021-05-09-192530', 'App\\Database\\Migrations\\Tablausuarios', 'default', 'App', 1620611028, 1),
(2, '2021-05-09-233039', 'App\\Database\\Migrations\\Tablaadmin', 'default', 'App', 1620611028, 1),
(3, '2021-05-09-233325', 'App\\Database\\Migrations\\Tablacategorias', 'default', 'App', 1620611028, 1);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `recursos`
--
CREATE TABLE `recursos` (
`id` int(11) NOT NULL,
`autor_id` int(11) NOT NULL,
`nombre` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`descripcion` varchar(500) COLLATE utf8_spanish_ci NOT NULL,
`rutaImg` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`rutaArch` varchar(100) COLLATE utf8_spanish_ci DEFAULT NULL,
`tipo` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`descargable` int(11) NOT NULL,
`suscripcion` tinyint(1) NOT NULL,
`nota` float NOT NULL DEFAULT 0,
`visitas` int(11) NOT NULL,
`descargas` int(11) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
--
-- Volcado de datos para la tabla `recursos`
--
INSERT INTO `recursos` (`id`, `autor_id`, `nombre`, `descripcion`, `rutaImg`, `rutaArch`, `tipo`, `descargable`, `suscripcion`, `nota`, `visitas`, `descargas`, `created_at`, `updated_at`) VALUES
(15, 19, 'una historia maravillosa y linda', 'libro de arte buenisimo', '1622819150_a1d47ea049f42146c95b.jpg', '', 'audio-libro', 1, 0, 4, 2, 0, '2021-05-16 18:53:48', '2021-06-05 16:22:09'),
(16, 19, 'Video Juegos', 'te ayudo si me pagas bien ', '1622819243_d3c44a5de6b39067266c.jpg', '', 'podcast', 1, 0, 2, 13, 3, '2021-05-16 19:04:46', '2021-06-06 00:07:49'),
(18, 19, 'mi vida es muy buena', 'la historia de un tipo que se comio un perro crudo', '1621290011_f5cd51d0681d28d80499.jpg', '', 'revista', 2, 1, 2.5, 7, 0, '2021-05-17 20:20:11', '2021-06-03 14:18:20'),
(19, 19, 'L<NAME>', 'Lasrosas rojas', '1621450663_320bbb4faadbfdda0f4c.png', '', 'revista', 2, 1, 2, 10, 0, '2021-05-19 16:57:43', '2021-06-02 20:19:20'),
(20, 19, 'Marta', 'La historia de una mujer en tiempos del patriarcado', '1622837924_f8c4be5d136b15a929d8.jpg', '', 'documento', 2, 0, 3, 17, 0, '2021-05-19 17:04:12', '2021-06-04 18:21:00'),
(21, 19, 'Los pajaros', 'Recopilación de imágenes y documentos acerca de variadas aves exóticas que recopile por mi viaje por', '1622820419_f6f7ba53a8d324b07200.jpg', '', 'audio-libro', 1, 1, 3, 10, 1, '2021-05-19 17:12:34', '2021-06-09 14:59:35'),
(23, 19, 'Documentos x', 'Confidencial', '1621453118_a17ecfede5a2071da6a5.png', '', 'podcast', 1, 1, 4, 6, 0, '2021-05-19 17:38:38', '2021-06-05 19:06:28'),
(29, 21, 'Historia reciente de la manzana', 'Este libro trata sobre la historia mas reciente de una manzana verde pepino', '1622925960_0ec0bf3a59fc51bc1904.jpg', '', 'libro', 1, 0, 4, 8, 0, '2021-05-22 20:02:55', '2021-06-06 00:22:14'),
(30, 19, 'probando descarga', 'archivo de prueba ', '1621897178_b73682e18dfd9180f974.png', NULL, 'libro', 1, 0, 0, 0, 0, '2021-05-24 20:59:38', '2021-05-24 20:59:38'),
(31, 19, 'recurso de prueba 2', 'es una prueba para subir y bajar archivos', '1621897344_cda60553e0c645457d78.jfif', '1621897344_a01c64d0b90fcac6bf48.pdf', 'libro', 1, 0, 0, 0, 0, '2021-05-24 21:02:24', '2021-05-24 21:02:24'),
(32, 19, 'hola hola hola', 'una genialidad del autor donde podemos escuchar su vos por primera vez', '1621900108_e9104c65a0a5b5d10851.jpg', '1621900108_55246fa3bbe7c9bfa1db.m4a', 'audio-libro', 1, 0, 2.8, 40, 1, '2021-05-24 21:48:28', '2021-06-06 00:39:52'),
(33, 21, 'Una vida dedicada al doblaje', 'Cuento mis experiencias doblando personajes de series animadas, pero no de los Simpsons', '1622926637_d4723f8ff352f2aca52b.jpg', '1621971625_f02daa03d86b919f45fc.pdf', 'revista', 1, 0, 1, 25, 0, '2021-05-25 17:40:25', '2021-06-05 18:57:17'),
(34, 21, 'archivo cifrado', 'este es un archivo pdf con clave ', '1622410582_a144c6275e415875f437.png', '1622410582_3e215c91c586360c6372.pdf', 'revista', 1, 1, 0, 11, 0, '2021-05-30 19:36:22', '2021-06-05 16:25:41'),
(35, 21, 'la vida de una langosta', 'historia de la vida de una langosta en primavera y verano', '1622926747_4d22410a8118b3eff8ed.jpg', '1622574467_7f2e6f617ada31e7e88d.pdf', 'revista', 1, 0, 2, 107, 3, '2021-06-01 17:07:47', '2021-06-08 17:25:31'),
(36, 19, '<NAME>', 'El código Da Vinci es una novela de misterio escrita por <NAME> y publicada por primera vez por Random House en 2003 (ISBN 0-385-50420-9). Se ha convertido en un superventas mundial, con más de 80 millones de ejemplares vendidos y traducido a 44 idiomas. Al combinar los géneros de suspenso detectivesco y esoterismo Nueva Era, con una teoría de conspiración relativa al Santo Grial y al papel de María Magdalena en el cristianismo, la novela espoleó el difundido interés (sobre todo en los Estad', '1622829883_d50e60dc5a0f4ce2522c.jpg', '1622829883_060e7e71a9c1a46b7519.pdf', 'libro', 2, 1, 4, 23, 0, '2021-06-04 16:04:43', '2021-06-05 18:36:21'),
(37, 19, 'The Division', 'Manual del juego, todas sus trucos y ademas una guia compleata del mismo.', '1622942809_b2a55f7e2460bc1589fb.jpg', '1622942809_6e15e43bfde3921eca63.pdf', 'documento', 1, 1, 5, 3, 1, '2021-06-05 23:26:49', '2021-06-06 00:46:07'),
(38, 19, 'Todo sobre las mascotas', 'Te cuento todo lo que se de las mascotas tradicionales', '1622943591_79195c9a5d5d54ee2923.jpg', '1622943591_442e6a5e959efd5b3e26.pdf', 'documento', 2, 0, 3, 6, 0, '2021-06-05 23:39:51', '2021-06-08 17:23:49'),
(39, 19, 'Madrid Secreto', 'Madrid es la capital central de España con elegantes bulevares y amplios parques muy cuidados, como el Buen Retiro. Es famosa por sus ricas colecciones de arte europeo, con obras de Goya, Velázquez y otros maestros españoles en el Museo del Prado. El corazón del antiguo Madrid de los Habsburgo es la Plaza Mayor bordeada de pórticos y cerca se encuentra el Palacio Real y la Armería, que exhiben arsenales históricos.', '1622944650_2ead55109475b4ab191a.jpg', '1622944650_fd7b779bb9cc46423532.pdf', 'revista', 1, 0, 4, 5, 1, '2021-06-05 23:57:30', '2021-06-06 00:08:52'),
(40, 24, 'El enclave bananero en la historia de Honduras', 'Fue un periodo en el cual Honduras inició la explotación del banano. ... En ese momento Honduras dependía mucho de la agricultura y ganadería (actualmente también) y uno de esos cultivos era el banano.', '1623202606_d0f732dcb145a11dc9ce.jpg', '1623202606_93df315903039015de9e.pdf', 'libro', 2, 1, 4, 16, 0, '2021-06-08 23:36:46', '2021-06-08 23:57:27'),
(41, 21, 'El sendero del Mago', 'Siguiendo las huellas del bestseller Las siete leyes espirituales del éxito, este nuevo libro de Chopra presenta veinte lecciones espirituales que le ayudarán al lector a crear una vida nueva y mejor, una vida donde es posible alcanzar el amor y la realización personal y espiritual que todos vivimos buscando. Esta obra propone la aventura de trascender la realidad ordinaria y emprender el viaje hacia el ámbito de lo ilimitado, donde siguiendo las enseñanzas del mago que todos llevamos dentro, de', '1623257650_6a03972445a5e9bfd260.jpg', '1623257650_3d9ac8b3630e0127e724.mp3', 'audio-libro', 2, 0, 3, 3, 0, '2021-06-09 14:54:10', '2021-06-09 14:58:19'),
(42, 26, 'Mi paso por la Formula 1', 'En este libro cuento todo sobre mi paso por la formula 1, las intimidades, las peleas, la corrupcion.', '1623258348_0de36ca9729cfef30398.jpg', '1623258348_f21c035848c609a5c6d2.pdf', 'libro', 2, 1, 1, 6, 0, '2021-06-09 15:05:48', '2021-06-09 15:12:37');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `suscripcion`
--
CREATE TABLE `suscripcion` (
`id` int(11) NOT NULL,
`valor` float NOT NULL DEFAULT 20,
`nombre` varchar(100) COLLATE utf8_spanish_ci NOT NULL DEFAULT 'Suscripcion a Truchameo',
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
--
-- Volcado de datos para la tabla `suscripcion`
--
INSERT INTO `suscripcion` (`id`, `valor`, `nombre`, `created_at`, `updated_at`) VALUES
(1, 20, 'Suscripcion a Truchameo', '2021-06-03 18:37:50', NULL);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `usuarios`
--
CREATE TABLE `usuarios` (
`id` int(5) NOT NULL,
`email` varchar(100) NOT NULL,
`nick` varchar(100) NOT NULL,
`password` varchar(100) NOT NULL,
`tipo` varchar(100) NOT NULL DEFAULT 'indefinido',
`created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Volcado de datos para la tabla `usuarios`
--
INSERT INTO `usuarios` (`id`, `email`, `nick`, `password`, `tipo`, `created_at`, `updated_at`) VALUES
(27, '<EMAIL>', '<PASSWORD>', '$argon2i$v=19$m=65536,t=4,p=1$TnNudk9tZm1hMFluaWFMLw$8sGxobALKezOKaKBSmIurS/TSY43B8mqiKg+Vp/NJA4', 'autor', '2021-06-09 01:19:17', '2021-05-16 16:42:45'),
(31, '<EMAIL>', 'jose89', '$argon2i$v=19$m=65536,t=4,p=1$TnNudk9tZm1hMFluaWFMLw$8sGxobALKezOKaKBSmIurS/TSY43B8mqiKg+Vp/NJA4', 'cliente', '2021-06-09 01:19:22', '2021-05-16 17:16:27'),
(32, '<EMAIL>', 'morcilla', '$argon2i$v=19$m=65536,t=4,p=1$TnNudk9tZm1hMFluaWFMLw$8sGxobALKezOKaKBSmIurS/TSY43B8mqiKg+Vp/NJA4', 'cliente', '2021-06-09 01:18:15', '2021-05-17 18:14:00'),
(33, '<EMAIL>', 'garka', '$argon2i$v=19$m=65536,t=4,p=1$TnNudk9tZm1hMFluaWFMLw$8sGxobALKezOKaKBSmIurS/TSY43B8mqiKg+Vp/NJA4', 'cliente', '2021-06-09 01:19:25', '2021-05-21 15:13:53'),
(34, '<EMAIL>', 'totom', '$argon2i$v=19$m=65536,t=4,p=1$TnNudk9tZm1hMFluaWFMLw$8sGxobALKezOKaKBSmIurS/TSY43B8mqiKg+Vp/NJA4', 'cliente', '2021-06-09 01:19:28', '2021-05-21 18:20:13'),
(35, '<EMAIL>', 'elCabeza', '$argon2i$v=19$m=65536,t=4,p=1$TnNudk9tZm1hMFluaWFMLw$8sGxobALKezOKaKBSmIurS/TSY43B8mqiKg+Vp/NJA4', 'cliente', '2021-06-09 01:19:32', '2021-05-22 13:00:58'),
(36, '<EMAIL>', 'dan_castalla', '$argon2i$v=19$m=65536,t=4,p=1$TnNudk9tZm1hMFluaWFMLw$8sGxobALKezOKaKBSmIurS/TSY43B8mqiKg+Vp/NJA4', 'autor', '2021-06-09 01:19:34', '2021-05-22 15:41:23'),
(38, '<EMAIL>', 'elTrombo', '$argon2i$v=19$m=65536,t=4,p=1$TnNudk9tZm1hMFluaWFMLw$8sGxobALKezOKaKBSmIurS/TSY43B8mqiKg+Vp/NJA4', 'cliente', '2021-06-09 01:19:37', '2021-05-26 18:01:03'),
(41, '<EMAIL>', 'william34', '$argon2i$v=19$m=65536,t=4,p=1$TnNudk9tZm1hMFluaWFMLw$8sGxobALKezOKaKBSmIurS/TSY43B8mqiKg+Vp/NJA4', 'autor', '2021-06-09 01:19:40', '2021-06-04 17:29:35'),
(42, '<EMAIL>', 'usuarioPrueba', '$argon2i$v=19$m=65536,t=4,p=1$TnNudk9tZm1hMFluaWFMLw$8sGxobALKezOKaKBSmIurS/TSY43B8mqiKg+Vp/NJA4', 'cliente', '2021-06-09 01:19:43', '2021-06-01 19:02:56'),
(43, '<EMAIL>', 'migueCer456', '$argon2i$v=19$m=65536,t=4,p=1$TnNudk9tZm1hMFluaWFMLw$8sGxobALKezOKaKBSmIurS/TSY43B8mqiKg+Vp/NJA4', 'autor', '2021-06-09 01:19:45', '2021-06-04 17:29:54'),
(44, '<EMAIL>', 'gsdgsdgsdg', '$argon2i$v=19$m=65536,t=4,p=1$TnNudk9tZm1hMFluaWFMLw$8sGxobALKezOKaKBSmIurS/TSY43B8mqiKg+Vp/NJA4', 'cliente', '2021-06-09 01:19:47', '2021-06-01 20:54:20'),
(45, '<EMAIL>', 'usuario2', '$argon2i$v=19$m=65536,t=4,p=1$TnNudk9tZm1hMFluaWFMLw$8sGxobALKezOKaKBSmIurS/TSY43B8mqiKg+Vp/NJA4', 'cliente', '2021-06-09 01:19:49', '2021-06-04 18:40:40'),
(48, '<EMAIL>', 'marcoTr234', '$argon2i$v=19$m=65536,t=4,p=1$TnNudk9tZm1hMFluaWFMLw$8sGxobALKezOKaKBSmIurS/TSY43B8mqiKg+Vp/NJA4', 'cliente', '2021-06-09 01:19:52', '2021-06-05 17:50:03'),
(49, '<EMAIL>', 'locomotion123', '$argon2i$v=19$m=65536,t=4,p=1$TnNudk9tZm1hMFluaWFMLw$8sGxobALKezOKaKBSmIurS/TSY43B8mqiKg+Vp/NJA4', 'cliente', '2021-06-09 01:19:55', '2021-06-05 18:12:46'),
(51, '<EMAIL>', 'luchoSuarez9', '$argon2i$v=19$m=65536,t=4,p=1$TnNudk9tZm1hMFluaWFMLw$8sGxobALKezOKaKBSmIurS/TSY43B8mqiKg+Vp/NJA4', 'cliente', '2021-06-08 23:11:00', '2021-06-08 23:11:00'),
(52, '<EMAIL>', 'elbananero', '$argon2i$v=19$m=65536,t=4,p=1$QWRkeG8wbUdIRU5vTm1HTw$AU1BkEBzAGq/6VnjxWfKN0mZzHEA3jRxnU9K8wN0wRs', 'autor', '2021-06-08 23:28:17', '2021-06-08 23:28:17'),
(54, '<EMAIL>', 'elnickheidfiel23', '$argon2i$v=19$m=65536,t=4,p=1$RWxNSU05RkhqaGRIeHQwdg$bAOFgqLNfASanaB6EeaW+/7DFBxWUhGQ/Wz7Uy5NGqs', 'autor', '2021-06-09 15:11:31', '2021-06-09 15:11:31');
--
-- Índices para tablas volcadas
--
--
-- Indices de la tabla `admins`
--
ALTER TABLE `admins`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `autor`
--
ALTER TABLE `autor`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `autor_cliente`
--
ALTER TABLE `autor_cliente`
ADD PRIMARY KEY (`autor_id`,`cliente_id`);
--
-- Indices de la tabla `categorias`
--
ALTER TABLE `categorias`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `clientes`
--
ALTER TABLE `clientes`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `comentarios`
--
ALTER TABLE `comentarios`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `listas`
--
ALTER TABLE `listas`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `recursos`
--
ALTER TABLE `recursos`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `suscripcion`
--
ALTER TABLE `suscripcion`
ADD PRIMARY KEY (`id`);
--
-- Indices de la tabla `usuarios`
--
ALTER TABLE `usuarios`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT de las tablas volcadas
--
--
-- AUTO_INCREMENT de la tabla `admins`
--
ALTER TABLE `admins`
MODIFY `id` int(5) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT de la tabla `autor`
--
ALTER TABLE `autor`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=27;
--
-- AUTO_INCREMENT de la tabla `categorias`
--
ALTER TABLE `categorias`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=36;
--
-- AUTO_INCREMENT de la tabla `clientes`
--
ALTER TABLE `clientes`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=27;
--
-- AUTO_INCREMENT de la tabla `comentarios`
--
ALTER TABLE `comentarios`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=46;
--
-- AUTO_INCREMENT de la tabla `listas`
--
ALTER TABLE `listas`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;
--
-- AUTO_INCREMENT de la tabla `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
--
-- AUTO_INCREMENT de la tabla `recursos`
--
ALTER TABLE `recursos`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=43;
--
-- AUTO_INCREMENT de la tabla `suscripcion`
--
ALTER TABLE `suscripcion`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT de la tabla `usuarios`
--
ALTER TABLE `usuarios`
MODIFY `id` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=55;
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 */;
|
/*
Site: HackerRank
Type: Practice
Subdomain: Aggregation
Difficulty: Easy
Skill: SQL (Oracle)
Problem: Weather Observation Station 14
URL: https://www.hackerrank.com/challenges/weather-observation-station-14/problem
*/
-- SOLUTION:
SELECT TRUNC(MAX(lat_n),4)
FROM station
WHERE lat_n < 137.2345; |
<filename>db/database.sql
CREATE DATABASE IF NOT EXISTS dbnode;
USE dbnode;
CREATE TABLE employee (
id INT(11) NOT NULL AUTO_INCREMENT,
name VARCHAR(45) DEFAULT NULL,
salary INT(11) DEFAULT NULL,
PRIMARY KEY(id)
);
DESCRIBE employee;
INSERT INTO employee values
(1, '<NAME>', 20000),
(2, '<NAME>', 40000),
(3, '<NAME>', 50000);
SELECT * FROM employee;
|
-- phpMyAdmin SQL Dump
-- version 4.8.3
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Sep 22, 2018 at 10:18 AM
-- Server version: 10.1.35-MariaDB
-- PHP Version: 7.2.9
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `rental_mobil`
--
-- --------------------------------------------------------
--
-- Table structure for table `groups`
--
CREATE TABLE `groups` (
`id` tinyint(1) NOT NULL,
`name` varchar(25) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `groups`
--
INSERT INTO `groups` (`id`, `name`) VALUES
(1, 'admin'),
(2, 'admin');
-- --------------------------------------------------------
--
-- Table structure for table `products`
--
CREATE TABLE `products` (
`id` int(10) NOT NULL,
`nama` varchar(50) NOT NULL,
`description` text NOT NULL,
`price` varchar(25) NOT NULL,
`stock` int(3) NOT NULL,
`image` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `products`
--
INSERT INTO `products` (`id`, `nama`, `description`, `price`, `stock`, `image`) VALUES
(11, 'Mauris Elementum', 'Limited Version', '3000000000', 1, '1.jpg'),
(12, '<NAME>', 'Limited Version', '3100000000', 1, '2.jpg'),
(13, '<NAME>', 'Limited Version', '2190000000', 1, '3.jpg'),
(14, '<NAME>', 'Limited Version', '2900000000', 1, '4.jpg'),
(15, 'Supercar', 'Limited Version', '3500000000', 1, '5.jpg'),
(16, 'lamborghini veneno', 'Special Version', '3600000000', 1, 'oldcar.jpg'),
(17, '<NAME>', 'Special Version', '5890000000', 1, 'Aston_Martin_Valkyrie.jpg'),
(18, '<NAME>', 'Special Version', '5800000000', 1, 'Lykan_Hypersport.jpg');
-- --------------------------------------------------------
--
-- Table structure for table `tbuser`
--
CREATE TABLE `tbuser` (
`id_user` int(11) NOT NULL,
`username` varchar(35) NOT NULL,
`password` varchar(35) NOT NULL,
`level` enum('siswa','guru','admin') NOT NULL,
`nama` varchar(100) NOT NULL,
`email` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `tbuser`
--
INSERT INTO `tbuser` (`id_user`, `username`, `password`, `level`, `nama`, `email`) VALUES
(10, 'admin', 'admin', 'siswa', 'admin', '<EMAIL>'),
(11, 'aulia', 'aulia', 'siswa', 'aulia', '<EMAIL>'),
(12, 'miftah', 'miftah', 'siswa', 'Miftah', 'mif<EMAIL>');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `groups`
--
ALTER TABLE `groups`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `products`
--
ALTER TABLE `products`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `tbuser`
--
ALTER TABLE `tbuser`
ADD PRIMARY KEY (`id_user`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `groups`
--
ALTER TABLE `groups`
MODIFY `id` tinyint(1) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT for table `products`
--
ALTER TABLE `products`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21;
--
-- AUTO_INCREMENT for table `tbuser`
--
ALTER TABLE `tbuser`
MODIFY `id_user` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
<reponame>Imperium/Dis
--
-- PostgreSQL database dump
--
SET statement_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = off;
SET check_function_bodies = false;
SET client_min_messages = warning;
SET escape_string_warning = off;
SET search_path = dis, pg_catalog;
--
-- Name: test_wrapper(text, text); Type: FUNCTION; Schema: dis; Owner: postgres
--
CREATE OR REPLACE FUNCTION test_wrapper(schema text, name text) RETURNS void
LANGUAGE plpgsql
AS $_$
/* Function: dis.test_wrapper(schema text, name text)
Description: Test wrapper to ensure an exception is thrown
Affects: Executes provided function
Arguments: schema (text): schema of the function
name (text): name of the function
Returns: void
*/
DECLARE
_schema text := schema;
_name text := name;
BEGIN
IF _schema !~* '_test$' THEN
_schema := _schema || '_test';
END IF;
IF _name !~* '^test_' THEN
_name := 'test_' || _name;
END IF;
EXECUTE 'SELECT ' || quote_ident(_schema) || '.' || quote_ident(_name) || '()';
RAISE EXCEPTION '[NONE][0][0][0]{}';
END;
$_$;
ALTER FUNCTION dis.test_wrapper(schema text, name text) OWNER TO postgres;
--
-- Name: FUNCTION test_wrapper(schema text, name text); Type: COMMENT; Schema: dis; Owner: postgres
--
COMMENT ON FUNCTION test_wrapper(schema text, name text) IS 'Test wrapper to ensure an exception is thrown (2012-03-15)';
--
-- PostgreSQL database dump complete
--
|
/*
Navicat MySQL Data Transfer
Source Server : 本地ROOT
Source Server Version : 50617
Source Host : localhost:3306
Source Database : lanb_web_be
Target Server Type : MYSQL
Target Server Version : 50617
File Encoding : 65001
Date: 2019-04-15 10:47:53
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for code_info
-- ----------------------------
DROP TABLE IF EXISTS `code_info`;
CREATE TABLE `code_info` (
`code_info_id` varchar(255) NOT NULL COMMENT '代码信息ID',
`code_type_id` varchar(255) DEFAULT NULL COMMENT '代码类型ID',
`name` varchar(255) DEFAULT NULL COMMENT '代码名',
`value` varchar(255) DEFAULT NULL COMMENT '代码值',
`sort` int(255) DEFAULT '0' COMMENT '排序',
PRIMARY KEY (`code_info_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of code_info
-- ----------------------------
INSERT INTO `code_info` VALUES ('122a3157be9c4bf1aa615bf3e0073d8c', 'status', '异常', '1', '0');
INSERT INTO `code_info` VALUES ('76d297c2b8b84f85b0e8954175185e7e', 'yesOrNo', '否', '0', '1');
INSERT INTO `code_info` VALUES ('831d632e5e134da9ba923b496407f04b', 'status', '正常', '0', '0');
INSERT INTO `code_info` VALUES ('90e3138704fd47778669ba91484ac17f', 'yesOrNo', '是', '1', '0');
INSERT INTO `code_info` VALUES ('a257ba2f09c54a9da9fc250522076a13', 'orderStatus', '已废弃', '4', '4');
INSERT INTO `code_info` VALUES ('b10703ab5753466bacae990569c3bc58', 'orderStatus', '待处理', '2', '2');
INSERT INTO `code_info` VALUES ('c0d29570c34d4af297d2d85a5cd63ab0', 'orderStatus', '待受理', '1', '1');
INSERT INTO `code_info` VALUES ('e5145294f4e542f5a917b0d1eed7cb37', 'orderStatus', '已完成', '3', '3');
-- ----------------------------
-- Table structure for code_type
-- ----------------------------
DROP TABLE IF EXISTS `code_type`;
CREATE TABLE `code_type` (
`code_type_id` varchar(255) NOT NULL DEFAULT '' COMMENT '代码类型ID',
`code_type_name` varchar(255) DEFAULT NULL COMMENT '代码类型名',
PRIMARY KEY (`code_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of code_type
-- ----------------------------
INSERT INTO `code_type` VALUES ('orderStatus', 'orderStatus');
INSERT INTO `code_type` VALUES ('status', 'status');
INSERT INTO `code_type` VALUES ('yesOrNo', 'yesOrNo');
-- ----------------------------
-- Table structure for config
-- ----------------------------
DROP TABLE IF EXISTS `config`;
CREATE TABLE `config` (
`config_id` varchar(255) NOT NULL COMMENT '配置ID',
`config_name` varchar(255) DEFAULT NULL COMMENT '配置名',
`config_value` varchar(255) DEFAULT NULL COMMENT '配置值',
`sort_no` int(11) DEFAULT '0' COMMENT '排序',
`create_date` datetime DEFAULT NULL COMMENT '创建时间',
`remark` varchar(255) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`config_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of config
-- ----------------------------
INSERT INTO `config` VALUES ('1', 'systemName', 'LanbWeb', '0', '2018-08-28 17:18:58', '系统名称');
INSERT INTO `config` VALUES ('2', 'uploadPath', '/upload', '0', '2018-10-18 11:48:49', '上传文件路径');
-- ----------------------------
-- Table structure for log
-- ----------------------------
DROP TABLE IF EXISTS `log`;
CREATE TABLE `log` (
`log_id` varchar(255) NOT NULL COMMENT '日志ID',
`log_type` varchar(255) DEFAULT NULL COMMENT '日志类型',
`log_source` varchar(255) DEFAULT NULL COMMENT '日志来源',
`log_content` varchar(255) DEFAULT NULL COMMENT '日志内容',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`log_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of log
-- ----------------------------
INSERT INTO `log` VALUES ('b9445a44811d4b56b3791b366f4203c8', 'LOGIN_FAILD', '0:0:0:0:0:0:0:1', '登录失败', '2019-02-13 17:08:17');
INSERT INTO `log` VALUES ('bfae625dfb7a4f2d958daf1d15b78afe', 'LOGIN_FAILD', '0:0:0:0:0:0:0:1', '登录失败', '2019-02-13 17:08:13');
-- ----------------------------
-- Table structure for menu
-- ----------------------------
DROP TABLE IF EXISTS `menu`;
CREATE TABLE `menu` (
`menu_id` varchar(255) NOT NULL COMMENT '菜单ID',
`menu_name` varchar(255) DEFAULT '' COMMENT '菜单名称',
`parent_menu_id` varchar(255) DEFAULT '' COMMENT '父菜单ID',
`menu_url` varchar(255) DEFAULT '' COMMENT '菜单地址',
`sort` int(11) DEFAULT '0' COMMENT '排序',
`visible` int(11) DEFAULT '0' COMMENT '是否可见',
PRIMARY KEY (`menu_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='菜单表';
-- ----------------------------
-- Records of menu
-- ----------------------------
INSERT INTO `menu` VALUES ('0dfa166cc12048c1b52d41f9bc088ac0', '日志管理', '2', 'log/logManager', '0', null);
INSERT INTO `menu` VALUES ('1', '会员中心', '', 'user', '1', null);
INSERT INTO `menu` VALUES ('10', '菜单设置', '2', 'pages/sys/menu/menuList.html', '2', '1');
INSERT INTO `menu` VALUES ('160f069b7b634bfb9cc180da3dfd5cc6', '机构管理', '2', '', '1', null);
INSERT INTO `menu` VALUES ('2', '系统设置', '', 'sys', '5', null);
INSERT INTO `menu` VALUES ('29827f4b8ee84dccac60852400a697f6', '会员管理', '1', 'user/userManager', '1', null);
INSERT INTO `menu` VALUES ('2a68d7f2e810416dace5cbff5fa26479', '代码信息', 'eb4bba91d1794771a2ddb89c7f4fb87a', 'codeInfo/codeInfoSetting', '4', null);
INSERT INTO `menu` VALUES ('30686dfdb7be4677b349342a66b75369', '机构管理', '160f069b7b634bfb9cc180da3dfd5cc6', 'org/orgManager', '0', null);
INSERT INTO `menu` VALUES ('3488cf3be05446cf84224dbf98026d1c', '消息管理', '2', 'msg/msgManager', '0', null);
INSERT INTO `menu` VALUES ('349cb244e3e64a0a92a6721879f624d4', '代码生成', '', '', '0', null);
INSERT INTO `menu` VALUES ('5ec948da02e3460d8aef006dcf837427', '用户角色管理', 'c96f059ac3374c519ee69943109b555b', 'roleUser/roleUserManager', '0', null);
INSERT INTO `menu` VALUES ('bc509ab9234d4793b0e86efd89a15e2d', '测试设置', '349cb244e3e64a0a92a6721879f624d4', 'pages/tables/data.html', '0', null);
INSERT INTO `menu` VALUES ('c96f059ac3374c519ee69943109b555b', '角色管理', '1', '', '0', null);
INSERT INTO `menu` VALUES ('cbf460c36a3b458bad8be774c4904564', '工单信息管理', '349cb244e3e64a0a92a6721879f624d4', 'ordersInfo/ordersInfoManager', '0', null);
INSERT INTO `menu` VALUES ('ea337b1ab99a4f8abf45e67829eb5cbb', '代码生成器', '349cb244e3e64a0a92a6721879f624d4', 'creater', '1', null);
INSERT INTO `menu` VALUES ('eb4bba91d1794771a2ddb89c7f4fb87a', '代码设置', '2', '', '4', null);
INSERT INTO `menu` VALUES ('efe548ea98e24854b9a60e5acd36a3f4', '角色设置', 'c96f059ac3374c519ee69943109b555b', 'role/roleManager', '0', null);
INSERT INTO `menu` VALUES ('f8ffee28176c482fb02252aa312169fb', '工单管理', '349cb244e3e64a0a92a6721879f624d4', 'orders/ordersManager', '0', null);
INSERT INTO `menu` VALUES ('fbc8d54cdb814d9781f3d27236beea53', '系统设置', '2', 'pages/sys/config/configList.html', '0', null);
-- ----------------------------
-- Table structure for msg
-- ----------------------------
DROP TABLE IF EXISTS `msg`;
CREATE TABLE `msg` (
`msg_id` varchar(255) NOT NULL COMMENT '消息ID',
`msg_title` varchar(255) DEFAULT NULL COMMENT '消息标题',
`msg_source` varchar(255) DEFAULT NULL COMMENT '消息来源',
`msg_destination` varchar(255) DEFAULT NULL COMMENT '消息目标',
`last_time` datetime DEFAULT NULL COMMENT '最后更新',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`msg_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of msg
-- ----------------------------
INSERT INTO `msg` VALUES ('1', '测试消息', 'admin', 'admin', '2018-08-31 17:11:00', '2018-08-31 17:11:00');
INSERT INTO `msg` VALUES ('2', '测试消息', 'admin', 'admin', '2018-08-31 17:11:00', '2018-08-31 17:11:00');
-- ----------------------------
-- Table structure for orders
-- ----------------------------
DROP TABLE IF EXISTS `orders`;
CREATE TABLE `orders` (
`orders_id` varchar(32) NOT NULL COMMENT '工单ID',
`orders_title` varchar(255) DEFAULT NULL COMMENT '工单标题',
`orders_status` tinyint(4) DEFAULT NULL COMMENT '工单状态',
`orders_info_id` varchar(32) DEFAULT NULL COMMENT '工单信息ID',
`create_user_id` varchar(32) DEFAULT NULL COMMENT '创建工单人ID',
`create_time` datetime DEFAULT NULL COMMENT '工单创建时间',
`last_time` datetime DEFAULT NULL COMMENT '工单更新时间',
PRIMARY KEY (`orders_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of orders
-- ----------------------------
INSERT INTO `orders` VALUES ('19ebf4ff-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('19f7216c-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1a080bc8-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1a134856-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1a1bccb7-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1a267606-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1a31aabb-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1a411100-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1a4bfe3d-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1a54e800-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1a628682-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1a694459-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1a721a3d-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1a7d10ae-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1a851d46-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1a9418f7-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1a9b3b32-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1aa2be26-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1aad86de-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1ab581ae-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1ac07aca-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1ac82ed9-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1ad1d545-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1adafc6c-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1ae64603-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1aee4a84-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1af794cb-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1b040454-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1b0bec00-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1b14e952-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1b1fc9bb-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1b29947e-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1b309a92-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1b3c23a1-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1b444736-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1b578a2b-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
INSERT INTO `orders` VALUES ('1b605a02-4701-11e9-9f95-f8a9639f', '1', '1', '1', '1', null, null);
-- ----------------------------
-- Table structure for orders_info
-- ----------------------------
DROP TABLE IF EXISTS `orders_info`;
CREATE TABLE `orders_info` (
`orders_info_id` varchar(32) NOT NULL COMMENT '工单信息ID',
`title` varchar(255) DEFAULT NULL COMMENT '工单标题',
`content` varchar(255) DEFAULT NULL COMMENT '工单内容',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
PRIMARY KEY (`orders_info_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of orders_info
-- ----------------------------
INSERT INTO `orders_info` VALUES ('1', '1', '1', '2019-03-15 16:12:31', '2019-03-15 16:12:29');
-- ----------------------------
-- Table structure for org
-- ----------------------------
DROP TABLE IF EXISTS `org`;
CREATE TABLE `org` (
`org_id` varchar(255) NOT NULL COMMENT '机构ID',
`org_name` varchar(255) DEFAULT NULL COMMENT '机构名',
`parent_org_id` varchar(255) DEFAULT NULL COMMENT '父机构ID',
`sort_no` int(11) DEFAULT '0' COMMENT '排序',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`org_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of org
-- ----------------------------
INSERT INTO `org` VALUES ('81a36528acea4791a5c044f19ad59d92', '居委会', '', '0', '2018-08-31 10:27:27');
-- ----------------------------
-- Table structure for role
-- ----------------------------
DROP TABLE IF EXISTS `role`;
CREATE TABLE `role` (
`role_id` varchar(255) NOT NULL COMMENT '角色ID',
`role_name` varchar(255) DEFAULT NULL COMMENT '角色名',
`options` varchar(255) DEFAULT NULL COMMENT '角色配置项',
`parent_role_id` varchar(255) DEFAULT NULL COMMENT '父角色ID',
`sort` int(11) DEFAULT NULL COMMENT '排序',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`role_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of role
-- ----------------------------
INSERT INTO `role` VALUES ('admin', 'admin', '', '', '0', '2018-08-29 23:22:12');
INSERT INTO `role` VALUES ('user', 'user', '', '', '0', '2018-08-29 23:22:12');
-- ----------------------------
-- Table structure for role_user
-- ----------------------------
DROP TABLE IF EXISTS `role_user`;
CREATE TABLE `role_user` (
`role_user_id` varchar(255) NOT NULL COMMENT '角色用户ID',
`role_id` varchar(255) DEFAULT NULL COMMENT '角色ID',
`user_id` varchar(255) DEFAULT NULL COMMENT '用户ID',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`role_user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of role_user
-- ----------------------------
INSERT INTO `role_user` VALUES ('512308ca81094211964e9354cafc842c', 'user', '21232f297a57a5a743894a0e4a801fc3', '2018-08-30 14:45:55');
INSERT INTO `role_user` VALUES ('cb23c830d5434f84aaec5bef0fc63465', 'admin', '21232f297a57a5a743894a0e4a801fc3', '2018-08-30 11:17:38');
-- ----------------------------
-- Table structure for test
-- ----------------------------
DROP TABLE IF EXISTS `test`;
CREATE TABLE `test` (
`test_id` varchar(255) NOT NULL COMMENT '测试ID',
`test_name` varchar(255) DEFAULT '' COMMENT '测试名',
`create_time` date DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`test_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of test
-- ----------------------------
INSERT INTO `test` VALUES ('01a0e54ec2b5425b83f978b249484b14', '测试143426734', '2018-08-22');
INSERT INTO `test` VALUES ('4b9c7ee627714288831175be110d030e', '测试数据2', '2018-07-06');
INSERT INTO `test` VALUES ('665c29626ce1400b9983cbbf6540d427', '测试-1345641338', '2018-08-13');
INSERT INTO `test` VALUES ('82c0b5e767b64511ae090898b0df69a6', '测试数据1', '2018-07-09');
INSERT INTO `test` VALUES ('83ae005933d249cb87ab5e6df52434df', '测试', '2018-08-30');
INSERT INTO `test` VALUES ('ae48f4d4b9de4bd588d601f9ecc3657f', '测试1635560001', '2018-08-13');
INSERT INTO `test` VALUES ('ba4db6145a8b466f9be0e72228dcbddd', '测试776799309', '2018-08-12');
INSERT INTO `test` VALUES ('babb8903f31740108fdb303d328852c7', '测试-1788136031', '2018-08-13');
INSERT INTO `test` VALUES ('ca147d48e27743998626bf8a3dd866c9', '测试-1444069085', '2018-08-12');
INSERT INTO `test` VALUES ('cffe7e85244f4811b9763f6ce5885d63', '测试-2064463233', '2018-08-13');
INSERT INTO `test` VALUES ('e0d229e6aa984161a738af1d94fb92fe', '1', '2018-08-11');
INSERT INTO `test` VALUES ('e1350c8c991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e1476f8e991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e153256b991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e162e2be991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e1706c6f991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e178b20b991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e1817e7d991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e18b66c4991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e193cb64991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e1a078a0991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e1a9ca8f991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e1b265f8991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e1bae5df991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e1c4e49f991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e1cd64ae991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e1d5dd35991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e1de2a86991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e1e6a3e8991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e1ef2a22991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e1f94ded991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e201defb991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e20a2a96991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e2127fda991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e21b003e991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e222cb92991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e22a3b2d991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e232c334991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e23b3a2e991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e2439b8f991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e24bede5991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e2560956991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
INSERT INTO `test` VALUES ('e25e9b86991b11e88384f8a9639f5919', '测试数据', '2018-07-06');
-- ----------------------------
-- Table structure for user
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
`user_id` varchar(255) NOT NULL COMMENT '用户ID',
`user_name` varchar(255) NOT NULL COMMENT '用户名',
`password` varchar(255) DEFAULT NULL COMMENT '密码',
`create_date` datetime DEFAULT NULL COMMENT '创建时间',
`last_date` datetime DEFAULT NULL COMMENT '最后修改',
`try_count` int(11) DEFAULT '0' COMMENT '尝试登录次数',
`enable` tinyint(4) DEFAULT '0' COMMENT '是否可用',
PRIMARY KEY (`user_id`,`user_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of user
-- ----------------------------
INSERT INTO `user` VALUES ('0ffe4877d7bd41e0986778862fdda5ed', 'anymouse', '2db7dc272caf9844f1677ec0b5be76d9', '2018-08-12 23:08:52', '2018-08-12 23:08:52', '0', '1');
INSERT INTO `user` VALUES ('21232f297a57a5a743894a0e4a801fc3', 'admin', '<PASSWORD>', '2018-07-31 23:34:18', '2018-07-31 23:34:16', '5', '1');
INSERT INTO `user` VALUES ('45fdc5a5fcc7405aba3bf790eeaae5e0', 'test', '098f6bcd4621d373cade4e832627b4f6', '2018-08-30 10:38:47', '2018-08-30 10:38:47', '2', '1');
|
<filename>static/sql/INSERT DATASETS.sql
INSERT INTO public."WebAXEL_dataset" (
nom,
date_ajout,
description,
dataset,
source,
nb_vues
)
VALUES
(
'Airport database',
NOW(),
'En janvier 2017, la base de données des aéroports OpenFlights contient plus de 10 000 aéroports, gares ferroviaires et terminaux de ferry dans le monde entier, comme le montre la carte ci-dessus. Chaque entrée contient les informations suivantes :
ID de l''aéroport Identificateur unique d''OpenFlights pour cet aéroport.
Nom Nom de l''aéroport. Peut ou non contenir le nom de la ville.
Ville Ville principale desservie par l''aéroport. Peut être épelé différemment du nom.
Pays Pays ou territoire où l''aéroport est situé. Voir countries.dat pour le renvoi aux codes de l''ISO 3166-1.
Code IATA à 3 lettres. Nul si non attribué/inconnu.
OACI Code OACI à 4 lettres.
Nul s''il n''est pas assigné.
Latitude Degrés décimaux, généralement à six chiffres significatifs. Négatif est le Sud, positif est le Nord.
Longitude Degrés décimaux, habituellement jusqu''à six chiffres significatifs. Négatif est l''ouest, positif est l''est.
Altitude En pieds.
Fuseau horaire Heures décalées par rapport à UTC. Les heures fractionnaires sont exprimées en décimales, par exemple, l''Inde est à 5,5.
DST Heure d''été. L''une des valeurs suivantes : E (Europe), A (US/Canada), S (Amérique du Sud), O (Australie), Z (Nouvelle-Zélande), N (aucune) ou U (inconnue). Voir aussi : Aide : Temps
Fuseau horaire de la base de données Tz Fuseau horaire au format "tz" (Olson), par exemple "America/Los_Angeles".
Type Type de l''aéroport. Valeur "airport" pour les aérogares, "station" pour les gares ferroviaires, "port" pour les gares maritimes et "unknown" si non connu. Dans airports.csv, seul le type=aéroport est inclus.
Source Source de ces données. " OurAirports " pour les données provenant de OurAirports, " Legacy " pour les anciennes données non appariées à OurAirports (surtout DAFIF), " User " pour les contributions des utilisateurs non vérifiées. Dans airports.csv, seule la source = NosAéroports est incluse.
Les données sont encodées en UTF-8.
Note : Les règles relatives à l''heure d''été changent d''une année à l''autre et d''un pays à l''autre. Les données actuelles sont une approximation pour 2009, construite au niveau du pays. La plupart des aéroports des régions sans DST dans les pays qui observent généralement le DST (p. ex. AL, HI aux États-Unis, NT, QL en Australie, certaines parties du Canada) sont marqués de façon incorrecte.',
'static/datasets/airports-extended.dat',
'https://openflights.org/data.html',
0
),
(
'Base officielle des codes postaux',
NOW(),
'Fichier de correspondance entre les codes communes (INSEE) et les codes postaux au format csv.
Ce fichier comprend :
Le code commune INSEE
Le nom de la commune
Le code postal
Le libellé d’acheminement
La ligne 5 de l''adresse (précision de l''ancienne commune ou du lieu-dit)
Il correspond aux codes postaux de France (métropole et DOM), ceux des TOM, ainsi que MONACO.
Note aux réutilisateurs: les contours géographiques des communes, à partir de leurs codes INSEE, sont aussi disponibles sur https://www.data.gouv.fr/fr/.
Vous découvrirez des formats de fichiers supplémentaires, des outils de visualisation et des API sur https://datanova.legroupe.laposte.fr.',
'static/datasets/laposte_hexasmal.csv',
'https://www.data.gouv.fr/en/datasets/base-officielle-des-codes-postaux/',
0
),
(
'Titanic : Apprendre du désastre par la machine',
NOW(),
'Le naufrage du Titanic est l''un des naufrages les plus tristement célèbres de l''histoire.
Le 15 avril 1912, lors de son premier voyage, le RMS Titanic, considéré comme " insubmersible ", a coulé après avoir heurté un iceberg. Malheureusement, il n''y avait pas assez de canots de sauvetage pour tout le monde à bord, ce qui a entraîné la mort de 1502 des 2224 passagers et membres d''équipage.
Bien qu''il y ait eu une certaine part de chance pour survivre, il semble que certains groupes de personnes aient eu plus de chances de survivre que d''autres.
Dans le cadre de ce défi, nous vous demandons de construire un modèle prédictif qui répond à la question : "À l''aide des données sur les passagers (nom, âge, sexe, classe socio-économique, etc.), vous devez construire un modèle prédictif qui répond à la question suivante : " Quelles sortes de personnes étaient plus susceptibles de survivre ?',
'static/datasets/titanic.csv',
'https://www.kaggle.com/c/titanic/data',
0
); |
SELECT distinct(title) from "movies"
join "ratings" ON ratings.movie_id=movies.id
JOIN "stars" ON movies.id=stars.movie_id
where stars.movie_id in (SELECT movie_id FROM "stars"
join "people" ON stars.person_id=people.id where people.name="<NAME>" ) ORDER BY ratings.rating DESC LIMIT 5 |
-- echelonews - postgres table definitions
-- User feedback
CREATE TABLE Feedback (
id SERIAL PRIMARY KEY, -- Feedback ID
account INTEGER NOT NULL, -- Account which produced the feedback
npaper INTEGER NOT NULL, -- Newspaper
score SMALLINT NOT NULL, -- Feedback score
FOREIGN KEY (account) REFERENCES Account(id),
FOREIGN KEY (npaper) REFERENCES Newspaper(id)
)
|
-- # Problem: https://www.hackerrank.com/challenges/more-than-75-marks/problem
-- # Score: 15
SELECT Name
FROM Students
WHERE Marks > 75
ORDER BY SUBSTR(Name, - 3), Id ASC;
|
-- phpMyAdmin SQL Dump
-- version 5.0.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jan 14, 2021 at 11:10 PM
-- Server version: 10.4.17-MariaDB
-- PHP Version: 8.0.0
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `tb_phpwebproject`
--
-- --------------------------------------------------------
--
-- Table structure for table `tb_admin.users`
--
CREATE TABLE `tb_admin.users` (
`id` int(11) NOT NULL,
`user` varchar(255) NOT NULL,
`password` varchar(255) NOT NULL,
`img` varchar(255) NOT NULL,
`name` varchar(100) NOT NULL,
`position` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `tb_admin.users`
--
INSERT INTO `tb_admin.users` (`id`, `user`, `password`, `img`, `name`, `position`) VALUES
(1, 'Admin', 'Admin', 'foto.png', '<NAME>', 2);
-- --------------------------------------------------------
--
-- Table structure for table `tb_admin.users_online`
--
CREATE TABLE `tb_admin.users_online` (
`id` int(11) NOT NULL,
`ip` varchar(255) NOT NULL,
`last_action` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- --------------------------------------------------------
--
-- Table structure for table `tb_admin.visits`
--
CREATE TABLE `tb_admin.visits` (
`id` int(11) NOT NULL,
`ip` varchar(255) NOT NULL,
`date` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `tb_admin.users`
--
ALTER TABLE `tb_admin.users`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `tb_admin.users_online`
--
ALTER TABLE `tb_admin.users_online`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `tb_admin.visits`
--
ALTER TABLE `tb_admin.visits`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `tb_admin.users`
--
ALTER TABLE `tb_admin.users`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `tb_admin.users_online`
--
ALTER TABLE `tb_admin.users_online`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `tb_admin.visits`
--
ALTER TABLE `tb_admin.visits`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
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 */;
|
WITH synced_user_numbers AS (
SELECT GREATEST(3, CEIL(percentile_cont(0.5) WITHIN GROUP (ORDER BY value))::int) AS median
FROM (
SELECT COUNT(u.*) AS value
FROM cities
LEFT JOIN users AS u
ON u.city_id = cities.id
WHERE u.synced
GROUP BY cities.id
) AS synced_user_counts
)
SELECT
b.id AS city_id,
co.day AS day,
co.challenge AS challenge,
COALESCE(SUM(bc.points), 0) AS points,
dense_rank() OVER (PARTITION BY co.day, co.challenge ORDER BY SUM(bc.points) DESC) AS rank,
COUNT(*) AS participating_users,
COUNT(*) >= (SELECT median FROM synced_user_numbers) AS complete
FROM cities AS b
LEFT JOIN users u
ON u.city_id = b.id
LEFT JOIN completions co
ON co.user_id = u.id
LEFT JOIN city_contributions bc
ON bc.completion_id = co.id
WHERE u.synced
GROUP BY b.id, co.day, co.challenge
ORDER BY day, challenge, points DESC;
|
<gh_stars>1-10
--liquibase formatted sql
--changeset tolkiana:3
INSERT INTO sizes (code, sort_order) VALUES ('X-SMALL', 1);
INSERT INTO sizes (code, sort_order) VALUES ('SMALL', 2);
INSERT INTO sizes (code, sort_order) VALUES ('MEDIUM', 3);
INSERT INTO sizes (code, sort_order) VALUES ('LARGE', 4);
INSERT INTO colors (code, name) VALUES ('30B2CF', 'Blue');
INSERT INTO colors (code, name) VALUES ('27C34D', 'Green');
INSERT INTO colors (code, name) VALUES ('C33327', 'Red');
INSERT INTO colors (code, name) VALUES ('F1F147', 'Yellow');
|
<reponame>flexsocialbox/una
-- TABLE: bx_convos_cmts
ALTER TABLE `bx_convos_cmts` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bx_convos_cmts` CHANGE `cmt_text` `cmt_text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
REPAIR TABLE `bx_convos_cmts`;
OPTIMIZE TABLE `bx_convos_cmts`;
-- TABLE: bx_convos_conv2folder
ALTER TABLE `bx_convos_conv2folder` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
REPAIR TABLE `bx_convos_conv2folder`;
OPTIMIZE TABLE `bx_convos_conv2folder`;
-- TABLE: bx_convos_conversations
ALTER TABLE `bx_convos_conversations` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bx_convos_conversations` CHANGE `text` `text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
REPAIR TABLE `bx_convos_conversations`;
OPTIMIZE TABLE `bx_convos_conversations`;
-- TABLE: bx_convos_files
ALTER TABLE `bx_convos_files` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bx_convos_files` CHANGE `remote_id` `remote_id` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bx_convos_files` CHANGE `path` `path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bx_convos_files` CHANGE `file_name` `file_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bx_convos_files` CHANGE `mime_type` `mime_type` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bx_convos_files` CHANGE `ext` `ext` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
REPAIR TABLE `bx_convos_files`;
OPTIMIZE TABLE `bx_convos_files`;
-- TABLE: bx_convos_folders
ALTER TABLE `bx_convos_folders` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bx_convos_folders` CHANGE `name` `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
REPAIR TABLE `bx_convos_folders`;
OPTIMIZE TABLE `bx_convos_folders`;
-- TABLE: bx_convos_photos_resized
ALTER TABLE `bx_convos_photos_resized` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bx_convos_photos_resized` CHANGE `remote_id` `remote_id` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bx_convos_photos_resized` CHANGE `path` `path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bx_convos_photos_resized` CHANGE `file_name` `file_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bx_convos_photos_resized` CHANGE `mime_type` `mime_type` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
ALTER TABLE `bx_convos_photos_resized` CHANGE `ext` `ext` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
REPAIR TABLE `bx_convos_photos_resized`;
OPTIMIZE TABLE `bx_convos_photos_resized`;
-- TABLE: bx_convos_views_track
ALTER TABLE `bx_convos_views_track` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
REPAIR TABLE `bx_convos_views_track`;
OPTIMIZE TABLE `bx_convos_views_track`;
|
<filename>coeus-db/coeus-db-sql/src/main/resources/org/kuali/coeus/coeus-sql/log/Release_2_0_logs/KRACOEUS-2657.sql
ALTER TABLE PROPOSAL
ADD ( FISCAL_MONTH VARCHAR2(2),
FISCAL_YEAR VARCHAR2(4));
commit; |
DROP DATABASE IF EXISTS barbqueue_db;
CREATE DATABASE barbqueue_db; |
<filename>orcas_integrationstest/tests/test_index_bitmap/tabellen_sqlplus/tabelle.sql
@@create_table tab_index "" "" "" "" "" ""
@@alter_table_add_column tab_index col_mod_ix_1 number(15) mandatory "" ""
@@create_index tab_index mod_bitmap_ix (col_mod_ix_1) bitmap "" "" "" ""
|
library BotulinumToxin version '1.0.0'
using FHIR version '4.0.0'
include FHIRHelpers version '4.0.0' called FHIRHelpers
//include otherLibrary version 'x.x' called otherLibrary
//codesystem codeSystemName : 'OID' version 'x.x'
//valueset valuesetName : 'OID' version 'x.x' codesystems{codeSystem1 , codeSystem2, etc}
//code codeName : 'OID' from codeSystemName display 'displayName'
//concept conceptName : {codeName1, codeName2, etc} display 'displayName'
//parameter parameterName (dataType or default value)
codesystem "ICD-10-CM": 'http://hl7.org/fhir/sid/icd-10-cm'
codesystem "LOINC": 'http://loinc.org'
codesystem "HCPCS": 'https://hcpcs.codes/'
codesystem "SNOMED-CT": 'http://snomed.info/sct'
codesystem "CPT": 'https://www.aapc.com/resources/medical-coding/cpt.aspx'
valueset "BotulinumToxin Diagnosis Codes": '2.16.840.1.113883.3.6037.1001.23.99.26'
valueset "Sialorrhea Diagnosis Codes": '2.16.840.1.113883.3.6037.1001.23.99.27'
valueset "Esophagoscopy Codes": '2.16.840.1.113883.3.6037.1001.23.99.28'
valueset "AnalFissure Codes": '2.16.840.1.113883.3.6037.1001.23.99.29'
valueset "Cystourethroscopy Codes": '2.16.840.1.113883.3.6037.1001.23.99.30'
valueset "Blepharospasm Codes": '2.16.840.1.113883.3.6037.1001.23.99.31'
valueset "CervicalDystonia Codes": '2.16.840.1.113883.3.6037.1001.23.99.32'
valueset "ChemodenervationOfOneExtremity Codes": '2.16.840.1.113883.3.6037.1001.23.99.33'
valueset "Hyperhidrosis Codes": '2.16.840.1.113883.3.6037.1001.23.99.34'
valueset "ExtraOcularMuscle Codes": '2.16.840.1.113883.3.6037.1001.23.99.35'
valueset "ChemodenervationOfNeckMuscle Codes": '2.16.840.1.113883.3.6037.1001.23.99.36'
valueset "MigraineWithoutAura Codes": '2.16.840.1.113883.3.6037.1001.23.99.48'
parameter "ServiceRequest" ServiceRequest
parameter "QuestionnaireResponse" QuestionnaireResponse
context Patient
define ServiceEncounter:
First([Encounter]E where 'Encounter/' + E.id.value = "ServiceRequest".encounter.reference.value)
define QualifiedConditions:
First([Condition]C
where exists(C.code.coding C where C in "BotulinumToxin Diagnosis Codes"))
define Esophagoscopy:
First([Condition]C
where exists(C.code.coding C where C in "Esophagoscopy Codes"))
define Sialorrhea:
First([Condition]C
where exists(C.code.coding C where C in "Sialorrhea Diagnosis Codes"))
define AnalFissure:
First([Condition]C
where exists(C.code.coding C where C in "AnalFissure Codes"))
define Cystourethroscopy:
First([Condition]C
where exists(C.code.coding C where C in "Cystourethroscopy Codes"))
define Blepharospasm:
First([Condition]C
where exists(C.code.coding C where C in "Blepharospasm Codes"))
define CervicalDystonia:
First([Condition]C
where exists(C.code.coding C where C in "CervicalDystonia Codes"))
define ChemodenervationOfOneExtremity:
First([Condition]C
where exists(C.code.coding C where C in "ChemodenervationOfOneExtremity Codes"))
define Hyperhidrosis:
First([Condition]C
where exists(C.code.coding C where C in "Hyperhidrosis Codes"))
define ExtraOcularMuscle:
First([Condition]C
where exists(C.code.coding C where C in "ExtraOcularMuscle Codes"))
define ChemodenervationOfNeckMuscle:
First([Condition]C
where exists(C.code.coding C where C in "ChemodenervationOfNeckMuscle Codes"))
define MigraineWithoutAura:
First([Condition]C
where exists(C.code.coding C where C in "MigraineWithoutAura Codes"))
define Headaches:
exists([Condition]C
where exists(C.code.coding C where C in "ChemodenervationOfNeckMuscle Codes"))
define Preclusion:
FHIRHelpers.ToQuantity("ServiceRequest".quantity as Quantity).value
define RelevantDiagnosis:
First("QualifiedConditions".code.coding).display.value
define TreatmentPerformed:
First([Procedure]P
where P.subject.reference.value = 'Patient/'+ "Patient".id.value
and P.status.value = 'completed'
and (P.performed as dateTime) begins after (Today()-1 year))
define IsTreatmentPerformed:
if ("TreatmentPerformed" = null)
then false
else true
define TreatmentFailed:
First("TreatmentPerformed".code.coding).display.value
|
<filename>distro/data/src/main/resources/ddls/apiman_h2.ddl
-- *********************************************************************
-- Update Database Script
-- *********************************************************************
-- Change Log: c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/master.xml
-- Ran at: 9/29/15 2:11 PM
-- Against: null@offline:h2?version=1.3&caseSensitive=true&changeLogFile=c:\Users\ewittman\git\apiman\apiman\distro\ddl/target/changelog/h2/databasechangelog.csv
-- Liquibase version: 3.4.1
-- *********************************************************************
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/000-apiman-manager-api.db.sequences.changelog.xml::1434723514712-2::apiman (generated)
CREATE SEQUENCE hibernate_sequence START WITH 999;
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/010-apiman-manager-api.db.tables.changelog.xml::1436469846462-1::apiman (generated)
CREATE TABLE client_versions (id BIGINT NOT NULL, created_by VARCHAR(255) NOT NULL, created_on TIMESTAMP NOT NULL, modified_by VARCHAR(255) NOT NULL, modified_on TIMESTAMP NOT NULL, published_on TIMESTAMP, retired_on TIMESTAMP, status VARCHAR(255) NOT NULL, version VARCHAR(255) NOT NULL, client_id VARCHAR(255), client_org_id VARCHAR(255), apikey VARCHAR(255) NOT NULL);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/010-apiman-manager-api.db.tables.changelog.xml::1436469846462-2::apiman (generated)
CREATE TABLE clients (id VARCHAR(255) NOT NULL, created_by VARCHAR(255) NOT NULL, created_on TIMESTAMP NOT NULL, description VARCHAR(512), name VARCHAR(255) NOT NULL, organization_id VARCHAR(255) NOT NULL);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/010-apiman-manager-api.db.tables.changelog.xml::1436469846462-3::apiman (generated)
CREATE TABLE auditlog (id BIGINT NOT NULL, created_on TIMESTAMP NOT NULL, data VARCHAR(2147483647), entity_id VARCHAR(255), entity_type VARCHAR(255) NOT NULL, entity_version VARCHAR(255), organization_id VARCHAR(255) NOT NULL, what VARCHAR(255) NOT NULL, who VARCHAR(255) NOT NULL);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/010-apiman-manager-api.db.tables.changelog.xml::1436469846462-4::apiman (generated)
CREATE TABLE contracts (id BIGINT NOT NULL, created_by VARCHAR(255) NOT NULL, created_on TIMESTAMP NOT NULL, clientv_id BIGINT, planv_id BIGINT, apiv_id BIGINT);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/010-apiman-manager-api.db.tables.changelog.xml::1436469846462-5::apiman (generated)
CREATE TABLE endpoint_properties (api_version_id BIGINT NOT NULL, value VARCHAR(255), name VARCHAR(255) NOT NULL);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/010-apiman-manager-api.db.tables.changelog.xml::1436469846462-6::apiman (generated)
CREATE TABLE gateways (id VARCHAR(255) NOT NULL, configuration VARCHAR(2147483647) NOT NULL, created_by VARCHAR(255) NOT NULL, created_on TIMESTAMP NOT NULL, description VARCHAR(512), modified_by VARCHAR(255) NOT NULL, modified_on TIMESTAMP NOT NULL, name VARCHAR(255) NOT NULL, type VARCHAR(255) NOT NULL);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/010-apiman-manager-api.db.tables.changelog.xml::1436469846462-7::apiman (generated)
CREATE TABLE memberships (id BIGINT NOT NULL, created_on TIMESTAMP, org_id VARCHAR(255), role_id VARCHAR(255), user_id VARCHAR(255));
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/010-apiman-manager-api.db.tables.changelog.xml::1436469846462-8::apiman (generated)
CREATE TABLE organizations (id VARCHAR(255) NOT NULL, created_by VARCHAR(255) NOT NULL, created_on TIMESTAMP NOT NULL, description VARCHAR(512), modified_by VARCHAR(255) NOT NULL, modified_on TIMESTAMP NOT NULL, name VARCHAR(255) NOT NULL);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/010-apiman-manager-api.db.tables.changelog.xml::1436469846462-9::apiman (generated)
CREATE TABLE pd_templates (policydef_id VARCHAR(255) NOT NULL, language VARCHAR(255), template VARCHAR(2048));
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/010-apiman-manager-api.db.tables.changelog.xml::1436469846462-10::apiman (generated)
CREATE TABLE permissions (role_id VARCHAR(255) NOT NULL, permissions INT);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/010-apiman-manager-api.db.tables.changelog.xml::1436469846462-11::apiman (generated)
CREATE TABLE plan_versions (id BIGINT NOT NULL, created_by VARCHAR(255) NOT NULL, created_on TIMESTAMP NOT NULL, locked_on TIMESTAMP, modified_by VARCHAR(255) NOT NULL, modified_on TIMESTAMP NOT NULL, status VARCHAR(255) NOT NULL, version VARCHAR(255) NOT NULL, plan_id VARCHAR(255), plan_org_id VARCHAR(255));
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/010-apiman-manager-api.db.tables.changelog.xml::1436469846462-12::apiman (generated)
CREATE TABLE plans (id VARCHAR(255) NOT NULL, created_by VARCHAR(255) NOT NULL, created_on TIMESTAMP NOT NULL, description VARCHAR(512), name VARCHAR(255) NOT NULL, organization_id VARCHAR(255) NOT NULL);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/010-apiman-manager-api.db.tables.changelog.xml::1436469846462-13::apiman (generated)
CREATE TABLE plugins (id BIGINT NOT NULL, artifact_id VARCHAR(255) NOT NULL, classifier VARCHAR(255), created_by VARCHAR(255) NOT NULL, created_on TIMESTAMP NOT NULL, description VARCHAR(512), group_id VARCHAR(255) NOT NULL, name VARCHAR(255) NOT NULL, type VARCHAR(255), version VARCHAR(255) NOT NULL, deleted BOOLEAN);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/010-apiman-manager-api.db.tables.changelog.xml::1436469846462-14::apiman (generated)
CREATE TABLE policies (id BIGINT NOT NULL, configuration VARCHAR(2147483647), created_by VARCHAR(255) NOT NULL, created_on TIMESTAMP NOT NULL, entity_id VARCHAR(255) NOT NULL, entity_version VARCHAR(255) NOT NULL, modified_by VARCHAR(255) NOT NULL, modified_on TIMESTAMP NOT NULL, name VARCHAR(255) NOT NULL, order_index INT NOT NULL, organization_id VARCHAR(255) NOT NULL, type VARCHAR(255) NOT NULL, definition_id VARCHAR(255) NOT NULL);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/010-apiman-manager-api.db.tables.changelog.xml::1436469846462-15::apiman (generated)
CREATE TABLE policydefs (id VARCHAR(255) NOT NULL, description VARCHAR(512) NOT NULL, form VARCHAR(255), form_type VARCHAR(255), icon VARCHAR(255) NOT NULL, name VARCHAR(255) NOT NULL, plugin_id BIGINT, policy_impl VARCHAR(255) NOT NULL, deleted BOOLEAN);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/010-apiman-manager-api.db.tables.changelog.xml::1436469846462-16::apiman (generated)
CREATE TABLE roles (id VARCHAR(255) NOT NULL, auto_grant BOOLEAN, created_by VARCHAR(255) NOT NULL, created_on TIMESTAMP NOT NULL, description VARCHAR(512), name VARCHAR(255));
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/010-apiman-manager-api.db.tables.changelog.xml::1436469846462-17::apiman (generated)
CREATE TABLE api_defs (id BIGINT NOT NULL, data BLOB, api_version_id BIGINT);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/010-apiman-manager-api.db.tables.changelog.xml::1436469846462-18::apiman (generated)
CREATE TABLE api_versions (id BIGINT NOT NULL, created_by VARCHAR(255) NOT NULL, created_on TIMESTAMP NOT NULL, definition_type VARCHAR(255), endpoint VARCHAR(255), endpoint_type VARCHAR(255), endpoint_ct VARCHAR(255), modified_by VARCHAR(255) NOT NULL, modified_on TIMESTAMP NOT NULL, public_api BOOLEAN NOT NULL, published_on TIMESTAMP, retired_on TIMESTAMP, status VARCHAR(255) NOT NULL, version VARCHAR(255), api_id VARCHAR(255), api_org_id VARCHAR(255));
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/010-apiman-manager-api.db.tables.changelog.xml::1436469846462-19::apiman (generated)
CREATE TABLE apis (id VARCHAR(255) NOT NULL, created_by VARCHAR(255) NOT NULL, created_on TIMESTAMP NOT NULL, description VARCHAR(512), name VARCHAR(255) NOT NULL, organization_id VARCHAR(255) NOT NULL, num_published INT);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/010-apiman-manager-api.db.tables.changelog.xml::1436469846462-20::apiman (generated)
CREATE TABLE api_gateways (api_version_id BIGINT NOT NULL, gateway_id VARCHAR(255) NOT NULL);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/010-apiman-manager-api.db.tables.changelog.xml::1436469846462-21::apiman (generated)
CREATE TABLE api_plans (api_version_id BIGINT NOT NULL, plan_id VARCHAR(255) NOT NULL, version VARCHAR(255) NOT NULL);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/010-apiman-manager-api.db.tables.changelog.xml::1436469846462-22::apiman (generated)
CREATE TABLE users (username VARCHAR(255) NOT NULL, email VARCHAR(255), full_name VARCHAR(255), joined_on TIMESTAMP);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/010-apiman-manager-api.db.tables.changelog.xml::1436469846462-23::apiman (generated)
CREATE TABLE downloads (id VARCHAR(255) NOT NULL, type VARCHAR(255), path VARCHAR(255), expires TIMESTAMP);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/050-apiman-manager-api.db.data.changelog.xml::1434686531709-1::apiman
INSERT INTO gateways (id, configuration, created_by, created_on, description, modified_by, modified_on, name, type) VALUES ('TheGateway', '$CRYPT::PmrNC1m25oGSO8fC3XnxKSepmQsbxEZCldn+hYi9bQ10m8m4tEOHYU7gz5w2hcY2cMRPB3Rw+4FZYoeX0n3qEvyk+2Yf+ym3nKw3UtmtHViHLibBzWPY+8OTtJlZVb8dA8yd0TMkiwqk1WGHLSbyjmQujZ07RBK9wkwDahYwQEw=', 'admin', '2015-06-18 17:56:58.083', 'This is the gateway.', 'admin', '2015-06-18 17:56:58.083', 'The Gateway', 'REST');
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/050-apiman-manager-api.db.data.changelog.xml::1434686531709-2::apiman
INSERT INTO pd_templates (policydef_id, language, template) VALUES ('IPWhitelistPolicy', NULL, 'Only requests that originate from the set of @{ipList.size()} configured IP address(es) will be allowed to invoke the managed API.');
INSERT INTO pd_templates (policydef_id, language, template) VALUES ('IPBlacklistPolicy', NULL, 'Requests that originate from the set of @{ipList.size()} configured IP address(es) will be denied access to the managed API.');
INSERT INTO pd_templates (policydef_id, language, template) VALUES ('BASICAuthenticationPolicy', NULL, 'Access to the API is protected by BASIC Authentication through the ''@{realm}'' authentication realm. @if{forwardIdentityHttpHeader != null}Successfully authenticated requests will forward the authenticated identity to the back end API via the ''@{forwardIdentityHttpHeader}'' custom HTTP header.@end{}');
INSERT INTO pd_templates (policydef_id, language, template) VALUES ('RateLimitingPolicy', NULL, 'Consumers are limited to @{limit} requests per @{granularity} per @{period}.');
INSERT INTO pd_templates (policydef_id, language, template) VALUES ('IgnoredResourcesPolicy', NULL, 'Requests matching any of the @{rules.size()} regular expressions provided will receive a 404 error code.');
INSERT INTO pd_templates (policydef_id, language, template) VALUES ('URLRewritingPolicy', NULL, 'Responses will be modified by finding all text matching regular expression ''@{fromRegex}'' with ''@{toReplacement}''.');
INSERT INTO pd_templates (policydef_id, language, template) VALUES ('CachingPolicy', NULL, 'API responses will be cached for @{ttl} seconds.');
INSERT INTO pd_templates (policydef_id, language, template) VALUES ('AuthorizationPolicy', NULL, 'Appropriate authorization roles are required. There are @{rules.size()} authorization rules defined.');
INSERT INTO pd_templates (policydef_id, language, template) VALUES ('QuotaPolicy', NULL, 'Consumers cannot exceed their quota of @{limit} requests per @{granularity} per @{period}.');
INSERT INTO pd_templates (policydef_id, language, template) VALUES ('TransferQuotaPolicy', NULL, 'Consumers are limited to transferring @{limit} bytes per @{granularity} per @{period}.');
INSERT INTO pd_templates (policydef_id, language, template) VALUES ('TimeRestrictedAccessPolicy', NULL, 'Requests matching the regular expression and made outside the specified time period will receive a 423 error code.');
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/050-apiman-manager-api.db.data.changelog.xml::1434686531709-3::apiman
INSERT INTO permissions (role_id, permissions) VALUES ('OrganizationOwner', 1);
INSERT INTO permissions (role_id, permissions) VALUES ('OrganizationOwner', 2);
INSERT INTO permissions (role_id, permissions) VALUES ('OrganizationOwner', 3);
INSERT INTO permissions (role_id, permissions) VALUES ('OrganizationOwner', 6);
INSERT INTO permissions (role_id, permissions) VALUES ('OrganizationOwner', 8);
INSERT INTO permissions (role_id, permissions) VALUES ('OrganizationOwner', 5);
INSERT INTO permissions (role_id, permissions) VALUES ('OrganizationOwner', 9);
INSERT INTO permissions (role_id, permissions) VALUES ('OrganizationOwner', 11);
INSERT INTO permissions (role_id, permissions) VALUES ('OrganizationOwner', 7);
INSERT INTO permissions (role_id, permissions) VALUES ('OrganizationOwner', 4);
INSERT INTO permissions (role_id, permissions) VALUES ('OrganizationOwner', 10);
INSERT INTO permissions (role_id, permissions) VALUES ('OrganizationOwner', 0);
INSERT INTO permissions (role_id, permissions) VALUES ('ClientAppDeveloper', 6);
INSERT INTO permissions (role_id, permissions) VALUES ('ClientAppDeveloper', 8);
INSERT INTO permissions (role_id, permissions) VALUES ('ClientAppDeveloper', 7);
INSERT INTO permissions (role_id, permissions) VALUES ('APIDeveloper', 3);
INSERT INTO permissions (role_id, permissions) VALUES ('APIDeveloper', 5);
INSERT INTO permissions (role_id, permissions) VALUES ('APIDeveloper', 9);
INSERT INTO permissions (role_id, permissions) VALUES ('APIDeveloper', 11);
INSERT INTO permissions (role_id, permissions) VALUES ('APIDeveloper', 4);
INSERT INTO permissions (role_id, permissions) VALUES ('APIDeveloper', 10);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/050-apiman-manager-api.db.data.changelog.xml::1434686531709-4::apiman
INSERT INTO policydefs (id, description, form, form_type, icon, name, plugin_id, policy_impl) VALUES ('IPWhitelistPolicy', 'Only requests that originate from a specified set of valid IP addresses will be allowed through.', NULL, 'Default', 'filter', 'IP Whitelist Policy', NULL, 'class:io.apiman.gateway.engine.policies.IPWhitelistPolicy');
INSERT INTO policydefs (id, description, form, form_type, icon, name, plugin_id, policy_impl) VALUES ('IPBlacklistPolicy', 'Requests that originate from a specified set of valid IP addresses will be denied access.', NULL, 'Default', 'thumbs-down', 'IP Blacklist Policy', NULL, 'class:io.apiman.gateway.engine.policies.IPBlacklistPolicy');
INSERT INTO policydefs (id, description, form, form_type, icon, name, plugin_id, policy_impl) VALUES ('BASICAuthenticationPolicy', 'Enables HTTP BASIC Authentication on an API. Some configuration required.', NULL, 'Default', 'lock', 'BASIC Authentication Policy', NULL, 'class:io.apiman.gateway.engine.policies.BasicAuthenticationPolicy');
INSERT INTO policydefs (id, description, form, form_type, icon, name, plugin_id, policy_impl) VALUES ('RateLimitingPolicy', 'Enforces rate configurable request rate limits on an API. This ensures that consumers can''t overload an API with too many requests.', NULL, 'Default', 'sliders', 'Rate Limiting Policy', NULL, 'class:io.apiman.gateway.engine.policies.RateLimitingPolicy');
INSERT INTO policydefs (id, description, form, form_type, icon, name, plugin_id, policy_impl) VALUES ('IgnoredResourcesPolicy', 'Requests satisfying the provided regular expression will be ignored.', NULL, 'Default', 'eye-slash', 'Ignored Resources Policy', NULL, 'class:io.apiman.gateway.engine.policies.IgnoredResourcesPolicy');
INSERT INTO policydefs (id, description, form, form_type, icon, name, plugin_id, policy_impl) VALUES ('URLRewritingPolicy', 'Responses from the back-end API will be modified by fixing up any incorrect URLs found with modified ones. This is useful because apiman works through an API Gateway.', NULL, 'Default', 'pencil-square', 'URL Rewriting Policy', NULL, 'class:io.apiman.gateway.engine.policies.URLRewritingPolicy');
INSERT INTO policydefs (id, description, form, form_type, icon, name, plugin_id, policy_impl) VALUES ('CachingPolicy', 'Allows caching of API responses in the Gateway to reduce overall traffic to the back-end API.', NULL, 'Default', 'hdd-o', 'Caching Policy', NULL, 'class:io.apiman.gateway.engine.policies.CachingPolicy');
INSERT INTO policydefs (id, description, form, form_type, icon, name, plugin_id, policy_impl) VALUES ('AuthorizationPolicy', 'Enables fine grained authorization to API resources based on authenticated user roles.', NULL, 'Default', 'users', 'Authorization Policy', NULL, 'class:io.apiman.gateway.engine.policies.AuthorizationPolicy');
INSERT INTO policydefs (id, description, form, form_type, icon, name, plugin_id, policy_impl) VALUES ('QuotaPolicy', 'Provides a way to limit the total number of requests that can be sent to an API.', NULL, 'Default', 'exchange', 'Quota Policy', NULL, 'class:io.apiman.gateway.engine.policies.QuotaPolicy');
INSERT INTO policydefs (id, description, form, form_type, icon, name, plugin_id, policy_impl) VALUES ('TransferQuotaPolicy', 'Provides a way to limit the total number of bytes that can be transferred from (or to) an API.', NULL, 'Default', 'download', 'Transfer Quota Policy', NULL, 'class:io.apiman.gateway.engine.policies.TransferQuotaPolicy');
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/050-apiman-manager-api.db.data.changelog.xml::1454276100000::apiman
INSERT INTO policydefs (id, description, form, form_type, icon, name, plugin_id, policy_impl) VALUES ('TimeRestrictedAccessPolicy', 'Requests matching the specified regular expression and made within the specified time period will be ignored.', NULL, 'Default', 'fa-clock-o', 'Time Restricted Access', NULL, 'class:io.apiman.gateway.engine.policies.TimeRestrictedAccessPolicy');
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/050-apiman-manager-api.db.data.changelog.xml::1434686531709-5::apiman
INSERT INTO roles (id, auto_grant, created_by, created_on, description, name) VALUES ('OrganizationOwner', TRUE, 'admin', '2015-06-18 17:56:57.496', 'Automatically granted to the user who creates an Organization. Grants all privileges.', 'Organization Owner');
INSERT INTO roles (id, auto_grant, created_by, created_on, description, name) VALUES ('ClientAppDeveloper', NULL, 'admin', '2015-06-18 17:56:57.632', 'Users responsible for creating and managing client apps should be granted this role within an Organization.', 'Client App Developer');
INSERT INTO roles (id, auto_grant, created_by, created_on, description, name) VALUES ('APIDeveloper', NULL, 'admin', '2015-06-18 17:56:57.641', 'Users responsible for creating and managing APIs should be granted this role within an Organization.', 'API Developer');
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/050-apiman-manager-api.db.data.changelog.xml::1434686531709-6::apiman
INSERT INTO users (username, email, full_name, joined_on) VALUES ('admin', '<EMAIL>', 'Admin', '2015-06-18 17:56:54.794');
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-23::apiman (generated)
ALTER TABLE endpoint_properties ADD PRIMARY KEY (api_version_id, name);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-24::apiman (generated)
ALTER TABLE api_gateways ADD PRIMARY KEY (api_version_id, gateway_id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-25::apiman (generated)
ALTER TABLE api_plans ADD PRIMARY KEY (api_version_id, plan_id, version);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-26::apiman (generated)
ALTER TABLE client_versions ADD CONSTRAINT client_versionsPK PRIMARY KEY (id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-27::apiman (generated)
ALTER TABLE clients ADD CONSTRAINT clientsPK PRIMARY KEY (id, organization_id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-28::apiman (generated)
ALTER TABLE auditlog ADD CONSTRAINT auditlogPK PRIMARY KEY (id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-29::apiman (generated)
ALTER TABLE contracts ADD CONSTRAINT contractsPK PRIMARY KEY (id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-30::apiman (generated)
ALTER TABLE gateways ADD CONSTRAINT gatewaysPK PRIMARY KEY (id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-31::apiman (generated)
ALTER TABLE memberships ADD CONSTRAINT membershipsPK PRIMARY KEY (id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-32::apiman (generated)
ALTER TABLE organizations ADD CONSTRAINT organizationsPK PRIMARY KEY (id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-33::apiman (generated)
ALTER TABLE plan_versions ADD CONSTRAINT plan_versionsPK PRIMARY KEY (id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-34::apiman (generated)
ALTER TABLE plans ADD CONSTRAINT plansPK PRIMARY KEY (id, organization_id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-35::apiman (generated)
ALTER TABLE plugins ADD CONSTRAINT pluginsPK PRIMARY KEY (id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-36::apiman (generated)
ALTER TABLE policies ADD CONSTRAINT policiesPK PRIMARY KEY (id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-37::apiman (generated)
ALTER TABLE policydefs ADD CONSTRAINT policydefsPK PRIMARY KEY (id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-38::apiman (generated)
ALTER TABLE roles ADD CONSTRAINT rolesPK PRIMARY KEY (id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-39::apiman (generated)
ALTER TABLE api_defs ADD CONSTRAINT api_defsPK PRIMARY KEY (id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-40::apiman (generated)
ALTER TABLE api_versions ADD CONSTRAINT api_versionsPK PRIMARY KEY (id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-41::apiman (generated)
ALTER TABLE apis ADD CONSTRAINT apisPK PRIMARY KEY (id, organization_id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-42::apiman (generated)
ALTER TABLE users ADD CONSTRAINT usersPK PRIMARY KEY (username);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-43::apiman (generated)
ALTER TABLE apis ADD CONSTRAINT FK_31hj3xmhp1wedxjh5bklnlg15 FOREIGN KEY (organization_id) REFERENCES organizations (id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-44::apiman (generated)
ALTER TABLE contracts ADD CONSTRAINT FK_6h06sgs4dudh1wehmk0us973g FOREIGN KEY (clientv_id) REFERENCES client_versions (id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-45::apiman (generated)
ALTER TABLE api_defs ADD CONSTRAINT FK_81fuw1n8afmvpw4buk7l4tyxk FOREIGN KEY (api_version_id) REFERENCES api_versions (id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-46::apiman (generated)
ALTER TABLE client_versions ADD CONSTRAINT FK_8epnoby31bt7xakegakigpikp FOREIGN KEY (client_id, client_org_id) REFERENCES clients (id, organization_id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-47::apiman (generated)
ALTER TABLE contracts ADD CONSTRAINT FK_8o6t1f3kg96rxy5uv51f6k9fy FOREIGN KEY (apiv_id) REFERENCES api_versions (id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-48::apiman (generated)
ALTER TABLE api_versions ADD CONSTRAINT FK_92erjg9k1lni97gd87nt6tq37 FOREIGN KEY (api_id, api_org_id) REFERENCES apis (id, organization_id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-49::apiman (generated)
ALTER TABLE endpoint_properties ADD CONSTRAINT FK_gn0ydqur10sxuvpyw2jvv4xxb FOREIGN KEY (api_version_id) REFERENCES api_versions (id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-50::apiman (generated)
ALTER TABLE clients ADD CONSTRAINT FK_jenpu34rtuncsgvtw0sfo8qq9 FOREIGN KEY (organization_id) REFERENCES organizations (id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-51::apiman (generated)
ALTER TABLE policies ADD CONSTRAINT FK_l4q6we1bos1yl9unmogei6aja FOREIGN KEY (definition_id) REFERENCES policydefs (id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-52::apiman (generated)
ALTER TABLE plans ADD CONSTRAINT FK_lwhc7xrdbsun1ak2uvfu0prj8 FOREIGN KEY (organization_id) REFERENCES organizations (id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-53::apiman (generated)
ALTER TABLE contracts ADD CONSTRAINT FK_nyw8xu6m8cx4rwwbtrxbjneui FOREIGN KEY (planv_id) REFERENCES plan_versions (id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-54::apiman (generated)
ALTER TABLE api_gateways ADD CONSTRAINT FK_p5dm3cngljt6yrsnvc7uc6a75 FOREIGN KEY (api_version_id) REFERENCES api_versions (id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-55::apiman (generated)
ALTER TABLE pd_templates ADD CONSTRAINT FK_prbnn7j7m6m3pxt2dsn9gwlw8 FOREIGN KEY (policydef_id) REFERENCES policydefs (id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-56::apiman (generated)
ALTER TABLE permissions ADD CONSTRAINT FK_sq51ihfrapwdr98uufenhcocg FOREIGN KEY (role_id) REFERENCES roles (id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-57::apiman (generated)
ALTER TABLE api_plans ADD CONSTRAINT FK_t7uvfcsswopb9kh8wpa86blqr FOREIGN KEY (api_version_id) REFERENCES api_versions (id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/100-apiman-manager-api.db.constraints.changelog.xml::1436469846462-58::apiman (generated)
ALTER TABLE plan_versions ADD CONSTRAINT FK_tonylvm2ypnq3efxqr1g0m9fs FOREIGN KEY (plan_id, plan_org_id) REFERENCES plans (id, organization_id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/110-apiman-manager-api.db.unique.constraints.changelog.xml::addUniqueConstraint-1::apiman
ALTER TABLE plugins ADD CONSTRAINT UK_plugins_1 UNIQUE (group_id, artifact_id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/110-apiman-manager-api.db.unique.constraints.changelog.xml::addUniqueConstraint-2::apiman
ALTER TABLE memberships ADD CONSTRAINT UK_memberships_1 UNIQUE (user_id, role_id, org_id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/110-apiman-manager-api.db.unique.constraints.changelog.xml::addUniqueConstraint-3::apiman
ALTER TABLE plan_versions ADD CONSTRAINT UK_plan_versions_1 UNIQUE (plan_id, plan_org_id, version);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/110-apiman-manager-api.db.unique.constraints.changelog.xml::addUniqueConstraint-4::apiman
ALTER TABLE client_versions ADD CONSTRAINT UK_client_versions_1 UNIQUE (client_id, client_org_id, version);
ALTER TABLE client_versions ADD CONSTRAINT UK_client_versions_2 UNIQUE (apikey);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/110-apiman-manager-api.db.unique.constraints.changelog.xml::addUniqueConstraint-5::apiman
ALTER TABLE api_versions ADD CONSTRAINT UK_api_versions_1 UNIQUE (api_id, api_org_id, version);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/110-apiman-manager-api.db.unique.constraints.changelog.xml::addUniqueConstraint-6::apiman
ALTER TABLE api_defs ADD CONSTRAINT UK_api_defs_1 UNIQUE (api_version_id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/110-apiman-manager-api.db.unique.constraints.changelog.xml::addUniqueConstraint-7::apiman
ALTER TABLE contracts ADD CONSTRAINT UK_contracts_1 UNIQUE (clientv_id, apiv_id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/200-apiman-manager-api.db.indexes.changelog.xml::createIndex-1::apiman
CREATE INDEX IDX_auditlog_1 ON auditlog(who);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/200-apiman-manager-api.db.indexes.changelog.xml::createIndex-2::apiman
CREATE INDEX IDX_auditlog_2 ON auditlog(organization_id, entity_id, entity_version, entity_type);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/200-apiman-manager-api.db.indexes.changelog.xml::createIndex-3::apiman
CREATE INDEX IDX_FK_pd_templates_1 ON pd_templates(policydef_id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/200-apiman-manager-api.db.indexes.changelog.xml::createIndex-4::apiman
CREATE INDEX IDX_users_1 ON users(username);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/200-apiman-manager-api.db.indexes.changelog.xml::createIndex-5::apiman
CREATE INDEX IDX_users_2 ON users(full_name);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/200-apiman-manager-api.db.indexes.changelog.xml::createIndex-6::apiman
CREATE INDEX IDX_FK_permissions_1 ON permissions(role_id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/200-apiman-manager-api.db.indexes.changelog.xml::createIndex-7::apiman
CREATE INDEX IDX_memberships_1 ON memberships(user_id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/200-apiman-manager-api.db.indexes.changelog.xml::createIndex-8::apiman
CREATE INDEX IDX_organizations_1 ON organizations(name);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/200-apiman-manager-api.db.indexes.changelog.xml::createIndex-9::apiman
CREATE INDEX IDX_FK_plans_1 ON plans(organization_id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/200-apiman-manager-api.db.indexes.changelog.xml::createIndex-10::apiman
CREATE INDEX IDX_FK_clients_1 ON clients(organization_id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/200-apiman-manager-api.db.indexes.changelog.xml::createIndex-11::apiman
CREATE INDEX IDX_apis_1 ON apis(name);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/200-apiman-manager-api.db.indexes.changelog.xml::createIndex-12::apiman
CREATE INDEX IDX_FK_apis_1 ON apis(organization_id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/200-apiman-manager-api.db.indexes.changelog.xml::createIndex-13::apiman
CREATE INDEX IDX_policies_1 ON policies(organization_id, entity_id, entity_version);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/200-apiman-manager-api.db.indexes.changelog.xml::createIndex-14::apiman
CREATE INDEX IDX_policies_2 ON policies(order_index);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/200-apiman-manager-api.db.indexes.changelog.xml::createIndex-15::apiman
CREATE INDEX IDX_FK_policies_1 ON policies(definition_id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/200-apiman-manager-api.db.indexes.changelog.xml::createIndex-16::apiman
CREATE INDEX IDX_FK_contracts_p ON contracts(planv_id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/200-apiman-manager-api.db.indexes.changelog.xml::createIndex-17::apiman
CREATE INDEX IDX_FK_contracts_s ON contracts(apiv_id);
-- Changeset c:/Users/ewittman/git/apiman/apiman/distro/ddl/src/main/liquibase/current/200-apiman-manager-api.db.indexes.changelog.xml::createIndex-18::apiman
CREATE INDEX IDX_FK_contracts_a ON contracts(clientv_id); |
create table t_user(
uId varchar(50) NOT NULL DEFAULT '0',
uName varchar(50),
uPwd varchar(50),
PRIMARY KEY (uId)
)
insert into t_user values('tI1','tOne','pJK');
insert into t_user values('tI2','Ta','Mkl');
|
-- Verify ggircs-portal:policies/form_result_status_policies on pg
begin;
select pg_get_functiondef('ggircs_portal_private.get_valid_form_result_status_applications()'::regprocedure);
-- ciip_administrator Policies
select ggircs_portal_private.verify_policy('select', 'ciip_administrator_select_form_result_status', 'form_result_status', 'ciip_administrator');
select ggircs_portal_private.verify_policy('insert', 'ciip_administrator_insert_form_result_status', 'form_result_status', 'ciip_administrator');
-- ciip_analyst Policies
select ggircs_portal_private.verify_policy('select', 'ciip_analyst_select_form_result_status', 'form_result_status', 'ciip_analyst');
select ggircs_portal_private.verify_policy('insert', 'ciip_analyst_insert_form_result_status', 'form_result_status', 'ciip_analyst');
-- ciip_industry_user Policies
select ggircs_portal_private.verify_policy('select', 'ciip_industry_user_select_form_result_status', 'form_result_status', 'ciip_industry_user');
select ggircs_portal_private.verify_policy('insert', 'ciip_industry_user_insert_form_result_status', 'form_result_status', 'ciip_industry_user');
rollback;
|
CREATE TABLE `users` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`email` varchar(255) DEFAULT NULL,
`auth_code` varchar(64) DEFAULT NULL,
`auth_code_exp` datetime DEFAULT NULL,
`last_login` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
CREATE TABLE `subscriptions` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`token` varchar(255) DEFAULT NULL,
`hub` varchar(255) DEFAULT NULL,
`topic` varchar(255) DEFAULT NULL,
`lease_seconds` int(11) DEFAULT NULL,
`date_created` datetime DEFAULT NULL,
`date_expires` datetime DEFAULT NULL,
`pending` tinyint(4) NOT NULL DEFAULT '0',
`date_subscription_requested` datetime DEFAULT NULL,
`date_subscription_confirmed` datetime DEFAULT NULL,
`subscription_response_code` int(11) DEFAULT NULL,
`subscription_response_body` text,
`notification_content_type` varchar(255) DEFAULT NULL,
`notification_content` blob,
`date_last_notification` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
CREATE TABLE `subscriber_hub` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`test` int(11) DEFAULT NULL,
`token` varchar(255) DEFAULT NULL,
`date_created` datetime DEFAULT NULL,
`callback` varchar(512) DEFAULT NULL,
`secret` varchar(255) DEFAULT NULL,
`date_expires` datetime DEFAULT NULL,
`active` tinyint(4) NOT NULL DEFAULT '0',
`challenge` varchar(255) DEFAULT NULL,
`challenge_response_code` int(11) DEFAULT NULL,
`challenge_response` blob,
`date_last_notified` datetime DEFAULT NULL,
`notification_response_code` int(11) DEFAULT NULL,
`notification_response` blob,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
CREATE TABLE `publishers` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(11) DEFAULT NULL,
`date_created` datetime DEFAULT NULL,
`input_url` varchar(255) DEFAULT NULL,
`content_type` varchar(255) DEFAULT NULL,
`hub_url` varchar(255) DEFAULT NULL,
`self_url` varchar(255) DEFAULT NULL,
`hub_source` varchar(255) DEFAULT NULL,
`self_source` varchar(255) DEFAULT NULL,
`http_links` text,
`body_links` text,
`hostmeta_links` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
CREATE TABLE `hubs` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(11) DEFAULT NULL,
`date_created` datetime DEFAULT NULL,
`token` varchar(20) DEFAULT NULL,
`url` varchar(255) DEFAULT NULL,
`topic` varchar(255) DEFAULT NULL,
`publisher` varchar(20) DEFAULT NULL,
`secret` varchar(20) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
CREATE TABLE `quotes` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`author` varchar(255) DEFAULT NULL,
`content` text,
`original_url` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1243 DEFAULT CHARSET=utf8mb4;
INSERT INTO `quotes` (`id`, `author`, `content`, `original_url`)
VALUES
(1, '<NAME>', 'If you must tell me your opinions, tell me what you believe in. I have plenty of douts of my own. ', 'http://forismatic.com/en/58ce707df9/'),
(2, '<NAME>', 'A healthy creative process should be able to give a coherent rationale to a client as to why you designed what you designed.', 'https://quotesondesign.com/von-glitschka-2/'),
(3, '<NAME>’eed', 'Things you think are obvious often aren’t, text you thought explained something doesn’t even get read, and generally speaking users do things they weren’t supposed to do. Even if the only user testing you ever do is asking some friends to use a site while you observe them, you’ll already be better for it.', 'https://quotesondesign.com/collis-ta%e2%80%99eed/'),
(4, '<NAME>', 'If you never venture outside the box, you will probably not be creative. But if you never get inside the box, you will certainly be stupid.', 'https://quotesondesign.com/christopher-peterson/'),
(5, '<NAME> ', 'By letting it go it all gets done. The world is won by those who let it go. But when you try and try. The world is beyond the winning.', 'http://forismatic.com/en/26b3b46ae0/'),
(6, '<NAME>, Jr.', 'Love is the only force capable of transforming an enemy into friend.', 'http://forismatic.com/en/dee35f2cd6/'),
(7, '<NAME>', 'Having a style is like being in jail.', 'https://quotesondesign.com/anthon-beeke/'),
(8, '<NAME>', 'What problem have you solved, ever, that was worth solving where you knew all the given information in advance? No problem worth solving is like that. In the real world; you have a surplus of information and you have to filter it or; you don’t have sufficient information and you have to go find some.', 'https://quotesondesign.com/dan-meyer/'),
(9, '<NAME>', 'A man who would letterspace lower case would steal sheep, <NAME> liked to say. If this wisdom needs updating, it is chiefly to say that a woman who would letterspace lower case would steal sheep as well.', 'https://quotesondesign.com/robert-bringhurst-2/'),
(10, '<NAME> ', 'Responsibility is not inherited, it is a choice that everyone needs to make at some point in their life.', 'http://forismatic.com/en/c4edc365b0/'),
(11, '<NAME>', 'Bad design is smoke, while good design is a mirror.', 'https://quotesondesign.com/juan-carlos-fernandez/'),
(12, '<NAME>', 'The modern artist is working with space and time, and expressing his feelings rather than illustrating.', 'https://quotesondesign.com/jackson-pollock/'),
(13, '<NAME>', 'Wherever a man turns he can find someone who needs him.', 'http://forismatic.com/en/3c148a474c/'),
(14, '<NAME>', 'The same hand can draw art for the sake of emotional expression and design that serves a purpose.', 'https://quotesondesign.com/raphael-henry/'),
(15, 'Channing', 'Error is discipline through which we advance.', 'http://forismatic.com/en/83bfd1e94c/'),
(16, 'Gombrowicz', 'Stop being afraid of your own pictures, stop worshiping art, treat it the Polish way, condescendingly, make it obedient, and then your originality will release itself in you, new roads will open in front of you and you will gain what is most valuable, most fertile: your own reality.', 'https://quotesondesign.com/gombrowicz/'),
(17, '<NAME>', 'If you have made mistakes, there is always another chance for you. You may have a fresh start any moment you choose.', 'http://forismatic.com/en/bd48553dae/'),
(18, '<NAME>', 'Every day I shall put my papers in order and every day I shall say farewell. And the real farewell, when it comes, will only be a small outward confirmation of what has been accomplished within me from day to day.', 'http://forismatic.com/en/9622aaf03c/'),
(19, 'Epictetus ', 'No man is free who is not master of himself.', 'http://forismatic.com/en/ab7b45ebb4/'),
(20, 'Apple Commercial', 'Here’s to the crazy ones. The misfits. The rebels. The troublemakers. The round pegs in the square holes.
The ones who see things differently. They’re not fond of rules. And they have no respect for the status quo. You can praise them, disagree with them, quote them, disbelieve them, glorify or vilify them.
About the only thing you can’t do is ignore them. Because they change things. They invent. They imagine. They heal. They explore. They create. They inspire. They push the human race forward.
Maybe they have to be crazy.
How else can you stare at an empty canvas and see a work of art? Or sit in silence and hear a song that’s never been written? Or gaze at a red planet and see a laboratory on wheels?
While some see them as the crazy ones, we see genius. Because the people who are crazy enough to think they can change the world, are the ones who do.', 'https://quotesondesign.com/apple-commercial/'),
(21, '<NAME>', 'A thing long expected takes the form of the unexpected when at last it comes.', 'http://forismatic.com/en/612811365c/'),
(22, '<NAME>', 'I say that flat is the new black; that 2D is the new avant-garde; that a surface doesn’t have to be ashamed of being a surface. Technology users of the world, unite: you have nothing to lose but your bas-relief buttons. Let us march forwards together, spurning chrome, into a cleaner, lighter future.', 'https://quotesondesign.com/steven-poole/'),
(23, 'Buddha', 'It is better to travel well than to arrive.', 'http://forismatic.com/en/6707459d52/'),
(24, ' <NAME>', 'Life is not measured by the breaths you take, but by its breathtaking moments.', 'http://forismatic.com/en/b7a5b109d7/'),
(25, '<NAME>', 'Most [clients] expect experience design to be a discrete activity, solving all their problems with a single functional specification or a single research study. It must be an ongoing effort, a process of continually learning about users, responding to their behaviors, and evolving the product or service.', 'https://quotesondesign.com/dan-brown/'),
(26, '<NAME>', 'It is never too late. Even if you are going to die tomorrow, keep yourself straight and clear and be a happy human being today.', 'http://forismatic.com/en/05bcc29e98/'),
(27, '<NAME>', 'The works must be conceived with fire in the soul, but executed with clinical coolness.', 'https://quotesondesign.com/joan-miro/'),
(28, '<NAME>', 'To be what we are, and to become what we are capable of becoming, is the only end of life.', 'http://forismatic.com/en/ab5cc88a65/'),
(29, '<NAME>', 'I think advertising is a brilliant concept that has been pooped upon by selfish marketers, resulting in corrupted motives and flawed execution.', 'https://quotesondesign.com/michael-mistretta/'),
(30, '<NAME>', 'Choosing a typeface is an act of subtlety, like casting an actor: the best person to play a gardener is somebody who looks like they might belong outdoors — not somebody who is covered in flowers and shrubbery.', 'https://quotesondesign.com/josh-collinsworth-4/'),
(31, '<NAME> ', 'When you get into a tight place and everything goes against you, till it seems as though you could not hang on a minute longer, never give up then, for that is just the place and time that the tide will turn.', 'http://forismatic.com/en/b176216064/'),
(32, '<NAME>', 'A failure is a man who has blundered but is not capable of cashing in on the experience.', 'http://forismatic.com/en/d74d7833cb/'),
(33, '<NAME>', 'Good Design:\n1. Fulfills its function.\n2. Respects its materials.\n3. Is suited to method of production.\n4. Combines these in imaginative expression.', 'https://quotesondesign.com/eliot-noyes/'),
(34, '<NAME>', 'Think outside the DIV.', 'https://quotesondesign.com/kristof-orts/'),
(35, '<NAME>', 'All great men are gifted with intuition. They know without reasoning or analysis, what they need to know.', 'http://forismatic.com/en/0c5bc535a9/'),
(36, '<NAME>', 'A good portfolio will get you an interview. A good attitude will get you a job.', 'https://quotesondesign.com/marty-amsler/'),
(37, '<NAME>', 'A fine quotation is a diamond on the finger of a man of wit, and a pebble in the hand of a fool.', 'http://forismatic.com/en/22f5af01ed/'),
(38, '<NAME>', 'Designers don’t actually solve problems. They work through them.', 'https://quotesondesign.com/marty-neumeier-4/'),
(39, 'Buddha', 'Every human being is the author of his own health or disease.', 'http://forismatic.com/en/bc55e4c5e6/'),
(40, '<NAME> ', 'Look back over the past, with its changing empires that rose and fell, and you can foresee the future, too.', 'http://forismatic.com/en/ef1bfe522b/'),
(41, '<NAME>', 'Graphic designers are, by and large, selfish and spoiled. They stubbornly control and individually design things that a generally smaller than them, perfecting to a level appreciated only by people like them. They don’t share and play well with others.', 'https://quotesondesign.com/wayne-hunt/'),
(42, '<NAME>', 'You can’t do better design with a computer, but you can speed up your work enormously.', 'https://quotesondesign.com/wim-crouwel/'),
(43, '<NAME>', 'Every man takes the limits of his own field of vision for the limits of the world.', 'http://forismatic.com/en/f4423300cc/'),
(44, '<NAME>', 'Go for it now. The future is promised to no one.', 'http://forismatic.com/en/a36791fab6/'),
(45, 'Coco Channel', 'There are people who have money and people who are rich.', 'http://forismatic.com/en/d74a42636e/'),
(46, '<NAME>', 'I loathe the phrase “no questions asked.” Great service is about communication, sincerity, and action – not blind automation.', 'https://quotesondesign.com/marshall-bonobos/'),
(47, '<NAME>', 'Think 8 hours, work 2 hours.', 'https://quotesondesign.com/mirko-ilic/'),
(48, '<NAME>', 'Colour does not add a pleasant quality to design – it reinforces it.', 'https://quotesondesign.com/pierre-bonnard/'),
(49, '<NAME>', 'Good ideas never go out of style.', 'https://quotesondesign.com/dale-harris/'),
(50, '<NAME>', 'The price of greatness is responsibility.', 'http://forismatic.com/en/de6412f217/'),
(51, '<NAME>', 'Nothing could be worse than the fear that one had given up too soon, and left one unexpended effort that might have saved the world.', 'http://forismatic.com/en/15f2f847c8/'),
(52, '<NAME>', 'Orient your UI around the job to be done — around the problem — and not the person. Then people who have that problem can fall in love with your product because it makes the problem go away, whether they are the first in line or the last person to hear about it.', 'https://quotesondesign.com/ryan-singer-2/'),
(53, '<NAME>', 'Love is the master key that opens the gates of happiness.', 'http://forismatic.com/en/247eed4540/'),
(54, '<NAME> ', 'Short words are best and the old words when short are best of all.', 'http://forismatic.com/en/95db153a66/'),
(55, '<NAME>', 'Simplicity does not mean want or poverty. It does not mean the absence of any decor, or absolute nudity. It only means that the decor should belong intimately to the design proper, and that anything foreign to it should be taken away.', 'https://quotesondesign.com/paul-jacques-grillo/'),
(56, '<NAME>', 'Mountains cannot be surmounted except by winding paths.', 'http://forismatic.com/en/d9df3ceb25/'),
(57, '<NAME>', 'Live through feeling and you will live through love. For feeling is the language of the soul, and feeling is truth.', 'http://forismatic.com/en/8270020f93/'),
(58, '<NAME>', 'Turning away bad clients can leave you feeling oddly guilty. They’re sort of like alcoholic or meth head cousins who force you, by their own bad behavior into denying them things you wouldn’t deny other people. You’re left feeling not quite yourself.', 'https://quotesondesign.com/carolyn-wood/'),
(59, '<NAME>', 'It’s art if it can’t be explained. It’s fashion if no one asks for an explanation. It’s design if it doesn’t need explanation.', 'https://quotesondesign.com/wouter-stokkel/'),
(60, '<NAME>', 'When I am down, [I am] not good at any work, including design work.', 'https://quotesondesign.com/stefan-sagmeister-3/'),
(61, '<NAME>', 'It’s not uncommon for designers to confuse a beautiful looking product with one that works beautifully.', 'https://quotesondesign.com/braden-kowitz/'),
(62, '<NAME> ', 'I believe that every person is born with talent.', 'http://forismatic.com/en/2144eee0e8/'),
(63, '<NAME> ', 'Id rather regret the things that I have done than the things that I have not done.', 'http://forismatic.com/en/f775b71bf9/'),
(64, '<NAME>', 'Everyone is a genius at least once a year. A real genius has his original ideas closer together.', 'http://forismatic.com/en/e0d26f67cc/'),
(65, '<NAME>', 'The creative person basically has two kinds of jobs: One is the sexy, creative kind. Second is the kind that pays the bills. Sometimes the task at hand covers both bases, but not often.', 'https://quotesondesign.com/derek-sivers/'),
(66, '<NAME>', 'I try to take my camera everywhere with me so that I’ll be ready when unicorns crapping rainbows come flying in from the heavens.', 'https://quotesondesign.com/robert-otani/'),
(67, '<NAME>', 'Creativity requires the courage to let go of certainties.', 'http://forismatic.com/en/bcd5bf811d/'),
(68, '<NAME>', 'Creativity often consists of merely turning up what is already there. Did you know that right and left shoes were thought up only a little more than a century ago?', 'https://quotesondesign.com/bernice-fitz-gibbon/'),
(69, '<NAME>', 'You are what you are seen to be.', 'https://quotesondesign.com/erik-spiekermann/'),
(70, '<NAME>', 'Setting an example is not the main means of influencing another, it is the only means.', 'http://forismatic.com/en/43e2f508bc/'),
(71, '<NAME>', 'Color is a creative element, not a trimming.', 'https://quotesondesign.com/piet-zwart-2/'),
(72, '<NAME>', 'Kindness is the golden chain by which society is bound together.', 'http://forismatic.com/en/a2d70b221f/'),
(73, '<NAME>', 'The dumbest mistake is viewing design as something you do at the end of the process to ‘tidy up’ the mess, as opposed to understanding it’s a ‘day one’ issue and part of everything.', 'https://quotesondesign.com/tom-peters-2/'),
(74, '<NAME>', 'Creativity is allowing yourself to make mistakes. Design is knowing which ones to keep.', 'https://quotesondesign.com/scott-adams/'),
(75, '<NAME>', 'To see takes time.', 'https://quotesondesign.com/georgia-okeeffe-2/'),
(76, '<NAME>', 'It’s not the paper’s fault that so much shit is printed.', 'https://quotesondesign.com/alejandro-magallanes/'),
(77, '<NAME>', 'There is nothing glamorous in what I do. I’m a working man. Perhaps I’m luckier than most in that I receive considerable satisfaction from doing useful work which I, and sometimes others, think is good.', 'https://quotesondesign.com/saul-bass-3/'),
(78, '<NAME>', 'You can observe a lot just by watching.', 'http://forismatic.com/en/cd4e6a000f/'),
(79, '<NAME> ', 'Life is movement-we breathe, we eat, we walk, we move!', 'http://forismatic.com/en/7107dc6f8f/'),
(80, 'Epictetus ', 'Freedom is the right to live as we wish.', 'http://forismatic.com/en/869baad7d9/'),
(81, '<NAME>', 'Everyone should carefully observe which way his heart draws him, and then choose that way with all his strength.', 'http://forismatic.com/en/5fd8353530/'),
(82, 'Socrates', 'The greatest way to live with honor in this world is to be what we pretend to be.', 'http://forismatic.com/en/afa40eaf51/'),
(83, '<NAME>', 'Good thoughts are no better than good dreams, unless they be executed.', 'http://forismatic.com/en/af06c242e8/'),
(84, '<NAME>', 'If I do my job well, the identity program will also clean up the image of the company, position it as being contemporary and keep it from ever looking dated.', 'https://quotesondesign.com/saul-bass-4/'),
(85, '<NAME>', 'The details are not the details. They make the design.', 'https://quotesondesign.com/charles-eames/'),
(86, '<NAME>', 'Good, fast, or cheap… pick two.', 'https://quotesondesign.com/old-adage/'),
(87, '<NAME>', 'Simplicity will stand out, while complexity will get lost in the crowd.', 'https://quotesondesign.com/kevin-barnett/'),
(88, '<NAME>', 'As an organizer I start from where the world is, as it is, not as I would like it to be.', 'http://forismatic.com/en/be04f87175/'),
(89, 'Aesop', 'No act of kindness, no matter how small, is ever wasted.', 'http://forismatic.com/en/1e36d35b18/'),
(90, '<NAME>', 'With type as with philosophy, music and food, it is better to have a little of the best than to be swamped with the derivative, the careless, the routine.', 'https://quotesondesign.com/robert-bringhurst-4/'),
(91, '<NAME>', 'The dream was always running ahead of me. To catch up, to live for a moment in unison with it, that was the miracle.', 'http://forismatic.com/en/422d38059e/'),
(92, '<NAME>', 'We explore promising avenues that, days later, become dead ends. Sometimes, we solve a month’s problem in an hour.', 'https://quotesondesign.com/cennydd-bowles/'),
(93, 'Sophocles', 'A short saying often contains much wisdom.', 'http://forismatic.com/en/243634f44e/'),
(94, 'The Professor (on Futurama)', 'Everything is possible, that’s what science is all about. No, that’s what’s being a Magical Elf is all about.', 'https://quotesondesign.com/the-professor-on-futurama/'),
(95, '<NAME> ', 'Listen to what you know instead of what you fear.', 'http://forismatic.com/en/211f8c7ff1/'),
(96, '<NAME>', 'From wonder into wonder existence opens.', 'http://forismatic.com/en/64c78b0fec/'),
(97, '<NAME>', 'Remember to always be yourself. Unless you suck.', 'https://quotesondesign.com/joss-whedon/'),
(98, '<NAME>', 'Few will have the greatness to bend history itself; but each of us can work to change a small portion of events, and in the total of all those acts will be written the history of this generation.', 'http://forismatic.com/en/76cd4cf45a/'),
(99, '<NAME>', 'What you fear is that which requires action to overcome.', 'http://forismatic.com/en/9bc76cc525/'),
(100, '<NAME>', 'To succeed, we must first believe that we can.', 'http://forismatic.com/en/78e93cb12d/'),
(101, '<NAME>', 'Designers are crazy and yet sane enough to know where to draw the line.', 'https://quotesondesign.com/benjamin-valbret/'),
(102, '<NAME>', 'Everything you are against weakens you. Everything you are for empowers you.', 'http://forismatic.com/en/33644fb5a0/'),
(103, '<NAME>', 'I rarely agree with what clients ask me to do.', 'https://quotesondesign.com/ross-lovegrove/'),
(104, '<NAME>', 'The best thing about the future is that it only comes one day at a time.', 'http://forismatic.com/en/377c56cb95/'),
(105, '<NAME>', 'Compassion and happiness are not a sign of weakness but a sign of strength.', 'http://forismatic.com/en/2fd1538860/'),
(106, '<NAME>', 'I’m creative because I did an icon navigation while everyone else on the planet sticks to words? No, it just means I didn’t want to stick to convention. If anything you can call it rebellious but certainly not creative.', 'https://quotesondesign.com/paul-scrivens/'),
(107, '<NAME>', 'Good design keeps the user happy, the manufacturer in the black and the aesthete unoffended.', 'https://quotesondesign.com/raymond-loewy/'),
(108, '<NAME>', 'It is not fair to ask of others what you are unwilling to do yourself.', 'http://forismatic.com/en/a6f159f751/'),
(109, '<NAME>', 'Typography has one plain duty before it and that is to convey information in writing. No argument or consideration can absolve typography from this duty.', 'https://quotesondesign.com/emil-ruder/'),
(110, '<NAME>', 'If you can’t solve a problem, it’s because you’re playing by the rules.', 'https://quotesondesign.com/paul-arden/'),
(111, '<NAME>', 'Imagination is the living power and prime agent of all human perception.', 'http://forismatic.com/en/884ba68015/'),
(112, '<NAME>', 'IF YOU MAKE EVERYTHING BOLD, NOTHING IS BOLD.', 'https://quotesondesign.com/art-webb/'),
(113, '<NAME> ', 'If you want a thing done well, do it yourself.', 'http://forismatic.com/en/28c3fab781/'),
(114, 'Cicero', 'Gratitude is not only the greatest of virtues, but the paren\'t of all the others.', 'http://forismatic.com/en/d0e260797c/'),
(115, '<NAME>', 'There is no failure except in no longer trying.', 'http://forismatic.com/en/3222d4570e/'),
(116, '<NAME>', 'If it’s a good idea and it gets you excited, try it, and if it bursts into flames, that’s going to be exciting too. People always ask, ‘What is your greatest failure?’ I always have the same answer—We’re working on it right now, it’s gonna be awesome!', 'https://quotesondesign.com/jim-coudal/'),
(117, '<NAME>', 'People grow through experience if they meet life honestly and courageously. This is how character is built.', 'http://forismatic.com/en/18076c6a52/'),
(118, '<NAME> ', 'The mark of your ignorance is the depth of your belief in injustice and tragedy. What the caterpillar calls the end of the world, the Master calls the butterfly.', 'http://forismatic.com/en/2cd5e4b356/'),
(119, '<NAME>', 'Miracles come in moments. Be ready and willing.', 'http://forismatic.com/en/b7babb1dea/'),
(120, '<NAME>', 'Of course design is about problem solving, but I cannot resist adding something personal.', 'https://quotesondesign.com/wim-crouwel-2/'),
(121, 'Aristotle', 'In all things of nature there is something of the marvellous.', 'http://forismatic.com/en/0d4a41c52f/'),
(122, '<NAME> ', 'Happiness is not something ready made. It comes from your own actions.', 'http://forismatic.com/en/713481147b/'),
(123, '<NAME>', 'If there is no struggle, there is no progress.', 'http://forismatic.com/en/19782c717f/'),
(124, '<NAME>', 'When typography is on point, words become images.', 'https://quotesondesign.com/shawn-lukas/'),
(125, '<NAME>', 'All difficult things have their origin in that which is easy, and great things in that which is small.', 'http://forismatic.com/en/4e011017f4/'),
(126, '<NAME>', 'Face what you think you believe and you will be surprised.', 'http://forismatic.com/en/187993d8e1/'),
(127, '<NAME>', 'I never let my schooling get in the way of my education.', 'https://quotesondesign.com/mark-twain-2/'),
(128, '<NAME>', 'Even large companies need small logos.', 'https://quotesondesign.com/tanner-christensen/'),
(129, '<NAME>', 'The only limit to our realization of tomorrow will be our doubts of today.', 'http://forismatic.com/en/308505ca42/'),
(130, '<NAME>', 'Very few people really see things unless theyve had someone in early life who made them look at things. And name them too. But the looking is primary, the focus.', 'http://forismatic.com/en/6a520967af/'),
(131, '<NAME>', 'At the end of the day, pretty colors make people drool.', 'https://quotesondesign.com/nathan-rice/'),
(132, '<NAME>', 'Your mind will answer most questions if you learn to relax and wait for the answer.', 'http://forismatic.com/en/8ddc1ca251/'),
(133, '<NAME>', 'Offend nobody, design for somebody.', 'https://quotesondesign.com/paul-boag/'),
(134, '<NAME>', 'If at first the idea is not absurd, then there is no hope for it.', 'https://quotesondesign.com/albert-einstein-5/'),
(135, '<NAME>', 'It takes confidence to throw work away … When people first start drawing, they’re often reluctant to redo parts that aren’t right … they convince themselves that the drawing is not that bad, really — in fact, maybe they meant it to look that way.', 'https://quotesondesign.com/paul-graham-2/'),
(136, '<NAME>', 'If it doesn’t sell it isn’t creative.', 'https://quotesondesign.com/david-ogilvy-5/'),
(137, '<NAME>', 'In business we do a great job learning and teaching the tools for optimizing our results (how to build), but not a lot of time exploring the tools that will help us understand the experience we should be creating (what we should build).', 'https://quotesondesign.com/kelsey-ruger/'),
(138, '<NAME>', 'Well done is better than well said.', 'http://forismatic.com/en/f6718c7728/'),
(139, '<NAME> ', 'All great achievements require time.', 'http://forismatic.com/en/4bc68270d8/'),
(140, '<NAME>', 'You have to be interested in culture to design for it.', 'https://quotesondesign.com/lorraine-wild/'),
(141, '<NAME>', 'Simplicity is not about making something without ornament, but rather about making something very complex, then slicing elements away, until you reveal the very essence.', 'https://quotesondesign.com/christoph-niemann/'),
(142, '<NAME>', 'By far the dominant reason for not releasing sooner was a reluctance to trade the dream of success for the reality of feedback.', 'https://quotesondesign.com/kent-beck/'),
(143, '<NAME>', 'You came here because we do this better than you, and part of that is letting our creatives be unproductive until they are.', 'https://quotesondesign.com/don-draper-2/'),
(144, '<NAME> ', 'If you would take, you must first give, this is the beginning of intelligence.', 'http://forismatic.com/en/c56dff928c/'),
(145, '<NAME>', 'Technology over technique produces emotionless design.', 'https://quotesondesign.com/daniel-mall/'),
(146, '<NAME>', 'Just as much as we see in others we have in ourselves.', 'http://forismatic.com/en/86a5390c75/'),
(147, '<NAME>', 'I don’t think that all people read in the same way. Today, entire generations are growing up watching MTV and playing video games and it is safe to assume that these people have a high degree of visual sophistication. and are not easily discouraged by a lens straightforward or ambiguous typography. On the contrary, they are attracted and enticed to read something because of visual richness.', 'https://quotesondesign.com/ruby-vanderlans/'),
(148, '<NAME> ', 'Silences make the real conversations between friends. Not the saying but the never needing to say is what counts.', 'http://forismatic.com/en/f10bd05d2a/'),
(149, '<NAME>', 'Good communication is as stimulating as black coffee, and just as hard to sleep after.', 'https://quotesondesign.com/anne-morrow-lindbergh/'),
(150, 'Buddha', 'Happiness comes when your work and words are of benefit to yourself and others.', 'http://forismatic.com/en/25a2423667/'),
(151, '<NAME>', 'Y’all talk about UX like it’s just another feature. For a user, it literally is the product. Full stop. Everything else is inside baseball.', 'https://quotesondesign.com/startup-l-jackson/'),
(152, '<NAME>', 'You can tell whether a man is clever by his answers. You can tell whether a man is wise by his questions.', 'http://forismatic.com/en/f5b935d4d7/'),
(153, '<NAME> ', 'Be less curious about people and more curious about ideas.', 'http://forismatic.com/en/a562642f67/'),
(154, '<NAME>', 'Designing something is like having a baby. Asking me to try another design once I’ve birthed something amazing is like asking me to put the baby back in the womb and try again. That never works out for anyone.', 'https://quotesondesign.com/chad-mcmillan/'),
(155, 'Buddha', 'You, yourself, as much as anybody in the entire universe, deserve your love and affection.', 'http://forismatic.com/en/85601a4359/'),
(156, '<NAME>', 'I never think of the future. It comes soon enough.', 'http://forismatic.com/en/8db9603cdb/'),
(157, '<NAME>', 'By living deeply in the present moment we can understand the past better and we can prepare for a better future.', 'http://forismatic.com/en/2c50be96f5/'),
(158, '<NAME>', 'If a man does his best, what else is there?', 'http://forismatic.com/en/d39967f8b9/'),
(159, '<NAME>', 'Any product that needs a manual to work is broken.', 'https://quotesondesign.com/elon-musk/'),
(160, '<NAME>', 'Difficulties increase the nearer we get to the goal.', 'http://forismatic.com/en/8a06358e88/'),
(161, '<NAME>', 'If I had more time, I would have written a shorter letter.', 'https://quotesondesign.com/marcus-t-cicero/'),
(162, '<NAME>', 'Practice safe design: Use a concept.', 'https://quotesondesign.com/petrula-vrontikis/'),
(163, '<NAME>', 'We tend to forget there’s more to design than designing.', 'https://quotesondesign.com/justin-ahrens-2/'),
(164, '<NAME>', 'Getting addicted to design is bad for design.', 'https://quotesondesign.com/andy-altmann/'),
(165, '<NAME>', 'The thing that’s so wonderful about using beautiful, appropriate tools is that they become an extension of you, your body, you fingertips, and your mind. They get out of the way and let you directly interact with the problem you are solving. Everyone’s tried to remove a screw without a screwdriver; a task quickly becomes impossible that otherwise would be trivial.', 'https://quotesondesign.com/luke-crawford/'),
(166, '<NAME>', 'I have no data yet. It is a capital mistake to theorize before one has data. Insensibly one begins to twist facts to suit theories, instead of theories to suit facts.', 'https://quotesondesign.com/sherlock-holmes-2/'),
(167, ' <NAME>', 'True silence is the rest of the mind; it is to the spirit what sleep is to the body, nourishment and refreshment.', 'http://forismatic.com/en/21d6adc842/'),
(168, '<NAME>', 'It is a pretty recognizable brand name. Originally it was “Jerry’s Guide to the World Wide Web” but we settled on “Yahoo”.', 'https://quotesondesign.com/jerry-yang/'),
(169, '<NAME>', 'Blaze with the fire that is never extinguished.', 'http://forismatic.com/en/55d597b395/'),
(170, '<NAME>', 'Gratitude makes sense of our past, brings peace for today, and creates a vision for tomorrow.', 'http://forismatic.com/en/55a4b0da3e/'),
(171, '<NAME>', 'Good design is obvious. Great design is transparent.', 'https://quotesondesign.com/joe-sparano/'),
(172, '<NAME>', 'Let us revere, let us worship, but erect and open-eyed, the highest, not the lowest; the future, not the past!', 'http://forismatic.com/en/34d60ce121/'),
(173, '<NAME>', 'Instead of searching for inspiration, how about you search out someone to inspire.', 'https://quotesondesign.com/tony-kim/'),
(174, '<NAME>', 'How wonderful it is that nobody need wait a single moment before starting to improve the world.', 'http://forismatic.com/en/c5e8b9d2b2/'),
(175, '<NAME>', 'You can be misunderstood exactly once. After that, you are not being misunderstood; you are communicating poorly.', 'https://quotesondesign.com/josh-collinsworth-2/'),
(176, '<NAME>', 'Being able to take ideas and transform them into something tangible is life-affirming.', 'https://quotesondesign.com/melinda-santillian/'),
(177, '<NAME>', 'The easy, conversational tone of good writing comes only on the eighth rewrite.', 'https://quotesondesign.com/paul-graham/'),
(178, '<NAME>', 'A weed is no more than a flower in disguise.', 'http://forismatic.com/en/b438333dfa/'),
(179, '<NAME>', 'The ability to change on a dime is one thing small teams have by default that big teams can never have. This is where the big guys envy the little guys. What might take a big team in a huge organization weeks to change may only take a day in a small, lean organization. That advantage is priceless.', 'https://quotesondesign.com/andrew-hunt/'),
(180, 'Cicero', 'We must not say every mistake is a foolish one.', 'http://forismatic.com/en/fd229712d5/'),
(181, '<NAME>', 'Before you can inspire with emotion, you must be swamped with it yourself. Before you can move their tears, your own must flow. To convince them, you must yourself believe.', 'http://forismatic.com/en/f440d9988b/'),
(182, '<NAME>', 'Says who? Just so you know, the people who talk that way think that monkeys can do this. They take all this monkey crap and just stick it in a briefcase completely unaware that their success depends on something more than their shoeshine. YOU are the product. You- FEELING something. That’s what sells. Not them. Not sex. They can’t do what we do, and they hate us for it.', 'https://quotesondesign.com/don-draper-3/'),
(183, 'Buddha ', 'Just as treasures are uncovered from the earth, so virtue appears from good deeds, and wisdom appears from a pure and peaceful mind. To walk safely through the maze of human life, one needs the light of wisdom and the guidance of virtue.', 'http://forismatic.com/en/235741689e/'),
(184, '<NAME>', 'The simplest way to achieve simplicity is through thoughtful reduction.', 'https://quotesondesign.com/john-maeda-3/'),
(185, '<NAME>', 'I love designing, it is something which permeates my whole living, whether it is simply choosing the colour of my clothes in the morning or organising my household. Design to me is akin to beauty, an externalisation of my inner process regarding beauty & contentment with life.', 'https://quotesondesign.com/martine-moeykens/'),
(186, '<NAME>', 'It is far better to adapt the technology to the user than to force the user to adapt to the technology.', 'https://quotesondesign.com/larry-marine/'),
(187, 'Epictetus', 'It is impossible for a man to learn what he thinks he already knows.', 'http://forismatic.com/en/dae0e2ae85/'),
(188, '<NAME>', 'Perfection is boring. Getting better is where all the fun is.', 'https://quotesondesign.com/dragos-roua/'),
(189, '<NAME> ', 'Remember that failure is an event, not a person.', 'http://forismatic.com/en/7ad0dd7923/'),
(190, '<NAME>', 'I have always thought the actions of men the best interpreters of their thoughts.', 'http://forismatic.com/en/14c67bea3c/'),
(191, '<NAME>', 'Nature is a mutable cloud which is always and never the same.', 'http://forismatic.com/en/ad133abc8a/'),
(192, 'Epictetus', 'No great thing is created suddenly.', 'https://quotesondesign.com/epictetus/'),
(193, '<NAME>', 'A hunch is creativity trying to tell you something.', 'https://quotesondesign.com/frank-capra/'),
(194, '<NAME>', 'When deeds and words are in accord, the whole world is transformed.', 'http://forismatic.com/en/8797cb2677/'),
(195, '<NAME>', 'Design is intelligence made visible.', 'https://quotesondesign.com/alina-wheeler/'),
(196, '<NAME>', 'The sudden hunch, the creative leap of mind that “sees” in a flash how to solve a problem in a simple way, is something quite different from general intelligence.', 'https://quotesondesign.com/martin-gardner/'),
(197, '<NAME>', 'When you realize there is nothing lacking, the whole world belongs to you.', 'http://forismatic.com/en/ab48081943/'),
(198, '<NAME>', 'To create anything–whether a short story or a magazine profile or a film or a sitcom–is to believe, if only momentarily, you are capable of magic.', 'https://quotesondesign.com/tom-bissel/'),
(199, '<NAME>', 'Smart people learn from their mistakes. But the real sharp ones learn from the mistakes of others.', 'https://quotesondesign.com/brandon-mull/'),
(200, '<NAME>', 'I didn’t get into design to be an artist. To me, an artist creates things to evoke emotion. Being a designer goes a step further than that, not only trying to evoke emotion but trying to make a reaction. It is very objective-driven, and that’s what makes it interesting.', 'https://quotesondesign.com/mike-davidson/'),
(201, '<NAME>', 'Design is the fundamental soul of a human-made creation that ends up expressing itself in successive outer layers of the product or service.', 'https://quotesondesign.com/steve-jobs-2/'),
(202, '<NAME>', 'A life spent making mistakes is not only more honourable but more useful than a life spent in doing nothing.', 'http://forismatic.com/en/fe0787360e/'),
(203, '<NAME> ', 'To love someone deeply gives you strength. Being loved by someone deeply gives you courage.', 'http://forismatic.com/en/8cb555661d/'),
(204, '<NAME>', 'Good design goes to heaven; bad design goes everywhere.', 'https://quotesondesign.com/mieke-gerritzen/'),
(205, '<NAME>', 'We are not artists or poets. We are artisans and craftsmen. Our products solve problems. They do not hang on museum walls.', 'https://quotesondesign.com/dan-lacivita/'),
(206, '<NAME>', 'Never stand still. If you stand still, you get lost, because someone else is always moving.', 'https://quotesondesign.com/armin-vit/'),
(207, '<NAME>', 'The free man is he who does not fear to go to the end of his thought.', 'http://forismatic.com/en/01d6c53131/'),
(208, '<NAME>', 'If you see a few lines of atrocious code, you can make a judgement about the programmer. By judging the programmer, you can judge his boss, and by judging his boss you can judge the company. That’s the nature of fractals.', 'https://quotesondesign.com/des-traynor/'),
(209, '<NAME>', 'Standards are like sex; one mistake, and you’re stuck supporting it forever!', 'https://quotesondesign.com/mark-pilgrim/'),
(210, '<NAME>', 'Design is more about the process than it is about the resulting prettiness.', 'https://quotesondesign.com/melissa-sisco/'),
(211, '<NAME>', 'To make pearls, you’ve got to eat dirt.', 'https://quotesondesign.com/frank-chimero-3/'),
(212, '<NAME> ', 'Most great people have attained their greatest success just one step beyond their greatest failure.', 'http://forismatic.com/en/d6fd87683a/'),
(213, '<NAME>', 'We know what we are, but know not what we may be.', 'http://forismatic.com/en/2e0215de05/'),
(214, '<NAME>', 'Trusting our intuition often saves us from disaster.', 'http://forismatic.com/en/7e78f2a9f3/'),
(215, '<NAME>', 'All the magic, be it in code or design, starts with a clear mind, pen and a blank paper.', 'https://quotesondesign.com/brian-wangila/'),
(216, '<NAME>', 'The challenge is for the graphic designer to turn data into information and information into messages of meaning.', 'https://quotesondesign.com/katherine-mccoy/'),
(217, '<NAME>', 'Innovation leads one to see the new in the old and distinguishes the ingenious from the ingenuous.', 'https://quotesondesign.com/paul-rand-12/'),
(218, '<NAME>', 'Simplicity is not the goal. It is the by-product of a good idea and modest expectations.', 'https://quotesondesign.com/paul-rand-2/'),
(219, 'Buddha', 'Better than a thousand hollow words, is one word that brings peace.', 'http://forismatic.com/en/0d8ff28195/'),
(220, '<NAME>', 'I recently saw another demonstration of graphic design’s ubiquity. Someone had taken a series of photographs of busy streets and then painstakingly removed all the logos, symbols, signs, colours, street names and road markings. In other words, they had removed all the graphic design from these photographs. The results were staggering. A world without graphic design is an unrecognizable world — more alien than all but the most extreme sci-fi imaginings.', 'https://quotesondesign.com/adrian-shaughnessy-2/'),
(221, '<NAME> ', 'What lies behind us and what lies before us are tiny matters compared to what lies within us.', 'http://forismatic.com/en/e6e4e4f790/'),
(222, '<NAME>', 'People think that design is styling. Design is not style. It’s not about giving shape to the shell and not giving a damn about the guts. Good design is a renaissance attitude that combines technology, cognitive science, human need, and beauty to produce something that the world didn’t know it was missing.', 'https://quotesondesign.com/paola-antonelli/'),
(223, '<NAME>', 'Fashion is a form of ugliness so intolerable that we have to alter it every six months.', 'https://quotesondesign.com/oscar-wilde-2/'),
(224, 'Amiel', 'Without passion man is a mere latent force and possibility, like the flint which awaits the shock of the iron before it can give forth its spark.', 'http://forismatic.com/en/de94e2fcc7/'),
(225, 'Confucius ', 'If you look into your own heart, and you find nothing wrong there, what is there to worry about? What is there to fear?', 'http://forismatic.com/en/10381bfcc2/'),
(226, '<NAME>', 'The next time you see a sixteen-color, blind-embossed, gold-stamped, die-cut, elaborately folded and bound job, printed on handmade paper, see if it isn’t a mediocre idea trying to pass for something else.', 'https://quotesondesign.com/milton-glaser-3/'),
(227, '<NAME>', 'Life is the flower for which love is the honey.', 'http://forismatic.com/en/b6f5442116/'),
(228, '<NAME>', 'It’s quicker to hate on a design picking out all the little things that should have done than to just do something great yourself.', 'https://quotesondesign.com/tom-watson/'),
(229, '<NAME>', 'Most of the mediocre design today comes from designers who are faithfully doing as they were taught in school: they worship at the altar of the visual.', 'https://quotesondesign.com/michael-bierut-3/'),
(230, '<NAME>', 'The nature of space reflects what it wants to be.', 'https://quotesondesign.com/louis-kahn/'),
(231, '<NAME>', 'Meaning is not what you start with but what you end up with.', 'http://forismatic.com/en/437d42a707/'),
(232, '<NAME> ', 'How wonderful that we have met with a paradox. Now we have some hope of making progress.', 'http://forismatic.com/en/f6b3b8c454/'),
(233, '<NAME>', 'Design is an opportunity to continue telling the story, not just to sum everything up.', 'https://quotesondesign.com/tate-linden/'),
(234, '<NAME>', 'Parents can only give good advice or put them on the right paths, but the final forming of a persons character lies in their own hands.', 'http://forismatic.com/en/28ef402da0/'),
(235, '<NAME>', 'There are two primary choices in life: to accept conditions as they exist, or accept the responsibility for changing them.', 'http://forismatic.com/en/e9eebb859b/'),
(236, '<NAME>', 'I’ve been amazed at how often those outside the discipline of design assume that what designers do is decoration. Good design is problem solving.', 'https://quotesondesign.com/jeffrey-veen-2/'),
(237, '<NAME>', 'Typography is a beautiful group of letters, not a group of beautiful letters.', 'https://quotesondesign.com/steve-byers/'),
(238, '<NAME> ', 'Everything that irritates us about others can lead us to an understanding of ourselves.', 'http://forismatic.com/en/7e69e721fc/'),
(239, '<NAME>', 'Art is I; science is we.', 'https://quotesondesign.com/claude-bernard/'),
(240, '<NAME>', 'The next time you’re caught in a room full of smart people doing something dumb (like trying to anticipate what your users will do), tune them out, flip open your laptop, and start prototyping.', 'https://quotesondesign.com/daniel-burka/'),
(241, '<NAME>', 'The universe is made of stories, not atoms.', 'http://forismatic.com/en/37062746e0/'),
(242, '<NAME> ', 'Yeah we all shine on, like the moon, and the stars, and the sun.', 'http://forismatic.com/en/3c22ab1a52/'),
(243, '<NAME>', 'Nothing ever goes away until it has taught us what we need to know.', 'http://forismatic.com/en/6d7cd4081d/'),
(244, '<NAME>', 'And so we have an issue. A classic impasse. Management wants process. Developers want to build something that works. Designers want to spend time thinking about use cases. What do we do?', 'https://quotesondesign.com/ben-bleikamp/'),
(245, '<NAME>', 'The way to “get your name out there” is to establish a pattern of excellent work and a reputation for integrity over several years.', 'https://quotesondesign.com/andy-rutledge-2/'),
(246, '<NAME>', 'Any sufficiently advanced technology is indistinguishable from magic.', 'https://quotesondesign.com/arthur-c-clarke/'),
(247, '<NAME>', 'Creative thinking may mean simply the realization that there’s no particular virtue in doing things the way they have always been done.', 'https://quotesondesign.com/davey-coleman/'),
(248, '<NAME>', 'It is better to understand a little than to misunderstand a lot.', 'http://forismatic.com/en/3cda068bbc/'),
(249, '<NAME> ', 'The Creator has not given you a longing to do that which you have no ability to do.', 'http://forismatic.com/en/83b17bc26e/'),
(250, '<NAME>', 'Minimalism is not a lack of something. It’s simply the perfect amount of something.', 'https://quotesondesign.com/nicholas-burroughs/'),
(251, '<NAME>', 'Much like music, great art is also found in the spaces between your graphic elements.', 'https://quotesondesign.com/william-childs-3/'),
(252, '<NAME>', 'Real magic in relationships means an absence of judgement of others.', 'http://forismatic.com/en/e7814775ac/'),
(253, '<NAME>', 'Clients are full of surprises. Design is what you make of the surprises.', 'https://quotesondesign.com/dan-phillips/'),
(254, 'Buddha ', 'Do not overrate what you have received, nor envy others. He who envies others does not obtain peace of mind.', 'http://forismatic.com/en/b9927a496b/'),
(255, '<NAME>', 'Rules can be broken — but never ignored.', 'https://quotesondesign.com/david-jury/'),
(256, '<NAME>', 'Fire the committee. No great website in history has been conceived of by more than three people. Not one. This is a dealbreaker.', 'https://quotesondesign.com/seth-godin/'),
(257, 'Rumi ', 'This is love: to fly toward a secret sky, to cause a hundred veils to fall each moment. First to let go of life. Finally, to take a step without feet.', 'http://forismatic.com/en/cb29fcf4bd/'),
(258, '<NAME> ', 'Silence is a fence around wisdom.', 'http://forismatic.com/en/c0b4cd717b/'),
(259, '<NAME>', 'If your actions inspire others to dream more, learn more, do more and become more, you are a leader.', 'http://forismatic.com/en/933a22e85b/'),
(260, '<NAME>', 'When one tugs at a single thing in nature, he finds it attached to the rest of the world.', 'http://forismatic.com/en/1df8194f1f/'),
(261, '<NAME>', 'The life I touch for good or ill will touch another life, and that in turn another, until who knows where the trembling stops or in what far place my touch will be felt.', 'http://forismatic.com/en/aeeb3b76f5/'),
(262, '<NAME>', 'Cheap design is like a tattoo… once you get it you’re forever branded with it.', 'https://quotesondesign.com/ken-peters/'),
(263, '<NAME>', 'Logic will get you from A to B. Imagination will take you everywhere.', 'http://forismatic.com/en/95041a9c3b/'),
(264, '<NAME>', 'Many people think of prosperity that concerns money only to forget that true prosperity is of the mind.', 'http://forismatic.com/en/d61285be31/'),
(265, '<NAME>', 'It is easier to talk than to listen. Pay attention to your clients, your users, your readers, and your friends. Your design will get better as you listen to other people.', 'https://quotesondesign.com/ellen-lupton-6/'),
(266, '<NAME>', 'Beauty is not in the face; beauty is a light in the heart.', 'http://forismatic.com/en/cb821150f3/'),
(267, '<NAME>', 'The trick is in what one emphasizes. We either make ourselves miserable, or we make ourselves happy. The amount of work is the same.', 'http://forismatic.com/en/e5226817bc/'),
(268, '<NAME>', 'I make all my decisions on intuition. But then, I must know why I made that decision. I throw a spear into the darkness. That is intuition. Then I must send an army into the darkness to find the spear. That is intellect.', 'https://quotesondesign.com/ingmar-bergman/'),
(269, 'Chinese Proverb', 'A single conversation across the table with a wise person is worth a months study of books.', 'http://forismatic.com/en/e4dc67e259/'),
(270, '<NAME>', 'Be stimulated by rejection.', 'https://quotesondesign.com/bob-gill/'),
(271, 'Theophrastus ', 'Time is the most valuable thing a man can spend.', 'http://forismatic.com/en/2c9cbc5e2a/'),
(272, '<NAME>', 'Your ability to learn faster than your competition is your only sustainable competitive advantage.', 'http://forismatic.com/en/109eda809b/'),
(273, '<NAME>', 'If your UI even vaguely resembles an airplane cockpit, you’re doing it wrong.', 'https://quotesondesign.com/john-gruber/'),
(274, '<NAME>', 'There is no way to prosperity, prosperity is the way.', 'http://forismatic.com/en/2ae96a06ae/'),
(275, '<NAME>', 'I try not to think out of the box anymore, but on its edge, its corner, its flap, and under its bar code.', 'https://quotesondesign.com/clint-runge/'),
(276, 'Confucius ', 'The superior man acts before he speaks, and afterwards speaks according to his action.', 'http://forismatic.com/en/fce9a166c5/'),
(277, '<NAME> ', 'Happiness is the reward we get for living to the highest right we know.', 'http://forismatic.com/en/b998befb91/'),
(278, '<NAME>', 'Have no fear of perfection – you’ll never reach it.', 'https://quotesondesign.com/salvador-dali/'),
(279, '<NAME>', 'It has taken my entire life to understand what I already knew about creating art in 3rd grade.', 'https://quotesondesign.com/philip-carrera/'),
(280, '<NAME>', 'We are only three decades into one of the most important revolutions the world has ever seen. In design development terms, that is a mere blink.', 'https://quotesondesign.com/rachel-hinman/'),
(281, '<NAME>', 'As we know,\nThere are known knowns.\nThere are things we know we know.\nWe also know\nThere are known unknowns.\nThat is to say\nWe know there are some things\nWe do not know.\nBut there are also unknown unknowns,\nThe ones we don’t know\nWe don’t know.', 'https://quotesondesign.com/donald-rumsfeld/'),
(282, '<NAME>', 'Know that although in the eternal scheme of things you are small, you are also unique and irreplaceable, as are all your fellow humans everywhere in the world.', 'http://forismatic.com/en/c506e1ce50/'),
(283, 'Seneca', 'Consult your friend on all things, especially on those which respect yourself. His counsel may then be useful where your own self-love might impair your judgement.', 'http://forismatic.com/en/e51b4d578d/'),
(284, '<NAME> ', 'In the end we retain from our studies only that which we practically apply.', 'http://forismatic.com/en/ed8995f116/'),
(285, '<NAME>', 'The personal life deeply lived always expands into truths beyond itself.', 'http://forismatic.com/en/fe661a789a/'),
(286, '<NAME>', 'The self is not something ready-made, but something in continuous formation through choice of action.', 'http://forismatic.com/en/71934ee9be/'),
(287, '<NAME>', 'The moment clients realize that revisions are not an all-you-can-eat buffet, suddenly they realize they are not hungry.', 'https://quotesondesign.com/lester-beall/'),
(288, '<NAME>', 'Do not seek to change what has come before. Seek to create that which has not.', 'https://quotesondesign.com/david-airey/'),
(289, '<NAME>', 'If you surrender to the wind, you can ride it.', 'http://forismatic.com/en/1e450518ca/'),
(290, '<NAME>', 'Research not to discover what’s already there, but to discover what’s not.', 'https://quotesondesign.com/samadara-ginige-3/'),
(291, '<NAME>', 'There are some things in painting which cannot be explained, and that something is essential.', 'https://quotesondesign.com/pierre-auguste-renoir/'),
(292, '<NAME>', 'There are now about as many different varieties of letters as there are different kinds of fools.', 'https://quotesondesign.com/eric-gill/'),
(293, '<NAME>', 'The secret to a rich life is to have more beginnings than endings.', 'http://forismatic.com/en/3d1165d17d/'),
(294, '<NAME>', 'You have to do your own growing no matter how tall your grandfather was.', 'http://forismatic.com/en/d13f3a9285/'),
(295, '<NAME>', 'Don’t design for everyone. It’s impossible. All you end up doing is designing something that makes everyone unhappy.', 'https://quotesondesign.com/leisa-reichelt/'),
(296, '<NAME>', 'Using a watermark on your work is like peeing on your belongings so no one will steal them.', 'https://quotesondesign.com/thomas-amador/'),
(297, '<NAME>', 'Just because you’ve always done it that way doesn’t mean it’s not incredibly stupid.', 'https://quotesondesign.com/despair-poster/'),
(298, '<NAME>', 'Good designers copy; great designers steal.', 'https://quotesondesign.com/pablo-picasso-4/'),
(299, '<NAME>', 'The value, and especially the legitimization of design will be, in the future, measured more in terms of how it can enable us to survive… on this planet.', 'https://quotesondesign.com/dieter-rams-3/'),
(300, '<NAME>', 'In the beginner’s mind there are many possibilities, but in the expert’s mind there are few.', 'https://quotesondesign.com/shunryu-suzuki/'),
(301, '<NAME>', 'Creative without strategy is called ‘art‘. Creative with strategy is called ‘advertising‘.', 'https://quotesondesign.com/jef-i-richards/'),
(302, '<NAME>', 'The process is really just Iterate, Iterate, Iterate.', 'https://quotesondesign.com/chris-clark/'),
(303, '<NAME>', 'Standards are like toothbrushes, everybody agrees you should have one, but no one wants to use yours.', 'https://quotesondesign.com/joe-croser/'),
(304, '<NAME>', 'For web designers, there are four keys to surviving bad economic times: do good work, charge a fair price, lower your overhead, and be sure you are communicating with your client.', 'https://quotesondesign.com/jeffrey-zeldman/'),
(305, '<NAME>', 'To dream of the person you would like to be is to waste the person you are.', 'http://forismatic.com/en/bc70d8aad8/'),
(306, '<NAME>', 'If you can dream it, you can do it.', 'http://forismatic.com/en/f9e8d947f6/'),
(307, '<NAME>', 'Design from the spine and you’ll be fine.', 'https://quotesondesign.com/carl-heaton/'),
(308, '<NAME>', 'I met with a potential client today and part of their opening gambit was how they were looking for revolutionary work delivered within a tight timescale, and if the work could be done a reduced rate then they’d be able to send a load more work our way. … They were saying that they wanted work that was fast, good, and cheap. And if the work was fast, good, and cheap enough, the reward would be the offer of more work that is fast, good, and cheap. … Let me be clear about this, these people are evil, and their work is poison.', 'https://quotesondesign.com/hoss-gifford/'),
(309, '<NAME>', 'I walk slowly, but I never walk backward.', 'http://forismatic.com/en/a0acd17bfb/'),
(310, '<NAME>', 'He who cannot draw on three thousand years is living from hand to mouth.', 'https://quotesondesign.com/johann-wolfgang-von-goethe/'),
(311, '<NAME>', 'If the stars should appear but one night every thousand years how man would marvel and adore.', 'http://forismatic.com/en/fbee1284db/'),
(312, '<NAME>', 'So is cheerfulness, or a good temper, the more it is spent, the more remains.', 'http://forismatic.com/en/58de544615/'),
(313, '<NAME>', 'The belief that youth is the happiest time of life is founded upon a fallacy. The happiest person is the person who thinks the most interesting thoughts, and we grow happier as we grow older.', 'http://forismatic.com/en/0ab14e6051/'),
(314, '<NAME>', 'If we have trouble using something then it’s probably because that thing is badly designed, rather than us being stupid.', 'https://quotesondesign.com/dmitry-fadeyev-2/'),
(315, '<NAME> ', 'I never worry about action, but only inaction.', 'http://forismatic.com/en/71c0412ced/'),
(316, '<NAME>', 'We have to learn to see technical devices and software as others see them. Feeling a sense of pride in getting a device to do what we want doesn’t mean we’re clever, it means the design was wrong.', 'https://quotesondesign.com/jeremy-allison/'),
(317, 'Confucius', 'Reviewing what you have learned and learning anew, you are fit to be a teacher.', 'http://forismatic.com/en/7218312226/'),
(318, '<NAME>', 'Typography at its best is a visual form of language linking timelessness and time.', 'https://quotesondesign.com/robert-bringhurst/'),
(319, '<NAME>', 'Each day can be one of triumph if you keep up your interests.', 'http://forismatic.com/en/a6b696599f/'),
(320, '<NAME>', 'Good luck is another name for tenacity of purpose.', 'http://forismatic.com/en/9eedbbce1a/'),
(321, '<NAME>', 'The difference between regulated architects and unregulated designers is, unlike buildings, letterheads don’t fall down and kill people.', 'https://quotesondesign.com/brian-webb-2/'),
(322, '<NAME>', 'I was gonna get a candy bar; the button I was supposed to push was “HH”, so I went to the side, I found the “H” button, I pushed it twice. Fuckin’…potato chips came out, man, because they had an “HH” button for Christ’s sake! You need to let me know. I’m not familiar with the concept of “HH”. I did not learn my AA-BB-CC’s. God god, dammit dammit.', 'https://quotesondesign.com/mitch-hedberg/'),
(323, '<NAME>', 'The time it takes to make a decision increases as the number of alternatives increases.', 'https://quotesondesign.com/william-edmund-hick/'),
(324, '<NAME>', 'Being angry never solves anything.', 'http://forismatic.com/en/988df05d68/'),
(325, '<NAME>', 'Strength does not come from physical capacity. It comes from an indomitable will.', 'http://forismatic.com/en/6ad6055109/'),
(326, '<NAME>', 'The enemy of every author is not piracy, but obscurity.', 'https://quotesondesign.com/chris-anderson/'),
(327, '<NAME>', 'Anticipate the difficult by managing the easy.', 'http://forismatic.com/en/70fc449981/'),
(328, '<NAME>', 'It’s really hard to design products by focus groups. A lot of times, people don’t know what they want until you show it to them.', 'https://quotesondesign.com/steve-jobs-3/'),
(329, '<NAME>', 'People ignore design that ignores people.', 'https://quotesondesign.com/frank-chimero/'),
(330, '<NAME>', 'Only work with people you’d invite to your home for a meal.', 'https://quotesondesign.com/garth-walker/'),
(331, '<NAME>', 'One of the most significant differences between graphic designers and other visual artists is our unhinged love of typography.', 'https://quotesondesign.com/greg-breeding/'),
(332, '<NAME>', 'People always ask, “What do you think of my site?” I want to say back to them, “Who cares what I think. Does it meet your site requirements? Has it been tested? Has each requirement been validated? Are your site guidelines being adhered to?”', 'https://quotesondesign.com/kim-krause/'),
(333, '<NAME>', 'When you’re a carpenter making a beautiful chest of drawers, you’re not going to use a piece of plywood on the back, even though it faces the wall and nobody will ever see it. You’ll know it’s there, so you’re going to use a beautiful piece of wood on the back. For you to sleep well at night, the aesthetic, the quality, has to be carried all the way through.', 'https://quotesondesign.com/steve-jobs-4/'),
(334, 'Gidsy.com', 'Descriptions are like skirts, they should be long enough to cover the subject, but short enough to keep things interesting.', 'https://quotesondesign.com/gidsy-com/'),
(335, '<NAME>', 'I am not afraid of tomorrow, for I have seen yesterday and I love today.', 'http://forismatic.com/en/6cf2137cf4/'),
(336, '<NAME>', 'Perfect typography is certainly the most elusive of all arts. Sculpture in stone alone comes near it in obstinacy.', 'https://quotesondesign.com/jan-tschichold/'),
(337, '<NAME>', 'The greatest good you can do for another is not just to share your riches but to reveal to him his own.', 'http://forismatic.com/en/17b3ffbbea/'),
(338, '<NAME>', 'Design trends online change more often than the wind, and slightly less often than my socks.', 'https://quotesondesign.com/suleiman-leadbitter/'),
(339, 'Buddha ', 'Three things cannot be long hidden: the sun, the moon, and the truth.', 'http://forismatic.com/en/7dc3d90ceb/'),
(340, '<NAME>', 'The best way to find any and all errors is to publish your work.', 'https://quotesondesign.com/dan-vore/'),
(341, '<NAME> ', 'The way we communicate with others and with ourselves ultimately determines the quality of our lives.', 'http://forismatic.com/en/f0fb933551/'),
(342, '<NAME>', 'We are either progressing or retrograding all the while. There is no such thing as remaining stationary in this life.', 'http://forismatic.com/en/a01e0ec9fe/'),
(343, '<NAME> ', 'Each day provides its own gifts.', 'http://forismatic.com/en/27be99eb56/'),
(344, '<NAME>', 'Pick battles big enough to matter, small enough to win.', 'http://forismatic.com/en/b106c76e91/'),
(345, 'Buddha', 'Those who are free of resentful thoughts surely find peace.', 'http://forismatic.com/en/a8aafbde79/'),
(346, '<NAME>', 'I think and that is all that I am.', 'http://forismatic.com/en/9d9d6a01c9/'),
(347, '<NAME> ', 'Quality means doing it right when no one is looking.', 'http://forismatic.com/en/02e7c0b0fa/'),
(348, '<NAME>', 'Simply making decisions, one after another, can be a form of art.', 'https://quotesondesign.com/john-gruber-3/'),
(349, '<NAME>', 'I for one absolutely and unequivocally refuse to be bullied about by a thing’s capacity to absorb light. There is nothing less appealing than a color fraught with meaning – the very notion is boisterous, inappropriate, and marked by the dreariest sort of longing.', 'https://quotesondesign.com/fran-lebowitz/'),
(350, '<NAME>', 'Those who say “it’s not personal, it’s just business” are lying. All business is personal, and the best business is very personal.', 'https://quotesondesign.com/richard-lenz/'),
(351, '<NAME>', 'A friend once insisted to me that the plural of “moron” is “focus group.”', 'https://quotesondesign.com/ethan-marcotte/'),
(352, '<NAME>', 'If I am not for myself, who will be for me? If I am not for others, what am I? And if not now, when?', 'http://forismatic.com/en/58b3ef7148/'),
(353, '<NAME>', 'The word design is everything and nothing. The design and the product itself are inseparable.', 'https://quotesondesign.com/jonathan-ive-2/'),
(354, 'Buddha ', 'However many holy words you read, however many you speak, what good will they do you if you do not act on upon them?', 'http://forismatic.com/en/82347119ad/'),
(355, '<NAME>', 'A house divided against itself cannot stand.', 'http://forismatic.com/en/25d6485021/'),
(356, '<NAME>', 'How far that little candle throws its beams! So shines a good deed in a naughty world.', 'http://forismatic.com/en/cd6494b494/'),
(357, '<NAME>', 'As if a device can function if it has no style. As if a device can be called stylish that does not function superbly… yes, beauty matters. Boy, does it matter. It is not surface, it is not an extra, it is the thing itself.', 'https://quotesondesign.com/stephen-fry/'),
(358, '<NAME> ', 'If you do not change direction, you may end up where you are heading.', 'http://forismatic.com/en/e5ecf1d9e2/'),
(359, 'Shaker Philosophy', 'Don’t make something unless it is both necessary and useful; but if it is both necessary and useful, don’t hesitate to make it beautiful.', 'https://quotesondesign.com/shaker-philosophy/'),
(360, '<NAME>', 'I have found the best people to work with are gay men. They never have to ‘run it past their wives.’', 'https://quotesondesign.com/rodney-davidson/'),
(361, '<NAME>', 'Men in general judge more from appearances than from reality. All men have eyes, but few have the gift of penetration.', 'http://forismatic.com/en/2510593b85/'),
(362, '<NAME> ', 'It is fatal to enter any war without the will to win it.', 'http://forismatic.com/en/a82eda88d6/'),
(363, '<NAME>', 'Sometimes the cards we are dealt are not always fair. However you must keep smiling and moving on.', 'http://forismatic.com/en/d80388bbec/'),
(364, '<NAME>', 'Be curious. Read widely. Try new things. I think a lot of what people call intelligence boils down to curiosity.', 'https://quotesondesign.com/aaron-schwartz/'),
(365, '<NAME>', 'It is never too late to be what you might have been.', 'http://forismatic.com/en/b2422bbd9f/'),
(366, '<NAME> ', 'We lost because we told ourselves we lost.', 'http://forismatic.com/en/a2f5ea8023/'),
(367, '<NAME>', 'Graphic Designers are idea embalmers, loving undertakers preserving bits of data like so many butterflies pinned to felt in a jewel box.', 'https://quotesondesign.com/paul-saffo/'),
(368, '<NAME>', 'Mistakes are the portals of discovery.', 'https://quotesondesign.com/james-joyce/'),
(369, '<NAME>', 'The way something looks is the last thing we figure out.', 'https://quotesondesign.com/alexander-isley/'),
(370, '<NAME>', 'Unsolicited redesigns are terrific and fun and useful, and I hope designers never stop doing them. But as they do so, I also hope they remember it helps no one – least of all the author of the redesign – to assume the worst about the original source and the people who work hard to maintain and improve it, even though those efforts may seem imperfect from the outside.', 'https://quotesondesign.com/khoi-vinh-2/'),
(371, '<NAME>', 'Judge nothing, you will be happy. Forgive everything, you will be happier. Love everything, you will be happiest.', 'http://forismatic.com/en/30a4c48c81/'),
(372, '<NAME>', 'When the solution is simple, God is answering.', 'http://forismatic.com/en/48df5de928/'),
(373, '<NAME> ', 'Let us always meet each other with smile, for the smile is the beginning of love.', 'http://forismatic.com/en/f1619312d3/'),
(374, '<NAME>', 'No pessimist ever discovered the secrets of the stars, or sailed to an uncharted land, or opened a new heaven to the human spirit.', 'http://forismatic.com/en/2f93054f9f/'),
(375, '<NAME>', 'In the matter of layout, forget art and use horse-sense. The printer-designer’s whole duty is to make a clear presentation of the message… This calls for an exercise of common sense and faculty of analysis rather than for art.', 'https://quotesondesign.com/william-addison-dwiggins/'),
(376, '<NAME>', 'A great logo isn’t going to make a shitty product any less shitty, any more than a hard worker is going to make a bad boss a compelling leader.', 'https://quotesondesign.com/christopher-simmons/'),
(377, 'Horace', 'Begin, be bold, and venture to be wise.', 'http://forismatic.com/en/8c00a8668f/'),
(378, '<NAME>', 'The hole and the patch should be commensurate.', 'https://quotesondesign.com/thomas-jefferson/'),
(379, '<NAME>', 'There’s big money in studying art … if you own the school.', 'https://quotesondesign.com/charlie-deitch/'),
(380, '<NAME>', 'Once you eliminate quality as a requirement, the entire design process becomes a whole lot easier.', 'https://quotesondesign.com/jared-m-spool/'),
(381, '<NAME>', '<NAME> was a Home Run king but he was also a strike out king. Always go for the fences, even if it means some designs strike out with clients. That’s the only way to hit a home run.', 'https://quotesondesign.com/alex-zevallos/'),
(382, '<NAME> ', 'You teach best what you most need to learn.', 'http://forismatic.com/en/4bde72fab9/'),
(383, '<NAME>', 'Never promise more than you can perform.', 'http://forismatic.com/en/93347407ae/'),
(384, 'Confucius', 'What you do not want done to yourself, do not do to others.', 'http://forismatic.com/en/b7f71a24e4/'),
(385, '<NAME>', 'I warn you against believing that advertising is a science.', 'https://quotesondesign.com/bill-bernbach-4/'),
(386, '<NAME>', 'Design is thinking made visual.', 'https://quotesondesign.com/saul-bass/'),
(387, '<NAME>', 'Being a designer is like being a porn star. You’re hot & popular for a year or two, then everyone goes off and finds something new to screw around too.', 'https://quotesondesign.com/jason-demetillo/'),
(388, '<NAME>', 'We must not allow ourselves to become like the system we oppose.', 'http://forismatic.com/en/46ab3a92f6/'),
(389, '<NAME> ', 'What worries you masters you.', 'http://forismatic.com/en/b2a5ec3602/'),
(390, '<NAME>', 'If you are going to achieve excellence in big things, you develop the habit in little matters. Excellence is not an exception, it is a prevailing attitude.', 'http://forismatic.com/en/c4d68c4ed6/'),
(391, '<NAME>', 'Sometimes the best way to prove your own value is to let a client play the field.', 'https://quotesondesign.com/matthew-haeck/'),
(392, '<NAME>', 'My reputation grows with every failure.', 'http://forismatic.com/en/a533c21944/'),
(393, '<NAME>', 'A wise man will make more opportunities than he finds.', 'http://forismatic.com/en/0a53ffbe11/'),
(394, '<NAME>', 'I don’t want something special. I want something beautifully plain.', 'https://quotesondesign.com/anne-lamott/'),
(395, '<NAME>', 'Sometimes there is no need to be either clever or original.', 'https://quotesondesign.com/ivan-chermayeff-2/'),
(396, '<NAME> ', 'Face your deficiencies and acknowledge them; but do not let them master you. Let them teach you patience, sweetness, insight.', 'http://forismatic.com/en/acfc5cac49/'),
(397, '<NAME>', 'Imitation may be the “sincerest form of plagiarism,” but it is also the mark of an inferior person.', 'https://quotesondesign.com/david-ogilvy/'),
(398, '<NAME>', 'Do you validate other people’s markup? Yes? You’re an asshole.', 'https://quotesondesign.com/jeff-croft/'),
(399, ' Ziggy', 'You can complain because roses have thorns, or you can rejoice because thorns have roses.', 'http://forismatic.com/en/a1538942bb/'),
(400, '<NAME>', 'Don’t stare at a blank page for too long, be bold, and make the first incisive stroke. The rest will come naturally.', 'https://quotesondesign.com/james-kingman/'),
(401, '<NAME>', 'Keep true to the dreams of thy youth.', 'http://forismatic.com/en/44ccc73b29/'),
(402, '<NAME>', 'You have to roll up your sleeves and be a stonecutter before you can become a sculptor – command of craft always precedes art: apprentice, journeyman, master.', 'https://quotesondesign.com/philip-gerard/'),
(403, '<NAME>', 'Five years ago, the heroes were technologists. Today, the heroes are designers building out a user experience. You can have the most amazing technology in the world, but if it’s not put in a form that’s useful and desirable, you won’t be successful.', 'https://quotesondesign.com/robert-brunner/'),
(404, '<NAME> Jr.', 'A drawing should have no unnecessary lines and a machine no unnecessary parts.', 'https://quotesondesign.com/william-strunk-jr/'),
(405, '<NAME>', 'The enemy of art is the absence of limitations.', 'https://quotesondesign.com/orson-welles/'),
(406, '<NAME>', 'Redesigning somebody else’s product is always a tricky business. You don’t know why they made the decisions they made. You don’t have the data they have.', 'https://quotesondesign.com/lukas-mathis-3/'),
(407, '<NAME>', 'There are too many elements on most web pages to affix or align each one to the baseline grid. Doing so would require a mathematical rigor that, if it can be achieved, might produce rationally exact measurements and placements but will most likely be something less than elegant. The result would be a design driven by math, rather than a design that uses math to create an elegant product.', 'https://quotesondesign.com/khoi-vinh/'),
(408, '<NAME> ', 'Cherish your visions and your dreams as they are the children of your soul, the blueprints of your ultimate achievements.', 'http://forismatic.com/en/51849d878a/'),
(409, '<NAME>', 'The large print giveth and the small print taketh away.', 'https://quotesondesign.com/tom-waits/'),
(410, '<NAME>', 'We can only learn to love by loving.', 'http://forismatic.com/en/0c82217cbf/'),
(411, 'Seneca', 'Luck is what happens when preparation meets opportunity.', 'http://forismatic.com/en/965479d6cd/'),
(412, '<NAME> ', 'I believe that every person is born with talent.', 'http://forismatic.com/en/24e834a564/'),
(413, '<NAME>', 'Success builds character. Failure reveals it.', 'http://forismatic.com/en/429490c21c/'),
(414, '<NAME>', 'Peace cannot be kept by force. It can only be achieved by understanding.', 'http://forismatic.com/en/1bbb4baea1/'),
(415, '<NAME>', 'It’s strange, I’ve seen colours at times that when I’ve gone back to check on them, they’ve vanished…', 'https://quotesondesign.com/william-percy-weston/'),
(416, 'Aristotle', 'The aim of art is to represent not the outward appearance of things, but their inward significance.', 'https://quotesondesign.com/aristotle/'),
(417, '<NAME>', 'To create a memorable design you need to start with a thought that’s worth remembering.', 'https://quotesondesign.com/thomas-manss-3/'),
(418, '<NAME>', 'I endeavour to be wise when I cannot be merry, easy when I cannot be glad, content with what cannot be mended and patient when there is no redress.', 'http://forismatic.com/en/36c9cd1107/'),
(419, '<NAME>', 'Let me tell you the secret that has led me to my goal: my strength lies solely in my tenacity', 'http://forismatic.com/en/659dde49c6/'),
(420, '<NAME>', 'Put yourself out there, being awesome is long tail.', 'https://quotesondesign.com/allan-branch/'),
(421, '<NAME>', 'Usage is like oxygen for ideas.', 'https://quotesondesign.com/matt-mullenweg/'),
(422, '<NAME> ', 'We can do no great things, only small things with great love.', 'http://forismatic.com/en/b8f081597f/'),
(423, '<NAME> ', 'I gave my life to become the person I am right now. Was it worth it?', 'http://forismatic.com/en/0ff0de73a6/'),
(424, '<NAME> ', 'Learning is finding out what you already know.', 'http://forismatic.com/en/b76f37ce2b/'),
(425, '<NAME>', 'What’s the hardest thing to communicate? The hardest thing is to communicate.', 'https://quotesondesign.com/michael-cina/'),
(426, '<NAME>', 'I have no special talent. I am only passionately curious.', 'http://forismatic.com/en/aeae2cf60a/'),
(427, 'Nietzsche', 'You need chaos in your soul to give birth to a dancing star.', 'http://forismatic.com/en/63c395aea2/'),
(428, '<NAME>', 'Prejudice is a burden that confuses the past, threatens the future and renders the present inaccessible.', 'http://forismatic.com/en/797ec0e5fc/'),
(429, '<NAME>', 'What is to be sought in designs for the display of information is the clear portrayal of complexity. Not the complication of the simple; rather the task of the designer is to give visual access to the subtle and the difficult – that is, revelation of the complex.', 'https://quotesondesign.com/edward-tufte-3/'),
(430, '<NAME>', 'The grid is like the lines on a football field. You can play a great game in the grid or a lousy game. But the goal is to play a really fine game.', 'https://quotesondesign.com/wim-crouwel-3/'),
(431, '<NAME>', 'The only way to tell the truth is to speak with kindness. Only the words of a loving man can be heard.', 'http://forismatic.com/en/0d186b88ca/'),
(432, '<NAME>', 'When I let go of what I am, I become what I might be.', 'http://forismatic.com/en/0f3b35423a/'),
(433, 'Voltaire', 'Life is thickly sown with thorns, and I know no other remedy than to pass quickly through them. The longer we dwell on our misfortunes, the greater is their power to harm us.', 'http://forismatic.com/en/2aa3d8153c/'),
(434, '<NAME>', 'If there is one word I’d like to remove from any conversation about design, it’s “pretty.”', 'https://quotesondesign.com/aarron-walter-2/'),
(435, ' <NAME> ', 'Blessed is the person who is too busy to worry in the daytime, and too sleepy to worry at night.', 'http://forismatic.com/en/bab93daee0/'),
(436, '<NAME>', 'Four steps to achievement: Plan purposefully. Prepare prayerfully. Proceed positively. Pursue persistently.', 'http://forismatic.com/en/0e2b5607c6/'),
(437, '<NAME>', 'Computers are to design as microwaves are to cooking.', 'https://quotesondesign.com/milton-glaser/'),
(438, '<NAME>', 'Love at first sight is easy to understand; its when two people have been looking at each other for a lifetime that it becomes a miracle.', 'http://forismatic.com/en/fe0165b8fd/'),
(439, '<NAME>', 'If I want to get hired to do something, I should already be doing it.', 'https://quotesondesign.com/trent-walton/'),
(440, '<NAME>', 'Treat a man as he is, he will remain so. Treat a man the way he can be and ought to be, and he will become as he can be and should be.', 'http://forismatic.com/en/3507ba458e/'),
(441, '<NAME>', 'Bite off more than you can chew, then chew it.', 'http://forismatic.com/en/500d1b7ce6/'),
(442, 'Epictetus ', 'Keep silence for the most part, and speak only when you must, and then briefly.', 'http://forismatic.com/en/07ec3ac8ad/'),
(443, '<NAME>', 'The truth which has made us free will in the end make us glad also.', 'http://forismatic.com/en/0bbb975ab4/'),
(444, '<NAME>', 'Without good design it is easy to miss the point.', 'https://quotesondesign.com/bjarni-wark/'),
(445, '<NAME>', 'There are no bad ideas, just bad decisions.', 'https://quotesondesign.com/jacob-cass/'),
(446, '<NAME>', 'The advice I like to give young artists, or really anybody who’ll listen to me, is not to wait around for inspiration. Inspiration is for amateurs; the rest of us just show up and get to work.\nIf you wait around for the clouds to part and a bolt of lightning to strike you in the brain, you are not going to do an awful lot of work. All the best ideas come out of the process; they come out of the work itself.\nThings occur to you. If you’re sitting around trying to dream up a great idea, you can sit there a long time before anything happens. But if you just get to work, something will occur to you and something else will occur to you and something else that you reject will push you in another direction.\nInspiration is absolutely unnecessary and somehow deceptive. You feel like you need this great idea before you can get down to work, and I find that’s almost never the case.', 'https://quotesondesign.com/chuck-close/'),
(447, '<NAME> ', 'We see things not as they are, but as we are. Our perception is shaped by our previous experiences.', 'http://forismatic.com/en/0c757e5707/'),
(448, '<NAME>', 'Some people say design is about solving problems. Obviously designers solve problems but so do dentists. Design is about cultural invention.', 'https://quotesondesign.com/jack-schulze/'),
(449, '<NAME>', 'We aren’t designing photocopies of web pages, we’re designing web pages.', 'https://quotesondesign.com/andy-clarke/'),
(450, '<NAME>', 'Design is the application of intent – the opposite of happenstance, and an antidote to accident.', 'https://quotesondesign.com/robert-l-peters/'),
(451, '<NAME>', 'A portfolio as pretty as pictures is nothing but a tip of the iceberg, the real treasure underlies the ocean.', 'https://quotesondesign.com/shawn-lukas-2/'),
(452, '<NAME>', 'Don’t let your design resist your readers. Don’t let it stand in the way of what they want to do: read.', 'https://quotesondesign.com/steve-krug-4/'),
(453, '<NAME>', 'Well established hierarchies are not easily uprooted', 'https://quotesondesign.com/tao-te-ching-2/'),
(454, '<NAME>', 'Design in art, is a recognition of the relation between various things, various elements in the creative flux. You can’t invent a design. You recognize it, in the fourth dimension. That is, with your blood and your bones, as well as with your eyes.', 'https://quotesondesign.com/d-h-lawrence/'),
(455, '<NAME>', 'With the realization of ones own potential and self-confidence in ones ability, one can build a better world.', 'http://forismatic.com/en/359ad6d20a/'),
(456, '<NAME>', 'Design is crucially important. We can’t have advances in technology any longer, unless design is integrated from the very start.', 'https://quotesondesign.com/john-underkoffler/'),
(457, '<NAME>', 'Helvetica is like a really good friend. You go off and hang with the other fonts (the artsy, grungy, trendy, thin, fat, tall, scripty types) and even use them a little, but helvetica is always there. A nice stable friend.', 'https://quotesondesign.com/andrew-frigo/'),
(458, '<NAME>', 'Solving any problem is more important than being right.', 'https://quotesondesign.com/milton-glaser-6/'),
(459, '<NAME>', 'All our knowledge begins with the senses, proceeds then to the understanding, and ends with reason. There is nothing higher than reason.', 'http://forismatic.com/en/e6c591a800/'),
(460, '<NAME>', 'High degrees of specialization may be rendering us unable to see the connections between the things we design and their consequences as they ripple out into the biosphere.', 'https://quotesondesign.com/terry-irwin/'),
(461, '<NAME>', 'I know but one freedom and that is the freedom of the mind.', 'http://forismatic.com/en/739ebe8056/'),
(462, '<NAME>', 'It is more important to know where you are going than to get there quickly. Do not mistake activity for achievement.', 'http://forismatic.com/en/efa3166f6d/'),
(463, '<NAME>', 'When you do something, you should burn yourself up completely, like a good bonfire, leaving no trace of yourself.', 'https://quotesondesign.com/shunryu-suzuki-2/'),
(464, '<NAME>', 'If one is estranged from oneself, then one is estranged from others too. If one is out of touch with oneself, then one cannot touch others.', 'http://forismatic.com/en/39c7fd639c/'),
(465, '<NAME>', 'The conclusion of design flows naturally from the data; we should not shrink from it; we should embrace it and build on it.', 'https://quotesondesign.com/michael-behe/'),
(466, '<NAME>', 'A beef filet cooked for 15 hours by 30 cooks doesn’t necessarily taste better than a cheeseburger.', 'https://quotesondesign.com/oliver-reichenstein/'),
(467, '<NAME>', 'Think like a man of action; act like a man of thought.', 'http://forismatic.com/en/44e5d664ff/'),
(468, 'Bodhidharma', 'All know the way; few actually walk it.', 'http://forismatic.com/en/629925f992/'),
(469, '<NAME>', 'Talent is a pursued interest. In other words, anything you are willing to practice, you can do.', 'https://quotesondesign.com/bob-ross/'),
(470, '<NAME>', 'Friendship with oneself is all important because without it one cannot be friends with anybody else in the world.', 'http://forismatic.com/en/4a9a88c7ba/'),
(471, '<NAME>', 'Lose an hour in the morning, and you will spend all day looking for it.', 'http://forismatic.com/en/99a74e3c9a/'),
(472, '<NAME>', 'No one ever discovered anything new by coloring inside the lines.', 'https://quotesondesign.com/thomas-vasquez-2/'),
(473, '<NAME>', 'Accidents often produce the best solutions… only you can recognize the difference between an accident and your original intent.', 'https://quotesondesign.com/jennifer-morla/'),
(474, '<NAME>', 'Try not to become a man of success, but rather try to become a man of value.', 'http://forismatic.com/en/3e23648789/'),
(475, '<NAME>', 'This world, after all our science and sciences, is still a miracle; wonderful, inscrutable, magical and more, to whosoever will think of it.', 'http://forismatic.com/en/5d3197a193/'),
(476, '<NAME>', 'We aim above the mark to hit the mark.', 'http://forismatic.com/en/df7bcd74ad/'),
(477, 'Talmud', 'Deeds of kindness are equal in weight to all the commandments.', 'http://forismatic.com/en/61dbf4f093/'),
(478, '<NAME>', 'I’d rather have a bottle in front of me than a frontal lobotomy.', 'https://quotesondesign.com/dorothy-parker/'),
(479, '<NAME>', 'When we feel less secure, with less control over our daily lives, we reach out to brands to connect with a time when things seemed better.', 'https://quotesondesign.com/mark-gobe/'),
(480, '<NAME>', 'No one has a finer command of language than the person who keeps his mouth shut.', 'http://forismatic.com/en/4832d694c6/'),
(481, 'Chinese Proverb', 'Learning is a treasure that will follow its owner everywhere', 'http://forismatic.com/en/b6ccfe860b/'),
(482, '<NAME> ', 'An invincible determination can accomplish almost anything and in this lies the great distinction between great men and little men.', 'http://forismatic.com/en/5a206034c4/'),
(483, '<NAME> ', 'Our kindness may be the most persuasive argument for that which we believe.', 'http://forismatic.com/en/f58a52d4b6/'),
(484, 'Buddha ', 'All wrong-doing arises because of mind. If mind is transformed can wrong-doing remain?', 'http://forismatic.com/en/1c0d5b5a03/'),
(485, '<NAME>', 'Trust your own instinct. Your mistakes might as well be your own, instead of someone elses.', 'http://forismatic.com/en/fb54c230b3/'),
(486, '<NAME>', 'Design in art, is a recognition of the relation between various things, various elements in the creative flux. You can’t invent a design. You recognize it, in the fourth dimension. That is, with your blood and your bones, as well as with your eyes.', 'https://quotesondesign.com/d-h-lawrence-2/'),
(487, '<NAME>', 'I have always railed against ideological purity, or any other kind. Corruption is more interesting than purity.', 'https://quotesondesign.com/milton-glaser-4/'),
(488, '<NAME>', 'Many people have a wrong idea of what constitutes true happiness. It is not attained through self-gratification, but through fidelity to a worthy purpose.', 'http://forismatic.com/en/624f14e4e3/'),
(489, '<NAME>', 'Tech without design is the business’s perdition.', 'https://quotesondesign.com/vital-lokossou/'),
(490, '<NAME>', 'Sometimes you can draw more inspiration from the people who don’t believe in you, then from the ones who do.', 'https://quotesondesign.com/william-childs/'),
(491, 'Plutarch ', 'Silence at the proper season is wisdom, and better than any speech.', 'http://forismatic.com/en/d7e226e2db/'),
(492, 'Jay-Z', 'Be fluid. Treat each project differently. Be water, man. The best style is no style. Because styles can be figured out. And when you have no style they can’t figure you out.', 'https://quotesondesign.com/jay-z/'),
(493, '<NAME>', 'Consistency is one of the most powerful usability principles: when things always behave the same, users don’t have to worry about what will happen. Instead, they know what will happen based on earlier experience.', 'https://quotesondesign.com/jakob-nielsen/'),
(494, '<NAME>', '… people in the newspaper industry saw the web as a newspaper. People in TV saw the web as TV, and people in book publishing saw it as a weird kind of potential book. But the web is not just some kind of magic all-absorbing meta-medium. It’s its own thing.', 'https://quotesondesign.com/paul-ford/'),
(495, 'Confucius', 'I will not be concerned at other men is not knowing me;I will be concerned at my own want of ability.', 'http://forismatic.com/en/9e9eef8ce9/'),
(496, '<NAME>', 'When you make something no one hates, no one loves it.', 'https://quotesondesign.com/tibor-kalman/'),
(497, '<NAME>', 'If you correct your mind, the rest of your life will fall into place.', 'http://forismatic.com/en/b7cbe5be49/'),
(498, '<NAME>', 'When I design, I don’t consider the technical or commercial parameters so much as the desire for a dream that humans have attempted to project onto an object.', 'https://quotesondesign.com/philippe-starck/'),
(499, '<NAME>', 'When you judge another, you do not define them, you define yourself.', 'http://forismatic.com/en/3cf66ddf14/'),
(500, '<NAME>', 'Slow down and everything you are chasing will come around and catch you.', 'http://forismatic.com/en/b1595c2103/'),
(501, '<NAME> ', 'We shall never know all the good that a simple smile can do.', 'http://forismatic.com/en/cac95071c7/'),
(502, '<NAME>', 'Good design begins with honesty, asks tough questions, comes from collaboration and from trusting your intuition.', 'https://quotesondesign.com/freeman-thomas-2/'),
(503, '<NAME>', 'A designer can mull over complicated designs for months. Then suddenly the simple, elegant, beautiful solution occurs to him. When it happens to you, it feels as if God is talking! And maybe He is.', 'https://quotesondesign.com/leo-frankowski/'),
(504, 'Seneca', 'The conditions of conquest are always easy. We have but to toil awhile, endure awhile, believe always, and never turn back.', 'http://forismatic.com/en/2228178989/'),
(505, '<NAME>', 'Stare. It is the way to educate your eye, and more. Stare, pry, listen, eavesdrop. Die knowing something. You are not here long.', 'https://quotesondesign.com/walker-evans/'),
(506, '<NAME>, Jr.', 'Good design is good business.', 'https://quotesondesign.com/thomas-watson-jr/'),
(507, '<NAME>', 'An electrician isn’t an opinion former, but a graphic designer is. My argument is that all graphic designers hold high levels of responsibility in society. We take invisible ideas and make them tangible. That’s our job.', 'https://quotesondesign.com/neville-brody/'),
(508, 'Horace', 'Adversity has the effect of eliciting talents, which in prosperous circumstances would have lain dormant.', 'http://forismatic.com/en/dc7659d047/'),
(509, 'Osho', 'Creativity is the greatest rebellion in existence.', 'https://quotesondesign.com/osho/'),
(510, 'Confucius', 'When you see a good person, think of becoming like him. When you see someone not so good, reflect on your own weak points.', 'http://forismatic.com/en/1dbd7ffdb0/'),
(511, '<NAME>', 'When the only tool you own is a hammer, every problem begins to resemble a nail.', 'https://quotesondesign.com/abraham-maslow/'),
(512, 'Dhammapada', 'Just as a flower, which seems beautiful has color but no perfume, so are the fruitless words of a man who speaks them but does them not.', 'http://forismatic.com/en/0c238a66eb/'),
(513, '<NAME> ', 'Let the future tell the truth, and evaluate each one according to his work and accomplishments. The present is theirs; the future, for which I have really worked, is mine.', 'http://forismatic.com/en/a7479b3813/'),
(514, '<NAME>', 'If it were easy to nut out tricky design problems, I might be out of a job. But it’s also true that the cleverness in most lateral design doesn’t come from blindly grinding away at the same concept. When you’re dealing with ideas, it’s rarely a matter of simply putting in more time working. Five minutes can be much more fruitful than five hours.', 'https://quotesondesign.com/rob-morris/'),
(515, '<NAME>', 'Art is making something out of nothing and selling it.', 'https://quotesondesign.com/frank-zappa/'),
(516, '<NAME>', 'If you’re not failing every now and again, it’s a sign you aren’t doing anything very innovative.', 'https://quotesondesign.com/woody-allen/'),
(517, '<NAME>', 'Influence is borrowed, inspiration is earned. Create opportunities to earn it, and have a plan to capture it.', 'https://quotesondesign.com/cameron-moll-3/'),
(518, '<NAME> ', 'For success, attitude is equally as important as ability.', 'http://forismatic.com/en/d5245fb13f/'),
(519, '<NAME>', 'Edison failed 10,000 times before he made the electric light. Do not be discouraged if you fail a few times.', 'http://forismatic.com/en/8ecbd55bf6/'),
(520, '<NAME>', 'Love all, trust a few, do wrong to none.', 'http://forismatic.com/en/7167a1ce67/'),
(521, '<NAME>', 'The quality of any creative endeavor tends to approach the level of taste of whoever is in charge.', 'https://quotesondesign.com/john-gruber-2/'),
(522, '<NAME>', 'People don’t use a product because of the great design; great design helps them use the product.', 'https://quotesondesign.com/viran-anuradha-dayaratne/'),
(523, '<NAME>', 'Life a culmination of the past, an awareness of the present, an indication of the future beyond knowledge, the quality that gives a touch of divinity to matter.', 'http://forismatic.com/en/ba7954d067/'),
(524, '<NAME>', 'Action may not always bring happiness, but there is no happiness without action.', 'http://forismatic.com/en/0aaea29096/'),
(525, '<NAME>', 'Copywriting is definitely the profession most written about.', 'https://quotesondesign.com/dave-kotler/'),
(526, '<NAME>', 'Great stories happen to people who can tell them.', 'https://quotesondesign.com/ira-glass/'),
(527, '<NAME> ', 'The first requisite for success is the ability to apply your physical and mental energies to one problem incessantly without growing weary.', 'http://forismatic.com/en/94b9f20342/'),
(528, '<NAME>', 'We can’t just design an item that looks great. We also have to anticipate how it is boxed up, distributed, and shipped, as well as whether or not a seventeen-year-old kid with a summer job can stock it on the store shelf without ruining it.', 'https://quotesondesign.com/robin-perkins/'),
(529, '<NAME>', 'Done is beautiful.', 'https://quotesondesign.com/frank-chimero-4/'),
(530, '<NAME>', 'The only real mistake is the one from which we learn nothing.', 'http://forismatic.com/en/6485658862/'),
(531, '<NAME>', 'Testing one user early in the project is better than testing fifty near the end.', 'https://quotesondesign.com/steve-krug-3/'),
(532, '<NAME>', 'The more you care, the stronger you can be.', 'http://forismatic.com/en/920923a18d/'),
(533, 'Confucius ', 'Our greatest glory is not in never falling, but in rising every time we fall.', 'http://forismatic.com/en/dc214d6775/'),
(534, '<NAME>', 'Every night I pray that clients with taste will get money and clients with money will get taste.', 'https://quotesondesign.com/bill-gardner/'),
(535, '<NAME>', 'The inventors will invent, for that is what inventors do. The technology will come first, the products second, and then the needs will slowly appear, as new applications become luxuries, then “needs,” and finally, essential.', 'https://quotesondesign.com/don-norman-3/'),
(536, '<NAME> ', 'Do more than dream: work.', 'http://forismatic.com/en/ac121bd85a/'),
(537, '<NAME>', 'Do we really need a simple definition of design or should we accept that design is too complex a matter to be summarized in less than a book?', 'https://quotesondesign.com/bryan-lawson-2/'),
(538, 'GZA', 'Where I come from, gettin’ visual is habitual.', 'https://quotesondesign.com/gza/'),
(539, '<NAME>', 'Here’s how we work. Somebody calls up with a project; we do some stuff; and the money follows.', 'https://quotesondesign.com/tim-brennan/'),
(540, '<NAME>', 'Keeping a little ahead of conditions is one of the secrets of business, the trailer seldom goes far.', 'http://forismatic.com/en/5f2aff9d2c/'),
(541, '<NAME> ', 'Things do not change; we change.', 'http://forismatic.com/en/5673db1b20/'),
(542, '<NAME>', 'Practicality is the serial killer of dreams.', 'https://quotesondesign.com/rasha-hamdan/'),
(543, '<NAME>', 'You never can do what the kids do. What you do is look at yourself and find your own way to address the fact that the times have changed and that you have to pay attention. You can’t be a designer and say, “Oh, this is timeless.” Nothing is timeless!', 'https://quotesondesign.com/paula-scher-2/'),
(544, '<NAME>', 'Decision is a risk rooted in the courage of being free.', 'http://forismatic.com/en/f824c0f67b/'),
(545, '<NAME>', 'Whenever something negative happens to you, there is a deep lesson concealed within it.', 'http://forismatic.com/en/4485adbde3/'),
(546, '<NAME>', 'Never fall in love with an idea. They’re whores. If the one you’re with isn’t doing the job, there’s always, always, always another.', 'https://quotesondesign.com/chip-kidd-2/'),
(547, '<NAME>', 'You don’t get harmony if everyone sings the same note.', 'https://quotesondesign.com/steve-honey/'),
(548, '<NAME>', 'Complexity is the enemy of reliability.', 'https://quotesondesign.com/kyle-matthew-hansen/'),
(549, '<NAME>', 'Create your own visual style… let it be unique for yourself and yet identifiable for others.', 'https://quotesondesign.com/orson-welles-2/'),
(550, '<NAME> ', 'Imagination is not a talent of some men but is the health of every man.', 'http://forismatic.com/en/a0c7d58bf2/'),
(551, '<NAME>', 'Any word you have to hunt for in a thesaurus is the wrong word. There are no exceptions to this rule.', 'http://forismatic.com/en/056f586395/'),
(552, '<NAME>', 'Only show work you like, or you’ll end up being hired to do things you don’t like.', 'https://quotesondesign.com/victoria-pater/'),
(553, '<NAME>', 'Here’s the world’s worst idea for a movie: Titanic. It did okay at the box office.', 'https://quotesondesign.com/scott-adams-2/'),
(554, 'Epictetus ', 'Practice yourself, for heavens sake in little things, and then proceed to greater.', 'http://forismatic.com/en/d913f39044/'),
(555, '<NAME>', 'We are all something, but none of us are everything.', 'http://forismatic.com/en/a4e99430bc/'),
(556, 'Goethe', 'A man sees in the world what he carries in his heart.', 'http://forismatic.com/en/bdd5f5978e/'),
(557, '<NAME>', 'We choose our joys and sorrows long before we experience them.', 'http://forismatic.com/en/35fab45734/'),
(558, '<NAME>', 'Happiness mainly comes from our own attitude, rather than from external factors.', 'http://forismatic.com/en/15089be4ed/'),
(559, '<NAME>', 'Nothing happens unless first we dream.', 'http://forismatic.com/en/60bfe9498f/'),
(560, '<NAME>', 'When Einstein realized, “Dear me, this universe with its wonders all adds up to E=mc2?,” he did not stop to think whether this concept would sell better set in Futura or Antikva.', 'https://quotesondesign.com/kari-piippo/'),
(561, '<NAME> ', 'No man can succeed in a line of endeavor which he does not like.', 'http://forismatic.com/en/52395ad8da/'),
(562, '<NAME>', 'If you lose today, win tomorrow. In this never-ending spirit of challenge is the heart of a victor.', 'http://forismatic.com/en/7410e2912f/'),
(563, '<NAME>', 'I’ve always considered myself a graphic artists – a draftsman – as opposed to a typist. I do still work on a drawing table. At times drawing on a computer feels like I’m drawing on an Etch-a-Sketch.', 'https://quotesondesign.com/michael-schwab-2/'),
(564, '<NAME>', 'Action may not always bring happiness; but there is no happiness without action.', 'http://forismatic.com/en/07fbc2a81d/'),
(565, '<NAME>', 'Letterspacing creates speedbumps for the reader.', 'https://quotesondesign.com/michael-stinson-3/'),
(566, '<NAME>', 'The difference between an artist and a graphic designer. One says “it’s finished when I feel it’s finished” the other says “I will have this by the 30th.”', 'https://quotesondesign.com/jay-benjamin/'),
(567, '<NAME>', 'Simplicity and complexity need each other.', 'https://quotesondesign.com/john-maeda-4/'),
(568, '<NAME>', 'Always design a thing by considering it in its next larger context – a chair in a room, a room in a house, a house in an environment, an environment in a city plan.', 'https://quotesondesign.com/eliel-saarinen/'),
(569, '<NAME>', 'No masterpiece was ever created by a lazy artist.', 'https://quotesondesign.com/salvador-dali-2/'),
(570, 'Buddha', 'We are formed and moulded by our thoughts. Those whose minds are shaped by selfless thoughts give joy when they speak or act. Joy follows them like a shadow that never leaves them.', 'http://forismatic.com/en/ccb0da5fad/'),
(571, '<NAME>', 'Good design means never having to say “Click Here.”', 'https://quotesondesign.com/shawn-leslie/'),
(572, '<NAME> ', 'Everything that happens happens as it should, and if you observe carefully, you will find this to be so.', 'http://forismatic.com/en/51da6d7539/'),
(573, '<NAME>', 'Creating something out of thin air is easy. It’s finding the air that’s hard.', 'https://quotesondesign.com/asher-trotter/'),
(574, '<NAME>', 'You don’t have to be “a creative” to be creative.', 'https://quotesondesign.com/drory-ben-menachem/'),
(575, '<NAME>', 'The winds and waves are always on the side of the ablest navigators.', 'http://forismatic.com/en/d3ef2a189e/'),
(576, '<NAME>', 'Some people are always grumbling because roses have thorns; I am thankful that thorns have roses.', 'http://forismatic.com/en/df0c5d66f1/'),
(577, '<NAME>', 'Every great dream begins with a dreamer. Always remember, you have within you the strength, the patience, and the passion to reach for the stars to change the world.', 'http://forismatic.com/en/9718689761/'),
(578, '<NAME>', 'The world always seems brighter when you’ve just made something that wasn’t there before.', 'https://quotesondesign.com/neil-gaiman/'),
(579, '<NAME>', 'If you have knowledge, let others light their candles in it.', 'http://forismatic.com/en/3d1608feb1/'),
(580, '<NAME>', 'To create great work, here’s how you must spend your time:\n1% Inspiration\n9% Perspiration\n90% Justification', 'https://quotesondesign.com/george-lois/'),
(581, '<NAME>', 'Go to your bosom: Knock there, and ask your heart what it doth know.', 'http://forismatic.com/en/04bf49478f/'),
(582, '<NAME>', 'Form follows function.', 'https://quotesondesign.com/louis-sullivan/'),
(583, '<NAME>', 'To will is to select a goal, determine a course of action that will bring one to that goal, and then hold to that action till the goal is reached. The key is action.', 'http://forismatic.com/en/959e1d322c/'),
(584, '<NAME>', 'To choose what is difficult all ones days, as if it were easy, that is faith.', 'http://forismatic.com/en/6a1cd78a6f/'),
(585, '<NAME>', 'People are like stained glass windows: they sparkle and shine when the sun is out, but when the darkness sets in their true beauty is revealed only if there is a light within.', 'http://forismatic.com/en/1261fad063/'),
(586, '<NAME>', 'Imagination disposes of everything; it creates beauty, justice, and happiness, which are everything in this world.', 'http://forismatic.com/en/73488e7128/'),
(587, '<NAME>', 'The weak can never forgive. Forgiveness is the attribute of the strong.', 'http://forismatic.com/en/25576860f6/'),
(588, '<NAME>', 'Great designers seldom make great advertising men, because they get overcome by the beauty of the picture – and forget that merchandise must be sold.', 'https://quotesondesign.com/james-randolph-adams/'),
(589, '<NAME>', 'You can fool some of the people all of the time, and all of the people some of the time, but you can not fool all of the people all of the time.', 'http://forismatic.com/en/86a239539f/'),
(590, '<NAME>', 'God, grant me the serenity to accept the things I cannot change, the courage to change the things I can, and the wisdom to know the difference', 'https://quotesondesign.com/reinhold-niebuhr/'),
(591, '<NAME>', 'To be able to give away riches is mandatory if you wish to possess them. This is the only way that you will be truly rich.', 'http://forismatic.com/en/e75033ee83/'),
(592, '<NAME>', 'No matter how many times your amazing, absolutely brilliant work is rejected by the client, for whatever dopey, arbitrary reason, there is often another amazing, absolutely brilliant solution possible.\nSometimes it’s even better.', 'https://quotesondesign.com/bob-gill-2/'),
(593, '<NAME>', 'It rarely takes more than a page to recognize that you’re in the presence of someone who can write, but it only takes a sentence to know you’re dealing with someone who can’t.', 'https://quotesondesign.com/josh-olson/'),
(594, '<NAME>', 'The spirit, the will to win, and the will to excel, are the things that endure. These qualities are so much more important than the events that occur.', 'http://forismatic.com/en/86243a9665/'),
(595, 'Buddha ', 'To live a pure unselfish life, one must count nothing as ones own in the midst of abundance.', 'http://forismatic.com/en/fcb8d40f69/'),
(596, '<NAME>', 'Theory can blind observation.', 'https://quotesondesign.com/carol-gilligan/'),
(597, '<NAME>', 'Everybody in advertising is blonde, beautiful, families are happy, care are never in traffic, everything is shiny, food looks like it’s incredibly taseful. I ask myself, “How stupid are we?”', 'https://quotesondesign.com/oliveiro-toscani/'),
(598, '<NAME>', 'Never re-invent the wheel, unless you’re sure the client needn’t go anywhere.', 'https://quotesondesign.com/russell-bishop/'),
(599, 'Buddha ', 'What we think, we become.', 'http://forismatic.com/en/975448c967/'),
(600, '<NAME>', 'You get peace of mind not by thinking about it or imagining it, but by quietening and relaxing the restless mind.', 'http://forismatic.com/en/5eb3009238/'),
(601, '<NAME>', 'Take a walk. Dance a jig. Get some sun. Don’t take yourself to serious. Cook something ethnic. Play the 3 chords you know on guitar. Go get coffee. Tell a bad joke, to yourself, and laugh. Look at the way a leaf is made. Overhear someone else’s conversation. Write it down. Remember it later. Get some sleep.', 'https://quotesondesign.com/kyle-steed/'),
(602, '<NAME>', 'Design is as much a matter of finding problems as it is solving them.', 'https://quotesondesign.com/bryan-lawson/'),
(603, '<NAME>', 'Be great in act, as you have been in thought.', 'http://forismatic.com/en/2851248d73/'),
(604, '<NAME>', 'The worst thing you can do to anybody trying to be creative is to demand participation in their vision.', 'https://quotesondesign.com/chuck-klosterman/'),
(605, '<NAME>', 'Designers think everything done by someone else is awful, and that they could do it better themselves, which explains why I designed my own living room carpet, I suppose.', 'https://quotesondesign.com/chris-bangle/'),
(606, '<NAME>', 'Be what you are. This is the first step toward becoming better than you are.', 'http://forismatic.com/en/2981b2d5ee/'),
(607, '<NAME>', 'Urban public space is a stage for viewing the field of graphic design in its diversity. A mix of voices, from advertising to activism, compete for visibility.', 'https://quotesondesign.com/ellen-lupton-3/'),
(608, '<NAME>', 'Form follows function – that has been misunderstood. Form and function should be one, joined in a spiritual union.', 'https://quotesondesign.com/frank-lloyd-wright-3/'),
(609, 'Seymour Chwast', 'If you dig a hole and it’s in the wrong place, digging it deeper isn’t going to help.', 'https://quotesondesign.com/seymour-chwast/'),
(610, '<NAME>', 'There is no such thing as information overload, just bad design. If something is cluttered and/or confusing, fix your design.', 'https://quotesondesign.com/edward-tufte/'),
(611, '<NAME>', 'The grid system is an aid, not a guarantee.', 'https://quotesondesign.com/josef-muller-brockmann-2/'),
(612, '<NAME>', 'Great talent finds happiness in execution.', 'http://forismatic.com/en/cbfe32c7bf/'),
(613, '<NAME>', 'They enjoy giving form to ideas. If designers were made of ideas, they’d be their own clients.', 'https://quotesondesign.com/rudy-vanderlans/'),
(614, '<NAME>', 'Design can have many types of soul, the key is to have one.', 'https://quotesondesign.com/justin-ahrens/'),
(615, '<NAME>', 'I am always doing that which I can not do, in order that I may learn how to do it.', 'http://forismatic.com/en/dbcc2a654c/'),
(616, '<NAME>', 'Be a first rate version of yourself, not a second rate version of someone else.', 'https://quotesondesign.com/judy-garland/'),
(617, '<NAME>', 'An ant on the move does more than a dozing ox', 'http://forismatic.com/en/2e6a4f742e/'),
(618, '<NAME> ', 'If you find yourself in a hole, the first thing to do is stop digging.', 'http://forismatic.com/en/61549b003c/'),
(619, '<NAME>', 'There is no duty we so underrate as the duty of being happy. By being happy we sow anonymous benefits upon the world.', 'http://forismatic.com/en/73ab8d3f76/'),
(620, '<NAME>', 'Stay away from what might have been and look at what will be.', 'http://forismatic.com/en/0bf1751c52/'),
(621, '<NAME>', 'For everything that lives is holy, life delights in life.', 'http://forismatic.com/en/1e7ec3afce/'),
(622, '<NAME>', 'I think there are two types of people in this world – people who can start things and people who can finish things. And while I place great value on the finishers, it’s the starters who are rare because they can envision what isn’t there.', 'https://quotesondesign.com/ed-frank/'),
(623, '<NAME>', 'Users will tell you what they think they want.\nUsers will tell you what they think you want to hear.\nUsers will tell you what they think sounds good.\nUsers will not tell you what you need to know.\nYou have to watch them to discover that.', 'https://quotesondesign.com/adam-judge/'),
(624, '<NAME>', 'Inspiration exists, but it has to find you working.', 'https://quotesondesign.com/pablo-picasso-3/'),
(625, '<NAME> ', 'Never, never, never give up.', 'http://forismatic.com/en/6da49c31b1/'),
(626, '<NAME>', 'Owning a camera doesn’t make you a photographer.', 'https://quotesondesign.com/gabriel-von-satzger/'),
(627, 'God (from Futurama)', 'When you do things right, people won’t be sure you’ve done anything at all.', 'https://quotesondesign.com/god-from-futurama/'),
(628, '<NAME> ', 'All fixed set patterns are incapable of adaptability or pliability. The truth is outside of all fixed patterns.', 'http://forismatic.com/en/9fb12b5529/'),
(629, '<NAME>', 'Work for something because it is good, not just because it stands a chance to succeed.', 'http://forismatic.com/en/f1097fafc4/'),
(630, '<NAME>', 'Thought is the sculptor who can create the person you want to be.', 'http://forismatic.com/en/a06d172d25/'),
(631, '<NAME>', 'The design business continues to navel gaze. Designers are still designing for other designers rather than working to convince the business world of the importance of design in our everyday lives.', 'https://quotesondesign.com/joe-duffy/'),
(632, '<NAME>', 'Give me six hours to chop down a tree and I will spend the first four sharpening the axe.', 'https://quotesondesign.com/abraham-lincoln/'),
(633, '<NAME>', 'If you break your neck, if you have nothing to eat, if your house is on fire, then you got a problem. Everything else is inconvenience.', 'http://forismatic.com/en/ba2708093c/'),
(634, '<NAME>', 'Observation and imitation are so often the steps to creative maturation. An insightful person can turn these into innovation.', 'https://quotesondesign.com/pete-episcopo/'),
(635, '<NAME>', 'Client: “My wife doesn’t like it”; Designer: “Well then, I don’t like your wife”', 'https://quotesondesign.com/jamie-croft/'),
(636, '<NAME>', 'Nobody ever get fired for running an A/B test.', 'https://quotesondesign.com/chad-mazzola/'),
(637, '<NAME>', 'The more uninteresting the letter, the more useful it is to the typographer.', 'https://quotesondesign.com/piet-zwart/'),
(638, '<NAME>', 'Every generation laughs at the old fashions, but follows religiously the new.', 'https://quotesondesign.com/henry-david-thoreau-2/'),
(639, '<NAME>', 'Who sows virtue reaps honour.', 'http://forismatic.com/en/8b087b826c/'),
(640, 'Michelangelo', 'If you knew how much work went into it, you would not call it genius.', 'https://quotesondesign.com/michelangelo/'),
(641, '<NAME>', 'The great thing about personal work is that it can shape your commercial work. Clients see what you create for yourself and that can be the starting point for a new project, which closes the cap between the work you love making and the work you get paid for.', 'https://quotesondesign.com/gemma-obrien/'),
(642, '<NAME>', 'We never understand how little we need in this world until we know the loss of it.', 'http://forismatic.com/en/eb3187abfd/'),
(643, '<NAME>', '…the wisest course of action is to take your best shot with a prototype, immediately get to market, and iterate quickly. If you wait for ideal circumstances in which you have all the information you need (which is impossible) the market will pass you by.', 'https://quotesondesign.com/guy-kawasaki/'),
(644, '<NAME> ', 'Accept the things to which fate binds you, and love the people with whom fate brings you together, but do so with all your heart.', 'http://forismatic.com/en/e5cbb74a90/'),
(645, '<NAME>', 'It’s very easy to be different, but very difficult to be better.', 'https://quotesondesign.com/jonathan-ive/'),
(646, 'The Studebaker Brothers', 'Always give a little more than you promise.', 'https://quotesondesign.com/the-studebaker-brothers/'),
(647, '<NAME>', 'Design for many instead of designing for money.', 'https://quotesondesign.com/victor-papanek-3/'),
(648, '<NAME>', 'What we think determines what happens to us, so if we want to change our lives, we need to stretch our minds.', 'http://forismatic.com/en/f5e0d80518/'),
(649, '<NAME>', 'In the long run we get no more than we have been willing to risk giving.', 'http://forismatic.com/en/a57ae67466/'),
(650, '<NAME>', 'The highest stage in moral ure at which we can arrive is when we recognize that we ought to control our thoughts.', 'http://forismatic.com/en/73d61cc44c/'),
(651, '<NAME>', 'Let me tell you the secret that has led me to my goal: my strength lies solely in my tenacity.', 'http://forismatic.com/en/a9921580a0/'),
(652, '<NAME>', 'Let us be grateful to people who make us happy; they are the charming gardeners who make our souls blossom.', 'http://forismatic.com/en/3fe08c5b2e/'),
(653, '<NAME>', 'Every act of creation is first an act of destruction.', 'https://quotesondesign.com/pablo-picasso-5/'),
(654, '<NAME> ', 'Music in the soul can be heard by the universe.', 'http://forismatic.com/en/8c900f570b/'),
(655, '<NAME>', 'Few people are capable of expressing with equanimity opinions which differ from the prejudices of their social environment. Most people are even incapable of forming such opinions.', 'https://quotesondesign.com/bradford-sherrill/'),
(656, '<NAME>', 'See the positive side, the potential, and make an effort.', 'http://forismatic.com/en/7bca10d524/'),
(657, 'Moby', 'My secret is being not terrible at a lot of things.', 'https://quotesondesign.com/moby/'),
(658, '<NAME>', 'Design, in its broadest sense, is the enabler of the digital era – it’s a process that creates order out of chaos, that renders technology usable to business. Design means being good, not just looking good.', 'https://quotesondesign.com/clement-mok/'),
(659, '<NAME>', 'Delay always breeds danger; and to protract a great design is often to ruin it.', 'https://quotesondesign.com/miguel-de-cervantes/'),
(660, 'Lao-Tzu ', 'All difficult things have their origin in that which is easy, and great things in that which is small.', 'http://forismatic.com/en/a6d06a8137/'),
(661, '<NAME> ', 'Without this playing with fantasy no creative work has ever yet come to birth. The debt we owe to the play of the imagination is incalculable.', 'http://forismatic.com/en/e6d7b60e63/'),
(662, '<NAME>', 'Excellence is to do a common thing in an uncommon way.', 'http://forismatic.com/en/d2550fba21/'),
(663, '<NAME>', 'When I complained about being paid fifty dollars for an article that had taken me a week to write, he [Kurt] said I should take into account what it would have cost me to take out a two-page ad announcing that I could write.', 'https://quotesondesign.com/mark-vonnegut/'),
(664, '<NAME>', 'Find the simple story in the product, and present it in an articulate and intelligent, persuasive way.', 'https://quotesondesign.com/bill-bernbach/'),
(665, '<NAME>', 'A man may fulfil the object of his existence by asking a question he cannot answer, and attempting a task he cannot achieve.', 'http://forismatic.com/en/cbe2911f89/'),
(666, '<NAME>', 'A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools.', 'https://quotesondesign.com/douglas-adams/'),
(667, '<NAME>', 'The possession of knowledge does not kill the sense of wonder and mystery. There is always more mystery.', 'http://forismatic.com/en/7f5d55671d/'),
(668, '<NAME>', 'Propaganda supersedes fact, truth and common sense in all cases.', 'https://quotesondesign.com/p-s-c-trier/'),
(669, '<NAME>', 'Teaching peers is one of the best ways to develop mastery.', 'https://quotesondesign.com/jeff-atwood/'),
(670, '<NAME>', 'When performance exceeds ambition, the overlap is called success.', 'http://forismatic.com/en/dad2779e36/'),
(671, '<NAME>', 'Some people like what you do, some people hate what you do, but most people simply don’t give a damn.', 'https://quotesondesign.com/charles-bukowski-2/'),
(672, '<NAME>', 'When you discover your mission, you will feel its demand. It will fill you with enthusiasm and a burning desire to get to work on it.', 'http://forismatic.com/en/8bb8787634/'),
(673, '<NAME>', 'Once you choose hope, anythings possible.', 'http://forismatic.com/en/c43644e30a/'),
(674, '<NAME>', 'Try to do unto others as you would have them do to you, and do not be discouraged if they fail sometimes. It is much better that they should fail than you should.', 'http://forismatic.com/en/280782e827/'),
(675, '<NAME>', 'The ultimate inspiration is the deadline.', 'https://quotesondesign.com/nolan-bushnell/'),
(676, '<NAME>', 'Before you put on a frown, make absolutely sure there are no smiles available.', 'http://forismatic.com/en/917d8b61e7/'),
(677, '<NAME>', 'Instead of shooting arrows at somebody else’s target… I make my own target around wherever my arrow has happened to have landed.', 'https://quotesondesign.com/brian-eno/'),
(678, '<NAME>', 'Be not angry that you cannot make others as you wish them to be, since you cannot make yourself as you wish to be.', 'http://forismatic.com/en/94527915ea/'),
(679, '<NAME>', 'I don’t care if you like it! I want to know if you understand it.', 'https://quotesondesign.com/jp-arevalo/'),
(680, '<NAME>', 'A user interface is like a joke. If you have to explain it, it’s not that good.', 'https://quotesondesign.com/martin-leblanc/'),
(681, '<NAME>', 'In the middle of every difficulty lies opportunity.', 'http://forismatic.com/en/150efe3e24/'),
(682, '<NAME>', 'Fear of failure is one attitude that will keep you at the same point in your life.', 'http://forismatic.com/en/054c865fb1/'),
(683, '<NAME>', 'In three words I can sum up everything Ive learned about life: it goes on.', 'http://forismatic.com/en/e8b7ec2a46/'),
(684, '<NAME>', 'I am a part of all that I have met.', 'http://forismatic.com/en/d2a41e21a6/'),
(685, '<NAME>', '[Degenerate type is] a form of canned cynicism which will doom its perpetrators to a special room in hell where lovely little children of all races, creeds, and religions are eternally batched in gentle rosy and amber glows, singing “It’s a small world after all.” There’s no reason to create an alphabet which looks like it leaked out a diaper.', 'https://quotesondesign.com/peter-fraterdeus/'),
(686, '<NAME>', 'Losing 80% of your screen space forces you to focus. You need to make sure that what stays on the screen is the most important set of features for your customers and your business. There simply isn’t room for any interface debris or content of questionable value. You need to know what matters most.', 'https://quotesondesign.com/luke-wroblewski-2/'),
(687, '<NAME>', 'Where there is great love, there are always miracles.', 'http://forismatic.com/en/57778acee3/'),
(688, '<NAME>', 'All men have a sweetness in their life. That is what helps them go on. It is towards that they turn when they feel too worn out.', 'http://forismatic.com/en/e1de8fd16f/'),
(689, '<NAME>', 'There is no such thing as simple. Simple is hard.', 'https://quotesondesign.com/martin-scorsese/'),
(690, '<NAME>', 'Recognizing the need is the primary condition for design.', 'https://quotesondesign.com/charles-eames-4/'),
(691, 'Confucius', 'The more you know yourself, the more you forgive yourself.', 'http://forismatic.com/en/3551b3ea66/'),
(692, '<NAME>', 'The only real valuable thing is intuition.', 'http://forismatic.com/en/77bac843f7/'),
(693, '<NAME>', 'A man should look for what is, and not for what he thinks should be.', 'http://forismatic.com/en/d4f2fdddf1/'),
(694, '<NAME>', 'First comes thought; then organization of that thought, into ideas and plans; then transformation of those plans into reality. The beginning, as you will observe, is in your imagination.', 'http://forismatic.com/en/0c27876607/'),
(695, '<NAME>’<NAME>', 'An ad should be an appetizer, not a buffet.', 'https://quotesondesign.com/lee-clows-beard/'),
(696, '<NAME>', 'A man who stops advertising to save money is like a man who stops a clock to save time.', 'https://quotesondesign.com/henry-ford-3/'),
(697, '<NAME>', 'In design man becomes what he is.\nAnimals have language and perception as well,\nbut they do not design.', 'https://quotesondesign.com/otl-aicher-2/'),
(698, '<NAME>', 'Tell it like it is, in a way they want to hear it.', 'https://quotesondesign.com/wihan-meerholz/'),
(699, '<NAME>', 'Bad design shouts at you. Good design is the silent seller.', 'https://quotesondesign.com/shane-meendering/'),
(700, '<NAME>', 'Creativity is a habit. It’s not something that happens in the shower.', 'https://quotesondesign.com/nick-law/'),
(701, '<NAME> ', 'People are so constituted that everybody would rather undertake what they see others do, whether they have an aptitude for it or not.', 'http://forismatic.com/en/a6766d433f/'),
(702, 'Aristotle', 'We are what we repeatedly do. Excellence, then, is not an act but a habit.', 'http://forismatic.com/en/6cb61ab08a/'),
(703, '<NAME> ', 'Life is change. Growth is optional. Choose wisely.', 'http://forismatic.com/en/bb10bc1667/'),
(704, '<NAME>', 'Happiness is not something ready made. It comes from your own actions.', 'http://forismatic.com/en/3b14b1440d/'),
(705, '<NAME>', 'In all affairs it’s a healthy thing now and then to hang a question mark on the things you have long taken for granted.', 'https://quotesondesign.com/bertrand-russell-2/'),
(706, '<NAME>', 'Every time you smile at someone, it is an action of love, a gift to that person, a beautiful thing.', 'http://forismatic.com/en/22b1c1e4d5/'),
(707, '<NAME>', 'No garden is without its weeds.', 'http://forismatic.com/en/fbdccfd060/'),
(708, 'African Proverb', 'When deeds speak, words are nothing.', 'http://forismatic.com/en/a9942549d1/'),
(709, '<NAME>, <NAME>', 'When we feel love and kindness toward others, it not only makes others feel loved and cared for, but it helps us also to develop inner happiness and peace.', 'http://forismatic.com/en/1339580ee8/'),
(710, '<NAME>', 'The goal of a designer is to listen, observe, understand, sympathize, empathize, synthesize, and glean insights that enable him or her to make the invisible visible.', 'https://quotesondesign.com/hillman-curtis/'),
(711, '<NAME> ', 'When you arise in the morning, think of what a precious privilege it is to be alive — to breathe, to think, to enjoy, to love.', 'http://forismatic.com/en/6519a3438f/'),
(712, '<NAME>', 'Every creator painfully experiences the chasm between his inner vision and its ultimate expression.', 'https://quotesondesign.com/isaac-bashevis-singer/'),
(713, '<NAME>', 'It took me a few seconds to draw it, but it took me 34 years to learn how to draw it in a few seconds.', 'https://quotesondesign.com/paula-scher/'),
(714, '<NAME>', 'Where you innovate, how you innovate, and what you innovate are design problems.', 'https://quotesondesign.com/tim-brown/'),
(715, '<NAME>', 'Obstacles are those things you see when you take your eyes off the goal.', 'http://forismatic.com/en/9395e864b8/'),
(716, '<NAME>', 'Preparation gives birth to self-confidence.', 'https://quotesondesign.com/denise-harman/'),
(717, '<NAME>', 'The way a team plays as a whole determines its success. You may have the greatest bunch of individual stars in the world, but if they don’t play together, the club won’t be worth a dime.', 'https://quotesondesign.com/babe-ruth/'),
(718, '<NAME>', 'Be a part of the innovation that leads the wave. Don’t wait for technology to catch up to you or you’ll end up sliding down the back side of that wave. If you choose to be a part of it happening, you can ride on top.', 'https://quotesondesign.com/jon-landau/'),
(719, '<NAME> ', 'We are not animals. We are not a product of what has happened to us in our past. We have the power of choice.', 'http://forismatic.com/en/5bfc474d3a/'),
(720, '<NAME>', 'The greatest mistake you can make in life is to be continually fearing you will make one.', 'http://forismatic.com/en/b20c201c90/'),
(721, '<NAME>', 'Opportunity is missed by people because it is dressed in overalls and looks like work.', 'https://quotesondesign.com/thomas-edison-3/'),
(722, '<NAME>', 'Advertising projects, graphic design jobs, architecture assignments, filmmaking, and pretty much every other professional creative service usually begins with smart, talented people shaking hands across a table, and ends in finger-pointing and regret – like a Country & Western love song.', 'https://quotesondesign.com/jeffrey-zeldman-5/'),
(723, '<NAME>', 'The most decisive actions of our life... are most often unconsidered actions.', 'http://forismatic.com/en/0732392005/'),
(724, '<NAME>', 'Clients have no trouble paying $5,800 for an hour in a Gulfstream corporate jet or $425 for a month of parking. But God forbid they spend $3 per on a glossy annual report.', 'https://quotesondesign.com/bill-cahan/'),
(725, '<NAME>', 'Whether the task is writing, design, or hanging a picture straight, it is obvious that we do our best work when healthy, rested, refreshed, alert, and eager to do the job for its own sake.', 'https://quotesondesign.com/jeffrey-zeldman-7/'),
(726, 'Confucius ', 'They must often change, who would be constant in happiness or wisdom.', 'http://forismatic.com/en/bb15ceebb2/'),
(727, '<NAME>', 'If we had no winter, the spring would not be so pleasant; if we did not sometimes taste of adversity, prosperity would not be so welcome.', 'http://forismatic.com/en/b01a58d818/'),
(728, '<NAME>', 'What lies behind us and what lies before us are small matters compared to what lies within us.', 'http://forismatic.com/en/1975e3fa81/'),
(729, '<NAME>', 'Good design must be defined by appropriateness to audience and goals, and by its effectiveness, not by its adherence to Swiss design or the number of awards it wins.', 'https://quotesondesign.com/drew-davies/'),
(730, 'Eleanor Roosevelt ', 'The future belongs to those who believe in the beauty of their dreams.', 'http://forismatic.com/en/e290ee1c81/'),
(731, '<NAME>', 'When you are stuck, walk away from the computer and draw. It will teach you how to see.', 'https://quotesondesign.com/gerard-huerta/'),
(732, '<NAME> ', 'The person born with a talent they are meant to use will find their greatest happiness in using it.', 'http://forismatic.com/en/a67001767b/'),
(733, '<NAME>', 'Any attempt to separate design, to make it a thing-by-itself, works counter to the inherent value of design as the primary, underlying matrix of life.', 'https://quotesondesign.com/victor-papanek-4/'),
(734, '<NAME> ', 'Perseverance is a great element of success. If you only knock long enough and loud enough at the gate, you are sure to wake up somebody.', 'http://forismatic.com/en/2bb1355c5e/'),
(735, '<NAME>', 'I really like looking at design and thinking: that attention to detail must have taken absolutely ages.', 'https://quotesondesign.com/si-scott/'),
(736, 'Epictetus ', 'Make the best use of what is in your power, and take the rest as it happens.', 'http://forismatic.com/en/9ade8fcd77/'),
(737, '<NAME> ', 'There are no failures — just experiences and your reactions to them.', 'http://forismatic.com/en/14b6dc00c2/'),
(738, 'Plotinus', 'Knowledge has three degrees — opinion, science, illumination. The means or instrument of the first is sense; of the second, dialectic; of the third, intuition.', 'http://forismatic.com/en/f93cfcd556/'),
(739, 'Euripides', 'The wisest men follow their own direction.', 'http://forismatic.com/en/503c02505d/'),
(740, '<NAME>', 'No matter how cool your interface is, it would be better if there were less of it.', 'https://quotesondesign.com/alan-cooper-2/'),
(741, '<NAME>', 'Everyone gets so much information all day long that they lose their common sense.', 'https://quotesondesign.com/gertrude-stein/'),
(742, '<NAME>', 'The possibilities are numerous once we decide to act and not react.', 'http://forismatic.com/en/dd096e7d69/'),
(743, '<NAME>', 'The height of your accomplishments will equal the depth of your convictions.', 'http://forismatic.com/en/d6fc86e233/'),
(744, '<NAME>', 'If everyone likes your design, it’s banal. Mediocrity shirks offense. Art dares it.', 'https://quotesondesign.com/jeffrey-zeldman-8/'),
(745, '<NAME> ', 'Imagination rules the world.', 'http://forismatic.com/en/198477f408/'),
(746, 'Seneca', 'There is as much greatness of mind in acknowledging a good turn, as in doing it.', 'http://forismatic.com/en/73c8ae09ae/'),
(747, '<NAME>', 'Design is so critical it should be on the agenda of every meeting in every single department.', 'https://quotesondesign.com/tom-peters/'),
(748, '<NAME>', 'A designer, like an archaeologist or geologist; researches, uncovers and adds context to precious, overlooked treasures by digging deep beneath the surface.', 'https://quotesondesign.com/scott-theisen/'),
(749, '<NAME> ', 'It is only with the heart that one can see rightly, what is essential is invisible to the eye.', 'http://forismatic.com/en/7066e93300/'),
(750, '<NAME> ', 'Friends are those rare people who ask how we are and then wait to hear the answer.', 'http://forismatic.com/en/635e5ea63a/'),
(751, '<NAME>', 'The happiness that is genuinely satisfying is accompanied by the fullest exercise of our faculties and the fullest realization of the world in which we live.', 'http://forismatic.com/en/cd2c07faa3/'),
(752, '<NAME>', 'Legibility is not the same thing as readability.', 'https://quotesondesign.com/arlen-britton/'),
(753, '<NAME> ', 'The thoughts we choose to think are the tools we use to paint the canvas of our lives.', 'http://forismatic.com/en/6bfd4b1d4e/'),
(754, '<NAME>', 'The reason most goals are not achieved is that we spend our time doing second things first.', 'http://forismatic.com/en/fd69f773e9/'),
(755, '<NAME>', 'I became a graphic artist because of the tools. I love working at a big drawing table with traditional tools: T-squares, compasses, mechanical pencils, French curves, blank ink, and graphite. At a computer, one works on a keyboard. I never considered myself a typist.', 'https://quotesondesign.com/michael-schwab/'),
(756, 'Confucius ', 'I hear and I forget. I see and I remember. I do and I understand.', 'http://forismatic.com/en/c660daf36e/'),
(757, '<NAME>', 'Just let the type just do what it does.', 'https://quotesondesign.com/michael-stinson/'),
(758, '<NAME>', 'What I love about design is the artistic and scientific complexity that also becomes useful…', 'https://quotesondesign.com/michelle-obama/'),
(759, '<NAME> ', 'Most of our obstacles would melt away if, instead of cowering before them, we should make up our minds to walk boldly through them.', 'http://forismatic.com/en/1e2c9f7091/'),
(760, '<NAME>', 'All of the buildings, all of those cars were once just a dream in somebody’s head.', 'https://quotesondesign.com/peter-gabriel/'),
(761, '<NAME>', 'I believe that we are fundamentally the same and have the same basic potential.', 'http://forismatic.com/en/caaf38a61e/'),
(762, 'Antoine de Saint Exupéry', 'A designer knows he has achieved perfection not when there is nothing left to add, but when there is nothing left to take away.', 'https://quotesondesign.com/antoine-de-saint-exupery/'),
(763, 'English Proverb', 'Take heed: you do not find what you do not seek.', 'http://forismatic.com/en/537de68523/'),
(764, '<NAME>', 'If you never want to be criticized, for goodness’ sake don’t do anything new.', 'https://quotesondesign.com/jeff-bezos/'),
(765, '<NAME>', 'Nothing is original. Steal from anywhere that resonates with inspiration or fuels your imagination. Devour old films, new films, music, books, paintings, photographs, poems, dreams, random conversations, architecture, bridges, street signs, trees, clouds, bodies of water, light and shadows. Select only things to steal from that speak directly to your soul. If you do this, your work (and theft) will be authentic. Authenticity is invaluable; originality is nonexistent. And don’t bother concealing your thievery – celebrate it if you feel like it.', 'https://quotesondesign.com/jim-jarmusch/'),
(766, 'Buddha', 'No matter how hard the past, you can always begin again.', 'http://forismatic.com/en/c8f123ba8a/'),
(767, '<NAME>', 'Without some goals and some efforts to reach it, no man can live.', 'http://forismatic.com/en/c3f0cad949/'),
(768, '<NAME>', 'The right way is not always the popular and easy way. Standing for right when it is unpopular is a true test of moral character.', 'http://forismatic.com/en/dbca3336fa/'),
(769, '<NAME>', 'I think most programmers spend the first 5 years of their career mastering complexity, and the rest of their lives learning simplicity.', 'https://quotesondesign.com/buzz-andersen/'),
(770, '<NAME>', 'Kind words will unlock an iron door.', 'http://forismatic.com/en/c9686b8dd2/'),
(771, '<NAME>', 'With every experience, you alone are painting your own canvas, thought by thought, choice by choice.', 'http://forismatic.com/en/20ca760d1c/'),
(772, '<NAME>', 'Forgiveness does not change the past, but it does enlarge the future.', 'http://forismatic.com/en/aca306f5cd/'),
(773, '<NAME>', 'Passion, dedication, and silly lists of what designers need are what designers need.', 'https://quotesondesign.com/arman-nobari-2/'),
(774, '<NAME> ', 'You always succeed in producing a result.', 'http://forismatic.com/en/ed627360b2/'),
(775, '<NAME>', 'Broken gets fixed. Shoddy lasts forever.', 'https://quotesondesign.com/jack-moffet/'),
(776, 'Eriksson', 'The greatest barrier to success is the fear of failure.', 'http://forismatic.com/en/8a565dd50e/'),
(777, '<NAME>', 'Success is not the key to happiness. Happiness is the key to success. If you love what you are doing, you will be successful.', 'http://forismatic.com/en/95fd3f741f/'),
(778, '<NAME>', 'Graphic design is the paradise of individuality, eccentricity, heresy, abnormality, hobbies and humours.', 'https://quotesondesign.com/george-santayana/'),
(779, '<NAME>', 'The web is the ultimate customer-empowering environment. He or she who clicks the mouse gets to decide everything. It is so easy to go elsewhere; all the competitors in the world are but a mouseclick away.', 'https://quotesondesign.com/jakob-nielsen-2/'),
(780, '<NAME>', 'Correction does much, but encouragement does more.', 'http://forismatic.com/en/5a6e33de12/'),
(781, '<NAME>', 'Eloquence is vehement simplicity.', 'https://quotesondesign.com/richard-cecil/'),
(782, '<NAME>', 'Dream barriers look very high until someone climbs them. They are not barriers any more.', 'http://forismatic.com/en/b725d0da9d/'),
(783, '<NAME>', 'Never do anything yourself that you can hire someone else to do, especially if they can do it better.', 'https://quotesondesign.com/bill-bernback/'),
(784, '<NAME>', 'Curiosity about life in all of its aspects, I think, is still the secret of great creative people.', 'https://quotesondesign.com/leo-burnett/'),
(785, 'Voltaire', 'Meditation is the dissolution of thoughts in eternal awareness or Pure consciousness without objectification, knowing without thinking, merging finitude in infinity.', 'http://forismatic.com/en/be84bdf5f6/'),
(786, 'Confucius', 'I hear and I forget. I see and I remember. I do and I understand.', 'https://quotesondesign.com/confucius/'),
(787, '<NAME> ', 'Action is the real measure of intelligence.', 'http://forismatic.com/en/1ba084215f/'),
(788, '<NAME>', 'Good designs come from the heart, not from the brain.', 'https://quotesondesign.com/danny-sengers/'),
(789, '<NAME>', 'As with most social phenomena, social-network success tends to happen more organically and unpredictably than anyone is able to artificially create by throwing money at it.', 'https://quotesondesign.com/marco-arment/'),
(790, '<NAME> ', 'Argue for your limitations, and sure enough theyre yours.', 'http://forismatic.com/en/bf07529ef0/'),
(791, '<NAME>', 'You do a disservice to your clients when you don’t fire the bad ones because you eventually provide poor service to those you don’t want to serve.', 'https://quotesondesign.com/jason-m-blumer/'),
(792, '<NAME>', 'Easy is not to be underestimated. Easy taps the pool of talent and ideas out there that were turned off by hard.', 'https://quotesondesign.com/chris-anderson-3/'),
(793, '<NAME>', 'I blame television and movies, especially cop shows. “Can you improve the resolution on that face?” “Sure, let me just pull some information that was never captured out of my ass.”', 'https://quotesondesign.com/rod-knowlton/'),
(794, '<NAME>', '“What is the most treasured and well-used piece of equipment in your studio?” My head.', 'https://quotesondesign.com/alan-fletcher-2/'),
(795, '<NAME>', 'The best way out is always through.', 'http://forismatic.com/en/eb74ac8fd5/'),
(796, '<NAME>', 'Learn wisdom from the ways of a seedling. A seedling which is never hardened off through stressful situations will never become a strong productive plant.', 'http://forismatic.com/en/d5abf18036/'),
(797, '<NAME> ', 'Fear is a darkroom where negatives develop.', 'http://forismatic.com/en/e3d98ee0ed/'),
(798, '<NAME>', 'All the Photoshop filters in the world won’t save a weak design.', 'https://quotesondesign.com/william-childs-4/'),
(799, '<NAME> ', 'Using the power of decision gives you the capacity to get past any excuse to change any and every part of your life in an instant.', 'http://forismatic.com/en/c8e87c4457/'),
(800, '<NAME>', 'I have thought about the nature of this creative process and have reached a somewhat aberrant conclusion. I don’t understand it and I don’t think anyone else does either.', 'https://quotesondesign.com/william-beck/'),
(801, '<NAME>', 'Like all forms of design, visual design is about problem solving, not about personal preference or unsupported opinion.', 'https://quotesondesign.com/bob-baxley/'),
(802, 'Buddha ', 'An idea that is developed and put into action is more important than an idea that exists only as an idea.', 'http://forismatic.com/en/733cb7a39a/'),
(803, '<NAME>', 'You cannot not communicate.', 'https://quotesondesign.com/paul-watzlawik/'),
(804, '<NAME>', 'Spec = asking the world to have sex with you and promising a dinner date to one lucky winner.', 'https://quotesondesign.com/jeffrey-zeldman-4/'),
(805, '<NAME>', 'A day of worry is more exhausting than a day of work.', 'http://forismatic.com/en/feeff2e056/'),
(806, '<NAME>', 'Design is as much an act of spacing as an act of marking.', 'https://quotesondesign.com/ellen-lupton/'),
(807, '<NAME>', 'The smallest act of kindness is worth more than the grandest intention.', 'http://forismatic.com/en/0a2bafa1a9/'),
(808, '<NAME>', 'If you want to set off and go develop some grand new thing, you don’t need millions of dollars of capitalization. You need enough pizza and Diet Coke to stick in your refrigerator, a cheap PC to work on and the dedication to go through with it.', 'https://quotesondesign.com/john-carmack/'),
(809, '<NAME>', 'Communication that doesn’t take a chance doesn’t stand a chance.', 'https://quotesondesign.com/carlos-segura/'),
(810, '<NAME>', 'The beginning of knowledge is the discovery of something we do not understand.', 'http://forismatic.com/en/1396cc1cd7/'),
(811, '<NAME>', 'If you let go a little, you will have a little peace. If you let go a lot, you will have a lot of peace.', 'http://forismatic.com/en/03db4fe8bc/'),
(812, '<NAME>', 'Consider that not only do negative thoughts and emotions destroy our experience of peace, they also undermine our health.', 'http://forismatic.com/en/a033bbd5c4/'),
(813, '<NAME>', 'One who gains strength by overcoming obstacles possesses the only strength which can overcome adversity.', 'http://forismatic.com/en/5c62329fc3/'),
(814, '<NAME>', 'Either I will find a way, or I will make one.', 'http://forismatic.com/en/d8c2061c7c/'),
(815, '<NAME>', 'Start with a sketch, but make it quick. There’s real work to be done.', 'https://quotesondesign.com/stefan-hartwig/'),
(816, '<NAME>', 'If you focus on results, you will never change. If you focus on change, you will get results.', 'http://forismatic.com/en/257f9a9efa/'),
(817, '<NAME>', 'You are the only person on Earth who can use your ability.', 'http://forismatic.com/en/ab2d795095/'),
(818, '<NAME>', 'Prosperity depends more on wanting what you have than having what you want.', 'http://forismatic.com/en/732caef672/'),
(819, '<NAME>', 'We are so busying measuring public opinion that we forget we can mold it. We are so busy listening to statistics we forget we can create them.', 'https://quotesondesign.com/bill-bernbach-2/'),
(820, 'Plutarch ', 'What we achieve inwardly will change outer reality.', 'http://forismatic.com/en/67cf5ed025/'),
(821, '<NAME>', 'Write drunk; edit sober.', 'https://quotesondesign.com/ernest-hemingway/'),
(822, '<NAME>', 'The truth is always exciting. Speak it, then. Life is dull without it.', 'http://forismatic.com/en/27ca9e6162/'),
(823, '<NAME>', 'Happiness cannot be travelled to, owned, earned, worn or consumed. Happiness is the spiritual experience of living every minute with love, grace and gratitude.', 'http://forismatic.com/en/4d95ae2144/'),
(824, '<NAME> ', 'Goals are the fuel in the furnace of achievement.', 'http://forismatic.com/en/cb02070732/'),
(825, '<NAME>', 'We must learn our limits. We are all something, but none of us are everything.', 'http://forismatic.com/en/22bd88b816/'),
(826, 'Dork Tower', 'Photoshop is a privilege, not a right.', 'https://quotesondesign.com/dork-tower/'),
(827, '<NAME>', 'Great ideas often receive violent opposition from mediocre minds.', 'http://forismatic.com/en/fc0602153c/'),
(828, '<NAME>', 'We learn wisdom from failure much more than from success. We often discover what will do, by finding out what will not do; and probably he who never made a mistake never made a discovery.', 'http://forismatic.com/en/6ee31a5e23/'),
(829, '<NAME>', 'I am of the opinion that my life belongs to the community, and as long as I live it is my privilege to do for it whatever I can.', 'http://forismatic.com/en/ff3953b7a7/'),
(830, '<NAME>', 'Write it down. You will lose thoughts, you thought, that you thought.', 'https://quotesondesign.com/vanessa-workoff/'),
(831, '<NAME>', 'Great is the art of beginning, but greater is the art of ending.', 'http://forismatic.com/en/f75fb52d4e/'),
(832, '<NAME>', 'Google has the functionality of a really complicated Swiss Army knife, but the home page is our way of approaching it closed. It’s simple, it’s elegant, you can slip it in your pocket, but it’s got the great doodad when you need it. A lot of our competitors are like a Swiss Army knife open – and that can be intimidating and occasionally harmful.', 'https://quotesondesign.com/marissa-mayer/'),
(833, 'Confucius ', 'Choose a job you love, and you will never have to work a day in your life.', 'http://forismatic.com/en/55ab3479c5/'),
(834, 'Japanese Proverb', 'Vision without action is a daydream. Action without vision is a nightmare.', 'http://forismatic.com/en/0ec0817bb8/'),
(835, 'Sun Tzu ', 'Can you imagine what I would do if I could do all I can?', 'http://forismatic.com/en/c977e980de/'),
(836, '<NAME>', 'If you want a quick logo that has no research, brand definition or storytelling as part of its development, then you are buying ART not DESIGN. Design creates connections.', 'https://quotesondesign.com/lisa-manson/'),
(837, '<NAME>', 'To fly, we have to have resistance.', 'http://forismatic.com/en/331d52681e/'),
(838, '<NAME>', 'Wrinkles should merely indicate where smiles have been.', 'http://forismatic.com/en/285ab4a955/'),
(839, '<NAME>', 'If I forget the words, they weren’t very memorable in the first place.', 'https://quotesondesign.com/willie-nelson/'),
(840, '<NAME>', 'For me, design is like choosing what I’m going to wear for the day – only much more complicated and not really the same at all.', 'https://quotesondesign.com/robynne-raye/'),
(841, '<NAME>', 'If someone in your life talked to you the way you talk to yourself, you would have left them long ago.', 'http://forismatic.com/en/63e85717ca/'),
(842, '<NAME>', 'Most companies are looking to “wow” with their products, when in reality what they should be looking for is an “of course” reaction from their users.', 'https://quotesondesign.com/christian-lindholm/'),
(843, '<NAME>', 'He who lives in harmony with himself lives in harmony with the world.', 'http://forismatic.com/en/3e8c575734/'),
(844, '<NAME> ', 'People are not lazy. They simply have impotent goals — that is, goals that do not inspire them.', 'http://forismatic.com/en/e584f91505/'),
(845, '<NAME>', 'What works good is better than what looks good, because what works good lasts.', 'https://quotesondesign.com/ray-eames/'),
(846, '<NAME>', 'Character is like a tree and reputation like a shadow. The shadow is what we think of it; the tree is the real thing.', 'http://forismatic.com/en/8b5ba55361/'),
(847, '<NAME>', 'The client may be king, but he’s not the art director.', 'https://quotesondesign.com/von-r-glitschka/'),
(848, '<NAME>', 'Never doubt that a small group of thoughtful, committed people can change the world. Indeed. It is the only thing that ever has.', 'http://forismatic.com/en/4bd9627090/'),
(849, '<NAME> ', 'Sometimes it is better to lose and do the right thing than to win and do the wrong thing.', 'http://forismatic.com/en/28f220e398/'),
(850, '<NAME>', 'Making good design is easy. It’s polishing the half-assed stuff that takes time.', 'https://quotesondesign.com/stefan-g-bucher-2/'),
(851, '<NAME>', 'Well you’re in your little room\nand you’re working on something good\nbut if it’s really good\nyou’re gonna need a bigger room\nand when you’re in the bigger room\nyou might not know what to do\nyou might have to think of\nhow you got started sitting in your little room\n(from the song “Little Room”)', 'https://quotesondesign.com/jack-white/'),
(852, '<NAME> ', 'You can do it if you believe you can!', 'http://forismatic.com/en/5935994c05/'),
(853, '<NAME>', 'Genius is one percent inspiration and ninety-nine percent perspiration.', 'http://forismatic.com/en/ce969bc08e/'),
(854, '<NAME>', 'Just because nobody complains doesn’t mean all parachutes are perfect.', 'https://quotesondesign.com/benny-hill/'),
(855, '<NAME>', 'Good design is all about making other designers feel like idiots because that idea wasn’t theirs.', 'https://quotesondesign.com/frank-chimero-2/'),
(856, '<NAME> ', 'Deep listening is miraculous for both listener and speaker.When someone receives us with open-hearted, non-judging, intensely interested listening, our spirits expand.', 'http://forismatic.com/en/591fcb44eb/'),
(857, '<NAME>', 'A well-defined problem is half solved.', 'https://quotesondesign.com/michael-osborne/'),
(858, '<NAME>', 'I will love the light for it shows me the way, yet I will endure the darkness because it shows me the stars.', 'http://forismatic.com/en/aa333640f2/'),
(859, '<NAME>', 'Being a famous designer is like being a famous dentist.', 'https://quotesondesign.com/noreen-morioka/'),
(860, '<NAME>', 'Do not be embarrassed by your mistakes. Nothing can teach us better than our understanding of them. This is one of the best ways of self-education.', 'http://forismatic.com/en/a255d39e59/'),
(861, '<NAME>', 'Society develops wit, but its contemplation alone forms genius.', 'http://forismatic.com/en/e92b8a261e/'),
(862, '<NAME>', 'All perceiving is also thinking, all reasoning is also intuition, all observation is also invention.', 'http://forismatic.com/en/5ec51a6455/'),
(863, '<NAME>', 'Design is a solution to a problem. Art is a question to a problem.', 'https://quotesondesign.com/john-maeda-5/'),
(864, 'Rodin', 'Nothing is a waste of time if you use the experience wisely.', 'http://forismatic.com/en/d6e649f1e5/'),
(865, '<NAME>', 'Limit your usage to two fonts (three at the absolute most) to help viewers focus on the words, not how many different fonts are saying them.', 'https://quotesondesign.com/dan-rubin-2/'),
(866, '<NAME>', 'The best way to predict your future is to create it.', 'http://forismatic.com/en/36004fe264/'),
(867, '<NAME>', 'Each man has his own vocation; his talent is his call. There is one direction in which all space is open to him.', 'http://forismatic.com/en/b525bc7ced/'),
(868, '<NAME>', 'The truest greatness lies in being kind, the truest wisdom in a happy mind.', 'http://forismatic.com/en/5c44d89cfc/'),
(869, '<NAME> ', 'There are two types of people... One who ask for directions and the others who find their way. Both may reach the destination but the satisfaction of the other kind is far greater.', 'http://forismatic.com/en/8b7d08ed78/'),
(870, 'Aristotle', 'We are what we repeatedly do. Excellence, therefore, is not an act, but a habit.', 'https://quotesondesign.com/aristotle-2/'),
(871, '<NAME>', 'There is no logical way to the discovery of these elemental laws. There is only the way of intuition, which is helped by a feeling for the order lying behind the appearance.', 'http://forismatic.com/en/684ed64001/'),
(872, '<NAME>', 'I’ve always held to the belief that the practice of creating compelling graphic design occurs not by employing the principals of a democracy, but rather, that of a monarchy.', 'https://quotesondesign.com/thomas-vasquez/'),
(873, '<NAME>', 'While we stop to think, we often miss our opportunity.', 'http://forismatic.com/en/cbcfdfcced/'),
(874, '<NAME>', 'You can be watching TV and see Coca-Cola, and you know that the President drinks Coke, Liz Taylor drinks Coke, and just think, you can drink Coke, too. A Coke is a Coke and no amount of money can get you a better Coke than the one the bum on the corner is drinking. All the Cokes are the same and all the Cokes are good. Liz Taylor knows it, the President knows it, the bum knows it, and you know it.', 'https://quotesondesign.com/andy-warhol-2/'),
(875, '<NAME>', 'Nobody can tell you if what you’re doing is good, meaningful or worthwhile. The more compelling the path, the more lonely it is.', 'https://quotesondesign.com/hugh-macleod/'),
(876, '<NAME>', 'I don’t think that design needs theory, but I think designers need theory.', 'https://quotesondesign.com/johanna-drucker/'),
(877, '<NAME>', 'People with tiny glasses and costly shoes can always find a couple of hours to explain how you did it all wrong.', 'https://quotesondesign.com/merlin-mann/'),
(878, '<NAME>', 'We can only be said to be alive in those moments when our hearts are conscious of our treasures.', 'http://forismatic.com/en/66e70a8940/'),
(879, '<NAME>', 'Type is a beautiful group of letters, not a group of beautiful letters.', 'https://quotesondesign.com/matthew-carter/'),
(880, '<NAME>', 'You have to finish things — that’s what you learn from, you learn by finishing things.', 'https://quotesondesign.com/neil-gaiman-2/'),
(881, '<NAME> ', 'I believe that a simple and unassuming manner of life is best for everyone, best both for the body and the mind.', 'http://forismatic.com/en/56e3c3382d/'),
(882, '<NAME>', 'Things should be made as simple as possible, but not any simpler.', 'http://forismatic.com/en/e69f4a9c99/'),
(883, '<NAME>', 'Many desperate acts of design (including gradients, drop shadows, and the gratuitous use of transparency) are perpetuated in the absence of a strong concept. A good idea provides a framework for design decisions, guiding the work.', 'https://quotesondesign.com/ellen-lupton-2/'),
(884, '<NAME> ', 'Waste no more time arguing about what a good man should be. Be one.', 'http://forismatic.com/en/b7ecffeb33/'),
(885, '<NAME>', 'All things are designed, just some things more thoughtfully than others.', 'https://quotesondesign.com/arman-nobari-3/'),
(886, '<NAME>', 'Colors, like features, follow the changes of the emotions.', 'https://quotesondesign.com/pablo-picasso-2/'),
(887, '<NAME> ', 'Be the chief but never the lord.', 'http://forismatic.com/en/256ad9ea83/'),
(888, '<NAME>', 'Now that we can do anything, what should we do?', 'https://quotesondesign.com/bill-buxton/'),
(889, 'Sophocles ', 'Men of perverse opinion do not know the excellence of what is in their hands, till some one dash it from them.', 'http://forismatic.com/en/2a4af3970c/'),
(890, '<NAME>', 'Nothing diminishes anxiety faster than action.', 'http://forismatic.com/en/22fabeef61/'),
(891, '<NAME>', 'The difference between a weed and a flower is a judgement.', 'https://quotesondesign.com/wayne-dyer/'),
(892, 'Socrates', 'The greatest way to live with honour in this world is to be what we pretend to be.', 'http://forismatic.com/en/55b77852c9/'),
(893, '<NAME>', 'Everyone thinks of changing the world, but no one thinks of changing himself.', 'http://forismatic.com/en/810ad4501e/'),
(894, '<NAME>', 'Art is an idea that has found its perfect visual expression. And design is the vehicle by which this expression is made possible. Art is a noun, and design is a noun and also a verb. Art is a product and design is a process. Design is the foundation of all the arts.', 'https://quotesondesign.com/paul-rand-10/'),
(895, '<NAME>', 'When it comes to writing code, the number one most important skill is how to keep a tangle of features from collapsing under the weight of its own complexity.', 'https://quotesondesign.com/john-d-cook/'),
(896, '<NAME> ', 'We cannot do everything at once, but we can do something at once.', 'http://forismatic.com/en/079b4c3d9a/'),
(897, '<NAME>’Keeffe', 'I found I could say things with color and shapes that I couldn’t say any other way – things I had no words for.', 'https://quotesondesign.com/georgia-okeeffe/'),
(898, '<NAME>', 'Luck is the residue of design.', 'https://quotesondesign.com/branch-rickey/'),
(899, '<NAME>', 'Treat people as if they were what they ought to be and you help them to become what they are capable of being.', 'http://forismatic.com/en/4ffec929b1/'),
(900, '<NAME>', 'It is important not to let the perfect become the enemy of the good, even when you can agree on what perfect is. Doubly so when you can’t. As unpleasant as it is to be trapped by past mistakes, you can’t make any progress by being afraid of your own shadow during design.', 'https://quotesondesign.com/greg-hudson/'),
(901, '<NAME>', '[Designers’] primary competence lies not in the technicalities of a craft but in the mastery of a process.', 'https://quotesondesign.com/ralph-caplan-2/'),
(902, '<NAME>', 'Design is not about innovation. Design is about communication. Innovation in design is usually a wonderful byproduct or direct result of a particular need. Design that seeks to foremost be innovative will commonly fall apart under its own stylistic girth.', 'https://quotesondesign.com/jason-santa-maria/'),
(903, '<NAME>', 'I mean there’s a fun in being hated, it puts a fire in your ass and it gets fucking boring to be loved by everyone.', 'https://quotesondesign.com/james-hetfield/'),
(904, '<NAME>', 'A work of art is one of mystery, the one extreme magic; everything else is either arithmetic or biology.', 'https://quotesondesign.com/truman-capote/'),
(905, '<NAME>', 'Learn from the mistakes of others. You can’t live long enough to make them all yourself.', 'https://quotesondesign.com/eleanor-roosevelt/'),
(906, '<NAME>', 'Art has to move you and design does not, unless it’s a good design for a bus.', 'https://quotesondesign.com/david-hockney/'),
(907, '<NAME>', 'Design is about making things good (and then better) and right (and fantastic) for the people who use and encounter them.', 'https://quotesondesign.com/matt-beale/'),
(908, '<NAME>', 'If design becomes your life, you can be sure a lot of people will be making their living thanks to your designs.', 'https://quotesondesign.com/andres-contenti/'),
(909, '<NAME>', 'Whether you think you can or whether you think you can’t – you are right.', 'https://quotesondesign.com/henry-ford-2/'),
(910, '<NAME>', 'When graphic designers got bored with the perfection offered by the newly arrived computers that could render artwork to within a tiny pixel, they rebelled by writing programmes that randomized individual letters and whole pages every time a printer processed them. A designer who didn’t like what a copywriter had delivered even set that text in illegible pictograms and icons.', 'https://quotesondesign.com/erik-spiekermann-3/'),
(911, '<NAME> ', 'Let us resolve to be masters, not the victims, of our history, controlling our own destiny without giving way to blind suspicions and emotions.', 'http://forismatic.com/en/db29212b96/'),
(912, '<NAME> ', 'We must become the change we want to see.', 'http://forismatic.com/en/0530425a56/'),
(913, '<NAME> ', 'To the timid and hesitating everything is impossible because it seems so.', 'http://forismatic.com/en/c786bd201f/'),
(914, '<NAME>', 'The critical distinction between a craftsman and an expert is what happens after a sufficient level of expertise has been achieved. The expert will do everything she can to remain wedded to a single context, narrowing the scope of her learning, her practice, and her projects. The craftsman has the courage and humility to set aside her expertise and pick up an unfamiliar technology or learn a new domain.', 'https://quotesondesign.com/dave-hoover/'),
(915, '<NAME>', 'Until you make peace with who you are, you will never be content with what you have.', 'http://forismatic.com/en/9abc7eb308/'),
(916, '<NAME>', 'If I’d asked people what they wanted, they would have said a faster horse.', 'https://quotesondesign.com/henry-ford/'),
(917, '<NAME>', 'To forgive is to set a prisoner free and realize that prisoner was you.', 'http://forismatic.com/en/584065a256/'),
(918, '<NAME>', 'Graphic design has been likened to a wine glass. When we drink wine we barely notice the glass it’s served in. It wouldn’t be true to say that we don’t care what glass we drink out of – we wouldn’t choose to drink a rare vintage out of a Tupperware mug, for example – but it’s the wine that matters, not the vessel it comes in.', 'https://quotesondesign.com/adrian-shaughnessy/'),
(919, '<NAME>', 'Let the design team be the design experts. Your job is to be the business expert. Ask them how their design solutions meet your business goals. If you trust your design team, and they can explain how their recommendations map to those goals, you’re fine. If you neither trust them, nor can they defend their choices it’s time to get a new design team.', 'https://quotesondesign.com/mike-monteiro/'),
(920, '<NAME>', 'I cannot give you the formula for success, but I can give you the formula for failure: which is: Try to please everybody.', 'http://forismatic.com/en/86d292614c/'),
(921, '<NAME> ', 'Beware of missing chances; otherwise it may be altogether too late some day.', 'http://forismatic.com/en/399bb5c2ad/'),
(922, '<NAME> ', 'He who lives in harmony with himself lives in harmony with the universe.', 'http://forismatic.com/en/8d1e20b1ef/'),
(923, '<NAME>', 'Nature takes away any faculty that is not used.', 'http://forismatic.com/en/25f6593313/'),
(924, 'Yoda', 'Do, or do not. There is no “try”.', 'https://quotesondesign.com/yoda/'),
(925, '<NAME>éry', 'Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.', 'https://quotesondesign.com/antoine-de-saint-exupery-2/'),
(926, 'Buddha ', 'The only real failure in life is not to be true to the best one knows.', 'http://forismatic.com/en/5027b320fe/'),
(927, '<NAME>', 'Design should never say, “Look at me.” It should always say, “Look at this.”', 'https://quotesondesign.com/david-craib/'),
(928, '<NAME>', 'Do not go where the path may lead, go instead where there is no path and leave a trail.', 'https://quotesondesign.com/ralph-waldo-emerson/'),
(929, '<NAME>', 'In design, there is no such thing as “rules”. There is however, common sense.', 'https://quotesondesign.com/ken-dyment/'),
(930, 'Seneca', 'Things that were hard to bear are sweet to remember.', 'http://forismatic.com/en/0227488385/'),
(931, '<NAME>', 'When we quit thinking primarily about ourselves and our own self-preservation, we undergo a truly heroic transformation of consciousness.', 'http://forismatic.com/en/a966f4a61b/'),
(932, '<NAME>', 'A good designer finds an elegant way to put everything you need on a page. A great designer convinces you half that shit is unnecessary.', 'https://quotesondesign.com/mike-monteiro-2/'),
(933, '<NAME>', 'Sure, our competitors will laugh. Let them laugh so hard that they cannot breathe.', 'https://quotesondesign.com/sam-ward/'),
(934, '<NAME>', 'Design is content with intent. Content without intent is noise. Intent without content is decoration.', 'https://quotesondesign.com/joe-sparano-2/'),
(935, '<NAME> ', 'Take time to deliberate, but when the time for action has arrived, stop thinking and go in.', 'http://forismatic.com/en/4dc6396327/'),
(936, '<NAME>', 'There’s no duo more passionate than the design and me.', 'https://quotesondesign.com/gonxalo-blanco/'),
(937, '<NAME>', 'All the great performers I have worked with are fuelled by a personal dream.', 'http://forismatic.com/en/bfa407f178/'),
(938, '<NAME>', 'To understand the heart and mind of a person, look not at what he has already achieved, but at what he aspires to do.', 'http://forismatic.com/en/d0c2f03898/'),
(939, 'Aristotle', 'Happiness depends upon ourselves.', 'http://forismatic.com/en/4aa7bcbffa/'),
(940, '<NAME>', 'Adversity causes some men to break, others to break records.', 'http://forismatic.com/en/90364e8026/'),
(941, '<NAME>', 'To speak gratitude is courteous and pleasant, to enact gratitude is generous and noble, but to live gratitude is to touch Heaven.', 'http://forismatic.com/en/a24572e380/'),
(942, '<NAME>', 'Those who cannot learn from history are doomed to repeat it.', 'http://forismatic.com/en/f50471a31a/'),
(943, '<NAME>', 'There are basically two types of people. People who accomplish things, and people who claim to have accomplished things. The first group is less crowded.', 'http://forismatic.com/en/5936fbcf84/'),
(944, '<NAME>', 'To envision what will be, you must remove yourself from the constant concern for what already is.', 'https://quotesondesign.com/scott-belsky/'),
(945, '<NAME>', 'If you look at any designer you admire, whose work inspires you, and whose approach somehow resonates with you, I promise you’ll find a person who does not think of what they do as just their job.', 'https://quotesondesign.com/alexander-isley-3/'),
(946, '<NAME> ', 'Our lives are the only meaningful expression of what we believe and in Whom we believe. And the only real wealth, for any of us, lies in our faith.', 'http://forismatic.com/en/e1a77f5331/'),
(947, '<NAME>', 'The art of progress is to preserve order amid change, and to preserve change amid order.', 'http://forismatic.com/en/1cd25f9131/'),
(948, '<NAME>', 'I think designers who aren’t selfish do really awful work.', 'https://quotesondesign.com/paul-sahre/'),
(949, '<NAME>', 'It is not so important to know everything as to appreciate what we learn.', 'http://forismatic.com/en/eb469701e2/'),
(950, 'Buddha', 'All that we are is the result of what we have thought. The mind is everything. What we think we become.', 'http://forismatic.com/en/56892157a8/'),
(951, '<NAME>', 'Design works best when it gets out of the user’s way.', 'https://quotesondesign.com/neil-gajera/'),
(952, '<NAME>', 'Be gentle first with yourself if you wish to be gentle with others.', 'http://forismatic.com/en/260f50a675/'),
(953, '<NAME> ', 'The best cure for the body is a quiet mind.', 'http://forismatic.com/en/91c14a41ca/'),
(954, '<NAME>.', 'I love making the stuff, that’s sort of the core of it. I love creating the stuff. It’s so satisfying to get from the beginning to the end, from a shaky nothing idea to something that’s well formed and the audience really likes. It’s like a drug: You keep trying to do it again and again and again. I’ve learned from experience that if you work harder at it, and apply more energy and time to it, and more consistency, you get a better result. It comes from the work.', 'https://quotesondesign.com/louis-c-k/'),
(955, '<NAME>', 'Conflict is the gadfly of thought. It stirs us to observation and memory. It instigates to invention. It shocks us out of sheeplike passivity, and sets us at noting and contriving.', 'http://forismatic.com/en/afdd2a5fee/'),
(956, '<NAME>', 'Sometimes magic is just someone spending more time on something than anyone else might reasonably expect.', 'https://quotesondesign.com/raymond-joseph-teller/'),
(957, '<NAME>', 'Design is to invent with intent. If you take away the ‘invent’ bit, you have an engineer. If you take away the ‘intent’ bit, you have an artist.', 'https://quotesondesign.com/rebecca-reubens/'),
(958, '<NAME>', 'If all else fails, [working harder than anyone else] is the greatest competitive advantage of any career.', 'https://quotesondesign.com/john-c-jay/'),
(959, 'Cervantes', 'Those who will play with cats must expect to be scratched.', 'http://forismatic.com/en/88f611380b/'),
(960, '<NAME> ', 'The meaning I picked, the one that changed my life: Overcome fear, behold wonder.', 'http://forismatic.com/en/4a244b285e/'),
(961, '<NAME>', 'Problems with visual design can turn users off so quickly that they never discover all the smart choices you made with navigation or interaction design.', 'https://quotesondesign.com/jesse-james-garrett/'),
(962, '<NAME>', 'Money is usually attracted, not pursued.', 'https://quotesondesign.com/jim-rohn/'),
(963, '<NAME> ', 'We can change our lives. We can do, have, and be exactly what we wish.', 'http://forismatic.com/en/88061ce065/'),
(964, '<NAME>', 'We use the letters of our alphabet every day with the utmost ease and unconcern, taking them for granted as the air we breathe. We do not realize that each of these letters is at our service today only as the result of a long and laboriously slow process of evolution in the age-old art of writing.', 'https://quotesondesign.com/douglas-c-mcmurtle/'),
(965, '<NAME>', 'Feeling and longing are the motive forces behind all human endeavor and human creations.', 'http://forismatic.com/en/17ebc0a135/'),
(966, '<NAME>', 'A person tends to critique a design in one of several ways. The most common, and usually least valuable, is by gut reaction.', 'https://quotesondesign.com/d-keith-robinson/'),
(967, '<NAME>', 'If you’re not prepared to be wrong, you’ll never come up with anything original.', 'https://quotesondesign.com/sir-ken-robinson/'),
(968, '<NAME>', 'Sadness may be part of life but there is no need to let it dominate your entire life.', 'http://forismatic.com/en/4886b3046a/'),
(969, '<NAME>', 'Style is time’s fool. Form is time’s student', 'https://quotesondesign.com/stewart-brand/'),
(970, 'Cool Hand Luke', 'What we got here is… failure to communicate.', 'https://quotesondesign.com/cool-hand-luke/'),
(971, '<NAME>', 'I seek constantly to improve my manners and graces, for they are the sugar to which all are attracted.', 'http://forismatic.com/en/2422554f96/'),
(972, '<NAME>', 'The world is a book, and those who do not travel read only a page.', 'http://forismatic.com/en/21f42fe505/'),
(973, '<NAME>', 'The beginning of wisdom is found in doubting; by doubting we come to the question, and by seeking we may come upon the truth.', 'http://forismatic.com/en/25bb811368/'),
(974, 'Mohammed', 'Our true wealth is the good we do in this world. None of us has faith unless we desire for our neighbours what we desire for ourselves.', 'http://forismatic.com/en/05b19607ce/'),
(975, '<NAME>', 'The difference between a Designer and Developer, when it comes to design skills, is the difference between shooting a bullet and throwing it.', 'https://quotesondesign.com/scott-hanselman/'),
(976, '<NAME>', 'Too often, look and feel, color scheme, layout, and identity are presented as solutions to problems discussed in these conversations long before regard is given to other less-aesthetic issues that may very well be the root of the problem. The old warning against treating symptom rather than cause comes to mind.', 'https://quotesondesign.com/cameron-moll/'),
(977, '<NAME>', 'Don’t worry about people stealing your design work. Worry about the day they stop.', 'https://quotesondesign.com/jeffrey-zeldman-6/'),
(978, '<NAME>', 'No yesterdays are ever wasted for those who give themselves to today.', 'http://forismatic.com/en/1aa9a39a09/'),
(979, '<NAME>', 'My eyes hurt, but my hand keeps sketching.', 'https://quotesondesign.com/pablo-del-valle/'),
(980, '<NAME>', 'Content precedes design. Design in the absence of content is not design, it’s decoration.', 'https://quotesondesign.com/jeffrey-zeldman-2/'),
(981, '<NAME>', 'Art does not reproduce what we see; rather, it makes us see.', 'https://quotesondesign.com/paul-klee/'),
(982, '<NAME>', 'Creativity is magical, but is not magic.', 'https://quotesondesign.com/charles-limb/'),
(983, '<NAME>', 'Everyone is an artist.', 'https://quotesondesign.com/joseph-beuys/'),
(984, '<NAME> ', 'Mind is everything: muscle, pieces of rubber. All that I am, I am because of my mind.', 'http://forismatic.com/en/c09d62800c/'),
(985, 'Buddha', 'Those who are free of resentful thoughts surely find peace.', 'http://forismatic.com/en/41c4b491e1/'),
(986, '<NAME>', 'There is not one big cosmic meaning for all, there is only the meaning we each give to our life.', 'http://forismatic.com/en/56293e5212/'),
(987, '<NAME> (when asked What is graphic design?)', 'I am.', 'https://quotesondesign.com/robert-brownjohn/'),
(988, '<NAME>', 'I am always driven by the terror of humiliation.', 'https://quotesondesign.com/judd-apatow/'),
(989, '<NAME> ', 'Whatever happens, take responsibility.', 'http://forismatic.com/en/0dcff6b972/'),
(990, '<NAME>', 'It’s extremely difficult to be simultaneously concerned with the end-user experience of whatever it is that you’re building and the architecture of the program that delivers that experience.', 'https://quotesondesign.com/james-hague/'),
(991, '<NAME>', 'Shallow men believe in luck. Strong men believe in cause and effect.', 'http://forismatic.com/en/a0fb0db294/'),
(992, '<NAME>', 'Ideas trump aesthetics. Convenience trumps UI. Content trumps platforms.', 'https://quotesondesign.com/marc-oliver-gern/'),
(993, 'Chanakya ', 'A man is great by deeds, not by birth.', 'http://forismatic.com/en/3999ff5cf0/'),
(994, '<NAME>', 'Some people never go crazy. What truly horrible lives they must live.', 'https://quotesondesign.com/charles-bukowski/'),
(995, '<NAME>', 'Right and wrong do not exist in graphic design. There is only effective and non-effective communication.', 'https://quotesondesign.com/peter-bilak/'),
(996, '<NAME>', 'We are all faced with a series of great opportunities brilliantly disguised as impossible situations.', 'http://forismatic.com/en/af37e9c5d1/'),
(997, '<NAME>', 'We unfortunately live in a corporate world where group decision making is made to avoid failure rather than to achieve success.', 'https://quotesondesign.com/bill-cahan-2/'),
(998, '<NAME>', 'The only way to be creative over time — to not be undone by our expertise — is to experiment with ignorance, to stare at things we don’t fully understand.', 'https://quotesondesign.com/jonah-lehrer/'),
(999, '<NAME>', 'How can there be too many typefaces in the world? Are there too many songs, too many books, too many places to go?', 'https://quotesondesign.com/rian-hughes-2/'),
(1000, '<NAME>', 'Inspiration is hogwash. My work comes directly out of my loves and hates. Muses don’t whisper in my ear, and ideas don’t flow over my body like a cool rain.', 'https://quotesondesign.com/james-victore-2/'),
(1001, 'Epictetus ', 'If you wish to be a writer, write.', 'http://forismatic.com/en/948ec6e139/'),
(1002, '<NAME>', 'Designers shooting for usable is like a chef shooting for edible.', 'https://quotesondesign.com/aarron-walter/'),
(1003, '<NAME>', 'Happiness is a perfume you cannot pour on others without getting a few drops on yourself.', 'http://forismatic.com/en/18ab34f2dd/'),
(1004, '<NAME>', 'Man up, admit it isn’t good enough, and fix it now.', 'https://quotesondesign.com/robert-nealan/'),
(1005, 'Buddha', 'Better than a thousand hollow words is one word that brings peace.', 'http://forismatic.com/en/ce88a64146/'),
(1006, '<NAME>', 'It is one of the blessings of old friends that you can afford to be stupid with them.', 'http://forismatic.com/en/c8293e72de/'),
(1007, '<NAME>', 'We have committed the Golden Rule to memory; let us now commit it to life.', 'http://forismatic.com/en/44a93b4cac/'),
(1008, '<NAME> ', 'Kindness in words creates confidence. Kindness in thinking creates profoundness. Kindness in giving creates love.', 'http://forismatic.com/en/6df1139767/'),
(1009, '<NAME> ', 'Your big opportunity may be right where you are now.', 'http://forismatic.com/en/b433c68801/'),
(1010, '<NAME>', 'Yesterday I dared to struggle. Today I dare to win.', 'http://forismatic.com/en/fd3133808f/'),
(1011, '<NAME> ', 'Ideas are the beginning points of all fortunes.', 'http://forismatic.com/en/ab1da33dd0/'),
(1012, '<NAME>', 'If one advances confidently in the direction of his dream, and endeavours to live the life which he had imagines, he will meet with a success unexpected in common hours.', 'http://forismatic.com/en/ad20ab784c/'),
(1013, '<NAME>', 'Design is a process for making things right, for shaping what people need.', 'https://quotesondesign.com/ralph-caplan/'),
(1014, '<NAME>', 'Man cannot discover new oceans unless he has the courage to lose sight of the shore.', 'http://forismatic.com/en/bb87ad583b/'),
(1015, '<NAME>', 'Sometimes the most important thing in a whole day is the rest we take between two deep breaths.', 'http://forismatic.com/en/638bad4f47/'),
(1016, '<NAME>', 'Questions about whether design is necessary or affordable are quite beside the point: design is inevitable. The alternative to good design is bad design, not no design at all.', 'https://quotesondesign.com/douglas-martin/'),
(1017, '<NAME>', 'These days people seek knowledge, not wisdom. Knowledge is of the past, wisdom is of the future.', 'http://forismatic.com/en/a54e9c3705/'),
(1018, '<NAME>', 'Too often we underestimate the power of a touch, a smile, a kind word, a listening ear, an honest compliment, or the smallest act of caring, all of which have the potential to turn a life around.', 'http://forismatic.com/en/478d027b9b/'),
(1019, '<NAME>', 'Design is where science and art break even.', 'https://quotesondesign.com/robin-mathew/'),
(1020, '<NAME> ', 'Cherish your visions and your dreams as they are the children of your soul; the blueprints of your ultimate achievements.', 'http://forismatic.com/en/6732c8053f/'),
(1021, '<NAME>', 'A good design is driven by needs and defined by constraints.', 'https://quotesondesign.com/astik-pant/'),
(1022, 'Buddha', 'Your work is to discover your work and then with all your heart to give yourself to it.', 'http://forismatic.com/en/c5e80c28b1/'),
(1023, '<NAME> ', 'It is in your moments of decision that your destiny is shaped.', 'http://forismatic.com/en/77b67d9ed1/'),
(1024, '<NAME>', 'For me, discomfort is a signal of an exceptional concept. When I’m totally comfortable with a concept, I’ve probably used it fore or seen it somewhere else. Discomfort is almost a prerequisite for a great idea.', 'https://quotesondesign.com/craig-frazier/'),
(1025, '<NAME>', 'Technical skill is mastery of complexity, while creativity is mastery of simplicity.', 'https://quotesondesign.com/christopher-zeeman/'),
(1026, '<NAME>', 'Always read with a pen in hand. The pen should be used both to mark the text you want to remember and to write from where the text leaves you. Think of the text as the starting point for your own words.', 'https://quotesondesign.com/mandy-brown-2/'),
(1027, '<NAME>', 'I can never stand still. I must explore and experiment. I am never satisfied with my work. I resent the limitations of my own imagination.', 'https://quotesondesign.com/walt-disney-2/'),
(1028, '<NAME>', 'It is not so hard to be original, what is hard, is to be original with continuity.', 'https://quotesondesign.com/andres-segovia/'),
(1029, '<NAME>', 'Sometimes you have to keep ideas for decades before they have any use.', 'https://quotesondesign.com/marc-english/'),
(1030, '<NAME>', 'Courage is what it takes to stand up and speak; courage is also what it takes to sit down and listen.', 'http://forismatic.com/en/aa39aad147/'),
(1031, '<NAME>', 'The space between an idea and a concept is your lips. If you can’t say it out loud you can’t do it.', 'https://quotesondesign.com/nick-longo/'),
(1032, '<NAME>', 'If you can’t explain it simply, you don’t understand it well enough.', 'https://quotesondesign.com/albert-einstein/'),
(1033, 'Buddha', 'In the sky, there is no distinction of east and west; people create distinctions out of their own minds and then believe them to be true.', 'http://forismatic.com/en/f5f29075b9/'),
(1034, '<NAME>', 'Think like a wise man but communicate in the language of the people.', 'https://quotesondesign.com/william-butler-yeats/'),
(1035, '<NAME> ', 'God has given you one face, and you make yourself another.', 'http://forismatic.com/en/a2f3253ce0/'),
(1036, 'Epictetus', 'First say to yourself what you would be; and then do what you have to do.', 'http://forismatic.com/en/cd27477c43/'),
(1037, '<NAME>', 'Fate is in your hands and no one elses', 'http://forismatic.com/en/389f2ed688/'),
(1038, '<NAME>', 'Let your watchword be order and your beacon beauty.', 'https://quotesondesign.com/daniel-hudson-burnham/'),
(1039, '<NAME>', 'A leader or a man of action in a crisis almost always acts subconsciously and then thinks of the reasons for his action.', 'http://forismatic.com/en/7a8703e60b/'),
(1040, '<NAME>', 'I want to risk hitting my head on the ceiling of my talent. I want to really test it out and say: O.K., you’re not that good. You just reached the level here. I don’t ever want to fail, but I want to risk failure every time out of the gate.', 'https://quotesondesign.com/quentin-tarantino/'),
(1041, '<NAME> ', 'Nothing will work unless you do.', 'http://forismatic.com/en/f6bc492cfd/'),
(1042, '<NAME>', 'Web design is art wrapped in technology.', 'https://quotesondesign.com/james-weaver/'),
(1043, 'Rumi', 'Your task is not to seek love, but merely to seek and find all the barriers within yourself that you have built against it.', 'http://forismatic.com/en/206a09525d/'),
(1044, '<NAME> ', 'We should all be thankful for those people who rekindle the inner spirit.', 'http://forismatic.com/en/0555876a47/'),
(1045, '<NAME>', 'Our ability to achieve happiness and success depends on the strength of our wings.', 'http://forismatic.com/en/794c97ce3f/'),
(1046, '<NAME>', 'An inexperienced observer sees everything in a picture; the experienced one sees even the things that are missing.', 'https://quotesondesign.com/rastko-ciric/'),
(1047, '<NAME>', '“Fun” is a tricky word. People think that if you’re having “fun”, you’re ignoring content, or you’re ignoring the importance of the piece. But that’s not true.', 'https://quotesondesign.com/carin-goldberg-2/'),
(1048, '<NAME>', 'No person is your friend who demands your silence, or denies your right to grow.', 'http://forismatic.com/en/1bacd023dd/'),
(1049, '<NAME> ', 'If you want your life to be more rewarding, you have to change the way you think.', 'http://forismatic.com/en/cc6966e540/'),
(1050, '<NAME>', 'There is no design without discipline. There is no discipline without intelligence.', 'https://quotesondesign.com/massimo-vignelli-2/'),
(1051, '<NAME>', 'Design is an art of situations. Designers respond to a need, a problem, a circumstance, that arises in the world. The best work is produced in relation to interesting situations – an open-minded client, a good cause, or great content.', 'https://quotesondesign.com/ellen-lupton-5/'),
(1052, '<NAME>', 'Opportunity is missed by most because it is dressed in overalls and looks like work.', 'http://forismatic.com/en/d68333403e/'),
(1053, '<NAME> ', 'The future is an opaque mirror. Anyone who tries to look into it sees nothing but the dim outlines of an old and worried face.', 'http://forismatic.com/en/bc892c7baa/'),
(1054, 'Virgil', 'Fortune favours the brave.', 'http://forismatic.com/en/d4bbfa22b3/'),
(1055, '<NAME>', 'Computer design is quite often merely bad design done on a computer.', 'https://quotesondesign.com/mike-hicks/'),
(1056, '<NAME>', 'To attempt mastery of everything inevitably makes us mediocre in many areas.', 'https://quotesondesign.com/simon-collison/'),
(1057, '<NAME>', 'If you have a great idea, it will tell you how to execute it.', 'https://quotesondesign.com/jack-h-summerford/'),
(1058, '<NAME>', 'Rejection process is not fun. It’s the red pen on the page, the discarded sketch, sometimes is the only way forward.', 'https://quotesondesign.com/jonah-lehrer-2/'),
(1059, '<NAME>', 'Kindness is more important than wisdom, and the recognition of this is the beginning of wisdom.', 'http://forismatic.com/en/c41da8741b/'),
(1060, '<NAME>', 'People seldom notice old clothes if you wear a big smile.', 'http://forismatic.com/en/5f8bae1c94/'),
(1061, '<NAME>', 'Advertising is the art of convincing people to spend money they don’t have for something they don’t need.', 'https://quotesondesign.com/will-rogers/'),
(1062, '<NAME>', 'A design is a designer’s mind in a suit.', 'https://quotesondesign.com/nasa-munir/'),
(1063, '<NAME>', 'If a design can be refined, without disturbing its image, it seems reasonable to do so. A logo, after all, is an instrument of pride and should be shown at its best.', 'https://quotesondesign.com/paul-rand-11/'),
(1064, '<NAME>', 'The big problem is most contemporary design practiced today is not really graphic design, but graphic decoration.', 'https://quotesondesign.com/art-chantry-2/'),
(1065, '<NAME>', 'Simply put, you believer that things or people make you unhappy, but this is not accurate. You make yourself unhappy.', 'http://forismatic.com/en/16b508cfcb/'),
(1066, '<NAME>', 'Anyone who proposes to do good must not expect people to roll stones out of his way, but must accept his lot calmly if they even roll a few more upon it.', 'http://forismatic.com/en/bd57790cdc/'),
(1067, '<NAME>', 'Time you enjoyed wasting was not wasted.', 'http://forismatic.com/en/9daf3f1966/'),
(1068, '<NAME>', 'We can’t solve problems by using the same kind of thinking we used when we created them.', 'https://quotesondesign.com/albert-einstein-4/'),
(1069, '<NAME>', 'Fear grows in darkness; if you think theres a bogeyman around, turn on the light.', 'http://forismatic.com/en/3ecd362813/'),
(1070, '<NAME> ', 'Be faithful in small things because it is in them that your strength lies.', 'http://forismatic.com/en/bde669ecf1/'),
(1071, '<NAME>', 'You can use an eraser on the drafting table or a sledge hammer on the construction site.', 'https://quotesondesign.com/frank-lloyd-wright/'),
(1072, '<NAME>', 'If you accept the expectations of others, especially negative ones, then you never will change the outcome.', 'http://forismatic.com/en/da03e71034/'),
(1073, '<NAME>', 'However, I’ve always been more concerned with users. Programmers do their work but once, while users are saddled with it ever thereafter.', 'https://quotesondesign.com/jef-raskin/'),
(1074, '<NAME>', 'Kindness is the language which the deaf can hear and the blind can see.', 'http://forismatic.com/en/3585e8d35d/'),
(1075, '<NAME>', 'Strength to carry on despite the odds means you have faith in your own abilities and know how.', 'http://forismatic.com/en/5741a3ae4f/'),
(1076, '<NAME>', 'Being good in business is the most fascinating kind of art. Making money is art and working is art and good business is the best art.', 'https://quotesondesign.com/andy-warhol/'),
(1077, '<NAME>', 'I’m not thinking about this pen when I’m writing with it. Rather, it’s when you least think about it that the pen can be held most naturally.', 'https://quotesondesign.com/naoto-fukasawa/'),
(1078, 'Buddha', 'You will not be punished for your anger, you will be punished by your anger.', 'http://forismatic.com/en/5885e3dfb6/'),
(1079, '<NAME>', 'The designer is not always right. The researcher is not always wrong. Profit is not always the motive; market research, whatever its outcome, should never be used as a good excuse for bad design – in the same sense that good design should never be used to promote a bad product.', 'https://quotesondesign.com/paul-rand-9/'),
(1080, '<NAME>', 'You may say Im a dreamer, but Im not the only one, I hope someday you will join us, and the world will live as one.', 'http://forismatic.com/en/44a5005790/'),
(1081, '<NAME>', 'The scariest moment is always just before you start.', 'https://quotesondesign.com/stephen-king/'),
(1082, '<NAME>', 'When you’re passionate about what you do, you become an evangelist for the very thing you do.', 'https://quotesondesign.com/jonathan-snook/'),
(1083, '<NAME>', 'Life is a gift, and it offers us the privilege, opportunity, and responsibility to give something back by becoming more', 'http://forismatic.com/en/1aef4201bd/'),
(1084, '<NAME>', 'He that respects himself is safe from others; he wears a coat of mail that none can pierce.', 'http://forismatic.com/en/8914fb6303/'),
(1085, '<NAME>', 'Intuition is the supra-logic that cuts out all the routine processes of thought and leaps straight from the problem to the answer.', 'http://forismatic.com/en/d63f26d5d4/'),
(1086, '<NAME> ', 'Wicked people are always surprised to find ability in those that are good.', 'http://forismatic.com/en/a83d7d4ebf/'),
(1087, '<NAME>', 'Whoso loves, believes the impossible.', 'http://forismatic.com/en/ec863fe792/'),
(1088, '<NAME>', 'Real success is finding your lifework in the work that you love.', 'http://forismatic.com/en/4d409a01fb/'),
(1089, '<NAME>', 'It is not easy to know what you like. Most people fool themselves their entire lives about this. Self-acquaintance is a rare condition.', 'https://quotesondesign.com/robert-henri/'),
(1090, '<NAME>', 'Art is like masturbation. It is selfish and introverted and done for you and you alone. Design is like sex. There is someone else involved, their needs are just as important as your own, and if everything goes right, both parties are happy in the end.', 'https://quotesondesign.com/colin-wright/'),
(1091, '<NAME>', 'Simplify, then add lightness.', 'https://quotesondesign.com/colin-chapman/'),
(1092, '<NAME>', 'Divide each difficulty into as many parts as is feasible and necessary to resolve it.', 'http://forismatic.com/en/26d33865c0/'),
(1093, '<NAME>', 'Do good by stealth, and blush to find it fame.', 'http://forismatic.com/en/ad2736fe9f/'),
(1094, '<NAME>', 'Great things are not accomplished by those who yield to trends and fads and popular opinion.', 'https://quotesondesign.com/jack-kerouac/'),
(1095, '<NAME>', 'An old surrealist trick was to take images that had no business being together and plopping them into the same image. Your mind wants to make associations. Design does that all the time.', 'https://quotesondesign.com/art-chantry/'),
(1096, '<NAME>', 'What do we live for, if it is not to make life less difficult for each other?', 'http://forismatic.com/en/5e724cc594/'),
(1097, '<NAME>', 'Any system that sees aesthetics as irrelevant, that separates the artist from the product, that fragments the work of the individual, or creates by committee, or makes mincemeat of the creative process will in the long run diminish not only the product but the maker as well.', 'https://quotesondesign.com/paul-rand-5/'),
(1098, '<NAME>', 'The word ‘studio’ is derives from ‘study’. Our object is not to know the answers before we do the work. It’s to know them after we do it.', 'https://quotesondesign.com/bruce-mau/'),
(1099, '<NAME>', 'Most folks are as happy as they make up their minds to be.', 'http://forismatic.com/en/8f581c933c/'),
(1100, '<NAME>', 'I would show my jobs to my mother, and she would always say the same thing: “That’s nice dear.” And then she would say, “Did you write it?” or “Did you do the drawing?” or “Did you take the pictures?” I’d always answer “no,” then I realized the problem. My answer was then, “I made this happen. It’s called design.”', 'https://quotesondesign.com/brian-webb/'),
(1101, '<NAME>', 'The only important thing about design is how it relates to people.', 'https://quotesondesign.com/victor-papanek-2/'),
(1102, '<NAME>', 'Kind words do not cost much. Yet they accomplish much.', 'http://forismatic.com/en/2979e65d3b/'),
(1103, '<NAME>', 'History has remembered the kings and warriors, because they destroyed; art has remembered the people, because they created.', 'https://quotesondesign.com/william-morris/'),
(1104, '<NAME>', 'Designers can create normalcy out of chaos; they can clearly communicate ideas through the organising and manipulating of words and pictures.', 'https://quotesondesign.com/jeffrey-veen-3/'),
(1105, '<NAME>', 'To be outstanding – get comfortable with being uncomfortable.', 'https://quotesondesign.com/alrik-koudenburg/'),
(1106, '<NAME>', 'Decisions on artwork by committee end up being made on the premise of not turning people off rather than turning people on.', 'https://quotesondesign.com/paul-attwood/'),
(1107, '<NAME>', 'The medium is the message.', 'https://quotesondesign.com/marshall-mcluhan/'),
(1108, '<NAME> ', 'How different our lives are when we really know what is deeply important to us, and keeping that picture in mind, we manage ourselves each day to be and to do what really matters most.', 'http://forismatic.com/en/b0cc90520a/'),
(1109, '<NAME>', 'Someone is special only if you tell them.', 'http://forismatic.com/en/8209f00ebc/'),
(1110, '<NAME> ', 'And as we let our own light shine, we unconsciously give other people permission to do the same.', 'http://forismatic.com/en/f6fa0105a2/'),
(1111, '<NAME>', 'Those who dream by day are cognizant of many things which escape those who dream only by night.', 'http://forismatic.com/en/f0d9ce8d48/'),
(1112, 'Epictetus ', 'Difficulties are things that show a person what they are.', 'http://forismatic.com/en/79aab6f9f0/'),
(1113, '<NAME>', 'Just because your ad looks good is no insurance that it will get looked at. How many people do you know who are impeccably groomed… but dull?', 'https://quotesondesign.com/bill-bernbach-5/'),
(1114, '<NAME>', 'Never apologize for showing feelings. When you do so, you apologize for the truth.', 'http://forismatic.com/en/8239b01e1c/'),
(1115, '<NAME>', 'There are only two ways to live your life. One is as though nothing is a miracle. The other is as though everything is a miracle.', 'http://forismatic.com/en/2040069bb2/'),
(1116, '<NAME>', 'Everybody’s a web designer until, you know, they actually try to do it.', 'https://quotesondesign.com/gabe-boning/'),
(1117, '<NAME> ', 'It all depends on how we look at things, and not how they are in themselves.', 'http://forismatic.com/en/438420d199/'),
(1118, '<NAME>', 'A lot of companies have tried to support designers by giving them “a seat at the table.” What this usually means in practice, however, is that a designer is sitting at the table well after the important product decisions that influence the design have been made. This is usually where complicated and muddy designs are born.', 'https://quotesondesign.com/rebekah-cox/'),
(1119, '<NAME>', 'Trouble is only opportunity in work clothes.', 'http://forismatic.com/en/8edc3434db/'),
(1120, '<NAME>', 'I cannot say whether things will get better if we change; what I can say is they must change if they are to get better.', 'http://forismatic.com/en/54d3ab084b/'),
(1121, '<NAME>', 'If you don’t have time to read, you don’t have the time or the tools to write.', 'https://quotesondesign.com/stephen-king-2/'),
(1122, '<NAME>', 'Today, give a stranger a smile without waiting for it may be the joy they need to have a great day.', 'http://forismatic.com/en/dc60baca9e/'),
(1123, 'Epictetus ', 'Know, first, who you are, and then adorn yourself accordingly.', 'http://forismatic.com/en/40a0a88b21/'),
(1124, '<NAME>', 'No matter how carefully you plan your goals they will never be more that pipe dreams unless you pursue them with gusto.', 'http://forismatic.com/en/896ffbe38f/'),
(1125, '<NAME>', 'A logo doesn’t sell, it identifies. A logo derives its meaning from the quality of the thing it symbolizes, not the other way around. A logo is less important than the product it signifies; what it means is more important than what it looks like.', 'https://quotesondesign.com/paul-rand-3/'),
(1126, 'Lorem Ipsum (translation)', 'There is no one who loves pain itself, who seeks after it and wants to have it, simply because it is pain….', 'https://quotesondesign.com/lorem-ipsum-translation/'),
(1127, '<NAME>', 'Don’t ask what the world needs. Ask what makes you come alive and go do it.', 'https://quotesondesign.com/howard-thurman/'),
(1128, '<NAME>', 'Do you think advertisement can sell if nobody can read it? You cannot save souls in an empty church.', 'https://quotesondesign.com/david-ogilvy-4/'),
(1129, '<NAME> ', 'It is impossible to feel grateful and depressed in the same moment.', 'http://forismatic.com/en/e2062d4a69/'),
(1130, '<NAME> ', 'When people are like each other they tend to like each other.', 'http://forismatic.com/en/3d1623ca44/'),
(1131, '<NAME>', 'Beautiful accidents can happen, but accident is not the basis for design excellence. Purposeful discovery followed by focused, skillful conceptualization and execution is the basis for design excellence.', 'https://quotesondesign.com/andy-rutledge/'),
(1132, 'Buddha', 'To keep the body in good health is a duty... otherwise we shall not be able to keep our mind strong and clear.', 'http://forismatic.com/en/6276e70075/'),
(1133, '<NAME>', 'Everyone has a plan until they get punched in the face.', 'https://quotesondesign.com/mike-tyson/'),
(1134, '<NAME>', 'An invasion of armies can be resisted, but not an idea whose time has come.', 'http://forismatic.com/en/6420d25464/'),
(1135, '<NAME>', 'I don’t think of myself as an artist. I know some designers consider themselves such, but I can’t. This is not to say that I don’t hope that our work has artistic merit. Anyway, I never know how someone could proclaim himself or herself to be an ‘artist’; I think it should be a designation best left for others to bestow, much like ‘genius’ and ‘asshole’.', 'https://quotesondesign.com/alexander-isley-6/'),
(1136, '<NAME>', 'No alibi will save you from accepting the responsibility.', 'http://forismatic.com/en/26abe07ca1/'),
(1137, 'Confucius ', 'It does not matter how slowly you go as long as you do not stop.', 'http://forismatic.com/en/617ab494b7/'),
(1138, '<NAME>', 'If you do what you always did, you will get what you always got.', 'https://quotesondesign.com/albert-einstein-6/'),
(1139, '<NAME>', 'We are the leaves of one branch, the drops of one sea, the flowers of one garden.', 'http://forismatic.com/en/8acd3f4403/'),
(1140, 'Confucius ', 'To be wrong is nothing unless you continue to remember it.', 'http://forismatic.com/en/a280384048/'),
(1141, '<NAME>', 'Being a graphic designer gets you used to rejection of your brilliance. So it’s good practice for dating.', 'https://quotesondesign.com/heather-phillips/'),
(1142, '<NAME>', 'Traditional marketing is often seeing is getting people to do things but I think web marketing is about helping people do things.', 'https://quotesondesign.com/gerry-mcgovern/'),
(1143, '<NAME>', 'We have a strategic plan. It’s called doing things.', 'https://quotesondesign.com/herb-kelleher/'),
(1144, '<NAME>', 'You want something done, ask someone busy.', 'https://quotesondesign.com/mat-helme/'),
(1145, '37 Signals', 'Inspiration is perishable.', 'https://quotesondesign.com/37-signals/'),
(1146, '<NAME>', 'Don’t try and reinvent the wheel – just work on making it better than anyone else.', 'https://quotesondesign.com/david-a-stuebe-2/'),
(1147, 'Epictetus ', 'The world turns aside to let any man pass who knows where he is going.', 'http://forismatic.com/en/e374f47a6b/'),
(1148, 'So<NAME>', 'Truth is powerful and it prevails.', 'http://forismatic.com/en/7614a89ff7/'),
(1149, '<NAME>', 'A graphic designer is a machine that turns coffee into beautiful, functional imagery.', 'https://quotesondesign.com/lisa-manson-2/'),
(1150, '<NAME>', 'If we learn to open our hearts, anyone, including the people who drive us crazy, can be our teacher.', 'http://forismatic.com/en/049ccea1b7/'),
(1151, '<NAME>', 'Whoever tells the best story wins.', 'https://quotesondesign.com/annette-simmons/'),
(1152, '<NAME>', 'Nothing in life is to be feared. It is only to be understood.', 'http://forismatic.com/en/59d562f1f8/'),
(1153, '<NAME>', 'Change is the law of life. And those who look only to the past or present are certain to miss the future.', 'http://forismatic.com/en/0b78e5c32e/'),
(1154, '<NAME> ', 'To know oneself is to study oneself in action with another person.', 'http://forismatic.com/en/61de2bff55/'),
(1155, '<NAME>', 'Kings and cabbages go back to compost, but good deeds stay green forever.', 'http://forismatic.com/en/c0d568a162/'),
(1156, '<NAME>', 'We adore chaos because we love to produce order.', 'https://quotesondesign.com/m-c-escher/'),
(1157, '<NAME> ', 'Opportunity often comes disguised in the form of misfortune, or temporary defeat.', 'http://forismatic.com/en/c5d88c44fe/'),
(1158, '<NAME>', 'We are interpreters – not merely translators between sender and receiver. What we say and how we say it makes a difference. If we want to speak to people, we need to know their language. In order to design for understanding, we need to understand design.', 'https://quotesondesign.com/erik-spiekermann-2/'),
(1159, '<NAME>', 'You cannot make yourself feel something you do not feel, but you can make yourself do right in spite of your feelings.', 'http://forismatic.com/en/a15ca8d55a/'),
(1160, '<NAME> ', 'Be the change that you want to see in the world.', 'http://forismatic.com/en/8ea44b2059/'),
(1161, '<NAME>', 'From error to error one discovers the entire truth.', 'http://forismatic.com/en/72dff6e2d3/'),
(1162, '<NAME>', 'A lot of people give up just before theyre about to make it. You know you never know when that next obstacle is going to be the last one.', 'http://forismatic.com/en/2bc6cf0fd5/'),
(1163, '<NAME>', 'Imagination is the highest kite one can fly.', 'http://forismatic.com/en/ef2ae7c34c/'),
(1164, 'Moliere', 'It is not only for what we do that we are held responsible, but also for what we do not do.', 'http://forismatic.com/en/94eb4a0c57/'),
(1165, '<NAME>', 'Every child is an artist. The challenge is to remain an artist after you grow up.', 'https://quotesondesign.com/pablo-picasso-6/'),
(1166, '<NAME>', 'A successful person is one who can lay a firm foundation with the bricks that others throw at him or her.', 'http://forismatic.com/en/67e80aa85a/'),
(1167, '<NAME>', 'If a feature or product were legitimately easy the user would not be writing in to support about how stuck they are. Sure, some percentage of users will find questions to ask about any interface. But do you want to start the conversation by assuming the user falls into that percentage? You venture to learn much more if you assume the software is wrong, not the user.', 'https://quotesondesign.com/andrew-spittle/'),
(1168, 'Dr. <NAME>', 'Aim for success, not perfection. Never give up your right to be wrong, because then you will lose the ability to learn new things and move forward with your life.', 'http://forismatic.com/en/20b37f164a/'),
(1169, '<NAME>', 'Risk more than others think is safe. Care more than others think is wise. Dream more than others think is practical.Expect more than others think is possible.', 'http://forismatic.com/en/c0edc5d2b4/'),
(1170, '<NAME>', 'Everything that can be said, can be said clearly.', 'https://quotesondesign.com/ludwig-wittgenstein/'),
(1171, '<NAME>', 'I can think of nothing worse than becoming really popular, being all the rage.', 'https://quotesondesign.com/rem-koolhaas-2/'),
(1172, 'Plato', 'We should pursue and practice moderation.', 'https://quotesondesign.com/plato/'),
(1173, '<NAME>', 'The amount of happiness that you have depends on the amount of freedom you have in your heart.', 'http://forismatic.com/en/4fbed94b98/'),
(1174, '<NAME>', 'Never say there is nothing beautiful in the world any more. There is always something to make you wonder in the shape of a tree, the trembling of a leaf.', 'http://forismatic.com/en/d361f5a0fd/'),
(1175, '<NAME>', 'Keep your eyes on the stars and your feet on the ground.', 'http://forismatic.com/en/ea9488ff80/'),
(1176, '<NAME>', 'Think as a wise man but communicate in the language of the people.', 'http://forismatic.com/en/879d2aacd0/'),
(1177, '<NAME>', 'I find going to bed and pulling my imagination over my head often means waking up with a solution to a design problem. That state of limbo, the time between sleeping and waking, seems to allow ideas to somehow outflank the sentinels of common sense. That’s when they can float to the surface. I find ideas often show up in the shower, or while I’m contemplating marmalade and toast and breakfast.', 'https://quotesondesign.com/alan-fletcher/'),
(1178, '<NAME>', 'We’re all naturally curious when we’re eight years old. But as most people get older, they become less and less curious, so they ask other people to be curious for them. That’s what I do for a living.', 'https://quotesondesign.com/ron-miriello/'),
(1179, '<NAME>', 'There is no scarcity of opportunity to make a living at what you love; theres only scarcity of resolve to make it happen.', 'http://forismatic.com/en/f9a1658257/'),
(1180, '<NAME>', 'Accept challenges, so that you may feel the exhilaration of victory.', 'http://forismatic.com/en/eea062908d/'),
(1181, '<NAME> ', 'The key to growth is the introduction of higher dimensions of consciousness into our awareness.', 'http://forismatic.com/en/88600924b7/'),
(1182, '<NAME>', 'Designers must be stewards of design rather than dictators.', 'https://quotesondesign.com/cassie-mcdaniel/'),
(1183, '<NAME>', 'Wit lies in recognizing the resemblance among things which differ and the difference between things which are alike.', 'http://forismatic.com/en/769d5561e0/'),
(1184, '<NAME> ', 'You have to think anyway, so why not think big?', 'http://forismatic.com/en/46fca0584f/'),
(1185, '<NAME>', 'He who has imagination without learning has wings but no feet.', 'http://forismatic.com/en/a4989eb23a/'),
(1186, 'Osho', 'Don’t seek, don’t search, don’t ask, don’t knock, don’t demand – relax. If you relax, it comes. If you relax, it is there. If you relax, you start vibrating with it.', 'http://forismatic.com/en/fec8e9ab83/'),
(1187, '<NAME>', 'Whenever I have an idea I write it down, even if it’s not a very good idea. Sometimes the bad ideas will lead to better ones.', 'https://quotesondesign.com/steven-snell/'),
(1188, '<NAME>', 'I believe that imagination is stronger than knowledge — myth is more potent than history — dreams are more powerful than facts — hope always triumphs over experience — laughter is the cure for grief — love is stronger than death.', 'http://forismatic.com/en/e71df743cc/'),
(1189, '<NAME>', 'Your opinion won’t matter. It’s important that you prove your point with numbers.', 'https://quotesondesign.com/samantha-levan/'),
(1190, 'Plato', 'Wise men talk because they have something to say; fools, because they have to say something.', 'http://forismatic.com/en/193a361959/'),
(1191, '<NAME>', 'Genuine love should first be directed at oneself – if we do not love ourselves, how can we love others?', 'http://forismatic.com/en/8ec31919b9/'),
(1192, '<NAME>', 'In the depth of winter, I finally learned that there was within me an invincible summer.', 'http://forismatic.com/en/9e939003ea/'),
(1193, '<NAME>', 'If you spend an hour now, you can save five later.', 'https://quotesondesign.com/rami-hassan/'),
(1194, '<NAME>', 'Think how hard physics would be if particles could think.', 'http://forismatic.com/en/03ff60d7e1/'),
(1195, '<NAME>', 'Creativity is a drug I cannot live without.', 'https://quotesondesign.com/cecil-b-demille/'),
(1196, '<NAME>', 'Almost everything comes from nothing.', 'http://forismatic.com/en/551798c96c/'),
(1197, '<NAME>', 'Graphic design is the design of highly disposable items… It all winds up in the garbage.', 'https://quotesondesign.com/karrie-jacobs/'),
(1198, '<NAME>', 'Beauty is the ultimate defense against complexity.', 'https://quotesondesign.com/david-gelernter/'),
(1199, ' <NAME>', 'Into each life rain must fall but rain can be the giver of life and it is all in your attitude that makes rain produce sunshine.', 'http://forismatic.com/en/035bb0a5bb/'),
(1200, '<NAME>', 'Embrace change or become a Design-O-Saur.', 'https://quotesondesign.com/von-glitschka/'),
(1201, '<NAME>', 'I love the comment, “You must love designing for a living.” At that point I usually start to laugh or break into uncontrollable tears.', 'https://quotesondesign.com/andrew-lewis/'),
(1202, '<NAME> ', 'Be Content with what you have; rejoice in the way things are. When you realize there is nothing lacking, the whole world belongs to you.', 'http://forismatic.com/en/feb1c220a9/'),
(1203, '<NAME> ', 'You have to believe in yourself.', 'http://forismatic.com/en/1176fc6576/'),
(1204, 'The Doorknob (Alice In Wonderland)', 'Nothing’s impossible.', 'https://quotesondesign.com/doorknob/'),
(1205, '<NAME>', 'Good designers are praised for their technique, great designers for their impact.', 'https://quotesondesign.com/tate-linden-2/'),
(1206, '<NAME>', 'You cannot find yourself by going into the past. You can find yourself by coming into the present.', 'http://forismatic.com/en/dc19a5296a/'),
(1207, '<NAME>', 'Our lives are a sum total of the choices we have made.', 'http://forismatic.com/en/14d6a6ae11/'),
(1208, '<NAME>', 'It is only with the heart that one can see rightly. What is essential is invisible to the eye.', 'https://quotesondesign.com/antoine-de-saint-exupery-3/'),
(1209, 'Epictetus', 'Make the best use of what is in your power, and take the rest as it happens.', 'http://forismatic.com/en/a30d2e5ff5/'),
(1210, '<NAME>', 'Design is redesign.', 'https://quotesondesign.com/jan-michl/'),
(1211, 'Seneca', 'If one does not know to which port is sailing, no wind is favorable.', 'http://forismatic.com/en/dcc60e00d1/'),
(1212, 'Buddha ', 'The secret of health for both mind and body is not to mourn for the past, nor to worry about the future, but to live the present moment wisely and earnestly.', 'http://forismatic.com/en/33ab623591/'),
(1213, '<NAME> ', 'Very little is needed to make a happy life; it is all within yourself, in your way of thinking.', 'http://forismatic.com/en/d3fedd2234/'),
(1214, '<NAME>', 'Graphic design will save the world right after rock and roll does.', 'https://quotesondesign.com/david-carson-2/'),
(1215, '<NAME> ', 'God always takes the simplest way.', 'http://forismatic.com/en/0efaa4b3ed/'),
(1216, '<NAME>', 'How well we communicate is determined not by how well we say things, but how well we are understood.', 'https://quotesondesign.com/andrew-grove/'),
(1217, 'Cavour', 'The man who trusts men will make fewer mistakes than he who distrusts them.', 'http://forismatic.com/en/5ec21990d1/'),
(1218, '<NAME>', 'Creativity is in everyone; it just manifests itself differently with each person. My CPA, for example, is one of the most creative people I know.', 'https://quotesondesign.com/ron-miriello-2/'),
(1219, '<NAME>', 'Less is more.', 'https://quotesondesign.com/ludwig-mies-van-der-rohe/'),
(1220, '<NAME> ', 'He who conquers others is strong; He who conquers himself is mighty.', 'http://forismatic.com/en/cb050fbe68/'),
(1221, '<NAME>', 'Visualization without Design is merely a dream. Design without Visualization just passes the time.', 'https://quotesondesign.com/sonal-nayyar/'),
(1222, 'Buddha ', 'Thousands of candles can be lighted from a single candle, and the life of the candle will not be shortened. Happiness never decreases by being shared.', 'http://forismatic.com/en/5ef635ba02/'),
(1223, '<NAME> ', 'When your desires are strong enough you will appear to possess superhuman powers to achieve.', 'http://forismatic.com/en/b00298f624/'),
(1224, '<NAME>', 'Life is a succession of moments. To live each one is to succeed.', 'http://forismatic.com/en/a6a727fbb5/'),
(1225, '<NAME>', 'If you pay peanuts, you get monkeys.', 'https://quotesondesign.com/james-goldsmith/'),
(1226, '<NAME>', 'I go to work every morning with the possibility that I might learn something I don’t already know… You should look at every problem and think, ‘what can I learn by doing this?’ And if you think you can learn nothing, forget about doing it.', 'https://quotesondesign.com/milton-glaser-8/'),
(1227, '<NAME>', 'In rivers, the water that you touch is the last of what has passed and the first of that which comes; so with present time.', 'http://forismatic.com/en/cca3828ce1/'),
(1228, '<NAME>', 'You must train your intuition — you must trust the small voice inside you which tells you exactly what to say, what to decide.', 'http://forismatic.com/en/f1f1727db3/'),
(1229, '<NAME>', 'The true way to render ourselves happy is to love our work and find in it our pleasure.', 'http://forismatic.com/en/93f7ebd93a/'),
(1230, '<NAME>', 'The heart has its reasons which reason knows not of.', 'http://forismatic.com/en/dd105276b8/'),
(1231, '<NAME>', 'Chains of habit are too light to be felt until they are too heavy to be broken.', 'https://quotesondesign.com/warren-buffett/'),
(1232, '<NAME>', 'Whoever best describes the problem, is the one most likely to solve it.', 'https://quotesondesign.com/dan-roam/'),
(1233, '<NAME> ', 'Don\'t wait. The time will never be just right.', 'http://forismatic.com/en/74f919ce23/'),
(1234, '<NAME> ', 'He who talks more is sooner exhausted.', 'http://forismatic.com/en/dcff562572/'),
(1235, '<NAME>', 'The only way to have a friend is to be one.', 'http://forismatic.com/en/7418ce5b8d/'),
(1236, '<NAME>', 'Always be smarter than the people who hire you.', 'http://forismatic.com/en/4ddb6696cc/'),
(1237, 'Liberace', 'Nobody will believe in you unless you believe in yourself.', 'http://forismatic.com/en/af0b4b63b6/'),
(1238, '<NAME> ', 'The world cares very little about what a man or woman knows; it is what a man or woman is able to do that counts.', 'http://forismatic.com/en/8a6c13fd7b/'),
(1239, '<NAME>', 'Smile, breathe and go slowly.', 'http://forismatic.com/en/b587f55065/'),
(1240, 'Buddha ', 'Just as a candle cannot burn without fire, men cannot live without a spiritual life.', 'http://forismatic.com/en/b6c473bc1c/'),
(1241, 'Pericles', 'Time is the wisest counsellor of all.', 'http://forismatic.com/en/c0d53befb7/'),
(1242, '<NAME>', 'There is no better designer than nature.', 'https://quotesondesign.com/alexander-mcqueen/');
|
DROP TABLE IF EXISTS pk_func;
CREATE TABLE pk_func(d DateTime, ui UInt32) ENGINE = SummingMergeTree ORDER BY toDate(d);
INSERT INTO pk_func SELECT '2020-05-05 01:00:00', number FROM numbers(100000);
INSERT INTO pk_func SELECT '2020-05-06 01:00:00', number FROM numbers(100000);
INSERT INTO pk_func SELECT '2020-05-07 01:00:00', number FROM numbers(100000);
SELECT toDate(d), ui FROM pk_func FINAL;
DROP TABLE pk_func;
|
-- Add Submitted to enum option.
ALTER TYPE sims.coe_status
ADD
VALUE 'Submitted'
AFTER
'Not Required'; |
<gh_stars>100-1000
--
-- Copyright 2019 The Android Open Source Project
--
-- 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
--
-- https://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.
--
-- The start of the launching event corresponds to the end of the AM handling
-- the startActivity intent, whereas the end corresponds to the first frame drawn.
-- Only successful app launches have a launching event.
DROP TABLE IF EXISTS launching_events;
CREATE TABLE launching_events AS
SELECT
ts,
dur,
ts + dur AS ts_end,
STR_SPLIT(s.name, ": ", 1) AS package_name
FROM slice s
JOIN process_track t ON s.track_id = t.id
JOIN process USING(upid)
WHERE s.name LIKE 'launching: %'
AND (process.name IS NULL OR process.name = 'system_server');
-- Marks the beginning of the trace and is equivalent to when the statsd launch
-- logging begins.
DROP VIEW IF EXISTS activity_intent_received;
CREATE VIEW activity_intent_received AS
SELECT ts FROM slice
WHERE name = 'MetricsLogger:launchObserverNotifyIntentStarted';
-- Successful activity launch. The end of the 'launching' event is not related
-- to whether it actually succeeded or not.
DROP VIEW IF EXISTS activity_intent_launch_successful;
CREATE VIEW activity_intent_launch_successful AS
SELECT ts FROM slice
WHERE name = 'MetricsLogger:launchObserverNotifyActivityLaunchFinished';
-- We partition the trace into spans based on posted activity intents.
-- We will refine these progressively in the next steps to only encompass
-- activity starts.
DROP TABLE IF EXISTS activity_intent_recv_spans;
CREATE TABLE activity_intent_recv_spans(id INT, ts BIG INT, dur BIG INT);
INSERT INTO activity_intent_recv_spans
SELECT
ROW_NUMBER()
OVER(ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) AS id,
ts,
LEAD(ts, 1, (SELECT end_ts FROM trace_bounds)) OVER(ORDER BY ts) - ts AS dur
FROM activity_intent_received
ORDER BY ts;
-- Filter activity_intent_recv_spans, keeping only the ones that triggered
-- a launch.
DROP VIEW IF EXISTS launch_partitions;
CREATE VIEW launch_partitions AS
SELECT * FROM activity_intent_recv_spans AS spans
WHERE 1 = (
SELECT COUNT(1)
FROM launching_events
WHERE launching_events.ts BETWEEN spans.ts AND spans.ts + spans.dur);
-- All activity launches in the trace, keyed by ID.
DROP TABLE IF EXISTS launches;
CREATE TABLE launches(
ts BIG INT,
ts_end BIG INT,
dur BIG INT,
id INT,
package STRING);
-- Use the starting event package name. The finish event package name
-- is not reliable in the case of failed launches.
INSERT INTO launches
SELECT
lpart.ts AS ts,
launching_events.ts_end AS ts_end,
launching_events.ts_end - lpart.ts AS dur,
lpart.id AS id,
package_name AS package
FROM launch_partitions AS lpart
JOIN launching_events ON
(launching_events.ts BETWEEN lpart.ts AND lpart.ts + lpart.dur) AND
(launching_events.ts_end BETWEEN lpart.ts AND lpart.ts + lpart.dur)
WHERE (
SELECT COUNT(1)
FROM activity_intent_launch_successful AS successful
WHERE successful.ts BETWEEN lpart.ts AND lpart.ts + lpart.dur
) > 0;
-- Maps a launch to the corresponding set of processes that handled the
-- activity start. The vast majority of cases should be a single process.
-- However it is possible that the process dies during the activity launch
-- and is respawned.
DROP TABLE IF EXISTS launch_processes;
CREATE TABLE launch_processes(launch_id INT, upid BIG INT);
INSERT INTO launch_processes
SELECT launches.id, process.upid
FROM launches
LEFT JOIN package_list ON (launches.package = package_list.package_name)
JOIN process ON (launches.package = process.name OR process.uid = package_list.uid)
JOIN thread ON (process.upid = thread.upid AND process.pid = thread.tid)
WHERE (process.start_ts IS NULL OR process.start_ts < launches.ts_end)
AND (thread.end_ts IS NULL OR thread.end_ts > launches.ts_end)
ORDER BY process.start_ts DESC;
|
<reponame>talltechy/InsightVM-SQL-Queries-Reports<filename>Dev-ScratchPad/Data Warehouse Reporting/2020_DW/DW - Asset Report/DW_Asset_Report.sql
with
-- 2020/06/04 - Written by <NAME>
-- Version: 1.0.0
asset_metadata as (
select
fa.asset_id
, da.ip_address
-- UPPER wraps the Regex and formats as uppercase
-- regexp_replace takes the hostname and removes all the DNS extras such as .exampledomain.tld and leaves only regular asset names
, UPPER(regexp_replace(da.host_name, '([.][\w.]+)', '', 'g')) as hostname
, da.host_name as hostname_full
-- This is an aggregate of all sites this asset belongs to, don't be surprised if you see more than what you filtered on via the console
, round(fa.risk_score::numeric, 0) as total_asset_risk
from
fact_asset fa
left join dim_asset da on fa.asset_id = da.asset_id
where
fa.asset_id is not null
)
, asset_software as (
select
das.asset_id
, vendor
, family
, name
, version
, type
from
dim_asset_software das
)
/*Level of Grain: A vulnerability on an asset.
Fact Type: accumulating snapshot
Description: This fact table provides an accumulating snapshot for vulnerability age and occurrence information on an asset.
For every vulnerability to which an asset is currently vulnerable, there will be one fact record.
The record indicates when the vulnerability was first found, last found, and its current age.
The age is computed as the difference between the time the vulnerability was first discovered on the asset, and the current time.
If the vulnerability was temporarily remediated, but rediscovered, the age will be from the first discovery time.
If a vulnerability was found on a service, remediated and discovered on another service,
the age is still computed as the first time the vulnerability was found on any service on the asset.*/
select
am.asset_id
-- Reference of the all sites aggregate from asset metadata
, am.ip_address
-- This calls the already formatted hostname from asset_metadata and runs a CASE statement to replace blank values with the word blank for formatting/sorting purposes
, case
when am.hostname = ' ' then am.ip_address::TEXT
when am.hostname is null then am.ip_address::TEXT
when am.hostname is not null then am.hostname
else am.ip_address::TEXT
end as "Hostname"
, am.hostname_full
-- Legible risk_score
, am.total_asset_risk as "Asset: Risk"
from
asset_metadata am
where
am.asset_id is not null
order by
asset_id
|
-- --------------------------------------------------------
-- Host: 127.0.0.1
-- Server version: 8.0.11 - MySQL Community Server - GPL
-- Server OS: Win64
-- HeidiSQL Version: 9.5.0.5196
-- --------------------------------------------------------
/*!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 database structure for database
CREATE DATABASE IF NOT EXISTS `database` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci */;
USE `database`;
-- Dumping structure for table database.bussinessclassseats
CREATE TABLE IF NOT EXISTS `bussinessclassseats` (
`SeatNo` int(100) NOT NULL,
`Name` varchar(50) NOT NULL,
`PhoneNo` varchar(10) NOT NULL,
`Address` varchar(50) NOT NULL,
`Source` varchar(50) NOT NULL,
`Destination` varchar(50) NOT NULL,
`Date` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ROW_FORMAT=DYNAMIC;
-- Dumping data for table database.bussinessclassseats: ~0 rows (approximately)
/*!40000 ALTER TABLE `bussinessclassseats` DISABLE KEYS */;
/*!40000 ALTER TABLE `bussinessclassseats` ENABLE KEYS */;
-- Dumping structure for table database.economicclassseats
CREATE TABLE IF NOT EXISTS `economicclassseats` (
`SeatNo` int(100) NOT NULL,
`Name` varchar(50) NOT NULL,
`PhoneNo` varchar(10) NOT NULL,
`Address` varchar(50) NOT NULL,
`Source` varchar(50) NOT NULL,
`Destination` varchar(50) NOT NULL,
`Date` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
-- Dumping data for table database.economicclassseats: ~0 rows (approximately)
/*!40000 ALTER TABLE `economicclassseats` DISABLE KEYS */;
/*!40000 ALTER TABLE `economicclassseats` 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 */;
|
CREATE TABLE descontos (
escalao NUMERIC(2) CONSTRAINT pk_esc_descontos PRIMARY KEY ,
salinf NUMERIC(7) CONSTRAINT nn_inf_descontos
CHECK (salinf IS NOT NULL),
salsup NUMERIC(7) CONSTRAINT nn_sup_descontos NOT NULL,
CONSTRAINT ck_salinf_salsup CHECK (salinf < salsup)
);
INSERT INTO descontos VALUES (1, 55000, 99999);
INSERT INTO descontos VALUES (2, 100000, 210000);
INSERT INTO descontos VALUES (3, 210001, 350000);
INSERT INTO descontos VALUES (4, 350001, 550000);
INSERT INTO descontos VALUES (5, 550001, 9999999);
|
<reponame>vishal-sharma/Beef
CREATE PROCEDURE [Ref].[spGenderGetAll]
AS
BEGIN
/*
* This is automatically generated; any changes will be lost.
*/
SET NOCOUNT ON;
-- Select the requested data.
SELECT
[g].[GenderId]
,[g].[Code]
,[g].[Text]
,[g].[IsActive]
,[g].[SortOrder]
,[g].[RowVersion]
,[g].[CreatedBy]
,[g].[CreatedDate]
,[g].[UpdatedBy]
,[g].[UpdatedDate]
FROM [Ref].[Gender] AS [g]
ORDER BY [g].[SortOrder] ASC, [g].[Code] ASC
END |
<reponame>christophanneser/Bao-for-Presto
SELECT COUNT(*)
FROM site AS s,
so_user AS u1,
tag AS t1,
tag_question AS tq1,
question AS q1,
badge AS b1,
account AS acc
WHERE s.site_id = u1.site_id
AND s.site_id = b1.site_id
AND s.site_id = t1.site_id
AND s.site_id = tq1.site_id
AND s.site_id = q1.site_id
AND t1.id = tq1.tag_id
AND q1.id = tq1.question_id
AND q1.owner_user_id = u1.id
AND acc.id = u1.account_id
AND b1.user_id = u1.id
AND (q1.view_count >= 100)
AND (q1.view_count <= 100000)
AND s.site_name = 'stackoverflow'
AND (t1.name in ('actions-on-google',
'alexa',
'delayed-job',
'google-maps-markers',
'history',
'mainframe',
'naming-conventions',
'nestjs',
'opencv3.0',
'powershell',
'puppeteer',
'raspberry-pi3',
'resources',
'ssis-2012'))
AND (LOWER(acc.website_url) LIKE ('%en')) |
CREATE TABLE news (
id int(11) NOT NULL AUTO_INCREMENT,
title varchar(128) NOT NULL,
slug varchar(128) NOT NULL,
body text NOT NULL,
PRIMARY KEY (id),
KEY slug (slug)
);
INSERT INTO news VALUES
(1,'Elvis sighted','elvis-sighted','Elvis was sighted at the Podunk internet cafe. It looked like he was writing a CodeIgniter app.'),
(2,'Say it isn\'t so!','say-it-isnt-so','Scientists conclude that some programmers have a sense of humor.'),
(3,'Caffeination, Yes!','caffeination-yes','World\'s largest coffee shop open onsite nested coffee shop for staff only.'); |
drop view [ScribeOnline_Customer]
drop view [ScribeOnline_CustomerAddress]
drop view [ScribeOnline_Invoice]
drop view [ScribeOnline_InvoiceHistory]
drop view [ScribeOnline_InvoiceHistoryLine]
drop view [ScribeOnline_InvoiceLine]
drop view [ScribeOnline_ItemCurrency]
drop view [ScribeOnline_ItemMaster]
drop view [ScribeOnline_ItemPriceList]
drop view [ScribeOnline_ItemPriceListLine]
drop view [ScribeOnline_ItemUnitPriceByMethod]
drop view [ScribeOnline_PriceLevel]
drop view [ScribeOnline_SalesOrder]
drop view [ScribeOnline_SalesOrderHistory]
drop view [ScribeOnline_SalesOrderHistoryLine]
drop view [ScribeOnline_SalesOrderLine]
drop view [ScribeOnline_UnitOfMeasureSchedule]
drop view [ScribeOnline_UnitOfMeasureScheduleDetail]
drop view [ScribeOnline_SalesLineTax]
drop procedure [ScribeOnline_GetNextCustomerNumber]
drop procedure [ScribeOnline_GetNextVendorID]
drop procedure [ScribeOnline_RMGetNextNumber]
drop procedure [ScribeOnline_PMGetNextNumber]
drop procedure [ScribeOnline_EC_ERROR_TRANS]
drop function [ScribeOnline_fnRoundByMethod]
drop trigger [dbo].[Scribe_createupdateSOP10105]
drop trigger [dbo].[Scribe_createupdateRM00101]
drop trigger [dbo].[Scribe_createupdateSY03900]
drop trigger [dbo].[Scribe_createupdateRM00102]
drop trigger [dbo].[Scribe_createupdateSY01200]
drop trigger [dbo].[Scribe_createupdateSOP10100]
drop trigger [dbo].[Scribe_createupdateSOP10106]
drop trigger [dbo].[Scribe_createupdateSOP10200]
drop trigger [dbo].[Scribe_createupdateSOP10202]
drop trigger [dbo].[Scribe_createupdateIV40800]
drop trigger [dbo].[Scribe_createupdateIV00105]
drop trigger [dbo].[Scribe_createupdateIV00108]
drop trigger [dbo].[Scribe_createupdateIV00107]
drop trigger [dbo].[Scribe_createupdateIV00101]
drop trigger [dbo].[Scribe_createupdateIV40201]
drop trigger [dbo].[Scribe_createupdateIV40202]
drop trigger [dbo].[Scribe_createupdateSOP30300]
drop trigger [dbo].[Scribe_createupdateSOP30200]
drop trigger [dbo].[Scribe_createupdateGL00100]
drop trigger [dbo].[Scribe_createupdateGL00102]
drop trigger [dbo].[Scribe_createupdateGL00105]
drop trigger [dbo].[Scribe_createupdatePM10000]
drop trigger [dbo].[Scribe_createupdatePM20000]
drop trigger [dbo].[Scribe_createupdatePM30200]
drop trigger [dbo].[Scribe_createupdateGL10000]
drop trigger [dbo].[Scribe_createupdateGL10001]
drop trigger [dbo].[Scribe_createupdateGL20000]
drop trigger [dbo].[Scribe_createupdateGL30000]
drop trigger [dbo].[Scribe_createupdateRM10301]
drop trigger [dbo].[Scribe_createupdateRM20101]
drop trigger [dbo].[Scribe_createupdateRM30101]
drop trigger [dbo].[Scribe_createupdatePM00200]
drop trigger [dbo].[Scribe_createupdatePA00901]
drop trigger [dbo].[Scribe_createupdatePM00300]
drop trigger [dbo].[Scribe_createupdateRM10101]
drop trigger [dbo].[Scribe_createupdatePM10100]
drop trigger [dbo].[Scribe_createupdatePM30600]
drop trigger [dbo].[Scribe_createupdateRM10601]
drop trigger [dbo].[Scribe_createupdateRM30601]
drop trigger [dbo].[Scribe_createupdatePM10500]
drop trigger [dbo].[Scribe_createupdatePM30700]
drop trigger [dbo].[Scribe_createupdateIV00102]
drop trigger [dbo].[Scribe_createupdateIV00112]
drop trigger [dbo].[Scribe_createupdateIV00103]
drop trigger [dbo].[Scribe_createupdateIV40400]
drop view [ScribeOnline_GLPostingAccount]
drop view [ScribeOnline_GLUnitAccount]
drop view [ScribeOnline_PayablesInvoice]
drop view [ScribeOnline_PayablesCreditMemo]
drop view [ScribeOnline_PayablesFinanceCharge]
drop view [ScribeOnline_PayablesMiscellaneousCharge]
drop view [ScribeOnline_PayablesReturn]
drop view [ScribeOnline_PayablesBase]
drop view [ScribeOnline_PayablesDistribution]
drop view [ScribeOnline_PayablesDistributionBase]
drop view [ScribeOnline_PayablesTaxBase]
drop view [ScribeOnline_PayablesTax]
drop view [ScribeOnline_ReceivablesBase]
drop view [ScribeOnline_ReceivablesInvoice]
drop view [ScribeOnline_ReceivablesCreditMemo]
drop view [ScribeOnline_ReceivablesDebitMemo]
drop view [ScribeOnline_ReceivablesFinanceCharge]
drop view [ScribeOnline_ReceivablesWarranty]
drop view [ScribeOnline_ReceivablesServiceRepair]
drop view [ScribeOnline_ReceivablesReturn]
drop view [ScribeOnline_ReceivablesDistributionBase]
drop view [ScribeOnline_ReceivablesDistribution]
drop view [ScribeOnline_ReceivablesTaxBase]
drop view [ScribeOnline_ReceivablesTax]
drop view [ScribeOnline_GLTransactionHeaderBase]
drop view [ScribeOnline_GLTransaction]
drop view [ScribeOnline_GLTransactionLineBase]
drop view [ScribeOnline_GLTransactionLine]
drop view [ScribeOnline_Vendor]
drop view [ScribeOnline_VendorAddress]
drop view [ScribeOnline_SalesItem]
drop view [ScribeOnline_ItemCurrency]
drop view [ScribeOnline_ItemCurrencyMaster]
drop view [ScribeOnline_SalesItemWarehouse]
drop view [ScribeOnline_SalesItemWarehouseBinBase]
drop view [ScribeOnline_SalesItemWarehouseBin]
drop view [ScribeOnline_ItemVendor]
drop view [ScribeOnline_ItemClass]
drop view [ScribeOnline_SalesInvoice]
drop view [ScribeOnline_SalesInvoiceLine]
drop view [ScribeOnline_SalesPayment]
drop view [ScribeOnline_Batch]
|
/*-------------------------------------------------------------------------------------------------
NAME: CMD_TYPE.sql
CREATED BY: <NAME>
EMAIL: <EMAIL>
DESCRIPTION: Displays the contents of one or more text files using SQLCMD mode
-------------------------------------------------------------------------------------------------
-- TR/PROJ# DATE MODIFIED DESCRIPTION
-------------------------------------------------------------------------------------------------
-- F000000 07.21.2016 SYoung Initial creation.
-------------------------------------------------------------------------------------------------
DISCLAIMER: The AUTHOR ASSUMES NO RESPONSIBILITY FOR ANYTHING, including the destruction of
personal property, creating singularities, making deep fried chicken, causing your
toilet to explode, making your animals spin around like mad, causing hair loss,
killing your buzz or ANYTHING else that can be thought up.
-------------------------------------------------------------------------------------------------*/
:setvar vPATH "'<full_file_path, sysname, File path>'"
:!!type $(vPATH)
|
<filename>DotNetNote.Database/dbo/Stored Procedures/DotNetNote/DNN_ReplyNote.sql
--[4] 게시판(DotNetNote)에 글을 답변 : ReplyNote
Create Proc dbo.ReplyNote
@Name NVarChar(25),
@Email NVarChar(100),
@Title NVarChar(150),
@PostIp NVarChar(15),
@Content NText,
@Password NVarChar(20),
@Encoding NVarChar(10),
@Homepage NVarChar(100),
@ParentNum Int, -- 부모글의 고유번호(Id)
@FileName NVarChar(255),
@FileSize Int
As
--[0] 변수 선언
Declare @MaxRefOrder Int
Declare @MaxRefAnswerNum Int
Declare @ParentRef Int
Declare @ParentStep Int
Declare @ParentRefOrder Int
--[1] 부모글의 답변수(AnswerNum)를 1증가
Update Notes Set AnswerNum = AnswerNum + 1 Where Id = @ParentNum
--[2] 같은 글에 대해서 답변을 두 번 이상하면 먼저 답변한 게 위에 나타나게 한다.
Select @MaxRefOrder = RefOrder, @MaxRefAnswerNum = AnswerNum From Notes
Where
ParentNum = @ParentNum And
RefOrder =
(Select Max(RefOrder) From Notes Where ParentNum = @ParentNum)
If @MaxRefOrder Is Null
Begin
Select @MaxRefOrder = RefOrder From Notes Where Id = @ParentNum
Set @MaxRefAnswerNum = 0
End
--[3] 중간에 답변달 때(비집고 들어갈 자리 마련)
Select
@ParentRef = Ref, @ParentStep = Step
From Notes Where Id = @ParentNum
Update Notes
Set
RefOrder = RefOrder + 1
Where
Ref = @ParentRef And RefOrder > (@MaxRefOrder + @MaxRefAnswerNum)
--[4] 최종저장
Insert Notes
(
Name, Email, Title, PostIp, Content, Password, Encoding,
Homepage, Ref, Step, RefOrder, ParentNum, FileName, FileSize
)
Values
(
@Name, @Email, @Title, @PostIp, @Content, @Password, @Encoding,
@Homepage, @ParentRef, @ParentStep + 1,
@MaxRefOrder + @MaxRefAnswerNum + 1, @ParentNum, @FileName, @FileSize
)
Go
|
IF OBJECT_ID('LoggerBase.Appender_ConsoleAppender') IS NOT NULL
SET NOEXEC ON
GO
CREATE PROCEDURE LoggerBase.Appender_ConsoleAppender
AS
PRINT 'Stub only'
GO
SET NOEXEC OFF
GO
/*********************************************************************************************
PROCEDURE LoggerBase.Appender_ConsoleAppender
Date: 07/14/2017
Author: <NAME>
Description: Invokes the requested appender using the provided XML configuration.
--TEST
DECLARE @LoggerName VARCHAR(500) = 'TestAppenderLoggerBase'
DECLARE @LogLevelName VARCHAR(500) = 'DEBUG'
DECLARE @Message VARCHAR(MAX) = 'Appender test message!'
DECLARE @TokenValues LoggerBase.TokenValues
DECLARE @CorrelationId VARCHAR(20) = '1234-F'
INSERT INTO @TokenValues (ServerName, DatabaseName, SessionId) VALUES ('ADb', 'AServer', 20)
DECLARE @Config XML = '<appender name="A1" type="LoggerBase.Appender_ConsoleAppender">
<!-- A1 uses PatternLayout -->
<layout type="LoggerBase.Layout_PatternLayout">
<conversionPattern value="%timestamp [%thread] %level %LoggerBase - %message%newline"/>
</layout>
</appender>'
EXEC LoggerBase.Appender_ConsoleAppender
@LoggerName = @LoggerName
, @LogLevelName = @LogLevelName
, @Message = @Message
, @Config = @Config
, @TokenValues = @TokenValues
, @CorrelationId = @CorrelationId
, @Debug = 1
**********************************************************************************************/
ALTER PROCEDURE LoggerBase.Appender_ConsoleAppender (@LoggerName VARCHAR(500), @LogLevelName VARCHAR(500), @Message VARCHAR(MAX), @Config XML, @CorrelationId VARCHAR(50), @Debug BIT=0, @TokenValues VARCHAR(MAX))
AS
SET NOCOUNT ON
IF (@Debug = 1) PRINT CONCAT('[',OBJECT_NAME(@@PROCID),']:@Message:', @Message)
DECLARE @FormattedMessage VARCHAR(MAX)
DECLARE @LayoutType SYSNAME
DECLARE @LayoutConfig XML
DECLARE @SQL NVARCHAR(MAX)
SELECT @LayoutType = LayoutType, @LayoutConfig = LayoutConfig FROM LoggerBase.Config_Layout(@Config)
IF (@Debug = 1)
BEGIN
PRINT CONCAT('[',OBJECT_NAME(@@PROCID),']:@Config:' , CONVERT(VARCHAR(MAX), @Config))
PRINT CONCAT('[',OBJECT_NAME(@@PROCID),']:@LoggerName:', @LoggerName)
PRINT CONCAT('[',OBJECT_NAME(@@PROCID),']:@LayoutType:', @LayoutType)
PRINT CONCAT('[',OBJECT_NAME(@@PROCID),']:@SQL:' , @SQL)
END
EXEC LoggerBase.Layout_FormatMessage
@LayoutTypeName = @LayoutType
, @LoggerName = @LoggerName
, @LogLevelName = @LogLevelName
, @Message = @Message
, @LayoutConfig = @LayoutConfig
, @CorrelationId = @CorrelationId
, @Debug = @Debug
, @TokenValues = @TokenValues
, @FormattedMessage = @FormattedMessage OUTPUT
PRINT @FormattedMessage
GO
|
DROP TABLE IF EXISTS eg_boundary cascade;
DROP TABLE IF EXISTS eg_boundary_type cascade;
DROP TABLE IF EXISTS eg_crosshierarchy cascade;
DROP TABLE IF EXISTS eg_feature cascade;
DROP TABLE IF EXISTS eg_feature_action cascade;
DROP TABLE IF EXISTS eg_feature_aud cascade;
DROP TABLE IF EXISTS eg_feature_role cascade;
DROP TABLE IF EXISTS eg_feature_role_aud cascade;
DROP TABLE IF EXISTS eg_hierarchy_type cascade;
DROP TABLE IF EXISTS eg_numbers cascade;
DROP TABLE IF EXISTS eg_script cascade;
DROP TABLE IF EXISTS eg_wf_action,eg_wf_additionalrule,eg_wf_amountrule,eg_wf_matrix,eg_wf_state_history,eg_wf_states,eg_wf_types cascade;
DROP TABLE IF EXISTS qrtz_blob_triggers,qrtz_calendars,qrtz_cron_triggers,qrtz_fired_triggers,qrtz_job_details,qrtz_locks,qrtz_paused_trigger_grps,qrtz_scheduler_state,qrtz_simple_triggers,qrtz_simprop_triggers,qrtz_triggers cascade;
------------------START------------------
CREATE TABLE IF NOT EXISTS eg_filestoremap (
id bigint NOT NULL,
filestoreid character varying(36) NOT NULL,
filename character varying(100) NOT NULL,
contenttype character varying(100),
version bigint,
CONSTRAINT uk_filestoremap_filestoreid UNIQUE (filestoreid),
CONSTRAINT pk_filestoremap PRIMARY KEY (id)
);
CREATE SEQUENCE IF NOT EXISTS seq_eg_filestoremap
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
-------------------END-------------------
------------------START------------------
CREATE TABLE IF NOT EXISTS eg_user (
id bigint NOT NULL,
title character varying(8),
salutation character varying(5),
dob timestamp without time zone,
locale character varying(16),
username character varying(64) NOT NULL,
password character varying(64) NOT NULL,
pwdexpirydate timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
mobilenumber character varying(50),
altcontactnumber character varying(50),
emailid character varying(128),
createddate timestamp without time zone,
lastmodifieddate timestamp without time zone,
createdby bigint,
lastmodifiedby bigint,
active boolean,
name character varying(100),
gender smallint,
pan character varying(10),
aadhaarnumber character varying(20),
type character varying(50),
version numeric DEFAULT 0,
guardian character varying(100),
guardianrelation character varying(32),
CONSTRAINT eg_user_user_name_key UNIQUE (username),
CONSTRAINT eg_user_pkey PRIMARY KEY (id)
);
CREATE SEQUENCE IF NOT EXISTS seq_eg_user
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
-------------------END-------------------
------------------START------------------
CREATE TABLE IF NOT EXISTS eg_module (
id bigint NOT NULL,
name character varying(100) NOT NULL,
enabled boolean,
contextroot character varying(10),
parentmodule bigint,
displayname character varying(50),
ordernumber bigint,
CONSTRAINT eg_module_module_name_key UNIQUE (name),
CONSTRAINT eg_module_pkey PRIMARY KEY (id),
CONSTRAINT fk_eg_module_parentmodule FOREIGN KEY (parentmodule)
REFERENCES eg_module (id)
);
CREATE SEQUENCE IF NOT EXISTS seq_eg_module
START WITH 300
INCREMENT BY 1
MINVALUE 0
NO MAXVALUE
CACHE 1;
-------------------END-------------------
------------------START-------------------
CREATE TABLE IF NOT EXISTS eg_action (
id bigint NOT NULL,
name character varying(100) NOT NULL,
url character varying(150),
queryparams character varying(150),
parentmodule bigint NOT NULL,
ordernumber bigint,
displayname character varying(80),
enabled boolean,
contextroot character varying(32),
version numeric DEFAULT 0,
createdby numeric DEFAULT 1,
createddate timestamp without time zone DEFAULT now(),
lastmodifiedby numeric DEFAULT 1,
lastmodifieddate timestamp without time zone DEFAULT now(),
application bigint NOT NULL,
CONSTRAINT eg_action_url_queryparams_context_root_key UNIQUE (url, queryparams, contextroot),
CONSTRAINT eg_action_pkey PRIMARY KEY (id),
CONSTRAINT fk_eg_action_parentmodule FOREIGN KEY (parentmodule)
REFERENCES eg_module (id)
);
CREATE SEQUENCE IF NOT EXISTS seq_eg_action
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
-------------------END-------------------
------------------START------------------
CREATE TABLE IF NOT EXISTS eg_address (
housenobldgapt character varying(32),
subdistrict character varying(100),
postoffice character varying(100),
landmark character varying(256),
country character varying(50),
userid bigint,
type character varying(50),
streetroadline character varying(256),
citytownvillage character varying(256),
arealocalitysector character varying(256),
district character varying(100),
state character varying(100),
pincode character varying(10),
id numeric NOT NULL,
version bigint DEFAULT 0,
CONSTRAINT eg_address_pkey PRIMARY KEY (id)
);
CREATE SEQUENCE IF NOT EXISTS seq_eg_address
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
-------------------END-------------------
------------------START------------------
CREATE TABLE IF NOT EXISTS eg_appconfig (
id bigint NOT NULL,
key_name character varying(250) NOT NULL,
description character varying(250) NOT NULL,
version bigint,
createdby bigint,
lastmodifiedby bigint,
createddate timestamp without time zone,
lastmodifieddate timestamp without time zone,
module bigint NOT NULL,
CONSTRAINT uk_keyname_module_unique UNIQUE (key_name, module),
CONSTRAINT eg_appconfig_pkey PRIMARY KEY (id),
CONSTRAINT fk_eg_appconfig_moduleid FOREIGN KEY (module)
REFERENCES eg_module (id)
);
CREATE SEQUENCE IF NOT EXISTS seq_eg_appconfig
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
-------------------END-------------------
------------------START------------------
CREATE TABLE IF NOT EXISTS eg_appconfig_values (
id bigint NOT NULL,
key_id bigint NOT NULL,
effective_from timestamp without time zone NOT NULL,
value character varying(4000) NOT NULL,
createddate timestamp without time zone,
lastmodifieddate timestamp without time zone,
createdby bigint,
lastmodifiedby bigint,
version bigint,
CONSTRAINT eg_appconfig_values_pkey PRIMARY KEY (id),
CONSTRAINT fk_appdata_key FOREIGN KEY (key_id)
REFERENCES eg_appconfig (id)
);
CREATE SEQUENCE IF NOT EXISTS seq_eg_appconfig_values
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
-------------------END-------------------
------------------START------------------
CREATE TABLE IF NOT EXISTS eg_applicationindex (
id bigint NOT NULL,
modulename character varying(50) NOT NULL,
applicationnumber character varying(50) NOT NULL,
applicationdate date NOT NULL,
applicationtype character varying(150) NOT NULL,
applicantname character varying(100) NOT NULL,
applicantaddress character varying(250),
disposaldate date,
ulbname character varying(250) NOT NULL,
districtname character varying(250),
status character varying(50) NOT NULL,
url character varying(250) NOT NULL,
consumercode character varying(50),
mobilenumber character varying(15),
createdby bigint NOT NULL,
createddate timestamp without time zone NOT NULL,
lastmodifieddate timestamp without time zone NOT NULL,
lastmodifiedby bigint NOT NULL,
version numeric NOT NULL,
CONSTRAINT eg_applicationindex_pkey PRIMARY KEY (id)
);
CREATE SEQUENCE IF NOT EXISTS seq_eg_applicationindex
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
-------------------END-------------------
------------------START------------------
CREATE TABLE IF NOT EXISTS eg_citypreferences (
id numeric NOT NULL,
giskml bigint,
municipalitylogo bigint,
createdby numeric,
createddate timestamp without time zone,
lastmodifiedby numeric,
lastmodifieddate timestamp without time zone,
version numeric,
municipalityname character varying(50),
municipalitycontactno character varying(20),
municipalityaddress character varying(200),
municipalitycontactemail character varying(50),
municipalitygislocation character varying(100),
municipalitycallcenterno character varying(20),
municipalityfacebooklink character varying(100),
municipalitytwitterlink character varying(100),
CONSTRAINT eg_citypreferences_pkey PRIMARY KEY (id),
CONSTRAINT eg_citypreferences_giskml_fkey FOREIGN KEY (giskml)
REFERENCES eg_filestoremap (id),
CONSTRAINT eg_citypreferences_logo_fkey FOREIGN KEY (municipalitylogo)
REFERENCES eg_filestoremap (id)
);
CREATE SEQUENCE IF NOT EXISTS seq_eg_citypreferences
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
-------------------END-------------------
------------------START------------------
CREATE TABLE IF NOT EXISTS eg_city (
domainurl character varying(128) NOT NULL,
name character varying(256) NOT NULL,
localname character varying(256),
id bigint NOT NULL,
active boolean,
version bigint,
createdby numeric,
lastmodifiedby numeric,
createddate timestamp without time zone,
lastmodifieddate timestamp without time zone,
code character varying(4),
recaptchapk character varying(64),
districtcode character varying(10),
districtname character varying(50),
longitude double precision,
latitude double precision,
preferences numeric,
recaptchapub character varying(64),
CONSTRAINT eg_city_pkey PRIMARY KEY (id),
CONSTRAINT fk_preference FOREIGN KEY (preferences)
REFERENCES eg_citypreferences (id) MATCH FULL
);
CREATE SEQUENCE IF NOT EXISTS seq_eg_city
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
-------------------END-------------------
------------------START------------------
CREATE TABLE IF NOT EXISTS eg_city_aud (
id integer NOT NULL,
rev integer NOT NULL,
name character varying(256),
localname character varying(256),
active boolean,
domainurl character varying(128),
recaptchapk character varying(64),
recaptchapub character varying(64),
code character varying(4),
districtcode character varying(10),
districtname character varying(50),
longitude double precision,
latitude double precision,
revtype numeric,
CONSTRAINT eg_city_aud_pkey PRIMARY KEY (id, rev)
);
-------------------END-------------------
------------------START------------------
CREATE TABLE IF NOT EXISTS eg_correspondence_address (
id numeric,
version numeric DEFAULT 0
);
-------------------END-------------------
------------------START------------------
CREATE TABLE IF NOT EXISTS eg_device (
id bigint NOT NULL,
deviceuid character varying(128) NOT NULL,
type character varying(32) NOT NULL,
osversion character varying(32),
createddate timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
createdby bigint,
lastmodifiedby bigint,
lastmodifieddate timestamp without time zone,
version bigint,
CONSTRAINT eg_device_device_id_key UNIQUE (deviceuid),
CONSTRAINT eg_device_pkey PRIMARY KEY (id)
);
CREATE SEQUENCE IF NOT EXISTS seq_eg_device
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
-------------------END-------------------
------------------START------------------
CREATE TABLE IF NOT EXISTS eg_favourites (
id bigint NOT NULL,
userid bigint,
actionid bigint,
name character varying(100),
contextroot character varying(50),
version bigint,
CONSTRAINT eg_favourites_pkey PRIMARY KEY (id)
);
CREATE SEQUENCE IF NOT EXISTS seq_eg_favourites
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
-------------------END-------------------
------------------START------------------
CREATE TABLE IF NOT EXISTS eg_identityrecovery (
id numeric NOT NULL,
token character varying(36),
userid bigint,
expiry timestamp without time zone,
version bigint,
CONSTRAINT eg_identityrecovery_token_key UNIQUE (token),
CONSTRAINT eg_identityrecovery_pkey PRIMARY KEY (id)
);
CREATE SEQUENCE IF NOT EXISTS seq_eg_identityrecovery
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
-------------------END-------------------
------------------START------------------
CREATE TABLE IF NOT EXISTS eg_messagetemplate (
id numeric NOT NULL,
templatename character varying(100) NOT NULL,
template character varying NOT NULL,
locale character varying(10),
version bigint,
CONSTRAINT eg_messagetemplate_templatename_key UNIQUE (templatename),
CONSTRAINT eg_messagetemplate_pkey PRIMARY KEY (id)
);
CREATE SEQUENCE IF NOT EXISTS seq_eg_messagetemplate
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
-------------------END-------------------
------------------START------------------
CREATE TABLE IF NOT EXISTS eg_permanent_address (
id numeric,
version numeric DEFAULT 0
);
-------------------END-------------------
------------------START------------------
CREATE TABLE IF NOT EXISTS eg_role (
id bigint NOT NULL,
name character varying(32) NOT NULL,
description character varying(128),
createddate timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
createdby bigint,
lastmodifiedby bigint,
lastmodifieddate timestamp without time zone,
version bigint,
CONSTRAINT eg_roles_role_name_key UNIQUE (name),
CONSTRAINT eg_roles_pkey PRIMARY KEY (id)
);
CREATE SEQUENCE IF NOT EXISTS seq_eg_role
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
-------------------END-------------------
------------------START------------------
CREATE TABLE IF NOT EXISTS eg_roleaction (
roleid bigint NOT NULL,
actionid bigint NOT NULL,
CONSTRAINT fk_action_id FOREIGN KEY (actionid)
REFERENCES eg_action (id),
CONSTRAINT fk_role_id FOREIGN KEY (roleid)
REFERENCES eg_role (id)
);
CREATE INDEX IF NOT EXISTS indx_eram_actionid ON eg_roleaction USING btree (actionid);
CREATE INDEX IF NOT EXISTS indx_eram_roleid ON eg_roleaction USING btree (roleid);
-------------------END-------------------
DROP TABLE IF EXISTS eg_loginaudit;
DROP SEQUENCE IF EXISTS seq_eg_loginaudit;
------------------START------------------
CREATE TABLE IF NOT EXISTS eg_systemaudit (
id numeric NOT NULL,
userid bigint,
ipaddress character varying(20),
useragentinfo character varying(200),
logintime timestamp without time zone,
logouttime timestamp without time zone,
version numeric,
CONSTRAINT eg_systemaudit_pkey PRIMARY KEY (id)
);
CREATE SEQUENCE IF NOT EXISTS seq_eg_systemaudit
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
-------------------END-------------------
------------------START------------------
CREATE TABLE IF NOT EXISTS eg_token (
id bigint NOT NULL,
tokennumber character varying(128) NOT NULL,
tokenidentity character varying(100),
service character varying(100),
ttlsecs bigint NOT NULL,
createddate timestamp without time zone NOT NULL,
lastmodifieddate timestamp without time zone,
createdby bigint NOT NULL,
lastmodifiedby bigint,
version bigint,
CONSTRAINT pk_token PRIMARY KEY (id)
);
CREATE SEQUENCE IF NOT EXISTS seq_eg_token
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
CREATE INDEX IF NOT EXISTS idx_token_number ON eg_token USING btree (tokennumber);
-------------------END-------------------
------------------START------------------
CREATE TABLE IF NOT EXISTS eg_userdevice (
userid bigint NOT NULL,
deviceid bigint NOT NULL,
createddate timestamp without time zone DEFAULT ('now'::text)::timestamp without time zone,
CONSTRAINT fk_user_userdevice FOREIGN KEY (userid)
REFERENCES eg_user (id),
CONSTRAINT fk_userdevice FOREIGN KEY (deviceid)
REFERENCES eg_device (id)
);
-------------------END-------------------
------------------START------------------
CREATE TABLE IF NOT EXISTS eg_userrole (
roleid bigint NOT NULL,
userid bigint NOT NULL,
CONSTRAINT fk_role_userrole FOREIGN KEY (roleid)
REFERENCES eg_role (id),
CONSTRAINT fk_user_userrole FOREIGN KEY (userid)
REFERENCES eg_user (id)
);
-------------------END-------------------
------------------START------------------
CREATE TABLE IF NOT EXISTS revinfo (
id integer NOT NULL,
"timestamp" bigint,
userid bigint,
ipaddress character varying(20),
CONSTRAINT revinfo_pkey PRIMARY KEY (id)
);
CREATE SEQUENCE IF NOT EXISTS revinfo_rev_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
CREATE SEQUENCE IF NOT EXISTS hibernate_sequence
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE revinfo_rev_seq OWNED BY revinfo.id;
ALTER TABLE ONLY revinfo ALTER COLUMN id SET DEFAULT nextval('revinfo_rev_seq'::regclass);
-------------------END-------------------
------------------START------------------
CREATE VIEW view_eg_menulink AS
SELECT m.id AS module_id,
m.displayname AS module_name,
m.parentmodule AS parent_id,
NULL::bigint AS action_id,
NULL::character varying AS action_name,
NULL::text AS action_url,
m.ordernumber AS order_number,
'M'::text AS typeflag,
m.enabled AS is_enabled,
NULL::character varying AS context_root
FROM eg_module m
UNION
SELECT NULL::bigint AS module_id,
NULL::character varying AS module_name,
a.parentmodule AS parent_id,
a.id AS action_id,
a.displayname AS action_name,
((a.url)::text ||
CASE
WHEN (a.queryparams IS NULL) THEN ''::text
ELSE ('?'::text || (a.queryparams)::text)
END) AS action_url,
a.ordernumber AS order_number,
'A'::text AS typeflag,
a.enabled AS is_enabled,
a.contextroot AS context_root
FROM eg_action a;
|
<reponame>Stolym/RAGEMP
insert into integrations
( server_id,
integration_id,
integration_type,
integration_user_info )
values
( :server_id:,
:integration_id:,
:integration_type:,
:integration_user_info: ); |
<filename>inventory.sql
-- phpMyAdmin SQL Dump
-- version 4.9.0.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Waktu pembuatan: 25 Sep 2021 pada 19.11
-- Versi server: 10.4.6-MariaDB
-- Versi PHP: 7.1.31
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `inventory`
--
-- --------------------------------------------------------
--
-- Struktur dari tabel `admin`
--
CREATE TABLE `admin` (
`id_admin` varchar(10) NOT NULL,
`email` varchar(30) NOT NULL,
`nama_admin` varchar(30) NOT NULL,
`alamat_admin` text NOT NULL,
`password` varchar(128) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `admin`
--
INSERT INTO `admin` (`id_admin`, `email`, `nama_admin`, `alamat_admin`, `password`) VALUES
('A01', '<EMAIL>', '<NAME>', 'Jl Kubang Raya Km 4', '$2y$10$Bo7y/ZuhCDtFtIzko0jVKuKpPBgJlbdQwa4SScEZ07J1a8Ca3lXDe'),
('A02', '<EMAIL>', 'tomi', '-', '$2y$10$BukjIwlzkmfYfYhP/LLUcuGPAyUoFeBucB/v6fVAYnkqhDBsrY8Lm');
-- --------------------------------------------------------
--
-- Struktur dari tabel `barang`
--
CREATE TABLE `barang` (
`id_barang` varchar(10) NOT NULL,
`merek` varchar(30) NOT NULL,
`kategori` varchar(30) NOT NULL,
`satuan` varchar(10) NOT NULL,
`stok` int(10) NOT NULL,
`harga_beli` double NOT NULL,
`harga_jual` double NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `barang`
--
INSERT INTO `barang` (`id_barang`, `merek`, `kategori`, `satuan`, `stok`, `harga_beli`, `harga_jual`) VALUES
('B000001', 'Rinso Cair 50ml', 'Deterjen', 'Btl', 0, 2400, 3000);
-- --------------------------------------------------------
--
-- Struktur dari tabel `stok`
--
CREATE TABLE `stok` (
`id_stok` varchar(10) NOT NULL,
`id_barang` varchar(10) NOT NULL,
`type` enum('in','out') NOT NULL,
`tanggal` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
`nama_supplier` varchar(30) NOT NULL,
`kategori` varchar(30) NOT NULL,
`qty` int(10) NOT NULL,
`satuan` varchar(10) NOT NULL,
`keterangan` text NOT NULL,
`id_user` varchar(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `stok`
--
INSERT INTO `stok` (`id_stok`, `id_barang`, `type`, `tanggal`, `nama_supplier`, `kategori`, `qty`, `satuan`, `keterangan`, `id_user`) VALUES
('St000001', 'B000001', 'in', '2021-09-24 23:59:10', '-', 'Deterjen', 80, 'Btl', 'haus', '');
-- --------------------------------------------------------
--
-- Struktur dari tabel `supplier`
--
CREATE TABLE `supplier` (
`id_supplier` varchar(10) NOT NULL,
`nama_supplier` varchar(30) NOT NULL,
`no_hp` varchar(15) NOT NULL,
`alamat_supplier` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `supplier`
--
INSERT INTO `supplier` (`id_supplier`, `nama_supplier`, `no_hp`, `alamat_supplier`) VALUES
('S01', '-', '0', '-'),
('S02', 'ALI (PT. Indomarco Prismatama)', '082234567456', 'Jl Kubang Raya'),
('S03', 'Yusuf (PT. Alam Jaya Sejahtera', '081938573452', 'Jl Kutilang Sakti');
--
-- Indexes for dumped tables
--
--
-- Indeks untuk tabel `admin`
--
ALTER TABLE `admin`
ADD PRIMARY KEY (`id_admin`);
--
-- Indeks untuk tabel `barang`
--
ALTER TABLE `barang`
ADD PRIMARY KEY (`id_barang`);
--
-- Indeks untuk tabel `stok`
--
ALTER TABLE `stok`
ADD PRIMARY KEY (`id_stok`),
ADD KEY `id_barang` (`id_barang`);
--
-- Indeks untuk tabel `supplier`
--
ALTER TABLE `supplier`
ADD PRIMARY KEY (`id_supplier`);
--
-- Ketidakleluasaan untuk tabel pelimpahan (Dumped Tables)
--
--
-- Ketidakleluasaan untuk tabel `stok`
--
ALTER TABLE `stok`
ADD CONSTRAINT `stok_ibfk_1` FOREIGN KEY (`id_barang`) REFERENCES `barang` (`id_barang`) ON DELETE CASCADE ON UPDATE CASCADE;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
<reponame>tedliang/osworkflow
drop table os_propertyentry;
create table OS_PROPERTYENTRY
(
ID serial primary key,
GLOBAL_KEY varchar(250),
ITEM_KEY varchar(250),
ITEM_TYPE smallint,
STRING_VALUE varchar(255),
DATE_VALUE date,
DATA_VALUE byte,
FLOAT_VALUE float,
NUMBER_VALUE decimal
);
drop table os_wfentry;
create table OS_WFENTRY
(
ID integer,
NAME varchar(60),
INITIALIZED integer,
primary key (ID)
);
drop table os_currentstep;
create table OS_CURRENTSTEP
(
ID integer,
ENTRY_ID integer,
STEP_ID integer,
ACTION_ID integer,
OWNER varchar(35),
START_DATE date,
FINISH_DATE date,
DUE_DATE date,
STATUS varchar(40),
CALLER varchar(35),
primary key (ID),
foreign key (ENTRY_ID) references OS_WFENTRY(ID)
);
-- create index os_current_entry on os_currentstep (entry_id);
create index os_current_owner on os_currentstep (owner);
create index os_current_caller on os_currentstep (caller);
drop table os_historystep;
create table OS_HISTORYSTEP
(
ID integer,
ENTRY_ID integer,
STEP_ID integer,
ACTION_ID integer,
OWNER varchar(35),
START_DATE date,
FINISH_DATE date,
DUE_DATE date,
STATUS varchar(40),
CALLER varchar(35),
primary key (ID),
foreign key (ENTRY_ID) references OS_WFENTRY(ID)
);
-- create index os_history_entry on os_historystep (entry_id);
create index os_history_owner on os_historystep (owner);
create index os_history_caller on os_historystep (caller);
drop table OS_CURSTEP_PREV;
create table OS_CURSTEP_PREV
(
ID integer,
PREVIOUS_ID integer,
primary key (ID, PREVIOUS_ID),
foreign key (ID) references OS_CURRENTSTEP(ID),
foreign key (PREVIOUS_ID) references OS_HISTORYSTEP(ID)
);
-- create index os_curstep_prev on os_curstep_prev (previous_id);
create table OS_HISTSTEP_PREV
(
ID integer,
PREVIOUS_ID integer,
primary key (ID, PREVIOUS_ID),
foreign key (ID) references OS_HISTORYSTEP(ID),
foreign key (PREVIOUS_ID) references OS_HISTORYSTEP(ID)
);
-- create index os_historystep_previous on os_historystep_prev (previous_id);
|
INSERT INTO "Jutsu" ("id", "name", "description", "kanji", "romaji", "portugues", "games", "mangaPanini", "tvBrasileira", "range", "rank", "handSeals") VALUES
(618, E'Esfera Espiral do Medo', E'Menma cria um Rasengan de chakra negativo e o rodeia com um anel em forma de disco adicional de chakra, que orbita a esfera principal, fazendo-a se assemelhar a um pequeno anel planetário. Ele corresponde ao Rasenshuriken de Naruto no Modo Sábio.', E'螺旋輪虞らせんりんぐ', E'Rasenringu', E'Esfera Espiral do Medo', NULL, NULL, NULL, E'Curto alcance', NULL, NULL),
(619, E'Esfera Gigante', E'O usuário forma uma grande esfera de energia da cor de seu chakra a partir de alguma de suas extremidades para atirar em seu inimigo. Um único golpe forçou Gamabunta a recuar e a explosão resultante é maior do que o próprio Hōzukijō.', NULL, NULL, NULL, NULL, NULL, NULL, E'Todos os alcances', NULL, NULL),
(620, E'Esfera Protetora de Luz', E'Esta é uma técnica em que o Sino de Segurança Místico de Shion ilumina e nega qualquer ocorrência negativa. Ela era poderoso o suficiente para proteger Shion da escuridão do Mōryō.', NULL, NULL, NULL, NULL, NULL, NULL, E'Curto alcance', NULL, NULL),
(621, E'Esfera da Busca da Verdade', E'As Esferas da Busca da Verdade são esferas negras maleáveis de chakra no qual os usuários podem alterar sua forma e obter diversos tipos de efeitos de acordo com a sua vontade.', E'求道玉ぐどうだま', E'Gudōdama', E'Esfera da Busca da Verdade', NULL, E'Esferas do Caminho da Verdade', NULL, E'Todos os alcances', E'Rank –', NULL),
(622, E'Esfera da Busca da Verdade Expansiva', E'A Esfera da Busca da Verdade Expansiva é um ninjutsu de Kekkei Mōra usado por Kaguya Ōtsutsuki. Ela é composta pelas cinco transformações básicas da natureza e a Liberação de Yin–Yang.', E'膨張求道玉ぼうちょうぐどうだま', E'Bōchō Gudōdama', E'Esfera da Busca da Verdade Expansiva', E'Esfera da Busca da Verdade Final', E'Esfera Expandida do Caminho da Verdade', NULL, E'Todos os alcances', E'Rank –', NULL),
(623, E'Esfera da Maldição da Marionete', E'Toneri molda seu chakra na forma de uma esfera de cor verde. A esfera pode ser usada para paralisar ou atordoar um alvo, ou realizar uma lavagem cerebral e controlar qualquer alvo à curta distância.', NULL, NULL, NULL, NULL, NULL, NULL, E'Curto alcance', NULL, NULL),
(624, E'Esfera de Absorção Espiral', E'Naruto enquanto no Modo de Chakra do Nove-Caudas, usa seus braços de chakra para formar uma Grande Bola da Esfera Espiral, em sua mão, em seguida, joga-o acima de suas costas. Ele então ele usa os braços de chakra extras para agarrar e esmagar os inimigos na esfera, simulando uma \'absorção\' das vítimas para o Rasengan.', E'螺旋吸丸', E'Rasenkyūgan', E'Esfera de Absorção Espiral', NULL, E'Espiral Sugadora', NULL, E'Curto alcance', NULL, NULL),
(625, E'Esfera de Luz', E'O usuário molda seu chakra na palma da mão, formando uma pequena bola de luz que paira sobre ela. A esfera serve como uma lanterna, melhorando a visibilidade. O usuário, por sua vez, pode controlar seu chakra, variando a intensidade da luz ou até mesmo apagá-la.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(626, E'Esfera de Odor', E'O usuário cospe uma esfera de sopro roxa que se estoura e forma uma nuvem fedorenta, cobrindo uma área extensa. Qualquer um que entrar em contato com este gás fica paralisado por um curto período de tempo. Além disso, a técnica pode impedir o uso do olfato de suas vítimas por um período de tempo mais prolongado, como visto o acontecido com Kiba Inuzuka e Akamaru. O odor é devido à fermentação ocorrida dentro do corpo do usuário.', E'スメル玉', E'Sumerudama', E'Esfera de Odor', NULL, NULL, E'Arte Ninja: Esfera de Odor', E'Curto a Médio alcance', NULL, NULL),
(627, E'Esfera de Relâmpago', E'O usuário cria esferas de relâmpago para lançá-las contra o inimigo. Ao entrar em contato com qualquer corpo, as esferas dispõem de uma grande carga elétrica, mesmo capaz de matar. Dependendo da finalidade utilizada, pode-se criar múltiplas esferas em vez de somente uma. O uso também pode ocorrer por meio das Espadas Gêmeas.', E'雷球らいきゅう', E'Raikyū', E'Esfera de Relâmpago', NULL, NULL, E'Bola de Raio', E'Curto a Médio alcance', NULL, E'Passaro → Cobra → Macaco → Carneiro[1]'),
(628, E'Esfera de Água', E'Utilizando o Kote, Boruto lança uma esfera feita de água que paira no ar e lança outras várias esferas de água menores contra o oponente, como se fossem projéteis, infligindo dano no inimigo.', E'水球すいきゅう', E'Suikyū', E'Esfera de Água', NULL, NULL, NULL, E'Curto a Médio alcance', NULL, NULL),
(629, E'Esfera de Água Sensorial', E'Esta esfera, feita de água, pode ser utilizada para monitorar as assinaturas de chakra numa dada área. Indivíduos ou grupos são representados por variáveis portes de bolhas dentro da esfera, com assinaturas de chakra maiores suas bolhas serão maiores. A esfera em si não é uma ótima forma de detecção e precisa de relatórios do campo para localizar alvos que devem ser mantidos a par. Quando ligado a uma Barreira Sensorial, essa imprecisão é atenuado um pouco.', E'感知水球かんちすいきゅう', E'Kanchi Suikyū', E'Esfera de Água Sensorial', NULL, E'Técnica do Radar Sensorial', NULL, E'Longo alcance', NULL, NULL),
(630, E'Esferas Espirais Desordenadas', E'Naruto, enquanto controlando o chakra de Kurama, forma braços de chakra para formar múltiplos Rasengan. Ele pode, então, atingir vários oponentes ao mesmo tempo segurando o Rasengan com os braços de chakra.', E'螺旋乱丸らせんらんがん', E'Rasenrangan', E'Esferas Espirais Desordenadas', E'Múltiplas Esferas Espirais', NULL, NULL, E'Curto alcance', NULL, NULL),
(631, E'Esforço da Estrela Especuladora', E'Might Guy abre vários portões de chakra e, em seguida, salta pro céu em forma de estrela, caindo rapidamente e atingindo seu oponente, criando uma enorme explosão e destruição no local.', E'噂の努力星うわさのどりょくしょう', E'Uwasa no Doryokushō', E'Esforço da Estrela Especuladora', NULL, NULL, NULL, E'Curto alcance', NULL, NULL),
(632, E'Esguicho do Mar Agitado', E'Yagura empunha seu bō e golpeia para baixo, inundando o ambiente. Com o cenário transformado em um enorme lago, o Mizukage afunda junto com o oponente, envolve-se em um turbilhão de água, afastando-o e transformando-se no Isobu, que retrai suas patas e nada em alta velocidade, com o apoio de jatos d\'água que saem dos orifícios da casca, onde ficavam as patas, e cabeceando o inimigo para fora da água. Com o adversário no ar, Isobu então cospe um poderoso jato de água diretamente nele.', E'荒海飛沫', E'A<NAME>', E'Esguicho do Mar Agitado', E'Espuma do Mar Bravo', NULL, NULL, NULL, NULL, NULL),
(633, E'Esmagar', E'O usuário pula sobre o oponente esmagando-o com sua barriga. O usuário ainda pode aproveitar-se do movimento de mola, proporcionado por sua barriga flácida, para executar um combo contra o oponente.', NULL, NULL, NULL, E'Esmagar', NULL, NULL, E'Curto alcance', NULL, NULL),
(634, E'Espada Fortalecida', E'Esta técnica consiste em reforçar suas lâminas com chakra afim de causar grandes danos e impacto.', E'剛剣ごうけん', E'Gōken', E'Espada Fortalecida', E'Espada Forte', NULL, NULL, E'Curto a Médio alcance', NULL, NULL),
(635, E'Espada Gêmea Hiramekarei: Martelo', E'Chōjūrō flui seu chakra através da Hiramekarei e aplica a transformação da forma, criando um martelo gigante. Com isso, ele pode acertar os seus alvos com força o suficiente para fazê-los voar através de uma distância considerável, atravessando paredes, mesmo com uma forte defesa como o Susanoo.', E'双刀ヒラメカレイ・ハマー', E'Sōtō Hiramekarei: Hamā', E'Espada Gêmea Hiramekarei: Martelo', NULL, NULL, NULL, E'Curto alcance', NULL, NULL),
(636, E'Espada Ninja dos Fūma: Zanbatō', E'Hanzaki salta em direção ao seu inimigo e desfere um poderoso corte descendente com sua zanbatō.', E'ふうま忍剣・斬馬刀ふうまにんけん・ざんばとう', E'Fūma Ninken: Zanbatō', E'Espada Ninja dos Fuuma: Zanbatou', NULL, NULL, E'Espada Ninja do Vento Demoníaco: Zambatou', E'Curto alcance', NULL, NULL),
(637, E'Espada Relâmpago', E'Kakashi joga o oponente no ar, onde Yūgao chuta-o e em seguida, ataca-o com sua espada, logo Kakashi finaliza com o Corte Relâmpago.', E'雷剣', E'Raiken', E'Espada Relâmpago', NULL, NULL, NULL, E'Curto Alcance', NULL, NULL),
(638, E'Espada Relâmpago Instantânea', E'Minato corre em alta velocidade que até parece um desfoque e bate-o quando ele chega ao lado do seu oponente. Em seguida, ele para atrás do oponente e cortá-o com uma kunai.', E'瞬雷刃', E'Shunraijin', E'Espada Relâmpago Instantânea', E'Espada Instantânea do Trovão', NULL, NULL, E'Curto alcance', NULL, NULL),
(639, E'Espada Rotativa Voadora', E'O usuário joga a Kubikiribōchō em seu oponente, causando dano à medida que gira em direção a ele. Se a Kubikiribōchō ficar presa em algo ou acerta o inimigo, o usuário pode ficar sobre ela.', E'飛旋剣', E'Hisenken', E'Espada Rotativa Voadora', E'Turno do Corte Voador', NULL, NULL, E'Longo alcance', NULL, NULL),
(640, E'Espada Secreta: Corte Nevasca', E'Tsubaki canaliza seu chakra através de sua katana ainda embainhada e então ela realiza um ataque de battōjutsu — o desembainhamento da espada com o fito de executar um corte. A partir disso, ela desencadeia uma poderosa onda de choque que culmina na formação de um tornado maciço ao seu redor, repelindo tudo o que estiver nas proximidades. A destruição é ainda maior quando ela desembainha a espada completamente, mas o custo de chakra é maior.', E'秘剣・風雪斬り', E'Hiken: Fūsetsugiri', E'Espada Secreta: Corte Nevasca', NULL, NULL, NULL, E'Todos os alcances', NULL, NULL),
(641, E'Espada Secreta: Luar', E'Hayate corre em direção ao seu adversário com um golpe de espada, deixando um rastro de imagem posterior.', E'秘剣・月影', E'Hiken: Tsukikage', E'Espada Secreta: Luar', NULL, NULL, NULL, E'Curto alcance', NULL, NULL),
(642, E'Espada: Lâmina de Vento', E'Ashura concentra chakra em sua espada e libera rapidamente contra o inimigo em forma de uma pequena esfera de vento com capacidades cortantes.', E'一刀・風刃いっとう・ ふうじん', E'Ittō: Fūjin', E'Espada: Lâmina de Vento', NULL, NULL, NULL, E'Curto alcance', NULL, NULL),
(643, E'Espada de Assassinato Relâmpago', NULL, E'暗殺雷光剣あんさつらいこうけん', E'Ansatsu Raikōken', E'Espada de Assassinato Relâmpago', E'Lâmina Assassina Relâmpago', NULL, NULL, E'Curto alcance', NULL, NULL),
(644, E'Espada de Chakra: Grande Ferida de Interseção', E'Shizune usa Tonton para acertar o oponente, dando-lhe tempo suficiente para usar suas duas espadas de chakra para cortar e matar o oponente. As barras deixam duas grandes marcas no chão.', E'チャクラ剣・大交衝', E'Chakura Ken: Daikōshō', E'Espada de Chakra: Grande Ferida de Interseção', E'Espada de Chakra: Grande Cruzamento de Golpe', NULL, NULL, NULL, NULL, NULL),
(645, E'Espada de Kagutsuchi', E'A Espada de Kagutsuchi é uma espada de chamas negras empunhada por Sasuke Uchiha.', E'加具土命の剣カグツチのつるぎ', E'Kagutsuchi no Tsurugi', E'Espada da Ferramenta Adicionada do Senhor da Terra', E'Espada de Controle de Chamas', NULL, NULL, E'Curto alcance', NULL, NULL),
(646, E'Espada de Kagutsuchi: Turbilhão de Chamas', E'Sasuke manifesta seu Corpo Completo — Susanoo e executa uma série de cortes com a Espada de Kagutsuchi, desencadeando um turbilhão de chamas negras que engolem seu adversário.', E'加具土命の剣・渦炎カグツチのつるぎ・うずえん', E'Kagutsuchi no Tsurugi: Uzuen', E'Espada da Ferramenta Adicionada do Senhor da Terra: Turbilhão de Chamas', E'Espada do Controle de Chamas: Redemoinho de Chamas', NULL, NULL, E'Curto alcance', NULL, NULL),
(647, E'Espada de Kusanagi: Espada Longa do Céu', E'Esta é uma técnica que permite que Orochimaru possa levitar a Espada de Kusanagi e atacar os inimigos a meia-distância. A lâmina se move de acordo com os movimentos dos dedos de Orochimaru. No anime, a lâmina emite uma luz azul brilhante quando ela está levitando.', E'草薙の剣・空の太刀', E'Kusanagi no Tsurugi: Kū no Tachi', E'Espada de Kusanagi: Espada Longa do Céu', NULL, NULL, NULL, E'Curto a Médio alcance', E'Rank B', NULL),
(648, E'Espada de Kusanagi: Lâmina de Chidori', E'Esta técnica permite que Sasuke possa canalizar o Chidori através de sua Espada de Kusanagi. Isso torna a lâmina quase indefensável podendo facilmente cortar o aço. Além disso, se uma pessoa é esfaqueada, seu corpo fica dormente devido a uma corrente elétrica que faz com que os músculos fiquem dormentes, tornando impossível para o adversário conseguir se mover. No entanto, pode ser anulada por outras armas que também utilizam o fluxo de chakra da Liberação de Relâmpago, como as espadas usadas por Killer B.', E'草薙の剣・千鳥刀くさなぎのつるぎ・ちどりがたな', E'Kusanagi no Tsurugi: Chidorigatana', E'Espada de Kusanagi: Lâmina dos Mil Pássaros', E'Katana Chidori', NULL, NULL, E'Curto alcance', E'Rank B', NULL),
(649, E'Espada de Kusanagi: Lâminas de Todas as Direções', E'Depois de imobilizar o alvo com uma cobra, Orochimaru invoca várias réplicas de sua espada de Kusanagi que atacam o inimigo de todas as direções.', E'草薙の剣・八方刃くさなぎのつるぎ・はっぽうは', E'Kusanagi no Tsurugi: Happōha', E'Espada Ceifadora de Grama: Lâminas de Oito Direções', E'Grama Alabarda: Lâmina de Todas Direções', NULL, NULL, E'Curto alcance', NULL, NULL),
(650, E'Espada de Kusanagi: Um Golpe Mortal', E'Orochimaru invoca uma cobra gigante, que bate no chão com sua cauda, lançando o seu alvo para o ar. Então, Orochimaru ordena para Espada de Kusanagi esfaquear o seu alvo.', E'草薙の剣・一刺死くさなぎのつるぎ・いっしし', E'Kusanagi no Tsurugi: Isshishi', E'Espada do Corte da Grama: Um Golpe Mortal', E'Alabarda da Grama: Morte em um Golpe', NULL, NULL, E'Curto alcance', NULL, NULL),
(651, E'Espada de Luz de Chidori', E'Sasuke usa sua espada chokutō para canalizar um Chidori extremamente poderoso. Ele parece ter um alcance ainda maior do que a Corrente de Chidori, tornando-o mais eficaz em batalha. Pode notar-se que esta técnica é mais utilizada em água, porque a corrente do raio produzido é transportado em toda a superfície tornando-a mais difícil do inimigo evitar.', E'千鳥光剣ちどりこうけん', E'Ch<NAME>', E'Espada de Luz dos Mil Pássaros', E'Espada Chidori', NULL, NULL, E'Curto a Médio alcance', NULL, NULL),
(652, E'Espada de Nunoboko', E'A Espada de Nunoboko é uma grande espada em forma de dupla hélice, formada a partir da Esfera da Busca da Verdade e originalmente usada por Hagoromo Ōtsutsuki.', E'ぬのぼこの剣ぬのぼこのけん', E'Nunoboko no Ken', E'Espada de Nunoboko', NULL, NULL, NULL, E'Longo alcance', NULL, NULL),
(653, E'Espada de Relâmpago Infernal', E'Saltando acima do oponente, o usuário empunha sua espada infundida com relâmpago e desfere um poderoso golpe perfurante para baixo, deixando um rastro de relâmpago para trás.', E'奈落雷光剣ならくらいこうけん', E'<NAME>', E'Espada de Relâmpago Infernal', E'Espada Relâmpago Naro', NULL, NULL, E'Curto alcance', NULL, NULL),
(654, E'Espada de Totsuka', E'A Espada de Totsuka, também conhecida como Sakegari no Tachi (酒刈太刀, Espada Longa Cortadora de Saquê), é uma variação da Espada de Kusanagi. Ela é embainhada numa jarra de saquê; a lâmina é de fato o líquido dentro do recipiente que é solto e moldado, ao invés do que uma espada convencional. Ela é uma arma etérea, com uma lâmina encantada capaz de selar qualquer coisa que ela perfure. Aqueles que são perfurados por ela são sugados para dentro da jarra e presos num “mundo de sonhos embriagados” como um genjutsu por toda eternidade; e além disso, Itachi também conseguiu remover o selo amaldiçoado de Sasuke ao perfurar e remover Orochimaru do corpo de Sasuke. Orochimaru procurou pela espada por toda sua vida e Zetsu comentou que ele nunca pôde achá-la.', E'十拳剣とつかのつるぎ', E'Totsuka no Tsurugi', E'Espada Longa de Dez Mãos', NULL, NULL, NULL, E'Longo alcance', NULL, NULL),
(655, E'Espada de Vácuo', E'O usuário balança sua espada e uma rajada de vento é liberada no arco em que foi balançada. A técnica é forte o suficiente para parar projéteis que são lançados no usuário e mesmo cortar algo denso como uma árvore.', E'真空剣しんくうけん', E'Shinkūken', E'Espada de Vácuo', NULL, NULL, E'Lâmina de Choque', E'Curto a Médio alcance', NULL, NULL),
(656, E'Espada do Deus do Trovão: Corte', E'É uma variante das técnicas usadas por Aoi Rokushō através da Espada do Deus do Trovão.', NULL, NULL, NULL, NULL, NULL, NULL, E'Curto alcance', NULL, NULL),
(657, E'Espada do Deus do Trovão: Descarga Elétrica', E'Uma técnica desenvolvida por Aoi Rokushō através de suas maestrias utilizando a Espada do Deus do Trovão. Com seu empunhamento, essa se tornou uma de suas técnicas assinaturas.', NULL, NULL, NULL, NULL, NULL, NULL, E'Curto alcance', NULL, NULL),
(658, E'Espadas de Liberação de Relâmpago Super-Vibrantes', E'Trata-se de uma técnica de Killer B com a qual ele infunde um objeto perfurante, normalmente suas espadas, com chakra de natureza relâmpago para atacar ou arremessar em direção a seu alvo. O poder de perfuração do objeto é aprimorado devido ao aumento da frequência de vibração do chakra, ao ponto de superar o de técnicas de vento. Com isso é possível perfurar um tronco com relativa facilidade, mesmo se a arma utilizada for um lápis.', E'超ビブラート雷遁刀', E'Chō Biburāto Raitontō', E'Espadas de Liberação de Relâmpago Super-Vibrantes', NULL, NULL, NULL, E'Curto a Médio alcance', NULL, NULL),
(659, E'Especialidade da Academia', E'Iruka atinge o oponente com vários chutes e golpes de kunai, em seguida ele aponta o dedo para o oponente e, ficando enfurecido, pega um livro e bate com ele sobre a cabeça do oponente.', E'忍者学校名物あかでみいめいぶつ', E'Akademī Meibutsu', E'Especialidade da Academia', E'Especialidade da Academia Ninja', NULL, NULL, E'Curto alcance', NULL, NULL),
(660, E'Espelho Demoníaco de Gelo Fino', E'Trata-se da versão reduzida a um espelho a partir dos Espelhos Demoníacos de Cristais de Gelo de Haku.', E'魔鏡薄氷まきょうはくひょう', E'Makyō Hakuhyō', E'Espelho Demoníaco de Gelo Fino', E'Espelhos dos Cristais de Gelo', NULL, NULL, E'Todos os alcances', NULL, NULL),
(661, E'Espelho de Yata', E'O Espelho de Yata (八咫鏡, Yata no Kagami) foi um escudo etéreo empunhado pelo Susanoo de Itachi. É dito sendo dotado de todas as cinco transformações da natureza e como tais mudanças características próprias de acordo com os do ataque que recebe, fazendo com que o ataque seja inteiramente ineficaz.', E'八咫鏡やたのかがみ', E'Yata no Kagami', E'Espelho de Yata', NULL, NULL, NULL, NULL, NULL, NULL),
(662, E'Espelhos Demoníacos de Cristais de Gelo', E'A capacidade abominável e enorme, transmitida apenas dentro do Clã Yuki. É uma técnica envolvida em muitos mistérios. Dizia-se que nenhum método de existência pode derrotar esta técnica. Em um instante, vários espelhos de gelo são criadas em torno do inimigo, refletindo nada, exceto Haku. O adversário está preso em uma cúpula de 21 espelhos flutuantes feitos de gelo. Doze permanecem ao nível do solo, oito flutuam acima dos 12 primeiro e inclinados em direção ao chão, e o espelho final é acima do resto e virado para o chão. Uma vez que Haku entrou nos espelhos, é possível para ele se mover entre os espelhos na velocidade da luz. É quase impossível de seguir ataques enviados a partir deste movimento incrível. Como todo espelho mostra seu reflexo, pode-se dizer que é impossível ver todos os ataques de Haku. Mesmo que o oponente tente atacar o corpo real, Haku já se muda para outro espelho. Sem olhos como o Sharingan, será impossível manter o controle dele.', E'魔鏡氷晶まきょうひょうしょう', E'Makyō Hyōshō', E'Espelhos Demoníacos de Cristais de Gelo', E'Jutsu Oculto: Espelhos de Cristais de Gelo', E'Técnica Secreta de Espelho Demoníaco dos Cristais de Gelo', E'Jutsu Secreto: Espelhos de Cristais de Gelo', E'Curto a Médio alcance', E'Rank –', E'Selo de Mao Especifico da Técnica'),
(663, E'Espinho', E'Kimimaro acerta uma série de golpes no oponente com duas espadas de ossos até que ele o envia voando no ar, onde ele acerta uma série de golpes muito rápido.', E'茨いばら', E'Ibara', E'Espinho', NULL, NULL, NULL, E'Curto alcance', NULL, NULL),
(664, E'Espinho Giratório de Serpente', E'Depois de usar Invocação: Serpente de Duas Cabeças e fundindo-se com elas através do Técnica Quimera, o usuário pode disparar projéteis giratórios da boca da cobra que têm força de impacto explosivo.', E'蛇旋刺', E'Jasenshi', E'Espinho Giratório de Serpente', NULL, NULL, NULL, E'Curto alcance', NULL, NULL),
(665, E'Espinho da Busca da Verdade', E'Madara ataca o oponente com suas Esferas da Busca da Verdade, jogando-o para cima e, enquanto inimigo ainda está no ar, o usuário envia suas esferas transforma-as em várias pequenas estacas, que aumentam e perfuram o oponente enquanto ainda está em queda.', E'求道刺', E'Gudōzashi', E'Espinho da Busca da Verdade', E'Espeto da Busca da Verdade', NULL, NULL, E'Curto a Médio alcance', NULL, NULL),
(666, E'<NAME>', E'A <NAME>sim é uma forma mais poderosa do Rasengan utilizada por Momoshiki Ōtsutsuki.', E'深紅螺旋', E'<NAME>', E'<NAME>', E'<NAME>', NULL, NULL, E'Curto alcance', NULL, NULL),
(667, E'Esprei de Perfume', E'Karin pulveriza uma enorme quantidade de perfume rosa que causa danos medianos ou fracos, mas também envenena o oponente no processo. Além de envenenar o alvo, ele também pode diminuir sua velocidade e defesa. Enquanto no \'Modo Despertar\', Karin utiliza uma versão mais agressiva da técnica, chamada de Super Esprei de Perfume (香水スプレー超噴射, Kōsui Supurē Chōfunsha; Bandai: Super Explosão do Spray de Perfume), onde a substância é usada de forma mais concentrada contra o oponente e com maiores danos, além de atuar também como uma investida que destrói a guarda.', E'香水スプレー', E'Kōsui Supurē', E'Esprei de Perfume', E'Spray de Perfume', NULL, NULL, E'Todos os alcances', NULL, NULL),
(668, E'Estilo Hanabi: Rotação Celestial', E'Esta técnica é uma manobra do estilo de luta Punho Gentil.', E'ハナビ流・回天', E'Hanabi Ryū: Kaiten', NULL, E'Estilo Hanabi: Rotação', NULL, NULL, E'Curto alcance', NULL, NULL),
(669, E'Estilo Takigakure: Lâmina Decapitadora de Água', E'Uma técnica secreta de Takigakure que permite o usuário manipular a água em forma de uma espada. Enquanto usado por usuários de Kenjutsu, esta técnica pode ser usada para assaltos, como foi demonstrado por Shibuki. Esta espada demonstra ser resistente e também capaz de cortar a maioria das técnicas da Liberação de Fogo.', E'滝隠れ流・水斬りの刃', E'Takigakureryū: Mizukiri no Yaiba', E'Estilo Takigakure: Lâmina Decapitadora de Água', NULL, NULL, E'Estilo Cachoeira Secreta: Corte da Espada de Água', E'Curto alcance', NULL, NULL),
(670, E'Estilo Tsuchigumo: Liberação da Técnica Proibida da Vida: Criação do Céu e da Terra', E'Esta técnica libera o selo sobre a técnica Fúria.', E'土蜘蛛流・禁生術解放・天地開闢', E'Tsuchigumoryū: Kinseijutsu Kaihō: Tenchi Kaibyaku', E'Estilo Tsuchigumo: Liberação da Técnica Proibida da Vida: Criação do Céu e da Terra', NULL, NULL, E'Estilo Tsuchigumo: Liberação do Jutsu Proibido: Grande Explosão', NULL, NULL, E'Selo do Confronto'),
(671, E'Estilo Uchiha: Dança da Auréola', E'Shisui infunde sua tantō em fogo e com um gesto rápido desencadeia uma onda de chamas em direção ao inimigo.', E'うちは流・日暈の舞うちはりゅう・ひがさのまい', E'Uchiharyū: Higasa no Mai', E'Estilo Uchiha: Dança da Auréola', E'Estilo Uchiha: Dança Auréola', NULL, NULL, E'Curto a Médio alcance', NULL, NULL),
(672, E'Estilo da Grama Oculta: Palma Destruidora', E'Um ataque de taijutsu puro onde Mui oferece um conjunto de mão-aberta, ou com o punho fechado junto com chutes no seu adversário. Esta série de ataque mal pode ser vista a olho nu.', E'草影流發破掌', E'Kusakage Ryū Happa Shō', E'Estilo da Grama Oculta: Palma Destruidora', NULL, NULL, NULL, E'Curto alcance', NULL, NULL),
(673, E'Estilo de Duas Mãos', E'O Estilo de Duas Mãos é uma técnica de ambidestro utilizada por Tamao em uma competição de comida.', E'二ハンド流', E'Ni Handoryū', E'Estilo de Duas Mãos', NULL, NULL, NULL, E'Curto alcance', NULL, NULL),
(674, E'Estilo de Luta', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(675, E'Estilo de Selamento de Oito Trigramas', E'O Estilo de Selamento de Oito Trigramas é um fūinjutsu criado pelo clã Uzumaki e consiste de dois Selos de Quatro Símbolos.', E'八卦の封印式はっけのふういんしき', E'Hakke no Fūin Shiki', E'Estilo de Selamento de Oito Trigramas', NULL, NULL, E'Selo de Oito Sinais', E'Curto alcance', E'Rank –', NULL),
(676, E'Estrondo da Flor de Cerejeira', E'Sakura acumula chakra em ambos os punhos e, em seguida, ela desfere uma série de socos, trocando de punho a cada golpe, que liberam ondas de choques. Em questão de minutos, ela pode derrotar inúmeros inimigos.', NULL, NULL, E'Estrondo da Flor de Cerejeira', E'Impacto Certeiro da Flor de Cerejeira (桜花正中衝, Ōkaseichūshō)[2]', NULL, NULL, E'Curto alcance', NULL, NULL),
(677, E'Estrondoso Furacão de Fogo da Folha', E'Rock Lee abre cinco dos oito portões e golpeia seu inimigo com um chute tão rápido que sua perna pega fogo. Lee gira no ar, criando um espiral de fogo antes de trazer a perna para baixo através do centro e para o chão. O fogo explode para fora, explodindo qualquer inimigo em estreita proximidade.', E'木ノ葉轟炎疾風', E'<NAME>', E'Estrondoso Furacão de Fogo da Folha', E'Rugido do Vendaval de Chamas da Folha', NULL, NULL, E'Curto alcance', NULL, NULL),
(678, E'Estátua Demoníaca do Caminho Exterior (jutsu)', E'O Caminho Naraka agarra o oponente pelo pescoço e invoca o Rei do Inferno, que leva o oponente para a sua boca, e morde-o e depois cospe-o para fora.', E'外道魔像', E'Gedō Mazō', E'Estátua Demoníaca do Caminho Exterior', E'Ícone Herético', NULL, NULL, E'Curto alcance', NULL, NULL),
(679, E'Estátua Demoníaca do Caminho Exterior: Invocação de Choque de Relâmpagos', E'Usando suas saliências, a Estátua Demoníaca do Caminho Exterior atinge vários inimigos com raios de chakra devastadores.', E'外道魔像・招雷光墜げどうまぞう•しょうらいこうつい', E'Gedō Mazō: Shiyouraikoutsui', E'Estátua Demoníaca do Caminho Exterior: Invocação de Choque de Relâmpagos', NULL, NULL, NULL, NULL, NULL, NULL),
(680, E'Execução por Beijo', E'Esta capacidade de Fūka lhe permitiu absorver todo chakra e técnicas de um oponente por beijá-lo, permitindo que ela possuísse várias afinidades elementares, bem como fazer respeitar os que ela já tem e ter acesso a todas as técnicas elementares de sua vítima. Depois que ela absorveu seu chakra, ela poderia roubar sua alma. Esta técnica também pode ser usada para determinar o que tem afinidades elementares do alvo ao lamber ele. Devido a um corpo sendo incapaz de lidar com tanto chakra, Fūka distribui o chakra ela absorveu em vários corpos, e usa o Mudança de Curso da Cor para mudar para outro, se necessário.', E'死刑接吻しけいせっぷん', E'Shikei Seppun', E'Execução pelo Beijo', NULL, NULL, E'Beijo Ceifador', E'Curto alcance', NULL, NULL),
(681, E'Exemplo — Fūinjutsu', E'Iruka utiliza a Formação das Cordas de Luz para prender seu oponente e, em seguida, ele pega um papel explosivo e o coloca sobre a cabeça do oponente, causando uma explosão.', E'模範的 封印術', E'Mohanteki — Fūinjutsu', E'Exemplo — Fūinjutsu', E'Jutsu de Selamento Exemplar', NULL, NULL, E'Curto alcance', NULL, NULL),
(682, E'Exemplo — Liberação de Fogo', E'Iruka acerta o oponente com vários ataques de kunai, chutes e uma cotovelada, finalizando com um chute para cima. Enquanto o oponente está no ar, Iruka lança uma rajada de fogo.', E'模範的 火遁', E'Mohanteki — Katon', E'Exemplo — Liberação de Fogo', E'Estilo Fogo Exemplar', NULL, NULL, E'Curto alcance', NULL, NULL),
(683, E'Exemplo — Queda do Calcanhar', E'Iruka acerta diversos golpes de kunai e chutes no oponente enquanto no ar, para no fim mandá-lo caindo no chão com um chute.', E'模範的 かかと落とし', E'Mohanteki — Kakato Otoshi', E'Exemplo — Queda do Calcanhar', E'Queda do Calcanhar Exemplar', NULL, NULL, E'Curto alcance', NULL, NULL),
(684, E'Exemplo — Técnica de Ocultação nas Folhas', E'Iruka faz com que algumas folhas apareçam ao seu redor. Se o oponente o atacar enquanto ele está oculto nas folhas, ele aparece atrás do mesmo e atira duas Fūma Shuriken.', E'模範的 木ノ葉隠れの術もはんてき このはがくれのじゅつ', E'Mohanteki — Konohagakure no Jutsu', E'Exemplo — Técnica de Ocultação nas Folhas', E'Jutsu da Folha Oculta Exemplar', NULL, NULL, NULL, NULL, NULL),
(685, E'Existência de Decapitação', E'Mifune executa um ataque poderoso, rapidamente puxando a sua espada e cortando seu oponente. Seu oponente só sente o ataque quando Mifune embainha sua espada.', E'居斬', E'Ikiru', E'Existência de Decapitação', E'Decapitação do Residente', NULL, NULL, E'Curto alcance', NULL, NULL),
(686, E'Exorcismo', E'Após transformar seu corpo em papel, Konan paira no ar e começa a girar horizontalmente em direção do inimigo, infringindo dano. Suas asas servem como uma extensão do seu corpo, cortando o oponente um pouco mais longe de seu corpo.', E'祓い', E'Harai', E'Exorcismo', NULL, NULL, NULL, E'Curto alcance', NULL, NULL),
(687, E'Explosão Gelel', E'Com um pedaço da Pedra de Gelel embutido na parte de trás de sua mão direita, Haido pode explodir objetos sem a necessidade de fazer contato físico com ele. Ele aprendeu tais poderes vendo o Livro de Gelel e felizmente conseguiu desenvolver o poder. Quando usado, Haido é capaz de causar uma pequena onda de choque à distância considerável.', NULL, NULL, NULL, NULL, NULL, NULL, E'Todos os alcances', NULL, NULL),
(688, E'Explosão Kunoichi', E'Sakura lança uma shuriken no oponente, e Ino aproveita a distração para usar sua Técnica de Troca da Mente do Corpo, e, finalmente, Sakura acaba com o adversário com um soco poderoso.', NULL, NULL, E'Explosão Kunoichi', NULL, NULL, NULL, E'Todos os alcances', NULL, NULL),
(689, E'Explosão Massiva do Deserto', E'Enquanto em seu estado despertado e depois de executar o selo de mão necessário, Gaara cria um fluxo de vento e areia que protege-o de qualquer ataque.', E'砂爆塊防さばくかたまりぼう', E'Sabaku Katamari Bō', E'Explosão Massiva do Deserto', E'Pilha de Areia: Defesa', NULL, NULL, E'Curto alcance', NULL, E'Tigre'),
(690, E'Explosão: Destruição da Montanha de Gelo', E'Mizore usa seu Braço de Cabo Retrátil para lançar a mão de metal para agarrar o oponente, colocá-lo no ar, e lançá-lo em uma montanha de gelo que quebra e partes do seu gelo caem sobre o oponente.', E'爆裂・氷山崩し', E'Bakuretsu: Hyōzankuzushi', E'Explosão: Destruição da Montanha de Gelo', NULL, NULL, NULL, E'Ofensivo', NULL, E'Médio alcance'),
(691, E'Explosão da Armadilha de Selamento', E'Tsukino prepara uma armadilha de selamento no terreno que, quando pisada por um oponente, explode.', NULL, NULL, NULL, NULL, NULL, NULL, E'Curto alcance', NULL, NULL),
(692, E'Explosão da Foice da Doninha', E'Temari lança o oponente no ar, e Shikamaru chuta o oponente. Shikamaru em seguida, usa a sua Técnica de Imitação pela Sombra para paralisar o oponente. Então ele lança uma kunai que está acompanhada de um papel explosivo enquanto Temari usa a Técnica da Foice da Doninha para colocar o oponente num tufão e cortá-lo enquanto a kunai explode por causa do papel explosivo.', NULL, NULL, E'Explosão da Foice da Doninha', E'Explosão de Vento da Foice', NULL, NULL, E'Todos os alcances', NULL, NULL),
(693, E'Expressão Montanhosa', E'O usuário ataca seu oponente com dois socos antes de agachar e erguer sua cabeça, dando uma cabeçada fatal no queixo do oponente, lançando-o para uma distância considerável.', E'山顔', E'Sangan', E'Expressão Montanhosa', E'Rosto das Montanhas', NULL, NULL, E'Curto alcance', NULL, NULL),
(694, E'Extremas Ondas Sonoras Decapitadoras', E'Zaku cria uma rajada enorme de vento cortante, ainda mais poderosa do que sua técnica Ondas Sonoras Decapitadoras, que é capaz de nivelar a área circundante, acabando com qualquer coisa em seu caminho.', E'斬空極波', E'Zankūkyokuha', E'Extremas Ondas Sonoras Decapitadoras', NULL, E'Onda Supersônica Cortante', NULL, E'Curto a Médio alcance', E'Rank C', E'Juntar as Maos[2]'),
(695, E'Exército de Cobras', E'Depois do comando de Manda, cobras do tamanho de humanos saem do chão para dar o bote no oponente e derrubá-lo.', E'軍陀ラ', E'Gundara', E'Exército de Cobras', E'Gregário de Cobras', NULL, NULL, E'Longo alcance', NULL, NULL),
(696, E'Facada Infernal', E'A Facada Infernal é a técnica mais forte do Terceiro Raikage, em que ele concentra uma quantidade considerável de chakra relâmpago apenas nas pontas dos dedos de uma única mão e em seguida, executa um movimento de empurrar. Os dedos juntos lhe permitem perfurar um alvo de uma maneira um pouco semelhante ao Chidori e ao Corte Relâmpago.', E'地獄突きじごくずき', E'Jigokuzuki', E'Facada Infernal', NULL, E'Ponta Infernal', NULL, E'Curto alcance', E'Rank B', NULL),
(697, E'Facada da Agulha Negra', E'Pain corre em direção do oponente e esfaqueia com a Manifestação de Receptores de Chakra, revertendo seus controles.', E'黒針突こくしんとう', E'Kokushintō', E'Facada da Agulha Negra', NULL, NULL, NULL, E'Curto Alcance', NULL, NULL),
(698, E'Facas do Chakra Devastador', E'Kagura imerge várias facas no solo, antes de serem ligadas a fios de chakra, puxando-as com uma enorme força, que faz o oponente ir para o alto. Enquanto o inimigo está no ar, Kagura restringe os movimentos do oponente com os fios de chakra, o puxando para si, ao mesmo tempo em que puxa suas facas novamente, o perfurando. Quando o oponente se mostra incapacitado, ele cai no chão.', NULL, NULL, NULL, E'Facas do Chakra Devastador', NULL, NULL, E'Médio a Longo alcance', NULL, NULL),
(699, E'Faisão Caçador', E'O Faisão Caçador é uma técnica de Liberação de Fogo utilizada por Momoshiki Ōtsutsuki.', E'雉狩きじかり', E'Kiji Kari', E'Faisão Caçador', E'Caça ao Faisão', NULL, NULL, E'Curto a Médio alcance', NULL, NULL),
(700, E'Falcoaria', E'A técnica consiste no ataque com uma kunai com as duas mãos em movimento descendente. A técnica pode ser combinada com uma sequência de socos e chutes no oponente, a fim de atordoá-lo.', E'鷹狩', E'Takagari', E'Falcoaria', NULL, NULL, NULL, E'Curto alcance', NULL, NULL),
(701, E'Feixe de Luz da Destruição', E'Este é um um feixe de luz especialmente desenvolvido para lidar com inimigos que possuem poderes regenerativos, matando e desfazendo as células a partir disso. Dessa forma, Delta mira em seus oponentes e dispara feixes de luz a partir de seus olhos, a fim de desintegrar tudo o que toca.', E'破壊光線', E'<NAME>', E'Feixe de Luz da Destruição', NULL, NULL, NULL, E'Longo alcance', NULL, NULL),
(702, E'Ferramentas Manipuladas: Agulhas de Aço da Flor Selvagem', E'Usando um de seus pergaminhos menores, Tenten invoca várias esferas explosivas, que estão espalhados pelo campo de batalha e, em seguida, explodem depois de um tempo, disparando projéteis para fora ao mesmo tempo.', E'操具・鋼針乱華そうぐ・こうしんらんか', E'Sōgu: Kōshin Ranka', E'Ferramentas Manipuladas: Agulhas de Aço da Flor Selvagem', E'Ferramenta Ninja: Explosão das Agulhas de Flor', NULL, NULL, NULL, NULL, NULL),
(703, E'Ferramentas Manipuladas: Ataque de Mil Lâminas', E'Esta técnica é muito semelhante à Ascensão dos Dragões Gêmeos, mas, nesta versão, Tenten só invoca inúmeras kunai de seus dois pergaminhos, que são ligados por linhas em seus dedos. Ela, então, joga todas as kunai ao mesmo tempo sobre o oponente.', E'操具・襲千刃', E'Sōgu: Shū Senjin', E'Ferramentas Manipuladas: Ataque de Mil Lâminas', E'Lâmina dos Mil Golpes', NULL, NULL, E'Curto alcance', NULL, NULL),
(704, E'Ferramentas Manipuladas: Ataques das Esferas Mortais', E'Tenten puxa um pergaminho e gira em torno de si mesma. Várias bolas de metais pontiagudos irrompem o ataque de qualquer oponente próximo ou de desencorajá-la perto com ataques à distância.', E'操具・死球撃', E'Sōgu: Shikyū Geki', E'Ferramentas Manipuladas: Ataques das Esferas Mortais', E'Ferramenta Ninja: Golpe da Esfera Mortal', NULL, NULL, E'Curto alcance', NULL, NULL),
(705, E'Ferramentas Manipuladas: Bola Gigantesca de Ferro', E'Tenten atira cinco bolas de ferro contra o oponente, como distração e então desenrola o seu pergaminho gigante e invoca uma esfera metálica enorme, coberta de espinhos, assemelhando-se a ponta de uma clava ou à Jidanda. Manobrando-a arma com fios de aço conectados em suas mãos, ela bate a arma contra o inimigo distraído.', E'操具・極大鉄球', E'Sōgu: Kyokudai Tekkyū', E'Ferramentas Manipuladas: Bola Gigantesca de Ferro', E'Controle de Armas: Bola Gigantesca de Ferro', NULL, NULL, E'Curto a Médio alcance', NULL, NULL),
(706, E'Ferramentas Manipuladas: Cadeia do Desastre Celestial', E'Uma versão muito mais forte da Ascensão dos Dragões Gêmeos. Tenten lança seu grande pergaminho ao céu, acima de seu oponente, e invoca dezenas de armas diferentes a partir dele, formando uma chuva de armas ninja, capaz de acertar o inimigo e seus arredores. As armas se movem em uma velocidade tão grande que aparentemente deixam manchas brancas no céu, que combinando com o grande alcance, a chuva de armas torna essa técnica muito difícil escapar.', E'操具・天鎖壊そうぐ・てんささい', E'Sōgu: Tensasai', E'Ferramentas Manipuladas: Cadeia do Desastre Celestial', NULL, NULL, E'Controle de Arma: Tensasai', E'Todos os alcances', NULL, NULL),
(707, E'Ferramentas Manipuladas: Desastre do Aço Celestial', E'Similar a Ferramentas Manipuladas: Cadeia do Desastre Celestial, Tenten joga e desenrola um grande pergaminho sobre o oponente, invocando incontáveis kunai que chovem sobre ele. Ela, então, invoca quatro grandes cadeias que acertam o oponente, forçando sua queda em direção ao solo.', E'操具・天鋼災', E'Sōgu: Tenkōsai', E'Ferramentas Manipuladas: Desastre do Aço Celestial', E'Ferramenta Ninja: Desastre do Metal Celestial', NULL, NULL, E'Todos os alcances', NULL, NULL),
(708, E'Ferramentas Manipuladas: Desempenho do Ataque das Mil Lâminas', E'Tenten corre em zigue-zague e, em seguida, pula pro alto e abre um pergaminho no ar, liberando uma variedade de lâminas, que são dispersadas no oponente.', E'操具・襲演千刃', E'Sōgu: <NAME>', E'Ferramentas Manipuladas: Desempenho do Ataque das Mil Lâminas', E'Ferramenta Ninja: Golpes das Mil Lâminas', NULL, NULL, E'Todos os alcances', NULL, NULL),
(709, E'Ferramentas Manipuladas: Dez Mil Lâminas Selvagens Celestiais', E'Tenten invoca várias armas ligadas a fios de aço até as pontas de seus dedos de um dos seus pergaminhos, direcionando-os para o seu oponente em uma formação corrente. Após a última arma atingir o oponente, Tenten usa os fios para fazer as armas voarem acima dele. Movendo os dedos para fazer as armas girarem em torno de seu oponente no ar, ela direciona as armas para baixo para acertar em cheio seu oponente.', E'操具・天刃乱万', E'Sōgu: <NAME>', E'Ferramentas Manipuladas: Dez Mil Lâminas Selvagens Celestiais', E'Ferramenta Ninja: Milhares de Lâminas do Caos', NULL, NULL, E'Curto a Médio alcance', NULL, NULL),
(710, E'Ferramentas Manipuladas: Dramatização da Andorinha Giratória', E'Tenten bate repetidamente em seu oponente com um par de tonfas, em seguida, joga um pergaminho no ar para invocar um bō para continuar a bater no oponente e, por fim, derrubá-lo no chão. Quando o oponente está caído no chão, ela em seguida, invoca uma grande clava e esmaga-o com ela.', E'操具・廻燕劇', E'Sōgu: Kaien Geki', E'Ferramentas Manipuladas: Dramatização da Andorinha Giratória', E'Ferramenta Ninja: Show da Andorinha Giratória', NULL, NULL, E'Curto a Médio alcance', NULL, NULL),
(711, E'Ferramentas Manipuladas: Esfera Explosiva', E'Tenten libera múltiplas Esferas Explosivas do seu pergaminho, que explode quando entra em contato.', E'操具・爆砕玉そうぐ・ばくさいだま', E'Sōgu: Bakusaidama', E'Ferramentas Manipuladas: Esfera Explosiva', E'Ferramenta Ninja: Explosão da Esfera', NULL, NULL, NULL, NULL, NULL),
(712, E'Ferramentas Manipuladas: Grande Protuberância de Ferro', E'Tenten abre um enorme pergaminho em círculo, então liberando uma bola de ferro gigante anexada em uma corrente que, em seguida, ela lança sobre seu oponente, esmagando-o. Após o esmagamento de seu oponente, a bola de metal volta para o seu pergaminho gigante.', E'操具・大鉄塊そうご・だいてっかい', E'Sōgu: Dai Tekkai', E'Ferramentas Manipuladas: Grande Protuberância de Ferro', E'Ferramenta Ninja: Gigante Protuberância de Ferro', NULL, NULL, E'Curto a Médio alcance', NULL, NULL),
(713, E'Ferramentas Manipuladas: Meteoro Anexado', E'Tenten invoca uma manriki-gusari de um de seus pergaminhos e a usa para conter o adversário. Quando seu oponente está contido, ela usa o pergaminho para lançar uma barragem de armas nele e, finalmente, bate-as no chão com o manriki-gusari.', E'操具・縛流星そうぐ・ばくりゅうせい', E'Sōgu: Baku Ryūsei', E'Ferramentas Manipuladas: Meteoro Anexado', NULL, NULL, NULL, E'Curto alcance', NULL, NULL),
(714, E'Ferramentas Manipuladas: Muro da Lâmina Flutuante', E'Tenten abre dois dos seus vários pergaminhos e invoca uma enxurrada de armas de diferentes aspectos para cair sobre seu oponente, fazendo-o ir pro ar após o grande impacto. Ela, em seguida, envolve as pernas de seu oponente em correntes e puxá-o para baixo, lançando-o rapidamente pro chão.', E'操具・浮刃壁', E'Sōgu: Fujin Heki', E'Ferramentas Manipuladas: Muro da Lâmina Flutuante', E'Ferramenta Ninja: Muro da Lâmina Flutuante', NULL, NULL, E'Curto alcance', NULL, NULL),
(715, E'Ferramentas Manipuladas: Performance do Ataque de Mil Lâminas', E'Tenten corre em volta do oponente abrindo um pergaminho no ar, liberando uma variedade de armas brancas que são então dirigidas a seu oponente.', E'操具・襲演千刃', E'Sōgu: <NAME>', E'Técnica das Ferramentas Manipuladas: Performance do Ataque de Mil Lâminas', NULL, NULL, NULL, NULL, NULL, NULL),
(716, E'Ferramentas Manipuladas: Pontapé da Lâmina', E'Tenten invoca várias armas que automaticamente mostram-se estarem ligadas a fios de aço, movimentando-as de forma útil e inteligente. Ela, em seguida, vai pro alto, e gira para trás, disparando rapidamente várias armas ninja em seu oponente, assemelhando-se à tiros de metralhadora.', E'操具・奏刃蹴', E'Sōgu: Sōninshū', E'Ferramentas Manipuladas: Pontapé da Lâmina', E'Ferramenta Ninja: Pontapé da Lâmina', NULL, NULL, E'Longo alcance', NULL, NULL),
(717, E'Ferrolho Relâmpago', E'Killer B salta no ar com suas sete espadas e ataca o oponente enquanto revestido em chakra relâmpago.', E'雷斗忍具菩流斗', E'Raitoningu Baruto', E'Luta da Ferramenta Ninja Relâmpago Fluindo Luta Rosa', E'Ferrolho Relâmpago', NULL, NULL, E'Curto alcance', NULL, NULL),
(718, E'Fiandeiro Violento', E'Karin corre na direção de seu oponente; em seguida, ela espera um momento até que o mesmo fique com a guarda baixa, executando uma série de tapas atordoadores.', NULL, NULL, E'Fiandeiro Violento', E'Violenta Cabeça Giratória', NULL, NULL, E'Curto alcance', NULL, NULL),
(719, E'Fios Crescentes', E'Kagura atira várias facas ligadas a fios de chakra a partir do solo, como um gêiser.', NULL, NULL, NULL, E'Fios Crescentes', NULL, NULL, E'Médio a Longo alcance', NULL, NULL),
(720, E'Fios de Chakra', E'Fios de Chakra (チャクラの糸, Chakura no Ito) é uma técnica que normalmente é usada por marionetistas que lhes permite controlar suas marionetes em batalha.', E'チャクラの糸', E'Chakura no Ito', E'Fios de Chakra', NULL, E'Linhas de Chakra', NULL, E'Curto a Médio alcance', NULL, NULL),
(721, E'Fios de Chakra (Fūma)', E'Fios de Chakra é uma técnica homicída-suicída secreta do clã Fūma.', E'チャクラの糸', E'Chakura no Ito', E'Fios de Chakra', NULL, NULL, NULL, E'Curto a Médio alcance', NULL, NULL),
(722, E'Fique Longe de Mim!', E'Konohamaru salta sobre seu oponente, acertando-o com alguns socos e chutes.', E'こっち来るなコレ!', E'Kotchikurunakore!', E'Fique Longe de Mim!', NULL, NULL, NULL, E'Curto alcance', NULL, NULL),
(723, E'Flash', E'Um rápido ataque à distância, onde o usuário balança sua espada em um alvo após revesti-la em chakra, liberando um chakra crescente acentuado no arco que a lâmina foi balançada.', E'一閃', E'Issen', E'Flash', NULL, E'Corte Diagonal', E'Feixe de Lux', E'Todos os alcances', NULL, NULL),
(724, E'Flash Amarelo', E'Enquanto no Modo de Chakra do Nove-Caudas, o usuário é capaz de se mover a uma velocidade tremenda. A velocidade de Naruto ao usar essa técnica é tão grande que Killer B teve problemas para determinar se ele tinha usado a Técnica de Cintilação Corporal quando ataca Kisame Hoshigaki. Ele poderia até mesmo ultrapassar a velocidade máxima de A, bem como o relâmpago extremamente rápido do Terceiro Raikage antes que este tivesse qualquer chance de reagir.', E'黄色い閃光きいろいせんこう', E'Kiiroi Senkō', E'Flash Amarelo', E'Flash Amarelo da Folha[2]', NULL, NULL, NULL, NULL, NULL),
(725, E'Flash Relâmpago', E'O usuário infunde chakra de relâmpago à uma shuriken, duplicando seu poder original de corte, o suficiente para cortar metais ou mutilar uma pessoa com relativa facilidade.', E'雷閃', E'Raisen', E'Flash Relâmpago', E'Centelha Relâmpago', NULL, NULL, E'Curto a Médio alcance', NULL, NULL),
(726, E'Flash Relâmpago do Combo do Leão', E'Sasuke lança seu oponente no ar com sua espada de Kusanagi e pula em cima dele rapidamente, não dando chances de ataque ou defesa, e, em seguida, começa a socar e chutar seu oponente, ainda estando no ar. Depois de sua combinação, ele desce pro chão, logo depois de ter lançado seu oponente ferozmente pro chão, levantando seu Chidori para cima e eletrocutando o adversário que cai nele.', E'雷光獅子連弾', E'Raikō Shishi Rendan', E'Flash Relâmpago do Combo do Leão', E'Barragem de Leões Relâmpago', NULL, NULL, NULL, NULL, NULL),
(727, E'Flash da Folha', E'Rock Lee se move em alta velocidade fazendo com que várias folhas se espalhem ao redor do campo de batalha e em seguida desequilibra seu oponente e o leva para o ar, ele então chuta seu oponente no estômago e, em seguida, o chuta no rosto e, novamente, ele o chuta no estômago, jogando-o contra o chão e causando grandes danos.', E'木の葉閃光', E'<NAME>', E'Flash da Folha', E'Luz da Folha Espiral', NULL, NULL, E'Curto alcance', NULL, NULL),
(728, E'Flash do Pé Rotativo', E'Asuma acerta uma série de socos e ataques terminando com um chute giratório, fazendo com que o oponente seja lançado no ar.', E'閃旋脚', E'Sensenkyaku', E'Flash do Pé Rotativo', E'Flash do Chute Espiral', NULL, NULL, E'Curto alcance', NULL, NULL),
(729, E'Flash do Telegrama', E'Com sua equipe emprestando-lhe chakra, Akaboshi pode bater a mão no chão e causar um raio para se espalhar de sua mão para debaixo do oponente.', E'電報石火', E'<NAME>', E'Flash do Telegrama', NULL, NULL, E'Denko Sekka', E'Curto a Médio alcance', NULL, E'Coelho + Rato + Cavalo + Carneiro simultâneamente'),
(730, E'Flauta Demoníaca: Correntes do Som Fantasma', E'Uma ilusão que depende do som da flauta demoníaca. Quem ouve será atacado pela sensação viva de que teve os seus membros presos com cordas resistentes, tornando-se incapaz de se mover livremente. Mesmo com a intervenção física de uma força externa, o corpo é roubado de toda mobilidade, e a própria consciência progressivamente desaparece. Ao mesmo tempo, eles são alimentados por alucinações mórbidas, o que torna também possível executá-las mentalmente. Dado que os meios de transmissão são baseados no som, que tem uma gama de eficácia, no topo do qual ele pode ser aplicado mesmo sem o conhecimento da posição do alvo, o que contribui para uma técnica muito conveniente.', E'魔笛・夢幻音鎖', E'Mateki: Mugen Onsa', E'Flauta Demoníaca: Correntes do Som Fantasma', NULL, E'Flauta Demoníaca: Correntes Ilusórias de Som', E'Flauta Demoníaca: Correntes da Fantasia', E'Todos os alcances', E'Rank B', NULL),
(731, E'Flauta Demoníaca: Guerreiros Ilusionados Manipulados por Melodia', E'Usando sua Flauta Demoníaca, Tayuya controla seus três Doki à distância sem o uso de palavras. Ao lançar notas específicas, seus Doki agem e atacam de formas específicas. Tayuya também pode alterar a melodia se o oponente descobrir a sequência das notas.', E'魔笛・幻武操曲まてき・げんぶそうきょく', E'Mateki: Genbusō Kyoku', E'Flauta Demoníaca: Guerreiros Ilusionádos Manipulados pela Melodia', NULL, E'Flauta Demoníaca: Manipulação Musical dos Guerreiros Fantasma', NULL, NULL, E'Rank B', NULL),
(732, E'Flauta Demoníaca: Notas Flutuantes', E'Tocando sua Flauta Demoníaca, Tayuya cria várias notas flutuantes, de colorações azuladas, que ficam envoltos por uma onda de som transparente circular, e, então, lança-as contra seu oponente. Ao entrar em contato com o oponente, as notas explodem.', E'魔笛・浮音まてき・ふおん', E'Mateki: Fuon', E'Flauta Demoníaca: Notas Flutuantes', E'Flauta Demoníaca: Som Flutuante', NULL, NULL, E'Curto alcance', NULL, NULL),
(733, E'Flauta Demoníaca: Onda Espiritual Fantasma', E'Usando sua Flauta Demoníaca, Tayuya invoca os espíritos materializados que ela armazena em seus Doki, sem a invocação dos Doki reais. Os espíritos perseguem seu oponente, drenando sua energia física e atordoando-o se o atingir.', E'魔笛・幻霊波', E'Mateki: Genreiha', E'Flauta Demoníaca: Onda Espiritual Fantasma', E'Flauta Demoníaca: Onda Fantasma', NULL, NULL, E'Curto a Médio alcance', NULL, NULL),
(734, E'Flauta Demoníaca: Três Subordinados do Enterro da Melodia', E'Enquanto em sua segunda fase do seu selo amaldiçoado, Tayuya aprisiona seu oponente em um genjutsu com sua flauta, e enquanto eles estão imobilizados, os Doki ataca seu oponente por baixo.', E'魔笛・三従葬曲', E'Mateki: Sanjū Sōkyoku', E'Flauta Demoníaca: Três Subordinados do Enterro da Melodia', E'Flauta Demoníaca: Trio Requiem', NULL, NULL, E'Curto a Médio alcance', NULL, NULL),
(735, E'Flecha Flamejante da Incrível Habilidade', E'Depois da modificação do corpo feita pelo Caminho Asura, esta técnica lança uma parte destacada de um braço, usando-o como uma arma de projétil. Com uma explosão de pequena escala, causada pelo chakra coletado na extremidade cortada do pulso, a porção da mão ganha poder de propulsão e voa em linha reta com uma força tremenda. Seu poder destrutivo é grande o suficiente para quebrar facilmente através mesmo da espessura de um escudo rochoso. A porção da mão é protegida com chakra, o que lhe permite manter-se incólume. O chakra no punho puxa a mão para trás como um ímã, recolocando-a novamente no corpo.', E'怪腕ノ火矢かいわんのひや', E'Kaiwan no Hiya', E'Flecha Flamejante da Incrível habilidade', E'Canhão de Braço', NULL, NULL, E'Todos os alcances', E'Rank –', NULL),
(736, E'Flecha de Indra', E'A Flecha de Indra, de acordo com Sasuke, é seu ataque mais poderoso.', E'インドラの矢インドラのや', E'Indora no Ya', E'Flecha de Indra', NULL, NULL, NULL, E'Longo alcance', NULL, NULL),
(737, E'Flechas Aladas Celestiais', E'Ao espremer cada pingo de chakra contido em seu corpo, Kinshiki manifesta múltiplas armas de chakra que ele manipula telecineticamente próximas de si. Ao seu comando, uma torrente de armas é disparada em rápida velocidade rasgando tudo em seu caminho.', E'天羽々矢', E'Amanohahaya', E'Flechas Aladas Celestiais', NULL, NULL, NULL, E'Todos os alcances', NULL, NULL),
(738, E'Flor Celestial', E'Kimimaro salta e cai contra o oponente com os picos de ossos que crescem em seu braço, finalizando com um ataque de sua broca de ossos.', E'天花', E'Tenka', E'Flor Celestial', NULL, NULL, NULL, E'Curto alcance', NULL, NULL),
(739, E'Flor Explosiva', E'Ino joga um punhado de flores que são acompanhados de papéis explosivos, os quais ficam camuflados entre as pétalas, explodindo no momento do impacto contra o adversário.', E'起爆花', E'Kibaku Hana', E'Flor Explosiva', E'Flor Detonante', NULL, NULL, E'Curto a Médio alcance', NULL, NULL); |
<reponame>croxis/RenderPipeline
# No stack trace on assertion
assert-abort #f
# File system should be case sensitive
# NOTICE: Set this to #f if you are using tempfile. Because it returns
# wrong cased directory paths :(
vfs-case-sensitive #f
# Animations on the gpu
# hardware-animated-vertices #t
# Show error on dll loading
# show-dll-error-dialog #t
# Trying this for performance
# uniquify-matrix #f
# Garbarge collection
garbage-collect-states #t
# garbage-collect-states-rate 0.2
transform-cache #t
state-cache #t
# Trying this for performance
uniquify-transforms #t
uniquify-states #t
# uniquify-attribs #f
# Faster texture loading
# fake-texture-image someimage.png
# Frame rate meter
frame-rate-meter-milliseconds #t
frame-rate-meter-update-interval 1.0
frame-rate-meter-text-pattern %0.2f fps
frame-rate-meter-ms-text-pattern %0.3f ms
frame-rate-meter-layer-sort 1000
frame-rate-meter-scale 0.04
frame-rate-meter-side-margins 0.4
# Pstats
pstats-target-frame-rate 30.0
# pstats-unused-states #f
# For smoother animations
# even-animation #t
# Threading
#threading-model App/Cull/Draw
# Try for better performance
# prefer-single-buffer #t
# No stencil
support-stencil #f
framebuffer-stencil #f
# Undecorated?
# undecorated #t
# Not resizable
win-fixed-size #t
# win-size 1616 976
win-size 1600 900
# win-size 1600 960
# win-size 1920 1080
# fullscreen #t
# win-size 1280 720
# Icon
# icon-filename lalala
# Show custom cursor
# cursor-filename lalala
# The title of the window
window-title Render Pipeline by tobspr
# Framebuffers use SRGB
framebuffer-srgb #f
# Framebuffers need no multisamples
framebuffer-multisample #f
multisamples 0
# No V-Sync
sync-video #f
# Compress texture?
# driver-compress-textures #t
# Better performance for vertices??
# display-lists #t
# Faster animations??
# matrix-palette #tc
# display-list-animation #t
# Don't rescale textures which are no power-of-2
textures-power-2 none
# Dump shaders
gl-dump-compiled-shaders #f
# notify-level-glgsg debug
# Better GL performance
gl-finish #f
gl-force-no-error #t
gl-check-errors #f
gl-force-no-flush #t
gl-force-no-scissor #t
gl-debug #f
# notify-level-glgsg debug
# gl-enable-memory-barriers #f
text-minfilter linear
text-magfilter linear
text-page-size 128 128
show-frame-rate-meter #t
texture-anisotropic-degree 0
texture-magfilter linear
texture-minfilter linear
#
# cache-models #f
# texture-cache #f
lock-to-one-cpu #f
support-threads #t
# driver-generate-mipmaps #f
# gl-ignore-mipmaps #t
gl-immutable-texture-storage #t
# notify-level-gobj debug
gl-dump-compiled-shaders #f
gl-cube-map-seamless #t
# buggy.
# want-directtools #t
# want-tk #t
model-cache-dir $USER_APPDATA/Panda3D-1.9/cache
model-cache-textures #f
notify-level-pnmimage error
show-buffers #f
# GPU Timer queries
pstats-gpu-timing #t
auto-flip #f
gl-debug-object-labels #f
gl-coordinate-system default
# notify-level-gsg spam
# notify-level-glgsg error
|
<reponame>smith750/kc
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AB','CONFG','D','AWARD_BUDGET_POST_ENABLED','This system parameter enables on demand Award Budget Posting','1','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AB','CONFG','D','awardBudgetStatusDoNotPost','This system parameter maps the AwardBudget status Do Not Post','12','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AB','CONFG','D','awardBudgetStatusErrorInPosting','This system parameter maps the AwardBudget status Error In Posting','11','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AB','CONFG','D','awardBudgetStatusInProgress','This system parameter maps the AwardBudget status In Progress','1','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AB','CONFG','D','awardBudgetStatusPosted','This system parameter maps the AwardBudget status Posted','9','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AB','CONFG','D','awardBudgetStatusRejected','This system parameter maps the AwardBudget status Rejected','8','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AB','CONFG','D','awardBudgetStatusSubmitted','This system parameter maps the AwardBudget status Submitted','5','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AB','CONFG','D','awardBudgetStatusToBePosted','This system parameter maps the AwardBudget status To Be Posted','10','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AB','CONFG','D','awardBudgetTypeNew','This system parameter maps the AwardBudget type New','1','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AB','CONFG','D','awardBudgetTypeRebudget','This system parameter maps the AwardBudget type Rebudget','2','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','CONFG','D','AWARD_CREATE_ACCOUNT','Defines if the award financial account creation feature is on or off','ON','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','HELP','D','CommentTypeHelpUrl','Award Comment Type Help','default.htm?turl=Documents/commenttype.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','HELP','D','CostShareTypeHelpUrl','Award Cost Share Type Help','default.htm?turl=Documents/costsharingtype.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','CONFG','D','ENABLE_AWD_ANT_OBL_DIRECT_INDIRECT_COST','obligated direct indirect cost','2143','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','CONFG','D','FELLOWSHIP_OSP_ADMIN','Fellowship admin name','qucikStart','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','CONFG','D','TXN_TYPE_DEF_COPIED_AWARD','New Transaction','9','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','CONFG','D','award.creditsplit.enabled','Determines whether the Credit Split is turned on for Award','Y','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','HELP','D','awardActionsHelp','Award Actions Help','default.htm?turl=Documents/awardactions.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','HELP','D','awardApprovedEquipmentHelpUrl','Award Approved Equipment Help','default.htm?turl=Documents/approvedequipment.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','HELP','D','awardApprovedForeignTravelHelpUrl','Award Approved Foreign Travel Help','default.htm?turl=Documents/approvedforeigntravel.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','HELP','D','awardApprovedSubawardHelpUrl','Award Approved Subaward Help','default.htm?turl=Documents/approvedsubawards.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','HELP','D','awardAttachmentsHelpUrl','Award Attachments Help','default.htm?turl=Documents/attachments.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','HELP','D','awardCloseoutHelpUrl','Award Report Term Help','default.htm?turl=Documents/awardcloseout.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','HELP','D','awardCommentHelpUrl','Award Comment Help','default.htm?turl=Documents/comments.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','HELP','D','awardCommitmentsHelp','Award Commitments Help','default.htm?turl=Documents/commitments.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','HELP','D','awardContactHelpUrl','Award Contact Help','default.htm?turl=Documents/awarddocument.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','HELP','D','awardContactsHelp','Award Contacts Help','default.htm?turl=Documents/contacts1.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','HELP','D','awardCostShareHelpUrl','Award Cost Share Help','default.htm?turl=Documents/costsharing2.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','HELP','D','awardCustomDataHelp','Award Custom Data Help','default.htm?turl=Documents/customdata4.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','HELP','D','awardCustomDataHelpUrl','Award Custom Data Help','default.htm?turl=Documents/customdata5.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','HELP','D','awardFandaRateHelpUrl','Award F and A Rate Help','default.htm?turl=Documents/farates.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','HELP','D','awardHelpUrl','Award Help','default.htm?turl=Documents/award1.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','HELP','D','awardHomeHelp','Award Home Help','default.htm?turl=Documents/awarddocument.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','HELP','D','awardNoteAndAttachmentsHelp','Award Note and Attachments Help','default.htm?turl=Documents/commentsnotesattachments.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','HELP','D','awardPaymentsReportsAndTermsHelp','Award Payments Reports and Terms Help','default.htm?turl=Documents/paymentreportsterms.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','HELP','D','awardPersonCreditSplitHelpUrl','Award Person Credit Split Help','default.htm?turl=Documents/keypersonnelandcreditsplit.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','HELP','D','awardQuestionsHelp','Award Questions Help','default.htm?turl=Documents/awarddocument.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','HELP','D','awardReportTermHelpUrl','Award Report Term Help','default.htm?turl=Documents/terms.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','HELP','D','awardSpecialReviewHelp','Award Special Review Help','default.htm?turl=Documents/specialreview5.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','HELP','D','awardTimeAndMoneyHelp','Award Time and Money Help','default.htm?turl=Documents/timeandmoneysubpanel.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','CONFG','D','closeoutReportTypeFinancialReport','This system parameter maps the CloseoutReportType Financial Report(closeoutReoprtTypeCode=1) with ReportClass Fiscal(reportClassCode=1). If this system parameter is changed - the corresponding values in CloseoutReportType and ReportClass tables should be updated as well.','1','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','CONFG','D','closeoutReportTypePatent','This system parameter maps the CloseoutReportType Patent(closeoutReoprtTypeCode=3) with ReportClass Intellectual Property(reportClassCode=3). If this system parameter is changed - the corresponding values in CloseoutReportType and ReportClass tables should be updated as well.','3','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','CONFG','D','closeoutReportTypeProperty','This system parameter maps the CloseoutReportType Property(closeoutReoprtTypeCode=2) with ReportClass Property(reportClassCode=2). If this system parameter is changed - the corresponding values in CloseoutReportType and ReportClass tables should be updated as well.','2','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','CONFG','D','closeoutReportTypeTechnical','This system parameter maps the CloseoutReportType Technical(closeoutReoprtTypeCode=4) with ReportClass Technical Management(reportClassCode=4). If this system parameter is changed - the corresponding values in CloseoutReportType and ReportClass tables should be updated as well.','4','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','CONFG','D','closeoutReportTypeUserDefined','User Defined Close out Report Type','UD','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','CONFG','D','contactTypeOther','Contact Type Code For Contact Type Other','8','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','CONFG','D','federalCapitalizationMinimum','Federal Capitalization Minimum','0.00','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','CONFG','D','institutionCapitalizationMinimum','Institution Capitalization Minimum','0.00','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','CONFG','D','mit.idc.validation.enabled','MitIdcValidationEnabled is configurable at impl time','1','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','CONFG','D','reportClassForPaymentsAndInvoices','Report Class For Payments And Invoices','6','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','CONFG','D','scheduleGenerationPeriodInYearsWhenFrequencyBaseCodeIsFinalExpirationDate','Schedule Generation Period In Years When Frequency Base Code Is Final Expiration Date','1','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','CONFG','D','scope.sync.COMMENTS_TAB.AwardComment.commentTypeCode','Comma delimited list of comment type codes to sync on the Comments Tab.','2,3,4,5,6','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','CONFG','D','scope.sync.COST_SHARE.AwardComment.commentTypeCode','Comma delimited list of comment type codes to sync on the Cost Share Tab.','9','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','CONFG','D','scope.sync.PAYMENTS_AND_INVOICES_TAB.AwardComment.commentTypeCode','Comma delimited list of comment type codes to sync on the Payments and Invoices Tab.','1','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','CONFG','D','scope.sync.PAYMENTS_AND_INVOICES_TAB.AwardReportTerm.reportClassCode','Comma delimited list of reportClassCodes for reports to sync on the Reports tab.','6','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','CONFG','D','scope.sync.PREAWARD_AUTHORIZATIONS_TAB.AwardComment.commentTypeCode','Comma delimited list of comment type codes to sync on the PreAward Authorizations Tab.','18,19','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','CONFG','D','scope.sync.RATES_TAB.AwardComment.commentTypeCode','Comma delimited list of comment type codes to sync on the Rates Tab.','20','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-AWARD','CONFG','D','scope.sync.REPORTS_TAB.AwardReportTerm.reportClassCode','Comma delimited list of reportClassCodes for reports to sync on the Reports Tab.','1,2,3,4,5,7','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','A','instituteLaRateClassTypes','Manages a list of Institute La rate class types.','Y;L','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','A','instituteRateClassTypes','Manages a list of Institute rate class types.','E;I;O;V;X','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','D','AWARD_BUDGET_STATUS_IN_PROGRESS_CODE','Default award budget status code','1','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','D','AWARD_BUDGET_TYPE_NEW_PARAMETER','Default award budget type code','1','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','D','BROAD_F_AND_A','Broad F&A','421502','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','D','JOBCODE_VALIDATION_ENABLED','Whether Job code based validation is enabled','Y','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','D','SUBCONTRACTOR_F_AND_A_GT_25K','Subcontract F&A greater than 25K','420630','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','D','SUBCONTRACTOR_F_AND_A_LT_25K','Subcontract F&A less than 25K','420610','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','D','awardBudgetEbRateClassCode','The EB rate class code to be used for award budget if the eb rates are overridden on commitements tab','5','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','D','awardBudgetEbRateTypeCode','The EB rate type code to be used for award budget if the eb rates are overridden on commitements tab','6','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','HELP','D','budgetActionsHelp','Budget Page Help','default.htm?turl=Documents/budgetactions.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','HELP','D','budgetCategoryHelpUrl','Budget Category Help','default.htm?turl=Documents/budgetcategory.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','D','budgetCategoryType.personnel','Personnel Budget Category Type','P','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','HELP','D','budgetCostShareHelpUrl','Budget Page Help','default.htm?turl=Documents/costsharing.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','D','budgetCostSharingApplicabilityFlag',' Flag indicating if Cost Sharing is applicable for the budget','Y','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','D','budgetCostSharingEnforcementFlag','Flag indicating if Cost Sharing allocation should be enforced','Y','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','D','budgetCurrentFiscalYear',' The starting fiscal year for a budget','07/01/2000','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','HELP','D','budgetDistributionAndIncomeHelp','Budget Page Help','default.htm?turl=Documents/distributionincome.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','HELP','D','budgetDocumentHelp','Budget Document Help','default.htm?turl=Documents/budget.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','HELP','D','budgetExpensesHelp','Budget Page Help','default.htm?turl=Documents/expensestabactionbutton.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','HELP','D','budgetLineItemHelpUrl','Budget Page Help','default.htm?turl=Documents/lineitemdetailssections.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','HELP','D','budgetModularBudgetHelp','Budget Page Help','default.htm?turl=Documents/modularbudget.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','HELP','D','budgetModularHelpUrl','Budget Page Help','default.htm?turl=Documents/modularbudgetoverview.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','HELP','D','budgetModularIdcHelpUrl','Budget Page Help','default.htm?turl=Documents/fa.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','HELP','D','budgetNonPersonnelHelp','Budget Page Help','default.htm?turl=Documents/nonpersonnel1.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','HELP','D','budgetParametersHelp','Budget Page Help','default.htm?turl=Documents/parameters.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','HELP','D','budgetPeriodHelpUrl','Budget Period Help','default.htm?turl=Documents/budgetperiodstotals.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','D','budgetPersonDefaultAppointmentType','The Appointment Type a new Budget Person should default to','7','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','D','budgetPersonDefaultCalculationBase','The Calculation Base a new Budget Person should default to','0','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','D','budgetPersonDefaultJobCode','The Job Code a new Budget Person should default to','0','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','D','budgetPersonDefaultPeriodType','Default Period Type','3','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','D','budgetPersonDetailsDefaultPeriodType','The Period Type of a newly budgeted Person should default to','3','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','HELP','D','budgetPersonHelpUrl','Budget Person Help','default.htm?turl=Documents/projectpersonnel.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','HELP','D','budgetPersonnelDetailsHelpUrl','Budget Page Help','default.htm?turl=Documents/personneldetail.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','HELP','D','budgetPersonnelHelp','Budget Page Help','default.htm?turl=Documents/personnel2.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','HELP','D','budgetProjectIncomeHelpUrl','Budget Project Income Help','default.htm?turl=Documents/projectincome.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','HELP','D','budgetRateClassHelpUrl','Rate Class Help','default.htm?turl=Documents/rateclass1.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','HELP','D','budgetRatesHelp','Budget Page Help','default.htm?turl=Documents/rates.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','D','budgetStatusCompleteCode','Code corresponding to the budget status of Complete','1','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','HELP','D','budgetStatusHelpUrl','Budget Status Help','default.htm?turl=Documents/budgetstatus.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','D','budgetStatusIncompleteCode','Code corresponding to the budget status of Incomplete','2','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','HELP','D','budgetSummaryHelp','Budget Page Help','default.htm?turl=Documents/summary2.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','HELP','D','budgetTotalsHelp','Budget Page Help','default.htm?turl=Documents/budgetperiodstotals.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','D','budgetUnrecoveredFandAApplicabilityFlag',' Flag indicating if Unrecovered F&A is applicable for the budget','Y','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','D','budgetUnrecoveredFandAEnforcementFlag','Flag indicating if Unrecovered F and A allocation should be enforced','Y','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','HELP','D','budgetUnrecoveredFandAHelpUrl','Budget Unrecovered F and A Help','default.htm?turl=Documents/unrecoveredfa.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','HELP','D','budgetVersionsHelp','Budget Page Help','default.htm?turl=Documents/budgetversions2.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','HELP','D','budgetbudgetPersonnelDetailsHelpUrl','Budget Page Help','default.htm?turl=Documents/personneldetail.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','D','consortiumFnaCostElements','Cost elements considered to be consortium F and A','420630;420610','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','D','defaultFnARateClassCode','The OH rate class code to be used for award budget if the fna rates are overridden on commitements tab','1','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','D','defaultModularFlag','Default value of modular flag for a new Budget.','N','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','D','defaultOverheadRateClassCode','The overhead rate class a new Budget should default to','1','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','D','defaultOverheadRateTypeCode','The overhead rate type a new Budget should default to','1','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','D','defaultUnderrecoveryRateClassCode','The underrecovery rate class a new Budget should default to','1','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','D','fnaRateClassTypeCode','Rate class type code for F and A','O','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','HELP','D','proposalBudgetStatusHelpUrl','Budget Parameters Help','default.htm?turl=Documents/parameters.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','D','proposalHierarchySubProjectDirectCostElement','The Cost Element to be used for the Direct Cost sub-project summary line items in a Proposal Hierarchy budget','PHTD01','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-B','CONFG','D','proposalHierarchySubProjectIndirectCostElement','The Cost Element to be used for the Indirect Cost sub-project summary line items in a Proposal Hierarchy budget','PHTID02','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-COMMITTEE','HELP','D','committeeActionsHelp','Committee Actions Page Help','default.htm?turl=Documents/actions1.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-COMMITTEE','HELP','D','committeeAreaOfResearchHelpUrl','Committee Area of Research Help','default.htm?turl=Documents/areaofresearch1.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-COMMITTEE','HELP','D','committeeBatchCorrespondenceHelpUrl','Committee Batch Correspondence Help','default.htm?turl=Documents/batchcorrespondence.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-COMMITTEE','HELP','D','committeeCommitteeHelp','Committee Page Help','default.htm?turl=Documents/committee1.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-COMMITTEE','HELP','D','committeeCommitteeHelpUrl','Committee Help','default.htm?turl=Documents/committee2.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-COMMITTEE','HELP','D','committeeMembershipHelp','Committee Membership Page Help','default.htm?turl=Documents/members.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-COMMITTEE','HELP','D','committeeMembershipHelpUrl','Committee Membership Help','default.htm?turl=Documents/memberdetailssection.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-COMMITTEE','HELP','D','committeeScheduleHelp','Committee Schedule Page Help','default.htm?turl=Documents/schedule.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-COMMITTEE','HELP','D','committeeScheduleHelpUrl','Committee Schedule Help','default.htm?turl=Documents/schedule1.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-COMMITTEE','HELP','D','meetingAttendanceHelpUrl','Meeting Attendance Help','default.htm?turl=Documents/attendance.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-COMMITTEE','HELP','D','meetingCorrespondenceHelpUrl','Meeting Correspondence Help','default.htm?turl=Documents/correspondence.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-COMMITTEE','HELP','D','meetingDetailsHelpUrl','Meeting Details Help','default.htm?turl=Documents/meetingdetails.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-COMMITTEE','HELP','D','meetingGenerateAgendaHelpUrl','Meeting Generate Agenda Help','default.htm?turl=Documents/agenda.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-COMMITTEE','HELP','D','meetingGenerateMinutesHelpUrl','Meeting Generate Minutes Help','default.htm?turl=Documents/minutes1.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-COMMITTEE','HELP','D','meetingMinutesHelpUrl','Meeting Minutes Help','default.htm?turl=Documents/minutes.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-COMMITTEE','HELP','D','meetingOtherActionsHelpUrl','Meeting Other Actions Help','default.htm?turl=Documents/otheractions.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-COMMITTEE','HELP','D','meetingProtocolSubmittedHelpUrl','Meeting Protocol Submitted Help','default.htm?turl=Documents/protocolsubmitted.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-GEN','CONFG','A','NSF_SPONSOR_CODE','The sponsor code of NSF.','000500','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-GEN','CONFG','A','personrole.coi','Description of co-investigator for NIH Proposals','Co-Investigator','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-GEN','CONFG','A','personrole.kp','Description of key person for NIH Proposals','Key Person','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-GEN','CONFG','A','personrole.nih.coi','Description of principal investigator multiple for Non-NIH Proposals','PI/Multiple','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-GEN','CONFG','A','personrole.nih.kp','Description of key person for Non-NIH Proposals','Key Person','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-GEN','CONFG','A','personrole.nih.pi','Description of principal investigator contact for Non-NIH Proposals','PI/Contact','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-GEN','CONFG','A','personrole.pi','Description of principal investigator for NIH Proposals','Principal Investigator','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-GEN','CONFG','A','personrole.readonly.roles','Proposal Person Role Id list for roles that are read-only','KP','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-GEN','CONFG','A','sponsorGroupHierarchyName','Sponsor Group Hierarchy Name','Sponsor Groups','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-GEN','CONFG','A','sponsorLevelHierarchy','Sponsor Level Hierarchy','NIH','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-GEN','HELP','D','permissionsHelpUrl','Institutional Proposal Intellectual Property Reivew Activity Help','default.htm?turl=Documents/permissionstab.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-GEN','CONFG','DocumentType','customAttributeDocumentType','List of Custom Attribute Document type name.','AWRD=Award;INPR=Institutional Proposal;PRDV=Proposal Development;PROT=Protocol','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-IP','HELP','D','InstitutionalProposalActionsHelpUrl','Institutional Proposal Actions Help','default.htm?turl=Documents/institutionalproposalactions.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-IP','HELP','D','InstitutionalProposalConstactsHelpUrl','Institutional Proposal Contacts Help','default.htm?turl=Documents/contacts.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-IP','HELP','D','InstitutionalProposalCustomDataHelpUrl','Institutional Proposal Custom Data Help','default.htm?turl=Documents/customdata1.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-IP','HELP','D','InstitutionalProposalDistributionHelpUrl','Institutional Proposal Distribution Help','default.htm?turl=Documents/distribution.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-IP','HELP','D','InstitutionalProposalHelpUrl','Institutional Proposal Help','default.htm?turl=Documents/institutionalproposal.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-IP','HELP','D','InstitutionalProposalIPReviewHelpUrl','Institutional Proposal Intellectual Property Review Help','default.htm?turl=Documents/intellectualpropertyreview.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-IP','HELP','D','InstitutionalProposalSpecialReviewHelpUrl','Institutional Proposal Special Review Help','default.htm?turl=Documents/specialreview2.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-IP','HELP','D','InstitutionalProposalUnitAdministratorHelpUrl','Institutional Proposal Unit Administrator Help','default.htm?turl=Documents/unitcontacts.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-IP','HELP','D','IntellectualPropertyReviewActivityHelpUrl','Institutional Proposal Intellectual Property Reivew Activity Help','default.htm?turl=Documents/activities.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-IP','CONFG','D','PROPOSAL_LOG_MERGED_STATUS_CODE','Code corresponding to Proposal Log status code Merged','2','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-IP','CONFG','D','PROPOSAL_LOG_PENDING_STATUS_CODE','Code corresponding to Proposal Log status code Pending','1','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-IP','CONFG','D','PROPOSAL_LOG_PERMANENT_TYPE_CODE','Code corresponding to Proposal Log type code Permanent','1','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-IP','CONFG','D','PROPOSAL_LOG_SUBMITTED_STATUS_CODE','Code corresponding to Proposal Log status code Submitted','3','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-IP','CONFG','D','PROPOSAL_LOG_TEMPORARY_STATUS_CODE','Code corresponding to Proposal Log status code Temporary','5','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-IP','CONFG','D','PROPOSAL_LOG_TEMPORARY_TYPE_CODE','Code corresponding to Proposal Log type code Temporary','2','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-IP','CONFG','D','PROPOSAL_LOG_VOID_STATUS_CODE','Code corresponding to Proposal Log status code Void','4','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-IP','CONFG','D','institutionalproposal.creditsplit.enabled','Determines whether the Credit Split is turned on for Institutional Proposal','Y','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-IP','CONFG','D','proposalcommenttype.generalcomment','Code for General Proposal Comment Type','16','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-IP','CONFG','D','proposalcommenttype.reviewercomment','Code for IP Reviewer Proposal Comment Type','17','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-IP','CONFG','D','validFundingProposalStatusCodes','comma delimited list of valid codes for proposal status on the institutional proposal tab','1,2,6','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','abstractTypeMaintenanceHelp','Abstract Type Maintenance Document Help','default.htm?turl=Documents/abstracttype.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','activityTypeMaintenanceHelp','Activity Type Maintenance Document Help','default.htm?turl=Documents/activitytype.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','budgetCategoryMaintenanceHelp','Budget Category Maintenance Document Help','default.htm?turl=Documents/budgetcategories.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','budgetCategoryMapMaintenanceHelp','Budget Category Mapping Maintenance Document Help','default.htm?turl=Documents/budgetcategorymaps.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','budgetCategoryMappingMaintenanceHelp','Budget Category Mapping Maintenance Document Help','default.htm?turl=Documents/budgetcategorymapping.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','budgetCategoryTypeMaintenanceHelp','Budget Category Type Maintenance Document Help','default.htm?turl=Documents/budgetcategorytype.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','budgetStatusMaintenanceHelp','Budget Status Maintenance Document Help','default.htm?turl=Documents/budgetstatus.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','costElementMaintenanceHelp','Cost Element Maintenance Document Help','default.htm?turl=Documents/costelement.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','customAttributeDocumentMaintenanceHelp','Custom Attribute Document Maintenance Document Help','default.htm?turl=Documents/customattribute.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','customAttributeMaintenanceHelp','Custom Attribute Maintenance Document Help','default.htm?turl=Documents/customattributedocument.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','deadlineTypeMaintenanceHelp','Deadline Type Maintenance Document Help','default.htm?turl=Documents/deadlinetype.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','degreeTypeMaintenanceHelp','Degree Type Maintenance Document Help','default.htm?turl=Documents/degreetype.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','instituteLaRateMaintenanceHelp','Institute La Rate Maintenance Document Help','default.htm?turl=Documents/institutelarates.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','instituteRateMaintenanceHelp','Institute Rate Maintenance Document Help','default.htm?turl=Documents/instituterates.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','investigatorCreditTypeMaintenanceHelp','Investigator Credit Type Maintenance Document Help','default.htm?turl=Documents/investigatorcredittype.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','mailByMaintenanceHelp','Mail By Maintenance Document Help','default.htm?turl=Documents/mailby.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','narrativeStatusMaintenanceHelp','Narrative Status Maintenance Document Help','default.htm?turl=Documents/narrativestatus.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','narrativeTypeMaintenanceHelp','Narrative Type Maintenance Document Help','default.htm?turl=Documents/narrativetype.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','noticeOfOpportunityMaintenanceHelp','Notice of Opportunity Maintenance Document Help','default.htm?turl=Documents/noticeofopportunity.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','organizationMaintenanceHelp','Organization Maintenance Document Help','default.htm?turl=Documents/organization.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','personEditableFieldMaintenanceHelp','Person Editable Fields Maintenance Document Help','default.htm?turl=Documents/persontableeditablecolumns.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','personMaintenanceHelp','Person Maintenance Document Help','default.htm?turl=Documents/person.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','proposalTypeMaintenanceHelp','Proposal Type Maintenance Document Help','default.htm?turl=Documents/proposaltype.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','rateClassMaintenanceHelp','Rate Class Maintenance Document Help','default.htm?turl=Documents/rateclass.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','rateClassTypeMaintenanceHelp','Rate Class Type Maintenance Document Help','default.htm?turl=Documents/rateclasstype.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','rateTypeMaintenanceHelp','Rate Type Maintenance Document Help','default.htm?turl=Documents/ratetype.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','s2sRevisionTypeMaintenanceHelp','S2S Revision Type Maintenance Document Help','default.htm?turl=Documents/s2srevisiontype.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','s2sSubmissionTypeMaintenanceHelp','S2S Submission Type Maintenance Document Help','default.htm?turl=Documents/s2ssubmissiontype.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','scienceKeywordMaintenanceHelp','Science Keyword Maintenance Document Help','default.htm?turl=Documents/sciencekeyword.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','specialReviewApprovalStatusMaintenanceHelp','Special Review Approval Status Maintenance Document Help','default.htm?turl=Documents/specialreviewapprovalstatus.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','specialReviewApprovalTypeMaintenanceHelp','Special Review Approval Type Maintenance Document Help','default.htm?turl=Documents/specialreviewapprovaltype.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','sponsorHierarchyCreateNewHelp','Sponsor Hierarchy Help','default.htm?turl=Documents/sponsorhierarchy.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','sponsorHierarchyHelp','Sponsor Hierarchy Help','default.htm?turl=Documents/sponsorhierarchy.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','sponsorMaintenanceHelp','Sponsor Maintenance Document Help','default.htm?turl=Documents/sponsor1.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','stateMaintenanceHelp','State Maintenance Document Help','default.htm?turl=Documents/state1.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','validCalcTypeMaintenanceHelp','Valid Calculation Type Maintenance Document Help','default.htm?turl=Documents/validcalculationtype.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','validCeRateTypeMaintenanceHelp','Valid Cost Element Rate Type Maintenance Document Help','default.htm?turl=Documents/validcostelementratetype.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','validSpecialReviewApprovalMaintenanceHelp','Valid Special Review Approval Maintenance Document Help','default.htm?turl=Documents/validspecialreviewapproval.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-M','HELP','D','ynqMaintenanceHelp','YNQ Maintenance Document Help','default.htm?turl=Documents/yesnoquestions.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','A','numberPerSponsorHierarchyGroup','Number of nodes per sponsor group','300','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','ACTIVITY_TYPE_CODE_CLINICAL_TRIAL','Code corresponding to Activity Type: Clinical Trial.','4','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','ACTIVITY_TYPE_CODE_CONSTRUCTION','Code corresponding to Activity Type: Construction.','9','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','ACTIVITY_TYPE_CODE_FELLOWSHIP_POST_DOCTORAL','Code corresponding to Activity Type: Fellowship - Post-Doctoral.','7','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','ACTIVITY_TYPE_CODE_FELLOWSHIP_PRE_DOCTORAL','Code corresponding to Activity Type: Fellowship - Pre-Doctoral.','6','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','ACTIVITY_TYPE_CODE_INSTRUCTION','Code corresponding to Activity Type: Instruction.','2','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','ACTIVITY_TYPE_CODE_OTHER','Code corresponding to Activity Type: Other.','5','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','ACTIVITY_TYPE_CODE_PUBLIC_SERVICE','Code corresponding to Activity Type: Public Service.','3','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','ACTIVITY_TYPE_CODE_RESEARCH','Code corresponding to Activity Type: Research.','1','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','ACTIVITY_TYPE_CODE_STUDENT_SERVICES','Code corresponding to Activity Type: Student Services.','8','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','DEFAULT_BIOGRAPHY_DOCUMENT_TYPE_CODE','Value of the default biography document type code. This is the document type code that will be used when adding new users to a Proposal Development Document and they have an attached Biosketch file.','1','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','DHHS_AGREEMENT','Value for DHHS Agreement','0','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','FEDERAL_ID_COMES_FROM_CURRENT_AWARD','Determines whether the Grants.Gov Federal ID must be populated from the current award.','N','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','GENERIC_SPONSOR_CODE','Generic sponsor code used for printing sponsor form','009800','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','MULTI_CAMPUS_ENABLED','Flag for enabling/disabling Multicampus','0','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','PI_CITIZENSHIP_FROM_CUSTOM_DATA','It defines where the citizenship info should fetch from','1','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','PROPOSAL_CONTACT_TYPE','Value for Proposal Contact Type','6','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','PROPOSAL_TYPE_CODE_CONTINUATION','Code corresponding to Proposal Type: Continuation.','4','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','PROPOSAL_TYPE_CODE_NEW','Code corresponding to Proposal Type: New.','1','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','PROPOSAL_TYPE_CODE_RENEWAL','Code corresponding to Proposal Type: Renewal.','3','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','PROPOSAL_TYPE_CODE_RESUBMISSION','Code corresponding to Proposal Type: Resubmission.','2','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','PROPOSAL_TYPE_CODE_REVISION','Code corresponding to Proposal Type: Revision.','5','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','PROPOSAL_TYPE_CODE_TASK_ORDER','Code corresponding to Proposal Type: Task Order.','6','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','S2S_SUBMISSION_TYPE_CODE_APPLICATION','Code corresponding to S2S Submission Type: Application.','2','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','S2S_SUBMISSION_TYPE_CODE_CHANGE_CORRECTED_APPLICATION','Code corresponding to S2S Submission Type: Change/Corrected Application.','3','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','S2S_SUBMISSION_TYPE_CODE_PREAPPLICATION','Code corresponding to S2S Submission Type: Pre-Application.','1','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','SCHEDULER_SERVICE_ENABLED','Value for enabling s2s polling service','0','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','SCHOOL_ACRONYM','School acronym','KC','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','SCHOOL_NAME','School Name','Kuali Coeus','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','deliveryInfoDisplayIndicator','Flag to display delivery infor panel','Y','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','initialUnitLoadDepth','Initial UnitHierarchy Load Depth','3','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','instituteNarrativeTypeGroup','Define Narrative Type Group for Institute Attachments','O','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','pessimisticLocking.cronExpression','The Cron Expression for Quartz to activate a clearing of old locks','0 0 1 * * ?','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','pessimisticLocking.expirationAge','The expiration timeout in minutes; expired locks are deleted','1440','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','pessimisticLocking.timeout','The expiration timeout in minutes; expired locks are deleted','1440','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','HELP','D','proposalDevelopmentAbstractHelpUrl','Abstract Help','default.htm?turl=Documents/abstracts.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','HELP','D','proposalDevelopmentAbstractsAttachmentsHelp','Proposal Development Page Help','default.htm?turl=Documents/abstractsandattachments.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','HELP','D','proposalDevelopmentActionsHelp','Proposal Development Page Help','default.htm?turl=Documents/proposalactions.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','HELP','D','proposalDevelopmentBudgetVersionsHelp','Budget Page Help','default.htm?turl=Documents/budgetversions.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','HELP','D','proposalDevelopmentCopyCriteriaHelpUrl','Proposal Copy Criteria Help','default.htm?turl=Documents/copytonewdocument.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','HELP','D','proposalDevelopmentCreditSplitHelpUrl','Credit Split Help','default.htm?turl=Documents/combinedcreditsplit.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','HELP','D','proposalDevelopmentCustomAttributeHelpUrl','Custom Attribute Help','default.htm?turl=Documents/customattributes.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','HELP','D','proposalDevelopmentCustomDataHelp','Proposal Development Page Help','default.htm?turl=Documents/customdata.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','HELP','D','proposalDevelopmentDocumentHelp','Proposal Development Document Help','default.htm?turl=Documents/proposaldevelopment.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','HELP','D','proposalDevelopmentGrantsGovHelp','Proposal Development Page Help','default.htm?turl=Documents/grantsgov.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','HELP','D','proposalDevelopmentKeyPersonnelHelp','Proposal Development Page Help','default.htm?turl=Documents/keypersonnel.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','HELP','D','proposalDevelopmentKeywordsHelpUrl','Keywords Help','default.htm?turl=Documents/keywords.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','HELP','D','proposalDevelopmentLocationHelpUrl','Location Help','default.htm?turl=Documents/organizationlocation.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','HELP','D','proposalDevelopmentMailByHelpUrl','Mail By Help','default.htm?turl=Documents/deliveryinfo.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','HELP','D','proposalDevelopmentNarrativeHelpUrl','Narrative Help','default.htm?turl=Documents/proposalattachments.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','HELP','D','proposalDevelopmentOpportunityHelpUrl','Grants.gov Opportunity Help','default.htm?turl=Documents/opportunitysearch.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','HELP','D','proposalDevelopmentOrganizationHelpUrl','Organization Help','default.htm?turl=Documents/organizationlocation.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','HELP','D','proposalDevelopmentPermissionsHelp','Proposal Development Page Help','default.htm?turl=Documents/permissions1.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','HELP','D','proposalDevelopmentPersonHelpUrl','Person Help','default.htm?turl=Documents/personattributes.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','HELP','D','proposalDevelopmentProposalHelp','Proposal Development Page Help','default.htm?turl=Documents/proposal.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','HELP','D','proposalDevelopmentProposalTypeHelpUrl','Proposal Type Help','default.htm?turl=Documents/requiredfieldsforsavingdocument.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','HELP','D','proposalDevelopmentQuestionsHelp','Proposal Development Page Help','default.htm?turl=Documents/questions.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','HELP','D','proposalDevelopmentSpecialReviewHelp','Proposal Development Page Help','default.htm?turl=Documents/specialreview.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','HELP','D','proposalDevelopmentSpecialReviewHelpUrl','Special Review Help','default.htm?turl=Documents/specialreview.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','HELP','D','proposalDevelopmentSponsorHelpUrl','Sponsor Help','default.htm?turl=Documents/sponsorprograminformation.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','HELP','D','proposalDevelopmentYnqHelpUrl','Yes/No Questions Help','default.htm?turl=Documents/proposalquestions.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','proposalNarrativeTypeGroup','Define Narrative Type Group for Proposal Attachments','P','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','HELP','D','proposalUserHelpUrl','Proposal Development Page Help','default.htm?turl=Documents/keypersonnel.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','proposaldevelopment.autogenerate.institutionalproposal','Should an Institutional Proposal be automatically generated','Y','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','proposaldevelopment.creditsplit.enabled','Determines whether the Credit Split is turned on for proposal','Y','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','proposaldevelopment.displayKeywordPanel','Display Proposal Keyword panel','TRUE','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','proposaldevelopment.proposaltype.continuation','ProposalTypeCode of CONTINUATION','4','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','proposaldevelopment.proposaltype.new','ProposalTypeCode of NEW','1','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','proposaldevelopment.proposaltype.renewal','ProposalTypeCode of RENEWAL','3','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','proposaldevelopment.proposaltype.resubmission','ProposalTypeCode of RESUBMISSION','2','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','proposaldevelopment.proposaltype.revision','ProposalTypeCode of REVISION','5','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','s2s.revisiontype.other','RevisionType of Other','E','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','s2s.submissiontype.application','Submission Type of Application','2','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','s2s.submissiontype.changedCorrected','SubmissionType of Changed/Corrected','3','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','D','s2sschedulercronExpressionstarttime','Start Time expression for the S2S Polling Process. The S2S Polling Process will only start if this parameters date is before today. Must be formatted as "dd-MMM-yyyy hh:mm a". For example "01-JAN-2010 01:00 AM".','01-JAN-2010 01:00 AM','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PD','CONFG','L','multipleValueLookupResultsPerPage','Limit results returned for lookup - multiple results','200','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PROTOCOL','CONFG','D','IRB_COMM_SELECTION_DURING_SUBMISSION','Implementing institution can decide to allow committee/schedule/reviewers to be selected upon an IRB submission.','O','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PROTOCOL','CONFG','D','irb.protocol.award.linking.enabled','Linking from Award to Protocol Funding source is configurable at impl time','Y','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PROTOCOL','CONFG','D','irb.protocol.billable','Billable is configurable at impl time','Y','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PROTOCOL','CONFG','D','irb.protocol.development.proposal.linking.enabled','Linking from Development Proposal to PROTOCOL Funding source is configurable at impl time','Y','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PROTOCOL','CONFG','D','irb.protocol.institute.proposal.linking.enabled','Linking from Institute Proposal to PROTOCOL Funding source is configurable at impl time','Y','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PROTOCOL','CONFG','D','irb.protocol.protocoltype.exempt','Protocol Type Exempt','4','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PROTOCOL','CONFG','D','irb.protocol.referenceID1','Referece id is configurable at impl time','Reference ID1','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PROTOCOL','CONFG','D','irb.protocol.referenceID2','Referece id is configurable at impl time','Reference ID2','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PROTOCOL','HELP','D','protocolActionsHelp','Protocol Actions Page Help','default.htm?turl=Documents/protocolactions.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PROTOCOL','HELP','D','protocolAddPersonnelAttachmentHelpUrl','Protocol Add Personnel Attachments Help','default.htm?turl=Documents/addpersonnelattachment.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PROTOCOL','HELP','D','protocolAddProtocolAttachmentHelpUrl','Protocol Add Protocol Attachments Help','default.htm?turl=Documents/addprotocolattachment.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PROTOCOL','HELP','D','protocolAdditionalInformationHelpUrl','Protocol Additional Information Help','default.htm?turl=Documents/additionalinformation.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PROTOCOL','HELP','D','protocolAreaOfResearchHelpUrl','Protocol Area of Research Help','default.htm?turl=Documents/areaofresearch.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PROTOCOL','HELP','D','protocolAvailableActionsHelpUrl','Protocol Available Actions Help','default.htm?turl=Documents/requestanaction.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PROTOCOL','HELP','D','protocolCustomDataHelp','Protocol Custom Data Page Help','default.htm?turl=Documents/customdata3.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PROTOCOL','HELP','D','protocolFundingSourcesHelpUrl','Protocol Funding Sources Help','default.htm?turl=Documents/fundingsources.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PROTOCOL','HELP','D','protocolNotesAndAttachmentsHelp','Protocol Notes and Attachments Page Help','default.htm?turl=Documents/notesattachments.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PROTOCOL','HELP','D','protocolNotesHelpUrl','Protocol Notes Help','default.htm?turl=Documents/notes2.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PROTOCOL','HELP','D','protocolOrganizationsHelpUrl','Protocol Organizations Help','default.htm?turl=Documents/organizations.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PROTOCOL','HELP','D','protocolOtherIdentifiersHelpUrl','Protocol Other Identifiers Help','default.htm?turl=Documents/otheridentifiers.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PROTOCOL','HELP','D','protocolParticipantTypesHelpUrl','Protocol Participant Types Help','default.htm?turl=Documents/participanttypes.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PROTOCOL','HELP','D','protocolPermissionsHelp','Protocol Permissions Page Help','default.htm?turl=Documents/permissions2.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PROTOCOL','CONFG','D','protocolPersonTrainingSectionRequired','Implementing institution can decide on whether to display training section','True','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PROTOCOL','HELP','D','protocolPersonnelHelp','Protocol Personnel Page Help','default.htm?turl=Documents/personnel3.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PROTOCOL','HELP','D','protocolPersonnelHelpUrl','Protocol Add Personnel Help','default.htm?turl=Documents/persondetails1.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PROTOCOL','HELP','D','protocolProtocolHelp','Protocol Page Help','default.htm?turl=Documents/protocol1.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PROTOCOL','HELP','D','protocolQuestionnaireHelp','Protocol Questionnaire Page Help','default.htm?turl=Documents/questionnaire.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PROTOCOL','HELP','D','protocolRequiredFieldsHelpUrl','Protocol Required Fields for Saving Document Help','default.htm?turl=Documents/requiredfieldsforsavingdocument1.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PROTOCOL','HELP','D','protocolSpecialReviewHelp','Protocol Special Review Page Help','default.htm?turl=Documents/specialreview3.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-PROTOCOL','HELP','D','protocolStatusAndDatesHelpUrl','Protocol Status and Dates Help','default.htm?turl=Documents/statusdates.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-QUESTIONNAIRE','HELP','D','questionnaireQuestionHelpUrl','Questionnaire Question Help','default.htm?turl=Documents/question.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-QUESTIONNAIRE','HELP','D','questionnaireQuestionnaireHelpUrl','Questionnaire Page Help','default.htm?turl=Documents/questionnaire1.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-QUESTIONNAIRE','CONFG','P','associateModuleQuestionnairePermission','List of permissions that are allowed to associate a module with questionnaire.','Modify ProposalDevelopmentDocument:KRA-PD;Modify Protocol:KC-PROTOCOL','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-T','HELP','D','PendingTransactionHelp','Pending Transaction Help','default.htm?turl=Documents/transactions.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-T','HELP','D','TransactionHelp','Transaction Help','default.htm?turl=Documents/transactions.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-T','HELP','D','awardHierarchyHelpUrl','Award Hierarchy Help','default.htm?turl=Documents/hierarchyactions.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-T','HELP','D','awardHierarchyNodeHelpUrl','Award Hierarchy Help','default.htm?turl=Documents/multinodeaward.htm','A',SYS_GUID(),1)
/
INSERT INTO KRNS_PARM_T (APPL_NMSPC_CD,NMSPC_CD,PARM_TYP_CD,PARM_DTL_TYP_CD,PARM_NM,PARM_DESC_TXT,TXT,CONS_CD,OBJ_ID,VER_NBR)
VALUES ('KUALI','KC-T','HELP','D','timeAndMoneyHelp','Time And Money Help','default.htm?turl=Documents/timeandmoney.htm','A',SYS_GUID(),1)
/
|
-- Разбивка линий на сегменты
-- Проверено на типе LINESTRING
DROP VIEW IF EXISTS sunlines_all;
CREATE OR REPLACE VIEW sunlines_all AS
SELECT (ST_MakeLine(start_point,end_point)) as wkb_geometry, row_number() OVER () AS id,
degrees(ST_Azimuth(start_point,end_point)) AS azimuth
FROM
(
SELECT
ST_Pointn(wkb_geometry, generate_series(1, ST_NumPoints(wkb_geometry)-1)) as start_point,
ST_Pointn(wkb_geometry, generate_series(2, ST_NumPoints(wkb_geometry))) as end_point
FROM (
SELECT wkb_geometry FROM lines
) as line
) as tmp;
DROP VIEW IF EXISTS sunlines_1000;
CREATE OR REPLACE VIEW sunlines_1000 AS
SELECT *
FROM sunlines_all
WHERE
azimuth BETWEEN 90 AND 105;
DROP VIEW IF EXISTS sunlines_1300;
CREATE OR REPLACE VIEW sunlines_1300 AS
SELECT *
FROM sunlines_all
WHERE
azimuth BETWEEN 160 AND 170;
DROP VIEW IF EXISTS sunlines_1500;
CREATE OR REPLACE VIEW sunlines_1500 AS
SELECT *
FROM sunlines_all
WHERE
azimuth BETWEEN 180 AND 190;
DROP VIEW IF EXISTS sunlines_1900;
CREATE OR REPLACE VIEW sunlines_1900 AS
SELECT *
FROM sunlines_all
WHERE
azimuth BETWEEN 260 AND 270;
|
CREATE TABLE IF NOT EXISTS "cce_incoterms"(
"id" text not null,
"texto" text not null,
"vigencia_desde" text not null,
"vigencia_hasta" text not null,
PRIMARY KEY("id")
);
|
create unique index IDX_UTILITYLIBRARY_USER_UNIQ_EMAIL on UTILITYLIBRARY_USER (EMAIL) ;
|
CREATE TABLE [dbo].[EEngine]
(
--From MergedXSDs XSD
--From 'genericRailML' Namespace
[EEngineId] SMALLINT NOT NULL,
[Propulsion] SMALLINT NOT NULL,
[Pantograph] SMALLINT NOT NULL,
[EnergyStorage] SMALLINT NOT NULL,
[Monitoring] SMALLINT NOT NULL,
CONSTRAINT [PK_EEngineId] PRIMARY KEY CLUSTERED ([EEngineId] ASC),
CONSTRAINT [FK_EEngine_EPropulsion] FOREIGN KEY ([Propulsion]) REFERENCES [dbo].[EPropulsion] ([EPropulsionId]), --ON UPDATE CASCADE, ON DELETE CASCADE,
CONSTRAINT [FK_EEngine_EPantograph] FOREIGN KEY ([Pantograph]) REFERENCES [dbo].[EPantograph] ([EPantographId]), --ON UPDATE CASCADE, ON DELETE CASCADE,
CONSTRAINT [FK_EEngine_EStorage] FOREIGN KEY ([EnergyStorage]) REFERENCES [dbo].[EStorage] ([EStorageId]), --ON UPDATE CASCADE, ON DELETE CASCADE,
CONSTRAINT [FK_EEngine_EMonitoring] FOREIGN KEY ([Monitoring]) REFERENCES [dbo].[EMonitoring] ([EMonitoringId]) --ON UPDATE CASCADE, ON DELETE CASCADE,
);
|
DROP TABLE IF EXISTS trust CASCADE;
DROP TABLE IF EXISTS review CASCADE;
DROP TABLE IF EXISTS review_rating CASCADE;
DROP TABLE IF EXISTS useracct CASCADE;
DROP TABLE IF EXISTS item CASCADE;
CREATE TABLE useracct (
u_id int NOT NULL,
name varchar(128) NOT NULL,
email varchar(128) NOT NULL,
creation_date datetime DEFAULT NULL,
PRIMARY KEY (u_id)
);
CREATE TABLE item (
i_id int NOT NULL,
title varchar(128) NOT NULL,
description varchar(512) DEFAULT NULL,
creation_date datetime DEFAULT NULL,
PRIMARY KEY (i_id)
);
CREATE TABLE review (
a_id int NOT NULL,
u_id int NOT NULL REFERENCES useracct (u_id),
i_id int NOT NULL REFERENCES item (i_id),
rating int DEFAULT NULL,
rank int DEFAULT NULL,
comment varchar(256) DEFAULT NULL,
creation_date datetime DEFAULT NULL
);
CREATE INDEX IDX_RATING_UID ON review (u_id);
CREATE INDEX IDX_RATING_AID ON review (a_id);
CREATE INDEX IDX_RATING_IID ON review (i_id);
CREATE TABLE review_rating (
u_id int NOT NULL REFERENCES useracct (u_id),
a_id int NOT NULL,
rating int NOT NULL,
status int NOT NULL,
creation_date datetime DEFAULT NULL,
last_mod_date datetime DEFAULT NULL,
type int DEFAULT NULL,
vertical_id int DEFAULT NULL
);
CREATE INDEX IDX_REVIEW_RATING_UID ON review_rating (u_id);
CREATE INDEX IDX_REVIEW_RATING_AID ON review_rating (a_id);
CREATE TABLE trust (
source_u_id int NOT NULL REFERENCES useracct (u_id),
target_u_id int NOT NULL REFERENCES useracct (u_id),
trust int NOT NULL,
creation_date datetime DEFAULT NULL
);
CREATE INDEX IDX_TRUST_SID ON trust (source_u_id);
CREATE INDEX IDX_TRUST_TID ON trust (target_u_id);
|
<reponame>limengcanyu/flowable-sql
create table ACT_GE_PROPERTY (
NAME_ NVARCHAR2(64),
VALUE_ NVARCHAR2(300),
REV_ INTEGER,
primary key (NAME_)
);
create table ACT_GE_BYTEARRAY (
ID_ NVARCHAR2(64),
REV_ INTEGER,
NAME_ NVARCHAR2(255),
DEPLOYMENT_ID_ NVARCHAR2(64),
BYTES_ BLOB,
GENERATED_ NUMBER(1,0) CHECK (GENERATED_ IN (1,0)),
primary key (ID_)
);
insert into ACT_GE_PROPERTY
values ('common.schema.version', '6.5.0.6', 1);
insert into ACT_GE_PROPERTY
values ('next.dbid', '1', 1);
create table ACT_RU_ENTITYLINK (
ID_ NVARCHAR2(64),
REV_ INTEGER,
CREATE_TIME_ TIMESTAMP(6),
LINK_TYPE_ NVARCHAR2(255),
SCOPE_ID_ NVARCHAR2(255),
SCOPE_TYPE_ NVARCHAR2(255),
SCOPE_DEFINITION_ID_ NVARCHAR2(255),
REF_SCOPE_ID_ NVARCHAR2(255),
REF_SCOPE_TYPE_ NVARCHAR2(255),
REF_SCOPE_DEFINITION_ID_ NVARCHAR2(255),
HIERARCHY_TYPE_ NVARCHAR2(255),
primary key (ID_)
);
create index ACT_IDX_ENT_LNK_SCOPE on ACT_RU_ENTITYLINK(SCOPE_ID_, SCOPE_TYPE_, LINK_TYPE_);
create index ACT_IDX_ENT_LNK_SCOPE_DEF on ACT_RU_ENTITYLINK(SCOPE_DEFINITION_ID_, SCOPE_TYPE_, LINK_TYPE_);
insert into ACT_GE_PROPERTY values ('entitylink.schema.version', '6.5.0.6', 1);
create table ACT_HI_ENTITYLINK (
ID_ NVARCHAR2(64),
LINK_TYPE_ NVARCHAR2(255),
CREATE_TIME_ TIMESTAMP(6),
SCOPE_ID_ NVARCHAR2(255),
SCOPE_TYPE_ NVARCHAR2(255),
SCOPE_DEFINITION_ID_ NVARCHAR2(255),
REF_SCOPE_ID_ NVARCHAR2(255),
REF_SCOPE_TYPE_ NVARCHAR2(255),
REF_SCOPE_DEFINITION_ID_ NVARCHAR2(255),
HIERARCHY_TYPE_ NVARCHAR2(255),
primary key (ID_)
);
create index ACT_IDX_HI_ENT_LNK_SCOPE on ACT_HI_ENTITYLINK(SCOPE_ID_, SCOPE_TYPE_, LINK_TYPE_);
create index ACT_IDX_HI_ENT_LNK_SCOPE_DEF on ACT_HI_ENTITYLINK(SCOPE_DEFINITION_ID_, SCOPE_TYPE_, LINK_TYPE_);
create table ACT_RU_IDENTITYLINK (
ID_ NVARCHAR2(64),
REV_ INTEGER,
GROUP_ID_ NVARCHAR2(255),
TYPE_ NVARCHAR2(255),
USER_ID_ NVARCHAR2(255),
TASK_ID_ NVARCHAR2(64),
PROC_INST_ID_ NVARCHAR2(64),
PROC_DEF_ID_ NVARCHAR2(64),
SCOPE_ID_ NVARCHAR2(255),
SUB_SCOPE_ID_ NVARCHAR2(255),
SCOPE_TYPE_ NVARCHAR2(255),
SCOPE_DEFINITION_ID_ NVARCHAR2(255),
primary key (ID_)
);
create index ACT_IDX_IDENT_LNK_USER on ACT_RU_IDENTITYLINK(USER_ID_);
create index ACT_IDX_IDENT_LNK_GROUP on ACT_RU_IDENTITYLINK(GROUP_ID_);
create index ACT_IDX_IDENT_LNK_SCOPE on ACT_RU_IDENTITYLINK(SCOPE_ID_, SCOPE_TYPE_);
create index ACT_IDX_IDENT_LNK_SUB_SCOPE on ACT_RU_IDENTITYLINK(SUB_SCOPE_ID_, SCOPE_TYPE_);
create index ACT_IDX_IDENT_LNK_SCOPE_DEF on ACT_RU_IDENTITYLINK(SCOPE_DEFINITION_ID_, SCOPE_TYPE_);
insert into ACT_GE_PROPERTY values ('identitylink.schema.version', '6.5.0.6', 1);
create table ACT_HI_IDENTITYLINK (
ID_ NVARCHAR2(64),
GROUP_ID_ NVARCHAR2(255),
TYPE_ NVARCHAR2(255),
USER_ID_ NVARCHAR2(255),
TASK_ID_ NVARCHAR2(64),
CREATE_TIME_ TIMESTAMP(6),
PROC_INST_ID_ NVARCHAR2(64),
SCOPE_ID_ NVARCHAR2(255),
SUB_SCOPE_ID_ NVARCHAR2(255),
SCOPE_TYPE_ NVARCHAR2(255),
SCOPE_DEFINITION_ID_ NVARCHAR2(255),
primary key (ID_)
);
create index ACT_IDX_HI_IDENT_LNK_USER on ACT_HI_IDENTITYLINK(USER_ID_);
create index ACT_IDX_HI_IDENT_LNK_SCOPE on ACT_HI_IDENTITYLINK(SCOPE_ID_, SCOPE_TYPE_);
create index ACT_IDX_HI_IDENT_LNK_SUB_SCOPE on ACT_HI_IDENTITYLINK(SUB_SCOPE_ID_, SCOPE_TYPE_);
create index ACT_IDX_HI_IDENT_LNK_SCOPE_DEF on ACT_HI_IDENTITYLINK(SCOPE_DEFINITION_ID_, SCOPE_TYPE_);
create table ACT_RU_JOB (
ID_ NVARCHAR2(64) NOT NULL,
REV_ INTEGER,
TYPE_ NVARCHAR2(255) NOT NULL,
LOCK_EXP_TIME_ TIMESTAMP(6),
LOCK_OWNER_ NVARCHAR2(255),
EXCLUSIVE_ NUMBER(1,0) CHECK (EXCLUSIVE_ IN (1,0)),
EXECUTION_ID_ NVARCHAR2(64),
PROCESS_INSTANCE_ID_ NVARCHAR2(64),
PROC_DEF_ID_ NVARCHAR2(64),
ELEMENT_ID_ NVARCHAR2(255),
ELEMENT_NAME_ NVARCHAR2(255),
SCOPE_ID_ NVARCHAR2(255),
SUB_SCOPE_ID_ NVARCHAR2(255),
SCOPE_TYPE_ NVARCHAR2(255),
SCOPE_DEFINITION_ID_ NVARCHAR2(255),
RETRIES_ INTEGER,
EXCEPTION_STACK_ID_ NVARCHAR2(64),
EXCEPTION_MSG_ NVARCHAR2(2000),
DUEDATE_ TIMESTAMP(6),
REPEAT_ NVARCHAR2(255),
HANDLER_TYPE_ NVARCHAR2(255),
HANDLER_CFG_ NVARCHAR2(2000),
CUSTOM_VALUES_ID_ NVARCHAR2(64),
CREATE_TIME_ TIMESTAMP(6),
TENANT_ID_ NVARCHAR2(255) DEFAULT '',
primary key (ID_)
);
create table ACT_RU_TIMER_JOB (
ID_ NVARCHAR2(64) NOT NULL,
REV_ INTEGER,
TYPE_ NVARCHAR2(255) NOT NULL,
LOCK_EXP_TIME_ TIMESTAMP(6),
LOCK_OWNER_ NVARCHAR2(255),
EXCLUSIVE_ NUMBER(1,0) CHECK (EXCLUSIVE_ IN (1,0)),
EXECUTION_ID_ NVARCHAR2(64),
PROCESS_INSTANCE_ID_ NVARCHAR2(64),
PROC_DEF_ID_ NVARCHAR2(64),
ELEMENT_ID_ NVARCHAR2(255),
ELEMENT_NAME_ NVARCHAR2(255),
SCOPE_ID_ NVARCHAR2(255),
SUB_SCOPE_ID_ NVARCHAR2(255),
SCOPE_TYPE_ NVARCHAR2(255),
SCOPE_DEFINITION_ID_ NVARCHAR2(255),
RETRIES_ INTEGER,
EXCEPTION_STACK_ID_ NVARCHAR2(64),
EXCEPTION_MSG_ NVARCHAR2(2000),
DUEDATE_ TIMESTAMP(6),
REPEAT_ NVARCHAR2(255),
HANDLER_TYPE_ NVARCHAR2(255),
HANDLER_CFG_ NVARCHAR2(2000),
CUSTOM_VALUES_ID_ NVARCHAR2(64),
CREATE_TIME_ TIMESTAMP(6),
TENANT_ID_ NVARCHAR2(255) DEFAULT '',
primary key (ID_)
);
create table ACT_RU_SUSPENDED_JOB (
ID_ NVARCHAR2(64) NOT NULL,
REV_ INTEGER,
TYPE_ NVARCHAR2(255) NOT NULL,
EXCLUSIVE_ NUMBER(1,0) CHECK (EXCLUSIVE_ IN (1,0)),
EXECUTION_ID_ NVARCHAR2(64),
PROCESS_INSTANCE_ID_ NVARCHAR2(64),
PROC_DEF_ID_ NVARCHAR2(64),
ELEMENT_ID_ NVARCHAR2(255),
ELEMENT_NAME_ NVARCHAR2(255),
SCOPE_ID_ NVARCHAR2(255),
SUB_SCOPE_ID_ NVARCHAR2(255),
SCOPE_TYPE_ NVARCHAR2(255),
SCOPE_DEFINITION_ID_ NVARCHAR2(255),
RETRIES_ INTEGER,
EXCEPTION_STACK_ID_ NVARCHAR2(64),
EXCEPTION_MSG_ NVARCHAR2(2000),
DUEDATE_ TIMESTAMP(6),
REPEAT_ NVARCHAR2(255),
HANDLER_TYPE_ NVARCHAR2(255),
HANDLER_CFG_ NVARCHAR2(2000),
CUSTOM_VALUES_ID_ NVARCHAR2(64),
CREATE_TIME_ TIMESTAMP(6),
TENANT_ID_ NVARCHAR2(255) DEFAULT '',
primary key (ID_)
);
create table ACT_RU_DEADLETTER_JOB (
ID_ NVARCHAR2(64) NOT NULL,
REV_ INTEGER,
TYPE_ NVARCHAR2(255) NOT NULL,
EXCLUSIVE_ NUMBER(1,0) CHECK (EXCLUSIVE_ IN (1,0)),
EXECUTION_ID_ NVARCHAR2(64),
PROCESS_INSTANCE_ID_ NVARCHAR2(64),
PROC_DEF_ID_ NVARCHAR2(64),
ELEMENT_ID_ NVARCHAR2(255),
ELEMENT_NAME_ NVARCHAR2(255),
SCOPE_ID_ NVARCHAR2(255),
SUB_SCOPE_ID_ NVARCHAR2(255),
SCOPE_TYPE_ NVARCHAR2(255),
SCOPE_DEFINITION_ID_ NVARCHAR2(255),
EXCEPTION_STACK_ID_ NVARCHAR2(64),
EXCEPTION_MSG_ NVARCHAR2(2000),
DUEDATE_ TIMESTAMP(6),
REPEAT_ NVARCHAR2(255),
HANDLER_TYPE_ NVARCHAR2(255),
HANDLER_CFG_ NVARCHAR2(2000),
CUSTOM_VALUES_ID_ NVARCHAR2(64),
CREATE_TIME_ TIMESTAMP(6),
TENANT_ID_ NVARCHAR2(255) DEFAULT '',
primary key (ID_)
);
create table ACT_RU_HISTORY_JOB (
ID_ NVARCHAR2(64) NOT NULL,
REV_ INTEGER,
LOCK_EXP_TIME_ TIMESTAMP(6),
LOCK_OWNER_ NVARCHAR2(255),
RETRIES_ INTEGER,
EXCEPTION_STACK_ID_ NVARCHAR2(64),
EXCEPTION_MSG_ NVARCHAR2(2000),
HANDLER_TYPE_ NVARCHAR2(255),
HANDLER_CFG_ NVARCHAR2(2000),
CUSTOM_VALUES_ID_ NVARCHAR2(64),
ADV_HANDLER_CFG_ID_ NVARCHAR2(64),
CREATE_TIME_ TIMESTAMP(6),
SCOPE_TYPE_ NVARCHAR2(255),
TENANT_ID_ NVARCHAR2(255) DEFAULT '',
primary key (ID_)
);
create index ACT_IDX_JOB_EXCEPTION on ACT_RU_JOB(EXCEPTION_STACK_ID_);
create index ACT_IDX_JOB_CUSTOM_VAL_ID on ACT_RU_JOB(CUSTOM_VALUES_ID_);
create index ACT_IDX_TJOB_EXCEPTION on ACT_RU_TIMER_JOB(EXCEPTION_STACK_ID_);
create index ACT_IDX_TJOB_CUSTOM_VAL_ID on ACT_RU_TIMER_JOB(CUSTOM_VALUES_ID_);
create index ACT_IDX_SJOB_EXCEPTION on ACT_RU_SUSPENDED_JOB(EXCEPTION_STACK_ID_);
create index ACT_IDX_SJOB_CUSTOM_VAL_ID on ACT_RU_SUSPENDED_JOB(CUSTOM_VALUES_ID_);
create index ACT_IDX_DJOB_EXCEPTION on ACT_RU_DEADLETTER_JOB(EXCEPTION_STACK_ID_);
create index ACT_IDX_DJOB_CUSTOM_VAL_ID on ACT_RU_DEADLETTER_JOB(CUSTOM_VALUES_ID_);
alter table ACT_RU_JOB
add constraint ACT_FK_JOB_EXCEPTION
foreign key (EXCEPTION_STACK_ID_)
references ACT_GE_BYTEARRAY (ID_);
alter table ACT_RU_JOB
add constraint ACT_FK_JOB_CUSTOM_VAL
foreign key (CUSTOM_VALUES_ID_)
references ACT_GE_BYTEARRAY (ID_);
alter table ACT_RU_TIMER_JOB
add constraint ACT_FK_TJOB_EXCEPTION
foreign key (EXCEPTION_STACK_ID_)
references ACT_GE_BYTEARRAY (ID_);
alter table ACT_RU_TIMER_JOB
add constraint ACT_FK_TJOB_CUSTOM_VAL
foreign key (CUSTOM_VALUES_ID_)
references ACT_GE_BYTEARRAY (ID_);
alter table ACT_RU_SUSPENDED_JOB
add constraint ACT_FK_SJOB_EXCEPTION
foreign key (EXCEPTION_STACK_ID_)
references ACT_GE_BYTEARRAY (ID_);
alter table ACT_RU_SUSPENDED_JOB
add constraint ACT_FK_SJOB_CUSTOM_VAL
foreign key (CUSTOM_VALUES_ID_)
references ACT_GE_BYTEARRAY (ID_);
alter table ACT_RU_DEADLETTER_JOB
add constraint ACT_FK_DJOB_EXCEPTION
foreign key (EXCEPTION_STACK_ID_)
references ACT_GE_BYTEARRAY (ID_);
alter table ACT_RU_DEADLETTER_JOB
add constraint ACT_FK_DJOB_CUSTOM_VAL
foreign key (CUSTOM_VALUES_ID_)
references ACT_GE_BYTEARRAY (ID_);
create index ACT_IDX_JOB_SCOPE on ACT_RU_JOB(SCOPE_ID_, SCOPE_TYPE_);
create index ACT_IDX_JOB_SUB_SCOPE on ACT_RU_JOB(SUB_SCOPE_ID_, SCOPE_TYPE_);
create index ACT_IDX_JOB_SCOPE_DEF on ACT_RU_JOB(SCOPE_DEFINITION_ID_, SCOPE_TYPE_);
create index ACT_IDX_TJOB_SCOPE on ACT_RU_TIMER_JOB(SCOPE_ID_, SCOPE_TYPE_);
create index ACT_IDX_TJOB_SUB_SCOPE on ACT_RU_TIMER_JOB(SUB_SCOPE_ID_, SCOPE_TYPE_);
create index ACT_IDX_TJOB_SCOPE_DEF on ACT_RU_TIMER_JOB(SCOPE_DEFINITION_ID_, SCOPE_TYPE_);
create index ACT_IDX_SJOB_SCOPE on ACT_RU_SUSPENDED_JOB(SCOPE_ID_, SCOPE_TYPE_);
create index ACT_IDX_SJOB_SUB_SCOPE on ACT_RU_SUSPENDED_JOB(SUB_SCOPE_ID_, SCOPE_TYPE_);
create index ACT_IDX_SJOB_SCOPE_DEF on ACT_RU_SUSPENDED_JOB(SCOPE_DEFINITION_ID_, SCOPE_TYPE_);
create index ACT_IDX_DJOB_SCOPE on ACT_RU_DEADLETTER_JOB(SCOPE_ID_, SCOPE_TYPE_);
create index ACT_IDX_DJOB_SUB_SCOPE on ACT_RU_DEADLETTER_JOB(SUB_SCOPE_ID_, SCOPE_TYPE_);
create index ACT_IDX_DJOB_SCOPE_DEF on ACT_RU_DEADLETTER_JOB(SCOPE_DEFINITION_ID_, SCOPE_TYPE_);
insert into ACT_GE_PROPERTY values ('job.schema.version', '6.5.0.6', 1);
create table FLW_RU_BATCH (
ID_ NVARCHAR2(64) not null,
REV_ INTEGER,
TYPE_ NVARCHAR2(64) not null,
SEARCH_KEY_ NVARCHAR2(255),
SEARCH_KEY2_ NVARCHAR2(255),
CREATE_TIME_ TIMESTAMP(6) not null,
COMPLETE_TIME_ TIMESTAMP(6),
STATUS_ NVARCHAR2(255),
BATCH_DOC_ID_ NVARCHAR2(64),
TENANT_ID_ NVARCHAR2(255) default '',
primary key (ID_)
);
create table FLW_RU_BATCH_PART (
ID_ NVARCHAR2(64) not null,
REV_ INTEGER,
BATCH_ID_ NVARCHAR2(64),
TYPE_ NVARCHAR2(64) not null,
SCOPE_ID_ NVARCHAR2(64),
SUB_SCOPE_ID_ NVARCHAR2(64),
SCOPE_TYPE_ NVARCHAR2(64),
SEARCH_KEY_ NVARCHAR2(255),
SEARCH_KEY2_ NVARCHAR2(255),
CREATE_TIME_ TIMESTAMP(6) not null,
COMPLETE_TIME_ TIMESTAMP(6),
STATUS_ NVARCHAR2(255),
RESULT_DOC_ID_ NVARCHAR2(64),
TENANT_ID_ NVARCHAR2(255) default '',
primary key (ID_)
);
create index FLW_IDX_BATCH_PART on FLW_RU_BATCH_PART(BATCH_ID_);
alter table FLW_RU_BATCH_PART
add constraint FLW_FK_BATCH_PART_PARENT
foreign key (BATCH_ID_)
references FLW_RU_BATCH (ID_);
insert into ACT_GE_PROPERTY values ('batch.schema.version', '6.5.0.6', 1);
create table ACT_RU_TASK (
ID_ NVARCHAR2(64),
REV_ INTEGER,
EXECUTION_ID_ NVARCHAR2(64),
PROC_INST_ID_ NVARCHAR2(64),
PROC_DEF_ID_ NVARCHAR2(64),
TASK_DEF_ID_ NVARCHAR2(64),
SCOPE_ID_ NVARCHAR2(255),
SUB_SCOPE_ID_ NVARCHAR2(255),
SCOPE_TYPE_ NVARCHAR2(255),
SCOPE_DEFINITION_ID_ NVARCHAR2(255),
PROPAGATED_STAGE_INST_ID_ NVARCHAR2(255),
NAME_ NVARCHAR2(255),
PARENT_TASK_ID_ NVARCHAR2(64),
DESCRIPTION_ NVARCHAR2(2000),
TASK_DEF_KEY_ NVARCHAR2(255),
OWNER_ NVARCHAR2(255),
ASSIGNEE_ NVARCHAR2(255),
DELEGATION_ NVARCHAR2(64),
PRIORITY_ INTEGER,
CREATE_TIME_ TIMESTAMP(6),
DUE_DATE_ TIMESTAMP(6),
CATEGORY_ NVARCHAR2(255),
SUSPENSION_STATE_ INTEGER,
TENANT_ID_ NVARCHAR2(255) DEFAULT '',
FORM_KEY_ NVARCHAR2(255),
CLAIM_TIME_ TIMESTAMP(6),
IS_COUNT_ENABLED_ NUMBER(1,0) CHECK (IS_COUNT_ENABLED_ IN (1,0)),
VAR_COUNT_ INTEGER,
ID_LINK_COUNT_ INTEGER,
SUB_TASK_COUNT_ INTEGER,
primary key (ID_)
);
create index ACT_IDX_TASK_CREATE on ACT_RU_TASK(CREATE_TIME_);
create index ACT_IDX_TASK_SCOPE on ACT_RU_TASK(SCOPE_ID_, SCOPE_TYPE_);
create index ACT_IDX_TASK_SUB_SCOPE on ACT_RU_TASK(SUB_SCOPE_ID_, SCOPE_TYPE_);
create index ACT_IDX_TASK_SCOPE_DEF on ACT_RU_TASK(SCOPE_DEFINITION_ID_, SCOPE_TYPE_);
insert into ACT_GE_PROPERTY values ('task.schema.version', '6.5.0.6', 1);
create table ACT_HI_TASKINST (
ID_ NVARCHAR2(64) not null,
REV_ INTEGER default 1,
PROC_DEF_ID_ NVARCHAR2(64),
TASK_DEF_ID_ NVARCHAR2(64),
TASK_DEF_KEY_ NVARCHAR2(255),
PROC_INST_ID_ NVARCHAR2(64),
EXECUTION_ID_ NVARCHAR2(64),
SCOPE_ID_ NVARCHAR2(255),
SUB_SCOPE_ID_ NVARCHAR2(255),
SCOPE_TYPE_ NVARCHAR2(255),
SCOPE_DEFINITION_ID_ NVARCHAR2(255),
PROPAGATED_STAGE_INST_ID_ NVARCHAR2(255),
PARENT_TASK_ID_ NVARCHAR2(64),
NAME_ NVARCHAR2(255),
DESCRIPTION_ NVARCHAR2(2000),
OWNER_ NVARCHAR2(255),
ASSIGNEE_ NVARCHAR2(255),
START_TIME_ TIMESTAMP(6) not null,
CLAIM_TIME_ TIMESTAMP(6),
END_TIME_ TIMESTAMP(6),
DURATION_ NUMBER(19,0),
DELETE_REASON_ NVARCHAR2(2000),
PRIORITY_ INTEGER,
DUE_DATE_ TIMESTAMP(6),
FORM_KEY_ NVARCHAR2(255),
CATEGORY_ NVARCHAR2(255),
TENANT_ID_ NVARCHAR2(255) default '',
LAST_UPDATED_TIME_ TIMESTAMP(6),
primary key (ID_)
);
create table ACT_HI_TSK_LOG (
ID_ NUMBER(19),
TYPE_ NVARCHAR2(64),
TASK_ID_ NVARCHAR2(64) not null,
TIME_STAMP_ TIMESTAMP(6) not null,
USER_ID_ NVARCHAR2(255),
DATA_ NVARCHAR2(2000),
EXECUTION_ID_ NVARCHAR2(64),
PROC_INST_ID_ NVARCHAR2(64),
PROC_DEF_ID_ NVARCHAR2(64),
SCOPE_ID_ NVARCHAR2(255),
SCOPE_DEFINITION_ID_ NVARCHAR2(255),
SUB_SCOPE_ID_ NVARCHAR2(255),
SCOPE_TYPE_ NVARCHAR2(255),
TENANT_ID_ NVARCHAR2(255) default '',
primary key (ID_)
);
create sequence act_hi_task_evt_log_seq start with 1 increment by 1;
create index ACT_IDX_HI_TASK_SCOPE on ACT_HI_TASKINST(SCOPE_ID_, SCOPE_TYPE_);
create index ACT_IDX_HI_TASK_SUB_SCOPE on ACT_HI_TASKINST(SUB_SCOPE_ID_, SCOPE_TYPE_);
create index ACT_IDX_HI_TASK_SCOPE_DEF on ACT_HI_TASKINST(SCOPE_DEFINITION_ID_, SCOPE_TYPE_);
create table ACT_RU_VARIABLE (
ID_ NVARCHAR2(64) not null,
REV_ INTEGER,
TYPE_ NVARCHAR2(255) not null,
NAME_ NVARCHAR2(255) not null,
EXECUTION_ID_ NVARCHAR2(64),
PROC_INST_ID_ NVARCHAR2(64),
TASK_ID_ NVARCHAR2(64),
SCOPE_ID_ NVARCHAR2(255),
SUB_SCOPE_ID_ NVARCHAR2(255),
SCOPE_TYPE_ NVARCHAR2(255),
BYTEARRAY_ID_ NVARCHAR2(64),
DOUBLE_ NUMBER(*,10),
LONG_ NUMBER(19,0),
TEXT_ NVARCHAR2(2000),
TEXT2_ NVARCHAR2(2000),
primary key (ID_)
);
create index ACT_IDX_RU_VAR_SCOPE_ID_TYPE on ACT_RU_VARIABLE(SCOPE_ID_, SCOPE_TYPE_);
create index ACT_IDX_RU_VAR_SUB_ID_TYPE on ACT_RU_VARIABLE(SUB_SCOPE_ID_, SCOPE_TYPE_);
create index ACT_IDX_VAR_BYTEARRAY on ACT_RU_VARIABLE(BYTEARRAY_ID_);
alter table ACT_RU_VARIABLE
add constraint ACT_FK_VAR_BYTEARRAY
foreign key (BYTEARRAY_ID_)
references ACT_GE_BYTEARRAY (ID_);
insert into ACT_GE_PROPERTY values ('variable.schema.version', '6.5.0.6', 1);
create table ACT_HI_VARINST (
ID_ NVARCHAR2(64) not null,
REV_ INTEGER default 1,
PROC_INST_ID_ NVARCHAR2(64),
EXECUTION_ID_ NVARCHAR2(64),
TASK_ID_ NVARCHAR2(64),
NAME_ NVARCHAR2(255) not null,
VAR_TYPE_ NVARCHAR2(100),
SCOPE_ID_ NVARCHAR2(255),
SUB_SCOPE_ID_ NVARCHAR2(255),
SCOPE_TYPE_ NVARCHAR2(255),
BYTEARRAY_ID_ NVARCHAR2(64),
DOUBLE_ NUMBER(*,10),
LONG_ NUMBER(19,0),
TEXT_ NVARCHAR2(2000),
TEXT2_ NVARCHAR2(2000),
CREATE_TIME_ TIMESTAMP(6),
LAST_UPDATED_TIME_ TIMESTAMP(6),
primary key (ID_)
);
create index ACT_IDX_HI_PROCVAR_NAME_TYPE on ACT_HI_VARINST(NAME_, VAR_TYPE_);
create index ACT_IDX_HI_VAR_SCOPE_ID_TYPE on ACT_HI_VARINST(SCOPE_ID_, SCOPE_TYPE_);
create index ACT_IDX_HI_VAR_SUB_ID_TYPE on ACT_HI_VARINST(SUB_SCOPE_ID_, SCOPE_TYPE_);
create table ACT_RU_EVENT_SUBSCR (
ID_ NVARCHAR2(64) not null,
REV_ integer,
EVENT_TYPE_ NVARCHAR2(255) not null,
EVENT_NAME_ NVARCHAR2(255),
EXECUTION_ID_ NVARCHAR2(64),
PROC_INST_ID_ NVARCHAR2(64),
ACTIVITY_ID_ NVARCHAR2(64),
CONFIGURATION_ NVARCHAR2(255),
CREATED_ TIMESTAMP(6) not null,
PROC_DEF_ID_ NVARCHAR2(64),
SUB_SCOPE_ID_ NVARCHAR2(64),
SCOPE_ID_ NVARCHAR2(64),
SCOPE_DEFINITION_ID_ NVARCHAR2(64),
SCOPE_TYPE_ NVARCHAR2(64),
TENANT_ID_ NVARCHAR2(255) DEFAULT '',
primary key (ID_)
);
create index ACT_IDX_EVENT_SUBSCR_CONFIG_ on ACT_RU_EVENT_SUBSCR(CONFIGURATION_);
create index ACT_IDX_EVENT_SUBSCR on ACT_RU_EVENT_SUBSCR(EXECUTION_ID_);
insert into ACT_GE_PROPERTY values ('eventsubscription.schema.version', '6.5.0.6', 1);
|
<gh_stars>1-10
create function ScalarValuedFunctionShowsThatReturnIsTreatedAsAValueConsumer()
returns int
as
begin
declare @A int -- @A is a return value. This should NOT be flagged as a problem
set @A = 1
return @A
end |
CREATE PROCEDURE dbo.[sp_InsertAccount]
@Account_ID [int],
@Account_FirstName [nvarchar] (40),
@Account_LastName [varchar] (32),
@Account_Email [varchar] (128)
AS
insert into Accounts
(Account_ID, Account_FirstName, Account_LastName, Account_Email)
values
(@Account_ID, @Account_FirstName, @Account_LastName, @Account_Email)
|
/* File generated automatically by dynamo */
DROP TABLE IF EXISTS `awa_job`;
|
-- Licensed to the Apache Software Foundation (ASF) under one or more
-- contributor license agreements. See the NOTICE file distributed with
-- this work for additional information regarding copyright ownership.
-- The ASF licenses this file to You under the Apache License, Version 2.0
-- (the "License"); you may not use this file except in compliance with
-- the License. You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
SELECT
i_item_desc,
i_category,
i_class,
i_current_price,
sum(cs_ext_sales_price) AS itemrevenue,
sum(cs_ext_sales_price) * 100 / sum(sum(cs_ext_sales_price))
OVER
(PARTITION BY i_class) AS revenueratio
FROM catalog_sales, item, date_dim
WHERE cs_item_sk = i_item_sk
AND i_category IN ('Sports', 'Books', 'Home')
AND cs_sold_date_sk = d_date_sk
AND d_date BETWEEN cast('1999-02-22' AS DATE)
AND (cast('1999-02-22' AS DATE) + INTERVAL 30 days)
GROUP BY i_item_id, i_item_desc, i_category, i_class, i_current_price
ORDER BY i_category, i_class, i_item_id, i_item_desc, revenueratio
LIMIT 100
|
<filename>fixtures/doctests/nls/012/input.sql
if (n==1)
printf("copied 1 file");
else
printf("copied %d files", n):
|
<reponame>Zhaojia2019/cubrid-testcases<gh_stars>1-10
drop table if exists test_tbl,foo1,foo2;
CREATE TABLE test_tbl(groupid int,itemno int);
INSERT INTO test_tbl VALUES(1,null);
INSERT INTO test_tbl VALUES(1,null);
INSERT INTO test_tbl VALUES(1,1);
INSERT INTO test_tbl VALUES(1,null);
INSERT INTO test_tbl VALUES(1,2);
INSERT INTO test_tbl VALUES(1,3);
INSERT INTO test_tbl VALUES(1,4);
INSERT INTO test_tbl VALUES(1,5);
INSERT INTO test_tbl VALUES(2,null);
INSERT INTO test_tbl VALUES(2,null);
INSERT INTO test_tbl VALUES(2,null);
INSERT INTO test_tbl VALUES(2,6);
INSERT INTO test_tbl VALUES(2,7);
create table foo1 as
with cte as
(
select * from test_tbl
) SELECT groupid, itemno, FIRST_VALUE(itemno) OVER(PARTITION BY groupid ORDER BY itemno) AS ret_val
FROM cte;
create table foo2 as
with cte as
(
select * from test_tbl
)
SELECT groupid, itemno, FIRST_VALUE(itemno) IGNORE NULLS OVER(PARTITION BY groupid ORDER BY itemno) AS ret_val
FROM cte;
select * from foo1 order by 1,2,3;
select * from foo2 order by 1,2,3;
--delete
with cte1 as
(
SELECT groupid, itemno, FIRST_VALUE(itemno) OVER(PARTITION BY groupid ORDER BY itemno) AS ret_val
FROM test_tbl
) ,
cte2 as
(
SELECT groupid, itemno, FIRST_VALUE(itemno) IGNORE NULLS OVER(PARTITION BY groupid ORDER BY itemno) AS ret_val
FROM test_tbl
) delete foo2 from foo2 inner join
(
SELECT groupid, itemno, FIRST_VALUE(itemno) OVER(PARTITION BY groupid ORDER BY itemno) AS ret_val
FROM cte1
) as x( groupid, itemno,ret_val) on foo2.groupid=x.groupid inner join (SELECT groupid, itemno, FIRST_VALUE(itemno) IGNORE NULLS OVER(PARTITION BY groupid ORDER BY itemno) AS ret_val
FROM cte2 ) as y( groupid, itemno,ret_val) on x.groupid=y.groupid and foo2.ret_val=y.ret_val;
select count(*) from foo2;
--update
with cte1 as
(
SELECT groupid, itemno, FIRST_VALUE(itemno) OVER(PARTITION BY groupid ORDER BY itemno) AS ret_val
FROM test_tbl
) ,
cte2 as
(
SELECT groupid, itemno, FIRST_VALUE(itemno) IGNORE NULLS OVER(PARTITION BY groupid ORDER BY itemno) AS ret_val
FROM test_tbl
) update foo1 inner join
(
SELECT groupid, itemno, FIRST_VALUE(itemno) OVER(PARTITION BY groupid ORDER BY itemno) AS ret_val
FROM cte1
) as x( groupid, itemno,ret_val) on foo1.groupid=x.groupid inner join (SELECT groupid, itemno, FIRST_VALUE(itemno) IGNORE NULLS OVER(PARTITION BY groupid ORDER BY itemno) AS ret
FROM cte2 ) as y( groupid, itemno,ret_val) on x.groupid=y.groupid
set foo1.ret_val=1;
select count(*) from foo1;
--insert
insert into foo1
with cte1 as
(
SELECT groupid, itemno, FIRST_VALUE(itemno) OVER(PARTITION BY groupid ORDER BY itemno) AS ret_val
FROM test_tbl
) ,
cte2 as
(
SELECT groupid, itemno, FIRST_VALUE(itemno) IGNORE NULLS OVER(PARTITION BY groupid ORDER BY itemno) AS ret_val
FROM test_tbl
) select y.* from foo1 inner join
(
SELECT groupid, itemno, FIRST_VALUE(itemno) OVER(PARTITION BY groupid ORDER BY itemno) AS ret_val
FROM cte1
) as x( groupid, itemno,ret_val) on foo1.groupid=x.groupid inner join (SELECT groupid, itemno, FIRST_VALUE(itemno) IGNORE NULLS OVER(PARTITION BY groupid ORDER BY itemno) AS ret
FROM cte2 ) as y( groupid, itemno,ret_val) on x.groupid=y.groupid;
select count(*) from foo1;
--replace
replace into foo1
set ret_val=(
with cte1 as
(
SELECT groupid, itemno, FIRST_VALUE(itemno) OVER(PARTITION BY groupid ORDER BY itemno) AS ret_val
FROM test_tbl
) ,
cte2 as
(
SELECT groupid, itemno, FIRST_VALUE(itemno) IGNORE NULLS OVER(PARTITION BY groupid ORDER BY itemno) AS ret_val
FROM test_tbl
) select y.ret_val from
foo1,
(
SELECT groupid, itemno, FIRST_VALUE(itemno) OVER(PARTITION BY groupid ORDER BY itemno) AS ret_val FROM cte1
) as x( groupid, itemno,ret_val),
(
SELECT groupid, itemno, FIRST_VALUE(itemno) IGNORE NULLS OVER(PARTITION BY groupid ORDER BY itemno) AS ret FROM cte2
) as y( groupid, itemno,ret_val)
where foo1.groupid=x.groupid and x.groupid=y.groupid limit 1
);
select count(*) from foo1;
drop table if exists test_tbl,foo1,foo2;
|
SELECT MS2.hacker_id, H.name, MS2.total_score
FROM
(
SELECT MS1.hacker_id, SUM(MS1.max_scores_1) as "total_score"
FROM
(
select hacker_id, challenge_id, MAX(score) as "max_scores_1"
FROM SUBMISSIONS
GROUP BY hacker_id, challenge_id
) MS1
GROUP BY MS1.hacker_id
HAVING SUM(MS1.max_scores_1) > 0
) MS2
LEFT JOIN HACKERS H
ON H.hacker_id = MS2.hacker_id
ORDER BY MS2.total_score DESC, MS2.hacker_id ASC |
-- phpMyAdmin SQL Dump
-- version 4.0.10.7
-- http://www.phpmyadmin.net
--
-- Host: localhost:3306
-- Generation Time: Oct 20, 2016 at 09:57 AM
-- Server version: 5.5.45-37.4-log
-- PHP Version: 5.4.31
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Database: `snwebbuh_library`
--
-- --------------------------------------------------------
--
-- Table structure for table `books`
--
CREATE TABLE IF NOT EXISTS `books` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`isbn` varchar(13) DEFAULT NULL,
`title` varchar(45) DEFAULT NULL,
`issued_status` int(11) DEFAULT '0' COMMENT 'either 1 or 0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=14 ;
--
-- Dumping data for table `books`
--
INSERT INTO `books` (`id`, `isbn`, `title`, `issued_status`) VALUES
(1, '123', 'the jungle book', 1),
(2, '343', 'Something Wicked This Way Comes', 0),
(3, '567', 'I Was Told There''d Be Cake', 1),
(4, '788', 'The Hollow Chocolate Bunnie', 0),
(5, '557', 'The Man Without Qualities', 0),
(9, '8887', 'abcdefg', 0),
(10, '989', 'new book test', 0),
(11, '7', 'book1', 0),
(12, '8', 'book2', 0),
(13, '989', 'Novel', 0);
-- --------------------------------------------------------
--
-- Table structure for table `books_author`
--
CREATE TABLE IF NOT EXISTS `books_author` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`author` varchar(45) DEFAULT NULL,
`other_fields` varchar(11) DEFAULT NULL,
`dateadded` datetime DEFAULT NULL,
`datemodified` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- Table structure for table `books_category`
--
CREATE TABLE IF NOT EXISTS `books_category` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`category` varchar(45) DEFAULT NULL,
`dateadded` datetime DEFAULT NULL,
`datemodified` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;
--
-- Dumping data for table `books_category`
--
INSERT INTO `books_category` (`id`, `category`, `dateadded`, `datemodified`) VALUES
(1, 'science', '2016-10-19 16:20:00', '2016-10-19 16:20:00'),
(2, 'mystery', '2016-10-19 12:20:00', '2016-10-19 16:20:00'),
(3, 'fiction', '2016-10-19 12:20:00', '2016-10-19 16:20:00');
-- --------------------------------------------------------
--
-- Table structure for table `books_detail`
--
CREATE TABLE IF NOT EXISTS `books_detail` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`isbn` int(13) DEFAULT NULL,
`category_id` int(11) DEFAULT NULL,
`edition` int(11) DEFAULT NULL,
`publisher` int(11) DEFAULT NULL,
`author_id` int(11) DEFAULT NULL,
`dateadded` datetime DEFAULT NULL,
`datemodified` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=15 ;
--
-- Dumping data for table `books_detail`
--
INSERT INTO `books_detail` (`id`, `isbn`, `category_id`, `edition`, `publisher`, `author_id`, `dateadded`, `datemodified`) VALUES
(1, 123, 1, 0, 0, 1, '2016-10-19 16:00:00', '2016-10-19 16:00:00'),
(3, 343, 2, 0, 0, 1, '2016-10-19 16:00:00', '2016-10-19 16:00:00'),
(4, 567, 1, 0, 0, 1, '2016-10-19 16:00:00', '2016-10-19 16:00:00'),
(5, 788, 2, 0, 0, 1, '2016-10-19 16:00:00', '2016-10-19 16:00:00'),
(6, 557, 3, 0, 0, 1, '2016-10-19 16:00:00', '2016-10-19 16:00:00'),
(10, 8887, 2, NULL, NULL, NULL, NULL, NULL),
(11, 989, 2, NULL, NULL, NULL, NULL, NULL),
(12, 7, 2, NULL, NULL, NULL, NULL, NULL),
(13, 8, 3, NULL, NULL, NULL, NULL, NULL),
(14, 989, 1, NULL, NULL, NULL, NULL, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `customers`
--
CREATE TABLE IF NOT EXISTS `customers` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`firstname` varchar(45) DEFAULT NULL,
`lastname` varchar(45) DEFAULT NULL,
`email` varchar(45) DEFAULT NULL,
`password` varchar(45) DEFAULT NULL,
`city` varchar(45) DEFAULT NULL,
`number_of_books` int(11) DEFAULT NULL,
`dateadded` datetime DEFAULT NULL,
`datemodified` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=8 ;
--
-- Dumping data for table `customers`
--
INSERT INTO `customers` (`id`, `firstname`, `lastname`, `email`, `password`, `city`, `number_of_books`, `dateadded`, `datemodified`) VALUES
(1, 'anil', 'kumar', '<EMAIL>', 'somemd5value', 'manchester', 0, '2016-10-19 16:20:00', '2016-10-19 16:20:00'),
(2, 'rajiv', 'kumar', '<EMAIL>', 'somemd5value', 'manchester', 0, '2016-10-19 16:20:00', '2016-10-19 16:20:00'),
(3, 'abhi', 'kumar', '<EMAIL>', 'somemd5value', 'london', 0, '2016-10-19 16:20:00', '2016-10-19 16:20:00'),
(4, 'amanv', 'thakur', '<EMAIL>', 'some<PASSWORD>', 'london', 0, '2016-10-19 16:20:00', '2016-10-19 16:20:00'),
(5, 'ravi', 'kumar', '<EMAIL>', 'some<PASSWORD>', 'douglas', 0, '2016-10-19 16:20:00', '2016-10-19 16:20:00'),
(6, 'chris', 'gilles', '<EMAIL>', 'some<PASSWORD>', 'douglas', 0, '2016-10-19 16:20:00', '2016-10-19 16:20:00'),
(7, 'neeraj', 'thakur', '<EMAIL>', 'some<PASSWORD>', 'douglas', 0, '2016-10-19 16:20:00', '2016-10-19 16:20:00');
-- --------------------------------------------------------
--
-- Table structure for table `customer_books`
--
CREATE TABLE IF NOT EXISTS `customer_books` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`customer_id` int(11) DEFAULT NULL,
`book_id` int(11) DEFAULT NULL,
`date_issued` datetime DEFAULT NULL,
`date_returned` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=62 ;
--
-- Dumping data for table `customer_books`
--
INSERT INTO `customer_books` (`id`, `customer_id`, `book_id`, `date_issued`, `date_returned`) VALUES
(59, 5, 1, '2016-10-19 00:00:00', NULL),
(60, 5, 1, '2016-10-19 00:00:00', NULL),
(61, 2, 3, '2016-10-20 00:00:00', NULL);
/*!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 */;
|
-- first report
-- Return the average of scores played against teams which are in the
-- first three places of the league.
WITH firstThree AS (SELECT team_id FROM Team WHERE place_in_league < 4
AND league IN (SELECT league FROM Team WHERE team_id = 13) --@team_id
AND NOT team_id = 13), --@team_id
scoresAtHome AS (SELECT SUM(IFNULL(home_score, 0)) as homesum,
COUNT(home_score) as homecount
FROM Game
WHERE home_team_id = 13 --@team_id
AND away_team_id IN firstThree),
scoresAtAway AS (SELECT SUM(IFNULL(away_score, 0)) as awaysum,
COUNT(away_score) as awaycount
FROM Game
WHERE away_team_id = 13 --@team_id
AND home_team_id IN firstThree)
SELECT (((SELECT IFNULL(homesum, 0) FROM scoresAtHome)
+ (SELECT IFNULL(awaysum, 0) FROM scoresAtAway))) * 1.0 /
(SELECT COUNT(game_id)
FROM Game
WHERE (home_team_id = 13 --@team_id
OR away_team_id = 13)
AND home_score IS NOT NULL) --@team_id --@team_id
as average_score_against_first_three
-- ((SELECT homecount FROM scoresAtHome) + (SELECT awaycount FROM scoresAtAway)))
/*
-- second report
-- The league names which never appeared in a bet slip that is played
-- by the customer and the customers that are followed by that
-- customer.
WITH customerAndFriends AS (SELECT customer2_id AS customer_id FROM Follows
WHERE customer_id = @customer_id --@customer_id
UNION
SELECT customer_id FROM Customer WHERE customer_id = @customer_id),
playedLeagues AS (SELECT DISTINCT H.league FROM (customerAndFriends NATURAL JOIN Includes NATURAL JOIN
Game INNER JOIN Team H ON H.team_id = game.home_team_id
INNER JOIN Team A ON A.team_id = Game.away_team_id))
SELECT DISTINCT league FROM Team WHERE league NOT IN playedLeagues
*/ |
<gh_stars>0
CREATE DATABASE BIBLIOTECA
USE BIBLIOTECA
DROP DATABASE BIBLIOTECA
SELECT * FROM AUTORES
SELECT * FROM EMAIL
SELECT * FROM LIVROS
SELECT * FROM EDITORAS
SELECT A.NOME, E.CODEMA, E.EMAIL, E.FK_COD_AUT FROM AUTORES A
INNER JOIN EMAIL E
ON A.CODAUT = E.FK_COD_AUT
|
<filename>cue_api.sql
-- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: May 07, 2018 at 02:35 PM
-- Server version: 10.1.13-MariaDB
-- PHP Version: 5.6.20
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: `cue_api`
--
-- --------------------------------------------------------
--
-- Table structure for table `information`
--
CREATE TABLE `information` (
`id` int(100) NOT NULL,
`user_id` int(255) NOT NULL,
`cat_id` int(255) NOT NULL,
`from_date` text NOT NULL,
`exp_date` text NOT NULL,
`remainder` text NOT NULL,
`flag` int(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
--
-- Table structure for table `user`
--
CREATE TABLE `user` (
`user_id` int(100) NOT NULL,
`firstname` text NOT NULL,
`lastname` text NOT NULL,
`dbo` text NOT NULL,
`mobile` text NOT NULL,
`email` text NOT NULL,
`password` text NOT NULL,
`location` text NOT NULL,
`area` text NOT NULL,
`zip_code` text NOT NULL,
`family_members` int(11) NOT NULL,
`brothers` int(10) NOT NULL,
`prof_url` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Indexes for dumped tables
--
--
-- Indexes for table `information`
--
ALTER TABLE `information`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `user`
--
ALTER TABLE `user`
ADD PRIMARY KEY (`user_id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `information`
--
ALTER TABLE `information`
MODIFY `id` int(100) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `user`
--
ALTER TABLE `user`
MODIFY `user_id` int(100) NOT NULL AUTO_INCREMENT;
/*!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>laundry.sql
-- phpMyAdmin SQL Dump
-- version 4.8.3
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Waktu pembuatan: 24 Mar 2020 pada 12.34
-- Versi server: 10.1.36-MariaDB
-- Versi PHP: 7.2.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: `laundry`
--
-- --------------------------------------------------------
--
-- Struktur dari tabel `detail_trans`
--
CREATE TABLE `detail_trans` (
`id` bigint(20) UNSIGNED NOT NULL,
`id_trans` int(11) NOT NULL,
`id_jenis` int(11) NOT NULL,
`qty` int(50) NOT NULL,
`subtotal` int(255) 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 untuk tabel `detail_trans`
--
INSERT INTO `detail_trans` (`id`, `id_trans`, `id_jenis`, `qty`, `subtotal`, `created_at`, `updated_at`) VALUES
(1, 1, 1, 1, 4000, NULL, '2020-02-28 00:06:49'),
(2, 2, 2, 2, 8000, NULL, NULL),
(4, 3, 2, 2, 6000, NULL, NULL),
(5, 3, 2, 1, 3000, NULL, NULL);
-- --------------------------------------------------------
--
-- Struktur dari tabel `jenis_cuci`
--
CREATE TABLE `jenis_cuci` (
`id` bigint(20) UNSIGNED NOT NULL,
`nama_jenis` enum('kering','kering+setrika') COLLATE utf8mb4_unicode_ci NOT NULL,
`harga_perkilo` int(255) 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 untuk tabel `jenis_cuci`
--
INSERT INTO `jenis_cuci` (`id`, `nama_jenis`, `harga_perkilo`, `created_at`, `updated_at`) VALUES
(1, 'kering+setrika', 4000, NULL, NULL),
(2, 'kering', 3000, NULL, NULL);
-- --------------------------------------------------------
--
-- Struktur dari tabel `migrations`
--
CREATE TABLE `migrations` (
`id` int(10) UNSIGNED NOT NULL,
`migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Dumping data untuk tabel `migrations`
--
INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '2020_02_17_065200_pelanggan', 1),
(2, '2020_02_17_065211_transaksi', 1),
(3, '2020_02_17_065223_detail_trans', 1),
(4, '2020_02_17_065235_petugas', 1),
(5, '2020_02_17_065246_jenis_cuci', 1),
(6, '2020_02_17_071257_jenis_cuci', 2);
-- --------------------------------------------------------
--
-- Struktur dari tabel `pelanggan`
--
CREATE TABLE `pelanggan` (
`id` bigint(20) UNSIGNED NOT NULL,
`nama` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`alamat` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`telp` varchar(255) 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 untuk tabel `pelanggan`
--
INSERT INTO `pelanggan` (`id`, `nama`, `alamat`, `telp`, `created_at`, `updated_at`) VALUES
(1, 'Fara', 'Seoul', '1234567890', NULL, '2020-02-27 23:57:19'),
(2, 'v', 'Daegu', '1234567890', NULL, NULL);
-- --------------------------------------------------------
--
-- Struktur dari tabel `petugas`
--
CREATE TABLE `petugas` (
`id` bigint(20) UNSIGNED NOT NULL,
`nama_petugas` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
`telp` int(11) NOT NULL,
`username` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`level` enum('admin','petugas') 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 untuk tabel `petugas`
--
INSERT INTO `petugas` (`id`, `nama_petugas`, `telp`, `username`, `password`, `level`, `created_at`, `updated_at`) VALUES
(1, 'fara', 1234567890, 'fara1', <PASSWORD>', 'admin', '2020-02-23 23:23:47', '2020-02-23 23:23:47'),
(2, 'v', 1234567890, 'v', <PASSWORD>JpRD<PASSWORD>', 'petugas', '2020-02-25 23:30:29', '2020-02-25 23:30:29'),
(3, 'fara', 1234567890, 'fara2', <PASSWORD>', 'admin', '2020-02-28 00:21:48', '2020-02-28 00:21:48'),
(4, 'JK', 1234567890, 'jk', <PASSWORD>AK<PASSWORD>', 'petugas', '2020-03-22 23:41:16', '2020-03-22 23:41:16');
-- --------------------------------------------------------
--
-- Struktur dari tabel `transaksi`
--
CREATE TABLE `transaksi` (
`id` bigint(20) UNSIGNED NOT NULL,
`id_pelanggan` int(11) NOT NULL,
`id_petugas` int(11) NOT NULL,
`tgl_transaksi` date NOT NULL,
`tgl_selesai` date 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 untuk tabel `transaksi`
--
INSERT INTO `transaksi` (`id`, `id_pelanggan`, `id_petugas`, `tgl_transaksi`, `tgl_selesai`, `created_at`, `updated_at`) VALUES
(1, 1, 1, '2020-03-01', '2020-03-03', NULL, '2020-02-28 00:09:59'),
(2, 2, 2, '2020-02-11', '2020-02-16', NULL, NULL),
(3, 1, 1, '2020-03-10', '2020-03-15', NULL, NULL);
--
-- Indexes for dumped tables
--
--
-- Indeks untuk tabel `detail_trans`
--
ALTER TABLE `detail_trans`
ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `jenis_cuci`
--
ALTER TABLE `jenis_cuci`
ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `migrations`
--
ALTER TABLE `migrations`
ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `pelanggan`
--
ALTER TABLE `pelanggan`
ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `petugas`
--
ALTER TABLE `petugas`
ADD PRIMARY KEY (`id`);
--
-- Indeks untuk tabel `transaksi`
--
ALTER TABLE `transaksi`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT untuk tabel yang dibuang
--
--
-- AUTO_INCREMENT untuk tabel `detail_trans`
--
ALTER TABLE `detail_trans`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT untuk tabel `jenis_cuci`
--
ALTER TABLE `jenis_cuci`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT untuk tabel `migrations`
--
ALTER TABLE `migrations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT untuk tabel `pelanggan`
--
ALTER TABLE `pelanggan`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
--
-- AUTO_INCREMENT untuk tabel `petugas`
--
ALTER TABLE `petugas`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT untuk tabel `transaksi`
--
ALTER TABLE `transaksi`
MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
<gh_stars>0
SELECT col.owner,
col.table_name,
col.column_name,
col.num_distinct,
col.num_buckets,
col.histogram,
col.avg_col_len,
col.data_length,
col.data_type
FROM dba_tab_columns col
WHERE col.owner IN (&&schema_list)
AND col.histogram <> 'NONE'
AND col.data_type = 'VARCHAR2'
AND col.num_buckets > 253
AND col.avg_col_len > 32
ORDER BY col.owner, col.table_name, col.column_name;
|
-- 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='ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION';
-- -----------------------------------------------------
-- Schema test
-- -----------------------------------------------------
-- -----------------------------------------------------
-- Schema test
-- -----------------------------------------------------
CREATE SCHEMA IF NOT EXISTS `test` DEFAULT CHARACTER SET utf8 ;
USE `test` ;
DROP SCHEMA test;
-- -----------------------------------------------------
-- Table `test`.`category`
-- -----------------------------------------------------
DROP TABLE IF EXISTS tabl_name;
/* Comment */
CREATE TABLE IF NOT EXISTS `test`.`category` (
`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
`name` VARCHAR(255) NOT NULL UNIQUE,
`description` VARCHAR(1024) NULL, -- Comment
`parent_id` INT NULL,
-- PRIMARY KEY (`id`),
INDEX `fk_category_category1_idx` (`parent_id` ASC) VISIBLE,
CONSTRAINT `fk_category_category1`
FOREIGN KEY (`parent_id`)
REFERENCES `test`.`category` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION);
-- -----------------------------------------------------
-- Table `test`.`product`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `test`.`product` (
`id` INT NOT NULL AUTO_INCREMENT,
`name` VARCHAR(255) NOT NULL,
`price` DOUBLE UNSIGNED NOT NULL DEFAULT 0,
`amount` INT UNSIGNED NOT NULL DEFAULT 0,
`description` VARCHAR(1024) NULL,
`category_id` INT NOT NULL,
PRIMARY KEY (`id`),
INDEX `fk_product_category1_idx` (`category_id` ASC) VISIBLE,
CONSTRAINT `fk_product_category1`
FOREIGN KEY (`category_id`)
REFERENCES `test`.`category` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `test`.`role`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `test`.`role` (
`id` INT ZEROFILL NOT NULL,
`name` VARCHAR(45) NOT NULL,
`description` VARCHAR(10245) NULL,
PRIMARY KEY (`id`),
UNIQUE INDEX `name_UNIQUE` (`name` ASC) VISIBLE)
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `test`.`account`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `test`.`account` (
`id` INT NOT NULL AUTO_INCREMENT,
`login` VARCHAR(16) NOT NULL,
`email` VARCHAR(255) NULL,
`password` VARCHAR(32) NOT NULL,
`create_time` TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP,
`role_id` INT ZEROFILL NOT NULL,
PRIMARY KEY (`id`),
INDEX `fk_account_role1_idx` (`role_id` ASC) VISIBLE,
CONSTRAINT `fk_account_role1`
FOREIGN KEY (`role_id`)
REFERENCES `test`.`role` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION);
-- -----------------------------------------------------
-- Table `test`.`status`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `test`.`status` (
`id` INT NOT NULL AUTO_INCREMENT,
`name` ENUM("NEW", "IN PROGRESS") NOT NULL,
`description` VARCHAR(1024) NULL,
PRIMARY KEY (`id`),
UNIQUE INDEX `name_UNIQUE` (`name` ASC) VISIBLE)
ENGINE = InnoDB;
-- -----------------------------------------------------
-- Table `test`.`receipt`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `test`.`receipt` (
`id` INT NOT NULL AUTO_INCREMENT,
`account_id` INT NULL,
`create_time` TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP,
`status_id` INT NOT NULL,
`approved_by_id` INT NULL,
`total` DOUBLE NULL,
INDEX `fk_receipt_account_idx` (`account_id` ASC) VISIBLE,
PRIMARY KEY (`id`),
INDEX `fk_receipt_status1_idx` (`status_id` ASC) VISIBLE,
INDEX `fk_receipt_account1_idx` (`approved_by_id` ASC) VISIBLE,
CONSTRAINT `fk_receipt_account`
FOREIGN KEY (`account_id`)
REFERENCES `test`.`account` (`id`)
ON DELETE SET NULL
ON UPDATE CASCADE,
CONSTRAINT `fk_receipt_status1`
FOREIGN KEY (`status_id`)
REFERENCES `test`.`status` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT `fk_receipt_account1`
FOREIGN KEY (`approved_by_id`)
REFERENCES `test`.`account` (`id`)
ON DELETE SET NULL
ON UPDATE CASCADE);
-- -----------------------------------------------------
-- Table `test`.`receipt_has_product`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `test`.`receipt_has_product` (
`receipt_id` INT NOT NULL,
`product_id` INT NOT NULL,
`price` DOUBLE UNSIGNED NOT NULL,
`count` INT UNSIGNED NOT NULL,
`create_date` DATETIME NULL DEFAULT CURRENT_TIMESTAMP(),
`last_update` DATETIME NULL DEFAULT CURRENT_TIMESTAMP() ON UPDATE CURRENT_TIMESTAMP(),
PRIMARY KEY (`receipt_id`, `product_id`),
INDEX `fk_receipt_has_product_product1_idx` (`product_id` ASC) VISIBLE,
INDEX `fk_receipt_has_product_receipt1_idx` (`receipt_id` ASC) VISIBLE,
CONSTRAINT `fk_receipt_has_product_receipt1`
FOREIGN KEY (`receipt_id`)
REFERENCES `test`.`receipt` (`id`)
ON DELETE CASCADE
ON UPDATE CASCADE,
CONSTRAINT `fk_receipt_has_product_product1`
FOREIGN KEY (`product_id`)
REFERENCES `test`.`product` (`id`)
ON DELETE RESTRICT
ON UPDATE CASCADE);
-- -----------------------------------------------------
-- Table `test`.`account_details`
-- -----------------------------------------------------
CREATE TABLE IF NOT EXISTS `test`.`account_details` (
`id` INT NOT NULL,
`name` VARCHAR(45) NOT NULL,
`description` VARCHAR(45) NULL,
`age` INT NULL,
PRIMARY KEY (`id`),
CONSTRAINT `fk_account_details_accoint_id`
FOREIGN KEY (`id`)
REFERENCES `test`.`account` (`id`)
ON DELETE NO ACTION
ON UPDATE NO ACTION)
ENGINE = InnoDB;
SET SQL_MODE=@OLD_SQL_MODE;
SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS;
SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS;
|
<filename>resources/db/ClientManagementSystemCreate.sql
use [Client Management System];
create table dbo.tClient
(
clientID int identity(1,1) primary key not null,
businessName varchar(100) null,
clientFirstName varchar(50) not null,
clientLastName varchar(50) not null,
phoneNumber varchar(14) not null,
email varchar(100) null,
createdOn date not null,
updatedOn smalldatetime not null
);
create table tProjectStatus
(
projectStatusID int identity(1,1) primary key not null,
projectStatusDesc varchar(50) not null
);
create table tProjectType
(
projectTypeID int identity(1,1) primary key not null,
projectTypeDesc varchar(80) not null
);
create table tBillingType
(
billingTypeID int identity(1,1) primary key not null,
billingTypeDesc varchar(50) not null,
billingTypeValue int not null
);
create table dbo.tHosting
(
hostingID int identity(1,1) not null primary key,
hostingCost varchar(50) not null,
startDate date not null,
terminationDate date null,
client_clientID int not null,
foreign key (client_clientID) references tClient(clientID),
hosting_billingType int not null,
foreign key (hosting_billingType) references tBillingType(billingTypeID)
);
create table tProject
(
projectID int identity(1,1) primary key not null,
projectName varchar(100) not null,
projectTotalCost decimal not null,
hasHosting bit not null,
projectDesc nText not null,
domainName varchar(100) null,
estimatedLaunchDate date not null,
startDate date not null,
completionDate date null,
lastUpdated smalldatetime not null,
client_clientID int not null,
foreign key (client_clientID) references tClient(clientID),
project_projectType int not null,
foreign key (project_projectType) references tProjectType(projectTypeID),
project_projectStatus int not null,
foreign key (project_projectStatus) references tProjectStatus(projectStatusID),
hosting_hostingID int null,
foreign key (hosting_hostingID) references tHosting(hostingID)
);
create table tNoteStatus
(
noteStatusID int identity(1,1) primary key not null,
statusDesc varchar(50) not null
);
create table tProjectNotes
(
noteID int identity(1,1) primary key not null,
noteDesc varchar(500) not null,
noteDate smalldatetime not null,
noteStatus_noteStatusID int not null,
foreign key (noteStatus_noteStatusID) references tNoteStatus (noteStatusID),
project_projectID int not null,
foreign key (project_projectID) references tProject(projectID)
);
|
-- MySQL dump 10.13 Distrib 5.1.73, for redhat-linux-gnu (x86_64)
--
-- Host: 127.0.0.1 Database: elixir_beacon_dev
-- ------------------------------------------------------
-- Server version 5.7.21-log
/*!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 `adam_table`
--
DROP TABLE IF EXISTS `adam_table`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `adam_table` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`attribute` varchar(50) NOT NULL,
`description` varchar(400) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`),
UNIQUE KEY `attribute` (`attribute`)
) ENGINE=InnoDB AUTO_INCREMENT=76 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `adam_table`
--
LOCK TABLES `adam_table` WRITE;
/*!40000 ALTER TABLE `adam_table` DISABLE KEYS */;
INSERT INTO `adam_table` VALUES (1,'anyCountry','within any country/location'),(2,'allowedCountries','within specified countries/locations'),(3,'excludedCountries','within any country/location other than those specified'),(4,'anyOrganisation','by all organisations'),(5,'anyNonProfitOrganisation','by any non-profit organisations'),(6,'allowedNonProfitOrganisations','by specified non-profit organisations'),(7,'excludedNonProfitOrganisations','by any non-profit organisations other than those specified'),(8,'anyProfitOrganisation','by any profit organisations'),(9,'allowedProfitOrganisations','by specified profit organisations'),(10,'excludedProfitOrganisations','by any profit organisation other than those specified'),(11,'anyPerson','by any category of person'),(12,'anyAcademicProfessional','by any category of academic professional'),(13,'allowedAcademicProfessionals','by specified categories of academic professional'),(14,'excludedAcademicProfessionals','by any category of academic professional other than those specified'),(15,'anyClinicalProfessional','by any category of clinical professional'),(16,'allowedClinicalProfessionals','by specified categories of clinical professional'),(17,'excludedClinicalProfessionals','by any category of clinical professional other than those specified'),(18,'anyProfitmakingProfessional','by any category of profit-making professional'),(19,'allowedProfitmakingProfessionals','by specified categories of profit-making professional'),(20,'excludedProfitmakingProfessionals','by any category of profit-making professional other than those specified'),(21,'anyNonProfessional','by any category of non-professional'),(22,'allowedNonProfessionals','by specified categories of non-professional'),(23,'excludedNonProfessionals','by any category of non-professional other than those specified'),(24,'anyDomain','for any domain'),(25,'anyResearch','for any research purpose'),(26,'anyFundamentalBiologyResearch','for research w.r.t. fundamental biology'),(27,'anyMethodsDevelopmentResearch','for research w.r.t. methods development'),(28,'anyPopulationResearch','for research w.r.t. populations'),(29,'anyAncestryResearch','for research w.r.t. ancestry'),(30,'anyGeneticResearch','for research w.r.t. genetics'),(31,'anyDrugDevelopmentResearch','for research w.r.t. drug development'),(32,'anyDiseaseResearch','for research w.r.t. any disease'),(33,'allowedDiseasesResearch','for research w.r.t. any disease other than those specified'),(34,'excludedDiseasesResearch','for research w.r.t. specified diseases'),(35,'allowedAgeCategoriesResearch','for research w.r.t. specified age categories'),(36,'allowedGenderCategoriesResearch','for research w.r.t. specified gender categories'),(37,'allowedOtherResearch','for other specified categories of research'),(38,'anyClinicalCare','for any clinical care purpose'),(39,'anyDiseasesClinicalCare','for clinical care w.r.t. any disease'),(40,'allowedDiseasesClinicalCare','for clinical care w.r.t. any disease other than those specified'),(41,'excludedDiseasesClinicalCare','for clinical care w.r.t. specified diseases'),(42,'allowedOtherClinicalCare','for other specified categories of clinical care'),(43,'anyProfitPurpose','for any profit purpose'),(44,'allowedProfitPurposes','for specified profit purposes'),(45,'excludedProfitPurposes','for any profit purpose other than those specified'),(46,'anyNonProfitPurpose','for any non-profit purpose'),(47,'allowedNonProfitPurposes','for specified non-profit purposes'),(48,'excludedNonProfitPurposes','for any non-profit purpose other than those specified'),(49,'metaConditions','Meta-Conditions:'),(50,'noOtherConditions','There are no other restrictions/limitations in force which are not herein specified'),(51,'whichOtherConditions','Other permissions/limitations may apply as specified'),(52,'sensitivePopulations','No special evaluation required for access requests involving sensitive/restricted populations'),(53,'uniformConsent','Identical consent permissions have been provided by all subjects'),(54,'termsOfAgreement','Terms of agreement:'),(55,'noAuthorizationObligations','There are no requirements for any formal approval, contract or review conditions to be satisfied'),(56,'whichAuthorizationObligations','Formal approval, contract or review conditions are to be met, as specified'),(57,'noPublicationObligations','There are no requirements regarding publication or disclosure of derived results'),(58,'whichPublicationObligations','Publication or disclosure of derived results is subject to restrictions, as specified'),(59,'noTimelineObligations','There are no timeline restrictions'),(60,'whichTimelineObligations','The period of access has time limitations, as specified'),(61,'noSecurityObligations','There are no requirements regarding data security measures'),(62,'whichSecurityObligations','User must have adequate data security measures, as specified'),(63,'noExpungingObligations','There are no requirements regarding withdrawal, destruction or return of any subject data'),(64,'whichExpungingObligations','Some subject data must be withdrawn, destroyed or returned, as specified'),(65,'noLinkingObligations','There are no restrictions regarding the linking of accessed records to other datasets'),(66,'whichLinkingObligations','Accessed records may only be linked to other datasets, as specified'),(67,'noRecontactProvisions','There is no possibility of recontacting data subjects'),(68,'allowedRecontactProvisions','Subject recontact may occur in certain circumstances, as specified'),(69,'compulsoryRecontactProvisions','Subject recontact must occur in certain circumstances, as specified'),(70,'noIPClaimObligations','There are no restrictions regarding intellectual property claims based on use of the accessed resource'),(71,'whichIPClaimObligations','Options for intellectual property claims based on use of the accessed resources are limited, as specified'),(72,'noReportingObligations','There are no requirements to report back regarding use of the accessed resources'),(73,'whichReportingObligations','Reporting on use of the accessed resources may be required, as specified'),(74,'noPaymentObligations','No fees will be levied for access of the resources'),(75,'whichPaymentObligations','Fees may be levied for access of the resources, as specified');
/*!40000 ALTER TABLE `adam_table` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `adam_value_table`
--
DROP TABLE IF EXISTS `adam_value_table`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `adam_value_table` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`value` varchar(13) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `adam_value_table`
--
LOCK TABLES `adam_value_table` WRITE;
/*!40000 ALTER TABLE `adam_value_table` DISABLE KEYS */;
INSERT INTO `adam_value_table` VALUES (1,'NOT SPECIFIED'),(2,'UNTRUE'),(3,'TRUE');
/*!40000 ALTER TABLE `adam_value_table` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Temporary table structure for view `beacon_data`
--
DROP TABLE IF EXISTS `beacon_data`;
/*!50001 DROP VIEW IF EXISTS `beacon_data`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `beacon_data` (
`dataset_id` tinyint NOT NULL,
`chromosome` tinyint NOT NULL,
`position` tinyint NOT NULL,
`alternate` tinyint NOT NULL,
`reference_genome` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Table structure for table `beacon_data_table`
--
DROP TABLE IF EXISTS `beacon_data_table`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `beacon_data_table` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`dataset_id` varchar(50) NOT NULL,
`chromosome` varchar(2) NOT NULL,
`position` int(11) NOT NULL,
`alternate` varchar(250) DEFAULT NULL,
`occurrence` int(10) DEFAULT NULL,
`chr_pos_alt_dset` varchar(500) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`),
UNIQUE KEY `dataset_id` (`dataset_id`,`chromosome`,`position`,`alternate`),
UNIQUE KEY `track_vars` (`chr_pos_alt_dset`)
) ENGINE=InnoDB AUTO_INCREMENT=540276 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `beacon_data_table`
--
LOCK TABLES `beacon_data_table` WRITE;
/*!40000 ALTER TABLE `beacon_data_table` DISABLE KEYS */;
/*!40000 ALTER TABLE `beacon_data_table` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Temporary table structure for view `beacon_dataset`
--
DROP TABLE IF EXISTS `beacon_dataset`;
/*!50001 DROP VIEW IF EXISTS `beacon_dataset`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `beacon_dataset` (
`id` tinyint NOT NULL,
`description` tinyint NOT NULL,
`access_type` tinyint NOT NULL,
`reference_genome` tinyint NOT NULL,
`size` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `beacon_dataset_adam`
--
DROP TABLE IF EXISTS `beacon_dataset_adam`;
/*!50001 DROP VIEW IF EXISTS `beacon_dataset_adam`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `beacon_dataset_adam` (
`dataset_id` tinyint NOT NULL,
`attribute` tinyint NOT NULL,
`value` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Table structure for table `beacon_dataset_adam_detailed_table`
--
DROP TABLE IF EXISTS `beacon_dataset_adam_detailed_table`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `beacon_dataset_adam_detailed_table` (
`dataset_id` varchar(50) NOT NULL,
`adam_id` int(11) NOT NULL,
`value` varchar(200) NOT NULL,
PRIMARY KEY (`dataset_id`,`adam_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `beacon_dataset_adam_detailed_table`
--
LOCK TABLES `beacon_dataset_adam_detailed_table` WRITE;
/*!40000 ALTER TABLE `beacon_dataset_adam_detailed_table` DISABLE KEYS */;
/*!40000 ALTER TABLE `beacon_dataset_adam_detailed_table` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `beacon_dataset_adam_table`
--
DROP TABLE IF EXISTS `beacon_dataset_adam_table`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `beacon_dataset_adam_table` (
`dataset_id` varchar(50) NOT NULL,
`adam_id` int(11) NOT NULL,
`value_id` int(11) NOT NULL,
PRIMARY KEY (`dataset_id`,`adam_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `beacon_dataset_adam_table`
--
LOCK TABLES `beacon_dataset_adam_table` WRITE;
/*!40000 ALTER TABLE `beacon_dataset_adam_table` DISABLE KEYS */;
/*!40000 ALTER TABLE `beacon_dataset_adam_table` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Temporary table structure for view `beacon_dataset_consent_code`
--
DROP TABLE IF EXISTS `beacon_dataset_consent_code`;
/*!50001 DROP VIEW IF EXISTS `beacon_dataset_consent_code`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `beacon_dataset_consent_code` (
`dataset_id` tinyint NOT NULL,
`code` tinyint NOT NULL,
`description` tinyint NOT NULL,
`detail` tinyint NOT NULL,
`category` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Table structure for table `beacon_dataset_consent_code_table`
--
DROP TABLE IF EXISTS `beacon_dataset_consent_code_table`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `beacon_dataset_consent_code_table` (
`dataset_id` varchar(50) NOT NULL,
`consent_code_id` int(11) NOT NULL,
`detail` varchar(1000) DEFAULT NULL,
PRIMARY KEY (`dataset_id`,`consent_code_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `beacon_dataset_consent_code_table`
--
LOCK TABLES `beacon_dataset_consent_code_table` WRITE;
/*!40000 ALTER TABLE `beacon_dataset_consent_code_table` DISABLE KEYS */;
/*!40000 ALTER TABLE `beacon_dataset_consent_code_table` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `beacon_dataset_table`
--
DROP TABLE IF EXISTS `beacon_dataset_table`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `beacon_dataset_table` (
`id` varchar(50) NOT NULL,
`description` varchar(800) DEFAULT NULL,
`access_type` varchar(10) DEFAULT NULL,
`reference_genome` varchar(50) DEFAULT NULL,
`size` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `beacon_dataset_table`
--
LOCK TABLES `beacon_dataset_table` WRITE;
/*!40000 ALTER TABLE `beacon_dataset_table` DISABLE KEYS */;
/*!40000 ALTER TABLE `beacon_dataset_table` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `consent_code_category_table`
--
DROP TABLE IF EXISTS `consent_code_category_table`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `consent_code_category_table` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(11) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `consent_code_category_table`
--
LOCK TABLES `consent_code_category_table` WRITE;
/*!40000 ALTER TABLE `consent_code_category_table` DISABLE KEYS */;
INSERT INTO `consent_code_category_table` VALUES (1,'PRIMARY'),(2,'SECONDARY'),(3,'REQUIREMENT');
/*!40000 ALTER TABLE `consent_code_category_table` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `consent_code_table`
--
DROP TABLE IF EXISTS `consent_code_table`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `consent_code_table` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(100) NOT NULL,
`abbr` varchar(4) NOT NULL,
`description` varchar(400) NOT NULL,
`category_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `consent_code_table`
--
LOCK TABLES `consent_code_table` WRITE;
/*!40000 ALTER TABLE `consent_code_table` DISABLE KEYS */;
INSERT INTO `consent_code_table` VALUES (1,'No restrictions','NRES','No restrictions on data use.',1),(2,'General research use and clinical care','GRU','For health/medical/biomedical purposes, including the study of population origins or ancestry.',1),(3,'Health/medical/biomedical research and clinical care','HMB','Use of the data is limited to health/medical/biomedical purposes; does not include the study of population origins or ancestry.',1),(4,'Disease-specific research and clinical care','DS','Use of the data must be related to [disease].',1),(5,'Population origins/ancestry research','POA','Use of the data is limited to the study of population origins or ancestry.',1),(6,'Oher research-specific restrictions','RS','Use of the data is limited to studies of [research type] (e.g., pediatric research).',2),(7,'Research use only','RUO','Use of data is limited to research purposes (e.g., does not include its use in clinical care).',2),(8,'No “general methods” research','NMDS','Use of the data includes methods development research (e.g., development of software or algorithms) ONLY within the bounds of other data use limitations.',2),(9,'Genetic studies only','GSO','Use of the data is limited to genetic studies only (i.e., no “phenotype-only” research).',2),(10,'Not-for-profit use only','NPU','Use of the data is limited to not-for-profit organizations.',3),(11,'Publication required','PUB','Requestor agrees to make results of studies using the data available to the larger scientific community.',3),(12,'Collaboration required','COL','Requestor must agree to collaboration with the primary study investigator(s).',3),(13,'Ethics approval required','IRB','Requestor must provide documentation of local IRB/REC approval.',3),(14,'Geographical restrictions','GS','Use of the data is limited to within [geographic region].',3),(15,'Publication moratorium/embargo','MOR','Requestor agrees not to publish results of studies until [date].',3),(16,'Time limits on use','TS','Use of data is approved for [x months].',3),(17,'User-specific restrictions','US','Use of data is limited to use by approved users.',3),(18,'Project-specific restrictions','PS','Use of data is limited to use within an approved project.',3),(19,'Institution-specific restrictions','IS','Use of data is limited to use within an approved institution.',3);
/*!40000 ALTER TABLE `consent_code_table` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Final view structure for view `beacon_data`
--
/*!50001 DROP TABLE IF EXISTS `beacon_data`*/;
/*!50001 DROP VIEW IF EXISTS `beacon_data`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `beacon_data` AS select `bd`.`dataset_id` AS `dataset_id`,`bd`.`chromosome` AS `chromosome`,`bd`.`position` AS `position`,`bd`.`alternate` AS `alternate`,`ebdat`.`reference_genome` AS `reference_genome` from (`beacon_data_table` `bd` join `beacon_dataset` `ebdat` on((`bd`.`dataset_id` = `ebdat`.`id`))) */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `beacon_dataset`
--
/*!50001 DROP TABLE IF EXISTS `beacon_dataset`*/;
/*!50001 DROP VIEW IF EXISTS `beacon_dataset`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `beacon_dataset` AS select `bdat`.`id` AS `id`,`bdat`.`description` AS `description`,`bdat`.`access_type` AS `access_type`,`bdat`.`reference_genome` AS `reference_genome`,`bdat`.`size` AS `size` from `beacon_dataset_table` `bdat` where ((`bdat`.`access_type` in ('PUBLIC','REGISTERED','CONTROLLED')) and (`bdat`.`size` > 0) and (`bdat`.`reference_genome` <> '')) */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `beacon_dataset_adam`
--
/*!50001 DROP TABLE IF EXISTS `beacon_dataset_adam`*/;
/*!50001 DROP VIEW IF EXISTS `beacon_dataset_adam`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `beacon_dataset_adam` AS select `subq`.`dataset_id` AS `dataset_id`,`a`.`attribute` AS `attribute`,`subq`.`value` AS `value` from (((select `da`.`dataset_id` AS `dataset_id`,`da`.`adam_id` AS `adam_id`,`av`.`value` AS `value` from (`elixir_beacon_dev`.`beacon_dataset_adam_table` `da` join `elixir_beacon_dev`.`adam_value_table` `av` on((`av`.`id` = `da`.`value_id`)))) union select `detailed`.`dataset_id` AS `dataset_id`,`detailed`.`adam_id` AS `adam_id`,`detailed`.`value` AS `value` from `elixir_beacon_dev`.`beacon_dataset_adam_detailed_table` `detailed` order by `dataset_id`,`adam_id`) `subq` join `elixir_beacon_dev`.`adam_table` `a` on((`a`.`id` = `subq`.`adam_id`))) */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `beacon_dataset_consent_code`
--
/*!50001 DROP TABLE IF EXISTS `beacon_dataset_consent_code`*/;
/*!50001 DROP VIEW IF EXISTS `beacon_dataset_consent_code`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `beacon_dataset_consent_code` AS select `dc`.`dataset_id` AS `dataset_id`,`code`.`abbr` AS `code`,`code`.`description` AS `description`,`dc`.`detail` AS `detail`,`cat`.`name` AS `category` from ((`beacon_dataset_consent_code_table` `dc` join `consent_code_table` `code` on((`code`.`id` = `dc`.`consent_code_id`))) join `consent_code_category_table` `cat` on((`cat`.`id` = `code`.`category_id`))) order by `dc`.`dataset_id`,`cat`.`id`,`code`.`id` */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
/*!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 2018-02-07 9:31:18
|
use election_data-elections;
# first truncate staging and raw tables
truncate table `2014 election local major - raw`;
# load data from the csv file
LOAD DATA INFILE '/var/www/data/2014_official_local_major.csv'
INTO TABLE `2014 election local major - raw`
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n'
IGNORE 1 LINES;
# add the region/district names
update `2014 election local major - raw` as t, regions_districts as rd
set t.region = rd.region,t.district_name = rd.district_name
where t.district_id = rd.district_id;
# add valid votes
update `2014 election local major - raw`
set num_valid_votes = (num_votes-num_invalid_votes);
# add logic check values
update `2014 election local major - raw`
set logic_check_fail =
if(num_valid_votes = (`1 - Non-Parliamentary Opposition` + `2 - Armed Veterans Patriots` + `3 - United Opposition` + `5 - United National Movement` + `6 - Greens Party` + `7 - Name of the Lord` + `8 - Alliance of Patriots` + `9 - Self-governance to People` + `10 - Peoples Party` + `11 - Reformers` + `12 - Our Georgia` + `13 - Future Georgia` + `14 - Georgian Party` + `15 - Peoples Movement` + `16 - Christian Democrats` + `17 - Unity Hall` + `18 - Way of Georgia` + `19 - Freedom` + `20 - Labour Party` + `26 - Party of People` + `30 - Merab Kostava Society` + `36 - Labour Council` + `41 - Georgian Dream`), 0, 1)
;
update `2014 election local major - raw`
set logic_check_difference =
(num_valid_votes - (`1 - Non-Parliamentary Opposition` + `2 - Armed Veterans Patriots` + `3 - United Opposition` + `5 - United National Movement` + `6 - Greens Party` + `7 - Name of the Lord` + `8 - Alliance of Patriots` + `9 - Self-governance to People` + `10 - Peoples Party` + `11 - Reformers` + `12 - Our Georgia` + `13 - Future Georgia` + `14 - Georgian Party` + `15 - Peoples Movement` + `16 - Christian Democrats` + `17 - Unity Hall` + `18 - Way of Georgia` + `19 - Freedom` + `20 - Labour Party` + `26 - Party of People` + `30 - Merab Kostava Society` + `36 - Labour Council` + `41 - Georgian Dream`));
update `2014 election local major - raw`
set more_ballots_than_votes_flag =
if(num_valid_votes > (`1 - Non-Parliamentary Opposition` + `2 - Armed Veterans Patriots` + `3 - United Opposition` + `5 - United National Movement` + `6 - Greens Party` + `7 - Name of the Lord` + `8 - Alliance of Patriots` + `9 - Self-governance to People` + `10 - Peoples Party` + `11 - Reformers` + `12 - Our Georgia` + `13 - Future Georgia` + `14 - Georgian Party` + `15 - Peoples Movement` + `16 - Christian Democrats` + `17 - Unity Hall` + `18 - Way of Georgia` + `19 - Freedom` + `20 - Labour Party` + `26 - Party of People` + `30 - Merab Kostava Society` + `36 - Labour Council` + `41 - Georgian Dream` ),
1, 0)
;
update `2014 election local major - raw`
set more_ballots_than_votes =
if(num_valid_votes > (`1 - Non-Parliamentary Opposition` + `2 - Armed Veterans Patriots` + `3 - United Opposition` + `5 - United National Movement` + `6 - Greens Party` + `7 - Name of the Lord` + `8 - Alliance of Patriots` + `9 - Self-governance to People` + `10 - Peoples Party` + `11 - Reformers` + `12 - Our Georgia` + `13 - Future Georgia` + `14 - Georgian Party` + `15 - Peoples Movement` + `16 - Christian Democrats` + `17 - Unity Hall` + `18 - Way of Georgia` + `19 - Freedom` + `20 - Labour Party` + `26 - Party of People` + `30 - Merab Kostava Society` + `36 - Labour Council` + `41 - Georgian Dream` ),
num_valid_votes - (`1 - Non-Parliamentary Opposition` + `2 - Armed Veterans Patriots` + `3 - United Opposition` + `5 - United National Movement` + `6 - Greens Party` + `7 - Name of the Lord` + `8 - Alliance of Patriots` + `9 - Self-governance to People` + `10 - Peoples Party` + `11 - Reformers` + `12 - Our Georgia` + `13 - Future Georgia` + `14 - Georgian Party` + `15 - Peoples Movement` + `16 - Christian Democrats` + `17 - Unity Hall` + `18 - Way of Georgia` + `19 - Freedom` + `20 - Labour Party` + `26 - Party of People` + `30 - Merab Kostava Society` + `36 - Labour Council` + `41 - Georgian Dream`),
0)
;
update `2014 election local major - raw`
set more_votes_than_ballots_flag =
if(num_valid_votes < (`1 - Non-Parliamentary Opposition` + `2 - Armed Veterans Patriots` + `3 - United Opposition` + `5 - United National Movement` + `6 - Greens Party` + `7 - Name of the Lord` + `8 - Alliance of Patriots` + `9 - Self-governance to People` + `10 - Peoples Party` + `11 - Reformers` + `12 - Our Georgia` + `13 - Future Georgia` + `14 - Georgian Party` + `15 - Peoples Movement` + `16 - Christian Democrats` + `17 - Unity Hall` + `18 - Way of Georgia` + `19 - Freedom` + `20 - Labour Party` + `26 - Party of People` + `30 - Merab Kostava Society` + `36 - Labour Council` + `41 - Georgian Dream` ),
1, 0)
;
update `2014 election local major - raw`
set more_votes_than_ballots =
if(num_valid_votes < (`1 - Non-Parliamentary Opposition` + `2 - Armed Veterans Patriots` + `3 - United Opposition` + `5 - United National Movement` + `6 - Greens Party` + `7 - Name of the Lord` + `8 - Alliance of Patriots` + `9 - Self-governance to People` + `10 - Peoples Party` + `11 - Reformers` + `12 - Our Georgia` + `13 - Future Georgia` + `14 - Georgian Party` + `15 - Peoples Movement` + `16 - Christian Democrats` + `17 - Unity Hall` + `18 - Way of Georgia` + `19 - Freedom` + `20 - Labour Party` + `26 - Party of People` + `30 - Merab Kostava Society` + `36 - Labour Council` + `41 - Georgian Dream` ),
abs(num_valid_votes - (`1 - Non-Parliamentary Opposition` + `2 - Armed Veterans Patriots` + `3 - United Opposition` + `5 - United National Movement` + `6 - Greens Party` + `7 - Name of the Lord` + `8 - Alliance of Patriots` + `9 - Self-governance to People` + `10 - Peoples Party` + `11 - Reformers` + `12 - Our Georgia` + `13 - Future Georgia` + `14 - Georgian Party` + `15 - Peoples Movement` + `16 - Christian Democrats` + `17 - Unity Hall` + `18 - Way of Georgia` + `19 - Freedom` + `20 - Labour Party` + `26 - Party of People` + `30 - Merab Kostava Society` + `36 - Labour Council` + `41 - Georgian Dream` )),
0)
;
# now download the data to csv
SELECT 'shape', 'common_id', 'common_name', 'Total Voter Turnout (#)', 'Total Voter Turnout (%)', 'Number of Precincts with Invalid Ballots from 0-1%', 'Number of Precincts with Invalid Ballots from 1-3%', 'Number of Precincts with Invalid Ballots from 3-5%', 'Number of Precincts with Invalid Ballots > 5%', 'Invalid Ballots (%)', 'Precincts with More Ballots Than Votes (#)', 'Precincts with More Ballots Than Votes (%)', 'More Ballots Than Votes (Average)', 'More Ballots Than Votes (#)','Precincts with More Votes than Ballots (#)', 'Precincts with More Votes than Ballots (%)', 'More Votes than Ballots (Average)', 'More Votes than Ballots (#)','Average votes per minute (08:00-12:00)', 'Average votes per minute (12:00-17:00)', 'Average votes per minute (17:00-20:00)', 'Number of Precincts with votes per minute > 2 (08:00-12:00)', 'Number of Precincts with votes per minute > 2 (12:00-17:00)', 'Number of Precincts with votes per minute > 2 (17:00-20:00)', 'Number of Precincts with votes per minute > 2', 'Precincts Reported (#)', 'Precincts Reported (%)',
'Non-Parliamentary Opposition',
'Armed Veterans Patriots',
'United Opposition',
'United National Movement',
'Greens Party',
'<NAME>',
'Alliance of Patriots',
'Self-governance to People',
'Peoples Party',
'Reformers',
'Our Georgia',
'Future Georgia',
'Georgian Party',
'Peoples Movement',
'Christian Democrats',
'Unity Hall',
'Way of Georgia',
'Freedom',
'Labour Party',
'Party of People',
'Merab Kostava Society',
'Labour Council',
'Georgian Dream'
union
select * from `2014 election local major - csv` where common_id != '' && common_name != ''
INTO OUTFILE '/var/www/data/upload_2014_official_local_major.csv'
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n';
|
<reponame>rickyork/Hot-Toddy<filename>hFile/hFileServer/Database/hFileServer/hFileServer.sql
CREATE TABLE `hFileServer` (
`hFileServerId`
int(11)
NOT NULL
auto_increment,
`hUserId`
int(11)
NOT NULL
default '0',
`hFileServerPath`
text
NOT NULL,
`hFileServerTitle`
varchar(255)
NOT NULL
default '',
`hFileServerDescription`
text
NOT NULL,
`hFileServerCreated`
int(32)
NOT NULL
default '0',
`hFileServerLastModified`
int(32)
NOT NULL
default '0',
`hFileServerLastModifiedBy`
int(11)
NOT NULL
default '0',
PRIMARY KEY `hFileServerId` (
`hFileServerId`
)
) ENGINE=MyISAM DEFAULT CHARSET=utf8; |
<reponame>jinnig/airbyte<filename>airbyte-db/src/main/resources/jobs_database/schema.sql
-- extensions
CREATE
EXTENSION IF NOT EXISTS "uuid-ossp";
-- types
CREATE
TYPE JOB_STATUS AS ENUM(
'pending',
'running',
'incomplete',
'failed',
'succeeded',
'cancelled'
);
CREATE
TYPE ATTEMPT_STATUS AS ENUM(
'running',
'failed',
'succeeded'
);
CREATE
TYPE JOB_CONFIG_TYPE AS ENUM(
'check_connection_source',
'check_connection_destination',
'discover_schema',
'get_spec',
'sync',
'reset_connection'
);
-- tables
CREATE
TABLE
IF NOT EXISTS AIRBYTE_METADATA(
KEY VARCHAR(255) PRIMARY KEY,
value VARCHAR(255)
);
CREATE
TABLE
IF NOT EXISTS JOBS(
id BIGINT GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
config_type JOB_CONFIG_TYPE,
SCOPE VARCHAR(255),
config JSONB,
status JOB_STATUS,
started_at TIMESTAMPTZ,
created_at TIMESTAMPTZ,
updated_at TIMESTAMPTZ
);
CREATE
TABLE
IF NOT EXISTS ATTEMPTS(
id BIGINT GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
job_id BIGINT,
attempt_number INTEGER,
log_path VARCHAR(255),
OUTPUT JSONB,
status ATTEMPT_STATUS,
created_at TIMESTAMPTZ,
updated_at TIMESTAMPTZ,
ended_at TIMESTAMPTZ
);
CREATE
UNIQUE INDEX IF NOT EXISTS job_attempt_idx ON
ATTEMPTS(
job_id,
attempt_number
);
-- entries
INSERT
INTO
AIRBYTE_METADATA
VALUES(
'server_uuid',
uuid_generate_v4()
) ON
CONFLICT DO NOTHING;
|
<filename>04-Performance/tuning_applications/tlog_io.sql
SELECT io_stall_write_ms/num_of_writes as avg_tlog_io_write_ms, *
FROM sys.dm_io_virtual_file_stats
(db_id('Adventureworks'), 2);
GO |
<gh_stars>10-100
DROP SCHEMA public CASCADE;
CREATE SCHEMA public;
CREATE TYPE CURRENCY AS ENUM ('gbp', 'usd', 'eur');
CREATE TABLE companies (
id SERIAL PRIMARY KEY,
name VARCHAR(255) NOT NULL UNIQUE,
slug VARCHAR(255) NOT NULL UNIQUE,
domain VARCHAR(255) NOT NULL,
stripe_public_key VARCHAR(63),
stripe_secret_key VARCHAR(63),
stripe_webhook_secret VARCHAR(63),
currency CURRENCY NOT NULL DEFAULT 'gbp',
display_timezone VARCHAR(63) NOT NULL DEFAULT 'Europe/London',
image VARCHAR(255),
logo VARCHAR(255),
email_from VARCHAR(255),
email_reply_to VARCHAR(255),
email_template TEXT,
footer_links JSONB
);
CREATE UNIQUE INDEX company_domain ON companies USING btree (domain);
CREATE TYPE USER_ROLE AS ENUM ('guest', 'host', 'admin');
CREATE TYPE USER_STATUS AS ENUM ('pending', 'active', 'suspended');
CREATE TABLE users (
id SERIAL PRIMARY KEY,
company INT NOT NULL REFERENCES companies ON DELETE CASCADE,
role USER_ROLE NOT NULL,
status USER_STATUS NOT NULL DEFAULT 'pending',
first_name VARCHAR(255),
last_name VARCHAR(255),
email VARCHAR(255),
phone_number VARCHAR(63),
password_hash VARCHAR(63),
stripe_customer_id VARCHAR(31),
receive_emails BOOLEAN DEFAULT TRUE,
allow_marketing BOOLEAN DEFAULT FALSE,
created_ts TIMESTAMPTZ NOT NULL DEFAULT CURRENT_TIMESTAMP,
active_ts TIMESTAMPTZ NOT NULL DEFAULT CURRENT_TIMESTAMP
);
CREATE UNIQUE INDEX user_email ON users USING btree (company, email);
CREATE INDEX user_role ON users USING btree (role);
CREATE INDEX user_status ON users USING btree (status);
CREATE INDEX user_company ON users USING btree (company);
CREATE INDEX user_created_ts ON users USING btree (created_ts);
CREATE INDEX user_active_ts ON users USING btree (active_ts);
CREATE TYPE EVENT_TYPES AS ENUM ('ticket_sales', 'donation_requests');
CREATE TABLE categories (
id SERIAL PRIMARY KEY,
company INT NOT NULL REFERENCES companies ON DELETE CASCADE,
name VARCHAR(63) NOT NULL,
slug VARCHAR(63) NOT NULL,
live BOOLEAN DEFAULT TRUE,
sort_index INT,
event_type EVENT_TYPES NOT NULL DEFAULT 'ticket_sales',
suggested_price NUMERIC(7, 2) CHECK (suggested_price >= 1),
image VARCHAR(255),
description VARCHAR(140),
event_content TEXT,
host_advice TEXT,
booking_trust_message TEXT,
cover_costs_message TEXT,
post_booking_message TEXT,
cover_costs_percentage NUMERIC(5, 2) CHECK (cover_costs_percentage > 0 AND cover_costs_percentage <= 100),
terms_and_conditions_message TEXT,
allow_marketing_message TEXT,
ticket_extra_title VARCHAR(200),
ticket_extra_help_text TEXT
);
CREATE UNIQUE INDEX category_co_slug ON categories USING btree (company, slug);
CREATE INDEX category_company ON categories USING btree (company);
CREATE INDEX category_slug ON categories USING btree (slug);
CREATE INDEX category_live ON categories USING btree (live);
CREATE INDEX category_sort_index ON categories USING btree (sort_index);
CREATE TYPE EVENT_STATUS AS ENUM ('pending', 'published', 'suspended');
CREATE TABLE events (
id SERIAL PRIMARY KEY,
category INT NOT NULL REFERENCES categories ON DELETE CASCADE,
status EVENT_STATUS NOT NULL DEFAULT 'pending',
host INT NOT NULL REFERENCES users ON DELETE RESTRICT,
name VARCHAR(150) NOT NULL,
slug VARCHAR(63),
highlight BOOLEAN NOT NULL DEFAULT FALSE,
external_ticket_url VARCHAR(255),
external_donation_url VARCHAR(255),
start_ts TIMESTAMPTZ NOT NULL,
timezone VARCHAR(63) NOT NULL DEFAULT 'Europe/London',
duration INTERVAL,
youtube_video_id VARCHAR(140),
short_description VARCHAR(140),
description_intro TEXT,
description_image VARCHAR(255),
long_description TEXT,
public BOOLEAN DEFAULT TRUE,
allow_tickets BOOLEAN NOT NULL DEFAULT TRUE,
allow_donations BOOLEAN NOT NULL DEFAULT FALSE,
location_name VARCHAR(140),
location_lat FLOAT,
location_lng FLOAT,
ticket_limit INT CONSTRAINT ticket_limit_gt_0 CHECK (ticket_limit > 0),
donation_target NUMERIC(10, 2) CONSTRAINT donation_target_gte_1 CHECK (donation_target > 0),
tickets_taken INT NOT NULL DEFAULT 0, -- sold and reserved
image VARCHAR(255),
secondary_image VARCHAR(255),
CONSTRAINT ticket_limit_check CHECK (tickets_taken <= ticket_limit)
);
CREATE UNIQUE INDEX event_cat_slug ON events USING btree (category, slug);
CREATE INDEX event_slug ON events USING btree (slug);
CREATE INDEX event_status ON events USING btree (status);
CREATE INDEX event_public ON events USING btree (public);
CREATE INDEX event_highlight ON events USING btree (highlight);
CREATE INDEX event_start_ts ON events USING btree (start_ts);
CREATE INDEX event_category ON events USING btree (category);
CREATE TYPE ACTION_TYPES AS ENUM (
'login',
'guest-signin',
'host-signup',
'logout',
'password-reset',
'reserve-tickets',
'buy-tickets',
'buy-tickets-offline',
'book-free-tickets',
'donate-prepare',
'donate-direct-prepare',
'donate',
'cancel-reserved-tickets',
'cancel-booked-tickets',
'create-event',
'event-guest-reminder',
'event-update',
'edit-event',
'edit-profile',
'edit-other',
'email-waiting-list',
'unsubscribe'
);
CREATE TABLE actions (
id SERIAL PRIMARY KEY,
company INT NOT NULL REFERENCES companies ON DELETE CASCADE,
user_id INT REFERENCES users ON DELETE CASCADE,
event INT REFERENCES events ON DELETE SET NULL,
ts TIMESTAMPTZ NOT NULL DEFAULT CURRENT_TIMESTAMP,
type ACTION_TYPES NOT NULL,
extra JSONB
);
CREATE INDEX action_compound ON actions USING btree (company, user_id);
CREATE INDEX action_user ON actions USING btree (user_id);
CREATE INDEX action_event ON actions USING btree (event);
CREATE INDEX action_type ON actions USING btree (type);
CREATE INDEX action_ts ON actions USING btree (ts);
CREATE TYPE TICKET_MODE AS ENUM ('ticket', 'donation');
CREATE TABLE ticket_types (
id SERIAL PRIMARY KEY,
event INT NOT NULL REFERENCES events ON DELETE CASCADE,
name VARCHAR(63) NOT NULL,
mode TICKET_MODE NOT NULL DEFAULT 'ticket',
custom_amount BOOL NOT NULL DEFAULT FALSE,
price NUMERIC(7, 2) CONSTRAINT price_gte_1 CHECK (price >= 1),
slots_used INT DEFAULT 1 CONSTRAINT slots_used_gt_0 CHECK (slots_used > 0),
active BOOLEAN DEFAULT TRUE
);
CREATE INDEX ticket_type_mode ON ticket_types USING btree (mode);
CREATE TYPE TICKET_STATUS AS ENUM ('reserved', 'booked', 'cancelled');
CREATE TABLE tickets (
id SERIAL PRIMARY KEY,
event INT NOT NULL REFERENCES events ON DELETE CASCADE,
ticket_type INT NOT NULL REFERENCES ticket_types ON DELETE RESTRICT,
user_id INT REFERENCES users ON DELETE CASCADE,
-- separate from the user's name to avoid confusing updates of the user's name
first_name VARCHAR(255),
last_name VARCHAR(255),
price NUMERIC(7, 2) CONSTRAINT price_gte_1 CHECK (price >= 1), -- in case ticket prices change
extra_donated NUMERIC(7, 2) CONSTRAINT extra_donated_gt_0 CHECK (extra_donated > 0),
reserve_action INT NOT NULL REFERENCES actions ON DELETE CASCADE,
booked_action INT REFERENCES actions ON DELETE CASCADE,
cancel_action INT REFERENCES actions ON DELETE SET NULL,
status TICKET_STATUS NOT NULL DEFAULT 'reserved',
created_ts TIMESTAMPTZ NOT NULL DEFAULT CURRENT_TIMESTAMP,
extra_info TEXT
);
CREATE INDEX ticket_event ON tickets USING btree (event);
CREATE INDEX ticket_user ON tickets USING btree (user_id);
CREATE INDEX ticket_reserve_action ON tickets USING btree (reserve_action);
CREATE INDEX ticket_status ON tickets USING btree (status);
CREATE INDEX ticket_created_ts ON tickets USING btree (created_ts);
-- must match triggers from emails/defaults.py!
CREATE TYPE EMAIL_TRIGGERS AS ENUM (
'ticket-buyer', 'ticket-other', 'event-update', 'event-reminder', 'donation-thanks', 'event-booking',
'event-host-created', 'event-host-update', 'event-host-final-update', 'password-reset', 'account-created',
'admin-notification', 'event-tickets-available', 'waiting-list-add'
);
CREATE TABLE email_definitions (
id SERIAL PRIMARY KEY,
company INT NOT NULL REFERENCES companies ON DELETE CASCADE,
trigger EMAIL_TRIGGERS NOT NULL,
active BOOLEAN DEFAULT TRUE,
subject VARCHAR(255) NOT NULL,
title VARCHAR(127),
body TEXT NOT NULL
);
CREATE UNIQUE INDEX email_def_unique ON email_definitions USING btree (company, trigger);
-- TODO email events
-- { donations change
CREATE TABLE IF NOT EXISTS donation_options (
id SERIAL PRIMARY KEY,
category INT NOT NULL REFERENCES categories ON DELETE CASCADE,
name VARCHAR(255) NOT NULL,
amount NUMERIC(7, 2) NOT NULL CHECK (amount >= 1),
sort_index INT,
live BOOLEAN DEFAULT TRUE,
image VARCHAR(255),
short_description VARCHAR(140),
long_description TEXT
);
CREATE INDEX IF NOT EXISTS don_opt_category ON donation_options USING btree (category);
CREATE INDEX IF NOT EXISTS don_opt_live ON donation_options USING btree (live);
CREATE INDEX IF NOT EXISTS don_opt_sort_index ON donation_options USING btree (sort_index);
CREATE TABLE IF NOT EXISTS donations (
id SERIAL PRIMARY KEY,
donation_option INT REFERENCES donation_options ON DELETE CASCADE,
ticket_type INT REFERENCES ticket_types ON DELETE CASCADE,
CONSTRAINT donation_option_or_ticket_type_required CHECK (num_nonnulls(donation_option, ticket_type) = 1),
amount NUMERIC(7, 2) NOT NULL CHECK (amount >= 1),
gift_aid BOOLEAN NOT NULL,
title VARCHAR(31),
first_name VARCHAR(255),
last_name VARCHAR(255),
address VARCHAR(255),
city VARCHAR(255),
postcode VARCHAR(31),
action INT NOT NULL REFERENCES actions ON DELETE CASCADE -- to get event, user and ts
);
CREATE UNIQUE INDEX IF NOT EXISTS con_action ON donations USING btree (action);
CREATE INDEX IF NOT EXISTS don_donation_option ON donations USING btree (donation_option);
CREATE INDEX IF NOT EXISTS don_gift_aid ON donations USING btree (gift_aid);
CREATE INDEX IF NOT EXISTS don_action ON donations USING btree (action);
-- } donations change
-- { email change
CREATE TABLE IF NOT EXISTS emails (
id SERIAL PRIMARY KEY,
company INT NOT NULL REFERENCES companies ON DELETE CASCADE,
user_id INT REFERENCES users ON DELETE SET NULL,
ext_id VARCHAR(255) NOT NULL,
send_ts TIMESTAMPTZ NOT NULL DEFAULT CURRENT_TIMESTAMP,
update_ts TIMESTAMPTZ NOT NULL DEFAULT CURRENT_TIMESTAMP,
status VARCHAR(63) NOT NULL DEFAULT 'pending',
trigger EMAIL_TRIGGERS NOT NULL,
subject VARCHAR(255),
address VARCHAR(255)
);
CREATE INDEX IF NOT EXISTS email_ext_id ON emails USING btree (ext_id);
CREATE INDEX IF NOT EXISTS email_send_ts ON emails USING btree (send_ts);
CREATE INDEX IF NOT EXISTS email_update_ts ON emails USING btree (update_ts);
CREATE INDEX IF NOT EXISTS email_status ON emails USING btree (status);
CREATE INDEX IF NOT EXISTS email_trigger ON emails USING btree (trigger);
CREATE INDEX IF NOT EXISTS email_address ON emails USING btree (address);
CREATE INDEX IF NOT EXISTS email_user ON emails USING btree (user_id);
CREATE TABLE IF NOT EXISTS email_events (
id SERIAL PRIMARY KEY,
email INT NOT NULL REFERENCES emails ON DELETE CASCADE,
ts TIMESTAMPTZ NOT NULL DEFAULT CURRENT_TIMESTAMP,
status VARCHAR(63) NOT NULL,
extra JSONB
);
CREATE INDEX IF NOT EXISTS email_event_status ON email_events USING btree (status);
CREATE INDEX IF NOT EXISTS email_event_email ON email_events USING btree (email);
CREATE INDEX IF NOT EXISTS email_event_ts ON email_events USING btree (ts);
-- } email change
-- { search
CREATE TABLE IF NOT EXISTS search (
id SERIAL PRIMARY KEY,
company INT NOT NULL REFERENCES companies ON DELETE CASCADE,
user_id INT REFERENCES users ON DELETE CASCADE UNIQUE,
event INT REFERENCES events ON DELETE CASCADE UNIQUE,
label VARCHAR(255) NOT NULL,
active_ts TIMESTAMPTZ NOT NULL,
vector TSVECTOR NOT NULL
);
CREATE INDEX IF NOT EXISTS search_company ON search USING btree (company);
CREATE INDEX IF NOT EXISTS search_user ON search USING btree (user_id);
CREATE INDEX IF NOT EXISTS search_event ON search USING btree (event);
CREATE INDEX IF NOT EXISTS search_vector ON search USING gin (vector);
CREATE INDEX IF NOT EXISTS search_active_ts ON search USING btree (active_ts);
-- } search
-- { waiting-list
CREATE TABLE IF NOT EXISTS waiting_list (
id SERIAL PRIMARY KEY,
event INT REFERENCES events ON DELETE CASCADE,
user_id INT REFERENCES users ON DELETE CASCADE,
last_notified TIMESTAMPTZ NOT NULL DEFAULT '2000-01-01',
added_ts TIMESTAMPTZ NOT NULL DEFAULT CURRENT_TIMESTAMP
);
CREATE UNIQUE INDEX IF NOT EXISTS waiting_list_event_users ON waiting_list USING btree (event, user_id);
-- } waiting-list
|
SELECT
CASE
WHEN c > 0 THEN TRUE
ELSE FALSE
END AS status
FROM (
SELECT
COUNT(*) AS c
FROM
${table}_stg
)
;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.