Saturday, May 4, 2013

[SQL Server] PBM ExecuteSQL Query & Min Memory Settings

[SQL Server] PBM ExecuteSQL Query & Min Memory Settings


PBM ExecuteSQL Query & Min Memory Settings

Posted: 04 May 2013 05:31 AM PDT

Hi all, Im trying to use PBM a bit, but came into a few problems.Problem 1:Setting up a Min Memory setting policy, trying to find any servers that haven't been configuredServer Configurations @MinServerMemory > 0 But using this on a server with no configured min mem it returns 16??? Using [code="sql"]SELECT [value]FROM sys.configurationsWHERE [name] = 'min server memory (MB)'[/code]I return 0. Any ideas why? Problem 2:I tried to use ExecuteSQL to run the above code (mainly to try and learn using executeSQL) I get the error:'Property ExpressionNode is not set'The Cell is:[code="sql"]ExecuteSql('Numeric', 'SELECT [value]FROM sys.configurationsWHERE [name] = 'min server memory (MB)'')[/code]Hope someone can help.

No comments:

Post a Comment

Search This Blog