Search

Keyword: SQL

SQL Tips #41 - Listing the Restore Progress of Databases

SQL Tips #41 - Listing the Restore Progress of Databases

Wednesday, 23 October 2019

Useful SQL tips - how to list the restore progress of databases

Read More


 

SQL Tips #40 - Finding Queries with Missing Indexes in the Query Store

SQL Tips #40 - Finding Queries with Missing Indexes in the Query Store

Saturday, 21 September 2019

Useful SQL tips - how to find queries with missing indexes in the Query Store

Read More


 

SQL Tips #39 - Listing All Keys in a Database

SQL Tips #39 - Listing All Keys in a Database

Tuesday, 20 August 2019

Useful SQL tips - how to list all keys in a database

Read More


 

SQL Tips #38 - Finding All Dependencies of a Stored Procedure

SQL Tips #38 - Finding All Dependencies of a Stored Procedure

Friday, 19 July 2019

Useful SQL tips - how to find all dependencies of a specific stored procedure

Read More


 

SQL Tips #37 - Listing All Stored Procedures Using a Specific Table

SQL Tips #37 - Listing All Stored Procedures Using a Specific Table

Monday, 17 June 2019

Useful SQL tips - how to list all stored procedures using a specific table

Read More


 

SQL Tips #36 - Listing All Stored Procedures or Tables

SQL Tips #36 - Listing All Stored Procedures or Tables

Thursday, 16 May 2019

Useful SQL tips - how to list all stored procedures or tables in a database

Read More


 

SQL Tips #35 - Finding Tables with Missing Identity Fields

SQL Tips #35 - Finding Tables with Missing Identity Fields

Sunday, 14 April 2019

Useful SQL tips - how to find tables with missing identity fields

Read More


 

SQL Tips #34 - Finding Tables with Missing Primary Keys

SQL Tips #34 - Finding Tables with Missing Primary Keys

Wednesday, 13 March 2019

Useful SQL tips - how to find tables with missing primary keys

Read More


 

SQL Tips #33 - Generating a Comma Separated List of Fields per Table

SQL Tips #33 - Generating a Comma Separated List of Fields per Table

Saturday, 9 February 2019

Useful SQL tips - how to generate a comma separated list of fields per table

Read More


 

SQL Tips #32 - Listing Recent Deadlock Victims

SQL Tips #32 - Listing Recent Deadlock Victims

Tuesday, 8 January 2019

Useful SQL tips - how to list any queries that were recent deadlock or blocking victims

Read More


 

SQL Tips #31 - Deleting Duplicate Entries While Keeping the Original

SQL Tips #31 - Deleting Duplicate Entries While Keeping the Original

Friday, 7 December 2018

Useful SQL tips - how to delete duplicate entries in a table while keeping the original

Read More


 

SQL Tips #30 - Listing Databases and Their CPU Usage

SQL Tips #30 - Listing Databases and Their CPU Usage

Monday, 5 November 2018

Useful SQL tips - how to list databases and their CPU usage

Read More


 

SQL Tips #29 - A Function to Generate Random Numbers

SQL Tips #29 - A Function to Generate Random Numbers

Thursday, 4 October 2018

Useful SQL tips - a user-defined function to generate random numbers in a range

Read More


 

SQL Tips #28 - Generating Random Numbers for Non-Crypto Usage

SQL Tips #28 - Generating Random Numbers for Non-Crypto Usage

Sunday, 2 September 2018

Useful SQL tips - how to generate good random numbers for non-crypto usage

Read More


 

SQL Tips #27 - Finding Which Indexes Are Not Used

SQL Tips #27 - Finding Which Indexes Are Not Used

Wednesday, 1 August 2018

Useful SQL tips - how to find which indexes are not being used

Read More


 

SQL Tips #26 - Getting the Field Types of Fields in a Table

SQL Tips #26 - Getting the Field Types of Fields in a Table

Saturday, 30 June 2018

Useful SQL tips - how to get the field types of fields in a table

Read More


 

SQL Tips #25 - Rebuilding All Fragmented Table Indexes

SQL Tips #25 - Rebuilding All Fragmented Table Indexes

Tuesday, 29 May 2018

Useful SQL tips - how to rebuild all fragmented table indexes

Read More


 

SQL Tips #24 - Listing All Indexes and Their Fragmentation Percentage

SQL Tips #24 - Listing All Indexes and Their Fragmentation Percentage

Friday, 27 April 2018

Useful SQL tips - how to list all indexes and their fragmentation percentage

Read More


 

SQL Tips #23 - A Function to Strip Numeric Characters

SQL Tips #23 - A Function to Strip Numeric Characters

Monday, 26 March 2018

Useful SQL tips - a user-defined function to strip numeric characters from a string

Read More


 

SQL Tips #22 - A Function to Split a String

SQL Tips #22 - A Function to Split a String

Thursday, 22 February 2018

Useful SQL tips - a user-defined function to split a delimited string

Read More


 

SQL Tips #21 - Listing All Table Columns and Their Default Values

SQL Tips #21 - Listing All Table Columns and Their Default Values

Sunday, 21 January 2018

Useful SQL tips - how to list all table columns and their default values

Read More


 

SQL Tips #20 - Showing All Table Data for a Specified User

SQL Tips #20 - Showing All Table Data for a Specified User

Wednesday, 20 December 2017

Useful SQL tips - how to show all table data for a specified user

Read More


 

SQL Tips #19 - Listing All SQL Jobs on the Server

SQL Tips #19 - Listing All SQL Jobs on the Server

Saturday, 18 November 2017

Useful SQL tips - how to list all SQL Agent jobs on the server

Read More


 

SQL Tips #18 - Listing All Tables Without Any Indexes

SQL Tips #18 - Listing All Tables Without Any Indexes

Tuesday, 17 October 2017

Useful SQL tips - how to list all tables without any indexes

Read More


 

SQL Tips #17 - Table Row Counts and Sizes in Gb

SQL Tips #17 - Table Row Counts and Sizes in Gb

Friday, 15 September 2017

Useful SQL tips - how to list all tables with row counts and file sizes in gigabytes

Read More


 

SQL Tips #16 - Looping Through Records using Cursors

SQL Tips #16 - Looping Through Records using Cursors

Monday, 14 August 2017

Useful SQL tips - how to loop through records using SQL cursors

Read More


 

SQL Tips #15 - How to use Coalesce

SQL Tips #15 - How to use Coalesce

Thursday, 13 July 2017

Useful SQL tips - how to use COALESCE to concatenate row values into a single string

Read More


 

SQL Tips #14 - Clearing the Query Store

SQL Tips #14 - Clearing the Query Store

Sunday, 11 June 2017

Useful SQL tips - how to clear the Query Store of a SQL database

Read More


 

SQL Tips #13 - Finding the Domain from an Email Address

SQL Tips #13 - Finding the Domain from an Email Address

Wednesday, 10 May 2017

Useful SQL tips - how to extract the distinct domain names from a column of email addresses

Read More


 

SQL Tips #12 - Making a Default Date Rounded to an Hour

SQL Tips #12 - Making a Default Date Rounded to an Hour

Saturday, 8 April 2017

Useful SQL tips - how to create a default date value rounded to the nearest hour

Read More


 

SQL Tips #11 - Rebuilding the Query Cache and Statistics

SQL Tips #11 - Rebuilding the Query Cache and Statistics

Tuesday, 7 March 2017

Useful SQL tips - how to update statistics for every table and rebuild the query cache

Read More


 

SQL Tips #10 - Rebuilding Table Indexes Across Databases

SQL Tips #10 - Rebuilding Table Indexes Across Databases

Friday, 3 February 2017

Useful SQL tips - how to rebuild the indexes of every table across one or more databases

Read More


 

SQL Tips #9 - Listing Stored Procedures by Change Date

SQL Tips #9 - Listing Stored Procedures by Change Date

Monday, 2 January 2017

Useful SQL tips - how to list all stored procedures ordered by the date they were last changed

Read More


 

SQL Tips #8 - List Read and Write Counts per Table

SQL Tips #8 - List Read and Write Counts per Table

Thursday, 1 December 2016

Useful SQL tips - how to list read and write counts for every table in a database

Read More


 

SQL Tips #7 - Which tables or stored procedures were updated recently

SQL Tips #7 - Which tables or stored procedures were updated recently

Wednesday, 16 November 2016

Useful SQL tips - how to list all stored procedures or tables updated recently

Read More


 

SQL Tips #6 - Looking for tables with specific fieldtypes

SQL Tips #6 - Looking for tables with specific fieldtypes

Friday, 16 September 2016

Useful SQL tips - how to a specific type of field in a SQL table

Read More


 

SQL Tips #5 - Listing the recovery model for each database

SQL Tips #5 - Listing the recovery model for each database

Saturday, 16 July 2016

Useful SQL tips - how to list the SQL Recovery Model of all your databases

Read More


 

SQL Tips #4 - Listing all SQL databases with their file locations and sizes

SQL Tips #4 - Listing all SQL databases with their file locations and sizes

Monday, 16 May 2016

Useful SQL tips - How to list all your SQL databases with their file locations and sizes

Read More


 

SQL Tips #3 - Searching for a keyword in a stored procedure

SQL Tips #3 - Searching for a keyword in a stored procedure

Wednesday, 16 March 2016

Useful SQL tips - how to list all stored procedures that have column names that match a keyword

Read More


 

SQL Tips #2 - Searching for a specific field name in a SQL table

SQL Tips #2 - Searching for a specific field name in a SQL table

Saturday, 16 January 2016

Useful SQL tips - how to list all tables that have column names that match a keyword

Read More


 

SQL Tips #1 - Table Row Counts & Sizes

SQL Tips #1 - Table Row Counts & Sizes

Saturday, 12 December 2015

Useful SQL tips - how to list all tables and retrieve their row counts and file sizes

Read More


 


Support this Site

Buy me a coffee

Developer Courses

Pluralsight - Hardcore Developer and IT Training
Skype Web SDK: Getting Started
Skype Web SDK: Audio & Video

Popular Articles

What is Kutamo?
Kilimanjaro Climb
Kilimanjaro 2015
Kilimanjaro 2013
Australian Postcodes
New Zealand Postcodes
Worldwide City Database

Favourite Links

Kilimanjaro Climbs
Kutamo Studios
Kutamo Meetings
Litzi
ErrLog.IO
Kutamo