SQL

What is SQL Server?

SQL Guide Image

What is SQL Server?

The original SQL Server code was developed in the 1980s by the former Sybase Inc., which is now owned by SAP. In 1988 Microsoft created SQL Server for OS/2 as a joint effort between Sybase, Microsoft, and Ashton- Tate. The partnership ended in 1990, and Microsoft retained the name SQL Server. Today SQL Server is available on 64-bit Windows, Linux and the Azure Cloud platform. SQL Server is an RDBMS. Microsoft and Sybase released version 1.0 in 1989.

Ashton-Tate stepped away after that, but Microsoft and Sybase continued their partnership until 1994 when Microsoft took over all development and marketing of SQL Server for its own operating systems. The year before, with the Sybase relationship starting to unravel, Microsoft had also made the software available on the newly released Windows NT after modifying the 16-bit OS/2 code base to create a 32-bit implementation with added features; it focused on the Windows code going forward. In 1996, Sybase renamed its version Adaptive Server Enterprise, leaving the SQL Server name to Microsoft.

SQL Server Management Studio provides a graphical administration user interface. Transact-SQL is a procedural language stored and executed within a SQL Server database management system.

SQL Server Editions

Microsoft offers SQL Server in four primary editions that provide different levels of bundled services. The full-featured Developer edition is free is the Express edition that can be used to run small databases with up to 10 GB of disk storage capacity. The developer edition is not licensed for production use. Larger applications that require production-level support is licensed as Enterprise edition. The Standard edition has a reduced feature set and restricted scalability by limiting the number of CPU cores it can use and memory size. Due to increased competition, in late 2016, Microsoft made Enterprise features available to Standard Edition. These included In-Memory OLTP, PolyBase, columnstore indexes, partitioning, data compression and change data capture capabilities.

What is the Difference Between SQL and SQL Server?

The term SQL (Structured Query Language) normally refers to the standard language used to interact with an RDBMS. SQL Server is the Microsoft name for its own RDBMS product. However, it is not uncommon for people to abbreviate SQL Server to SQL.

What is the Difference Between MySQL and SQL Server?

MySQL is the world’s most popular and widely used open-source relational database. It was originally founded and developed in Sweden by two Swedes and a Finn: David Axmark, Allan Larsson and Michael “Monty” Widenius, who had worked together since the 1980s.

Microsoft SQL Server is an RDBMS product that is often abbreviated to SQL Server. MySQL and SQL Server are direct competitors. MySQL is owned by Oracle and uses a different code base than traditional Oracle Databases.

Is SQL Server a Database?

Microsoft SQL Server is a relational database management system. As a database server that stores and retrieves data as requested by other software applications on the same computer or a remote computer using the client-server model. Microsoft provides APIs to access SQL Server over the internet as a web service. An RDBMS does a lot more than get data for client applications. Internal functions such as buffer management ensure the most accessed data is available in the fastest form of available storage to speed access.

SQL Server is based on the relational model and also enforces referential integrity between objects to maintain data consistency. As with other relational databases, the principles of atomicity, consistency, transaction isolation and durability, collectively known as the ACID properties, are implemented to maintain integrity.

Logging and Replication

Every change to data must be protected from computer failures by logging transactions.

Disk failure must be protected against by performing redundant writes. The RDBMS can be configured to protect from server failures by using failover servers.

SQL Server Replication Services are used to replicate database objects, either in their entirety or a subset on other database servers across the network. Replication Services uses a publisher/subscriber model to push changes to subscribing SQL Server instances.

Backup and recovery operations protect the database from physical failures. Replication can help to protect a database from logical failures, such as accidental transactions. SQL Server uses transaction replication to maintain multiple replicates of a master database.

Merge replication is useful for creating a centralized database for reporting. In this case, multiple distributed databases periodically synchronize bi-directionally between the distributed publisher and central subscriber. The bi-directional nature of this relationship can result in conflicts that are usually handled using policies like giving the last change priority or are handled manually.

Snapshot replication publishes a snapshot of the data to replicates. This might be useful for batch reporting at night of an operational database. It can be more efficient than continuous replication because it does not have to be further synchronized. It would typically be overwritten the following night.

Who Uses SQL Server?

Applications use SQL Server using many interfaces. The ODBC interface provides a high-level SQL interface that enables users to embed database calls into applications such as Microsoft Excel. Java applications use the JDBC driver to allow them to access databases using SQL. Application developers use Application Programming Interfaces (API) to embed SQL statements into their applications which can be written in C, Java, and Python, for example. Database rows can be fetched one at a time or in batches or arrays.

Microsoft Visual Studio includes native support for Microsoft SQL Server. Visual Studio includes a data designer to create, view or edit database schemas graphically. Queries can also be created visually.

Business Intelligence tools such as Microsoft Power BI, Qlik, Tableau and MicroStrategy. Vendors can create their own native database interfaces using Microsoft’s APIs or common drivers such as ODBC to connect to SQL Server and other databases.

Databases are useful to any application that needs to efficiently access data. Many business applications, such as Microsoft, are built on SQL Server. SAP, for example, uses a ‘lowest common denominator approach to give their customers a choice of databases to use with their business applications. By avoiding vendor-specific SQL extensions, application providers can certify multiple databases giving customers choices. An application for a small business with a moderate transaction rate can use SQL Server, while more demanding users might prefer to use Oracle.

Microsoft Management products such as Endpoint Manager depend on SQL Server to manage client system configurations.

Why Use Actian Zen Over MySQL or SQL Server?

Actian Zen is a zero-maintenance, embedded, high-performance Database Management System (DBMS) that is ideal for systems that require higher speeds than MySQL and SQL Server can provide on edge systems. Zen provides both a SQL and No-SQL or Key-index based API to give developers a choice of access methods for IoT applications, which is particularly important in memory-constrained systems.

Applications often outgrow simple flat-file systems as transaction loads increase or maintenance becomes burdensome due to the number of systems to be managed. A DBMS that is designed with low administration, such as Actian Zen, can significantly impact the total cost of ownership (TCO) when compared to MySQL and SQL Server, which were not designed for embedded use cases from the outset.

Why Actian X?

Actian X started as the Ingres RDBMS, based on research at California’s Berkeley, which still uses it for internal applications even today. Businesses such as HSS Hire in the UK and the Irish Revenue Commissioners selected it for its transactional workload features. Recently, the transaction-centric database engine has been augmented with a columnar storage-based engine optimized for decision support and business intelligence applications. This hybrid transactional and business intelligence capability makes Actian X suitable for a broader array of mixed applications. HSS Hire uses the row-storage database for its order entry application and the columnar database for decision support and reporting functions as that engine is self-indexing and takes advantage of vector processing capabilities at the CPU chip level to achieve industry-leading query speeds.

Actian Data Platform

As Microsoft customers move their database workloads to the cloud, they soon realize that Azure Synapse is a different database technology than SQL Server on-premises. The Actian Data Platform has the distinct advantage of using the same high-performance analytics database on-prem and in the cloud. The Actian Data Platform is also available on AWS and Google Cloud, and hybrid architectures allowing customers to put their analytics database processing closer to the data source. Moving data out of cloud platforms can incur significant egress fees, so it makes sense to process data in whatever cloud platform and region that holds its source data.

The Actian Data Platform has a major advantage for Hadoop data lakes because it can operate on native Hadoop data formats such as ORC and Parquet directly. You can create a reference to the external file system in Actian and access it with standard SQL. You can even push predicates in the SQL WHERE clause down to the file system to take advantage of available indexes.

Actian achieved compatibility between its Ingres and Actian databases when it acquired columnar database technology. Actian added the SQL parser and enterprise features that have been proven with Ingres to Actian Data Platform. Microsoft’s SMP and MPP databases cannot claim this level of compatibility. To learn more, visit our website.