Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 163
  • Last Modified:

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.
0
rschmehl
Asked:
rschmehl
1 Solution
 
arnoldCommented:
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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now