Newsletter Subject

SQL Server Data Archiving, Query SQL Server Agent, ISJSON enhancements and Tables Per Filegroup Script

From

mssqltips.com

Email Address

newsletter1@mssqltips.com

Sent On

Wed, Mar 6, 2024 11:10 AM

Email Preheader Text

TODAY'S NEWS FROM MSSQLTips Learn something new every day! This tip explores a better, more direct,

[MSSQLTips.com logo]( [View email in your browser]( TODAY'S NEWS FROM MSSQLTips Learn something new every day! [mssqltips image]( [Archive SQL Server Data using the SQL OUTPUT Clause]( This tip explores a better, more direct, and more optimized method for moving or archiving data in SQL Server using the SQL OUTPUT clause.... [Read Now]( [mssqltips image]( [Best-of-class SQL Server Performance Monitoring and Alerting]( Learn about SolarWinds' SQL Sentry designed to monitor SQL Servers, collect Key Performance Indicators (KPIs), highlight poorly performing queries, identify performance-related issues, and send alerts to notify DBA teams promptly.... [Read Now]( [mssqltips image]( [ISJSON enhancements in SQL Server]( In this article, we look at an enhancement to the ISJOSN function that allows you to validate whether the JSON format is valid for a value, array, or object.... [Read Now]( TODAY'S SCRIPT ON MSSQLTips SQL Server Tables Per Filegroup SELECT FileGroupName = DS.name ,FileGroupType = CASE DS.[type] WHEN 'FG' THEN 'Filegroup' WHEN 'FD' THEN 'Filestream' WHEN 'FX' THEN 'Memory-optimized' WHEN 'PS' THEN 'Partition Scheme' ELSE 'Unknown' END -- ,AllocationDesc = AU.type_desc ,TotalSizeKB = SUM(AU.total_pages / 0.128) -- 128 pages per megabyte ,UsedSizeKB = SUM(AU.used_pages / 0.128) ,DataSizeKB = SUM(AU.data_pages / 0.128) ,SchemaName = SCH.name ,TableName = OBJ.name ,IndexType = CASE IDX.[type] WHEN 0 THEN 'Heap' WHEN 1 THEN 'Clustered' WHEN 2 THEN 'Nonclustered' WHEN 3 THEN 'XML' WHEN 4 THEN 'Spatial' WHEN 5 THEN 'Clustered columnstore' WHEN 6 THEN 'Nonclustered columnstore' WHEN 7 THEN 'Nonclustered hash' END ,IndexName = IDX.name ,is_default = CONVERT(INT,DS.is_default) ,is_read_only = CONVERT(INT,DS.is_read_only) FROM sys.filegroups DS -- you could also use sys.data_spaces LEFT JOIN sys.allocation_units AU ON DS.data_space_id = AU.data_space_id LEFT JOIN sys.partitions PA ON (AU.[type] IN (1, 3) AND AU.container_id = PA.hobt_id) OR (AU.[type] = 2 AND AU.container_id = PA.[partition_id]) LEFT JOIN sys.objects OBJ ON PA.[object_id] = OBJ.[object_id] LEFT JOIN sys.schemas SCH ON OBJ.[schema_id] = SCH.[schema_id] LEFT JOIN sys.indexes IDX ON PA.[object_id] = IDX.[object_id] AND PA.index_id = IDX.index_id WHERE OBJ.type_desc = 'USER_TABLE' -- only include user tables OR DS.[type] = 'FD' -- or the filestream filegroup GROUP BY DS.name,SCH.name,OBJ.name,IDX.[type],IDX.name,DS.[type],DS.is_default,DS.is_read_only ORDER BY DS.name,SCH.name,OBJ.name,IDX.name; Learn more: [Custom SSMS report to show SQL Server tables per filegroup]( Feedback on this script or today's newsletter? [Provide feedback]( to the MSSQLTips.com Team. RECOMMENDED READING ON MSSQLTips [mssqltips image]( [SQL Server Data Warehouse Data Correction Options]( Data Quality | SSIS Workflow | Downloadable Solution - How can we clean, validate and enhance our Contact dimension in our SQL Server Data Warehouse without writing code?... [Read Now]( [mssqltips image]( [Query SQL Server Agent Jobs, Steps and Schedules]( In this tip we look at different queries you can use to directly get information about SQL Server Agent Jobs instead of using SQL Server Management Studio.... [Read Now]( [mssqltips image]( [Clumio - SQL Backups Built for DBAs, Loved by IT]( Clumio's cloud-native SQL Server backups for AWS is the perfect backup solution for SQL Server on Amazon EC2 for successful cloud migrations, .NET applications in AWS, and running Windows workloads in tandem with AWS services. ... [Read Now]( [Manage MSSQLTips Subscriptions | Unsubscribe](. Edgewood Solutions LLC PO Box 682 | Wilton, NH 03086 [Privacy Statement]( Sent to: {EMAIL} [tag]

Marketing emails from mssqltips.com

View More
Sent On

13/05/2024

Sent On

10/05/2024

Sent On

09/05/2024

Sent On

08/05/2024

Sent On

07/05/2024

Sent On

06/05/2024

Email Content Statistics

Subscribe Now

Subject Line Length

Data shows that subject lines with 6 to 10 words generated 21 percent higher open rate.

Subscribe Now

Average in this category

Subscribe Now

Number of Words

The more words in the content, the more time the user will need to spend reading. Get straight to the point with catchy short phrases and interesting photos and graphics.

Subscribe Now

Average in this category

Subscribe Now

Number of Images

More images or large images might cause the email to load slower. Aim for a balance of words and images.

Subscribe Now

Average in this category

Subscribe Now

Time to Read

Longer reading time requires more attention and patience from users. Aim for short phrases and catchy keywords.

Subscribe Now

Average in this category

Subscribe Now

Predicted open rate

Subscribe Now

Spam Score

Spam score is determined by a large number of checks performed on the content of the email. For the best delivery results, it is advised to lower your spam score as much as possible.

Subscribe Now

Flesch reading score

Flesch reading score measures how complex a text is. The lower the score, the more difficult the text is to read. The Flesch readability score uses the average length of your sentences (measured by the number of words) and the average number of syllables per word in an equation to calculate the reading ease. Text with a very high Flesch reading ease score (about 100) is straightforward and easy to read, with short sentences and no words of more than two syllables. Usually, a reading ease score of 60-70 is considered acceptable/normal for web copy.

Subscribe Now

Technologies

What powers this email? Every email we receive is parsed to determine the sending ESP and any additional email technologies used.

Subscribe Now

Email Size (not include images)

Font Used

No. Font Name
Subscribe Now

Copyright © 2019–2024 SimilarMail.