Rarely run queries start with a plan that has left the cache. This test compiles a five table report procedure and measures the compile CPU on the first run, the second run, and a run after the cache was cleared. It also shows how to check whether a plan is still cached.
SQL SERVER – SSIS Execution Control Using Precedence Constraints – Notes from the Field #021
Tasks running in the wrong order in your SSIS package? Tim Mitchell reviews the essentials of precedence constraints for SSIS execution control.
Connect to MySQL From the Command Prompt: Host, Port, User
To connect to MySQL from the command prompt, you pass a host, a port, a user and a password to the mysql client. This post runs every switch, then shows the exact error that a wrong port, user, password or database produces.
SQL SERVER – Does Use of CTE Change the Order of Join in Inner Join
A reader said he uses a CTE to control join order. Does a CTE change the order of join in an inner join? Here is what I found.
SQL SERVER – Turning On Graphical Execution Plan After Enabling ShowPlan Text
Turning on graphical execution plan output requires resetting SHOWPLAN and checking the SSMS actual-plan option. These examples explain batch separators, estimated plans, and actual XML output.
Assertion Queries: Data Checks That Should Return Zero Rows
Let a short query find the order with no lines before a customer does. A small demo shows the failing keys, constraint error 547 and a clean repair.
MySQL – Search For Values Within A Comma Separated Values – FIND_IN_SET
FIND_IN_SET searches a comma-separated string for a complete member and returns its position. I keep whitespace in that string deliberate.






