Home Microsoft SQL Server DigiMailing iRN Contact


  No additional text.


CREATE VIEW sys.master_files$ AS
		database_id 		= dbid,
		file_id 		= fileid,
		name 			= lname,
		size, growth,
		max_size		= maxsize,
		type			= filetype,
		file_state		= filestate,
		is_media_read_only 	= convert(bit, status & 8),	-- FIL_READONLY_MEDIA
		is_read_only 		= convert(bit, status & 16),	-- FIL_READONLY
		is_sparse 		= convert(bit, status & 256),	-- FIL_SPARSE_FILE
		is_percent_growth 	= convert(bit, status & 32),	-- FIL_PERCENT_GROWTH
		data_space_id 		= grpid,
		physical_name 		= pname,
		recovery_unit_id = pruid
	FROM master.sys.sysbrickfiles
	WHERE has_access('MF', 1) = 1

Last revision 2008RTM
See also

  sysaltfiles (View)
sysdatabases (View)


  Query a named instance
SQL 2008 R2
Deprecated procedures in SQL2008
Reporting Services item-level role definitions
Create all your missing indexes
Converting datetime field
Start MSSQL Server Profiler at time
Replicating MSSQL Server views
Exploring Microsoft Sharepoint
The OLE DB provider "SQLNCLI10" for linked server indicates.
Mobile solar charger
Oracle to SQL Server replication
Cannot insert the value NULL into column
Undocumented Microsoft SQL Server 2008
Zoekmachine optimalisatie
SQL Servers hidden objects
Flash in Ajax
De hype die AJAX heet
Barcode scannen
MySQL; Gratis, makkelijk en snel!
sIFR; de combinatie tussen HTML en Flash