摘要: use MES_WORKBECH_TD 根据菜单名找对应的winform窗体select * from SYS_BASE_RESOURCES awhere a.NAME like '装配转码%' --系统日志记录档 select * from sys_debug_log (nolock) awher 阅读全文
posted @ 2020-06-28 16:47 湖东 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 1、修改字段名: alter table 表名 rename column A to B 2、修改字段类型: alter table 表名 alter column 字段名 type not null 3、修改字段默认值 alter table 表名 add default (0) for 字段名 阅读全文
posted @ 2020-06-28 07:37 湖东 阅读(198) 评论(0) 推荐(0) 编辑
摘要: use Study go if exists (select * from sysobjects where name='Student')--判断是否存在此表 drop table Student go create table Student ( id int identity(1,1) pri 阅读全文
posted @ 2020-06-28 06:54 湖东 阅读(335) 评论(0) 推荐(0) 编辑