(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)
(last updated: 2021-07-05 @ 14:00 EST / 2021-07-05 @ 18:00 UTC ) The sysname data type (in SQL Server) is a system-provided, though not built-in, alias for NVARCHAR(128). This alias is used for nearly all identifiers (i.e. names of tables, columns, indexes, databases, logins, etc.), starting in SQL Server 7.0 (for a full list of… Continue reading Is the [sysname] SQL Server System Data Type Alias Name Case-Insensitive?
(last updated: 2021-06-28 @ 02:30 EST / 2021-06-28 @ 06:30 UTC ) Many of us that work with Microsoft SQL Server, especially those of us working on systems with US English as the OS language, or anyone working with SQL Server Express LocalDB (commonly referred to as just “LocalDB”), have had to deal with the… Continue reading SQL Server Collations: What does “CP1” mean in “SQL_Latin1_General_CP1_CI_AS”?
sys.xp_delete_files and 'allow filesystem enumeration': two new undocumented items in SQL Server 2019
Specific String Pattern Magically Hidden From Step Output in SQL Agent History. Who Knew?
What is the maximum number of rows for the Table Value Constructor? And, do different uses of it behave differently?
Installing SQL Server 2019 CTP 2.5 fails with almost no useful info. Searching on code or message finds nothing. This post fixes that 😎
Can a Certificate's Private Key be Restored From a Binary Literal / Hex Bytes? The Documentation Says, "No". What Does SQL Server Say?
Ever notice how IntelliSense in SSMS lists functions that don't work or aren't documented? Here's documentation for one that works: UNCOMPRESS
Does resetting an Identity Seed to a specific value via DBCC CHECKIDENT(..., RESEED, new_seed_value) work the way the documentation states? It depends 🙃