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