Quantcast
Channel: Answers for "File operation used in stored procedure"
Viewing all articles
Browse latest Browse all 4

Answer by Laerte Junior

$
0
0

I dont see any problems using bulk insert. Just remember the security context, if you run by SSMS the login must be able to access the path.

If by JOB, Simply:

Owner of the Job is Sysadmin ? Security context is the service account SQL Server Agent. This means that this account must have permission on the folder that is the csv file

Owner of Job is not Sysadmin, but it is a Windows login? Security context is the account of this owner This means that this account must have permission on the folder that is the csv file

Owner of Job is not Sysadmin and is not a Windows account? There is a need to create a credential (proxy) and apply the permissions in this proxy account. This means that this account must have permission on the folder that is the csv file

But what is the problem ?


Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images