1 DECLARE @dt1 DATETIME,@dt2 DATETIME,@a BIGINT,@b BIGINT 2 SET @dt1='2010-01-01'--开始日期 3 SET @dt2='2010-06-30'--结束日期 4 5 SELECT @a=CAST(@dt1 AS BIGINT),@b=CAST(@dt2-@dt1 AS BIGINT) 6 7 SELECT CAST(ABS(CHECKSUM(newID()))%@b+@a AS DATETIME)+RAND() AS
""" 生成随机姓名.电话号码.身份证号.性别.应行卡号.邮箱 """ import random from firstname import first_name from langconv import * from province_id import province_id from phone_number import phone_number # from langconv import Converter # 随机生成姓名 def