(last updated: 2021-08-13 @ 19:50 ET / 2021-08-13 @ 23:50 UTC ) In a previous post, Prevent Full Script Execution (Understanding and Using PARSEONLY and NOEXEC), I explained how to easily disable a script using the PARSEONLY session setting. That same method can be used to disable one or more sections within a script instead… Continue reading SSMS and SQLCMD: Prevent T-SQL Batch From Not Only Executing, but Also From Parsing (Cruel Joke #3)
Category: Programming
SSMS: Prevent Copy and Paste of Text in “Messages” tab (Cruel Joke #2)
An invisible character is all it takes to have a little fun 🙃
sys.xp_delete_files and ‘allow filesystem enumeration’: two new undocumented items in SQL Server 2019
sys.xp_delete_files and 'allow filesystem enumeration': two new undocumented items in SQL Server 2019
Actual Difference Between EXISTS(SELECT 1 …), EXISTS(SELECT * …), and EXISTS(SELECT column …)
Is EXISTS(SELECT 1 ...) better than EXISTS(SELECT * ...)? Who would know better than SQL Server?
How Many Bytes Per Character in SQL Server: a Completely Complete Guide
Feature Restrictions in SQL Server 2019 are Worse Than Useless: a False Sense of Security And Wasted Opportunity (Msg 16305, Msg 16309, VA1145)
A misguided attempt to improve security that not only increases the chances of SQL Injection, but also prevented useful changes from being made.
Unicode Escape Sequences Across Various Languages and Platforms (including Supplementary Characters)
Specific String Pattern Magically Hidden From Step Output in SQL Agent History
Specific String Pattern Magically Hidden From Step Output in SQL Agent History. Who Knew?
Maximum Number of Rows for the Table Value Constructor
What is the maximum number of rows for the Table Value Constructor? And, do different uses of it behave differently?
Can a Certificate’s Private Key be Imported / Restored From a Binary Literal / Hex Bytes ?
Can a Certificate's Private Key be Restored From a Binary Literal / Hex Bytes? The Documentation Says, "No". What Does SQL Server Say?