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