DB Programming – Basic analysis HAP 752 DB Programming – Basic analysis Instructor: Dr. Sanja Avramovic savramov@gmu.edu
Start SSMS Right click on SQL Server Management Studio (SSMS) Run as administrator:
Create a database Open SSMS Click on Databases New Database
Create a new database Enter a new database name (for example HAP 752) and click OK
Insert the data: NewTasksImport Data Use Wizard to import the files
Join the tables in one SQL data fields have data types! If you import .csv files you have to cast the data types: Note that the .csv uses the word ‘NULL’ to represent null values. We have to include a special check for this case, otherwise the conversion to a floating point number will fail.