Thread: PL/SQL, SQL
View Single Post
Old 10-25-2006, 05:04 AM   #4 (permalink)
Nimetic
Junkie
 
Location: Melbourne, Australia
I'm going to take a quick punt (because it's 11pm).

Cursor syntax is simple. What is more difficult, and perhaps what you need to look into - is some of the tricks that can be accomplished with SELECT.

There are usually many many ways to accomplish the same thing... Based on a very quick reading of the question I think you might find the keyword MINUS useful. (You can use it in SELECT). Ditto, NOT IN and EXISTS - but I've always had a particular soft spot for MINUS.

Incidentally, was that the original question wording? They're not keen on punctuation by the look of things.
Nimetic is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52