Difference between revisions of "Person.vStateProvinceCountryRegion (view)"
Line 31: | Line 31: | ||
| Person.vStateProvinceCountryRegion | | Person.vStateProvinceCountryRegion | ||
|- valign="top" | |- valign="top" | ||
− | |||
| '''Description | | '''Description | ||
| Joins StateProvince table with CountryRegion table. | | Joins StateProvince table with CountryRegion table. | ||
|- | |- | ||
− | |||
|} | |} | ||
Revision as of 07:00, 30 November 2009
wikibot
view | Person.vStateProvinceCountryRegion |
CREATE VIEW [Person].[vStateProvinceCountryRegion] WITH SCHEMABINDING AS SELECT sp.[StateProvinceID] ,sp.[StateProvinceCode] ,sp.[IsOnlyStateProvinceFlag] ,sp.[Name] AS [StateProvinceName] ,sp.[TerritoryID] ,cr.[CountryRegionCode] ,cr.[Name] AS [CountryRegionName] FROM [Person].[StateProvince] sp INNER JOIN [Person].[CountryRegion] cr ON sp.[CountryRegionCode] = cr.[CountryRegionCode];
automatically generated
view | Person.vStateProvinceCountryRegion |
Description | Joins StateProvince table with CountryRegion table. |
CREATE VIEW [Person].[vStateProvinceCountryRegion] WITH SCHEMABINDING AS SELECT sp.[StateProvinceID] ,sp.[StateProvinceCode] ,sp.[IsOnlyStateProvinceFlag] ,sp.[Name] AS [StateProvinceName] ,sp.[TerritoryID] ,cr.[CountryRegionCode] ,cr.[Name] AS [CountryRegionName] FROM [Person].[StateProvince] sp INNER JOIN [Person].[CountryRegion] cr ON sp.[CountryRegionCode] = cr.[CountryRegionCode];
Dependency Type | Object Type | Referenced Object |
Select | Table | Person.CountryRegion |
Select | Table | Person.StateProvince |
Schema | Schema | Person |