User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 391,855 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,575 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting

call resultset in join query

Join Date: Aug 2004
Posts: 8
Reputation: adityabakle is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
adityabakle adityabakle is offline Offline
Newbie Poster

Solution Re: call resultset in join query

  #2  
May 1st, 2005
Your Query:

SELECT * FROM Job_Request_Record, Requester_Record WHERE Job_Request_Record.Job_Requester_ID = Requester_Reco rd.Requester_ID;

Now you want to use the scriplet
<%
rs.getString("ID");
%>

use this query id you want Job.... ID

SELECT (Job_Request_Record.Job_Requester_ID) as ID, * FROM Job_Request_Record, Requester_Record WHERE Job_Request_Record.Job_Requester_ID = Requester_Reco rd.Requester_ID;
Reply With Quote  
All times are GMT -4. The time now is 6:36 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC