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 |
|
sqlfresher2k7
Aged Yak Warrior
623 Posts |
Posted - 2009-03-19 : 11:19:33
|
| I have written a stored procedure which will read the data from a text files.Now I need to specify the path or location of the file which exists on my machine and server is on different location.How can i specify the path.c:\test.txtEXEC Usp_ReadData 'C:\agency.txt', @t output |
|
|
sqlfresher2k7
Aged Yak Warrior
623 Posts |
Posted - 2009-03-19 : 11:21:59
|
| EXEC Usp_ReadData 'c:\test.txt', @t output |
 |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2009-03-19 : 11:25:08
|
| i think you need to specify unc path like \\server\.. |
 |
|
|
sqlfresher2k7
Aged Yak Warrior
623 Posts |
Posted - 2009-03-19 : 11:39:33
|
| Can you please provide me the example.. |
 |
|
|
|
|
|