upgrade.1.20.UC1B1.sql 37 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952
  1. -- Generated by BladeSmith 3.50.TC1, DO NOT MODIFY --
  2. execute procedure ifx_allow_newline('t');
  3. insert into sysbldobjects
  4. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  5. create_can_fail, drop_sql, drop_can_fail)
  6. values
  7. (
  8. "%SYSBLDNAME%", 7, "LLD_Lob",
  9. "%SYSBLDUSER%", 0,
  10. "create opaque type LLD_Lob(
  11. internallength = 76,
  12. alignment = 8
  13. );
  14. ",
  15. "f",
  16. "drop type LLD_Lob restrict;
  17. ",
  18. "f"
  19. );
  20. insert into sysbldobjects
  21. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  22. create_can_fail, drop_sql, drop_can_fail)
  23. values
  24. (
  25. "%SYSBLDNAME%", 71, "LLD_Lob",
  26. "%SYSBLDUSER%", 0,
  27. "grant usage on type LLD_Lob to public;
  28. ",
  29. "f",
  30. "",
  31. "f"
  32. );
  33. insert into sysbldobjdepends
  34. (bld_id, obj_kind, obj_signature, obj_owner,
  35. need_obj_kind, need_obj_signature, need_obj_owner)
  36. values
  37. (
  38. "%SYSBLDNAME%",
  39. 71, "LLD_Lob",
  40. "%SYSBLDUSER%",
  41. 7, "LLD_Lob",
  42. "%SYSBLDUSER%"
  43. );
  44. insert into sysbldobjects
  45. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  46. create_can_fail, drop_sql, drop_can_fail)
  47. values
  48. (
  49. "%SYSBLDNAME%", 5, "LLD_LobIn (lvarchar)",
  50. "%SYSBLDUSER%", 0,
  51. "create function LLD_LobIn (lvarchar)
  52. returns LLD_Lob
  53. with
  54. (
  55. not variant
  56. )
  57. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/LLD.bld(lld_lob_input)""
  58. language c;
  59. ",
  60. "f",
  61. "drop function LLD_LobIn (lvarchar);
  62. ",
  63. "f"
  64. );
  65. insert into sysbldobjdepends
  66. (bld_id, obj_kind, obj_signature, obj_owner,
  67. need_obj_kind, need_obj_signature, need_obj_owner)
  68. values
  69. (
  70. "%SYSBLDNAME%",
  71. 5, "LLD_LobIn (lvarchar)",
  72. "%SYSBLDUSER%",
  73. 7, "LLD_Lob",
  74. "%SYSBLDUSER%"
  75. );
  76. insert into sysbldobjects
  77. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  78. create_can_fail, drop_sql, drop_can_fail)
  79. values
  80. (
  81. "%SYSBLDNAME%", 69, "LLD_LobIn (lvarchar)",
  82. "%SYSBLDUSER%", 0,
  83. "grant execute on function LLD_LobIn (lvarchar) to public;
  84. ",
  85. "f",
  86. "",
  87. "f"
  88. );
  89. insert into sysbldobjdepends
  90. (bld_id, obj_kind, obj_signature, obj_owner,
  91. need_obj_kind, need_obj_signature, need_obj_owner)
  92. values
  93. (
  94. "%SYSBLDNAME%",
  95. 69, "LLD_LobIn (lvarchar)",
  96. "%SYSBLDUSER%",
  97. 5, "LLD_LobIn (lvarchar)",
  98. "%SYSBLDUSER%"
  99. );
  100. insert into sysbldobjects
  101. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  102. create_can_fail, drop_sql, drop_can_fail)
  103. values
  104. (
  105. "%SYSBLDNAME%", 3, "lvarchar->LLD_Lob",
  106. "%SYSBLDUSER%", 0,
  107. "create implicit cast
  108. (
  109. lvarchar as LLD_Lob
  110. with LLD_LobIn
  111. );
  112. ",
  113. "f",
  114. "drop cast (lvarchar as LLD_Lob);
  115. ",
  116. "f"
  117. );
  118. insert into sysbldobjdepends
  119. (bld_id, obj_kind, obj_signature, obj_owner,
  120. need_obj_kind, need_obj_signature, need_obj_owner)
  121. values
  122. (
  123. "%SYSBLDNAME%",
  124. 3, "lvarchar->LLD_Lob",
  125. "%SYSBLDUSER%",
  126. 7, "LLD_Lob",
  127. "%SYSBLDUSER%"
  128. );
  129. insert into sysbldobjects
  130. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  131. create_can_fail, drop_sql, drop_can_fail)
  132. values
  133. (
  134. "%SYSBLDNAME%", 5, "LLD_LobOut (LLD_Lob)",
  135. "%SYSBLDUSER%", 0,
  136. "create function LLD_LobOut (LLD_Lob)
  137. returns lvarchar
  138. with
  139. (
  140. not variant
  141. )
  142. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/LLD.bld(lld_lob_output)""
  143. language c;
  144. ",
  145. "f",
  146. "drop function LLD_LobOut (LLD_Lob);
  147. ",
  148. "f"
  149. );
  150. insert into sysbldobjdepends
  151. (bld_id, obj_kind, obj_signature, obj_owner,
  152. need_obj_kind, need_obj_signature, need_obj_owner)
  153. values
  154. (
  155. "%SYSBLDNAME%",
  156. 5, "LLD_LobOut (LLD_Lob)",
  157. "%SYSBLDUSER%",
  158. 7, "LLD_Lob",
  159. "%SYSBLDUSER%"
  160. );
  161. insert into sysbldobjects
  162. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  163. create_can_fail, drop_sql, drop_can_fail)
  164. values
  165. (
  166. "%SYSBLDNAME%", 69, "LLD_LobOut (LLD_Lob)",
  167. "%SYSBLDUSER%", 0,
  168. "grant execute on function LLD_LobOut (LLD_Lob) to public;
  169. ",
  170. "f",
  171. "",
  172. "f"
  173. );
  174. insert into sysbldobjdepends
  175. (bld_id, obj_kind, obj_signature, obj_owner,
  176. need_obj_kind, need_obj_signature, need_obj_owner)
  177. values
  178. (
  179. "%SYSBLDNAME%",
  180. 69, "LLD_LobOut (LLD_Lob)",
  181. "%SYSBLDUSER%",
  182. 5, "LLD_LobOut (LLD_Lob)",
  183. "%SYSBLDUSER%"
  184. );
  185. insert into sysbldobjects
  186. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  187. create_can_fail, drop_sql, drop_can_fail)
  188. values
  189. (
  190. "%SYSBLDNAME%", 3, "LLD_Lob->lvarchar",
  191. "%SYSBLDUSER%", 0,
  192. "create cast
  193. (
  194. LLD_Lob as lvarchar
  195. with LLD_LobOut
  196. );
  197. ",
  198. "f",
  199. "drop cast (LLD_Lob as lvarchar);
  200. ",
  201. "f"
  202. );
  203. insert into sysbldobjdepends
  204. (bld_id, obj_kind, obj_signature, obj_owner,
  205. need_obj_kind, need_obj_signature, need_obj_owner)
  206. values
  207. (
  208. "%SYSBLDNAME%",
  209. 3, "LLD_Lob->lvarchar",
  210. "%SYSBLDUSER%",
  211. 7, "LLD_Lob",
  212. "%SYSBLDUSER%"
  213. );
  214. insert into sysbldobjects
  215. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  216. create_can_fail, drop_sql, drop_can_fail)
  217. values
  218. (
  219. "%SYSBLDNAME%", 5, "LLD_LobSend (LLD_Lob)",
  220. "%SYSBLDUSER%", 0,
  221. "create function LLD_LobSend (LLD_Lob)
  222. returns sendrecv
  223. with
  224. (
  225. not variant
  226. )
  227. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/LLD.bld(lld_lob_send)""
  228. language c;
  229. ",
  230. "f",
  231. "drop function LLD_LobSend (LLD_Lob);
  232. ",
  233. "f"
  234. );
  235. insert into sysbldobjdepends
  236. (bld_id, obj_kind, obj_signature, obj_owner,
  237. need_obj_kind, need_obj_signature, need_obj_owner)
  238. values
  239. (
  240. "%SYSBLDNAME%",
  241. 5, "LLD_LobSend (LLD_Lob)",
  242. "%SYSBLDUSER%",
  243. 7, "LLD_Lob",
  244. "%SYSBLDUSER%"
  245. );
  246. insert into sysbldobjects
  247. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  248. create_can_fail, drop_sql, drop_can_fail)
  249. values
  250. (
  251. "%SYSBLDNAME%", 69, "LLD_LobSend (LLD_Lob)",
  252. "%SYSBLDUSER%", 0,
  253. "grant execute on function LLD_LobSend (LLD_Lob) to public;
  254. ",
  255. "f",
  256. "",
  257. "f"
  258. );
  259. insert into sysbldobjdepends
  260. (bld_id, obj_kind, obj_signature, obj_owner,
  261. need_obj_kind, need_obj_signature, need_obj_owner)
  262. values
  263. (
  264. "%SYSBLDNAME%",
  265. 69, "LLD_LobSend (LLD_Lob)",
  266. "%SYSBLDUSER%",
  267. 5, "LLD_LobSend (LLD_Lob)",
  268. "%SYSBLDUSER%"
  269. );
  270. insert into sysbldobjects
  271. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  272. create_can_fail, drop_sql, drop_can_fail)
  273. values
  274. (
  275. "%SYSBLDNAME%", 3, "LLD_Lob->sendrecv",
  276. "%SYSBLDUSER%", 0,
  277. "create cast
  278. (
  279. LLD_Lob as sendrecv
  280. with LLD_LobSend
  281. );
  282. ",
  283. "f",
  284. "drop cast (LLD_Lob as sendrecv);
  285. ",
  286. "f"
  287. );
  288. insert into sysbldobjdepends
  289. (bld_id, obj_kind, obj_signature, obj_owner,
  290. need_obj_kind, need_obj_signature, need_obj_owner)
  291. values
  292. (
  293. "%SYSBLDNAME%",
  294. 3, "LLD_Lob->sendrecv",
  295. "%SYSBLDUSER%",
  296. 7, "LLD_Lob",
  297. "%SYSBLDUSER%"
  298. );
  299. insert into sysbldobjects
  300. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  301. create_can_fail, drop_sql, drop_can_fail)
  302. values
  303. (
  304. "%SYSBLDNAME%", 5, "LLD_LobRecv (sendrecv)",
  305. "%SYSBLDUSER%", 0,
  306. "create function LLD_LobRecv (sendrecv)
  307. returns LLD_Lob
  308. with
  309. (
  310. not variant
  311. )
  312. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/LLD.bld(lld_lob_recv)""
  313. language c;
  314. ",
  315. "f",
  316. "drop function LLD_LobRecv (sendrecv);
  317. ",
  318. "f"
  319. );
  320. insert into sysbldobjdepends
  321. (bld_id, obj_kind, obj_signature, obj_owner,
  322. need_obj_kind, need_obj_signature, need_obj_owner)
  323. values
  324. (
  325. "%SYSBLDNAME%",
  326. 5, "LLD_LobRecv (sendrecv)",
  327. "%SYSBLDUSER%",
  328. 7, "LLD_Lob",
  329. "%SYSBLDUSER%"
  330. );
  331. insert into sysbldobjects
  332. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  333. create_can_fail, drop_sql, drop_can_fail)
  334. values
  335. (
  336. "%SYSBLDNAME%", 69, "LLD_LobRecv (sendrecv)",
  337. "%SYSBLDUSER%", 0,
  338. "grant execute on function LLD_LobRecv (sendrecv) to public;
  339. ",
  340. "f",
  341. "",
  342. "f"
  343. );
  344. insert into sysbldobjdepends
  345. (bld_id, obj_kind, obj_signature, obj_owner,
  346. need_obj_kind, need_obj_signature, need_obj_owner)
  347. values
  348. (
  349. "%SYSBLDNAME%",
  350. 69, "LLD_LobRecv (sendrecv)",
  351. "%SYSBLDUSER%",
  352. 5, "LLD_LobRecv (sendrecv)",
  353. "%SYSBLDUSER%"
  354. );
  355. insert into sysbldobjects
  356. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  357. create_can_fail, drop_sql, drop_can_fail)
  358. values
  359. (
  360. "%SYSBLDNAME%", 3, "sendrecv->LLD_Lob",
  361. "%SYSBLDUSER%", 0,
  362. "create implicit cast
  363. (
  364. sendrecv as LLD_Lob
  365. with LLD_LobRecv
  366. );
  367. ",
  368. "f",
  369. "drop cast (sendrecv as LLD_Lob);
  370. ",
  371. "f"
  372. );
  373. insert into sysbldobjdepends
  374. (bld_id, obj_kind, obj_signature, obj_owner,
  375. need_obj_kind, need_obj_signature, need_obj_owner)
  376. values
  377. (
  378. "%SYSBLDNAME%",
  379. 3, "sendrecv->LLD_Lob",
  380. "%SYSBLDUSER%",
  381. 7, "LLD_Lob",
  382. "%SYSBLDUSER%"
  383. );
  384. insert into sysbldobjects
  385. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  386. create_can_fail, drop_sql, drop_can_fail)
  387. values
  388. (
  389. "%SYSBLDNAME%", 5, "LLD_LobImpT (impexp)",
  390. "%SYSBLDUSER%", 0,
  391. "create function LLD_LobImpT (impexp)
  392. returns LLD_Lob
  393. with
  394. (
  395. not variant
  396. )
  397. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/LLD.bld(lld_lob_import)""
  398. language c;
  399. ",
  400. "f",
  401. "drop function LLD_LobImpT (impexp);
  402. ",
  403. "f"
  404. );
  405. insert into sysbldobjdepends
  406. (bld_id, obj_kind, obj_signature, obj_owner,
  407. need_obj_kind, need_obj_signature, need_obj_owner)
  408. values
  409. (
  410. "%SYSBLDNAME%",
  411. 5, "LLD_LobImpT (impexp)",
  412. "%SYSBLDUSER%",
  413. 7, "LLD_Lob",
  414. "%SYSBLDUSER%"
  415. );
  416. insert into sysbldobjects
  417. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  418. create_can_fail, drop_sql, drop_can_fail)
  419. values
  420. (
  421. "%SYSBLDNAME%", 69, "LLD_LobImpT (impexp)",
  422. "%SYSBLDUSER%", 0,
  423. "grant execute on function LLD_LobImpT (impexp) to public;
  424. ",
  425. "f",
  426. "",
  427. "f"
  428. );
  429. insert into sysbldobjdepends
  430. (bld_id, obj_kind, obj_signature, obj_owner,
  431. need_obj_kind, need_obj_signature, need_obj_owner)
  432. values
  433. (
  434. "%SYSBLDNAME%",
  435. 69, "LLD_LobImpT (impexp)",
  436. "%SYSBLDUSER%",
  437. 5, "LLD_LobImpT (impexp)",
  438. "%SYSBLDUSER%"
  439. );
  440. insert into sysbldobjects
  441. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  442. create_can_fail, drop_sql, drop_can_fail)
  443. values
  444. (
  445. "%SYSBLDNAME%", 3, "impexp->LLD_Lob",
  446. "%SYSBLDUSER%", 0,
  447. "create implicit cast
  448. (
  449. impexp as LLD_Lob
  450. with LLD_LobImpT
  451. );
  452. ",
  453. "f",
  454. "drop cast (impexp as LLD_Lob);
  455. ",
  456. "f"
  457. );
  458. insert into sysbldobjdepends
  459. (bld_id, obj_kind, obj_signature, obj_owner,
  460. need_obj_kind, need_obj_signature, need_obj_owner)
  461. values
  462. (
  463. "%SYSBLDNAME%",
  464. 3, "impexp->LLD_Lob",
  465. "%SYSBLDUSER%",
  466. 7, "LLD_Lob",
  467. "%SYSBLDUSER%"
  468. );
  469. insert into sysbldobjects
  470. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  471. create_can_fail, drop_sql, drop_can_fail)
  472. values
  473. (
  474. "%SYSBLDNAME%", 5, "LLD_LobExpT (LLD_Lob)",
  475. "%SYSBLDUSER%", 0,
  476. "create function LLD_LobExpT (LLD_Lob)
  477. returns impexp
  478. with
  479. (
  480. not variant
  481. )
  482. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/LLD.bld(lld_lob_export)""
  483. language c;
  484. ",
  485. "f",
  486. "drop function LLD_LobExpT (LLD_Lob);
  487. ",
  488. "f"
  489. );
  490. insert into sysbldobjdepends
  491. (bld_id, obj_kind, obj_signature, obj_owner,
  492. need_obj_kind, need_obj_signature, need_obj_owner)
  493. values
  494. (
  495. "%SYSBLDNAME%",
  496. 5, "LLD_LobExpT (LLD_Lob)",
  497. "%SYSBLDUSER%",
  498. 7, "LLD_Lob",
  499. "%SYSBLDUSER%"
  500. );
  501. insert into sysbldobjects
  502. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  503. create_can_fail, drop_sql, drop_can_fail)
  504. values
  505. (
  506. "%SYSBLDNAME%", 69, "LLD_LobExpT (LLD_Lob)",
  507. "%SYSBLDUSER%", 0,
  508. "grant execute on function LLD_LobExpT (LLD_Lob) to public;
  509. ",
  510. "f",
  511. "",
  512. "f"
  513. );
  514. insert into sysbldobjdepends
  515. (bld_id, obj_kind, obj_signature, obj_owner,
  516. need_obj_kind, need_obj_signature, need_obj_owner)
  517. values
  518. (
  519. "%SYSBLDNAME%",
  520. 69, "LLD_LobExpT (LLD_Lob)",
  521. "%SYSBLDUSER%",
  522. 5, "LLD_LobExpT (LLD_Lob)",
  523. "%SYSBLDUSER%"
  524. );
  525. insert into sysbldobjects
  526. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  527. create_can_fail, drop_sql, drop_can_fail)
  528. values
  529. (
  530. "%SYSBLDNAME%", 3, "LLD_Lob->impexp",
  531. "%SYSBLDUSER%", 0,
  532. "create cast
  533. (
  534. LLD_Lob as impexp
  535. with LLD_LobExpT
  536. );
  537. ",
  538. "f",
  539. "drop cast (LLD_Lob as impexp);
  540. ",
  541. "f"
  542. );
  543. insert into sysbldobjdepends
  544. (bld_id, obj_kind, obj_signature, obj_owner,
  545. need_obj_kind, need_obj_signature, need_obj_owner)
  546. values
  547. (
  548. "%SYSBLDNAME%",
  549. 3, "LLD_Lob->impexp",
  550. "%SYSBLDUSER%",
  551. 7, "LLD_Lob",
  552. "%SYSBLDUSER%"
  553. );
  554. insert into sysbldobjects
  555. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  556. create_can_fail, drop_sql, drop_can_fail)
  557. values
  558. (
  559. "%SYSBLDNAME%", 5, "Assign (LLD_Lob)",
  560. "%SYSBLDUSER%", 0,
  561. "create function Assign (LLD_Lob)
  562. returns LLD_Lob
  563. with
  564. (
  565. not variant
  566. )
  567. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/LLD.bld(lld_lob_assign)""
  568. language c;
  569. ",
  570. "f",
  571. "drop function Assign (LLD_Lob);
  572. ",
  573. "f"
  574. );
  575. insert into sysbldobjdepends
  576. (bld_id, obj_kind, obj_signature, obj_owner,
  577. need_obj_kind, need_obj_signature, need_obj_owner)
  578. values
  579. (
  580. "%SYSBLDNAME%",
  581. 5, "Assign (LLD_Lob)",
  582. "%SYSBLDUSER%",
  583. 7, "LLD_Lob",
  584. "%SYSBLDUSER%"
  585. );
  586. insert into sysbldobjects
  587. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  588. create_can_fail, drop_sql, drop_can_fail)
  589. values
  590. (
  591. "%SYSBLDNAME%", 69, "Assign (LLD_Lob)",
  592. "%SYSBLDUSER%", 0,
  593. "grant execute on function Assign (LLD_Lob) to public;
  594. ",
  595. "f",
  596. "",
  597. "f"
  598. );
  599. insert into sysbldobjdepends
  600. (bld_id, obj_kind, obj_signature, obj_owner,
  601. need_obj_kind, need_obj_signature, need_obj_owner)
  602. values
  603. (
  604. "%SYSBLDNAME%",
  605. 69, "Assign (LLD_Lob)",
  606. "%SYSBLDUSER%",
  607. 5, "Assign (LLD_Lob)",
  608. "%SYSBLDUSER%"
  609. );
  610. insert into sysbldobjects
  611. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  612. create_can_fail, drop_sql, drop_can_fail)
  613. values
  614. (
  615. "%SYSBLDNAME%", 6, "Destroy (LLD_Lob)",
  616. "%SYSBLDUSER%", 0,
  617. "create function Destroy (LLD_Lob)
  618. with
  619. (
  620. not variant
  621. )
  622. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/LLD.bld(lld_lob_destroy)""
  623. language c;
  624. ",
  625. "f",
  626. "drop function Destroy (LLD_Lob);
  627. ",
  628. "f"
  629. );
  630. insert into sysbldobjdepends
  631. (bld_id, obj_kind, obj_signature, obj_owner,
  632. need_obj_kind, need_obj_signature, need_obj_owner)
  633. values
  634. (
  635. "%SYSBLDNAME%",
  636. 6, "Destroy (LLD_Lob)",
  637. "%SYSBLDUSER%",
  638. 7, "LLD_Lob",
  639. "%SYSBLDUSER%"
  640. );
  641. insert into sysbldobjects
  642. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  643. create_can_fail, drop_sql, drop_can_fail)
  644. values
  645. (
  646. "%SYSBLDNAME%", 70, "Destroy (LLD_Lob)",
  647. "%SYSBLDUSER%", 0,
  648. "grant execute on function Destroy (LLD_Lob) to public;
  649. ",
  650. "f",
  651. "",
  652. "f"
  653. );
  654. insert into sysbldobjdepends
  655. (bld_id, obj_kind, obj_signature, obj_owner,
  656. need_obj_kind, need_obj_signature, need_obj_owner)
  657. values
  658. (
  659. "%SYSBLDNAME%",
  660. 70, "Destroy (LLD_Lob)",
  661. "%SYSBLDUSER%",
  662. 6, "Destroy (LLD_Lob)",
  663. "%SYSBLDUSER%"
  664. );
  665. insert into sysbldobjects
  666. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  667. create_can_fail, drop_sql, drop_can_fail)
  668. values
  669. (
  670. "%SYSBLDNAME%", 5, "blobCast (LLD_Lob)",
  671. "%SYSBLDUSER%", 0,
  672. "create function blobCast (LLD_Lob)
  673. returns blob
  674. with
  675. (
  676. not variant
  677. )
  678. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/LLD.bld(lld_lob_to_blob)""
  679. language c;
  680. ",
  681. "f",
  682. "drop function blobCast (LLD_Lob);
  683. ",
  684. "f"
  685. );
  686. insert into sysbldobjdepends
  687. (bld_id, obj_kind, obj_signature, obj_owner,
  688. need_obj_kind, need_obj_signature, need_obj_owner)
  689. values
  690. (
  691. "%SYSBLDNAME%",
  692. 5, "blobCast (LLD_Lob)",
  693. "%SYSBLDUSER%",
  694. 7, "LLD_Lob",
  695. "%SYSBLDUSER%"
  696. );
  697. insert into sysbldobjects
  698. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  699. create_can_fail, drop_sql, drop_can_fail)
  700. values
  701. (
  702. "%SYSBLDNAME%", 69, "blobCast (LLD_Lob)",
  703. "%SYSBLDUSER%", 0,
  704. "grant execute on function blobCast (LLD_Lob) to public;
  705. ",
  706. "f",
  707. "",
  708. "f"
  709. );
  710. insert into sysbldobjdepends
  711. (bld_id, obj_kind, obj_signature, obj_owner,
  712. need_obj_kind, need_obj_signature, need_obj_owner)
  713. values
  714. (
  715. "%SYSBLDNAME%",
  716. 69, "blobCast (LLD_Lob)",
  717. "%SYSBLDUSER%",
  718. 5, "blobCast (LLD_Lob)",
  719. "%SYSBLDUSER%"
  720. );
  721. insert into sysbldobjects
  722. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  723. create_can_fail, drop_sql, drop_can_fail)
  724. values
  725. (
  726. "%SYSBLDNAME%", 5, "clobCast (LLD_Lob)",
  727. "%SYSBLDUSER%", 0,
  728. "create function clobCast (LLD_Lob)
  729. returns clob
  730. with
  731. (
  732. not variant
  733. )
  734. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/LLD.bld(lld_lob_to_clob)""
  735. language c;
  736. ",
  737. "f",
  738. "drop function clobCast (LLD_Lob);
  739. ",
  740. "f"
  741. );
  742. insert into sysbldobjdepends
  743. (bld_id, obj_kind, obj_signature, obj_owner,
  744. need_obj_kind, need_obj_signature, need_obj_owner)
  745. values
  746. (
  747. "%SYSBLDNAME%",
  748. 5, "clobCast (LLD_Lob)",
  749. "%SYSBLDUSER%",
  750. 7, "LLD_Lob",
  751. "%SYSBLDUSER%"
  752. );
  753. insert into sysbldobjects
  754. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  755. create_can_fail, drop_sql, drop_can_fail)
  756. values
  757. (
  758. "%SYSBLDNAME%", 69, "clobCast (LLD_Lob)",
  759. "%SYSBLDUSER%", 0,
  760. "grant execute on function clobCast (LLD_Lob) to public;
  761. ",
  762. "f",
  763. "",
  764. "f"
  765. );
  766. insert into sysbldobjdepends
  767. (bld_id, obj_kind, obj_signature, obj_owner,
  768. need_obj_kind, need_obj_signature, need_obj_owner)
  769. values
  770. (
  771. "%SYSBLDNAME%",
  772. 69, "clobCast (LLD_Lob)",
  773. "%SYSBLDUSER%",
  774. 5, "clobCast (LLD_Lob)",
  775. "%SYSBLDUSER%"
  776. );
  777. insert into sysbldobjects
  778. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  779. create_can_fail, drop_sql, drop_can_fail)
  780. values
  781. (
  782. "%SYSBLDNAME%", 5, "LLD_LobCast (blob)",
  783. "%SYSBLDUSER%", 0,
  784. "create function LLD_LobCast (blob)
  785. returns LLD_Lob
  786. with
  787. (
  788. not variant
  789. )
  790. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/LLD.bld(lld_lob_from_blob)""
  791. language c;
  792. ",
  793. "f",
  794. "drop function LLD_LobCast (blob);
  795. ",
  796. "f"
  797. );
  798. insert into sysbldobjdepends
  799. (bld_id, obj_kind, obj_signature, obj_owner,
  800. need_obj_kind, need_obj_signature, need_obj_owner)
  801. values
  802. (
  803. "%SYSBLDNAME%",
  804. 5, "LLD_LobCast (blob)",
  805. "%SYSBLDUSER%",
  806. 7, "LLD_Lob",
  807. "%SYSBLDUSER%"
  808. );
  809. insert into sysbldobjects
  810. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  811. create_can_fail, drop_sql, drop_can_fail)
  812. values
  813. (
  814. "%SYSBLDNAME%", 69, "LLD_LobCast (blob)",
  815. "%SYSBLDUSER%", 0,
  816. "grant execute on function LLD_LobCast (blob) to public;
  817. ",
  818. "f",
  819. "",
  820. "f"
  821. );
  822. insert into sysbldobjdepends
  823. (bld_id, obj_kind, obj_signature, obj_owner,
  824. need_obj_kind, need_obj_signature, need_obj_owner)
  825. values
  826. (
  827. "%SYSBLDNAME%",
  828. 69, "LLD_LobCast (blob)",
  829. "%SYSBLDUSER%",
  830. 5, "LLD_LobCast (blob)",
  831. "%SYSBLDUSER%"
  832. );
  833. insert into sysbldobjects
  834. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  835. create_can_fail, drop_sql, drop_can_fail)
  836. values
  837. (
  838. "%SYSBLDNAME%", 5, "LLD_LobCast (clob)",
  839. "%SYSBLDUSER%", 0,
  840. "create function LLD_LobCast (clob)
  841. returns LLD_Lob
  842. with
  843. (
  844. not variant
  845. )
  846. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/LLD.bld(lld_lob_from_clob)""
  847. language c;
  848. ",
  849. "f",
  850. "drop function LLD_LobCast (clob);
  851. ",
  852. "f"
  853. );
  854. insert into sysbldobjdepends
  855. (bld_id, obj_kind, obj_signature, obj_owner,
  856. need_obj_kind, need_obj_signature, need_obj_owner)
  857. values
  858. (
  859. "%SYSBLDNAME%",
  860. 5, "LLD_LobCast (clob)",
  861. "%SYSBLDUSER%",
  862. 7, "LLD_Lob",
  863. "%SYSBLDUSER%"
  864. );
  865. insert into sysbldobjects
  866. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  867. create_can_fail, drop_sql, drop_can_fail)
  868. values
  869. (
  870. "%SYSBLDNAME%", 69, "LLD_LobCast (clob)",
  871. "%SYSBLDUSER%", 0,
  872. "grant execute on function LLD_LobCast (clob) to public;
  873. ",
  874. "f",
  875. "",
  876. "f"
  877. );
  878. insert into sysbldobjdepends
  879. (bld_id, obj_kind, obj_signature, obj_owner,
  880. need_obj_kind, need_obj_signature, need_obj_owner)
  881. values
  882. (
  883. "%SYSBLDNAME%",
  884. 69, "LLD_LobCast (clob)",
  885. "%SYSBLDUSER%",
  886. 5, "LLD_LobCast (clob)",
  887. "%SYSBLDUSER%"
  888. );
  889. insert into sysbldobjects
  890. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  891. create_can_fail, drop_sql, drop_can_fail)
  892. values
  893. (
  894. "%SYSBLDNAME%", 0, "casts",
  895. "%SYSBLDUSER%", 0,
  896. "create implicit cast
  897. (
  898. blob as LLD_Lob
  899. with LLD_LobCast
  900. );
  901. create implicit cast
  902. (
  903. clob as LLD_Lob
  904. with LLD_LobCast
  905. );
  906. create cast
  907. (
  908. LLD_Lob as blob
  909. with blobCast
  910. );
  911. create cast
  912. (
  913. LLD_Lob as clob
  914. with clobCast
  915. );
  916. ",
  917. "f",
  918. "drop cast (blob as LLD_Lob);
  919. drop cast (clob as LLD_Lob);
  920. drop cast (LLD_Lob as blob);
  921. drop cast (LLD_Lob as clob);
  922. ",
  923. "f"
  924. );
  925. insert into sysbldobjdepends
  926. (bld_id, obj_kind, obj_signature, obj_owner,
  927. need_obj_kind, need_obj_signature, need_obj_owner)
  928. values
  929. (
  930. "%SYSBLDNAME%",
  931. 0, "casts",
  932. "%SYSBLDUSER%",
  933. 5, "blobCast (LLD_Lob)",
  934. "%SYSBLDUSER%"
  935. );
  936. insert into sysbldobjdepends
  937. (bld_id, obj_kind, obj_signature, obj_owner,
  938. need_obj_kind, need_obj_signature, need_obj_owner)
  939. values
  940. (
  941. "%SYSBLDNAME%",
  942. 0, "casts",
  943. "%SYSBLDUSER%",
  944. 5, "clobCast (LLD_Lob)",
  945. "%SYSBLDUSER%"
  946. );
  947. insert into sysbldobjdepends
  948. (bld_id, obj_kind, obj_signature, obj_owner,
  949. need_obj_kind, need_obj_signature, need_obj_owner)
  950. values
  951. (
  952. "%SYSBLDNAME%",
  953. 0, "casts",
  954. "%SYSBLDUSER%",
  955. 7, "LLD_Lob",
  956. "%SYSBLDUSER%"
  957. );
  958. insert into sysbldobjdepends
  959. (bld_id, obj_kind, obj_signature, obj_owner,
  960. need_obj_kind, need_obj_signature, need_obj_owner)
  961. values
  962. (
  963. "%SYSBLDNAME%",
  964. 0, "casts",
  965. "%SYSBLDUSER%",
  966. 5, "LLD_LobCast (blob)",
  967. "%SYSBLDUSER%"
  968. );
  969. insert into sysbldobjdepends
  970. (bld_id, obj_kind, obj_signature, obj_owner,
  971. need_obj_kind, need_obj_signature, need_obj_owner)
  972. values
  973. (
  974. "%SYSBLDNAME%",
  975. 0, "casts",
  976. "%SYSBLDUSER%",
  977. 5, "LLD_LobCast (clob)",
  978. "%SYSBLDUSER%"
  979. );
  980. insert into sysbldobjects
  981. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  982. create_can_fail, drop_sql, drop_can_fail)
  983. values
  984. (
  985. "%SYSBLDNAME%", 7, "LLD_Locator",
  986. "%SYSBLDUSER%", 0,
  987. "create row type LLD_Locator
  988. (
  989. lo_protocol char (18),
  990. lo_pointer LLD_Lob,
  991. lo_location lvarchar
  992. );
  993. ",
  994. "f",
  995. "drop row type LLD_Locator restrict;
  996. ",
  997. "f"
  998. );
  999. insert into sysbldobjdepends
  1000. (bld_id, obj_kind, obj_signature, obj_owner,
  1001. need_obj_kind, need_obj_signature, need_obj_owner)
  1002. values
  1003. (
  1004. "%SYSBLDNAME%",
  1005. 7, "LLD_Locator",
  1006. "%SYSBLDUSER%",
  1007. 7, "LLD_Lob",
  1008. "%SYSBLDUSER%"
  1009. );
  1010. insert into sysbldobjects
  1011. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1012. create_can_fail, drop_sql, drop_can_fail)
  1013. values
  1014. (
  1015. "%SYSBLDNAME%", 71, "LLD_Locator",
  1016. "%SYSBLDUSER%", 0,
  1017. "grant usage on type LLD_Locator to public;
  1018. ",
  1019. "f",
  1020. "",
  1021. "f"
  1022. );
  1023. insert into sysbldobjdepends
  1024. (bld_id, obj_kind, obj_signature, obj_owner,
  1025. need_obj_kind, need_obj_signature, need_obj_owner)
  1026. values
  1027. (
  1028. "%SYSBLDNAME%",
  1029. 71, "LLD_Locator",
  1030. "%SYSBLDUSER%",
  1031. 7, "LLD_Locator",
  1032. "%SYSBLDUSER%"
  1033. );
  1034. insert into sysbldobjects
  1035. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1036. create_can_fail, drop_sql, drop_can_fail)
  1037. values
  1038. (
  1039. "%SYSBLDNAME%", 5, "LOhandles (LLD_Lob)",
  1040. "%SYSBLDUSER%", 0,
  1041. "create function LOhandles (LLD_Lob)
  1042. returns lolist
  1043. with
  1044. (
  1045. not variant
  1046. )
  1047. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/LLD.bld(lld_lob_handles)""
  1048. language c;
  1049. ",
  1050. "f",
  1051. "drop function LOhandles (LLD_Lob);
  1052. ",
  1053. "f"
  1054. );
  1055. insert into sysbldobjdepends
  1056. (bld_id, obj_kind, obj_signature, obj_owner,
  1057. need_obj_kind, need_obj_signature, need_obj_owner)
  1058. values
  1059. (
  1060. "%SYSBLDNAME%",
  1061. 5, "LOhandles (LLD_Lob)",
  1062. "%SYSBLDUSER%",
  1063. 7, "LLD_Lob",
  1064. "%SYSBLDUSER%"
  1065. );
  1066. insert into sysbldobjects
  1067. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1068. create_can_fail, drop_sql, drop_can_fail)
  1069. values
  1070. (
  1071. "%SYSBLDNAME%", 69, "LOhandles (LLD_Lob)",
  1072. "%SYSBLDUSER%", 0,
  1073. "grant execute on function LOhandles (LLD_Lob) to public;
  1074. ",
  1075. "f",
  1076. "",
  1077. "f"
  1078. );
  1079. insert into sysbldobjdepends
  1080. (bld_id, obj_kind, obj_signature, obj_owner,
  1081. need_obj_kind, need_obj_signature, need_obj_owner)
  1082. values
  1083. (
  1084. "%SYSBLDNAME%",
  1085. 69, "LOhandles (LLD_Lob)",
  1086. "%SYSBLDUSER%",
  1087. 5, "LOhandles (LLD_Lob)",
  1088. "%SYSBLDUSER%"
  1089. );
  1090. insert into sysbldobjects
  1091. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1092. create_can_fail, drop_sql, drop_can_fail)
  1093. values
  1094. (
  1095. "%SYSBLDNAME%", 5, "LLD_Create (LLD_Locator)",
  1096. "%SYSBLDUSER%", 0,
  1097. "create function LLD_Create (LLD_Locator)
  1098. returns LLD_Locator
  1099. with
  1100. (
  1101. not variant
  1102. )
  1103. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/LLD.bld(lld_udr_create)""
  1104. language c;
  1105. ",
  1106. "f",
  1107. "drop function LLD_Create (LLD_Locator);
  1108. ",
  1109. "f"
  1110. );
  1111. insert into sysbldobjdepends
  1112. (bld_id, obj_kind, obj_signature, obj_owner,
  1113. need_obj_kind, need_obj_signature, need_obj_owner)
  1114. values
  1115. (
  1116. "%SYSBLDNAME%",
  1117. 5, "LLD_Create (LLD_Locator)",
  1118. "%SYSBLDUSER%",
  1119. 7, "LLD_Locator",
  1120. "%SYSBLDUSER%"
  1121. );
  1122. insert into sysbldobjdepends
  1123. (bld_id, obj_kind, obj_signature, obj_owner,
  1124. need_obj_kind, need_obj_signature, need_obj_owner)
  1125. values
  1126. (
  1127. "%SYSBLDNAME%",
  1128. 5, "LLD_Create (LLD_Locator)",
  1129. "%SYSBLDUSER%",
  1130. 7, "LLD_Lob",
  1131. "%SYSBLDUSER%"
  1132. );
  1133. insert into sysbldobjects
  1134. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1135. create_can_fail, drop_sql, drop_can_fail)
  1136. values
  1137. (
  1138. "%SYSBLDNAME%", 69, "LLD_Create (LLD_Locator)",
  1139. "%SYSBLDUSER%", 0,
  1140. "grant execute on function LLD_Create (LLD_Locator) to public;
  1141. ",
  1142. "f",
  1143. "",
  1144. "f"
  1145. );
  1146. insert into sysbldobjdepends
  1147. (bld_id, obj_kind, obj_signature, obj_owner,
  1148. need_obj_kind, need_obj_signature, need_obj_owner)
  1149. values
  1150. (
  1151. "%SYSBLDNAME%",
  1152. 69, "LLD_Create (LLD_Locator)",
  1153. "%SYSBLDUSER%",
  1154. 5, "LLD_Create (LLD_Locator)",
  1155. "%SYSBLDUSER%"
  1156. );
  1157. insert into sysbldobjects
  1158. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1159. create_can_fail, drop_sql, drop_can_fail)
  1160. values
  1161. (
  1162. "%SYSBLDNAME%", 5, "LLD_Copy (LLD_Locator,LLD_Locator)",
  1163. "%SYSBLDUSER%", 0,
  1164. "create function LLD_Copy (LLD_Locator,LLD_Locator)
  1165. returns LLD_Locator
  1166. with
  1167. (
  1168. not variant
  1169. )
  1170. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/LLD.bld(lld_udr_copy)""
  1171. language c;
  1172. ",
  1173. "f",
  1174. "drop function LLD_Copy (LLD_Locator,LLD_Locator);
  1175. ",
  1176. "f"
  1177. );
  1178. insert into sysbldobjdepends
  1179. (bld_id, obj_kind, obj_signature, obj_owner,
  1180. need_obj_kind, need_obj_signature, need_obj_owner)
  1181. values
  1182. (
  1183. "%SYSBLDNAME%",
  1184. 5, "LLD_Copy (LLD_Locator,LLD_Locator)",
  1185. "%SYSBLDUSER%",
  1186. 7, "LLD_Locator",
  1187. "%SYSBLDUSER%"
  1188. );
  1189. insert into sysbldobjdepends
  1190. (bld_id, obj_kind, obj_signature, obj_owner,
  1191. need_obj_kind, need_obj_signature, need_obj_owner)
  1192. values
  1193. (
  1194. "%SYSBLDNAME%",
  1195. 5, "LLD_Copy (LLD_Locator,LLD_Locator)",
  1196. "%SYSBLDUSER%",
  1197. 7, "LLD_Lob",
  1198. "%SYSBLDUSER%"
  1199. );
  1200. insert into sysbldobjects
  1201. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1202. create_can_fail, drop_sql, drop_can_fail)
  1203. values
  1204. (
  1205. "%SYSBLDNAME%", 69, "LLD_Copy (LLD_Locator,LLD_Locator)",
  1206. "%SYSBLDUSER%", 0,
  1207. "grant execute on function LLD_Copy (LLD_Locator,LLD_Locator) to public;
  1208. ",
  1209. "f",
  1210. "",
  1211. "f"
  1212. );
  1213. insert into sysbldobjdepends
  1214. (bld_id, obj_kind, obj_signature, obj_owner,
  1215. need_obj_kind, need_obj_signature, need_obj_owner)
  1216. values
  1217. (
  1218. "%SYSBLDNAME%",
  1219. 69, "LLD_Copy (LLD_Locator,LLD_Locator)",
  1220. "%SYSBLDUSER%",
  1221. 5, "LLD_Copy (LLD_Locator,LLD_Locator)",
  1222. "%SYSBLDUSER%"
  1223. );
  1224. insert into sysbldobjects
  1225. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1226. create_can_fail, drop_sql, drop_can_fail)
  1227. values
  1228. (
  1229. "%SYSBLDNAME%", 5, "LLD_Delete (LLD_Locator)",
  1230. "%SYSBLDUSER%", 0,
  1231. "create function LLD_Delete (LLD_Locator)
  1232. returns boolean
  1233. with
  1234. (
  1235. not variant
  1236. )
  1237. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/LLD.bld(lld_udr_delete)""
  1238. language c;
  1239. ",
  1240. "f",
  1241. "drop function LLD_Delete (LLD_Locator);
  1242. ",
  1243. "f"
  1244. );
  1245. insert into sysbldobjdepends
  1246. (bld_id, obj_kind, obj_signature, obj_owner,
  1247. need_obj_kind, need_obj_signature, need_obj_owner)
  1248. values
  1249. (
  1250. "%SYSBLDNAME%",
  1251. 5, "LLD_Delete (LLD_Locator)",
  1252. "%SYSBLDUSER%",
  1253. 7, "LLD_Locator",
  1254. "%SYSBLDUSER%"
  1255. );
  1256. insert into sysbldobjdepends
  1257. (bld_id, obj_kind, obj_signature, obj_owner,
  1258. need_obj_kind, need_obj_signature, need_obj_owner)
  1259. values
  1260. (
  1261. "%SYSBLDNAME%",
  1262. 5, "LLD_Delete (LLD_Locator)",
  1263. "%SYSBLDUSER%",
  1264. 7, "LLD_Lob",
  1265. "%SYSBLDUSER%"
  1266. );
  1267. insert into sysbldobjects
  1268. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1269. create_can_fail, drop_sql, drop_can_fail)
  1270. values
  1271. (
  1272. "%SYSBLDNAME%", 69, "LLD_Delete (LLD_Locator)",
  1273. "%SYSBLDUSER%", 0,
  1274. "grant execute on function LLD_Delete (LLD_Locator) to public;
  1275. ",
  1276. "f",
  1277. "",
  1278. "f"
  1279. );
  1280. insert into sysbldobjdepends
  1281. (bld_id, obj_kind, obj_signature, obj_owner,
  1282. need_obj_kind, need_obj_signature, need_obj_owner)
  1283. values
  1284. (
  1285. "%SYSBLDNAME%",
  1286. 69, "LLD_Delete (LLD_Locator)",
  1287. "%SYSBLDUSER%",
  1288. 5, "LLD_Delete (LLD_Locator)",
  1289. "%SYSBLDUSER%"
  1290. );
  1291. insert into sysbldobjects
  1292. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1293. create_can_fail, drop_sql, drop_can_fail)
  1294. values
  1295. (
  1296. "%SYSBLDNAME%", 5, "LLD_FromClient (lvarchar,LLD_Locator)",
  1297. "%SYSBLDUSER%", 0,
  1298. "create function LLD_FromClient (lvarchar,LLD_Locator)
  1299. returns LLD_Locator
  1300. with
  1301. (
  1302. not variant
  1303. )
  1304. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/LLD.bld(lld_udr_from_client)""
  1305. language c;
  1306. ",
  1307. "f",
  1308. "drop function LLD_FromClient (lvarchar,LLD_Locator);
  1309. ",
  1310. "f"
  1311. );
  1312. insert into sysbldobjdepends
  1313. (bld_id, obj_kind, obj_signature, obj_owner,
  1314. need_obj_kind, need_obj_signature, need_obj_owner)
  1315. values
  1316. (
  1317. "%SYSBLDNAME%",
  1318. 5, "LLD_FromClient (lvarchar,LLD_Locator)",
  1319. "%SYSBLDUSER%",
  1320. 7, "LLD_Locator",
  1321. "%SYSBLDUSER%"
  1322. );
  1323. insert into sysbldobjdepends
  1324. (bld_id, obj_kind, obj_signature, obj_owner,
  1325. need_obj_kind, need_obj_signature, need_obj_owner)
  1326. values
  1327. (
  1328. "%SYSBLDNAME%",
  1329. 5, "LLD_FromClient (lvarchar,LLD_Locator)",
  1330. "%SYSBLDUSER%",
  1331. 7, "LLD_Lob",
  1332. "%SYSBLDUSER%"
  1333. );
  1334. insert into sysbldobjects
  1335. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1336. create_can_fail, drop_sql, drop_can_fail)
  1337. values
  1338. (
  1339. "%SYSBLDNAME%", 69, "LLD_FromClient (lvarchar,LLD_Locator)",
  1340. "%SYSBLDUSER%", 0,
  1341. "grant execute on function LLD_FromClient (lvarchar,LLD_Locator) to public;
  1342. ",
  1343. "f",
  1344. "",
  1345. "f"
  1346. );
  1347. insert into sysbldobjdepends
  1348. (bld_id, obj_kind, obj_signature, obj_owner,
  1349. need_obj_kind, need_obj_signature, need_obj_owner)
  1350. values
  1351. (
  1352. "%SYSBLDNAME%",
  1353. 69, "LLD_FromClient (lvarchar,LLD_Locator)",
  1354. "%SYSBLDUSER%",
  1355. 5, "LLD_FromClient (lvarchar,LLD_Locator)",
  1356. "%SYSBLDUSER%"
  1357. );
  1358. insert into sysbldobjects
  1359. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1360. create_can_fail, drop_sql, drop_can_fail)
  1361. values
  1362. (
  1363. "%SYSBLDNAME%", 5, "LLD_ToClient (LLD_Locator,lvarchar)",
  1364. "%SYSBLDUSER%", 0,
  1365. "create function LLD_ToClient (LLD_Locator,lvarchar)
  1366. returns boolean
  1367. with
  1368. (
  1369. not variant
  1370. )
  1371. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/LLD.bld(lld_udr_to_client)""
  1372. language c;
  1373. ",
  1374. "f",
  1375. "drop function LLD_ToClient (LLD_Locator,lvarchar);
  1376. ",
  1377. "f"
  1378. );
  1379. insert into sysbldobjdepends
  1380. (bld_id, obj_kind, obj_signature, obj_owner,
  1381. need_obj_kind, need_obj_signature, need_obj_owner)
  1382. values
  1383. (
  1384. "%SYSBLDNAME%",
  1385. 5, "LLD_ToClient (LLD_Locator,lvarchar)",
  1386. "%SYSBLDUSER%",
  1387. 7, "LLD_Locator",
  1388. "%SYSBLDUSER%"
  1389. );
  1390. insert into sysbldobjdepends
  1391. (bld_id, obj_kind, obj_signature, obj_owner,
  1392. need_obj_kind, need_obj_signature, need_obj_owner)
  1393. values
  1394. (
  1395. "%SYSBLDNAME%",
  1396. 5, "LLD_ToClient (LLD_Locator,lvarchar)",
  1397. "%SYSBLDUSER%",
  1398. 7, "LLD_Lob",
  1399. "%SYSBLDUSER%"
  1400. );
  1401. insert into sysbldobjects
  1402. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1403. create_can_fail, drop_sql, drop_can_fail)
  1404. values
  1405. (
  1406. "%SYSBLDNAME%", 69, "LLD_ToClient (LLD_Locator,lvarchar)",
  1407. "%SYSBLDUSER%", 0,
  1408. "grant execute on function LLD_ToClient (LLD_Locator,lvarchar) to public;
  1409. ",
  1410. "f",
  1411. "",
  1412. "f"
  1413. );
  1414. insert into sysbldobjdepends
  1415. (bld_id, obj_kind, obj_signature, obj_owner,
  1416. need_obj_kind, need_obj_signature, need_obj_owner)
  1417. values
  1418. (
  1419. "%SYSBLDNAME%",
  1420. 69, "LLD_ToClient (LLD_Locator,lvarchar)",
  1421. "%SYSBLDUSER%",
  1422. 5, "LLD_ToClient (LLD_Locator,lvarchar)",
  1423. "%SYSBLDUSER%"
  1424. );
  1425. insert into sysbldobjects
  1426. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1427. create_can_fail, drop_sql, drop_can_fail)
  1428. values
  1429. (
  1430. "%SYSBLDNAME%", 6, "LLD_FileToFile (lvarchar,lvarchar,boolean,boolean)",
  1431. "%SYSBLDUSER%", 0,
  1432. "create procedure LLD_FileToFile (lvarchar,lvarchar,boolean,boolean)
  1433. with
  1434. (
  1435. not variant
  1436. )
  1437. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/LLD.bld(lld_udr_file_to_file)""
  1438. language c;
  1439. ",
  1440. "f",
  1441. "drop procedure LLD_FileToFile (lvarchar,lvarchar,boolean,boolean);
  1442. ",
  1443. "f"
  1444. );
  1445. insert into sysbldobjects
  1446. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1447. create_can_fail, drop_sql, drop_can_fail)
  1448. values
  1449. (
  1450. "%SYSBLDNAME%", 70, "LLD_FileToFile (lvarchar,lvarchar,boolean,boolean)",
  1451. "%SYSBLDUSER%", 0,
  1452. "grant execute on procedure LLD_FileToFile (lvarchar,lvarchar,boolean,boolean) to public;
  1453. ",
  1454. "f",
  1455. "",
  1456. "f"
  1457. );
  1458. insert into sysbldobjdepends
  1459. (bld_id, obj_kind, obj_signature, obj_owner,
  1460. need_obj_kind, need_obj_signature, need_obj_owner)
  1461. values
  1462. (
  1463. "%SYSBLDNAME%",
  1464. 70, "LLD_FileToFile (lvarchar,lvarchar,boolean,boolean)",
  1465. "%SYSBLDUSER%",
  1466. 6, "LLD_FileToFile (lvarchar,lvarchar,boolean,boolean)",
  1467. "%SYSBLDUSER%"
  1468. );
  1469. insert into sysbldobjects
  1470. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1471. create_can_fail, drop_sql, drop_can_fail)
  1472. values
  1473. (
  1474. "%SYSBLDNAME%", 5, "LoToFile (LLD_Lob,lvarchar,char)",
  1475. "%SYSBLDUSER%", 0,
  1476. "create function LoToFile (LLD_Lob,lvarchar,char (6))
  1477. returns lvarchar
  1478. with
  1479. (
  1480. not variant
  1481. )
  1482. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/LLD.bld(lld_lob_to_file)""
  1483. language c;
  1484. ",
  1485. "f",
  1486. "drop function LoToFile (LLD_Lob,lvarchar,char (6));
  1487. ",
  1488. "f"
  1489. );
  1490. insert into sysbldobjdepends
  1491. (bld_id, obj_kind, obj_signature, obj_owner,
  1492. need_obj_kind, need_obj_signature, need_obj_owner)
  1493. values
  1494. (
  1495. "%SYSBLDNAME%",
  1496. 5, "LoToFile (LLD_Lob,lvarchar,char)",
  1497. "%SYSBLDUSER%",
  1498. 7, "LLD_Lob",
  1499. "%SYSBLDUSER%"
  1500. );
  1501. insert into sysbldobjects
  1502. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1503. create_can_fail, drop_sql, drop_can_fail)
  1504. values
  1505. (
  1506. "%SYSBLDNAME%", 69, "LoToFile (LLD_Lob,lvarchar,char)",
  1507. "%SYSBLDUSER%", 0,
  1508. "grant execute on function LoToFile (LLD_Lob,lvarchar,char (6)) to public;
  1509. ",
  1510. "f",
  1511. "",
  1512. "f"
  1513. );
  1514. insert into sysbldobjdepends
  1515. (bld_id, obj_kind, obj_signature, obj_owner,
  1516. need_obj_kind, need_obj_signature, need_obj_owner)
  1517. values
  1518. (
  1519. "%SYSBLDNAME%",
  1520. 69, "LoToFile (LLD_Lob,lvarchar,char)",
  1521. "%SYSBLDUSER%",
  1522. 5, "LoToFile (LLD_Lob,lvarchar,char)",
  1523. "%SYSBLDUSER%"
  1524. );
  1525. insert into sysbldobjects
  1526. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1527. create_can_fail, drop_sql, drop_can_fail)
  1528. values
  1529. (
  1530. "%SYSBLDNAME%", 5, "LOCopy (LLD_Lob)",
  1531. "%SYSBLDUSER%", 0,
  1532. "create function LOCopy (LLD_Lob)
  1533. returns LLD_Lob
  1534. with
  1535. (
  1536. not variant
  1537. )
  1538. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/LLD.bld(lld_lob_copy)""
  1539. language c;
  1540. ",
  1541. "f",
  1542. "drop function LOCopy (LLD_Lob);
  1543. ",
  1544. "f"
  1545. );
  1546. insert into sysbldobjdepends
  1547. (bld_id, obj_kind, obj_signature, obj_owner,
  1548. need_obj_kind, need_obj_signature, need_obj_owner)
  1549. values
  1550. (
  1551. "%SYSBLDNAME%",
  1552. 5, "LOCopy (LLD_Lob)",
  1553. "%SYSBLDUSER%",
  1554. 7, "LLD_Lob",
  1555. "%SYSBLDUSER%"
  1556. );
  1557. insert into sysbldobjects
  1558. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1559. create_can_fail, drop_sql, drop_can_fail)
  1560. values
  1561. (
  1562. "%SYSBLDNAME%", 69, "LOCopy (LLD_Lob)",
  1563. "%SYSBLDUSER%", 0,
  1564. "grant execute on function LOCopy (LLD_Lob) to public;
  1565. ",
  1566. "f",
  1567. "",
  1568. "f"
  1569. );
  1570. insert into sysbldobjdepends
  1571. (bld_id, obj_kind, obj_signature, obj_owner,
  1572. need_obj_kind, need_obj_signature, need_obj_owner)
  1573. values
  1574. (
  1575. "%SYSBLDNAME%",
  1576. 69, "LOCopy (LLD_Lob)",
  1577. "%SYSBLDUSER%",
  1578. 5, "LOCopy (LLD_Lob)",
  1579. "%SYSBLDUSER%"
  1580. );
  1581. insert into sysbldobjects
  1582. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1583. create_can_fail, drop_sql, drop_can_fail)
  1584. values
  1585. (
  1586. "%SYSBLDNAME%", 5, "LOCopy (LLD_Lob,char,char)",
  1587. "%SYSBLDUSER%", 0,
  1588. "create function LOCopy (LLD_Lob,char (18),char (18))
  1589. returns LLD_Lob
  1590. with
  1591. (
  1592. not variant
  1593. )
  1594. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/LLD.bld(lld_lob_copy_colspec)""
  1595. language c;
  1596. ",
  1597. "f",
  1598. "drop function LOCopy (LLD_Lob,char (18),char (18));
  1599. ",
  1600. "f"
  1601. );
  1602. insert into sysbldobjdepends
  1603. (bld_id, obj_kind, obj_signature, obj_owner,
  1604. need_obj_kind, need_obj_signature, need_obj_owner)
  1605. values
  1606. (
  1607. "%SYSBLDNAME%",
  1608. 5, "LOCopy (LLD_Lob,char,char)",
  1609. "%SYSBLDUSER%",
  1610. 7, "LLD_Lob",
  1611. "%SYSBLDUSER%"
  1612. );
  1613. insert into sysbldobjects
  1614. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1615. create_can_fail, drop_sql, drop_can_fail)
  1616. values
  1617. (
  1618. "%SYSBLDNAME%", 69, "LOCopy (LLD_Lob,char,char)",
  1619. "%SYSBLDUSER%", 0,
  1620. "grant execute on function LOCopy (LLD_Lob,char (18),char (18)) to public;
  1621. ",
  1622. "f",
  1623. "",
  1624. "f"
  1625. );
  1626. insert into sysbldobjdepends
  1627. (bld_id, obj_kind, obj_signature, obj_owner,
  1628. need_obj_kind, need_obj_signature, need_obj_owner)
  1629. values
  1630. (
  1631. "%SYSBLDNAME%",
  1632. 69, "LOCopy (LLD_Lob,char,char)",
  1633. "%SYSBLDUSER%",
  1634. 5, "LOCopy (LLD_Lob,char,char)",
  1635. "%SYSBLDUSER%"
  1636. );
  1637. insert into sysbldobjects
  1638. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1639. create_can_fail, drop_sql, drop_can_fail)
  1640. values
  1641. (
  1642. "%SYSBLDNAME%", 5, "LLD_LobType (LLD_Lob)",
  1643. "%SYSBLDUSER%", 0,
  1644. "create function LLD_LobType (LLD_Lob)
  1645. returns char (4)
  1646. with
  1647. (
  1648. not variant
  1649. )
  1650. external name ""$INFORMIXDIR/extend/%SYSBLDDIR%/LLD.bld(lld_lob_type)""
  1651. language c;
  1652. ",
  1653. "f",
  1654. "drop function LLD_LobType (LLD_Lob);
  1655. ",
  1656. "f"
  1657. );
  1658. insert into sysbldobjdepends
  1659. (bld_id, obj_kind, obj_signature, obj_owner,
  1660. need_obj_kind, need_obj_signature, need_obj_owner)
  1661. values
  1662. (
  1663. "%SYSBLDNAME%",
  1664. 5, "LLD_LobType (LLD_Lob)",
  1665. "%SYSBLDUSER%",
  1666. 7, "LLD_Lob",
  1667. "%SYSBLDUSER%"
  1668. );
  1669. insert into sysbldobjects
  1670. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1671. create_can_fail, drop_sql, drop_can_fail)
  1672. values
  1673. (
  1674. "%SYSBLDNAME%", 69, "LLD_LobType (LLD_Lob)",
  1675. "%SYSBLDUSER%", 0,
  1676. "grant execute on function LLD_LobType (LLD_Lob) to public;
  1677. ",
  1678. "f",
  1679. "",
  1680. "f"
  1681. );
  1682. insert into sysbldobjdepends
  1683. (bld_id, obj_kind, obj_signature, obj_owner,
  1684. need_obj_kind, need_obj_signature, need_obj_owner)
  1685. values
  1686. (
  1687. "%SYSBLDNAME%",
  1688. 69, "LLD_LobType (LLD_Lob)",
  1689. "%SYSBLDUSER%",
  1690. 5, "LLD_LobType (LLD_Lob)",
  1691. "%SYSBLDUSER%"
  1692. );
  1693. insert into sysbldobjects
  1694. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1695. create_can_fail, drop_sql, drop_can_fail)
  1696. values
  1697. (
  1698. "%SYSBLDNAME%", 15, "ILLD1",
  1699. "%SYSBLDUSER%", 0,
  1700. "insert into sysbldiprovided
  1701. (bldi_id, bld_id)
  1702. values
  1703. (
  1704. ""ILLD1"",
  1705. ""%SYSBLDNAME%""
  1706. );
  1707. ",
  1708. "f",
  1709. "delete from sysbldiprovided
  1710. where bldi_id = ""ILLD1""
  1711. and bld_id = ""%SYSBLDNAME%"";
  1712. ",
  1713. "f"
  1714. );
  1715. insert into sysbldobjects
  1716. (bld_id, obj_kind, obj_signature, obj_owner, sequence, create_sql,
  1717. create_can_fail, drop_sql, drop_can_fail)
  1718. values
  1719. (
  1720. "%SYSBLDNAME%", 0, "sysbldregistered",
  1721. "%SYSBLDUSER%", 0,
  1722. "insert into sysbldregistered
  1723. (bld_id)
  1724. values
  1725. (
  1726. ""%SYSBLDNAME%""
  1727. );
  1728. ",
  1729. "f",
  1730. "delete from sysbldregistered
  1731. where bld_id = ""%SYSBLDNAME%"";
  1732. ",
  1733. "f"
  1734. );