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
schema

SQL SERVER – How to Move a Table into a Schema in T-SQL

September 4, 2023
Pinal Dave
SQL Tips and Tricks
Schema

If you’ve ever wondered how to move a table into a schema in T-SQL, this post is for you. One ALTER SCHEMA TRANSFER command does the job.

Read More
column exists

SQL SERVER – Checking If a Column Exists in a Table

August 24, 2023
Pinal Dave
SQL Tips and Tricks
Schema, SQL Column, SQL Table Operation, System Object

Let us see a script that will help check if a Column Exists in a Table. One of the common tasks that developers deal with when working on database-related projects

Read More
unusedindexes

MySQL – Identifying Unused Indexes in Databases

August 4, 2023
Pinal Dave
SQL Performance
MySQL, Schema, SQL Index

Unused indexes slow down writes and waste space. Identifying unused indexes in your MySQL database is easy with INFORMATION_SCHEMA. Here is how.

Read More
usedtable

MySQL – Identifying and Optimizing the Busiest Tables

August 1, 2023
Pinal Dave
SQL Performance
MySQL, Performance Schema, Schema

Let us learn Identifying and Optimizing the Busiest Tables in MySQL. MySQL provides an easy way to identify the busiest tables using the performance_schema.

Read More
A wisteria-covered pergola shading a garden table, a newly added chair already sitting in its shade.

Schema-Level Permissions: Granting on a Schema, Not Each Object

July 25, 2023
Pinal Dave
SQL Tips and Tricks
DBA, Schema, SQL Server, SQL Server Security

Apply schema-level permissions to a database role, include future tables automatically, separate internal data, and review grants.

Read More
Gouache painting of a finished vermilion vase beside the empty plaster mold of its shape

ALTER SCHEMA TRANSFER: Move a Table to Another Schema

January 28, 2021
Pinal Dave
SQL Tips and Tricks
Schema, SQL Scripts, SQL Server, SQL View

ALTER SCHEMA TRANSFER moves a table to another schema and leaves repairs behind. A demo shows that permissions disappear and views break while the data stays. It also shows a synonym that keeps old queries working.

Read More
An intact vessel tray changes compartments within one cabinet beside preserved fittings.

SQL SERVER – Move a Table From One Schema to Another Schema

January 14, 2021
Pinal Dave
SQL Tips and Tricks
Schema, SQL Scripts, SQL Server

ALTER SCHEMA can Move a Table between schemas within one database. A customer had imported under the wrong schema.

Read More
1 2 3 4 5 Next
  • Books
  • Testimonials
  • Privacy Policy

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