emailamos
asked on
OPENROWSET from a network share drive
SELECT * FROM OPENROWSET (BULK '\\mynetworksharedrive\XML \Output_Fi les\test.x ml', SINGLE_BLOB) AS Data
I'm trying to read the xml from a network sharedrive but wasn't successful, tried using a 'C:\XML\Output_Files\test. xml' is okay, but the xml file would eventually stored in a network drive rather than my c drive or the database server c drive.
Is there a way to mapped it to a network drive?
I'm trying to read the xml from a network sharedrive but wasn't successful, tried using a 'C:\XML\Output_Files\test.
Is there a way to mapped it to a network drive?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
yes, thanks
Once you done with that, login to your SSMS with windows authentication and you will be ok