Créer la base de données SampleDBTutorials CREATE DATABASE IF NOT EXISTS SampleDBTutorials; //Créer la table OlympicAthletes ...

//Créer la base de données SampleDBTutorials
CREATE DATABASE IF NOT EXISTS SampleDBTutorials;

//Créer la table OlympicAthletes
CREATE TABLE IF NOT EXISTS SampleDBTutorials.dbo.SearchLog
(
        //Définir le schéma de la table
        UserId          int, 
        Start           DateTime, 
        Region          string, 
        Query           string, 
        Duration        int, 
        Urls            string, 
        ClickedUrls     string,
    INDEX idx1 //Nom de l'index
    CLUSTERED (Region ASC) //Colonne en cluster par
    PARTITIONED BY HASH (Region) //Colonne en partition par
);
English
English (United States)
Deutsch (Deutschland)
German (Germany)
Español (España)
Spanish (Spain)
Français (France)
French (France)
日本語
Japanese
한국어
Korean
Русский
Russian