Autor Beitrag
JoelH
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 806
Erhaltene Danke: 17

Win10
Delphi Alexandria 11.2 Patch 1
BeitragVerfasst: Mi 14.04.04 08:50 
moin,

habe folgendes Script

ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
    
DECLARE c int;
BEGIN
  c := 10500;
  LOOP
    DELETE FROM tabelle WHERE spalte < c; 
    COMMIT;
    c := c + 500;
  END LOOP;
END;

leider hab ich die Abbruchbedingungn vergessen, bzw. momentan nicht im Kopf
wie man bedingte Schleifen creiert, bin da etwas neu bzw. habs vergessen.

_________________
mfg. Joel
JoelH Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 806
Erhaltene Danke: 17

Win10
Delphi Alexandria 11.2 Patch 1
BeitragVerfasst: Mi 14.04.04 11:48 
Titel: hmm,
hat sich erledigt, geht mit
ausblenden Quelltext
1:
EXIT WHEN c > 200000					

_________________
mfg. Joel