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
↧