Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Join statement
Message
De
16/03/2010 13:55:10
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Versions des environnements
SQL Server:
SQL Server 2005
Application:
Desktop
Divers
Thread ID:
01454733
Message ID:
01454872
Vues:
33
Hi

I think I've managed to confuse you - I'm not passing any parameters into this stored procedure.

1. The tables are SystemDataDictionary and ApplicationDataDictionary.
2. If there's a value in ApplicationDataDictionary.myField that's also found in SystemDataDictionary.myField then I'd like to include the record found in ApplicationDataDictionary.

So if:

ApplicationDataDictionary.myField = 1
ApplicationDataDictionary.myField = 2
ApplicationDataDictionary.myField = 3
SystemDataDictionary.myField = 1
SystemDataDictionary.myField = 4

The resulting table would be

myField = 1 (from ApplicationDataDictionary)
myField = 2 (from ApplicationDataDictionary)
myField = 3 (from ApplicationDataDictionary)
myField = 4 (from SystemDataDictionary)

Does that make more sense?

Regards
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform