62,268
社区成员
发帖
与我相关
我的任务
分享
-- select * from Mst_Restaurants
-- delete Mst_Restaurants
-- sp_help Mst_Restaurants
declare @Count int
declare @OverCount int
declare @DateType int
select @Count = 1
select @DateType = 101
select @OverCount = 100000
while @Count < @OverCount
Begin
insert into Mst_LivingService
(
ProvinceNo,
CityNo,
ServerName,
BusinessesName,
BusChineseCode,
BranchName,
BranchChineseCode,
Aliases,
Phone,
Address,
MsgType,
AreaNo,
PostCode,
OwnedArea,
LandmarkBuilding,
PopularityIndex,
BusinessDescribe,
BusinessFeatures,
StartTime,
EndTime,
BusLines,
BusPath,
ParkingSpaces,
PrestigeValue,
blVISA,
AgreementDiscount,
blSingle,
blOrder,
ConsumeLevel,
Commend,
Area,
NumMaxRoom,
NumMaxTable,
NumMax,
NumRoom,
NumMinRoom,
VegetablesSeries,
Signboardsvegetables,
Remark,
Status,
LoginUser,
LoginTime,
UpdateUser,
UpdateTime,
TheirTradesNo
)
values
(
61000000,
61010000,
101,
'陕西第一碗餐饮',
'SXDYWCY',
'总店',
'ZD',
NULL,
'000-00000000|-*|',
'西安市莲湖区西二环40号',
1,
61010400,
0,
NULL,
NULL,
.0,
NULL,
NULL,
getDate(),
getdate(),
NULL,
NULL,
0,
0,
0,
.0,
0,
0,
0,
NULL,
0,
0,
0,
0,
0,
0,
NULL,
NULL,
NULL,
1,
1,
getdate(),
NULL,
NULL,
1
)
select @DateType =@DateType+1
select @Count = @Count+1
-- if @DateType > 1
-- begin
-- select @DateType = 301
-- end
End