boot911.sql 2.3 KB

12345678910111213141516171819202122232425262728293031323334
  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: boot911.sql }
  12. { }
  13. { Description: }
  14. { Bootstrapping script for a 9.11 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. { ************************************************************************* }
  27. -- Add compare function for collections.
  28. create function informix.compare(set, set) returns integer
  29. external name '(collcompare)' language C not variant;
  30. create function informix.compare(multiset, multiset) returns integer
  31. external name '(collcompare)' language C not variant;
  32. create function informix.compare(list, list) returns integer
  33. external name '(collcompare)' language C not variant;