Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
winned
Starting Member
1 Post |
Posted - 2009-04-29 : 02:23:46
|
| TableAAId AName---------------1 AbC2 Atable3 ABusTableBBId BName----------------20 Bac21 Bqw22 Bws23 BqsTable CCId AId BId---------------------1 1 202 1 21 3 1 224 2 205 2 216 3 237 3 21Let put it this way AId BId1 20,21,22,232 20,213 23,21Forevery AId, there can be multiple BIds associated to it. So From UI Only the BID's will be send to the database. What I need to know is If the combination of BIds already associated to AID or it exists in the database. If they exist we need to send true or else we need to send false. say for this combination BIDs20,22 return false20,21 return true20,21,22 return false23,21 return trueAny Ideas..Thanks |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2009-04-29 : 02:26:21
|
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=81254 E 12°55'05.63"N 56°04'39.26" |
 |
|
|
|
|
|