![]()
cs_Licenses_Update
ALTER PROCEDURE dbo.cs_Licenses_Update
@LicenseID uniqueidentifier,
@LicenseType nvarchar(50),
@LicenseValue ntext
AS
![]()
if exists(select LicenseType from cs_Licenses where LicenseType = @LicenseType)
![]()
/**//*如果存在此许可类型*/
begin
delete from cs_Licenses where LicenseType = @LicenseType
end
![]()
/**//*删除*/
![]()
insert into cs_Licenses (LicenseID, LicenseType, LicenseValue) values (@LicenseID, @LicenseType, @LicenseValue)
![]()
/**//*插入许可*/
![]()
cs_Licenses_Get
ALTER PROCEDURE dbo.cs_Licenses_Get AS
![]()
SELECT * FROM cs_Licenses
![]()
/**//*查询全部*/
![]()
[cs_InkData_Update]
ALTER Proc [dbo].[cs_InkData_Update]
(
@SectionID int,
@SettingsID int,
@Ink NTEXT,
@DateUpdated datetime,
@InkID int
)
as
![]()
update cs_InkData
SET
Ink = @Ink,
DateUpdated = @DateUpdated
where
SettingsID = @SettingsID and SectionID = @SectionID and InkID = @InkID
![]()
/**//*更新*/
![]()
[cs_InkData_Get]
ALTER Proc [dbo].[cs_InkData_Get]
(
@InkID int,
@SettingsID int
)
as
Select InkID, Ink, UserID, SectionID, SettingsID, DateUpdated, ApplicationType FROM cs_InkData where InkID = @InkID and SettingsID = @SettingsID
![]()
/**//*获取数据*/
![]()
posted on
2006-09-20 16:11
MainIsUsed
阅读(
222)
评论()
收藏
举报