Skip to content

Instantly share code, notes, and snippets.

@rafaelvelosoAZ
Created June 2, 2022 14:30
Show Gist options
  • Save rafaelvelosoAZ/0834a01cc492384a7d9a53da131b2737 to your computer and use it in GitHub Desktop.
Save rafaelvelosoAZ/0834a01cc492384a7d9a53da131b2737 to your computer and use it in GitHub Desktop.
Mapping a local from file share to SQL Server
xp_cmdshell 'net use Z: "\\StorageAccountName.file.core.windows.net\FileShareName" /user:Azure\StorageAccountName StorageAccountAccessKey'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment