日期:2014-05-17 浏览次数:20377 次
--創建數據
CREATE TABLE [dbo].[t](
[staffid] [int] NULL,
[effective_date] [datetime] NULL,
[rank_code] [varchar](10) NULL,
[rank_desc] [varchar](100) NULL,
[branch] [varchar](10) NULL,
[staff_type] [varchar](10) NULL,
[effective_seq] [int] NULL
) ON [PRIMARY]
INSERT [dbo].[t] ([staffid], [effective_date], [rank_code], [rank_desc], [branch], [staff_type], [effective_seq]) VALUES (269617, CAST(0x0000A19300000000 AS DateTime), N'W10', N'主任(9+1)', N'05137', N'F', 0)
INSERT [dbo].[t] ([staffid], [effective_date], [rank_code], [rank_desc], [branch], [staff_type], [effective_seq]) VALUES (269617, CAST(0x0000A2F900000000 AS DateTime), N'W13A', N'兼職 (418)', N'05208', N'P', 0)
INSERT [dbo].[t] ([staffid], [effective_date], [rank_code], [rank_desc], [branch], [staff_type], [effective_seq]) VALUES (977205, CAST(0x0000A19300000000 AS DateTime), N'W10', N'主任(9+1)', N'05139', N'F', 0)
INSERT [dbo].[t] ([staffid], [effective_date], [rank_code], [rank_desc], [branch], [staff_type], [effective_seq]) VALUES (977205, CAST(0x0000A2C500000000 AS DateTime), N'W13A', N'兼職 (418)', N'05139', N'P', 0)
INSERT [dbo].[t] ([staffid], [effective_date], [rank_code], [rank_desc], [branch], [staff_type], [effective_seq]) VALUES (1047839, CAST(0x0000A19300000000 AS DateTime), N'W11', N'侍應生/壽司學徒(9+1)', N'05126', N'F', 0)
INSERT [dbo].[t] ([staffid], [effective_date], [rank_code], [rank_desc], [branch], [staff_type], [effective_seq]) VALUES (1047839, CAST(0x0000A2E100000000 AS DateTime), N'Q503', N'店務員/壽司製作員(9.5+1)', N'05001', N'F', 0)
INSERT [dbo].[t] ([staffid], [effective_date], [rank_code], [rank_desc], [branch], [staff_type], [effective_seq]) VALUES (1047839, CAST(0x0000A2F400000000 AS DateTime), N'Q503', N'店務員/壽司製作員(9.5+1)', N'05001', N'F', 0)
INSERT [dbo].[t] ([staffid], [effective_date], [rank_code], [rank_desc], [branch], [staff_type], [effective_seq]) VALUES (1637641, CAST(0x0000A1EE00000000 AS DateTime), N'R217', N'廚師 (9+1)', N'05207', N'F', 0)
INSERT [dbo].[t] ([staffid], [effective_date], [rank_code], [rank_desc], [branch], [staff_type], [effective_seq]) VALUES (1637641, CAST(0x0000A2C500000000 AS DateTime), N'R210', N'廚房主任(9+1)', N'05207', N'F', 0)
INSERT [dbo].[t] ([staffid], [effective_date], [rank_code], [rank_desc], [branch], [staff_type], [effective_seq]) VALUES (1637641, CAST(0x0000A2E000000000 AS DateTime), N'R210', N'廚房主任(9+1)', N'05207', N'F', 0)