2024年3月14日
摘要: DELETE T FROM ( SELECT * , DupRank = ROW_NUMBER() OVER ( PARTITION BY ID ORDER BY (SELECT NULL) ) FROM Table1 ) AS T WHERE DupRank > 1 说明:Table1 为要删除表 阅读全文
posted @ 2024-03-14 11:56 我的梦想是开个小店 阅读(1) 评论(0) 推荐(0) 编辑
  2023年9月22日
摘要: 用 encodeURI decodeURI 解决 发起页面 : var name ="张三"; name = encodeURI (encodeURI(name));//此处需要嵌套两层 url = ~/open.html?name=name 接收页面 var name = decodeURI(re 阅读全文
posted @ 2023-09-22 10:54 我的梦想是开个小店 阅读(31) 评论(0) 推荐(0) 编辑
  2023年7月7日
摘要: string gddata = “af,cd” int index = gddata.IndexOf(","); if (index >= 0) // 如果找到了指定字符 { string result = gddata.Substring(0, index); // 截取逗号前面的数据 af st 阅读全文
posted @ 2023-07-07 09:21 我的梦想是开个小店 阅读(80) 评论(0) 推荐(0) 编辑
  2023年7月6日
摘要: select ID from User group by ID having count(ID) > 1 阅读全文
posted @ 2023-07-06 17:03 我的梦想是开个小店 阅读(11) 评论(0) 推荐(0) 编辑
  2023年3月24日
摘要: --SQL SERVER 随机取出某一条数据 --我们贴一下代码吧。 select top 1 * from table1 where id is not null ORDER BY NEWID() 阅读全文
posted @ 2023-03-24 11:22 我的梦想是开个小店 阅读(162) 评论(0) 推荐(0) 编辑
  2022年12月30日
摘要: <video id="vi" controls style="width:100%; height:100%; object-fit:fill"> <source src='Img/3.mp4' type="video/mp4"></source> </video> 阅读全文
posted @ 2022-12-30 11:34 我的梦想是开个小店 阅读(18) 评论(0) 推荐(0) 编辑
  2022年12月21日
摘要: 将base64中的空格去掉 代码: public ActionResult body_seg(string base64) { string token = getAccessToken(); logo: string host = "https://aip.baidubce.com/rest/2. 阅读全文
posted @ 2022-12-21 11:56 我的梦想是开个小店 阅读(84) 评论(0) 推荐(0) 编辑
  2022年12月9日
摘要: 使用js调用音频文件报错,错误信息如下:play() failed because the user didn’t interact with the document first该报错是浏览器对于自动播放限制抛出的:play方法调用失败,因为用户没有先操作文档【用户没有先去跟网页做交互再执行音频播 阅读全文
posted @ 2022-12-09 10:06 我的梦想是开个小店 阅读(2468) 评论(0) 推荐(0) 编辑
  2022年11月21日
摘要: 1、备份要还原的数据库 选择要备份的数据库,右键单击,任务——备份。 2、备份完成后,将数据库还原 3、新建一个空的数据库,比如Gsy_TestNew,将备份的数据库还原到这个新的库上 4、右键单击【数据库】——【还原数据库】 5、打开【还原数据库】对话框,在【选项】标签,更改数据库,此处选择要还原 阅读全文
posted @ 2022-11-21 11:26 我的梦想是开个小店 阅读(2514) 评论(0) 推荐(0) 编辑
  2022年10月19日
摘要: HTML: <div class="cal_bottom" style="height:78%;margin-top:2%;overflow:auto;" id="gridtablejw"> <ul id="zbry1"></ul> <ul id="zbry2"></ul> </div> JS为di 阅读全文
posted @ 2022-10-19 10:57 我的梦想是开个小店 阅读(41) 评论(0) 推荐(0) 编辑