December 2017
Intermediate to advanced
434 pages
10h 14m
English
The basic syntax for creating tables is almost the same, but we have to consider some extras:
In other words, we are creating indexes together with CREATE TABLE or ALTER TABLE statements.
The syntax for creating a table is as follows:
create table Ratings_InMem(Id int not null identity primary key nonclustered, UserId int not null, MovieId int not null, Rating tinyint not null, index ix_Users (UserId))with(memory_optimized = on, durability = schema_and_data)
As seen in the script example, the base syntax ...
Read now
Unlock full access