Microsoft SQLServer DBA (Database administrator)
Pro adminstraci SQLServer databází mám v oblibě několik skriptů.
Database
Adhoc skripty
Objects
Performance
Blocked processes
Drop datafile
Database
Adhoc skripty
Objects
Performance
Blocked processes
Drop datafile
-- shrink datafile to empty size by migrate content to other datafiles in group
-- issue folowing statement
ALTER DATABASE DB_NAME REMOVE FILE LOGICAL_FILENAME
www.juhanak.cz | petr
juhanak.cz
juhanak.cz 2010