TABLE 이름 및 크기 구하기
1. MS-SQL테이블 이름 및 크기 구하기select table_name = convert(varchar(30), min(o.name)), table_size = ltrim(str(sum(reserved)*8192/1024.,15,0)+'KB')from sysindexes i inner join sysobjects o on (o.id=i.id)where i.indid in (0,1,255) and o.xtype='U'group by i.id;--------------------------------------------------------------------테이블 이름, Rows, 테이블크기, Data 크기, Index 크기, UnusedDECLARE @Low bigintSELECT @Low = l..
더보기