Created
April 19, 2019 09:53
-
-
Save sajeetharan/985bd411e3e80ebb8134a16c684748ce to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
CAST(BusinessEntityID AS varchar) AS [id], | |
Name AS [name], | |
AddressType AS [address.addressType], | |
AddressLine1 AS [address.addressLine1], | |
City AS [address.location.city], | |
StateProvinceName AS [address.location.stateProvinceName], | |
PostalCode AS [address.postalCode], | |
CountryRegionName AS [address.countryRegionName] | |
FROM | |
Sales.vStoreWithAddresses | |
WHERE | |
AddressType='Shipping' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment