SQL Stored Procedure Send mail with attachement -


i have stored procedure sends email attachment, 1 of developers decided drop lookup table file paths in, i've recreated table cant remember how string needs file path , name picked up.

i've tried n'c:\filename.xls' , n'\\pcname\temp\filename.xls' , few other variations keep getting "attachment file n'c:\filename.xls' invalid".

i've assigned relevant file permissions there no access restrictions on folder or file file stored in.

thanks

i've figured out! sql instance set use built in sa account authentication default has no access local drives!! pain!!


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -