0

您如何将 SCHEMABINDING 与 XMLNAMESPACES 一起包含在内

CREATE View [dbo].[GetSomething] As

WITH XMLNAMESPACES ( 'http://www.something.com/some.xsd' AS gev)

-- How to include SCHEMABINDING--

SELECT 
4

2 回答 2

2
CREATE View [dbo].[GetSomething] 
WITH SCHEMABINDING
AS

WITH XMLNAMESPACES ( 'http://www.something.com/some.xsd' AS gev)

SELECT -- Make sure your select follows the rules for schemabinding of course
于 2013-02-12T22:37:48.763 回答
1
CREATE VIEW dbo.Something WITH SCHEMABINDING AS 

WITH XMLNAMESPACES
于 2013-02-12T22:22:58.270 回答