What is T-SQL Tuesday? T-SQL Tuesday is a monthly blog party hosted by a different blogger each month. This blog party was started by Adam Machanic (blog). You can take part by posting your own participating post that fits the topic of the month and follows …
Question I'm building a stored proc that can take in two separate values that each can be used to identify a single record. One of these values may be null.
My logic is as follows: if IN_ORDER_ID is not NULL, save it to V_ORDER_ID. If it is NULL, then …
Shortcuts & tips from an Impatient DBA This series of short posts will demonstrate some lesser-known features, keyboard shortcuts, and other tips that make my day as a DBA more productive. None of these are groundbreaking super-secret features–they are the …
<img class=“alignright wp-image-532 size-full” src="/wp-content/uploads/TSQL2SDAY-300x300.png" width=“300” height=“300” / alt=“T-SQL Tuesday logo; links to the event video.">
It’s T-SQL Tuesday, the blog party that SQL Server expert Adam Machanic (blog) …
Someone posted to #sqlhelp on Twitter, asking the following: “Wondered if anyone could enlighten me as to why ISNUMERIC(‘7d8’) returns 1?”
Sure enough, SELECT ISNUMERIC('7d8') returns a 1.
WTF? d isn’t numeric! OK, sure, if you say “seven-dee-eight” out loud …
If you’ve ever looked at sys.sysprocesses or sys.dm_exec_requests (or a number of other DMVs), you’ve noticed there is a column called “sql_handle” that contains some binary gobbledygook. Books Online gives the (un)helpful definition as “Hash map of the SQL …