Read from SearchLog table @athletes = SELECT FROM SampleDBTutorials.dbo.SearchLog; //Write it to a file so we can look at ...

//Read from SearchLog table
@athletes =
    SELECT *
    FROM SampleDBTutorials.dbo.SearchLog;

//Write it to a file so we can look at it
OUTPUT @athletes
TO @"/Samples/Output/SearchLog_output.tsv"
USING Outputters.Tsv();

//Alternatively, we can output the whole table to a file without using SELECT
OUTPUT SampleDBTutorials.dbo.SearchLog
TO @"/Samples/Output/SearchLog_output_direct.tsv"
USING Outputters.Tsv();
English
English (United States)
Deutsch (Deutschland)
German (Germany)
Español (España)
Spanish (Spain)
Français (France)
French (France)
日本語
Japanese
한국어
Korean
Русский
Russian