T-SQL functions to convert Strings to Tables
These were in a solution and I thought I'd note them on my site so I can refer to them more easily. How?
Read noteKnowledge base / Since 1999
Practical solutions and technical notes from CRM platforms, workflow automation, APIs, databases and the systems around them.
22 entries / Transact-SQL
Clear filters
These were in a solution and I thought I'd note them on my site so I can refer to them more easily. How?
Read note
So this is an article exploring how to convert UPPERCASE text into mixed case. The feed is originally for a personnel feed so it won't be converting long paragraphs of English text. Instead it will be applied to names and addresses as well as job titles and departments.
Read note
This took me a while to find so I've posted an article below detailing how to parse or extract values from a string containing XML code.
Read note
A quick article on how to compare two Microsoft databases using the tools provided with SQL Server and without having to download any third-party products.
Read note
This is a quick article on how to split a single row into multipe rows based on the value of a column in the same table.
Read note
This is a quick article on how to use a counter added to the end of a field column of data. Eh. What? Assume the following two tables exist:
Read note
A very quick note in case I forget this one. If you are trying to join two tables and receiving the error "Conversion failed when converting the varchar value 'B110' to data type int" then read on. How?
Read note
This is a quick note on finding the last occurrence of a string in a longer string. This has to be in Transact SQL for a SQL Server instance only and not filtered by other code.
Read note
Along with my DataJumble function and DataTumble procedure which also help scramble database tables sent to suppliers/developers, this is a function which simply finds random characters and inserts these. I would recommend using the DataTumble script over this one as this leaves data very difficult to work with: Before...
Read noteWorking principle
This site exists as a practical knowledge base built from real-world experience across systems, platforms, and technologies since 1999. Much of the content documents solutions, edge cases, and working patterns that were learned through investigation where documentation was incomplete or absent, and is shared to reduce the same friction for others.
Protected notes
Most articles are public. Login is reserved for selected implementation notes.