Skip to main content
snippets
S
nippets
SQL
Snippets
Date
•
Title
List all Users, Roles in Databases
SQL
10 years ago
database
dba
mssql
Is Really Number T-SQL
SQL
10 years ago
database
functions
mssql
number
validation
Get Most Costful Queries
SQL
10 years ago
database
dba
maintenance
mssql
Show Table Index Fragmentation
SQL
10 years ago
database
index
mssql
table
Get Table Size in T-SQL
SQL
10 years ago
database
mssql
size
table
Replace Line Breaks in T-SQL
SQL
10 years ago
database
line
linebreak
mssql
newline
string
trim
whitespace
Export Query Results to Excel
SQL
10 years ago
database
excel
export
mssql
Collapse Spaces Function
SQL
10 years ago
database
functions
mssql
space
string
whitespace
T-SQL DateTime Utilities
SQL
10 years ago
database
datetime
mssql
time
Count and Delete Duplicate Rows
SQL
10 years ago
database
dupe
mssql
Count Character Occurrences in SQL
SQL
10 years ago
database
mssql
Get Filename from Path in SQL
SQL
10 years ago
database
file
mssql
Prepend Zeros to String Function
SQL
10 years ago
database
format
functions
mssql
pad
Drop All Stored Procedures
SQL
10 years ago
database
dba
mssql
storedprocedures
Split String SQL Function
SQL
10 years ago
database
functions
mssql
string
Check if Table or Column Already Exits
SQL
10 years ago
database
exists
mssql
Concatenate Column Strings to Single Row
SQL
10 years ago
concatenate
database
mssql
string
Convert Seconds to Time
SQL
10 years ago
database
datetime
mssql
seconds
MS SQL Datetime Convert Examples
SQL
10 years ago
database
datetime
mssql
List Table Indexes
SQL
10 years ago
database
index
mssql
sql
table
First
«
5
6
7
8
9
10
11
12
13
»
More »