1ALTER PROCEDURE [dbo].aspnet_CheckSchemaVersion
2 @Feature NVARCHAR(128),
3 @CompatibleSchemaVersion NVARCHAR(128)
4AS
5BEGIN
6 IF (EXISTS( SELECT *
7 FROM dbo.aspnet_SchemaVersions
8 WHERE Feature = LOWER( @Feature ) AND
9 CompatibleSchemaVersion = @CompatibleSchemaVersion ))
10 RETURN 0 /*如果存在符合条件的'版本计划'则返回0(字段不大懂..)*/
11
12 RETURN 1 /*不存在返回1*/
13END
2 @Feature NVARCHAR(128),
3 @CompatibleSchemaVersion NVARCHAR(128)
4AS
5BEGIN
6 IF (EXISTS( SELECT *
7 FROM dbo.aspnet_SchemaVersions
8 WHERE Feature = LOWER( @Feature ) AND
9 CompatibleSchemaVersion = @CompatibleSchemaVersion ))
10 RETURN 0 /*如果存在符合条件的'版本计划'则返回0(字段不大懂..)*/
11
12 RETURN 1 /*不存在返回1*/
13END