sql
stringlengths
6
1.05M
ALTER TABLE codebases_garbage_collection_status SET codebase_id PRIMARY KEY; ALTER TABLE codebases_garbage_collection_status RENAME COLUMN completed_at TO last_collected_completed_at; ALTER TABLE codebases_garbage_collection_status RENAME COLUMN duration_millis TO last_collection_duration_millis;
<filename>moat369/sql/moat369_fc_call_section_sub.sql -- This code will call a section and print it. -- Param 1 = Section ID -- Param 2 = Section Name -- Param 3 = File Name DEF moat369_subsec_id = '&1.' DEF moat369_subsec_fl = '&2.' DEF moat369_subsec_nm = '&3.' UNDEF 1 2 3 @@&&skip_tkprof.moat369_0g_tkprof.sql DEF...
DROP TABLE IF EXISTS `site`; CREATE TABLE `site` ( `id` int(10) unsigned NOT NULL DEFAULT '0', `name` varchar(32) NOT NULL, `repo_uri` varchar(256) NOT NULL DEFAULT '__REPO_URI__', `parent_id` int(10) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `name` (`name`) ) ENGINE=InnoDB D...
<reponame>rampmaster/SyntaxisLite CREATE TABLE IF NOT EXISTS `a_comentarios` ( `com_id` int(11) NOT NULL AUTO_INCREMENT, `com_file` int(11) NOT NULL, `com_user` int(11) NOT NULL, `com_body` text NOT NULL, `com_fecha` int(10) NOT NULL, `com_ip` varchar(50) NOT NULL, PRIMARY KEY (`com_id`) ) ENGINE=InnoDB ...
<gh_stars>0 /* Warnings: - You are about to drop the `Sales` table. If the table is not empty, all the data it contains will be lost. - You are about to drop the `Stuff` table. If the table is not empty, all the data it contains will be lost. - You are about to drop the `_DutyToStuff` table. If the table is no...
<filename>database/laravel.sql -- phpMyAdmin SQL Dump -- version 4.8.5 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Dec 03, 2019 at 05:21 PM -- Server version: 10.1.38-MariaDB -- PHP Version: 7.3.2 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone ...
<reponame>geophile/sql-layer SELECT c1 FROM t1 WHERE NOT EXISTS (SELECT c1 FROM t2 WHERE t2.c3 = 4 AND t1.c1 = t2.c2)
<gh_stars>0 CREATE PROCEDURE [dbo].[uspConversationInsert] @ConversationID uniqueidentifier, @ConversationName nvarchar(100), @NegotiationID uniqueidentifier, @Deleted bit, @DeletedBy uniqueidentifier, @DeletedOn datetime AS SET NOCOUNT ON SET XACT_ABORT ON BEGIN TRAN INSERT INTO [dbo]...
-- phpMyAdmin SQL Dump -- version 4.5.1 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Jul 19, 2017 at 03:04 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_CL...
-- CREATE TABLE student_course ( -- stud_id INT REFERENCES student (stud_id) ON UPDATE CASCADE ON DELETE CASCADE, -- course_id INT REFERENCES course(course_id) ON UPDATE CASCADE ON DELETE CASCADE, -- CONSTRAINT student_course_pkey PRIMARY KEY (course_id, stud_id) -- ); -- Create table course_date -- CREATE TABLE...
insert into student (id, name, email, gender) values (1, '<NAME>', '<EMAIL>', 'MALE'); insert into student (id, name, email, gender) values (2, '<NAME>', '<EMAIL>', 'MALE'); insert into student (id, name, email, gender) values (3, '<NAME>', '<EMAIL>', 'FEMALE'); insert into student (id, name, email, gender) values (4, ...
-- phpMyAdmin SQL Dump -- version 4.8.4 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Jan 28, 2020 at 11:07 PM -- Server version: 10.1.37-MariaDB -- PHP Version: 7.3.0 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD...
/* ==Scripting Parameters== Source Server Version : SQL Server 2017 (14.0.1000) Source Database Engine Edition : Microsoft SQL Server Enterprise Edition Source Database Engine Type : Standalone SQL Server Target Server Version : SQL Server 2017 Target Database Engine Edition : Microsoft SQL Server Enterpris...
DROP TABLE targets;
<gh_stars>1-10 -- Definitions that are used in the processing files in this folder -- To enable processing of an additional currency (<NAME>) do the following: -- 0. In 0_run_fork_analysis.sql fork-fn add an additional CASE that returns the fork-height of <NAME> -- 1. Download <NAME>-blockchain -- 2. Export TX data of ...
<filename>lesson47trycatcherrorhandling/lesson47code.sql --1. using try/catch to create more stable code --2. never divide by zero because division by zero is not defined declare @counter decimal=-10 while @counter<=1 begin try select 1.00/@counter set @counter=@counter+1 end try begin catch s...
<filename>data/sk/postgres/subdivisions_EE.postgres.sql<gh_stars>10-100 CREATE TABLE subdivision_EE (id VARCHAR(6) NOT NULL, name VARCHAR(255), level VARCHAR(64) NOT NULL, PRIMARY KEY(id)); INSERT INTO "subdivision_EE" ("id", "name", "level") VALUES (E'EE-37', E'Harju maakond', E'county'); INSERT INTO "subdivision_EE"...
/* * Copyright (c) TIKI Inc. * MIT license. See LICENSE file in root directory. */ -- ----------------------------------------------------------------------- -- APP DATA -- ----------------------------------------------------------------------- CREATE TABLE app_data( id INTEGER PRIMARY KEY AUTOINCREMENT, ke...
<filename>src/main/resources/db/migration/nomis/ddl/V1_272__OFFENDER_SENT_CONDITIONS.sql CREATE TABLE "OFFENDER_SENT_CONDITIONS" ( "SENTENCE_SEQ" NUMBER(6,0) NOT NULL, "COMM_CONDITION_TYPE" VARCHAR2(12 CHAR) NOT NULL, "COMM_CONDITION_CODE" VARCHAR2(12 CHAR) NOT NULL, "START_DATE" DATE, "CONDITI...
<filename>Deprecated/sp_BlitzIndex_SQL_Server_2005.sql SET ANSI_NULLS ON; SET ANSI_PADDING ON; SET ANSI_WARNINGS ON; SET ARITHABORT ON; SET CONCAT_NULL_YIELDS_NULL ON; SET QUOTED_IDENTIFIER ON; SET STATISTICS IO OFF; SET STATISTICS TIME OFF; GO USE master; GO IF OBJECT_ID('dbo.sp_BlitzIndex') IS NOT NULL...
<filename>scripts/create/create_role_insert_all_tables.sql --Criando o ROLE CREATE ROLE proj_sqm_insert_all NOINHERIT; --Garantindo acesso ao schema sqm GRANT USAGE ON SCHEMA sqm TO proj_sqm_insert_all; --Garantindo SELECT em todas as tabelas GRANT INSERT ON ALL TABLES IN SCHEMA sqm TO proj_sqm_insert_all;
<gh_stars>0 USE Backbone; DROP PROCEDURE IF EXISTS GetTopicsForEntities; DELIMITER // CREATE PROCEDURE GetTopicsForEntities ( IN EntityType VARCHAR(20), IN entityIdArray VARCHAR(250) ) BEGIN #call DebugLog(ComponentId); SELECT entities.Topic, entities.PartitionNo, topicDetails.Compacted FROM...
-- An asynchronous job queue schema for ACID compliant job creation through -- triggers/functions/etc. -- -- Author: <NAME> <<EMAIL>> -- License: MIT -- URL: https://gist.github.com/benjie/839740697f5a1c46ee8da98a1efac218 -- Donate: https://patreon.com/benjie CREATE SCHEMA app_jobs; CREATE TABLE app_jobs.job_queues (...
DELETE FROM diagrams.activity; DELETE FROM diagrams.architecture_model_deploymentnodes; DELETE FROM diagrams.attribute; DELETE FROM diagrams.batchprocessing; DELETE FROM diagrams.bulkprocessing; DELETE FROM diagrams.concurrency; DELETE FROM diagrams.connector; DELETE FROM diagrams.connecttrigger; DELETE FROM diagrams."...
<gh_stars>1-10 with base as ( select * from {{ ref('stg_snapchat__ad_hourly_report_tmp') }} ), fields as ( select {{ fivetran_utils.fill_staging_columns( source_columns=adapter.get_columns_in_relation(ref('stg_snapchat__ad_hourly_report_tmp')), stagi...
/* 新增物流大屏和数据集 */ use aj_report_init; drop table if exists `aj_report_common2`; CREATE TABLE `aj_report_common2` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) DEFAULT NULL, `nums` int(11) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8; INSERT INTO `aj_repor...
<reponame>CUBRID/cubrid-testcase<gh_stars>0 autocommit off; select product_code, descr from joe.unsold_stock_v u intersection select product_code, descr from joe.deficit_stock_v d; rollback;
<filename>examples/kershaw/kershaw.udf<gh_stars>1-10 #include <math.h> #include <numeric> #include "udf.hpp" /* UDF Functions */ static dfloat P_EPS; void UDF_LoadKernels(occa::properties& kernelInfo) { } void UDF_Setup0(MPI_Comm comm, setupAide &options) { pla...
<filename>databases/mysql/migration/15_rule_data_sources.up.sql CREATE TABLE rule_data_sources ( rule_id INTEGER NOT NULL, data_source_id INTEGER NOT NULL, updated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY(rule_id, data_source_id) ); CREATE INDEX rule_data_sources_rule_...
-- -------------------------------------------------------- -- Host: 127.0.0.1 -- Server version: 10.4.17-MariaDB - mariadb.org binary distribution -- Server OS: Win64 -- HeidiSQL Version: 11.2.0.6213 -- -----------------------------------------------...
DELETE FROM `{c2r-prefix}_modules` WHERE `folder` = '{c2r-mod-folder}'; DROP TABLE IF EXISTS `{c2r-prefix}_4_files`;
<filename>sql/ddl.sql -- We are declaring the return type to be queue_classic_jobs. -- This is ok since I am assuming that all of the users added queues will -- have identical columns to queue_classic_jobs. -- When QC supports queues with columns other than the default, we will have to change this. CREATE OR REPLACE F...
<gh_stars>0 INSERT INTO pos_itemtemp VALUES("IATT190001937","193009","191001","192001","40000","1","40000","0","40000","1","1","1","IAT1208191003","NHO2018000007","PAID","","193009"), ("IATT190001937","193034","191001","192005","37000","1","37000","0","37000","1","1","1","IAT1208191003","NHO2018000007","PAID","","19303...
<reponame>vatslagarg/ecom-admin-pannel- -- phpMyAdmin SQL Dump -- version 4.9.1 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Apr 13, 2021 at 06:51 PM -- Server version: 10.4.8-MariaDB -- PHP Version: 7.3.11 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET t...
-- phpMyAdmin SQL Dump -- version 4.8.3 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Mar 25, 2019 at 04:58 PM -- Server version: 10.1.36-MariaDB -- PHP Version: 7.1.23 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OL...
<reponame>syiammudin/demo<filename>data.sql<gh_stars>0 -- MySQL dump 10.13 Distrib 5.7.27, for Linux (x86_64) -- -- Host: localhost Database: qapps -- ------------------------------------------------------ -- Server version 5.7.27-0ubuntu0.19.04.1 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /...
<filename>SQL_Code/StageTableLoad.sql<gh_stars>0 ingard', '<EMAIL>',' 2006-01-11 ','Administrative Assistant', 34809 , 'Distribution', 'Allison Gentle',' 2006-01-11 ',' 2100-01-06 ','West Coast', '705 James Way', 'San Francisco', 'CA', 'Some College'), ('E18697', '<NAME>', '<EMAIL>',' 1995-06-01 ','Administrative Assis...
<filename>packages/jobs/deploy/schemas/app_jobs/triggers/tg_update_timestamps.sql -- Deploy schemas/app_jobs/triggers/tg_update_timestamps to pg -- requires: schemas/app_jobs/schema BEGIN; CREATE FUNCTION app_jobs.tg_update_timestamps () RETURNS TRIGGER AS $$ BEGIN IF TG_OP = 'INSERT' THEN NEW.created_at = N...
<gh_stars>0 -- phpMyAdmin SQL Dump -- version 4.8.5 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Nov 11, 2019 at 01:12 AM -- Server version: 10.1.38-MariaDB -- PHP Version: 7.3.3 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40...
<reponame>sfc-gh-tkaminski/pomocua-ogloszenia create table job_offer ( id bigserial, title text, mode text, city text, voivodeship text, description text ); create table job_offer_type( job_offer_id bigint, type text ); create table job_offer_language ( job_offer_id bigint, lan...
<reponame>navikt/sykefravarsstatistikk-api<filename>src/main/resources/db/migration/V21__virksomheter_bekreftet_eksportert.sql create table virksomheter_bekreftet_eksportert ( orgnr varchar not null primary key, arstall smallint not null, kvartal smallint not null, opprettet timestamp defau...
SET QUOTED_IDENTIFIER ON GO SET ANSI_NULLS ON GO CREATE PROCEDURE [dbo].[SendAuthorPublishingNotifications] AS BEGIN --- Looks for schedule entries in the next n days which don't have a --- corresponding AuthorScheduleNotificationsLog entry (or differ from --- any log entry, e.g. if publish date has changed), and i...
-- +migrate Up CREATE TABLE rtokens ( token VARCHAR(511) NOT NULL UNIQUE PRIMARY KEY ); -- +migrate Down DROP TABLE rtokens;
<gh_stars>100-1000 -- walcrash2.test -- -- execsql { -- PRAGMA page_size = 1024; -- PRAGMA auto_vacuum = off; -- PRAGMA journal_mode = WAL; -- PRAGMA synchronous = NORMAL; -- BEGIN; -- CREATE TABLE t1(x); -- CREATE TABLE t2(x); -- CREATE TABLE t3(x); -- CREATE TABLE t4(x); -...
--! Previous: sha1:383a30f958d7433b9b8861d5ac11f094f13ab977 --! Hash: sha1:6112bca18db9e35616eae5e69ba63022852fcdfc --! Message: create-access-tokens -- Create access_tokens table -- Undo if rerunning DROP TABLE IF EXISTS access_tokens; -- Create table CREATE TABLE access_tokens ( id SERIAL PRIMARY ...
create table elastic_dispatcher_config ( config_id int not null auto_increment comment '配置id', config_name varchar(50) comment '配置名称', max_value int comment '最大值', current_value int comment '当前值', primary key (config_id), unique key (config_name) ) comment '全局配置'; create table elastic_dispatcher_worker ( ...
DROP TABLE IF EXISTS `runtime_data`; CREATE TABLE `runtime_data` ( `id` BIGINT(20) NOT NULL AUTO_INCREMENT, `test_plan_run_id` BIGINT(20) NOT NULL, `session_id` VARCHAR(256) NULL, `data` JSON DEFAULT NULL, `created_date` DATETIME DEFAULT CURRENT_TIMESTAMP, `update...
<gh_stars>0 ALTER TABLE status DROP waste_of_space; ALTER TABLE status ADD waste_of_space text;
<reponame>hyms/basic -- phpMyAdmin SQL Dump -- version 4.0.10deb1 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: May 07, 2015 at 02:57 PM -- Server version: 5.5.43-0ubuntu0.14.04.1 -- PHP Version: 5.5.9-1ubuntu4.9 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET ...
/*L Copyright SAIC Distributed under the OSI-approved BSD 3-Clause License. See http://ncip.github.com/cabio/LICENSE.txt for details. L*/ alter table GENE_RELATIVE_LOCATION disable constraint SYS_C0021104; alter table GENE_RELATIVE_LOCATION disable constraint SYS_C004489; alter table GENE_RELATIVE_L...
<gh_stars>1-10 /*L Copyright SAIC Distributed under the OSI-approved BSD 3-Clause License. See http://ncip.github.com/cabio/LICENSE.txt for details. L*/ set echo on delete from gene_tv where source='Entrez'; update gene_tv set entrez_id=null where source='Unigene'; commit; update zstg_entrez_gene x set x.cab...
<filename>schema/sdss5db/catalogdb/zari18/zari18ums_load.sql \o zari18ums_load.out \copy catalogdb.zari18ums from '/uufs/chpc.utah.edu/common/home/sdss50/sdsswork/target/catalogs/zari18/ums.csv' delimiter ',' null '---'; \o
<gh_stars>0 create table Employee ( id INT, first_name VARCHAR(50), email VARCHAR(50), avatar VARCHAR(255) ); insert into Employee (id, first_name, email, avatar) values (1, 'Edik', '<EMAIL>', 'https://robohash.org/illobeataeculpa.png?size=200x200&set=set1'); insert into Employee (id, first_name, email, avatar) val...
<reponame>D4rksung/upc_tp3-bd USE BDPetCenter CREATE PROCEDURE dbo.usp_PlanificarHospedaje @Anio INT AS BEGIN SET NOCOUNT ON DECLARE @FECHAS TABLE ( Fecha DATE ) DECLARE @FECHA_INI DATETIME, @FECHA_FIN DATETIME SET @FECHA_INI = LTRIM(STR(@Anio)) + '-01-01' SET @FECHA_FIN = DATEADD(YEAR,1,@FECHA_INI) ...
/********************************************************************************** * _author : <NAME> * _mail : <EMAIL> * _repo : https://git.tuxstash.de/gothseidank/labertasche * _license : This project is under MIT License **********************************************************************************...
<filename>db/sql/3329__create_table_vipunentk_f_Opettajat_taiteen_perusopetus_kelpoisuus_aine.sql USE [VipunenTK] GO /****** Object: Table [dbo].[f_Opettajat_taiteen_perusopetus_kelpoisuus_aine] Script Date: 26.2.2020 21:02:51 ******/ DROP TABLE IF EXISTS [dbo].[f_Opettajat_taiteen_perusopetus_kelpoisuus_aine] GO ...
-- CreateTable CREATE TABLE "l_s_users" ( "id" BIGSERIAL NOT NULL, "name" VARCHAR(30) NOT NULL, "email" VARCHAR(50) NOT NULL, "password" VARCHAR(16) NOT NULL, "created_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, "updated_at" TIMESTAMP(3) NOT NULL, "room_id" INTEGER NOT NULL, CO...
<reponame>SteversJE/OSSILE -- Return source membres list Create or Replace function OSSILE/LIST_SOURCE_MEMBERS ( Library CHAR(10), FILE char(10) , Member char(10) ) RETURNS TABLE (SRCNAME CHAR(10) , SRCTYPE CHAR(10), srcDATCRT DATE , s...
<filename>src/test/resources/sql/drop_table/0dde8dbe.sql<gh_stars>10-100 -- file:inet.sql ln:7 expect:true DROP TABLE INET_TBL
SELECT employee_id FROM employees WHERE job_id IS NULL order by employee_id;
<reponame>gypsydave5/marv<filename>test/migrations-dupe/002.test-3.sql 002.test-3.sql
<reponame>Jason0727/JShop-Admin -- ----------------------------- -- 导出时间 `2017-10-27 20:09:37` -- ----------------------------- -- ----------------------------- -- 表结构 `msx_crontab` -- ----------------------------- DROP TABLE IF EXISTS `crontab`; CREATE TABLE `crontab` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT...
<reponame>ytyaru/Sqlite3.Syntax.Update.20190908140817<gh_stars>0 create table T(A text); insert into T values('A'); insert into T values('B'); update T set A='C' where rowid=1; select * from T;
-- Final Project (Timeline: 3/20/2012 - 3/20/2015) -- Task 1: show volume growth, pull overall session and order volume, trended by quarter for the life of the business use mavenfuzzyfactory; select * from website_sessions; select * from orders; select year(website_sessions.created_at) as yr, quarter(website_se...
-- Copied from https://github.com/supabase/walrus/blob/5dd35b38cf80e3c99b0c91b7e0118b7993e45cf5/sql/setup.sql /* SETUP */ -- Set up Realtime create schema if not exists realtime; create publication supabase_realtime for all tables; -- Extension namespacing create schema extensions; create extension if not exists ...
<reponame>silasjr/alura-nodejs CREATE TABLE if not exists livros ( id BIGINT NOT NULL AUTO_INCREMENT , titulo varchar(100) NULL, preco double NULL, autor varchar(100) NULL, PRIMARY KEY(id) ); INSERT INTO livros (titulo, preco, autor) VALUES('NodeJS And Express', 29.9, 'Silas'), ('JavaEE 7', 69.9, 'Silas'), ('Mon...
/* @author: <NAME> @description: This library defines functions to expose extensions defined in QICore as fluent functions in CQL, as well as common terminology and functions used in writing CQL with FHIR and QICore profiles. */ library QICoreCommon using FHIR version '4.0.1' include FHIRHelpers version '4.0.1' code...
alter table UTILITYLIBRARY_AUTHOR_BOOK_LINK rename to UTILITYLIBRARY_AUTHOR_BOOK_LINK__U74080 ;
# ************************************************************ # Sequel Pro SQL dump # Version 5446 # # https://www.sequelpro.com/ # https://github.com/sequelpro/sequelpro # # Database: wework # Generation Time: 2021-08-12 08:30:51 +0000 # ************************************************************ /*!40101 SET @OLD...
<filename>openGaussBase/testcase/KEYWORDS/minute/Opengauss_Function_Keyword_Minute_Case0023.sql<gh_stars>0 -- @testpoint: opengauss关键字minute非保留),作为索引名,部分测试点合理报错 --前置条件,创建一个表 drop table if exists explain_test; create table explain_test(id int,name varchar(10)); --关键字不带引号-成功 drop index if exists minute; create index mi...
<reponame>Raju-Challagundla/ITCS-8160-051-Group-18<gh_stars>0 -- USE CampusEats_Fall_2021; DROP PROCEDURE IF EXISTS location_totalnumber_order; -- Change statement delimiter from semicolon to double front slash DELIMITER // CREATE PROCEDURE location_totalnumber_order ( in l_id int, out sum_number_order int) -- declar...
<gh_stars>0 #CREATE DATABSE CREATE DATABASE TwitterMining; use TwitterMining; CREATE TABLE `termo` ( `id_termo` int(11) unsigned NOT NULL AUTO_INCREMENT, `ds_termo` MEDIUMTEXT DEFAULT NULL, PRIMARY KEY (`id_termo`) ) ENGINE=InnoDB; CREATE TABLE `pesquisa` ( `id_pesquisa` int(11) unsigned NOT NULL AUTO_...
<gh_stars>0 -- phpMyAdmin SQL Dump -- version 4.9.0.1 -- https://www.phpmyadmin.net/ -- -- Host: localhost -- Generation Time: Nov 13, 2019 at 04:02 PM -- Server version: 10.4.6-MariaDB -- PHP Version: 7.2.22 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!...
-- phpMyAdmin SQL Dump -- version 4.8.4 -- https://www.phpmyadmin.net/ -- -- Máy chủ: 127.0.0.1 -- Thời gian đã tạo: Th4 22, 2019 lúc 08:41 AM -- Phiên bản máy phục vụ: 10.1.37-MariaDB -- Phiên bản PHP: 5.6.40 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*...
<gh_stars>0 drop database BDPrimitiva; create database BDPrimitiva; create database BDPrimitiva; create table users ( id int unique auto_increment primary key, CodCon varchar(8) not null, usuario varchar(191), email varchar(191) unique, password varchar(191), remember_token varchar(100), created_at timest...
<gh_stars>0 DROP SCHEMA IF EXISTS SocialMeals; DROP USER IF EXISTS 'userSocialMeals'@'%'; CREATE SCHEMA SocialMeals; CREATE USER 'userSocialMeals'@'%' IDENTIFIED BY 'pwSocialMeals'; GRANT ALL PRIVILEGES ON SocialMeals . * TO 'userSocialMeals'@'%';
\echo # Loading all the types necessary for match data.
-- ============================================= -- Author: <NAME> -- Create date: 19/02/2017 -- Update date: 19/11/2017 <NAME> Change Concat to inner query -- Description: Set Always on availability groups to Async -- ============================================= CREATE PROCEDURE [VerDeploy].[usp_Util_SetAGToAsy...
-- MySQL dump 10.11 -- -- Host: 172.16.31.10 Database: bbp1 -- ------------------------------------------------------ -- Server version 5.0.92-log /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECT...
drop table organization_metadata;
-- Adminer 4.3.1 MySQL dump SET NAMES utf8; SET time_zone = '+00:00'; SET foreign_key_checks = 0; SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO'; DROP TABLE IF EXISTS `a_groups`; CREATE TABLE `a_groups` ( `group_id` varchar(255) NOT NULL, `username` varchar(255) DEFAULT NULL, `name` varchar(255) NOT NULL, `private_li...
CREATE TABLE modifiers ( id SERIAL NOT NULL PRIMARY KEY, displayName TEXT NOT NULL UNIQUE ); INSERT INTO modifiers (displayName) VALUES ('CutClean'), ('Fast Smelting'), ('Beta Zombies'), ('Hasty Boys'), ('Veinminer'), ('Timber');
<reponame>jeffersonfantasia/SQL_Scripts SELECT T.CHAVECTE, T.DTENT, T.DTEMISSAO, T.CODFILIALNF, T.NUMNOTA, T.CODFORNEC, F.FORNECEDOR, T.VLTOTAL FROM PCNFENT T, PCFORNEC F WHERE T.CODFORNEC = F.CODFORNEC AND ESPECIE = 'CT' AND CODFORNEC IN (:CODFORNEC) AND DTE...
CREATE TABLE [dbo].[CategoryTemp] ( [CategoryId] BIGINT NOT NULL, [RecipeId] BIGINT NULL, [DisplayOrder] BIGINT NULL, [Description] VARCHAR (50) NULL );
<filename>sql/620-Not Boring Movies.sql<gh_stars>1-10 -- 620. Not Boring Movies -- mysql -- 1st select * from cinema where id%2=1 and description not like '%boring%' order by rating desc; -- 2nd select * from cinema where MOD(id,2)=1 and description not like '%boring%' order by rating desc;
CREATE TABLE table_04( Country VARCHAR(44) ,A2 VARCHAR(3) ,A3 VARCHAR(3) ,Number VARCHAR(3) ); INSERT INTO table_04(Country,A2,A3,Number) VALUES ('AALAND ISLANDS','AX','ALA','248') ,('AFGHANISTAN','AF','AFG','004') ,('ALBANIA','AL','ALB','008') ,('ALGERIA','DZ','DZA','012') ,('AMERICAN SAMOA','AS',...
create or replace package com_fos_advanced_password as procedure render ( p_item apex_plugin.t_item , p_plugin in apex_plugin.t_item , p_plugin in apex_plugin.t_plugin , p_param in apex_plugin.t_item_render_param , p_result in out nocopy apex_plugin.t...
<reponame>instaql/instaql -- Deploy projects/totp/procedures/generate_secret to pg -- requires: totp:procedures/generate_secret BEGIN; -- XXX Add DDLs here. COMMIT;
create or replace package paypal_util_pkg as /* Purpose: Package handles PayPal REST API Remarks: see https://developer.paypal.com/webapps/developer/docs/api/ see https://developer.paypal.com/webapps/developer/docs/integration/direct/make-your-first-call/ s...
<reponame>Shuttl-Tech/antlr_psql<gh_stars>10-100 -- file:insert_conflict.sql ln:379 expect:true insert into testoids values(1, '1') on conflict (key) do update set data = excluded.data RETURNING *
<filename>Trader.Data.Sql.Database/Procedures/SetOrder.sql CREATE PROCEDURE [dbo].[SetOrder] @Symbol NVARCHAR(100), @OrderId BIGINT, @OrderListId BIGINT, @ClientOrderId NVARCHAR(100), @Price DECIMAL (18,8), @OriginalQuantity DECIMAL (18,8), @ExecutedQuantity DECIMAL (18,8), @Cummulative...
<reponame>RMTT/gpupgrade<gh_stars>10-100 -- Copyright (c) 2017-2021 VMware, Inc. or its affiliates -- SPDX-License-Identifier: Apache-2.0 -- Columns having an index on a tsquery column can't be altered, so generate a drop statement for them SELECT $$DROP INDEX $$ || pg_catalog.quote_ident(n.nspname) || '.' || pg_cata...
<filename>DB NEW/warnasol.sql -- phpMyAdmin SQL Dump -- version 4.8.3 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Waktu pembuatan: 27 Des 2019 pada 12.40 -- Versi server: 10.1.37-MariaDB -- Versi PHP: 7.2.12 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00...
CREATE DATABASE IF NOT EXISTS db1; USE db1; CREATE TABLE IF NOT EXISTS t1(a int, b varchar); INSERT INTO t1 VALUES(1, 'v1'),(2,'v2'); SELECT * FROM t1; DROP TABLE t1; DROP DATABASE db1;
-- #创建一张新闻表, -- 1:表名 xz_news -- 2:几列 4列 -- 3:列名 id / title / img_url / ctime / point/content -- 4:类型 int varchar(255) varchar(255) /datatime / int /varchar(2000) -- 5:添加20条 CREATE TABLE xz_news( id INT AUTO_INCREMENT PRIMARY KEY , title VARCHAR(255), img_url VARCHAR(255), ctime DATATIME, point Int,...
<gh_stars>0 ALTER TABLE cron_scripts DROP COLUMN frequency_s;
<filename>src/test/resources/com/foundationdb/sql/unparser/alter-table-27.sql ALTER TABLE test.t DROP PRIMARY KEY
<filename>packaging/dbscripts/upgrade/03_05_0050_event_notification_methods.sql<gh_stars>1-10 -- DROP event_notification_methods - redundant table ALTER TABLE event_subscriber DROP CONSTRAINT fk_event_subscriber_event_notification_methods; DROP TABLE event_notification_methods ; -- save EventNotificationMethod as stri...
select * from {{ var('item') }}
<reponame>test-coverage-enforce-bot/wso2-ode<filename>schema-updates/update02.sql create table ODE_JOB_BAK as select * from ODE_JOB; alter table ODE_JOB add instanceId number(37); alter table ODE_JOB add mexId varchar(255); alter table ODE_JOB add processId varchar(255); alter table ODE_JOB add type varchar(255); alter...