SQL Server: (L12) How to use the UniqueIdentifier data type.

preview_player
Показать описание
In this video, I will show you how to create a table that uses the Sql Server datatype: uniqueIdentifier.
I will show you have to use the function: newid()
I will show you how to create a default value on a uniqueidentifier column.
Used as a great Primary Key for a table.

#softwareNuggets, #sqlServer, #IntroToSqlProgramming, #uniqueIdentifier, #newId, #newSequentialId, @SoftwareNuggets
Рекомендации по теме
Комментарии
Автор

thank you so much for those great tips!

TheBirdChannelOriginal
Автор

please assist say i have 3 tables from 3 different locations which shows 3 the dataset of fruit and vegetables sold in each location each table have an ID which shows 1 as Apples, 2 Strawberry and 3 as Spinach and this is the same across all the tables., now i want to combine all the tables add the total units sold using this column ID

anthonymojela