09 2020 档案

摘要:判断临时表是否存在,存在则删除 if OBJECT_ID('tempdb..#tempTable') IS NOT NULL begin DROP TABLE #temp_Table end 创建临时表(' # '局部的临时表仅在会话里边, ' ## '全局的的临时表) create table # 阅读全文
posted @ 2020-09-29 20:15 龙er飞 阅读(3988) 评论(0) 推荐(1)
摘要:对Table 表做操作 Table Table(表名),id(Table的自增字段),临时表的定义 用ID递增 去循环 declare @id int =0 while( (select top 1 id from Table where id>@id order by id)>0 ) begin 阅读全文
posted @ 2020-09-29 16:59 龙er飞 阅读(604) 评论(0) 推荐(0)
摘要:.gitignore 无效解决办法 在git中如果想忽略掉某个文件,不让这个文件提交到版本库中,可以使用修改根目录中 .gitignore 文件的方法; 但是有时候在项目开发过程中,想把某些目录或文件加入忽略规则,修改.gitignore去无效,原因是.gitignore只能忽略那些原来没有被tra 阅读全文
posted @ 2020-09-11 11:24 龙er飞 阅读(126) 评论(0) 推荐(0)