Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

483 lines
8.7 KiB

  1. /*
  2. Thursday, October 18, 2001 3:11:31 PM
  3. User:
  4. Server: LRDOHERT-LAP
  5. Database: uddi_v2
  6. Application: MS SQLEM - Data Tools
  7. */
  8. BEGIN TRANSACTION
  9. SET QUOTED_IDENTIFIER ON
  10. SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
  11. SET ARITHABORT ON
  12. SET NUMERIC_ROUNDABORT OFF
  13. SET CONCAT_NULL_YIELDS_NULL ON
  14. SET ANSI_NULLS ON
  15. SET ANSI_PADDING ON
  16. SET ANSI_WARNINGS ON
  17. COMMIT
  18. BEGIN TRANSACTION
  19. ALTER TABLE dbo.UDT_taxonomyValues
  20. DROP CONSTRAINT R_100
  21. GO
  22. COMMIT
  23. BEGIN TRANSACTION
  24. ALTER TABLE dbo.UDT_taxonomyValues WITH NOCHECK ADD CONSTRAINT
  25. R_100 FOREIGN KEY
  26. (
  27. taxonomyID
  28. ) REFERENCES dbo.UDT_taxonomies
  29. (
  30. taxonomyID
  31. ) ON UPDATE CASCADE
  32. ON DELETE CASCADE
  33. NOT FOR REPLICATION
  34. GO
  35. COMMIT
  36. BEGIN TRANSACTION
  37. ALTER TABLE dbo.UDO_publishers
  38. DROP CONSTRAINT R_79
  39. GO
  40. COMMIT
  41. BEGIN TRANSACTION
  42. ALTER TABLE dbo.UDO_publishers WITH NOCHECK ADD CONSTRAINT
  43. R_79 FOREIGN KEY
  44. (
  45. publisherStatusID
  46. ) REFERENCES dbo.UDO_publisherStatus
  47. (
  48. publisherStatusID
  49. ) ON UPDATE CASCADE
  50. ON DELETE CASCADE
  51. NOT FOR REPLICATION
  52. GO
  53. COMMIT
  54. BEGIN TRANSACTION
  55. ALTER TABLE dbo.UDC_bindingTemplates
  56. DROP CONSTRAINT R_40
  57. GO
  58. COMMIT
  59. BEGIN TRANSACTION
  60. ALTER TABLE dbo.UDC_identifierBag_TM
  61. DROP CONSTRAINT R_111
  62. GO
  63. ALTER TABLE dbo.UDC_categoryBag_TM
  64. DROP CONSTRAINT R_110
  65. GO
  66. ALTER TABLE dbo.UDC_tModelDesc
  67. DROP CONSTRAINT R_42
  68. GO
  69. COMMIT
  70. BEGIN TRANSACTION
  71. ALTER TABLE dbo.UDC_tModelDesc WITH NOCHECK ADD CONSTRAINT
  72. R_42 FOREIGN KEY
  73. (
  74. tModelID
  75. ) REFERENCES dbo.UDC_tModels
  76. (
  77. tModelID
  78. ) ON UPDATE CASCADE
  79. ON DELETE CASCADE
  80. NOT FOR REPLICATION
  81. GO
  82. COMMIT
  83. BEGIN TRANSACTION
  84. ALTER TABLE dbo.UDC_identifierBag_TM WITH NOCHECK ADD CONSTRAINT
  85. R_111 FOREIGN KEY
  86. (
  87. tModelID
  88. ) REFERENCES dbo.UDC_tModels
  89. (
  90. tModelID
  91. ) ON UPDATE CASCADE
  92. ON DELETE CASCADE
  93. NOT FOR REPLICATION
  94. GO
  95. COMMIT
  96. BEGIN TRANSACTION
  97. ALTER TABLE dbo.UDC_categoryBag_TM WITH NOCHECK ADD CONSTRAINT
  98. R_110 FOREIGN KEY
  99. (
  100. tModelID
  101. ) REFERENCES dbo.UDC_tModels
  102. (
  103. tModelID
  104. ) ON UPDATE CASCADE
  105. ON DELETE CASCADE
  106. NOT FOR REPLICATION
  107. GO
  108. COMMIT
  109. BEGIN TRANSACTION
  110. ALTER TABLE dbo.UDC_businessDesc
  111. DROP CONSTRAINT R_33
  112. GO
  113. ALTER TABLE dbo.UDC_contacts
  114. DROP CONSTRAINT R_34
  115. GO
  116. ALTER TABLE dbo.UDC_businessServices
  117. DROP CONSTRAINT R_75
  118. GO
  119. ALTER TABLE dbo.UDC_names_BE
  120. DROP CONSTRAINT R_116
  121. GO
  122. ALTER TABLE dbo.UDC_identifierBag_BE
  123. DROP CONSTRAINT R_112
  124. GO
  125. ALTER TABLE dbo.UDC_categoryBag_BE
  126. DROP CONSTRAINT R_113
  127. GO
  128. ALTER TABLE dbo.UDC_discoveryURLs
  129. DROP CONSTRAINT R_84
  130. GO
  131. COMMIT
  132. BEGIN TRANSACTION
  133. ALTER TABLE dbo.UDC_discoveryURLs WITH NOCHECK ADD CONSTRAINT
  134. R_84 FOREIGN KEY
  135. (
  136. businessID
  137. ) REFERENCES dbo.UDC_businessEntities
  138. (
  139. businessID
  140. ) ON UPDATE CASCADE
  141. ON DELETE CASCADE
  142. NOT FOR REPLICATION
  143. GO
  144. COMMIT
  145. BEGIN TRANSACTION
  146. ALTER TABLE dbo.UDC_categoryBag_BE WITH NOCHECK ADD CONSTRAINT
  147. R_113 FOREIGN KEY
  148. (
  149. businessID
  150. ) REFERENCES dbo.UDC_businessEntities
  151. (
  152. businessID
  153. ) ON UPDATE CASCADE
  154. ON DELETE CASCADE
  155. NOT FOR REPLICATION
  156. GO
  157. COMMIT
  158. BEGIN TRANSACTION
  159. ALTER TABLE dbo.UDC_identifierBag_BE WITH NOCHECK ADD CONSTRAINT
  160. R_112 FOREIGN KEY
  161. (
  162. businessID
  163. ) REFERENCES dbo.UDC_businessEntities
  164. (
  165. businessID
  166. ) ON UPDATE CASCADE
  167. ON DELETE CASCADE
  168. NOT FOR REPLICATION
  169. GO
  170. COMMIT
  171. BEGIN TRANSACTION
  172. ALTER TABLE dbo.UDC_names_BE WITH NOCHECK ADD CONSTRAINT
  173. R_116 FOREIGN KEY
  174. (
  175. businessID
  176. ) REFERENCES dbo.UDC_businessEntities
  177. (
  178. businessID
  179. ) ON UPDATE CASCADE
  180. ON DELETE CASCADE
  181. NOT FOR REPLICATION
  182. GO
  183. COMMIT
  184. BEGIN TRANSACTION
  185. ALTER TABLE dbo.UDC_names_BS
  186. DROP CONSTRAINT R_117
  187. GO
  188. ALTER TABLE dbo.UDC_bindingTemplates
  189. DROP CONSTRAINT R_39
  190. GO
  191. ALTER TABLE dbo.UDC_categoryBag_BS
  192. DROP CONSTRAINT R_114
  193. GO
  194. ALTER TABLE dbo.UDC_serviceDesc
  195. DROP CONSTRAINT R_35
  196. GO
  197. ALTER TABLE dbo.UDC_businessServices WITH NOCHECK ADD CONSTRAINT
  198. R_75 FOREIGN KEY
  199. (
  200. businessID
  201. ) REFERENCES dbo.UDC_businessEntities
  202. (
  203. businessID
  204. ) ON UPDATE CASCADE
  205. ON DELETE CASCADE
  206. NOT FOR REPLICATION
  207. GO
  208. COMMIT
  209. BEGIN TRANSACTION
  210. ALTER TABLE dbo.UDC_serviceDesc WITH NOCHECK ADD CONSTRAINT
  211. R_35 FOREIGN KEY
  212. (
  213. serviceID
  214. ) REFERENCES dbo.UDC_businessServices
  215. (
  216. serviceID
  217. ) ON UPDATE CASCADE
  218. ON DELETE CASCADE
  219. NOT FOR REPLICATION
  220. GO
  221. COMMIT
  222. BEGIN TRANSACTION
  223. ALTER TABLE dbo.UDC_categoryBag_BS WITH NOCHECK ADD CONSTRAINT
  224. R_114 FOREIGN KEY
  225. (
  226. serviceID
  227. ) REFERENCES dbo.UDC_businessServices
  228. (
  229. serviceID
  230. ) ON UPDATE CASCADE
  231. ON DELETE CASCADE
  232. NOT FOR REPLICATION
  233. GO
  234. COMMIT
  235. BEGIN TRANSACTION
  236. ALTER TABLE dbo.UDC_names_BS WITH NOCHECK ADD CONSTRAINT
  237. R_117 FOREIGN KEY
  238. (
  239. serviceID
  240. ) REFERENCES dbo.UDC_businessServices
  241. (
  242. serviceID
  243. ) ON UPDATE CASCADE
  244. ON DELETE CASCADE
  245. NOT FOR REPLICATION
  246. GO
  247. COMMIT
  248. BEGIN TRANSACTION
  249. ALTER TABLE dbo.UDC_addresses
  250. DROP CONSTRAINT R_132
  251. GO
  252. ALTER TABLE dbo.UDC_emails
  253. DROP CONSTRAINT R_25
  254. GO
  255. ALTER TABLE dbo.UDC_phones
  256. DROP CONSTRAINT R_21
  257. GO
  258. ALTER TABLE dbo.UDC_contactDesc
  259. DROP CONSTRAINT R_19
  260. GO
  261. ALTER TABLE dbo.UDC_contacts WITH NOCHECK ADD CONSTRAINT
  262. R_34 FOREIGN KEY
  263. (
  264. businessID
  265. ) REFERENCES dbo.UDC_businessEntities
  266. (
  267. businessID
  268. ) ON UPDATE CASCADE
  269. ON DELETE CASCADE
  270. NOT FOR REPLICATION
  271. GO
  272. COMMIT
  273. BEGIN TRANSACTION
  274. ALTER TABLE dbo.UDC_contactDesc WITH NOCHECK ADD CONSTRAINT
  275. R_19 FOREIGN KEY
  276. (
  277. contactID
  278. ) REFERENCES dbo.UDC_contacts
  279. (
  280. contactID
  281. ) ON UPDATE CASCADE
  282. ON DELETE CASCADE
  283. NOT FOR REPLICATION
  284. GO
  285. COMMIT
  286. BEGIN TRANSACTION
  287. ALTER TABLE dbo.UDC_phones WITH NOCHECK ADD CONSTRAINT
  288. R_21 FOREIGN KEY
  289. (
  290. contactID
  291. ) REFERENCES dbo.UDC_contacts
  292. (
  293. contactID
  294. ) ON UPDATE CASCADE
  295. ON DELETE CASCADE
  296. NOT FOR REPLICATION
  297. GO
  298. COMMIT
  299. BEGIN TRANSACTION
  300. ALTER TABLE dbo.UDC_emails WITH NOCHECK ADD CONSTRAINT
  301. R_25 FOREIGN KEY
  302. (
  303. contactID
  304. ) REFERENCES dbo.UDC_contacts
  305. (
  306. contactID
  307. ) ON UPDATE CASCADE
  308. ON DELETE CASCADE
  309. NOT FOR REPLICATION
  310. GO
  311. COMMIT
  312. BEGIN TRANSACTION
  313. ALTER TABLE dbo.UDC_businessDesc WITH NOCHECK ADD CONSTRAINT
  314. R_33 FOREIGN KEY
  315. (
  316. businessID
  317. ) REFERENCES dbo.UDC_businessEntities
  318. (
  319. businessID
  320. ) ON UPDATE CASCADE
  321. ON DELETE CASCADE
  322. NOT FOR REPLICATION
  323. GO
  324. COMMIT
  325. BEGIN TRANSACTION
  326. ALTER TABLE dbo.UDC_tModelInstances
  327. DROP CONSTRAINT R_81
  328. GO
  329. ALTER TABLE dbo.UDC_bindingDesc
  330. DROP CONSTRAINT R_36
  331. GO
  332. ALTER TABLE dbo.UDC_bindingTemplates WITH NOCHECK ADD CONSTRAINT
  333. R_40 FOREIGN KEY
  334. (
  335. URLTypeID
  336. ) REFERENCES dbo.UDC_URLTypes
  337. (
  338. URLTypeID
  339. ) ON UPDATE CASCADE
  340. ON DELETE CASCADE
  341. NOT FOR REPLICATION
  342. GO
  343. ALTER TABLE dbo.UDC_bindingTemplates WITH NOCHECK ADD CONSTRAINT
  344. R_39 FOREIGN KEY
  345. (
  346. serviceID
  347. ) REFERENCES dbo.UDC_businessServices
  348. (
  349. serviceID
  350. ) ON UPDATE CASCADE
  351. ON DELETE CASCADE
  352. NOT FOR REPLICATION
  353. GO
  354. COMMIT
  355. BEGIN TRANSACTION
  356. ALTER TABLE dbo.UDC_instanceDesc
  357. DROP CONSTRAINT R_69
  358. GO
  359. ALTER TABLE dbo.UDC_tModelInstances WITH NOCHECK ADD CONSTRAINT
  360. R_81 FOREIGN KEY
  361. (
  362. bindingID
  363. ) REFERENCES dbo.UDC_bindingTemplates
  364. (
  365. bindingID
  366. ) ON UPDATE CASCADE
  367. ON DELETE CASCADE
  368. NOT FOR REPLICATION
  369. GO
  370. COMMIT
  371. BEGIN TRANSACTION
  372. ALTER TABLE dbo.UDC_instanceDesc WITH NOCHECK ADD CONSTRAINT
  373. R_69 FOREIGN KEY
  374. (
  375. instanceID
  376. ) REFERENCES dbo.UDC_tModelInstances
  377. (
  378. instanceID
  379. ) ON UPDATE CASCADE
  380. ON DELETE CASCADE
  381. NOT FOR REPLICATION
  382. GO
  383. COMMIT
  384. BEGIN TRANSACTION
  385. ALTER TABLE dbo.UDC_bindingDesc WITH NOCHECK ADD CONSTRAINT
  386. R_36 FOREIGN KEY
  387. (
  388. bindingID
  389. ) REFERENCES dbo.UDC_bindingTemplates
  390. (
  391. bindingID
  392. ) ON UPDATE CASCADE
  393. ON DELETE CASCADE
  394. NOT FOR REPLICATION
  395. GO
  396. COMMIT
  397. BEGIN TRANSACTION
  398. ALTER TABLE dbo.UDC_addressLines
  399. DROP CONSTRAINT R_58
  400. GO
  401. ALTER TABLE dbo.UDC_addresses WITH NOCHECK ADD CONSTRAINT
  402. R_132 FOREIGN KEY
  403. (
  404. contactID
  405. ) REFERENCES dbo.UDC_contacts
  406. (
  407. contactID
  408. ) ON UPDATE CASCADE
  409. ON DELETE CASCADE
  410. NOT FOR REPLICATION
  411. GO
  412. COMMIT
  413. BEGIN TRANSACTION
  414. ALTER TABLE dbo.UDC_addressLines WITH NOCHECK ADD CONSTRAINT
  415. R_58 FOREIGN KEY
  416. (
  417. addressID
  418. ) REFERENCES dbo.UDC_addresses
  419. (
  420. addressID
  421. ) ON UPDATE CASCADE
  422. ON DELETE CASCADE
  423. NOT FOR REPLICATION
  424. GO
  425. COMMIT
  426. GO
  427. BEGIN TRANSACTION
  428. SET QUOTED_IDENTIFIER ON
  429. SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
  430. SET ARITHABORT ON
  431. SET NUMERIC_ROUNDABORT OFF
  432. SET CONCAT_NULL_YIELDS_NULL ON
  433. SET ANSI_NULLS ON
  434. SET ANSI_PADDING ON
  435. SET ANSI_WARNINGS ON
  436. COMMIT
  437. BEGIN TRANSACTION
  438. ALTER TABLE dbo.UDO_operatorLog
  439. DROP CONSTRAINT R_130
  440. GO
  441. COMMIT
  442. BEGIN TRANSACTION
  443. ALTER TABLE dbo.UDO_operatorLog WITH NOCHECK ADD CONSTRAINT
  444. R_130 FOREIGN KEY
  445. (
  446. operatorID
  447. ) REFERENCES dbo.UDO_operators
  448. (
  449. operatorID
  450. ) ON UPDATE CASCADE
  451. ON DELETE CASCADE
  452. NOT FOR REPLICATION
  453. GO
  454. COMMIT
  455. GO