Minion.DBMaintDBSizeGet
	 	
			
			Print
 		
	
	
	 Created by: Sean McCown 
 
	
	Modified on: Thu, Jul 12, 2018 at 10:23 AM
	
	
	
		Determines the size of the database passed in through @DBName, as determined by the ThresholdType and ThresholdValue fields in the Minion.CheckDBSettingsAutoThresholds table.
Note that this function is shared between Minion modules.
 
	
		
			| Name | 
			Type | 
			Description | 
		
		
			| @Module | 
			varchar | 
			
			 The name of the Minion module. 
			  
			Valid inputs include: 
			CHECKDB 
			 | 
		
		
			| @OpName | 
			varchar | 
			
			 An output parameter that provides the operation name (e.g., CHECKDB). 
			 | 
		
		
			| @DBName | 
			varchar | 
			
			 Database name. 
			 | 
		
		
			| @DBSize | 
			decimal | 
			
			 An output parameter that provides the database size, as measured in GB. 
			 | 
		
	
	
	
	
		
		   Sean is the author of this solution article. 
										Did you find it helpful?
								Yes
								No
Send feedback	Sorry we couldn't be helpful. Help us improve this article with your feedback.