 measurement_number  INT             NULL,
 description         VARCHAR(MAX)    NULL,
 entrydate           DATETIME        NOT NULL,
-FOREIGN KEY (useroid) REFERENCES users(object_ID)
+FOREIGN KEY (useroid) REFERENCES users(object_ID))
 
 /*+
 TABLE::tablename=notes::database=BIT276/285_database::description=stores user metrics in text or number form.;;

FIELD::fieldname=description::description=the description of the URL provided.;;
FIELD::fieldname=entrydate::description=the date that the user has uploaded the URL into the database.
*/

--DROP TABLE notes

IF OBJECT_ID('notes') IS NOT NULL
    DROP TABLE notes

FIELD::fieldname=entrydate::description=the date that the user has uploaded the note into the database.
*/

IF OBJECT_ID('analytics') IS NOT NULL
    DROP TABLE analytics

