Maandelijkse Update MySQL DB

Pagina: 1
Acties:
  • 43 views sinds 30-01-2008

  • Rtificial
  • Registratie: Juni 2001
  • Laatst online: 21-08 16:46

Rtificial

as fake as can be

Topicstarter
Okay, ik ben wat verder gekomen...
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
REPLACE INTO import (Registratiebron,COMMNAAM1,COMMNAAM2,RSICOMMNAAM2,COMMNAAM,RSICOMMNAAM,VESTADRES,RSIVESTADRES,PCWVEST,RSIPCWVEST,CORADRES,RSICORADRES,CORPCW,RSICORPCW,TELEFOON,RSITELEFOON,COMMACTIEF,RSICOMMACTIEF,BRANCHE,BRANCHE2,BRANCHE3,RSIBRANCHE,MEDEWERKERS,RECHTSVORM,NONMAILING,RSINONMAILING)
SELECT
tempimport.Registratiebron,
tempimport.COMMNAAM1,
tempimport.COMMNAAM2,
tempimport.RSICOMMNAAM2,
tempimport.COMMNAAM,
tempimport.RSICOMMNAAM,
tempimport.VESTADRES,
tempimport.RSIVESTADRES,
tempimport.PCWVEST,
tempimport.RSIPCWVEST,
tempimport.CORADRES,
tempimport.RSICORADRES,
tempimport.CORPCW,
tempimport.RSICORPCW,
tempimport.TELEFOON,
tempimport.RSITELEFOON,
tempimport.COMMACTIEF,
tempimport.RSICOMMACTIEF,
tempimport.BRANCHE,
tempimport.BRANCHE2,
tempimport.BRANCHE3,
tempimport.RSIBRANCHE,
tempimport.MEDEWERKERS,
tempimport.RECHTSVORM,
tempimport.NONMAILING,
tempimport.RSINONMAILING
FROM
tempimport
WHERE tempimport.VSI_VEST_K="C"

Hierboven dus mijn script zoals ik dat nu heb... Ik krijg er geen errors op, maar er gebeurt ook niets... Moet dit per record uitgevoerd worden ofzo?

"Don't blow out my candle if you want yours to shine brighter..."


  • whoami
  • Registratie: December 2000
  • Laatst online: 08:43
Lees eens de P&W Quickstart. Ik weet wel wat je voorgaande probleem is, maar anderen weten dat niet.
Jouw post is ook niet echt duidelijk dus wat je wilt enzo.

En ja, je moet het per record uitvoeren. (Dit stond ook al in uw vorige topic).

https://fgheysels.github.io/


Dit topic is gesloten.