关于过程调用。提示有错,求大侠改改!
create procedure upfdatesjas
declare @starttime datetime, @endtime datetime
select @starttime='1900-01-01 07:30:00',
@endtime='1900-01-01 08:00:00'
select dateadd(second,convert(int,(rand()*datediff
(second,@starttime,@endtime))), @starttime )
update yskq set sj=(select procedure(upfdatesj)) where sj>20:30:00
语法错误请大侠修正!