in SQL or SSRS land is there a function, or code which can parse a text file for a specific string?

in SQL or SSRS land is there a function, or code  which can parse a text file for a specific string? I have a function, XP_DIRTREE which gets me the file name but I need to parse inside the file  for text string.
rschmehlAsked:
Who is Participating?
 
arnoldConnect With a Mentor Commented:
First thing to consider us whether the sql server will gave the requisite rights to access the file.

Depending on what you are trying to achieve there might be better/more efficient ways to get to the point you want to end up with.

Are you looking to catalog files and have a searchable index?

A vb/c#/powershell might be a better approach to look at the sql for the files that need to be cataloged.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.