J'utilise sql server 2008. Je dois insérer des enregistrements dans la table temporaire en utilisant plusieurs instructions select comme ci-dessous.Enregistrement temporaire Technique d'insertion
Insert into #temp
Select a From TableA
Insert into #temp
Select a From TableB
Insert into #temp
Select a From TableC
Insert into #temp
Select a From TableD
OU
Insert Into #temp
Select A From
(
Select A from TableA
Union
Select B From TableB
Union
Select B From TableC
)K
conseils S'il vous plaît quelle approche devrait être mieux ou tout autre et pourquoi?
Compris. Merci – Pankaj