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
Post a Comment