随笔分类 -  SqlServer

摘要:参考:简单易懂 阅读全文
posted @ 2024-06-04 16:13 _疾跑的蜗牛 阅读(58) 评论(0) 推荐(0)
摘要:原文出自:https://www.cnblogs.com/xunziji/archive/2012/08/22/2650822.html 阅读全文
posted @ 2020-11-26 15:39 _疾跑的蜗牛 阅读(178) 评论(0) 推荐(0)
摘要:ALTER TABLE Table1 ALTER COLUMN column1 VARCHAR(255) 阅读全文
posted @ 2019-07-25 17:17 _疾跑的蜗牛 阅读(2416) 评论(0) 推荐(0)
摘要:参考:https://www.cnblogs.com/coce/p/8052574.html 阅读全文
posted @ 2018-12-26 17:48 _疾跑的蜗牛 阅读(508) 评论(0) 推荐(0)
摘要:方法一:https://bbs.csdn.net/topics/100013082 方法二:http://blog.51cto.com/jimshu/1095780 *** 方法三:https://blog.csdn.net/kk185800961/article/details/72763511 阅读全文
posted @ 2018-12-03 14:21 _疾跑的蜗牛 阅读(897) 评论(0) 推荐(0)
摘要:DECLARE @starttime DATETIME = '2016-12-01' , @endtime DATETIME = '2016-12-02 14:56:39.927';DECLARE @datediffss INT = DATEDIFF(ss, @starttime, @endt... 阅读全文
posted @ 2017-09-26 18:34 _疾跑的蜗牛 阅读(3697) 评论(0) 推荐(0)
摘要:DECLARE @days INT, @date_start DATETIME = '2016-11-01', @date_end DATETIME = '2016-11-10' SET @days = DATEDIFF(DAY, @DATE_START, @DATE_END... 阅读全文
posted @ 2017-09-26 18:34 _疾跑的蜗牛 阅读(2203) 评论(0) 推荐(0)
摘要:REPLACE(@string,CHAR(13)+CHAR(10),char(32)) 阅读全文
posted @ 2017-09-26 18:34 _疾跑的蜗牛 阅读(278) 评论(0) 推荐(0)
摘要:USE [KM_Voice] GO /****** Object: StoredProcedure [dbo].[proc_insert] Script Date: 01/09/2015 18:44:35 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTI... 阅读全文
posted @ 2017-09-26 18:34 _疾跑的蜗牛 阅读(219) 评论(0) 推荐(0)
摘要:参考地址:http://blog.sina.com.cn/s/blog_b3eabfd30102wldv.html参考语句:if object_id('[aaa]') is not null drop table [aaa]gocreate table [aaa]([地区] varchar(4),[... 阅读全文
posted @ 2017-09-26 18:34 _疾跑的蜗牛 阅读(1469) 评论(0) 推荐(0)