Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Join statement
Message
From
16/03/2010 13:55:10
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Environment versions
SQL Server:
SQL Server 2005
Application:
Desktop
Miscellaneous
Thread ID:
01454733
Message ID:
01454872
Views:
32
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform