This project consists in a database for a hockey league (1º liga Portuguesa) and a platform to manage the database. The platform is divided in two parts, one for the admin and another for the client. The admin can manage the database and the client can see the information about the league and the teams.
- Open the file Main_Admin.cs
- Change the connection string to your connection string (Between Brackets)
return new SqlConnection("data source= <<>>;initial catalog=<<>>;uid=<<>>");
- Save the file
- The same process must be done in the file Main_Client.cs
Example:
USE (p4g7) -- Change this to your database name
GO
1. HoqueiSchema.sql
2. SQL_DDL.sql
3. Insertions.sql
4. Triggers.sql
5. Views.sql
6. StoredProcedures.sql
7. UDFs.sql
Don't need to run SQL_DDL.sql because every time you run the file it will restart the tables
1. ClearSP.sql
2. ClearUDF.sql
3. Run the files in the following order:
1. SQL_DDL.sql
2. Insertions.sql
3. Triggers.sql
4. StoredProcedures.sql
5. UDFs.sql
1. Admin: Username: admin
Password: 1234
2. Client - Client account is not verified, everything is allowed
- Joaquim Rosa (109089) -- 50%
- Hugo Correia (108215) -- 50%
Read the final report Base de Dados Hoquei for more information about the project. (PT-PT)