Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Where is Textcopy.exe? 2

Status
Not open for further replies.

mrgulic

Technical User
Sep 18, 2001
248
US
I have installed every single component for SQL Server 2008 R2 Developer Edition except for Reporting and Analysis Services and textcopy.exe is nowhere to be found.

Everything I have read says it should be under
Code:
C:\Program Files\Microsoft SQL Server\100\Tools\Bin\
or
Code:
C:\Program Files\Microsoft SQL Server\100\Tools\Binn\

I have search the entire structure under
Code:
C:\Program Files\Microsoft SQL Server\
and found nothing.
I want to try my hand at full-text indexing of pdf files in sql server 2008.
I see that many have issues with it but it seems that there are limited options for searching numerous PDF files quickly and returning those results to a user via asp.net.

Any help would be much appreciated.
 
When we were upgrading our SS2000 servers to SS2008, that is one thing we found no longer exists. You will have to come up with an alternate solution and George's link is the best place to start.

-SQLBill

The following is part of my signature block and is only intended to be informational.
Posting advice: FAQ481-4875
 
Thanks, I found a solution when I found out that Textcopy was obsolete.


[ol]
[li]Install Adobe IFilter (verify that it is installed)
Code:
SELECT * FROM sys.fulltext_document_types
[/li]
[li]Crate table. you can call the columns whatever you like.
Code:
CREATE TABLE [dbo].[Blob](
  [BlobFileId] [int] IDENTITY(1,1) NOT NULL,
  [BlobFileName] [varchar](50) NULL,
  [BlobFileType] [varchar](100) NULL,
  [BlobFileBinary] [varbinary](max) NULL
  ) ON [PRIMARY]
[/li]
[li]Import file into table:
Code:
Insert Blob(BlobFileName, BlobFileType, BlobFileBinary) 
Select 'somePDFfile.pdf','PDF file', BulkColumn from Openrowset( Bulk 'C:\somePDFfile.pdf', Single_Blob) as tb
[/li]
[li]Create Index on blob table[/li]
[li]Search Indev:
Code:
SELECT [BlobFileId],[BlobFileName],[BlobFileType],[BlobFileBinary] FROM [Blob]
WHERE freetext([BlobFileBinary], 'search text value here')
[/li]
[/ol]
and that's how i made mine work it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top