sql
stringlengths
6
1.05M
--get all Run As profiles and associated accounts, --credentials, Secure Storage ID values and targets SELECT [Profile].SecureReferenceName ProfileName , Account.Name AccountName , Account.Domain , Account.UserName , Account.LastModified , [Override].OverrideName , [Override].Value SSID , bme.FullName , mt.Ty...
<gh_stars>1-10 -- -- Table structure for table `sa_provinces` -- CREATE TABLE `sa_provinces` ( `id` int(11) NOT NULL, `nameAr` varchar(64) NOT NULL, `nameEn` varchar(64) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='SA provinces'; -- -- Dumping data for table `sa_provinces` -- INSERT INTO `sa_provinc...
-- 1. Совершение операции при просроченном или заблокированном паспорте. -- (1) Транзакции только за этот день и предыдущий, накоплением. -- (2) Данные таблицы измерения актуальные только на этот момент времени. -- (3) Не удаленные строки. -- (4) Последний день срока действия паспорта - не преступление. -- (5) Уби...
<reponame>gregory-akins/clinical_quality_language library CMS26 version '2' /* ============================================================================ * QDM Logic * ============================================================================ * Initial Patient Population = * AND: "Diagnosis, Active: Asthma...
<filename>goci-core/goci-db-binding/src/main/resources/db/migration/V2.6_0_001__Create_Weekly_Reports.sql /* ################################################################################ Creating Weekly Reports table author: <NAME> date: 9 October 2020 version: 2.6.0.001 ######################################...
<reponame>qtweng/trafficcontrol /* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
-- Convert schema '/home/david/dev/EPPlication/script/../lib/EPPlication/Util/../../../db_upgrades/_source/deploy/46/001-auto.yml' to '/home/david/dev/EPPlication/script/../lib/EPPlication/Util/../../../db_upgrades/_source/deploy/47/001-auto.yml':; ; BEGIN; ; ALTER TABLE step ADD COLUMN condition character varying DE...
-- phpMyAdmin SQL Dump -- version 5.0.2 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1:3306 -- Generation Time: Oct 09, 2020 at 03:52 PM -- Server version: 8.0.19 -- PHP Version: 7.4.5 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@...
<reponame>rahulsinghsisodiya/yii2 -- phpMyAdmin SQL Dump -- version 4.0.10deb1 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: May 22, 2017 at 06:05 PM -- Server version: 5.5.54-0ubuntu0.14.04.1 -- PHP Version: 5.6.30-7+deb.sury.org~trusty+1 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone ...
-- @testpoint: max函数参数为字符串类型 select max('true') from sys_dummy;
<filename>sql_migration/migrations/20200830000000-modify_column_to_bills_table.sql -- +migrate Up alter table bills alter column billing_date type timestamptz using billing_date::timestamptz; alter table bills alter column payment_confirmed_at type timestamptz using payment_confirmed_at::timestamptz; -- +migrate Down ...
<reponame>sguess/myLearn select * from sguessobj.sina_status_raw_data_table order by id desc limit 2;
<gh_stars>0 CREATE TABLE "session" ( "sid" varchar NOT NULL COLLATE "default", "sess" jsonb NOT NULL, "expire" timestamp(6) NOT NULL ) WITH (OIDS=FALSE); ALTER TABLE "session" ADD CONSTRAINT "session_pkey" PRIMARY KEY ("sid") NOT DEFERRABLE INITIALLY IMMEDIATE; CREATE INDEX "IDX_session_expire" ON "session" ...
create table salary ( id bigint auto_increment primary key, value bigint null ); create table employee ( id bigint auto_increment primary key, name varchar(255) null, salary_id bigint null, constraint EMPLOYEE_KEY foreign key (salary_id) references salary (id) );
<filename>sysmon.sql -- phpMyAdmin SQL Dump -- version 5.0.4 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Waktu pembuatan: 30 Jun 2021 pada 10.50 -- Versi server: 10.4.16-MariaDB -- Versi PHP: 7.4.12 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHA...
<filename>config/schema/sql/croogo_data.sql<gh_stars>1-10 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; -- -- Dumping data for table `acos` -- INSERT IGNORE INTO `acos` (`id`, `parent_id`, `model`, `foreign_key`, `alias`, `lft`, `rght`) VALUES (1, NULL, NULL, NULL, 'controllers', 1, 352), (2, 1, NULL, NULL, 'Attachments', 2,...
<reponame>ocpang/kanaka -- phpMyAdmin SQL Dump -- version 4.8.3 -- https://www.phpmyadmin.net/ -- -- Host: localhost:3306 -- Generation Time: Jun 19, 2019 at 05:03 PM -- Server version: 10.2.24-MariaDB -- PHP Version: 7.2.7 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = ...
<gh_stars>100-1000 DO $$ DECLARE t_row games%rowtype; BEGIN FOR t_row in (SELECT DISTINCT games.id FROM games LEFT JOIN rounds ON games.id = rounds.game_id WHERE rounds.game_id IS NULL) LOOP INSERT INTO rounds (game_id, value, order_sequence) VALUES (t_row.id, 'taboo', 0), (t_row.id, 'charades', 1), (t...
<gh_stars>10-100 -- file:plpgsql.sql ln:2239 expect:true select excpt_test2()
<reponame>Ambal/mangos ALTER TABLE `creature_template` ADD `scale` float default '0' AFTER `speed`;
<gh_stars>0 -- phpMyAdmin SQL Dump -- version 4.7.4 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Nov 30, 2017 at 10:08 AM -- Server version: 10.1.28-MariaDB -- PHP Version: 7.1.10 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!4...
<gh_stars>0 /*################ # create triggercheck to insert updatetrigger for facetcache #################*/ DROP PROCEDURE IF EXISTS CheckFacetCacheUpdateTriggerTableAndExceuteSql $$ CREATE PROCEDURE `CheckFacetCacheUpdateTriggerTableAndExceuteSql` (triggername CHAR(255), triggeredsql TEXT) DETERMINISTIC ...
<reponame>raghava219/DPSCreationforARDS select sum(ola.unit_selling_price) as Total_Price from ont.oe_order_headers_all oha, ont.oe_order_lines_all ola, xxeom.xxeom_inv_item_ml_desc xitm, apps.mtl_system_items msi where oha.ORG_ID = msi.ORGANIZATION_ID and oha.header_id = ola.header_id and msi.INVENTORY_ITEM_ID = ola...
-- This Source Code Form is subject to the terms of the Mozilla Public -- License, v. 2.0. If a copy of the MPL was not distributed with this -- file, You can obtain one at http://mozilla.org/MPL/2.0/. -- -- Copyright 1997 - July 2008 CWI, August 2008 - 2016 MonetDB B.V. -- (co) <NAME> -- The UUID type comes with a f...
<filename>tests/queries/0_stateless/01226_dist_on_dist_global_in.sql SELECT 'GLOBAL IN'; select * from remote('localhost', system.one) where dummy global in (0); select * from remote('localhost', system.one) where toUInt64(dummy) global in numbers(1); select * from remote('localhost', system.one) where dummy global in ...
select age-10, *, length(name) from people
<gh_stars>0 -- create describe (callback) function -- both input and output type must be internal CREATE OR REPLACE FUNCTION project_desc(internal) RETURNS internal AS '$libdir/tabfunc_gppc_demo', 'project_describe' LANGUAGE C; -- create dynamic return type (drt) table function -- using...
<reponame>clouserw/olympia INSERT INTO waffle_switch_amo (name, active, note) VALUES ('replace-sphinx', 0, 'This replaces sphinx for Personas and Collections ' '("site search" results)'); INSERT INTO waffle_switch_mkt (name, active, note) VALUES ('replace-sphinx', 0, 'This r...
set names utf8; drop table if exists t; drop table if exists dim; create table t(i int,n1 nchar(10),n2 nchar(10)) collate utf8_ko_cs; insert into t values(1,N'袂',N'袂'),(2,N'金',N'金'),(3,N'가',N'가'),(4,N'간',N'간'); alter table t change column n2 n2 nchar(10) collate utf8_ko_cs_uca; create index i on t(n1,n2 desc); show f...
<gh_stars>0 -- phpMyAdmin SQL Dump -- version 4.8.4 -- https://www.phpmyadmin.net/ -- -- Host: localhost -- Generation Time: Aug 01, 2019 at 02:24 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"; /*!40...
<filename>src/main/resources/db/migration/V1__Create_user_table.sql create table USER ( ID int not null IDENTITY PRIMARY KEY, NAME varchar(100) not null );
<filename>databasescript/database.sql CREATE DATABASE shoppingcart; CREATE TABLE `brands` ( `brand_id` int(100) NOT NULL, `brand_title` text NOT NULL ); -- -- Dumping data for table `brands` -- INSERT INTO `brands` (`brand_id`, `brand_title`) VALUES (1, 'HP'), (2, 'Samsung'), (3, 'Apple'), (4, 'Sony'), (5, 'LG...
DROP DATABASE IF EXISTS BBB; CREATE DATABASE BBB; USE BBB; CREATE TABLE User ( id int NOT NULL AUTO_INCREMENT, user varchar(150) NOT NULL, email VARCHAR(150) NOT NULL, passcode VARCHAR(150) NOT NULL, PRIMARY KEY (ID) ); INSERT INTO User (id, user, email, passcode) VALUES (1, "Panchito", "<EMAIL>", "<PASSW...
<gh_stars>0 CREATE TABLE users ( id SERIAL PRIMARY KEY, chat_id INT, telegram_name VARCHAR(2000) NOT NULL ); CREATE UNIQUE INDEX XI_USER_TG_NAME ON users(telegram_name); CREATE TABLE notifications ( id SERIAL PRIMARY K...
-- MySQL Script generated by MySQL Workbench -- Sat Dec 9 18:27:14 2017 -- Model: New Model Version: 1.0 -- MySQL Workbench Forward Engineering SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0; SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0; SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TR...
SELECT * from images ORDER BY created_at DESC LIMIT %s OFFSET %s;
<gh_stars>0 SELECT source_id, ra, dec, pmra, pmra_error, pmdec, pmdec_error, parallax, parallax_error, phot_g_mean_mag AS g, bp_rp, astrometric_excess_noise, astrometric_chi2_al, astrometric_n_good_obs_al, phot_bp_rp_excess_factor FROM gaiadr2.gaia_source WHERE l > 180 AND l < 275 AND b > -35 AND b < 10 AND pmra > 5 AN...
/*==============================================================*/ /* DBMS name: MySQL 5.0 */ /* Created on: 2019/7/16 22:43:28 */ /*==============================================================*/ SET NAMES utf8mb4; SET FOREIGN_KEY_CHECKS = 0; drop ...
<filename>src/test/resources/quota.test_1.sql -- quota.test -- -- execsql { -- PRAGMA page_size=1024; -- PRAGMA auto_vacuum=OFF; -- PRAGMA journal_mode=DELETE; -- } PRAGMA page_size=1024; PRAGMA auto_vacuum=OFF; PRAGMA journal_mode=DELETE;
create table json ( id INT NOT NULL PRIMARY KEY, object JSON );
<reponame>Shuttl-Tech/antlr_psql<gh_stars>10-100 -- file:foreign_data.sql ln:346 expect:true ALTER FOREIGN TABLE ft1 SET WITH OIDS
<filename>dockerfiles/install_extensions.sql CREATE EXTENSION IF NOT EXISTS fuzzystrmatch;
-- File which fails on templating and lexing errors. SELECT {{ something }} as trailing_space , 3 + FROM SELECT FROM
<filename>recipes/tables/image.sql<gh_stars>1-10 # image.sql # create a table to hold images DROP TABLE IF EXISTS image; #@ _CREATE_TABLE_ CREATE TABLE image ( id INT UNSIGNED NOT NULL AUTO_INCREMENT, # image ID number name VARCHAR(30) NOT NULL, # image name type VARCHAR(20) NOT NULL, ...
-- creates a sample relational car dealer table CREATE TABLE ADMIN.DEALER ( NAME VARCHAR2 (100) , ADDRESS VARCHAR2 (100) , MAKE VARCHAR2 (20) ) TABLESPACE DATA LOGGING ;
<filename>lab4/rezolvare.sql<gh_stars>0 /* ############################ ANTET PACHET ##################################### */ CREATE OR REPLACE PACKAGE management_facultate IS PROCEDURE varsta_student (p_data_nastere IN studenti.data_nastere%type, p_numar_ani OUT integer, p_numar_luni O...
<reponame>capitalch/trace -- -- PostgreSQL database dump -- -- Dumped from database version 12.3 -- Dumped by pg_dump version 12.3 SET statement_timeout = 0; SET lock_timeout = 0; SET idle_in_transaction_session_timeout = 0; SET client_encoding = 'UTF8'; SET standard_conforming_strings = on; SELECT pg_catalog.set_con...
CREATE OR REPLACE FUNCTION seleccionaTodoCategoria() RETURNS Table( idCategoria int, nombreCategoria varchar, descripcionCategoria varchar ) AS $$ SELECT * FROM Categoria; $$ LANGUAGE sql select * from seleccionaTodoCategoria(); create or replace procedure spInsertarCategoria( in nombre varchar, ...
<reponame>GregEakin/NutrishSr28<gh_stars>1-10 -- This file is a support file to the LanguaL Factor file and contains the descriptions for -- only those factors used in coding the selected food items codes in this release of SR. CREATE TABLE LANGDESC ( FACTOR_CODE CHAR(5) PRIMARY KEY NOT NULL, DESCRIPTION VARCHAR(14...
<reponame>prodypanda/mail-check -- ----------------------------------------------------- -- Table `dmarc`.`ip_address` -- ----------------------------------------------------- CREATE TABLE IF NOT EXISTS `dmarc`.`ip_address` ( `id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, `address` VARCHAR(255) NULL DEFAULT NULL, ...
<reponame>Vishal19111999/addons-server<gh_stars>0 CREATE TABLE `api_apikeyconfirmation` ( `created` datetime(6) NOT NULL, `modified` datetime(6) NOT NULL, `user_id` integer NOT NULL PRIMARY KEY, `token` varchar(20) NOT NULL, `confirmed_once` bool NOT NULL ); ALTER TABLE `api_apikeyconfirmation` ADD ...
CREATE TABLE `{table}` ( `id` integer unsigned NOT NULL PRIMARY KEY AUTO_INCREMENT, `server` integer unsigned NOT NULL, `repository` integer unsigned NULL, `path` varchar(128) NOT NULL, `code` varchar(64) NOT NULL, `name` varchar(64) NOT NULL, `appversion` varchar(64) NULL, `apptype` varchar(16) NULL,...
<gh_stars>10-100 alter table user_profile add column alert_preference integer default 0 not null;
<filename>openGaussBase/testcase/KEYWORDS/trailing/Opengauss_Function_Keyword_Trailing_Case0021.sql -- @testpoint:opengauss关键字trailing(保留),作为函数名 --关键字不带引号-失败 drop function if exists trailing; create function trailing(i integer) returns integer as $$ begin return i+1; end; $$ language plpgsql; / --关键字带双引号-成功 drop...
<reponame>XinyanXiang/cs257<gh_stars>0 -- queries.sql -- Written by <NAME> -- List all the NOCs (National Olympic Committees), in alphabetical order by abbreviation. SELECT nocs.noc FROM nocs ORDER BY nocs.noc; -- List the names of all the athletes from Kenya, sorted by surname. SELECT DISTINCT athletes.given_name, a...
<filename>SOFTTEK/softtek.scms.net/SOFTTEK.SCMS.DB/Procedures/spSRAGetEmployeeActivitiesInPeriod.sql CREATE PROCEDURE [dbo].[spSRAGetEmployeeActivitiesInPeriod] @token_id nvarchar(50), @employee_id int, @activities_from datetime, @activities_to datetime AS SELECT [TBL_SRA_ACTIVITY].activity_code, [TBL_SRA_AC...
CREATE TABLE t_detail_pembelian_customer ( id_detail_pembelian INT(11) PRIMARY KEY AUTO_INCREMENT, tgl_pembelian DATETIME, id_barang INT(11) NOT NULL ); ALTER TABLE t_detail_pembelian_customer ADD CONSTRAINT id_barang_pembelian_customer FOREIGN KEY fk_id_barang_pembelian_customer(id_barang) REFERENCES m_ba...
-- phpMyAdmin SQL Dump -- version 5.1.1 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Dec 18, 2021 at 09:34 PM -- Server version: 10.4.21-MariaDB -- PHP Version: 7.4.25 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIE...
# Fix the recurring invoices frequency ALTER TABLE `ip_invoices_recurring` CHANGE `recur_frequency` `recur_frequency` VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL; ALTER TABLE `ip_invoice_items` ADD `item_is_recurring` TINYINT(1) AFTER `item_order`; # Add invoice_currency to ip_invoices ALTE...
ALTER TABLE [dbo].[RUNTIME_ITEM_REVISION_PAIRS] ADD CONSTRAINT [FK_RT_ItemRevPairs2] FOREIGN KEY (RightMigrationItemId) REFERENCES RUNTIME_MIGRATION_ITEMS (Id)
select date(c.datetime) as date, coalesce(v.users, 0) as users, coalesce(v.views, 0) as views from calendar c left join( select date(datetime) as date, count(distinct cid) as users, count(id) as views from visits group by date) v on date(c.datetime) = v.date where date(c.datetime) between date("{{t0...
<filename>Resources/DdlFiles/Tables/Create/StepOneQuestionnaireDeploymentLocations.ddl CREATE TABLE IF NOT EXISTS StepOneQuestionnaireDeploymentLocations ( StepOneQuestionnaireDeploymentLocation_ID INTEGER PRIMARY KEY, StepOneQuestionnaire_ID INTEGER NOT NULL, Location_ID INTEGER NOT NULL, UNIQUE (StepO...
<reponame>purush7/migrate<gh_stars>1000+ ALTER TABLE users ADD city varchar(100);
ALTER TABLE [dbo].[CapInstance] ADD CONSTRAINT [CHK_CapInstance_NoEmptyStrings] CHECK ([Note]<>'');
CREATE TABLE [dbo].[roadkill_pages] ( [Id] [int] IDENTITY(1,1) NOT NULL, [Title] [nvarchar](255) NOT NULL, [Tags] [nvarchar](255) NULL, [CreatedBy] [nvarchar](255) NOT NULL, [CreatedOn] [datetime] NOT NULL, [IsLocked] [bit] NOT NULL, [ModifiedBy] [nvarchar](255) NULL, [ModifiedOn] [datetime] NULL, PR...
-- One admin user, named admin1 with passwor <PASSWORD> and authority admin INSERT INTO users(username,password,enabled) VALUES ('admin1','<PASSWORD>',TRUE); INSERT INTO authorities VALUES ('admin1','admin'); -- One owner user, named owner1 with passwor <PASSWORD> INSERT INTO users(username,password,enabled) VALUES ('o...
<gh_stars>1-10 /* Navicat Premium Data Transfer Source Server : MYSQL57 Source Server Type : MySQL Source Server Version : 50718 Source Host : localhost:3306 Source Schema : boo_wfms Target Server Type : MySQL Target Server Version : 50718 File Encoding : 65001 Date:...
CREATE OR REPLACE PROCEDURE create_archivisation_table(IN schema TEXT, IN archivisation_table TEXT) AS $$ BEGIN EXECUTE 'CREATE TABLE IF NOT EXISTS ' || schema || '.' || archivisation_table || ' ( persistence_id TEXT NOT NULL, min_sequence_number BIGINT NOT NULL, max_sequence_numb...
ALTER TABLE `r05_seleccion_previa_aretes` ADD COLUMN `r02_arete_azul` VARCHAR(50) NULL DEFAULT NULL COMMENT 'Arete Azul' AFTER `r02_id`; ALTER TABLE `r02_aretes` ADD COLUMN `r02_arete_azul` VARCHAR(50) NULL DEFAULT NULL COMMENT 'Arete Azul' AFTER `r02_fechaPendiente`;
<filename>database-file/bookhunter.sql -- phpMyAdmin SQL Dump -- version 5.0.4 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Dec 28, 2020 at 07:06 AM -- 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"; ...
CREATE TABLE [Serwis].[DimStatusy_Zamowien] ( [Status_Id] INT NOT NULL, [Status] VARCHAR (25) NOT NULL, PRIMARY KEY CLUSTERED ([Status_Id] ASC) );
<gh_stars>0 /* // Original Chore Object Format { short_desc: item.short_desc, // STR: Short description of the chore long_desc: item.long_desc, // STR: Long description of the chore morning: false, // BOOL: This chore happens every morning night: false, // BOOL: This chore happens every night dwm: 'd', // CHA...
 /* IF EXISTS (SELECT name FROM sysobjects WHERE (name = 'PopulationTriggerEvent_InsertUpdate' AND type = 'P')) DROP PROCEDURE dbo.PopulationTriggerEvent_InsertUpdate GO */ CREATE PROCEDURE dbo.PopulationTriggerEvent_InsertUpdate /* STORED PROCEDURE - INPUTS (BEGIN) */ @triggerEventId BIGI...
<reponame>anbya/contohUploadKeGit<filename>closedaydata/OLD/IAT2008190923.sql INSERT INTO pos_itemtemp VALUES("IATT190002106","193052","191002","192010","20000","1","20000","0","20000","1","1","1","IAT2008190923","NHO2018000007","PAID","","193052"), ("IATT190002107","193036","191001","192006","36000","1","36000","12960...
<reponame>vose2008/chili-mobile create table bbs_newsContent ( news_id int unsigned not null primary key, author author_id author_img replies hits post_time title content )
--выборка из таблицы customers схемы magazine SELECT * FROM magazine.customers; --выборка из таблицы orders схемы magazine SELECT * FROM magazine.orders; --выборка из таблицы subscriptions схемы magazine SELECT * FROM magazine.subscriptions; --запрос соединяющий данные таблиц customers и or...
Node %BaseTexture { string %Category { "Texturing" } string %NodeType { "Texture" } unsigned_int8 %Color { 0, 89, 153 } string %CodeMaterialParams { "Texture2D BaseTexture @Default(\"$prop0\");" } string %CodePixelSamplers { " Texture2D BaseTexture; SamplerState BaseTexture_AutoSampler; " } Property %Text...
CREATE OR REPLACE PACKAGE STD_CONVERT IS /* * STDLIB for Oracle Forms 10g * Copyright (c) 2017, <NAME> * License: MIT */ ------------------------------------------------------------------------------ -- Public API ------------------------------------------------------------------------------ ...
<filename>Gestion_bodega.sql CREATE DATABASE gestion_bodega; USE gestion_bodega; CREATE TABLE personal( rut VARCHAR(50) NOT NULL, nombre VARCHAR(50) NOT NULL, apellido VARCHAR(50) NOT NULL, cargo VARCHAR(50) NOT NULL, contraseña VARCHAR(50) NOT NULL, PRIMARY KEY(rut) )charset=latin1; CREATE TABLE...
<gh_stars>1-10 -- name: CreateTable create table person(id varchar(100), age int); -- name: AddAll insert into person(id, age) values(':id', ':age'); -- name: ListAll select id, age from person order by id;
-- Theme (typically layer file) paths not in the theme manager folder SELECT Data_Path, count(*) FROM [reorg].[dbo].[THEMEMANAGER_20171207] where data_path not like 'X:\GIS\ThemeMgr\%' and data_path not like 'X:\ESRI_Data\%' group by data_path order by data_path -- bad/unknown workspace paths SELECT Workspace_Path, ...
<reponame>iuri/tutortronics -- -- Upgrade script -- -- Renamed workflow_case__delete to workflow_case_pkg__delete to prevent clash with old acs-workflow package -- -- <NAME> (<EMAIL>) -- -- $Id: upgrade-1.0d3-1.0d4.sql,v 1.1.1.1 2006/10/25 17:55:34 cvs Exp $ -- This needs to be recreated to use the renamed workflow_ca...
<reponame>MathiasMeuleman/mapped-measures-dataset /* * query for computing statistics of testset */ -- view for prefiltering create view musicsample_view as select * from musicsample where filename not like 'morestuff/%'; select sum(m.staffs) as "staffs", round(sum(100*cast(m.staffs as numeric)/s.x),2) as...
create function get_pictures_watched_by_user(user_id T_UsersID) returns table as return ( select Pictures.ID from Pictures inner join Watches on Pictures.ID = Watches.PictureID inner join Users on Watches.UserID = Users.ID where Users.ID = user_id and Watches.Reposted = 0 ) go create function get_pictures_repos...
<reponame>lucasrodrigues147/You-Fitness -- -------------------------------------------------------- -- Servidor: localhost -- Versão do servidor: 5.7.29-0ubuntu0.18.04.1 - (Ubuntu) -- OS do Servidor: Linux -- HeidiSQL Versão: 11.0.0.5919 -- ----------------------...
-- report views DROP VIEW IF EXISTS public.v_report_benthic_cover; DROP VIEW IF EXISTS public.v_report_annotation_status_by_annotator; DROP VIEW IF EXISTS public.v_report_annotation_status_by_team; Drop VIEW if exists public.v_report_assignment_status_by_file; Drop VIEW if exists public.v_report_assignment_status; D...
-- Define medical service types -- Create medical services database table DROP TABLE IF EXISTS `m_service_types`; CREATE TABLE IF NOT EXISTS `m_service_types`( `id` BIGINT NOT NULL AUTO_INCREMENT comment 'auto-increment id', `name` varchar(100) not null comment 'service name', `description` varchar(200) comment...
-- Grants dumped for users: kamailio,kamailioro GRANT USAGE ON *.* TO 'kamailio'@'%' IDENTIFIED BY PASSWORD <PASSWORD>'; GRANT ALL PRIVILEGES ON `kamailio`.* TO 'kamailio'@'%'; GRANT USAGE ON *.* TO 'kamailio'@'localhost' IDENTIFIED BY PASSWORD <PASSWORD>'; GRANT ALL PRIVILEGES ON `kamailio`.* TO 'kamailio'@'localhost'...
<gh_stars>10-100 -- begin BPM_PROC_DEFINITION create table BPM_PROC_DEFINITION ( ID varchar2(32 char), CREATE_TS timestamp, CREATED_BY varchar2(50 char), VERSION integer, UPDATE_TS timestamp, UPDATED_BY varchar2(50 char), DELETE_TS timestamp, DELETED_BY varchar2(50 char), -- NAME...
<filename>FUNCTION/GET_STR_EL.sql CREATE OR REPLACE FUNCTION "GET_STR_EL" ( mystring IN VARCHAR, separator IN VARCHAR, pos IN NUMBER) RETURN VARCHAR2 AS theThingy VARCHAR2(4000); BEGIN SELECT bla INTO theThingy FROM ( SELECT rownum r, SUBSTR(mystring || separat...
<filename>azure-test/tests/azure_sql_database/test-get-query.sql select name, id, server_name, status, type, containment_state, default_secondary_location, earliest_restore_date, edition, elastic_pool_name, location,max_size_bytes, zone_redundant, requested_service_objective_name, service_level_objective,transparent_da...
-- phpMyAdmin SQL Dump -- version 4.1.12 -- http://www.phpmyadmin.net -- -- Servidor: 127.0.0.1 -- Tiempo de generaci�n: 05-08-2014 a las 19:16:07 -- Versi�n del servidor: 5.5.36 -- Versi�n de PHP: 5.4.27 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_C...
<reponame>TheWizardAndTheWyrd/ArcanaERP<filename>ArcanaErp.Database/dbo/Tables/EmailAddress.sql CREATE TABLE [dbo].[EmailAddress] ( [Id] INT IDENTITY (1, 1) NOT NULL, [EmailAddress] VARCHAR (255) NULL, [Description] VARCHAR (255) NULL, [CreatedAt] DATETIME NOT NULL, [Up...
<filename>openGaussBase/testcase/KEYWORDS/replace/Opengauss_Function_Keyword_Replace_Case0027.sql -- @testpoint:opengauss关键字replace非保留),作为序列名 --关键字不带引号-成功 drop sequence if exists replace; create sequence replace start 100 cache 50; drop sequence replace; --关键字带双引号-成功 drop sequence if exists "replace"; create sequen...
<gh_stars>0 ALTER TABLE repos ADD COLUMN IF NOT EXISTS is_edited BOOLEAN DEFAULT false, ADD COLUMN IF NOT EXISTS payout_url VARCHAR(128), DROP COLUMN IF EXISTS verified;
DROP TABLE IF EXISTS aportes.aportes; CREATE TABLE IF NOT EXISTS aportes.aportes(ID int NOT NULL AUTO_INCREMENT,Nombre VARCHAR(18),Apellido VARCHAR(16),DNI VARCHAR(21),Cuit VARCHAR(23),Tipo VARCHAR(13),Importe NUMERIC(7,1),PRIMARY KEY (ID)); CREATE TABLE IF NOT EXISTS aportes.eventlog(ID int NOT NULL AUTO_INCREMENT, ...
<gh_stars>1-10 -- FUNCTIONS table -- 07/11/2015, 05/11/2016 -- -- Associates specific functions (or instances of a generic function) -- with a CAN unit, GENERIC function type, and the command CAN ID. -- Programs can implement a number of generic functions, but units -- running the program provide a specific insta...
<gh_stars>1-10 alter table egpt_exemption_reason alter column name type character varying(128);
<gh_stars>10-100 SELECT records.id, records.data_source_id, data_sources.name AS data_source, location_id, locations.iso_code3 AS iso_code3, locations.wri_standard_name AS region, sector_id, sectors.name AS sector, gas_id, gases.name AS gas, records_emissions.emissions, emissions_dict FROM histo...
<gh_stars>100-1000 -- -- Run script from _named_scripts table -- delimiter // drop procedure if exists _run_named_script // create procedure _run_named_script( named_script_name varchar(64) CHARACTER SET ascii ) comment 'Run script from _named_scripts table' language SQL deterministic modifies sql data sql securit...