Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

query

 
vamshi g
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi am having two tables in that i want check if the data exist or not in table1 column,if not retrieve the column value from table2,
please reply urgent for me,
thanks.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If what data exists? Can you please TellTheDetails. Are you looking for a SQL only way of doing this, or is this JDBC code?
[ September 18, 2008: Message edited by: Paul Sturrock ]
 
vamshi g
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in table1 if column data is null then retrieve from table2, i want query for this,thank you.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"vamshi vamshi",
Please check your private messages.
-DOM
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
vamshi, please check your private messages again.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic