欢迎莅临 SUN WU GANG 的园子!!!

世上无难事,只畏有心人。有心之人,即立志之坚午也,志坚则不畏事之不成。

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  470 随笔 :: 0 文章 :: 22 评论 :: 30万 阅读
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

01 2024 档案

摘要:第一步:将字段为空的信息更改为默认值 第二步:更改字段为非空 第三步:设置默认值约束 update TableImageQuality set ImageScore= 0 where ImageScore is null ALTER TABLE TableImageQuality ALTER COL 阅读全文
posted @ 2024-01-29 15:14 sunwugang 阅读(16) 评论(0) 推荐(0) 编辑

摘要:一.使用临时表方式处理 EXEC [dbo].[ProcTotalScoreCountStatistics] '报告质量','2021-08-08 10:32:00','2024-12-30 10:32:00','999002002' 查询存储过程数据步骤 --1.创建临时表 create tabl 阅读全文
posted @ 2024-01-17 17:52 sunwugang 阅读(9) 评论(0) 推荐(0) 编辑

摘要:--通过函数处理除法,获取百分比 if object_id('GetPassRate','fn') is not null drop function GetPassRate go create function [dbo].[GetPassRate]( @num1 int, @num2 int) 阅读全文
posted @ 2024-01-08 14:03 sunwugang 阅读(11) 评论(0) 推荐(0) 编辑

摘要:实现查询列不分组 select t.OrganizationCode,(t.OrganizationName) from DictOrganization t select t.OrganizationCode,max(t.OrganizationName)OrganizationName from 阅读全文
posted @ 2024-01-05 15:53 sunwugang 阅读(5) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示