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.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 Bulk Insert, Access denied?

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-09-17 : 10:40:49
Renato writes "What's wrong we this statement?

BULK INSERT dbo.DailyLog
FROM '\\logs\swiping0909.txt'
WITH
(
FIELDTERMINATOR = '|',
ROWTERMINATOR = '|\n'
)

Why the mssql cannot access the file located in \\logs\swiping0909.txt, I'm checking all rights so with login accounts, I found no problem, see I can copy the file from the dos prompt!

Any advice, much appreciated!

Thanks in advance,

Renato B. Lapera"

1fred
Posting Yak Master

158 Posts

Posted - 2002-09-17 : 11:20:02
You have to specify the machine name. \\machineName\logs\swiping0909.txt

if it is still not working try to map it to a network drive

Go to Top of Page
   

- Advertisement -