EJ.sql 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. USE [master]
  2. GO
  3. /****** Object: Database [EJ] Script Date: 08.06.2022 18:52:39 ******/
  4. CREATE DATABASE [EJ]
  5. CONTAINMENT = NONE
  6. ON PRIMARY
  7. ( NAME = N'EJ', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL15.SQLEXPRESS\MSSQL\DATA\EJ.mdf' , SIZE = 8192KB , MAXSIZE = UNLIMITED, FILEGROWTH = 65536KB )
  8. LOG ON
  9. ( NAME = N'EJ_log', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL15.SQLEXPRESS\MSSQL\DATA\EJ_log.ldf' , SIZE = 8192KB , MAXSIZE = 2048GB , FILEGROWTH = 65536KB )
  10. WITH CATALOG_COLLATION = DATABASE_DEFAULT
  11. GO
  12. IF (1 = FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'))
  13. begin
  14. EXEC [EJ].[dbo].[sp_fulltext_database] @action = 'enable'
  15. end
  16. GO
  17. ALTER DATABASE [EJ] SET ANSI_NULL_DEFAULT OFF
  18. GO
  19. ALTER DATABASE [EJ] SET ANSI_NULLS OFF
  20. GO
  21. ALTER DATABASE [EJ] SET ANSI_PADDING OFF
  22. GO
  23. ALTER DATABASE [EJ] SET ANSI_WARNINGS OFF
  24. GO
  25. ALTER DATABASE [EJ] SET ARITHABORT OFF
  26. GO
  27. ALTER DATABASE [EJ] SET AUTO_CLOSE OFF
  28. GO
  29. ALTER DATABASE [EJ] SET AUTO_SHRINK OFF
  30. GO
  31. ALTER DATABASE [EJ] SET AUTO_UPDATE_STATISTICS ON
  32. GO
  33. ALTER DATABASE [EJ] SET CURSOR_CLOSE_ON_COMMIT OFF
  34. GO
  35. ALTER DATABASE [EJ] SET CURSOR_DEFAULT GLOBAL
  36. GO
  37. ALTER DATABASE [EJ] SET CONCAT_NULL_YIELDS_NULL OFF
  38. GO
  39. ALTER DATABASE [EJ] SET NUMERIC_ROUNDABORT OFF
  40. GO
  41. ALTER DATABASE [EJ] SET QUOTED_IDENTIFIER OFF
  42. GO
  43. ALTER DATABASE [EJ] SET RECURSIVE_TRIGGERS OFF
  44. GO
  45. ALTER DATABASE [EJ] SET DISABLE_BROKER
  46. GO
  47. ALTER DATABASE [EJ] SET AUTO_UPDATE_STATISTICS_ASYNC OFF
  48. GO
  49. ALTER DATABASE [EJ] SET DATE_CORRELATION_OPTIMIZATION OFF
  50. GO
  51. ALTER DATABASE [EJ] SET TRUSTWORTHY OFF
  52. GO
  53. ALTER DATABASE [EJ] SET ALLOW_SNAPSHOT_ISOLATION OFF
  54. GO
  55. ALTER DATABASE [EJ] SET PARAMETERIZATION SIMPLE
  56. GO
  57. ALTER DATABASE [EJ] SET READ_COMMITTED_SNAPSHOT OFF
  58. GO
  59. ALTER DATABASE [EJ] SET HONOR_BROKER_PRIORITY OFF
  60. GO
  61. ALTER DATABASE [EJ] SET RECOVERY SIMPLE
  62. GO
  63. ALTER DATABASE [EJ] SET MULTI_USER
  64. GO
  65. ALTER DATABASE [EJ] SET PAGE_VERIFY CHECKSUM
  66. GO
  67. ALTER DATABASE [EJ] SET DB_CHAINING OFF
  68. GO
  69. ALTER DATABASE [EJ] SET FILESTREAM( NON_TRANSACTED_ACCESS = OFF )
  70. GO
  71. ALTER DATABASE [EJ] SET TARGET_RECOVERY_TIME = 60 SECONDS
  72. GO
  73. ALTER DATABASE [EJ] SET DELAYED_DURABILITY = DISABLED
  74. GO
  75. ALTER DATABASE [EJ] SET ACCELERATED_DATABASE_RECOVERY = OFF
  76. GO
  77. ALTER DATABASE [EJ] SET QUERY_STORE = OFF
  78. GO
  79. ALTER DATABASE [EJ] SET READ_WRITE
  80. GO