Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Bonjour,
J'ai un problème avec mon modèle de données et les clés synthétiques que je souhaite supprimer.
J'ai une table principale "DONNEES_LOGIX" avec les champs Département, Agence et Vendeur que l'on retrouve dans les autres tables, (mais pas les 3 en même temps).
Je voudrais faire un modèle de données propres et remplacer les clés synthétiques mais je n'y parviens pas.
Pourriez vous m'aider ?
Merci d'avance !
Ophélie
u can rename the ur filed names lik
agence as Agen1
department as Dep1 lik ...
by the u can remove synthetic keys
Merci pour ta réponse !
Mais je souhaite conserver un lien sur ses 3 champs.
Si je les renomme, je vais me retrouver avec plusieurs champs "Agence" et ce n'est pas ce que je souhaite.
Ophélie
Bonjour
vous pouvez fusionner les deux tables DONNEES dans une même table.
Après créer des clés composés: CLE1&'|'&CLE2....pour supprimer les clés synthétiques.(pour joindre les deux tables vendeur et objectif)
I won't reply in your preferred language, as this is a general forum where the imposed language is English. I hope you'll understand.
As far as I can see, you have three facts tables. One table OBJECTIF contains Agency targets (without a period indicator), one table DONNEES_PRJ has Agency/Department/Portfolio aggregated data and one table DONNEES_LOGIX contains Customer Sales (most probably aggregated by Year). There are a few "issues" with this data set:
There is one immediate solution: replace the synthetic key with a real link table
but the better approach is to go back to the transactional data (except for table OBJECTIF) and do the aggregations yourself.
Best,
Peter
Si vous préférez la discussion en Français, il-y-a une authre groupe qui s'apelle Groupe des Utilisateurs Francophones
Try this code
Link:
Load
Distinct
Agence,
Departement,
Vendeur
resident DONNEES_PRJ;
drop Fields
Departement
from DONNEES_PRJ;
drop Fields
Vendeur
from VENDEUR_VAUCLUSE