home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 5 / 05.iso / a / a061 / 8.img / INSTMODL.SQ@ / INSTMODL.bin
Encoding:
Text File  |  1992-02-26  |  1.4 KB  |  52 lines

  1.  
  2. /* $Header:   S:/DBMS/OS2/SCRIPTS/PVCS/INSTMODL.SQV   4.0   10 Oct 1991 19:06:42   YUMEI  $ */
  3. use model
  4. go
  5. if exists (select *
  6.     from sysobjects
  7.         where name = 'sp_configure')
  8. begin
  9.     execute sp_configure 'update', 1
  10. end
  11. reconfigure with override
  12. go
  13. /*
  14. ** @(#)instmodl.sql    82.1    3/11/91
  15. **
  16. ** Copyright Sybase, Inc. 1986, 1987, 1988, 1989
  17. **    All Rights Reserved.
  18. ** Use, duplication, or disclosure by the United States Government
  19. ** is subject to restrictions as set forth in subdivision (c) (1) (ii)
  20. ** of the Rights in Technical Data and Computer Software clause
  21. ** at CFR 252.227-7013. Sybase, Inc. 6475 Christie Avenue, Emeryville,
  22. ** CA 94608.
  23. **
  24. ** Stored procedures for Data Dictionary Operations
  25. */
  26. go
  27. /* a_permitboth 45.1 12/16/89 */
  28. grant select on sysalternates to public
  29. grant select on syscolumns to public
  30. grant select on syscomments to public
  31. grant select on sysdepends to public
  32. grant select on sysindexes to public
  33. grant select on syskeys to public
  34. grant select on sysobjects to public
  35. grant select on sysprocedures to public
  36. grant select on sysprotects to public
  37. grant select on syssegments to public
  38. grant select on systypes to public
  39. grant select on sysusers to public
  40. grant select on syslogs to public
  41. go
  42. dump transaction model to diskdump with truncate_only
  43. go
  44. use master
  45. go
  46. sp_configure "allow updates",0
  47. go
  48. reconfigure with override
  49. go
  50. print 'Loading of model database is complete.'
  51. go
  52.