MySQL Forums
Forum List  »  French

Utilise les nom des table stockés dans une table pour executer unr requete SQL
Posted by: Abdelkader BAHRI
Date: November 26, 2015 12:28PM

Bonjour
svp j'ai besoin de vos aide
voila j'ai plusieurs tables
produit (id, nom,nomtable)

fiche1 (idfiche1, détaill )
fiche2 (idfiche2, détaill )
fiche3 (idfiche3, détaill)
fiche4 (idfiche4, détaill)
fiche5 (idfiche5, détaill)
fiche6 (idfiche6, détaill)


les noms des tables fiche1 à fiche6 sont stockés dans la table produit


je voudrais utiliser la colonne produit.nomtable pour faire un select

select * from (nom du table stocké dans produit.nomtable)
merci por vos reponses

Options: ReplyQuote


Subject
Views
Written By
Posted
Utilise les nom des table stockés dans une table pour executer unr requete SQL
1871
November 26, 2015 12:28PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.