2008年9月8日

some skill in sql

摘要: sometimes ,if you need to use in ,pls consider if we can create a procedure as follows to instead the traditional mothod(select count(*) from tb where id in('10','16')). create procedure usp_functio... 阅读全文

posted @ 2008-09-08 02:21 Yongming.dai 阅读(231) 评论(0) 推荐(0)

sqlserver2005 学习笔记

摘要: sqlserver 在生成每一个Instance时会同时生成Master/model/tempdb/msdb四个系统数据库。 tempdb, 1、tempdb是一个临时数据库,为了保证有连接查询(join),临时表、group,distinct,order by ,nested query等操作的系统性能(这些操作都在这个库里完成,所以其存取操作很频繁),系统一般需要保证tempdb有足够的空间,... 阅读全文

posted @ 2008-09-08 01:24 Yongming.dai 阅读(330) 评论(0) 推荐(0)

导航