SQL Server 2008 introduces the ability to pass a table data type into stored procedures and functions. The table parameter feature can greatly ease the development process because you no longer need ...
Ok, seeing as how I couldn't find a split() function in T-SQL, and I need to import data from a Table that has this concatenated field of ID's, I wrote my own split function: Code: CREATE Function ...
I want to replace the contents of a specific column with something else, regardless of what the original data in that column was. How can I do this with the replace() function in TSQL? Is tehre some ...
Everyone wants faster database queries, and both SQL developers and DBAs can turn to many time-tested methods to achieve that goal. Unfortunately, no single method is foolproof or ironclad. But even ...
A common SQL habit is to use SELECT * on a query, because it’s tedious to list all the columns you need. Plus, sometimes those columns may change over time, so why not just do things the easy way? But ...