Annuaire.sql 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. USE [Annuaire]
  2. GO
  3. /****** Object: Table [dbo].[Personnes] Script Date: 08/03/2017 14:42:29 ******/
  4. SET ANSI_NULLS ON
  5. GO
  6. SET QUOTED_IDENTIFIER ON
  7. GO
  8. SET ANSI_PADDING ON
  9. GO
  10. CREATE TABLE [dbo].[Personnes](
  11. [Id] [uniqueidentifier] NOT NULL,
  12. [NumTitre] [smallint] NOT NULL,
  13. [Nom] [varchar](50) NOT NULL,
  14. [Prenom] [varchar](50) NOT NULL,
  15. [Telephone] [nchar](10) NOT NULL,
  16. CONSTRAINT [PK_Personnes] PRIMARY KEY CLUSTERED
  17. (
  18. [Id] ASC
  19. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  20. ) ON [PRIMARY]
  21. GO
  22. SET ANSI_PADDING OFF
  23. GO
  24. /****** Object: Table [dbo].[Titres] Script Date: 08/03/2017 14:42:29 ******/
  25. SET ANSI_NULLS ON
  26. GO
  27. SET QUOTED_IDENTIFIER ON
  28. GO
  29. SET ANSI_PADDING ON
  30. GO
  31. CREATE TABLE [dbo].[Titres](
  32. [NumTitre] [smallint] NOT NULL,
  33. [Titre] [varchar](50) NOT NULL,
  34. CONSTRAINT [PK_Titres] PRIMARY KEY CLUSTERED
  35. (
  36. [NumTitre] ASC
  37. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  38. ) ON [PRIMARY]
  39. GO
  40. SET ANSI_PADDING OFF
  41. GO
  42. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'06d06fdb-f9c9-4309-892e-00a2534b88e1', 1, N'Zettofret2', N'Mélanie2', N'0111111112')
  43. GO
  44. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'30f72e24-2f93-4079-93c0-0566e6ecc6ec', 6, N'Dallord', N'Homer', N'0123456789')
  45. GO
  46. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'576f935b-908e-42d0-b55d-130875ed7deb', 2, N'Pencuir', N'Leslie', N'0111111112')
  47. GO
  48. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'7a1ec223-3ac8-4fae-a2eb-23df22150229', 2, N'Fonfec', N'Sophie2', N'0123456789')
  49. GO
  50. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'96698298-7a42-4190-85ca-2a2b5e8d0f5f', 3, N'Héger', N'Yves', N'0120030405')
  51. GO
  52. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'8f03cd3c-2985-454f-a529-39aec0db0f04', 2, N'Boniadétos', N'Alice', N'0123456789')
  53. GO
  54. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'fdf50f2c-c086-491c-a009-3c49cadf6f9d', 1, N'Chaléchveux', N'Sarah', N'0102030406')
  55. GO
  56. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'2268425f-e47f-4ea4-b566-3cf1e89633e3', 5, N'El Krom', N'Nick', N'0123456789')
  57. GO
  58. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'0340717c-0a10-4cf6-9e82-44b2c96afe14', 3, N'Bistrot', N'Alfonso', N'0000000000')
  59. GO
  60. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'44e3a4fe-33d4-416d-a31e-4820a2bcb9bc', 5, N'Labrosse', N'Adam', N'1111111111')
  61. GO
  62. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'79b86639-ccb9-485c-ad8e-49167670be11', 2, N'Chaite', N'Barbie', N'0111111111')
  63. GO
  64. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'6ccd6359-0ad8-44cb-b31e-4949ca6aa0d3', 1, N'Fraichit', N'Sarah', N'0102030405')
  65. GO
  66. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'e59d8fc6-04e7-4a00-a377-50d128ff9c45', 5, N'Teurgeist', N'Paul', N'0123456789')
  67. GO
  68. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'b5488cc2-a187-450c-a949-5116152fa24b', 3, N'Auchon', N'Paul', N'0123456987')
  69. GO
  70. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'97437358-b23d-4c43-b559-6784d1d75e2d', 1, N'Fonalaï', N'Sophie', N'0123456789')
  71. GO
  72. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'7af69501-4c10-4862-b105-6b799d647df6', 3, N'Pourferlavéssel', N'Vladimir', N'4444444444')
  73. GO
  74. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'2c6e5688-908c-47c8-bda6-706cf1efc587', 5, N'Huilda', N'Rachid', N'0000000000')
  75. GO
  76. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'b71572b4-ff74-4ac3-bae4-7537f8debaeb', 1, N'Pencoton', N'Leslie', N'0123456789')
  77. GO
  78. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'3850330c-c5c6-4e10-b505-78ed09ff28ca', 3, N'Donctoilaba', N'Eddy', N'0000000000')
  79. GO
  80. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'822c7230-82c2-4d76-aec8-81592738c899', 3, N'Oukoi', N'Bill', N'2222222222')
  81. GO
  82. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'd41e34a9-8fe3-4d2b-bc85-838d76b47dc6', 1, N'Vesterstalone2', N'Cécile', N'0000000002')
  83. GO
  84. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'd3aff1b1-f717-427d-b9e6-876eeddce587', 3, N'Alavanillessivouplait+', N'Douglas', N'1111111111')
  85. GO
  86. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'0d53dd89-6503-4f9c-b635-8d9c0be2ddf3', 3, N'Covert', N'Harry', N'0000000000')
  87. GO
  88. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'd7d0258f-c0f6-4bc8-bf66-94768bc29d37', 1, N'Goudy', N'Debby', N'0000000000')
  89. GO
  90. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'6fcf6d6c-dedb-4f7a-95e5-97a982827873', 3, N'Mensoif', N'Gérard', N'123456700 ')
  91. GO
  92. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'dd918e25-dd2d-42f6-abaa-9cc513cc631a', 6, N'Ervitemeschaussettes', N'Jean-Philippe', N'0000000000')
  93. GO
  94. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'28c0b70d-da3e-4998-a561-a1d4c33ebda5', 3, N'Paslairsolidcesdeuxtoursla', N'Oussama', N'0000000000')
  95. GO
  96. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'e1aedeba-1e2d-43a9-9bd4-afae5e31acb0', 3, N'peticou', N'Justin', N'0000000000')
  97. GO
  98. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'fb021052-01b4-49ed-964b-b2bf9e48c8bf', 1, N'Scott', N'Debby', N'0000000000')
  99. GO
  100. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'59998079-7816-4d74-95a3-c345d590d076', 1, N'Danlapiscine', N'Anick', N'5678901234')
  101. GO
  102. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'28b1b4a7-37a7-41ca-b43c-c367448d4f22', 5, N'Danlapiscine', N'Jean', N'3456789012')
  103. GO
  104. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'60e1e133-af38-4420-ad9e-cadbadf7484d', 2, N'Feimal', N'Aïcha', N'0000000000')
  105. GO
  106. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'e5601378-6efc-4ce9-91f1-cb8e2fe0b536', 8, N'Tonnière', N'L''abbé', N'0123456780')
  107. GO
  108. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'e34fee08-fdd6-4071-b4b5-cfdfb818fef9', 2, N'Danlapiscine', N'Loanna', N'6789012345')
  109. GO
  110. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'9a137ecb-9b03-4265-a68f-d5e6714923cb', 9, N'Goler', N'Emeric', N'0000000000')
  111. GO
  112. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'74eb9afe-f7b3-4d83-873d-df3a3efd09b6', 3, N'Oukoi', N'Ted', N'1111111111')
  113. GO
  114. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'd3efcd25-c126-481d-a9bc-e2834778a61c', 1, N'Reizaladouzaine', N'Janette', N'9012345678')
  115. GO
  116. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'f8d5cd82-8be6-4e60-8458-e8d2b5450f5d', 1, N'Dumand', N'Henriette', N'0132456987')
  117. GO
  118. INSERT [dbo].[Personnes] ([Id], [NumTitre], [Nom], [Prenom], [Telephone]) VALUES (N'81b76094-6047-4a9c-8243-fe139c797a79', 3, N'Danlapiscine', N'Edouard', N'0111111111')
  119. GO
  120. INSERT [dbo].[Titres] ([NumTitre], [Titre]) VALUES (1, N'Madame')
  121. GO
  122. INSERT [dbo].[Titres] ([NumTitre], [Titre]) VALUES (2, N'Mademoiselle')
  123. GO
  124. INSERT [dbo].[Titres] ([NumTitre], [Titre]) VALUES (3, N'Monsieur')
  125. GO
  126. INSERT [dbo].[Titres] ([NumTitre], [Titre]) VALUES (4, N'Maître')
  127. GO
  128. INSERT [dbo].[Titres] ([NumTitre], [Titre]) VALUES (5, N'Docteur')
  129. GO
  130. INSERT [dbo].[Titres] ([NumTitre], [Titre]) VALUES (6, N'Professeur')
  131. GO
  132. INSERT [dbo].[Titres] ([NumTitre], [Titre]) VALUES (7, N'Son Altesse Sérénissime')
  133. GO
  134. INSERT [dbo].[Titres] ([NumTitre], [Titre]) VALUES (8, N'Monseigneur')
  135. GO
  136. INSERT [dbo].[Titres] ([NumTitre], [Titre]) VALUES (9, N'Monsieur le curé')
  137. GO
  138. INSERT [dbo].[Titres] ([NumTitre], [Titre]) VALUES (10, N'Sa Sainteté')
  139. GO
  140. ALTER TABLE [dbo].[Personnes] WITH CHECK ADD CONSTRAINT [Personnes_Titres] FOREIGN KEY([NumTitre])
  141. REFERENCES [dbo].[Titres] ([NumTitre])
  142. GO
  143. ALTER TABLE [dbo].[Personnes] CHECK CONSTRAINT [Personnes_Titres]
  144. GO