Solved

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

Posted on 2015-02-05
1
139 Views
Last Modified: 2015-03-31
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
Comment
Question by:rschmehl
1 Comment
 
LVL 76

Accepted Solution

by:
arnold earned 500 total points
ID: 40592911
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

If, like me, you have a lot of Dell servers in the estate you manage this article should save you a little time. When attempting to login to iDrac on any server I would be presented with two errors. The first reads "Do you want to run this applicati…
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now