Skip to Content
Serverless computing in Azure with .NET
book

Serverless computing in Azure with .NET

by Sasha Rosenbaum
August 2017
Intermediate to advanced
468 pages
12h 5m
English
Packt Publishing
Content preview from Serverless computing in Azure with .NET

Creating the TweetTextScore table

Since we didn't previously save the tweet scores at all, we will need to create a new SQL table.

Let's explore the following steps to create the TweetTextScore table:

  1. Open the Visual Studio SQL Server Explorer and connect to the TextScoreDB database (alternatively, browse to Azure Portal and then navigate to SQL Databases -> TextScoreDB ->Tools -> Query Editor).
  2. In the new query window, run the following code to create the TweetTextScore table that will store the tweet text and it's score:
        CREATE TABLE TweetTextScore        (          ID INT IDENTITY(1,1) PRIMARY KEY,          [Date] DATETIME NOT NULL DEFAULT GETUTCDATE(),          Username VARCHAR(255) NOT NULL,          TweetText VARCHAR(255) NOT NULL,          TextSentimentScore FLOAT NOT NULL       );
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Azure Serverless Computing

Mastering Azure Serverless Computing

Lorenzo Barbieri, Massimo Bonanni
Implementing Azure: Putting Modern DevOps to Use

Implementing Azure: Putting Modern DevOps to Use

Florian Klaffenbach, Oliver Michalski, Markus Klein, Mohamed Wali

Publisher Resources

ISBN: 9781787288393Supplemental Content