Erhard RAINER
  • Home
  • IT
    • Betriebssysteme
      • Windows
        • Hyper-V
        • Storage Pools
    • Business Intelligence
      • SQL Server Integration Service (SSIS)
      • PowerBI
    • BIG DATA – DATA SCIENCE
    • Datenbanken
      • Microsoft T-SQL
      • PostGreSQL
      • MongoDB
      • Apache Cassandra
    • Office
      • Excel
        • Excel-VBA
      • Access
      • Outlook
      • VBA
    • Scripting Sprache
      • powershell
    • Virtualisierung
    • Hardware
  • Recht
  • Wirtschaft
    • CRYPTOCURRENCIES
  • Search
    • All Downloads
    • List of All Posts
  • About
  • Contact
  • Impressum
Erhard RAINER
  • Home
  • IT
    • Betriebssysteme
      • Windows
        • Hyper-V
        • Storage Pools
    • Business Intelligence
      • SQL Server Integration Service (SSIS)
      • PowerBI
    • BIG DATA – DATA SCIENCE
    • Datenbanken
      • Microsoft T-SQL
      • PostGreSQL
      • MongoDB
      • Apache Cassandra
    • Office
      • Excel
        • Excel-VBA
      • Access
      • Outlook
      • VBA
    • Scripting Sprache
      • powershell
    • Virtualisierung
    • Hardware
  • Recht
  • Wirtschaft
    • CRYPTOCURRENCIES
  • Search
    • All Downloads
    • List of All Posts
  • About
  • Contact
  • Impressum
Erhard RAINER
  • Home
  • IT
    • Betriebssysteme
      • Windows
        • Hyper-V
        • Storage Pools
    • Business Intelligence
      • SQL Server Integration Service (SSIS)
      • PowerBI
    • BIG DATA – DATA SCIENCE
    • Datenbanken
      • Microsoft T-SQL
      • PostGreSQL
      • MongoDB
      • Apache Cassandra
    • Office
      • Excel
        • Excel-VBA
      • Access
      • Outlook
      • VBA
    • Scripting Sprache
      • powershell
    • Virtualisierung
    • Hardware
  • Recht
  • Wirtschaft
    • CRYPTOCURRENCIES
  • Search
    • All Downloads
    • List of All Posts
  • About
  • Contact
  • Impressum

Data Definition Language (DDL)

  • Arten von SQL Objekten* (genau genommen SQL Server Database Objects, da es auch noch viele anderer gibt)
    • Welche Objekttypen gibt es?
    • Auflisten aller definierten Objekte in einer MS-SQL Datenbank.
      • Rajendra Gupta – Different ways to search for objects in SQL databases
      • Arshad Ali – Understanding Catalog Views in SQL Server 2005 and 2008
    • Information Schema – ANSI-STANDARD | Learn SQL: The INFORMATION_SCHEMA Database
      • Standard: ANSI/ISO SQL:2003 standard Part 11 Schemata
      • MySQL Information Schema
      • PostgreSQL Information Schema
      • wird nicht unterstützt von SAP HANA, Sybase ASE, Teradata, IBM DB2
  • Teil 1: Erstellen grundlegender Objekte*
    • Database:
      • maximal: 32.767 Datenbanken
      • Erstellen einer Datenbank | CREATE DATABASE: zB CREATE DATABASE XY
        • Collation = specifies the bit patterns that represent each character in a dataset
          • View Collation Information
          • Ashish Kumar Mehta – Identify SQL Server Instance and Database Collation Using T-SQL and SSMS
        • Full-Text-Search
          • Installing Full-Text Search with SQL 2017
        • ANSI_NULL_DEFAULT* – spezifiziert, ob ohne explizite Definition als NULLABLE NULL-Values in die Tabelle geschrieben werden dürfen.
        • ANSI_NULL* (Default: ON) – spezifiziert das ISO compliant Verhalten von = und <> in Bezug auf NULL Values
          • Kenneth Fisher – What is ANSI_NULLS and why will I be glad when it finally goes away?
          • SA0207 : Setting ANSI_NULLS to OFF is deprecated
        • ANSI_PADDING* – spezifiziert, wie Inhalte behandelt werden, die kleiner sind als die definierte Länge von Spalten
          • SET ANSI PADDING
          • SET ANSI_PADDING ON/OFF – Features, Examples and Equivalents
          • Kenneth Fischer – Turning ANSI Padding off, and why you should not
        • ANSI WARNINGS*
          • SET ANSI_WARNINGS 
          • Nakul Vachhrajani – What is the impact of setting SET ANSI_WARNINGS OFF?
          • Dirceu Resende – SQL Server – Why Not Use SET ANSI_WARNINGS OFF
          • Ahmad Yaseen – SQL Server SET Options that Affect the Query Result – SET ANSI_NULLS, SET ANSI_PADDING, SET ANSI_WARNINGS and SET ARITHABORT
      • Löschen einer Datenbank zB DROP DATABASE XY – Datenbank löschen Best Practice
    • Schema:
      • … gruppieren SQL Server Objekte logisch zusammen (zB mitarbeiterbezogene Objekte = Schema [employee]). Zusätzlich kann man sie zur Zugriffssteuerung verwenden (Permissions)
      • Create a database schema | Create Schema – zB: CREATE SCHEMA Production AUTHORIZATION [dbo];
      • Alter Schema – zB: ALTER SCHEMA HumanResources TRANSFER Person.Address;
      • Schema eignen sich
        • Andreas Wolter – Schema-Design für SQL Server: Empfehlungen für Schema-Design mit Sicherheit im Blick
        • Brent Ozar – Why Use Schemas?
        • Rajendra Gupta – A Walkthrough of SQL Schema
    • Tabelle
      • Create Table – zB CREATE TABLE [dbo].[Table] (Column1 char(10) NOT NULL)
      • Alter Table
        • ALTER TABLE [dbo].[Table] ADD Column DataType Constraint
        • ALTER TABLE [dbo].[Table] DROP Column
        • ALTER TABLE [dbo].[Table] ADD CONSTRAINT
        • ALTER TABLE [dbo].[Table] DROP CONSTRAINT
        • ALTER TABLE [dbo].[Table] ADD PRIMARY KEY (Columns)
      • Constraints
      • Fully Qualified Table Names
      • Insert Data => siehe Abschnitt DML (Data Manipulation Language)
    • SQL Server Data Types
      • Data types (Transact-SQL)
      • System Data Types
      • User Definied Data Types (UDDT)
        • Rajendra Gupta – An Overview of User-defined SQL Server Types
    • View
      • Create Table
      • Alter Table
    • Synonyms / Synonyme – dienen dazu Objekte unter alternativen Namen aufrufbar zu machen
  • Teil 3: Programming in SQL (Programmability)
    • Stored Procedures
    • Functions
      • Scalar Functions
      • Table Valued Functions
    • Trigger
    • User Defined Objects
      • User Definied Tables
      • User Defined Data Types
    • Assemblies

About Me

about-me-image

related Posts

Gruppenbesteuerung

Gruppenbesteuerung

Join Us Today


2022 © All rights reserved
Don't have an account yet? Register Now