Click here to Skip to main content
15,888,521 members
Articles / Desktop Programming / Windows Forms

SnipPit - A Snippet Repository

Rate me:
Please Sign up or sign in to vote.
4.20/5 (5 votes)
12 May 2008CPOL1 min read 41.4K   747   27  
A SQL Server based VS add-in (and separate desktop app) snippet respository.
USE [master]
GO
/****** Object:  Database [SnipPit]    Script Date: 05/08/2008 09:22:53 ******/
CREATE DATABASE [SnipPit] ON  PRIMARY 
( NAME = N'SnipPit', FILENAME = N'c:\Program Files\Microsoft SQL Server\MSSQL\DATA\SnipPit.mdf' , SIZE = 10240KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
 LOG ON 
( NAME = N'SnipPit_log', FILENAME = N'c:\Program Files\Microsoft SQL Server\MSSQL\DATA\SnipPit_log.ldf' , SIZE = 2048KB , MAXSIZE = 2048GB , FILEGROWTH = 10%)
GO
EXEC dbo.sp_dbcmptlevel @dbname=N'SnipPit', @new_cmptlevel=90
GO
IF (1 = FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'))
begin
EXEC [SnipPit].[dbo].[sp_fulltext_database] @action = 'enable'
end
GO
ALTER DATABASE [SnipPit] SET ANSI_NULL_DEFAULT OFF 
GO
ALTER DATABASE [SnipPit] SET ANSI_NULLS OFF 
GO
ALTER DATABASE [SnipPit] SET ANSI_PADDING OFF 
GO
ALTER DATABASE [SnipPit] SET ANSI_WARNINGS OFF 
GO
ALTER DATABASE [SnipPit] SET ARITHABORT OFF 
GO
ALTER DATABASE [SnipPit] SET AUTO_CLOSE OFF 
GO
ALTER DATABASE [SnipPit] SET AUTO_CREATE_STATISTICS ON 
GO
ALTER DATABASE [SnipPit] SET AUTO_SHRINK OFF 
GO
ALTER DATABASE [SnipPit] SET AUTO_UPDATE_STATISTICS ON 
GO
ALTER DATABASE [SnipPit] SET CURSOR_CLOSE_ON_COMMIT OFF 
GO
ALTER DATABASE [SnipPit] SET CURSOR_DEFAULT  GLOBAL 
GO
ALTER DATABASE [SnipPit] SET CONCAT_NULL_YIELDS_NULL OFF 
GO
ALTER DATABASE [SnipPit] SET NUMERIC_ROUNDABORT OFF 
GO
ALTER DATABASE [SnipPit] SET QUOTED_IDENTIFIER OFF 
GO
ALTER DATABASE [SnipPit] SET RECURSIVE_TRIGGERS OFF 
GO
ALTER DATABASE [SnipPit] SET  DISABLE_BROKER 
GO
ALTER DATABASE [SnipPit] SET AUTO_UPDATE_STATISTICS_ASYNC OFF 
GO
ALTER DATABASE [SnipPit] SET DATE_CORRELATION_OPTIMIZATION OFF 
GO
ALTER DATABASE [SnipPit] SET TRUSTWORTHY OFF 
GO
ALTER DATABASE [SnipPit] SET ALLOW_SNAPSHOT_ISOLATION OFF 
GO
ALTER DATABASE [SnipPit] SET PARAMETERIZATION SIMPLE 
GO
ALTER DATABASE [SnipPit] SET  READ_WRITE 
GO
ALTER DATABASE [SnipPit] SET RECOVERY SIMPLE 
GO
ALTER DATABASE [SnipPit] SET  MULTI_USER 
GO
ALTER DATABASE [SnipPit] SET PAGE_VERIFY CHECKSUM  
GO
ALTER DATABASE [SnipPit] SET DB_CHAINING OFF 

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions