Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CREATE PROCEDURE Popolamento_2
- IS
- BEGIN
- --Preferiti(UtenteID, FileID, DataCreazionee)
- INSERT INTO Preferiti VALUES (1, 2, SYSDATE);
- INSERT INTO Preferiti VALUES (1, 4, SYSDATE);
- INSERT INTO Preferiti VALUES (1, 16, SYSDATE);
- INSERT INTO Preferiti VALUES (1, 19, SYSDATE);
- INSERT INTO Preferiti VALUES (1, 23, SYSDATE);
- INSERT INTO Preferiti VALUES (1, 24, SYSDATE);
- INSERT INTO Preferiti VALUES (2, 2, SYSDATE);
- INSERT INTO Preferiti VALUES (2, 5, SYSDATE);
- INSERT INTO Preferiti VALUES (2, 6, SYSDATE);
- INSERT INTO Preferiti VALUES (2, 7, SYSDATE);
- INSERT INTO Preferiti VALUES (2, 9, SYSDATE);
- INSERT INTO Preferiti VALUES (2, 12, SYSDATE);
- INSERT INTO Preferiti VALUES (2, 16, SYSDATE);
- INSERT INTO Preferiti VALUES (2, 17, SYSDATE);
- INSERT INTO Preferiti VALUES (2, 19, SYSDATE);
- INSERT INTO Preferiti VALUES (2, 20, SYSDATE);
- INSERT INTO Preferiti VALUES (2, 21, SYSDATE);
- INSERT INTO Preferiti VALUES (2, 22, SYSDATE);
- INSERT INTO Preferiti VALUES (2, 23, SYSDATE);
- INSERT INTO Preferiti VALUES (2, 24, SYSDATE);
- INSERT INTO Preferiti VALUES (3, 1, SYSDATE);
- INSERT INTO Preferiti VALUES (3, 2, SYSDATE);
- INSERT INTO Preferiti VALUES (3, 9, SYSDATE);
- INSERT INTO Preferiti VALUES (3, 10, SYSDATE);
- INSERT INTO Preferiti VALUES (3, 11, SYSDATE);
- INSERT INTO Preferiti VALUES (3, 14, SYSDATE);
- INSERT INTO Preferiti VALUES (3, 22, SYSDATE);
- INSERT INTO Preferiti VALUES (4, 7, SYSDATE);
- INSERT INTO Preferiti VALUES (4, 8, SYSDATE);
- INSERT INTO Preferiti VALUES (4, 10, SYSDATE);
- INSERT INTO Preferiti VALUES (4, 11, SYSDATE);
- INSERT INTO Preferiti VALUES (4, 12, SYSDATE);
- INSERT INTO Preferiti VALUES (5, 2, SYSDATE);
- INSERT INTO Preferiti VALUES (5, 3, SYSDATE);
- INSERT INTO Preferiti VALUES (5, 4, SYSDATE);
- INSERT INTO Preferiti VALUES (5, 9, SYSDATE);
- INSERT INTO Preferiti VALUES (5, 16, SYSDATE);
- INSERT INTO Preferiti VALUES (5, 17, SYSDATE);
- INSERT INTO Preferiti VALUES (5, 21, SYSDATE);
- INSERT INTO Preferiti VALUES (5, 22, SYSDATE);
- INSERT INTO Preferiti VALUES (5, 24, SYSDATE);
- INSERT INTO Preferiti VALUES (6, 2, SYSDATE);
- INSERT INTO Preferiti VALUES (6, 4, SYSDATE);
- INSERT INTO Preferiti VALUES (6, 7, SYSDATE);
- INSERT INTO Preferiti VALUES (6, 12, SYSDATE);
- INSERT INTO Preferiti VALUES (6, 13, SYSDATE);
- INSERT INTO Preferiti VALUES (6, 20, SYSDATE);
- INSERT INTO Preferiti VALUES (6, 24, SYSDATE);
- INSERT INTO Preferiti VALUES (7, 1, SYSDATE);
- INSERT INTO Preferiti VALUES (7, 2, SYSDATE);
- INSERT INTO Preferiti VALUES (7, 3, SYSDATE);
- INSERT INTO Preferiti VALUES (7, 7, SYSDATE);
- INSERT INTO Preferiti VALUES (7, 9, SYSDATE);
- INSERT INTO Preferiti VALUES (7, 10, SYSDATE);
- INSERT INTO Preferiti VALUES (7, 13, SYSDATE);
- INSERT INTO Preferiti VALUES (7, 15, SYSDATE);
- INSERT INTO Preferiti VALUES (7, 19, SYSDATE);
- INSERT INTO Preferiti VALUES (7, 22, SYSDATE);
- INSERT INTO Preferiti VALUES (7, 23, SYSDATE);
- INSERT INTO Preferiti VALUES (8, 2, SYSDATE);
- INSERT INTO Preferiti VALUES (8, 5, SYSDATE);
- INSERT INTO Preferiti VALUES (8, 7, SYSDATE);
- INSERT INTO Preferiti VALUES (8, 10, SYSDATE);
- INSERT INTO Preferiti VALUES (8, 15, SYSDATE);
- INSERT INTO Preferiti VALUES (8, 16, SYSDATE);
- INSERT INTO Preferiti VALUES (8, 17, SYSDATE);
- INSERT INTO Preferiti VALUES (8, 21, SYSDATE);
- INSERT INTO Preferiti VALUES (9, 1, SYSDATE);
- INSERT INTO Preferiti VALUES (9, 3, SYSDATE);
- INSERT INTO Preferiti VALUES (9, 4, SYSDATE);
- INSERT INTO Preferiti VALUES (9, 7, SYSDATE);
- INSERT INTO Preferiti VALUES (9, 8, SYSDATE);
- INSERT INTO Preferiti VALUES (9, 11, SYSDATE);
- INSERT INTO Preferiti VALUES (9, 12, SYSDATE);
- INSERT INTO Preferiti VALUES (9, 16, SYSDATE);
- INSERT INTO Preferiti VALUES (9, 18, SYSDATE);
- INSERT INTO Preferiti VALUES (9, 19, SYSDATE);
- INSERT INTO Preferiti VALUES (9, 23, SYSDATE);
- --Membership(UtenteID, GruppoID, DataCreazione)
- INSERT INTO Membership VALUES (1, 2, SYSDATE);
- INSERT INTO Membership VALUES (1, 4, SYSDATE);
- INSERT INTO Membership VALUES (1, 5, SYSDATE);
- INSERT INTO Membership VALUES (2, 2, SYSDATE);
- INSERT INTO Membership VALUES (2, 3, SYSDATE);
- INSERT INTO Membership VALUES (3, 1, SYSDATE);
- INSERT INTO Membership VALUES (3, 3, SYSDATE);
- INSERT INTO Membership VALUES (3, 5, SYSDATE);
- INSERT INTO Membership VALUES (4, 2, SYSDATE);
- INSERT INTO Membership VALUES (4, 1, SYSDATE);
- INSERT INTO Membership VALUES (4, 3, SYSDATE);
- INSERT INTO Membership VALUES (4, 4, SYSDATE);
- INSERT INTO Membership VALUES (4, 5, SYSDATE);
- INSERT INTO Membership VALUES (5, 1, SYSDATE);
- INSERT INTO Membership VALUES (5, 2, SYSDATE);
- INSERT INTO Membership VALUES (5, 4, SYSDATE);
- INSERT INTO Membership VALUES (6, 2, SYSDATE);
- INSERT INTO Membership VALUES (6, 3, SYSDATE);
- INSERT INTO Membership VALUES (6, 4, SYSDATE);
- INSERT INTO Membership VALUES (6, 5, SYSDATE);
- INSERT INTO Membership VALUES (7, 2, SYSDATE);
- INSERT INTO Membership VALUES (7, 1, SYSDATE);
- INSERT INTO Membership VALUES (7, 2, SYSDATE);
- INSERT INTO Membership VALUES (7, 3, SYSDATE);
- INSERT INTO Membership VALUES (7, 5, SYSDATE);
- INSERT INTO Membership VALUES (8, 1, SYSDATE);
- INSERT INTO Membership VALUES (8, 3, SYSDATE);
- INSERT INTO Membership VALUES (8, 4, SYSDATE);
- INSERT INTO Membership VALUES (9, 2, SYSDATE);
- --Tag(ID, Testo)
- INSERT INTO Tag VALUES (1, 'natura');
- INSERT INTO Tag VALUES (2, 'animali');
- INSERT INTO Tag VALUES (3, 'gioco');
- INSERT INTO Tag VALUES (4, 'spasso');
- INSERT INTO Tag VALUES (5, 'amore');
- INSERT INTO Tag VALUES (6, 'arte');
- --TagsFile(TagID, FileID)
- INSERT INTO TagsFile VALUES (1, 3);
- INSERT INTO TagsFile VALUES (1, 4);
- INSERT INTO TagsFile VALUES (1, 13);
- INSERT INTO TagsFile VALUES (1, 14);
- INSERT INTO TagsFile VALUES (1, 21);
- INSERT INTO TagsFile VALUES (1, 22);
- INSERT INTO TagsFile VALUES (1, 24);
- INSERT INTO TagsFile VALUES (2, 3);
- INSERT INTO TagsFile VALUES (2, 4);
- INSERT INTO TagsFile VALUES (3, 9);
- INSERT INTO TagsFile VALUES (3, 10);
- INSERT INTO TagsFile VALUES (3, 14);
- INSERT INTO TagsFile VALUES (3, 19);
- INSERT INTO TagsFile VALUES (3, 20);
- INSERT INTO TagsFile VALUES (4, 1);
- INSERT INTO TagsFile VALUES (4, 2);
- INSERT INTO TagsFile VALUES (4, 5);
- INSERT INTO TagsFile VALUES (4, 6);
- INSERT INTO TagsFile VALUES (4, 7);
- INSERT INTO TagsFile VALUES (4, 8);
- INSERT INTO TagsFile VALUES (4, 9);
- INSERT INTO TagsFile VALUES (4, 10);
- INSERT INTO TagsFile VALUES (4, 11);
- INSERT INTO TagsFile VALUES (4, 12);
- INSERT INTO TagsFile VALUES (4, 14);
- INSERT INTO TagsFile VALUES (4, 16);
- INSERT INTO TagsFile VALUES (4, 17);
- INSERT INTO TagsFile VALUES (4, 18);
- INSERT INTO TagsFile VALUES (4, 19);
- INSERT INTO TagsFile VALUES (4, 20);
- INSERT INTO TagsFile VALUES (5, 11);
- INSERT INTO TagsFile VALUES (5, 12);
- INSERT INTO TagsFile VALUES (5, 15);
- INSERT INTO TagsFile VALUES (5, 16);
- INSERT INTO TagsFile VALUES (6, 5);
- INSERT INTO TagsFile VALUES (6, 8);
- INSERT INTO TagsFile VALUES (6, 14);
- INSERT INTO TagsFile VALUES (6, 21);
- INSERT INTO TagsFile VALUES (6, 22);
- INSERT INTO TagsFile VALUES (6, 23);
- INSERT INTO TagsFile VALUES (6, 24);
- --Visualizza(UtenteID, DiscussioneID, FileID, Data)
- INSERT INTO Visualizza VALUES (1, NULL, 1, SYSDATE);
- INSERT INTO Visualizza VALUES (1, NULL, 2, SYSDATE);
- INSERT INTO Visualizza VALUES (1, NULL, 4, SYSDATE);
- INSERT INTO Visualizza VALUES (1, NULL, 16, SYSDATE);
- INSERT INTO Visualizza VALUES (1, NULL, 19, SYSDATE);
- INSERT INTO Visualizza VALUES (1, NULL, 23, SYSDATE);
- INSERT INTO Visualizza VALUES (1, NULL, 24, SYSDATE);
- INSERT INTO Visualizza VALUES (1, 3, NULL, SYSDATE);
- INSERT INTO Visualizza VALUES (2, NULL, 2, SYSDATE);
- INSERT INTO Visualizza VALUES (2, NULL, 3, SYSDATE);
- INSERT INTO Visualizza VALUES (2, NULL, 4, SYSDATE);
- INSERT INTO Visualizza VALUES (2, NULL, 5, SYSDATE);
- INSERT INTO Visualizza VALUES (2, NULL, 6, SYSDATE);
- INSERT INTO Visualizza VALUES (2, NULL, 7, SYSDATE);
- INSERT INTO Visualizza VALUES (2, NULL, 9, SYSDATE);
- INSERT INTO Visualizza VALUES (2, NULL, 12, SYSDATE);
- INSERT INTO Visualizza VALUES (2, NULL, 16, SYSDATE);
- INSERT INTO Visualizza VALUES (2, NULL, 17, SYSDATE);
- INSERT INTO Visualizza VALUES (2, NULL, 19, SYSDATE);
- INSERT INTO Visualizza VALUES (2, NULL, 20, SYSDATE);
- INSERT INTO Visualizza VALUES (2, NULL, 21, SYSDATE);
- INSERT INTO Visualizza VALUES (2, NULL, 22, SYSDATE);
- INSERT INTO Visualizza VALUES (2, NULL, 23, SYSDATE);
- INSERT INTO Visualizza VALUES (2, NULL, 24, SYSDATE);
- INSERT INTO Visualizza VALUES (2, 2, NULL, SYSDATE);
- INSERT INTO Visualizza VALUES (3, NULL, 1, SYSDATE);
- INSERT INTO Visualizza VALUES (3, NULL, 2, SYSDATE);
- INSERT INTO Visualizza VALUES (3, NULL, 5, SYSDATE);
- INSERT INTO Visualizza VALUES (3, NULL, 6, SYSDATE);
- INSERT INTO Visualizza VALUES (3, NULL, 9, SYSDATE);
- INSERT INTO Visualizza VALUES (3, NULL, 10, SYSDATE);
- INSERT INTO Visualizza VALUES (3, NULL, 11, SYSDATE);
- INSERT INTO Visualizza VALUES (3, NULL, 14, SYSDATE);
- INSERT INTO Visualizza VALUES (3, NULL, 21, SYSDATE);
- INSERT INTO Visualizza VALUES (3, NULL, 22, SYSDATE);
- INSERT INTO Visualizza VALUES (3, 2, NULL, SYSDATE);
- INSERT INTO Visualizza VALUES (4, NULL, 7, SYSDATE);
- INSERT INTO Visualizza VALUES (4, NULL, 8, SYSDATE);
- INSERT INTO Visualizza VALUES (4, NULL, 10, SYSDATE);
- INSERT INTO Visualizza VALUES (4, NULL, 11, SYSDATE);
- INSERT INTO Visualizza VALUES (4, NULL, 12, SYSDATE);
- INSERT INTO Visualizza VALUES (4, NULL, 15, SYSDATE);
- INSERT INTO Visualizza VALUES (4, NULL, 24, SYSDATE);
- INSERT INTO Visualizza VALUES (4, 1, NULL, SYSDATE);
- INSERT INTO Visualizza VALUES (5, NULL, 2, SYSDATE);
- INSERT INTO Visualizza VALUES (5, NULL, 3, SYSDATE);
- INSERT INTO Visualizza VALUES (5, NULL, 4, SYSDATE);
- INSERT INTO Visualizza VALUES (5, NULL, 9, SYSDATE);
- INSERT INTO Visualizza VALUES (5, NULL, 10, SYSDATE);
- INSERT INTO Visualizza VALUES (5, NULL, 11, SYSDATE);
- INSERT INTO Visualizza VALUES (5, NULL, 12, SYSDATE);
- INSERT INTO Visualizza VALUES (5, NULL, 13, SYSDATE);
- INSERT INTO Visualizza VALUES (5, NULL, 16, SYSDATE);
- INSERT INTO Visualizza VALUES (5, NULL, 17, SYSDATE);
- INSERT INTO Visualizza VALUES (5, NULL, 21, SYSDATE);
- INSERT INTO Visualizza VALUES (5, NULL, 22, SYSDATE);
- INSERT INTO Visualizza VALUES (5, NULL, 24, SYSDATE);
- INSERT INTO Visualizza VALUES (5, 1, NULL, SYSDATE);
- INSERT INTO Visualizza VALUES (6, NULL, 2, SYSDATE);
- INSERT INTO Visualizza VALUES (6, NULL, 4, SYSDATE);
- INSERT INTO Visualizza VALUES (6, NULL, 5, SYSDATE);
- INSERT INTO Visualizza VALUES (6, NULL, 7, SYSDATE);
- INSERT INTO Visualizza VALUES (6, NULL, 12, SYSDATE);
- INSERT INTO Visualizza VALUES (6, NULL, 13, SYSDATE);
- INSERT INTO Visualizza VALUES (6, NULL, 14, SYSDATE);
- INSERT INTO Visualizza VALUES (6, NULL, 15, SYSDATE);
- INSERT INTO Visualizza VALUES (6, NULL, 16, SYSDATE);
- INSERT INTO Visualizza VALUES (6, NULL, 20, SYSDATE);
- INSERT INTO Visualizza VALUES (6, NULL, 24, SYSDATE);
- INSERT INTO Visualizza VALUES (6, 4, NULL, SYSDATE);
- INSERT INTO Visualizza VALUES (7, NULL, 1, SYSDATE);
- INSERT INTO Visualizza VALUES (7, NULL, 2, SYSDATE);
- INSERT INTO Visualizza VALUES (7, NULL, 3, SYSDATE);
- INSERT INTO Visualizza VALUES (7, NULL, 7, SYSDATE);
- INSERT INTO Visualizza VALUES (7, NULL, 9, SYSDATE);
- INSERT INTO Visualizza VALUES (7, NULL, 10, SYSDATE);
- INSERT INTO Visualizza VALUES (7, NULL, 13, SYSDATE);
- INSERT INTO Visualizza VALUES (7, NULL, 15, SYSDATE);
- INSERT INTO Visualizza VALUES (7, NULL, 17, SYSDATE);
- INSERT INTO Visualizza VALUES (7, NULL, 18, SYSDATE);
- INSERT INTO Visualizza VALUES (7, NULL, 19, SYSDATE);
- INSERT INTO Visualizza VALUES (7, NULL, 22, SYSDATE);
- INSERT INTO Visualizza VALUES (7, NULL, 23, SYSDATE);
- INSERT INTO Visualizza VALUES (7, 3, NULL, SYSDATE);
- INSERT INTO Visualizza VALUES (8, NULL, 2, SYSDATE);
- INSERT INTO Visualizza VALUES (8, NULL, 5, SYSDATE);
- INSERT INTO Visualizza VALUES (8, NULL, 7, SYSDATE);
- INSERT INTO Visualizza VALUES (8, NULL, 9, SYSDATE);
- INSERT INTO Visualizza VALUES (8, NULL, 10, SYSDATE);
- INSERT INTO Visualizza VALUES (8, NULL, 15, SYSDATE);
- INSERT INTO Visualizza VALUES (8, NULL, 16, SYSDATE);
- INSERT INTO Visualizza VALUES (8, NULL, 17, SYSDATE);
- INSERT INTO Visualizza VALUES (8, NULL, 19, SYSDATE);
- INSERT INTO Visualizza VALUES (8, NULL, 20, SYSDATE);
- INSERT INTO Visualizza VALUES (8, NULL, 21, SYSDATE);
- INSERT INTO Visualizza VALUES (8, 4, NULL, SYSDATE);
- INSERT INTO Visualizza VALUES (9, NULL, 1, SYSDATE);
- INSERT INTO Visualizza VALUES (9, NULL, 3, SYSDATE);
- INSERT INTO Visualizza VALUES (9, NULL, 4, SYSDATE);
- INSERT INTO Visualizza VALUES (9, NULL, 7, SYSDATE);
- INSERT INTO Visualizza VALUES (9, NULL, 8, SYSDATE);
- INSERT INTO Visualizza VALUES (9, NULL, 11, SYSDATE);
- INSERT INTO Visualizza VALUES (9, NULL, 12, SYSDATE);
- INSERT INTO Visualizza VALUES (9, NULL, 16, SYSDATE);
- INSERT INTO Visualizza VALUES (9, NULL, 18, SYSDATE);
- INSERT INTO Visualizza VALUES (9, NULL, 19, SYSDATE);
- INSERT INTO Visualizza VALUES (9, NULL, 21, SYSDATE);
- INSERT INTO Visualizza VALUES (9, NULL, 22, SYSDATE);
- INSERT INTO Visualizza VALUES (9, NULL, 23, SYSDATE);
- INSERT INTO Visualizza VALUES (9, NULL, 24, SYSDATE);
- INSERT INTO Visualizza VALUES (9, 2, NULL, SYSDATE);
- INSERT INTO Visualizza VALUES (9, 3, NULL, SYSDATE);
- END;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement