You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

138 lines
9.0 KiB

IF exists(select * from sysobjects where id = object_id('ZLLDCJ_LOG'))
DROP TABLE [dbo].[ZLLDCJ_LOG]
GO
CREATE TABLE [dbo].[ZLLDCJ_LOG] (
[ZLLDJ] [varchar](10) NOT NULL ,
[ZLLITEM] [DECIMAL](4,0) NOT NULL ,
[ZDJLX] [varchar](2) NOT NULL ,
[ZLTLX] [varchar](1) NULL,
[MATNR] [varchar](18) NULL,
[BDMNG] [decimal](13,3) NULL,
[MEINS] [decimal](13,3) NULL,
[BKNUM] [decimal](13,3) NULL,
[ENMNG] [decimal](13,3) NULL,
[WERKS] [varchar](4) NULL,
[LGORT1] [varchar](4) NULL,
[LGORT2] [varchar](4) NULL,
[LGORT3] [varchar](4) NULL,
[KOSTL] [varchar](10) NULL,
[AUFNR] [varchar](12) NULL,
[BWART] [varchar](3) NULL,
[GRUND] [decimal](4,0) NULL,
[ZLLR] [varchar](10) NULL,
[KZEAR] [varchar](1) NULL,
[RSNUM] [decimal](10,0) NULL,
[RSPOS] [decimal](4,0) NULL,
[ERNAM] [varchar](12) NULL,
[ERDAT] [date] NULL,
[ERZET] [time] NULL,
[AENAM] [varchar](12) NULL,
[AEDAT] [date] NULL,
[AEZET] [time] NULL,
[ZBZSM] [varchar](50) NULL,
[ANLN1] [varchar](12) NULL,
[VBELN] [varchar](10) NULL,
[POSNR] [decimal](6,0) NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ZLLDCJ_LOG] ADD
CONSTRAINT [PK_ZLLDCJ_LOG] PRIMARY KEY CLUSTERED ([ZLLDJ]) ON [PRIMARY]
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'���ݺ� ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'ZLLDJ'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'��������Ŀ ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'ZLLITEM'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'��������' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'ZDJLX'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'��/������' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'ZLTLX'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'���Ϻ� ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'MATNR'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'������' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'BDMNG'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'����������λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'MEINS'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'�����˿����� ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'BKNUM'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'������ ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'ENMNG'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'����' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'WERKS'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'�����ص�' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'LGORT1'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'�����ص�' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'LGORT2'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'�����ص�' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'LGORT3'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'�ɱ�����' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'KOSTL'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'������ ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'AUFNR'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'�ƶ����ͣ�����������' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'BWART'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'�ƶ�ԭ��' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'GRUND'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'������ ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'ZLLR'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'��Ԥ�������󷢻� ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'KZEAR'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ԥ��/���������ı���' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'RSNUM'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ԥ��/������������Ŀ����' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'RSPOS'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'������������Ա���� ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'ERNAM'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'��¼�Ĵ������� ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'ERDAT'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'����ʱ��' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'ERZET'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'����������Ա������ ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'AENAM'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'��������' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'AEDAT'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'��һ�����޸ĵ�ʱ�� ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'AEZET'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'��ע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'ZBZSM'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'���ʲ���' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'ANLN1'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'����' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'VBELN'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'������Ŀ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZLLDCJ_LOG', @level2type=N'COLUMN',@level2name=N'POSNR'
GO