boot1170XC3.sql 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. { ************************************************************************* }
  2. { }
  3. { Licensed Materials - Property of IBM and/or HCL }
  4. { }
  5. { IBM Informix Dynamic Server }
  6. { Copyright IBM Corporation 2011 }
  7. { (c) Copyright HCL Technologies Ltd. 2017. All Rights Reserved. }
  8. { }
  9. { Title: boot1170XC3.sql }
  10. { }
  11. { Description: }
  12. { Bootstrapping script for a 11.70.XC3 database }
  13. { }
  14. { ************************************************************************* }
  15. { }
  16. { ** IMPORTANT - PLEASE READ }
  17. { }
  18. { All types and routines referenced in this file must be prefixed }
  19. { with the user name "informix". E.g., use "informix.boolean" }
  20. { and not "boolean" }
  21. { }
  22. { Also, please follow the formatting conventions!!! }
  23. { }
  24. { Please ensure that the identifiers that you choose are <= 18 }
  25. { characters in length. Otherwise the changes would affect database }
  26. { reversion. }
  27. { }
  28. { ************************************************************************* }
  29. create dba function informix.indexkeyarray_out(informix.indexkeyarray, integer)
  30. returning informix.lvarchar
  31. external name '(indexkeyarraywithlen_out)' language C
  32. not variant;
  33. grant execute on function informix.indexkeyarray_out(informix.indexkeyarray, integer) to public as informix ;
  34. create dba function informix.indexkeyarray_send(informix.indexkeyarray, integer)
  35. returning informix.sendrecv
  36. external name '(indexkeyarraywithlen_send)' language C
  37. not variant;
  38. grant execute on function informix.indexkeyarray_send(informix.indexkeyarray, integer) to public as informix ;
  39. create procedure SYSIBM.SQLPseudoColumns(
  40. CatalogName varchar(128),
  41. SchemaName varchar(128),
  42. TableName varchar(128),
  43. ColumnName varchar(128),
  44. Options char(4000))
  45. with (HANDLESNULLS)
  46. external name '(SQLPseudoColumns)'
  47. LANGUAGE C
  48. END PROCEDURE;
  49. grant execute on procedure SYSIBM.SQLPseudoColumns( varchar(128), varchar(128),varchar (128), varchar(128), char(4000)) to public as SYSIBM ;