会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
极客船长
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
11
12
13
14
15
16
17
18
下一页
2022年2月15日
linux命令type的用法
摘要: 一般情况下,type命令被用于判断另外一个命令是否是内置命令,但是它实际上有更多的用法。 1.判断一个名字当前是否是alias、keyword、function、builtin、file或者什么都不是: type ls 的输出是 ls 是 `ls --color=auto' 的别名 type if
阅读全文
posted @ 2022-02-15 14:00 极客船长
阅读(265)
评论(0)
推荐(0)
2022年2月14日
powershell和cmd区别
摘要: 本文给大家简单描述了一下POWERSHELL和CMD的区别,简单的说,Powershell是cmd的超集,换句话说,cmd能做的事情,Powershell都能做,但是Powershell还能额外做许多cmd不能做的活。 cmd是和powershell都可以做命令行交互,批处理和powershell脚
阅读全文
posted @ 2022-02-14 10:10 极客船长
阅读(4662)
评论(0)
推荐(0)
2022年2月7日
SqlServer修改数据库表名
摘要: --修改表名 EXEC sp_rename @objname = '旧表名', @newname = '新表名' EXEC sp_rename '旧表名', '新表名' --例1 把表TABLE1改为TABLE2 EXEC sp_rename @objname = 'TABLE1', @newnam
阅读全文
posted @ 2022-02-07 10:46 极客船长
阅读(1223)
评论(0)
推荐(0)
2022年1月20日
SqlServer-新增字段说明
摘要: EXECUTE sp_addextendedproperty N'MS_Description', '用户积分', N'user', N'dbo', N'table', N'Account', N'column', N'TotalScore'
阅读全文
posted @ 2022-01-20 17:00 极客船长
阅读(139)
评论(0)
推荐(0)
新增字段
摘要: alter table Account add TotalScore int default 0 not null;
阅读全文
posted @ 2022-01-20 17:00 极客船长
阅读(37)
评论(0)
推荐(0)
设置字段新增默认值约束
摘要: alter table clocom_scm_orders add default 0 for order_money;-
阅读全文
posted @ 2022-01-20 16:59 极客船长
阅读(76)
评论(0)
推荐(0)
修改数据库字段类型
摘要: alter table clocom_scm_orders alter column order_money decimal(18,2)
阅读全文
posted @ 2022-01-20 16:58 极客船长
阅读(114)
评论(0)
推荐(0)
根据约束名删除数据库约束
摘要: alter table clocom_scm_orders drop constraint constraintName
阅读全文
posted @ 2022-01-20 16:58 极客船长
阅读(45)
评论(0)
推荐(0)
查看数据库某个表的约束
摘要: exec sp_helpconstraint tablename
阅读全文
posted @ 2022-01-20 16:57 极客船长
阅读(78)
评论(0)
推荐(0)
2022年1月5日
laydate设置起始时间,开始日期小于结束日期
摘要: var startDate = laydate.render({ elem: '#startDay',//开始时间选择控件id max: $('#endDay').val(), type: 'date', value: $('#startDay').val(), done: function (va
阅读全文
posted @ 2022-01-05 14:30 极客船长
阅读(332)
评论(0)
推荐(0)
上一页
1
···
11
12
13
14
15
16
17
18
下一页
公告