create procedure user_update( in tablename varchar(225), in clientid int, in as_of_dt datetime, StatementType nvarchar(20) ) begin --set @tablename = tablename; when (tablen