Untitled

mail@pastecode.io avatar
unknown
plain_text
7 days ago
1.0 kB
2
Indexable
Never
USE [ITC_PCPB_KOL]
GO

/****** Object:  Table [dbo].[Standard_Changeover_Time_Master]    Script Date: 05-09-2024 13:44:30 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[Standard_Changeover_Time_Master](
	[Entrytime] [datetime] NOT NULL,
	[SerialNo] [int] IDENTITY(1,1) NOT NULL,
	[Line] [varchar](100) NOT NULL,
	[FromFgCode] [varchar](300) NOT NULL,
	[ToFgCode] [varchar](300) NOT NULL,
	[StdChangeOverTime] [int] NULL,
	[CreatedBy] [varchar](max) NULL,
 CONSTRAINT [PK_Standard_Changeover_Time_Master] PRIMARY KEY CLUSTERED 
(
	[Line] ASC,
	[FromFgCode] ASC,
	[ToFgCode] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO

ALTER TABLE [dbo].[Standard_Changeover_Time_Master] ADD  CONSTRAINT [DF_Standard_Changeover_Time_Master_Entrytime]  DEFAULT (getdate()) FOR [Entrytime]
GO


Leave a Comment