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
/**/
/*
获取数据
*/
查看全文
相关阅读:
重置csr
修改node节点名称
k8s报错解决
k8s测试容器之间是否互通
MyEclipse------executeBatch()使用方法
MyEclipse------execute()使用方法
MyEclipse------如何查询MySQL数据库里面表的信息
MyEclipse------如何连接MySQL
MyEclipse------从服务器下载文件
MyEclipse------各种问题解决方法
原文地址:https://www.cnblogs.com/ruanbl/p/509756.html
最新文章
C语言 · 乘法表
C语言 · 薪水计算
C语言 · 数位分离
C语言 · 判定数字
C语言 · 最大值与最小值计算
windows基础知识(win7)
wireshark使用
shell功能
html-1
grep命令详解
热门文章
常见命令
Python攻击
open live writer
kvm-1
mysql双主架构
shell脚本安装jdk
vim编辑器使用
elk、kafka、zookeeper 安装
configmap使用-查看configmap个数
configmap使用-完整的configmap文档
Copyright © 2011-2022 走看看