Advertisement
dzukp

Untitled

Nov 26th, 2014
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.61 KB | None | 0 0
  1. USE [gips]
  2. GO
  3.  
  4. /****** Object:  Table [dbo].[Recipes]    Script Date: 11/27/2014 08:33:06 ******/
  5. SET ANSI_NULLS ON
  6. GO
  7.  
  8. SET QUOTED_IDENTIFIER ON
  9. GO
  10.  
  11. SET ANSI_PADDING ON
  12. GO
  13.  
  14. CREATE TABLE [dbo].[Recipes](
  15.     [id] [INT] IDENTITY(1,1) NOT NULL,
  16.     [title] [VARCHAR](50) NOT NULL,
  17.     [plaster_weight] [FLOAT] NOT NULL,
  18.     [plaster_correction] [FLOAT] NOT NULL,
  19.     [water_weight] [FLOAT] NOT NULL,
  20.     [water_correction] [FLOAT] NOT NULL,
  21.     [CURRENT] [bit] NOT NULL
  22. ) ON [PRIMARY]
  23.  
  24. GO
  25.  
  26. SET ANSI_PADDING OFF
  27. GO
  28.  
  29. ALTER TABLE [dbo].[Recipes] ADD  CONSTRAINT [DF_Recipes_current]  DEFAULT ((0)) FOR [CURRENT]
  30. GO
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement