This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
MySQL - List User Defined Tables - Two Methods

MySQL – List User Defined Tables – Two Methods

April 1, 2014
Pinal Dave
SQL Tips and Tricks
MySQL, SQL Scripts, SQL Server, SQL System Table

There are different methods to list out user defined tables in MySQL. We will see two methods in this post.

Let us create the following tables in the database named Test

Read More
A cookie jar with its lid askew and a trail of fresh crumbs on a kitchen counter, no one in sight.

Tracking Recent Object Changes With modify_date

March 31, 2014
Pinal Dave
SQL Tips and Tricks
DBA, SQL Audit, SQL System Table, System Object

Use modify_date to find recent SQL Server object changes, compare databases, and understand which audit questions need event capture.

Read More
Two matching slate blue birdhouses on a fence post, one with a higher entry hole and no perch.

Comparing Two Database Schemas With T-SQL

January 22, 2014
Pinal Dave
SQL Tips and Tricks
Schema, SQL Scripts, SQL Server, SQL System Table

Comparing two database schemas with catalog queries exposes missing objects, changed columns, and index differences before deployment.

Read More
A power strip under a table with cables to a lamp, a radio and a kettle, one cord vanishing through the floor.

Finding What Depends on a Table

January 15, 2014
Pinal Dave
SQL Tips and Tricks
SQL Dependency, SQL Server, SQL Stored Procedure, SQL System Table

Finding What depends on a table starts with sys.dm_sql_referencing_entities, then checks cross-database code and dynamic SQL.

Read More
Allotment beds seen from above, one pumpkin vine with red pumpkins spreading across into the next bed

Measuring Space Used by Tables per Filegroup in T-SQL

October 31, 2013
Pinal Dave
SQL Tips and Tricks
DBA, SQL Data Storage, SQL Server, SQL System Table, Table Partitioning

Measure tables per filegroup from allocation metadata, include LOB and overflow pages, and separate partition placement from growth history.

Read More
Column names in archive table.

SQL SERVER – Finding Different ColumnName From Almost Identitical Tables

October 18, 2012
Pinal Dave
SQL Tips and Tricks
SQL System Table

A reader had archive and current tables in pairs, but the schemas drifted apart. Here is my way of finding different ColumnName values in almost identical tables.

Read More
SQL SERVER - 2012 - List All The Column With Specific Data Types in Database

SQL SERVER – 2012 – List All The Column With Specific Data Types in Database

October 13, 2012
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL System Table

An updated SQL Server 2012 script to list every column with specific data types in a database, including user data types, schema and table names.

Read More
Previous 1 2 3 4 5 6 7 8 … 16 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com