Here’s a fun little problem that I had. I needed to extract a filename from a full path in SQL Server. This is the handy function that I found to accomplish this.

Hopefully, someone else will be able to use this.