Skip to content

Instantly share code, notes, and snippets.

/*
================================================================================================
SCRIPT TO DELETE ALL BUT THE TOP 5000 ROWS FROM EACH TABLE IN A DATABASE (REVISED)
================================================================================================
--
-- HOW TO USE:
-- 1. Make a file copy of your .mdf and .ldf files.
-- 2. Attach the copied files as a NEW database in SSMS (e.g., 'Gas5000').
-- 3. CHANGE the database name in the 'USE' statement below to your new database.
-- 4. Execute this script.
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"foreground": "#c6e3ff",
"style": "plain",
"template": "<#ffffff>[</>{{ .Path }}<#ffffff>]</>",
@farseenmanekhan1232
farseenmanekhan1232 / install-zsh-windows-git-bash.md
Created November 5, 2021 14:09 — forked from fworks/install-zsh-windows-git-bash.md
Zsh / Oh-my-zsh on Windows Git Bash