This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes SQL> no rows selected Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "SQL> no rows selected" Watch "SQL> no rows selected" New topic
Author

SQL> no rows selected

Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
Hello,



Above query works fine because record exists in each table row but when I add:


Then it displays "no rows selected" as this table don't have any record for linked cv_id

How can I ignore the table if no record exists to display the rest of records?

Thanks in anticipation

Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
still waiting for reply
sachin potu
Greenhorn

Joined: Oct 22, 2011
Posts: 21
if i am not wrong , you must use Left join, instead of Equi join
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
thanks sachin
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SQL> no rows selected
 
Similar Threads
duplicate rows in table
Whacky db problem.
Find out if a table exists
hibernateTemplate.saveOrUpdate(...) issue
Row locking using oracle database