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
150 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 78

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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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 …

728 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