sybase ase:
insert into dbo.REF_SCOV2_SPECIAL_COST(
SUB_CLASS ,
PLAN_TYPE ,
PLAN_CLASS ,
LINE_CODE ,
REV ,
START_DATE ,
END_DATE )
select SUB_CLASS ,
PLAN_TYPE ,
PLAN_CLASS ,
LINE_CODE ,
round(rand(),2) ,
convert(smalldatetime ,'20080101',105),
convert(smalldatetime ,'29990101',105)
from DRV_SERVICE_T
Server Message: Number 3606, Severity 10
Server 'DSS1_PPRD', Line 1:
Arithmetic overflow occurred.
Server Message: Number 247, Severity 16
Server 'DSS1_PPRD', Line 1:
Arithmetic overflow during explicit conversion of VARCHAR value '29990101' to a SMALLDATETIME field .