Posts

Showing posts from November, 2022

How to Find System Server details using SQL

Image
DECLARE @test varchar ( 20 ) ,             @key varchar ( 100 ),             @NUMBER_OF_PROCESSORS   varchar ( 20 ) ,             @PROCESSOR_IDENTIFIER   varchar ( 100 ) ,             @SystemManufacturer   varchar ( 20 ) ,             @ProcessorNameString varchar ( 100 ),             @connection varchar ( 50 ),             @SystemProductName varchar ( 100 ) select             @connection = convert ( varchar ( 50 ), CONNECTIONPROPERTY ( 'local_net_address' ), 1 ) set @key = 'System\CurrentControlSet\Control\Session Manager\Environment' EXEC master .. xp_regread @rootkey = 'HKEY_LOCAL_MACHINE' ,                                     @key = @key , @value_name = 'NUMBER_OF_PROCESSORS' ,                                     @value = @NUMBER_OF_PROCESSORS                   OUTPUT set @key = 'HARDWARE\DESCRIPTION\system\BIOS' EXEC master .. xp_regread @rootkey = 'HKEY_LOCAL_MACHINE' ,               

Count of words in column

Image
Input Data: Output Data: DECLARE @WordCount TABLE (        [Word List] varchar ( 100 ) ) INSERT INTO @WordCount VALUES ( 'Adam Michelle Larry' ) , ( 'Pisa London Moscow Delhi' ) , ( 'Maths Physics' ) , ( 'England' ), ( 'a b c d e f g h' )     SELECT * FROM @WordCount SELECT [Word List] , LEN ( [Word List] ) - LEN ( REPLACE ( [Word List] , ' ' , '' )) + 1 AS [Count] FROM @WordCount

SQL Server 2022 is now generally available

Image
Microsoft announced the general availability of SQL Server 2022, the most Azure-enabled release of SQL Server yet, with continued innovation across performance, security, and availability. This marks the latest milestone in the more than 30-year history of SQL Server. SQL Server 2022 is a core element of the Microsoft Intelligent Data Platform. The platform seamlessly integrates operational databases, analytics, and data governance. This enables customers to adapt in real-time, add layers of intelligence to their applications, unlock fast and predictive insights, and govern their data—wherever it resides. SQL Server 2022’s connections to Azure, including Azure Synapse Link and Microsoft Purview make it easier for customers to drive deeper insights, predictions, and governance from their data at scale. Azure integration also includes managed disaster recovery (DR) to Azure SQL Managed Instance, along with near real-time analytics, allowing database administrators to manage their data es

SQL Server 2022 - Disk space requirements

During installation of SQL Server, Windows Installer creates temporary files on the system drive. Before you run Setup to install or upgrade SQL Server, verify that you have at least 6.0 GB of available disk space on the system drive for these files. This requirement applies even if you install SQL Server components to a non-default drive. Actual hard disk space requirements depend on your system configuration and the features that you decide to install. The following table provides disk space requirements for SQL Server components. Feature Disk space requirement Database Engine and data files, Replication, Full-Text Search, and Data Quality Services 1,480 MB Database Engine (as above) with R Services (In-Database) 2,744 MB Database Engine (as above) with PolyBase Query Service for External Data 4,194 MB Analysis Services and data files 698 MB Reporting Services 967 MB Microsoft R Server (Standalone) 280 MB Reporting Services - SharePoint 1,203 MB Reporting Services Add-in for SharePoi

SQL Server 2022 - Operate system support

The following table shows which editions of SQL Server 2022 (16.x) are compatible with which versions of Windows: SQL Server edition: Enterprise Developer Standard Web Express Windows Server 2022 Datacenter Yes Yes Yes Yes Yes Windows Server 2022 Datacenter: Azure Edition Yes Yes Yes Yes Yes Windows Server 2022 Standard Yes Yes Yes Yes Yes Windows Server 2019 Datacenter Yes Yes Yes Yes Yes Windows Server 2019 Standard Yes Yes Yes Yes Yes Windows Server 2019 Essentials Yes Yes Yes Yes Yes Windows Server 2016 Datacenter Yes Yes Yes Yes Yes Windows Server 2016 Standard Yes Yes Yes Yes Yes Windows Server 2016 Essentials Yes Yes Yes Yes Yes Windows 11 IoT Enterprise No Yes Yes No Yes Windows 11 Enterprise No Yes Yes No Yes Windows 11 Professional No Yes Yes No Yes Windows 11 Home No Yes Yes No Yes Windows 10 IoT Enterprise No Yes Yes No Yes Windows 10 Enterprise No Yes Yes No Yes Windows 10 Professional No Yes Yes No Yes Windows 10 Home No Yes Yes No Yes

Microsoft Ignite Spotlight on Australia and New Zealand

Thursday 8 December 2022 |   11:00 AM - 12:30 PM AEDT (GMT+11:00) Sydney | 1:00 PM - 2:30 PM NZDT (GMT+13:00) Auckland Join us as we dive into how these curated, global themes will accelerate business and shape the future of tech in Australia and New Zealand. Key themes: Be data driven and optimize with Azure  Deliver efficiency with automation and AI  Empower people to work in new ways Innovate with a cloud developer platform Protect everything, everyone, everywhere Registration:  Microsoft Ignite Spotlight on Australia and New Zealand