26 lines
996 B
Transact-SQL
26 lines
996 B
Transact-SQL
-- ============================================================
|
|
-- 订单详情数据迁移脚本 - order_items 表
|
|
-- Feature: database-migration, Property 2: 数据记录数一致性
|
|
-- Validates: Requirements 3.5
|
|
-- ============================================================
|
|
-- 源表: MySQL order_list (67 条记录)
|
|
-- 目标表: SQL Server order_items
|
|
-- ============================================================
|
|
|
|
USE honey_box;
|
|
GO
|
|
|
|
SET IDENTITY_INSERT order_items ON;
|
|
GO
|
|
|
|
-- 迁移订单详情数据 - 批次1 (记录 1-20)
|
|
INSERT INTO order_items (
|
|
id, order_id, user_id, recovery_num, send_num, status, goods_id, num,
|
|
shang_id, goodslist_id, goodslist_title, goodslist_imgurl, goodslist_price,
|
|
goodslist_money, goodslist_type, goodslist_sale_time, addtime, choice_time,
|
|
insurance_is, order_type, order_list_id, luck_no, prize_code, is_chong,
|
|
deltime, source, fh_status, fh_remarks, doubling, parent_goods_list_id,
|
|
is_lingzhu, created_at, updated_at
|
|
)
|
|
VALUES
|