摘要: 游标是什么? 游标本质上是一行select查询,这点不难从其创建的语法中看出。 游标可以用来干什么? 游标是对查询结果集的遍历,一次只获取/指向一行数据,可以对数据进行精细化(行级操作)处理。 游标明显的优势/劣势 游标将数据存储到内存中去,数据量较大时,不建议使用游标,且通常情况下,都不建议使用游 阅读全文
posted @ 2024-04-07 21:04 心智刚 阅读(1) 评论(0) 推荐(0) 编辑
摘要: exec sp_helpfile sp_helpfile 'dbname' Returns the physical names and attributes of files associated with the current database. 返回db名称,数据文件,事务日志文件地址,初始 阅读全文
posted @ 2024-03-21 23:02 心智刚 阅读(3) 评论(0) 推荐(0) 编辑