• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
繁星
不要浪费时间
博客园    首页    新随笔    联系   管理    订阅  订阅

文章分类 -  SQL

SQL 查询数据表大小

摘要:if exists(select 1 from tempdb..sysobjects where id=object_id('tempdb..#tabName') and xtype='u')drop table #tabNamegocreate table #tabName(tabname var 阅读全文
posted @ 2021-03-26 16:18 ※繁星※ 阅读(829) 评论(0) 推荐(0)
SQL 游标foreach 表

摘要:declare @auid int,@aulname varchar(20),@aufname varchar(20), @st char(2),@auinfo varchar(50) declare auth_cur cursor for select tp_id, nvarchar19 from 阅读全文
posted @ 2016-07-02 21:19 ※繁星※ 阅读(361) 评论(0) 推荐(0)

博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3