Esempio di come usare un cursore:DECLARE @opttype TABLE (code varchar(100),name varchar(300),systemoid varchar(300),description varchar (500),virtual bit,isdigitalized bit,isexternal bit )insert into @opttype (Code,Name,SystemOid,Description,Virtual,IsDigitalized,IsExternal) values('18','internal','test','',0,0,0),('30','internal','test','',0,0,0),('80','internal','test','',0,0,0),('81','internal','test','',0,0,0),('82','internal','test','',0,0,0)DECLARE @code varchar(100),@name varchar(300),@sy
Leggi tutto il post...