Click here to Skip to main content
15,895,841 members
Articles / Database Development / SQL Server / SQL Server 2008

An Easy Way to Get a File Name or a File Extension from a User Defined File Path using Transact-SQL

Rate me:
Please Sign up or sign in to vote.
4.76/5 (19 votes)
9 Aug 2009CPOL1 min read 52.8K   120   28  
This article will demonstrate how to get a file name or a file extension as well using Transact-SQL.

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Comments and Discussions