About 86,000 results
Open links in new tab
  1. Microsoft SQL samples - SQL Server | Microsoft Learn

    Sep 29, 2024 · Code samples for SQL products are in the Microsoft SQL Server samples GitHub repository. Each sample includes a README file that explains how to run and use the sample. The main README for the samples repository explains how to contribute. The samples and templates are all licensed under the MIT license. See the license.txt file in the root.

  2. SELECT examples (Transact-SQL) - SQL Server | Microsoft Learn

    Nov 22, 2024 · This article provides examples of using the SELECT statement. The code samples in this article use the AdventureWorks2022 or AdventureWorksDW2022 sample database, which you can download from the Microsoft SQL Server Samples and Community Projects home page.

  3. GitHub - microsoft/sql-server-samples: Azure Data SQL Samples ...

    This GitHub repository contains code samples that demonstrate how to use Microsoft's Azure Data products including SQL Server, Azure SQL Database, Azure Synapse, and Azure SQL Edge. Each sample includes a README file that explains how to run and use the sample.

  4. SQL Server Sample Database

    This tutorial provides you with a SQL Server Sample Database called BikeStores, which allows you to start practicing with SQL Server quickly and effectively.

  5. sql-server-samples/samples/databases/README.md at master · microsoft

    Sample data warehouse that illustrates loading data into Azure SQL Data Warehouse. AdventureWorks. Sample databases and Analysis Services models for use with SQL Server.

  6. T-SQL Tutorial: Write Transact-SQL statements - SQL Server

    Nov 22, 2024 · In this lesson, you create a database, create a table in the database, insert data into the table, update the data, and read the data. In this lesson, you create a login and user. You will also create a view and a stored procedure, and …

  7. SQL sample code examples for Microsoft SQL Server - Progress …

    Jan 14, 2025 · The following code examples demonstrate how to create and execute a stored procedure on a SQL Server database and read the results using a DataReader. The sample data used in these examples is in the emp table.

  8. SQL Server Example Programs and Sample Code

    Click on a category in the left rail to browse SQL Server examples. Instances of Chilkat ActiveX components can be created using the sp_OACreate system stored procedure. Here is an example showing how to create an instance of the Zip component: DECLARE @hr int. DECLARE @zip int. EXEC @hr = sp_OACreate 'Chilkat.Zip', @zip OUT. IF @hr <> 0. BEGIN.

  9. samples/ directory - github.com/microsoft/sql-server ... - Go …

    Oct 15, 2019 · Samples showing how to connect to SQL databases using various programming languages, including Python, C#, F#, Java, Ruby, Node.js, and PHP. containers. Samples showing various SQL Server in container scenarios.

  10. SQL Query Examples - MSSQLTips.com - SQL Server Tips

    Feb 23, 2022 · If you are just getting started with writing SQL queries and looking for an introduction on how to write basic queries for Microsoft SQL Server take a look at this tutorial for some examples on how to learn SQL SELECT, INSERT, UPDATE and DELETE commands.

  11. Some results have been removed
Refresh