![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
All, I am trying to select from a list of ids where the ids are not in a table. So far all I've come up with is adding all the ids to a temporary table and then selecting from one where not in the other. Is there an easy (no table creation) way to do this? eg. (in pseudo code) Table Test id varchar (2) {'aa', 'cc', 'dd') List testList ('aa', 'bb') I want to be able to see 'bb' is in list testList but not in table Test. appreciate any help -dmclaude |
#3
| |||
| |||
|
|
All, I am trying to select from a list of ids where the ids are not in a table. So far all I've come up with is adding all the ids to a temporary table and then selecting from one where not in the other. Is there an easy (no table creation) way to do this? eg. (in pseudo code) Table Test id varchar (2) {'aa', 'cc', 'dd') List testList ('aa', 'bb') I want to be able to see 'bb' is in list testList but not in table Test. appreciate any help -dmclaude go to asktom.oracle.com and look for "variable in list" |
#4
| |||
| |||
|
|
All, I am trying to select from a list of ids where the ids are not in a table. So far all I've come up with is adding all the ids to a temporary table and then selecting from one where not in the other. Is there an easy (no table creation) way to do this? eg. (in pseudo code) Table Test id varchar (2) {'aa', 'cc', 'dd') List testList ('aa', 'bb') I want to be able to see 'bb' is in list testList but not in table Test. appreciate any help -dmclaude |
|
I am trying to select from a list of ids where the ids are --->>not in<<--- |
#5
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |