Skip to content
小飞侠
  • 首页
  • 小程序
  • uniapp
  • vue
  • APICloud
  • 其他
菜单

博客

  1. 首页>
  2. 其他>
  3. 数据库中做循环

数据库中做循环

  • Post author:xfxia
  • Post published:2023年10月17日
  • Post category:其他


declare @tabname varchar(50)

declare tables CURSOR  FOR SELECT [name] FROM sysobjects where [name] LIKE ‘%’ + @BackupNo AND type=’U’

OPEN tables

FETCH NEXT FROM tables INTO @tabname

WHILE @@FETCH_STATUS = 0

BEGIN

exec (‘drop table

‘+@tabname

)

FETCH NEXT FROM tables INTO @tabname

END

CLOSE tables

DEALLOCATE tables


你可能也喜欢

Ubuntu 通过终端设置分辨率

SharePoint 入门基础整合

[cf920G][容斥原理+二分]

TreeSet的排序规则:自然排序和定制排序

js–选择器总结

蓝牙Beacon广播数据包格式以及解析

SQL Server查重与删重

C/C++获取文件后缀名并且比较

Android——–解决ScrollView中嵌套ExpandableListView显示不全的问题

nginx做反向代理报错peer closed connection in SSL handshake while SSL handshaking to upstream

解决RuntimeError: You called this URL via POST, but the URL doesn’t end in a slash and you have APPEND

浏览器中输入URL后发生了什么

laravel 框架中的路由

C++Builder建立及调用DLL

程序是如何执行的(一)a=a+1

下列网站服务器位于北京的是什么,北京教育网dns服务器地址

jquery 监控textare input 的value值变化

前端关于获取网络时间的方法 api (直接获取时间戳)

Oracle – Trunc() 函数截取日期&截取数值

完全卸载oracle11g步骤

目录

  • APICloud (3)
  • golang (228)
  • java (8,236)
  • linux (4,002)
  • mysql (2,800)
  • php (1,070)
  • python (5,439)
  • solidity (25)
  • uniapp (235)
  • vue (2,463)
  • 其他 (88,233)
  • 小程序 (801)

文章归档

  • 2023年十二月 (1872)
  • 2023年十一月 (477)
  • 2023年十月 (17371)
  • 2023年九月 (44974)
  • 2023年八月 (26399)
  • 2023年七月 (14793)
  • 2023年六月 (1)
  • 2023年五月 (2186)
  • 2023年四月 (3838)
  • 2023年三月 (1544)
  • 2023年二月 (3)
  • 2023年一月 (4)
  • 2022年十二月 (3)
  • 2022年十一月 (36)
  • 2022年十月 (16)
  • 2022年九月 (8)
  • 2021年九月 (1)
  • 2020年九月 (6)
  • 2020年八月 (5)

标签

Aave (1) cosmos (6) defi (255) flag (27) gitee (1) github (1) golang (234) java (8234) linux命令 (82) List (1) map (1115) mysql (3093) npm (237) tendermint (6) uuid (43) vant (64) vmware (270) 区块链 (63) 合约 (37) 小程序版本更新 (3)
  • 首页
  • 小程序
  • uniapp
  • vue
  • APICloud
  • 其他
Copyright xfxia.com 鲁ICP备19024253号-2
关闭菜单