Quantcast
Channel: Substring In Sql | Automatic Website Traffic RSS
Viewing all articles
Browse latest Browse all 989

SQL Server – Transact SQL – Get File’s Folder name

$
0
0
begin return null end /* Get base file name and extension */ set @foldername = substring ( @filename , 1 , @iPosOfBackSlashSaved ) return @foldername END; GO grant execute on [dbo].[udfn_getFolderName] to [public] go

Viewing all articles
Browse latest Browse all 989

Trending Articles