Skip to content

Instantly share code, notes, and snippets.

if exists(select * from sys.objects where object_id = OBJECT_ID(N'dbo.sp_drop') and type in (N'P'))
DROP PROCEDURE sp_drop;
GO
CREATE PROCEDURE sp_drop
@type nvarchar(2),
@name nvarchar(200)
AS
BEGIN
set nocount on;
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
exclude-result-prefixes="msxsl"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:funcs="urn:funcs"
>
<xsl:output method="html" indent="yes"/>
.nolist
.include "m128def.inc"
.list
.listmac
.DSEG
ram_tab: .byte 60
.cseg
.org 0
ALTER PROCEDURE [dbo].[sp_reset_e360]
AS
DELETE FROM [dbo].[Tokens];
DELETE FROM [dbo].[Answers];
DELETE FROM [dbo].[Responses];
DELETE FROM [dbo].[Requests];
DELETE FROM [dbo].[Feedbacks];
DELETE FROM [dbo].[Questions] FROM [dbo].[Questions] q INNER JOIN [dbo].[Questionnaires] qr ON q.QuestionnaireId = qr.Id WHERE qr.Title NOT LIKE '%**NO_DEL**%';
DELETE FROM [dbo].[Questionnaires] WHERE Title NOT LIKE '%**NO_DEL**%';
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.1.12-gentoo Kernel Configuration
#
#
# Gentoo Linux
#
CONFIG_GENTOO_LINUX=y
CONFIG_GENTOO_LINUX_UDEV=y
USE [master]
GO
/****** Object: StoredProcedure [dbo].[db_restore] Script Date: 2015-12-11 10:27:00 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
#pragma once
#include "GK lab2.h"
#include <vector>
typedef Gdiplus::Point Point;
typedef std::pair<Point, Point> Line;
typedef std::vector<std::pair<Point, Point>> Lines;
enum FlagEnum {kNon = 0, kLeft = 1, kRight = 2, kDown = 4, kUp = 8};
#pragma once
#include "GDI+ image.h"
typedef boost::gil::bgr8_pixel_t Pixel;
typedef boost::gil::bgr8_view_t View;
typedef boost::gil::bgr8c_view_t ViewReadOnly;
typedef boost::gil::bgr8_view_t::x_iterator Iterator_X;
typedef boost::gil::bgr8_view_t::y_iterator Iterator_Y;
#include <stdio.h>
#include <limits.h>
#include "pvm3.h"
#define COLS 4
#define ROWS 4
#define MSG_INIT 100
#define MSG_RESPONSE 200
#define MSG_DATA 300
using System;
using System.Collections;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace WaitableBitSetTest
{
class Program
{