Advertisement
Guest User

06. Generate SQL script - Problem

a guest
Jun 25th, 2015
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. "USE [School]
  2.  
  3. GO
  4.  
  5. /****** Object: Table [dbo].[Classes] Script Date: 25.6.2015 г. 21:57:40 ******/
  6.  
  7. SET ANSI_NULLS ON
  8.  
  9. GO
  10.  
  11. SET QUOTED_IDENTIFIER ON
  12.  
  13. GO
  14.  
  15. CREATE TABLE [dbo].[Classes](
  16.  
  17. [Name] [text] NOT NULL,
  18.  
  19. [Max students] [int] NOT NULL
  20.  
  21. ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
  22.  
  23. GO
  24.  
  25. /****** Object: Table [dbo].[Students] Script Date: 25.6.2015 г. 21:57:40 ******/
  26.  
  27. SET ANSI_NULLS ON
  28.  
  29. GO
  30.  
  31. SET QUOTED_IDENTIFIER ON
  32.  
  33. GO
  34.  
  35. SET ANSI_PADDING ON
  36.  
  37. GO
  38.  
  39. CREATE TABLE [dbo].[Students](
  40.  
  41. [Name] [text] NULL,
  42.  
  43. [Age] [int] NULL,
  44.  
  45. [Phone number] [varchar](50) NULL
  46.  
  47. ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
  48.  
  49. GO
  50.  
  51. SET ANSI_PADDING OFF
  52.  
  53. GO"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement