An open API service indexing awesome lists of open source software.

https://github.com/soags/sql-snippets

Collection of helpful SQL queries for administration
https://github.com/soags/sql-snippets

db2 mssqlserver oracle postgres sql

Last synced: 2 months ago
JSON representation

Collection of helpful SQL queries for administration

Awesome Lists containing this project

README

          

# SQL Snippets

DB管理に便利なSQLスニペットのコレクション。

[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)

|種類| SQLスニペット | データベース |
|---|---|---|
|SELECT| 全てのオブジェクトを取得する | [![SQL Server](https://img.shields.io/badge/SQL_Server-%23CC2927)](./mssql/all-objects.sql) |
|SELECT| 全てのテーブルと列定義を取得する | [![SQL Server](https://img.shields.io/badge/SQL_Server-%23CC2927)](./mssql/all-tables-and-columns.sql) |
|SELECT| 全てのテーブルと行数を取得する | [![SQL Server](https://img.shields.io/badge/SQL_Server-%23CC2927)](./mssql/all-tables-and-rows.sql) |
|DROP| 全てのテーブルを削除する | [![Postgres](https://img.shields.io/badge/Posgres-%234169E1)](./postgres/drop-all-tables.sql) |