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
Hide in Code

Hide Code in SSMS – SQL in Sixty Seconds #154

February 3, 2021
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Scripts, SQL Server, SQL Server Encryption, SQL Server Management Studio, SQL Server Security, SQL Stored Procedure

I have received so many emails from all of you to create a video on the topic of SQL SERVER – Hide Code in SSMS. Here is the video on the topic.

Read More
Gouache painting of a wooden cabinet with a reddish-brown sliding door half closed over shelves of bowls and plates, with a small vermilion dot on the door

Hide Procedure Code in SSMS: What WITH ENCRYPTION Covers

February 2, 2021
Pinal Dave
SQL Tips and Tricks
SQL Server Encryption, SQL Server Management Studio, SQL Server Security, SQL Stored Procedure

To hide procedure code, create the procedure WITH ENCRYPTION. A demo shows what the clause blocks: the text, the definition and the plan. It also shows the ALTER trap that unhides a procedure, and why this is obfuscation and not security.

Read More
Gouache painting of a sorter board with round beads and a rejected square vermilion block

Digits in a Column: A CHECK Constraint for Digits Only

February 1, 2021
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Scripts, SQL Server, SQL String

To keep only digits in a column, a CHECK constraint with NOT LIKE and a character range works, but it has two holes. It accepts an empty string and digits from other scripts. A demo closes both and shows NULL, trust and fixed length codes.

Read More
Zoom in SSMS

Zoom in SSMS – SQL in Sixty Seconds #153

January 29, 2021
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Server Management Studio

It is possible to zoom in SSMS (SQL Server Management Studio). A client asked me during a Health Check, so here is how to do it.

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
find a table

Find a Table in Execution Plan – SQL in Sixty Seconds #151

January 27, 2021
Pinal Dave
SQL Video
Execution Plan, SQL in Sixty Seconds, SQL Server, SQL Server Management Studio

Finding a table in a huge execution plan is a nightmare. In this SQL in Sixty Seconds video, I show how to find any table in execution plan with SSMS.

Read More
Leeks trimmed at both ends on a chopping board, roots and tough tops in two small piles.

LTRIM and RTRIM With Custom Characters in SQL Server 2022

January 26, 2021
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Server, SQL Server 2022, SQL String

Use LTRIM and RTRIM with custom characters in SQL Server 2022, understand character sets, test TRIM directions, and preserve valid text.

Read More
Previous 1 … 76 77 78 79 80 81 82 … 843 Next
  • Books
  • Testimonials
  • Privacy Policy

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