Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
pazzy11
Posting Yak Master
145 Posts |
Posted - 2008-05-21 : 11:16:34
|
Hi I have decided to approach the problem here http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=103310by using a Stored procedure, someone mentioned it's possiblefor a SP to read the contents of a text file ? IS it ? For example i have a DB table with fields to,from,subject,bodyproblem is the body field references a file (full path) and i need to extract all info into a txt file the full txt body, so can i perform some sort of inneroperation on the select body .. part of the SP ? |
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2008-05-21 : 22:50:17
|
Can try set linked server to text file. |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2008-05-22 : 06:04:44
|
Also read about OPENROWSET in sql server help fileMadhivananFailing to plan is Planning to fail |
|
|
|
|
|