boot920a.sql 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. { ************************************************************************* }
  2. { }
  3. { Licensed Materials - Property of IBM and/or HCL }
  4. { }
  5. { IBM Informix Dynamic Server }
  6. { (c) Copyright IBM Corporation 1996, 2004 All rights reserved. }
  7. { (c) Copyright HCL Technologies Ltd. 2017. All Rights Reserved. }
  8. { }
  9. { ************************************************************************* }
  10. { }
  11. { Title: boot920a.sql }
  12. { }
  13. { Description: }
  14. { Bootstrapping script for a 9.20 post STAR release database }
  15. { }
  16. { ************************************************************************* }
  17. { }
  18. { ** IMPORTANT - PLEASE READ }
  19. { }
  20. { All types and routines referenced in this file must be prefixed }
  21. { with the user name "informix". E.g., use "informix.boolean" }
  22. { and not "boolean" }
  23. { }
  24. { Also, please follow the formatting conventions!!! }
  25. { }
  26. { Please ensure that the identifiers that you choose are <= 18 }
  27. { characters in length. Otherwise the changes would affect database }
  28. { reversion. }
  29. { }
  30. { ************************************************************************* }
  31. create dba function informix.get_cursor_table(lvarchar)
  32. returns lvarchar
  33. external name '(mi_get_cursor_table)'
  34. language C;
  35. grant execute on function informix.get_cursor_table(lvarchar)
  36. to public as informix;
  37. create dba function informix.mi_cast_datum(informix.sendrecv,
  38. int, int, int, int)
  39. returns informix.sendrecv
  40. external name '(mife_cast_datum)'
  41. language C;
  42. create dba function informix.mi_cast_datum(informix.sendrecv,
  43. informix.lvarchar, informix.lvarchar)
  44. returns informix.sendrecv
  45. external name '(mife_cast_datum_by_name)'
  46. language C;
  47. grant execute on function informix.mi_cast_datum(informix.sendrecv,
  48. int, int, int, int)
  49. to public as informix;
  50. grant execute on function informix.mi_cast_datum(informix.sendrecv,
  51. informix.lvarchar, informix.lvarchar)
  52. to public as informix;
  53. create dba procedure sqlj.install_jar(varchar(255), varchar(255), int)
  54. external name 'informix.jvp.dbapplet.impl.JarHandler.installJar(java.lang.String, java.lang.String, int)' language java end procedure;
  55. grant execute on procedure sqlj.install_jar(varchar(255), varchar(255), int)
  56. to public as sqlj;
  57. create dba procedure sqlj.remove_jar(varchar(255), int)
  58. external name 'informix.jvp.dbapplet.impl.JarHandler.removeJar(java.lang.String, int) ' language java end procedure;
  59. grant execute on procedure sqlj.remove_jar(varchar(255), int)
  60. to public as sqlj;
  61. create dba function informix.jvpcontrol(informix.lvarchar)
  62. returns informix.lvarchar with (iterator)
  63. external name
  64. 'informix.jvp.dbapplet.impl.JVPControl.JVPControlUDR(java.lang.String)'
  65. language java end function;
  66. grant execute on function informix.jvpcontrol(informix.lvarchar)
  67. to public as informix;