zoukankan
html css js c++ java
[cs_InkData_Get]//[cs_InkData_Update]///cs_Licenses_Get///cs_Licenses_Update
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
/**/
/*
获取数据
*/
查看全文
相关阅读:
洛谷 1516 青蛙的约会
洛谷 P2626 斐波那契数列(升级版)
vijos 1034 家族(水题日常)
洛谷 P1082 同余方程
洛谷 P1181 数列分段Section I(水题日常)
洛谷 P1531 I Hate It
codevs 2728 整数帝国问题(水题日常)
[BZOJ1467]Pku3243 clever Y
bzoj1070: [SCOI2007]修车
bzoj 4650: [Noi2016]优秀的拆分
原文地址:https://www.cnblogs.com/ruanbl/p/509756.html
最新文章
SignalR —— Asp.net RealTime的春天
EntityFramework 6.0< Code First > 连接 Mysql数据库
EF 实体映射
转:.NET获取当前方法名或调用此方法的方法名
两周总结
C# EventWaitHandle
TODO:C# Socket
51nod 1432 独木舟
codevs 2046 孪生素数 3 (水题日常)
POJ 3468 A Simple Problem with Integers
热门文章
COGS 1361. 树
COGS 1743. 忠诚
COGS 827. [Tyvj Feb11] 网站计划
codevs 2600 13号星期几?
codevs 2989 寻找somebody
洛谷 P3383 【模板】线性筛素数
洛谷 P1434 滑雪
洛谷 P1732 活蹦乱跳的香穗子
洛谷 P1464 Function
洛谷 P3183 [HAOI2016]食物链
Copyright © 2011-2022 走看看