Add missing property and datatypes for SERVERPROPERTY#5261
Merged
ktoliver merged 2 commits intoMicrosoftDocs:livefrom Aug 5, 2020
Merged
Add missing property and datatypes for SERVERPROPERTY#5261ktoliver merged 2 commits intoMicrosoftDocs:livefrom
ktoliver merged 2 commits intoMicrosoftDocs:livefrom
Conversation
1. `IsTempdbMetadataMemoryOptimized` property, added in SQL Server 2019, was missing, but is not "undocumented" given that it's documented in the "TempDB Database" documentation:
https://docs.microsoft.com/en-us/sql/relational-databases/databases/tempdb-database#memory-optimized-tempdb-metadata
2. Moved the three "Filestream" properties up to be in alphabetical order, like the rest of the items in the list.
3. Added missing "base data type"s for various properties. The query below shows what the datatypes are. For `ProductBuildType`, I could only get that to not be `NULL` using SQL Server 2012 Express Edition LocalDB (SP4-GDR) (KB4057116) - 11.0.7462.6 (X64).
```sql
SELECT tab.[Property],
SERVERPROPERTY(tab.[Property]) AS [Value],
SQL_VARIANT_PROPERTY(SERVERPROPERTY(tab.[Property]), 'BaseType') AS [Datatype],
SQL_VARIANT_PROPERTY(SERVERPROPERTY(tab.[Property]), 'MaxLength') AS [MaxLength]
FROM (VALUES
('IsTempDbMetadataMemoryOptimized'),
('HadrManagerStatus'),
('InstanceDefaultDataPath'),
('InstanceDefaultLogPath'),
('IsAdvancedAnalyticsInstalled'),
('IsBigDataCluster'),
('IsLocalDB'),
('ProductBuild'),
('ProductBuildType'),
('ProductMajorVersion'),
('ProductMinorVersion'),
('ProductUpdateLevel'),
('ProductUpdateReference'),
('FilestreamShareName'),
('FilestreamConfiguredLevel'),
('FilestreamEffectiveLevel')
) tab([Property])
ORDER BY tab.[Property];
```
Contributor
|
@srutzky : Thanks for your contribution! The author(s) have been notified to review your proposed change. |
Member
|
@srutzky - Hey Solomon! Thanks for these additions. Let me check on them before approval. |
bluefooted
reviewed
Aug 5, 2020
Also added the correct relative path for the link.
Member
|
@srutzky - Solomon, we're good to go. Thanks again for helping us with these docs! #sign-off |
Contributor
Author
|
@VanMSFT (and @bluefooted ): you're welcome 😺 . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
IsTempdbMetadataMemoryOptimizedproperty, added in SQL Server 2019, was missing, but is not "undocumented" given that it's documented in the "TempDB Database" documentation:https://docs.microsoft.com/en-us/sql/relational-databases/databases/tempdb-database#memory-optimized-tempdb-metadata
PLEASE verify relative URL for the "TempDB Database" link in the new row for
IsTempdbMetadataMemoryOptimized.Moved the three "Filestream" properties up to be in alphabetical order, like the rest of the items in the list.
Added missing "base data type"s for various properties. The query below shows what the datatypes are. For
ProductBuildType, I could only get that to not beNULLusing SQL Server 2012 Express Edition LocalDB (SP4-GDR) (KB4057116) - 11.0.7462.6 (X64).Take care,
Solomon...
https://SqlQuantumLift.com/
https://SqlQuantumLeap.com/
https://SQLsharp.com/