Skip to content
David Kittell
David Kittell

Application & System: Development / Integration / Orchestration

  • Services
    • Application Development
    • Online Application Integration
  • Code
  • Online Tools
  • Tech Support
David Kittell

Application & System: Development / Integration / Orchestration

Category: MSSQL – Audit

Azure MSSQL – Server Firewall Rules

Posted on July 14, 2017 By David Kittell

Run these commands on the master table. First get the existing rules Based on the above query if there are any rules you need to remove get the name and replace Client with the appropriate name If you need to add an IP rule go to https://www.kittell.net/ip.php and update the…

Read more

MSSQL – List Users With Permissions

Posted on June 21, 2017June 22, 2017 By David Kittell

Sometimes you really just need to know how many users you have on your database, the below script will give a quick report for your database. Note: This script is designed to run on a selected database, you will have to select the database first and then run the script.

Read more

MS SQL – Count Users In User Role

Posted on October 10, 2016 By David Kittell
Read more

Azure – MSSQL Server Information

Posted on May 13, 2016 By David Kittell

Same as MSSQL Server Information but is specific to what will work in Azure

Read more

MSSQL Server Information

Posted on August 27, 2015May 13, 2016 By David Kittell

If you have ever started a new job and we told to “Dig into the database and learn” these scripts likely have come to mind whether or not you knew/know them. References & Credit: http://www.pinaldave.com/ / http://blog.sqlauthority.com/ https://www.simple-talk.com/sql/database-administration/exploring-your-sql-server-databases-with-t-sql/

Read more

MSSQL Table Backup Script

Posted on August 20, 2015October 26, 2015 By David Kittell

This is a quick way to backup table structure and data, this will go out to the system table and query all tables then provide a script to recreate the tables. This is a bit of a hack but works to backup all the rows in your tables. Run the…

Read more

Find Table Differences And Sync Tables

Posted on May 26, 2015October 26, 2015 By David Kittell

Have two databases with the same table schema and need to keep both up to date? First, let us look at the differences between the two databases. The query below will show the differences between the development database table tbl_zip_code and the production database table tbl_zip_code. Ideally the differences should…

Read more

Count All Rows In All Tables

Posted on May 27, 2014October 26, 2015 By David Kittell

There are a few ways to count all of the rows in all of your tables in a database. The “Fastest Option” actually pulls the information from the database where the numbers are stored rather than taking time to count rows.

Read more

MySQL – Table/View Column Information

Posted on March 1, 2014October 26, 2015 By David Kittell

Similar to MSSQL – Table/View Column Information, this post will help with MySQL tables and columns. This query is a quick query to give you the pertinent information about a specific table.

Read more

Ektron File Extension Asset Inventory

Posted on October 17, 2013October 26, 2015 By David Kittell

Following the logic in a previous post, File Extension, this query will list Ektron asset file extensions and count them.

Read more
  • 1
  • 2
  • Next

Code

Top Posts & Pages

  • PowerShell - Rename Pictures to Image Taken
  • Front Page
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions

Recent Posts

  • Javascript – Digital Clock with Style
  • BASH – Web Ping Log
  • BASH – Picture / Video File Name Manipulation
  • Mac OSX Terminal – Create SSH Key
  • Bash – Rename Picture

Top Posts

  • PowerShell - Rename Pictures to Image Taken
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions
  • Open On Screen Keyboard (OSK)
  • SQLite - Auto-Increment / Auto Generate GUID
©2025 David Kittell | WordPress Theme by SuperbThemes