Intermediate Structured Query Language for Data Analytics (WS231) — Day 5

After learning the hard way that SQL Server authentication is not enabled by default, we were finally able to CREATE LOGINS and USERS.

    CREATE LOGIN foo WITH PASSWORD = 'p@$$W0rd';
    CREATE USER FOR LOGIN foo;

We also learned that dropping the LOGIN before the USER will leave the USER orphan and we will not be able to drop the USER especially if the USER owns any object.

Download the class notes for day 5.

Intermediate Structured Query Language for Data Analytics (WS231) — Day 4

We continued working on normalization replacing values of cities/counties with FIPS (Federal Information Processing Standards) values for these cities/counties. We had to import data into our working database WS231. We ran into errors along the way and had to make the proper changes to normalize our data. In any case, the main part of the whole process was having fun!

Download the class notes for day 4.