How to get the rowcount of a resultset ????
Hi ,
Is there anyway to get the rowcount of a resultset in bls without having to scan the resultset with a repeater? here , Resultset is the output of a sql query.
Thanks & Regards
Sreekanth
Thanks Mussarat and Rupesh, for your replies...
Rupesh,
The Property RowCount is giving the rowcount ,which we defined in the Query Template but not the RowCount of the Result Set.
but i got a solution for this
solution works with the XPath Expression
The Sql Query Xpath is like
"someSQL_Query.Results{/Rowsets/Rowset/Row}"
for this query the number of rows in the result set would be ...
someSQL_Query.Results{<b>count(/Rowsets/Rowset/Row)</b>}
This gives the count without having to use the repeater
Thanks & Regards,
Sreekanth
Similar Messages
-
JSTL how to get the index of a ResultSet
in jsp can use like this
rs.getString(1);//rs is a ResultSet
and how to do this in JSTL?
<sql:query var="rs">
select count(*) from my
</sql:query>
${rs.rows[0].??????}Look at the API for the classes used by JSTL: http://java.sun.com/products/jsp/jstl/1.1/docs/api/index.html
The jstl:query var object is of type javax.servlet.jsp.jstl.sql. Result
(see http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/sql/query.html for details on the sql:query tag)
The rs has the following available to it:
rs.columNames (a String[])
rs.rowCount (and int)
rs.rows (an array of sorted maps)
rs.rowsByIndex (an Object[][])
rs.limitedByMaxRows (boolean)
The ones that might be helpful are:
rs.columnNames. As a String array, with one value per column, you try to get the count of objects in the array, or iterate through them when you are reading each row (maybe not the best idea)
rs.rows returns a SortedMap for each row. As a Map, it has the size() method which would tell you how many items. But it would also let you iterate through the map getting the values.
rs.rowsByIndes, as another means of counting the length of the columns via an array
Unfortunately, all of these means at getting to the value you want do not follow the JavaBeans specs, so you can't use simple JSTL or EL to get at them.
But once again, we could use the JSP function library to get at the data ( http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/fn/tld-summary.html )
For instance, we might be able to do this:
<c:set var="colCount" value = "${fn:length(rs.rows[0])}"/> or
<c:set var="colCount" value="${fn:length(rs.columnNames)}" />
However, I have never tested this stuff (which is why I walked through the thought process here. If you follow along, and I made a mistake, you might be able to pick it up and fix it...) -
How to get the row Count of a ResultSet
How to get the row Count of a ResultSet
Hi
I'v tried rennie1's way ,but I only get zero,my code is:
rs.executeQuery("select count(*) from t_test");
if (rs.next()) int rowCount=rs.getInt(1);
I also tried barni's way ,but the method rs.last() and rs.beforeFirst() throw a same Exception
I tried another way,the code is:
while rs.next(){
// Do nothing ,just move the cursour to the last row
int rowCount=rs.getRow()
However,the rowCount still equal zero
Any help would be greatly apprecite!
note:
I get connection by DataSource's JNDI name from client, the Server is Weblogic Server 6, the DBMS is Oracle. -
How do I get the rowcount of target table using Sunopsis API in ODI 10g ?
Hi guys,
Actually I want to send an alert mail once interface is run from a package. I have included OdiSendMail alert which sends a mail once interface is run.
Could anyone please tell how to get the no of rows inserted in the target table from Sunopsis API.
I tried using <%=odiRef.getNbRows( )%> but this did not work for me. Since I'm a beginner, could you please help me out
This is my ODI send mail format
" Data population has been completed successfully at <%=odiRef.getSysDate( )%>
Total rows in target table are: <-- need some API code --> ''
Regards,
Clinton
Edited by: LawrenceClinton on Feb 25, 2013 8:53 PMHi
Create project variable with below details
Variable_name: Total_Row_Count
Variable Type: Refresh Variable
Definition Tab:
Datatype: Numeric
Action: Not Persistent
Refreshing Tab:
Schema: provide your Work Repository Schema and be
SELECT log.nb_row
FROM snp_step_log log, snp_scen_step step
WHERE log.nno = step.nno
AND step.scen_no =( SELECT scen_no FROM snp_scen_step WHERE step_name='<%=odiRef.getPrevStepLog( "STEP_NAME" )%>' )
AND log.sess_no = '<%=odiRef.getSession( "SESS_NO" )%>'low code
AND step.step_name = '<%=odiRef.getPrevStepLog( "STEP_NAME" )%>'
Note: Add this variable after interface step in your package (after the interface any where you can place), you can add this variable before ODISendEmailNotification Step in your package
Call this varciable *#Total_Row_Count* in ODISendEmail Notification
eg:
Data has been populated successfully at <%=odiRef.getSysDate( )%>
Total no of rows populated are : *#Total_Row_Count*
It will work
Regards,
Phanikanth
Edited by: Phanikanth on Feb 28, 2013 1:13 AM
Edited by: Phanikanth on Feb 28, 2013 1:14 AM -
How to get the values of 2 dynamic comboboxes in one jsp to another jsp?
I have 2 comboboxes and one submit button on my jsp page.I select a value in 1st combobox then the values in the second combobox populated from the database. next i select 2nd combobox and then submit the button.After submit the button call the next jsp page. In that page i want to display the values of two comboboxes. but my problem is , in that page only 2nd combobox value is displayed.1st combobox is displayed as null. plz tell me, how to get the values of two comboboxes at a time?
Select.jsp:
<%@ page language="java" import="java.sql.*" %>
<%!
Connection con = null;
Statement st = null;
ResultSet rs = null;
String sql = null;
void addItems(javax.servlet.jsp.JspWriter out, String sql)
try{
rs = st.executeQuery(sql);
while( rs.next() )
out.println("<option>" + rs.getString(1) + "</option>");
}catch(Exception e)
System.out.println(e);
%>
<HTML>
<HEAD>
<TITLE>JSP WITH MULTIPLE FORMS</TITLE>
<script language="javascript">
function checking()
form1.submit();
</script>
</HEAD>
<body>
<center>
<b><font size="5" color="#333399">Staff ID:</font></b></center>
<FORM NAME="form1" METHOD="POST" ACTION="Select.jsp">
<p align=center>
Details of Staff :
<SELECT 1 NAME="type" onchange="checking();">
<option> Administrator </option>
<option> OfficeAssistent </option>
<option> Clerk </option>
</SELECT 1>
</p>
</FORM>
<FORM NAME="form2" METHOD="POST" action="welcome1.jsp">
<center>
<TABLE><TR><TD>Staff ID:</TD>
<TD><SELECT 2 NAME="staff_id">
<%
String type = request.getParameter("type");
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con = DriverManager.getConnection("jdbc:odbc:java","system","manager");
catch (ClassNotFoundException ex) {
System.out.println(ex);
catch (SQLException ex)
System.out.println(ex);
st = con.createStatement();
sql = "select staff_id from "+type+"";
addItems(out, sql);
%>
</SELECT 2>
</TD>
</TR>
</table></center>
<h2> Details of <%= type + "s" %> </h2>
<center><input type=submit value=ok onclick="submit();"></center>
</FORM>
</BODY>
</HTML>
welcome1.jsp
<center><h1>WEL COME</h1></center>
<%
String type = request.getParameter("type");
String sid = request.getParameter("staff_id");
%>
<h2> Details of <%= type + "s" %> </h2>
<h2> Details of <%= sid %> </h2><SELECT 1 NAME="type" onchange="checking();">
<option value = "0"> Administrator </option>
<option value = "1"> OfficeAssistent </option>
<option value = "2"> Clerk </option>
</SELECT 1> -
How to get the selectedIndex from a combobox made by classFactory?
Dear All,
I am trying to get the selectedIndex or selecetedItem.banda_id when changing a combobox that is created by classFactory and it is inside a datagrid.
The code I have is:
MXML:
<mx:DataGrid width="100%" height="100%" id="salas_fin_dg" editable="true">
<mx:columns>
<mx:DataGridColumn headerText="Titulo" dataField="titulo" editable="false" width="250"/>
<mx:DataGridColumn headerText="Data" dataField="start_dt" editable="false"/>
<mx:DataGridColumn headerText="Dur" dataField="duration" editable="false" width="40"/>
<mx:DataGridColumn headerText="Banda" dataField="banda_nome" editable="true" itemEditor="{combofac}"/>
<mx:DataGridColumn headerText="$ Ensaio" dataField="total_ensaio" editable="true" itemEditor="controls.NumericInput"/>
<mx:DataGridColumn headerText="$ Bar" dataField="total_bar" editable="true" itemEditor="controls.NumericInput"/>
<mx:DataGridColumn headerText="$ Loja" dataField="total_loja" editable="true" itemEditor="controls.NumericInput"/>
<mx:DataGridColumn headerText="$ CC" dataField="total_cc" editable="true" itemEditor="controls.NumericInput"/>
<mx:DataGridColumn headerText="$ CH" dataField="total_ch" editable="true" itemEditor="controls.NumericInput"/>
<mx:DataGridColumn headerText="$ DI" dataField="total_di" editable="true" itemEditor="controls.NumericInput"/>
<mx:DataGridColumn headerText="$ Pend" dataField="total_pend" editable="true" itemEditor="controls.NumericInput"/>
</mx:columns>
</mx:DataGrid>
Script:
private function getSalasFinHandler(event:ResultEvent):void
salas_fin_lst = new ArrayCollection(event.result as Array);
salas_fin_dg.dataProvider = salas_fin_lst;
myservice.getBandas();
combofac=new ClassFactory(ComboBox);
combofac.properties={dataProvider:bandas_lst, labelField:"banda_nome", prompt:"Selecione"};
I am using Remote Object to get the data from a DB, and it is working properly.
As I will update the datagrid cell values, I would like to update them on the DB.
In order to do that, I would need to access the banda_id value, that is part of the combofac dataprovider, I mean that this dataprovider has 2 columns, being banda_nome and banda_id.
The question is how to get the banda_id value, when I change the comobobox?
Many thanks in advance,
GinesDear harUI and kolinitcom,
Thanks for the your prompt response and guidelines.
I went to research a little bit more on the itemEditEnd and found a way to access the data inside the combobox.
The code for all application goes below. If you click on the button, it will show you all the datagrid data, plus the ID of the combobox when changed.
Thanks again,
Gines
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical"
verticalAlign="middle"
backgroundColor="white" initialize="init();">
<mx:Script>
<![CDATA[
import mx.utils.ObjectUtil;
import mx.controls.ComboBox;
import mx.controls.Alert;
import mx.events.DataGridEvent;
import mx.events.*;
[Bindable]
private var combofac:ClassFactory;
public var newVal:String;
private function init():void
combofac=new ClassFactory(mx.controls.ComboBox);
combofac.properties={dataProvider:arrcombo, prompt:"Selecione", labelField:"label"};
public function getCellInfo(event:DataGridEvent):void {
var myEditor:ComboBox = ComboBox(event.currentTarget.itemEditorInstance);
newVal = myEditor.selectedItem.data;
public function mostra():void
var dados:Object = new Object;
dados.nome = dataGrid.selectedItem.label;
dados.score = dataGrid.selectedItem.score;
dados.score_id = newVal;
Alert.show(ObjectUtil.toString(dados));
]]>
</mx:Script>
<mx:TextArea id="cellInfo" width="300" height="150" />
<mx:ArrayCollection id="arrcombo">
<mx:source>
<mx:Array>
<mx:Object label="1" data="A1"/>
<mx:Object label="2" data="A2"/>
<mx:Object label="3" data="A3"/>
<mx:Object label="4" data="A4"/>
<mx:Object label="5" data="A5"/>
<mx:Object label="6" data="A6"/>
<mx:Object label="7" data="A7"/>
<mx:Object label="8" data="A8"/>
<mx:Object label="9" data="A9"/>
</mx:Array>
</mx:source>
</mx:ArrayCollection>
<mx:ArrayCollection id="arrColl">
<mx:source>
<mx:Array>
<mx:Object label="Student A" score="8" />
<mx:Object label="Student B" score="4" />
<mx:Object label="Student C" score="7" />
<mx:Object label="Student D" score="8" />
<mx:Object label="Student E" score="2" />
<mx:Object label="Student F" score="6" />
<mx:Object label="Student G" score="7" />
<mx:Object label="Student H" score="7" />
<mx:Object label="Student I" score="9" />
<mx:Object label="Student J" score="8" />
<mx:Object label="Student K" score="4" />
<mx:Object label="Student L" score="7" />
</mx:Array>
</mx:source>
</mx:ArrayCollection>
<mx:DataGrid id="dataGrid"
dataProvider="{arrColl}"
editable="true"
rowCount="8"
itemEditEnd="getCellInfo(event);">
<mx:columns>
<mx:DataGridColumn dataField="label"
editable="false" />
<mx:DataGridColumn dataField="score"
editable="true"
itemEditor="{combofac}"/>
<mx:DataGridColumn headerText="Salvar" width="50">
<mx:itemRenderer>
<mx:Component>
<mx:VBox width="100%" height="100%">
<mx:Button label="See the values" click="outerDocument.mostra();"/>
</mx:VBox>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
</mx:columns>
</mx:DataGrid>
</mx:Application> -
Get the rowcount from a PL/SQL report
Hi every body,
I got issues about get the rowcount, or just the number of rows return from a report.
Because the report is based on some parameters that users provide, so it is not a straghtforward sql syntax.
The thing is for the PDF printing server I use (Apache FOP), if the total rows return around less than 5000, it work OK, more than that I got the "Java outofmemory"
I want to find a way that give users a warning message that if
the report is more than 5000 rows, the PDF print server cannot work.
Here is my pl/sql for the report
Thanks in advance.
declare
q varchar2(32767);
begin
q:= 'SELECT "DAILYLOG"."LOGID" "LOGID", '||
' "DAILYLOG"."CLIENTID" "CLIENTID", '||
' "DAILYLOG"."CLIENT" "CLIENT", '||
' "DAILYLOG"."LOGDATE" "LOGDATE", '||
' "DAILYLOG"."STAFF" "STAFF", '||
' "DAILYLOG"."ACTIVITY" "Activity", '||
' "DAILYLOG"."COMMENTS" "COMMENTS", '||
' "DAILYLOG"."INCIDENTS" "INCIDENTS", '||
' "DAILYLOG"."SELFHARM" "SELFHARM", '||
' "DAILYLOG"."VIOLENCESTAFF" "VIOLENCE STAFF", '||
' "DAILYLOG"."VIOLENCEYOUTH" "VIOLENCE YOUTH", '||
' "DAILYLOG"."CONTRABAND" "CONTRABAND", '||
' "DAILYLOG"."INTERFERENCE" "INTERFERENCE", '||
' "DAILYLOG"."PROPERTYABUSE" "PROPERTY ABUSE", '||
' "DAILYLOG"."RESTRAINTS" "RESTRAINTS", '||
' "DAILYLOG"."MISBEHAVIOUR" "MISBEHAVIOUR", '||
' "DAILYLOG"."ABSCONDING" "ABSCONDING"'||
' FROM "DAILYLOG"'||
' WHERE DAILYLOG.STAFFID= :P14_STAFFLIST ';
IF trim(:P14_STARTDATE) IS NOT NULL THEN
q:= q || 'and DAILYLOG.LOGDATE >= TO_DATE(:P14_STARTDATE,''DD/MM/YYYY'')';
END IF;
IF trim(:P14_ENDDATE) IS NOT NULL THEN
q:= q || ' and DAILYLOG.LOGDATE <= TO_DATE(:P14_ENDDATE,''DD/MM/YYYY'')';
END IF;
return q;
end;
Cheers,
Ann L.I'm not entirely sure of what you want, but...
if you just want to find out how many rows a query has, you could just select the max(rownum) from the query.
eg...
select max(rownum)
from (
-- inner query
)And that'll give you a number that = the number of rows.
There are a few other ways of doing it :P
could do a count(*), same thing. -
How to get the primarykey columns of the table in SAP BI Java SDK
Hi, I'm new to sap BI Java SDK. I'm not getting how to get the primarykey columns, using BI JDBC Connector (for relational data sources). If anybody knows, please let me know. its very very urgent task to be done in my project. In the below following code.... I have written a code to connect to the database through resource bundle, reading table names, once user select table name, i need to show the primary key columns of that table to the user. here i'm not getting how to get the primary key columns . Please send me the code if there is any method to find out the primarykey columns or a logic to get them. I will be greatful to you.... if you can do this favour.
Please check out the following code ........
ManagedConnectionFactory mcf;
IConnectionFactory cf;
IConnectionSpec cs;
mcf = new JdbcManagedConnectionFactory();
cf = (IConnectionFactory) mcf.createConnectionFactory();
cs = cf.getConnectionSpec();
ResourceBundle rbLocal = ResourceBundle.getBundle( "xxxx");
Enumeration propnames = rbLocal.getKeys();
while (propnames.hasMoreElements())
String key = (String) propnames.nextElement(); //out.print(key); //out.println("="rbLocal.getString(key)"");
cs.setPropertyValue(key, rbLocal.getString(key));
// Establishing the connection. // The IBIRelational interface provides an entrypoint to access // metadata and execute queries.
IBIConnection connection = (IBIConnection) cf.getConnectionEx(cs); I
BIRelational rel = connection.getRelational();
IBIQuery query = rel.createQuery();
String sqlStatement = "SELECT * FROM " + "BICQPERSON where type='pk'"; ResultSet rs = IBIDataSet dataset = query.execute();
Thanks SreeKanthHi,
looks like you are on Infomation Builders, correct? If yes through which adapter and to what DB are you connecting?? in an R3/BW system you can do the folowing:
"(ABAP)
SELECT DISTINCT FIELDNAME
FROM DD03L
WHERE TABNAME = '/BIC/QPERSON'
AND AS4LOCAL = 'A'
AND KEYFLAG = 'X'
ORDER BY 1
Another option is goto directly to the RDBMS; in this case let me which one are you using
hope this helps...
Olivier.
Message was edited by:
Olivier Cora -
How to get the view Object in UserDefined Action
Hi All,
Any body tell me how to get the view object , like the view object avilable in the wdDoModifyView() method as parameter.
I have requirement like, i want to change the , no of rows displaying in the table should be changed at the runtime based onthe no of rows selected in the dropdown box.
The action which i created will be assigned to that dropdown box, on select of the available option, i will get the view object and change the properties of the "maxrows" of the table .
so for getting the view object in the the Action methods tell me what is the procedure for getting the current view object.Hello Vishal,
Simply create a value attribute (say rowCount) of type 'integer' and bind it to the 'visibleRowCount' property of your table. Then, in the actionHandler get the value from the UI element (in your case, I guess it is drop down) and set it to the attribute 'rowCount' like this.
wdContext.currentContextElement.setRowCount(
wdContext.current<nodeElement>.set<AttributeBound toDropDown>);
Bala -
How to get the number of columns in a result set???
hi everyone..
i am trying to establish a servlet applet communication....
my applet send the sql query to the servlet as serialised string and then the servlet executes the query...
Since i need to pass the result back to the applet, i thaught of passing the whole reult set to the applet..but that seems to be not possible..
so i thaught of storing my result set data in a vector and then pass the vector,but the first problem that i came across is that how to get the number of colums in a result set....
so is there a way to get the number of columns in a result set...???
and also i would like to know if it possible to send my whole result set to the applet bye serialization or by any method...???
thanx in advanceYou shouldn't do. It expenses resources (you should always close the ResultSet and the Statement as fast as possible). Simply gently process it into a Collection or Map of DTO's. Those are serializable.
-
Getting the ROWCOUNT of a section
HI
I have a report with four section--North,South,East,West!
In all those section, i have to columns customer name a revenue.
I want the section with maximum number of rows to appear first and then the next highest second..like this in descending order depending the number of rows that each section has!
Can you please guide me about how do i go about this as the CountAll doesn't seems to be working in webi and once get the rowcount of all section can i sort the section on basis of rowcount to get the result.
Any answer will be highly appreciated!
Many Regards
RahulHello Rahul,
OK I have taken a closer look at the workflow I followed and I still think that you will be able to achieve what you need to do.
Firstly I am using XIR2 SP4 (just incase it makes a difference)
I assume that your report returns a transaction ID (or invoice number) that allows you to identify each individual row of data.
On that assumption you need to do the following:
Create a table with 3 columns: Customer, Transaction ID, Revenue
Select the transaction ID column and add a count to the bottom of the table.
Drag the footer cell with the transaction count off the table and drop it somewhere in the section - this will create a cell with the count within it.
Right click on the new cell and apply the descending sort.
Finally delete the transaction ID column from the table
I do not know why you cant add a sort to a stand alone cell but you seem to be able to apply a sort if the cell is dragged from the table footer.
Let me know if this works - I have used this process to create a WebI report using efashion, so I am pretty sure it will work.
Regards,
Mike
Edited by: Mike Churchill on Jun 26, 2008 5:03 PM -
How to get the anchor tag values in next jsp
Hey all,
I have two jsp files.
in first jsp,
I am getting the resultset.
I am setting the resultset to the anchor tag.
below is the code...
<a target="_top" rel="contents" rev="contents" class="fordynamiclabel" href="ASCMasterTwo.jsp"><%=rSet.getString(1) %></a></td>
whenever he click on any anchor tag,
It will goes to ACSMasterTwo.jsp page for edit the compleate record.
how to get the anchor tag value in that page...
Please help me on this.You have to pass a parameter. An id is good.
Of course you have to get an id from somewhere in the result set right?
<a target="_top" rel="contents" rev="contents" class="fordynamiclabel" href="ASCMasterTwo.jsp?id=<%= rSet.getString("id") %>"><%=rSet.getString(1) %></a></td>Then you call
request.getParameter("id");
and look up the values related to that id in the database. -
How to get the Primary key from Synonym
Hi ,
I want to get the Primary Keys for my tables . I used
java.sql.DatabaseMetaData databasemetadata = connection.getMetaData();
ResultSet rs = databasemetadata.getTables(null, null, "%", null);
rs.next();
System.out.println(" TABLE_CAT "+ rs.getString(1));
System.out.println(" TABLE_SCHEM "+rs.getString(2));
System.out.println(" TABLE_NAME "+rs.getString(3));
System.out.println(" TABLE_TYPE "+rs.getString(4));
System.out.println(" REMARKS "+rs.getString(5)); gives :
TABLE_CAT null
TABLE_SCHEM PROGRESS
TABLE_NAME ApplicConv
TABLE_TYPE SYNONYM
REMARKS null
Now if I use :
rs = databasemetadata.getPrimaryKeys(null,"PROGRESS","Applicconv");
System.out.println("Is result set Non empty "+rs.next()); gives :
Is ResultSet non empty false .
Can you tell me why this result is empty? Is it because of my table is a Synonym?
If it is Synonym how to get the primary key ?You can use DatabaseMetaData#getPrimaryKeys.
-
How to get the difference of two dates?
let's say i have a table named tblData and has 4 columns: data_RefNo, data_DateReported, data_TargetDate, data_Data
tblData returns 2 rows.
data_RefNo.............data_DateReported.............data_TargetDate........................data_Data
10000................10-20-2004 10:55:44 AM........10-20-2004 10:57:44 AM........Slow Response Time
10000................10-21-2004 10:55:44 AM........10-21-2004 11:55:44 AM........Bug Error
i just wana ask how to get the difference of the date_DateReported and date_TargetDate.
i tried this code but it didnot work
public Vector get_con_pf()
Vector vData = new Vector();
String query = "SELECT * FROM tblData WHERE data_RefNo= '"'10000'"'";
try
DBConnect db = new DBConnect();
db.openCon();
ResultSet rs = db.execute(query);
while (rs.next())
vData.addElement(DATEDIFF(mi, rs.getString("st_DateReported"), rs.getString("st_TargetFinishDate")));
db.closeCon();
catch (Exception e)
System.out.println("Error: " + e );
return vData;
i want to return the difference of the data_DateReported and date_TargetDate, i did this
vData.addElement(DATEDIFF(mi, rs.getString("st_DateReported"), rs.getString("st_TargetFinishDate")));but it didnot work.
How do i get that? because i want to return a vector.
the code must return the values:
2 for the 1st rows because the difference is only 2 minutes, and
60 for the 2nd row.ooops i tried this one:
query = "SELECT *, DATEDIFF(mi, data_DateReported, data_TargetDate) AS diff FROM tblData WHERE data_RefNo = '10000'";and it works.
hehehehe!!!!!!
problem solved! :) -
hi
i am new to programming... i would like to know how to get the column values... i have a resultset object
i need code .... asap
thnx@OP: It is always good to type complete sentences and describe your problem at length. It helps in letting people know what you really need instead of making wild guesses or silly jokes. You post mentions that you get the ResultSet. Then you should look up the API docs for java.sql.ResultSet and take a look at the getxxx() method signatures. Use the ones which suit the specific case.
Besides, it is good to refrain from using asap and urgent. Even if something is urgent to you, it need not be urgent to others. Wording a question properly would attract better replies.
Finally, would you mind getting down to specifics of your problem? From what I perceived, the JDBC tutorial and the API docs should provide all the information you need.
Maybe you are looking for
-
hi friends, I need to Download three files , one at a time using GUI_DOWNLOAD . in the perform i wrote like perform download using int_tab1 . for this in the form i will write like form download using int_tab1 type tfl_tab1 " (type for int_tab1). s
-
Qosmio G30 - External monitor interference when AC plugged-in
Hi there, With the ac adapter plugged in, i get serious interferance on my external monitor (samsung Syncmaster 226bw). As soon as I remove the AC adapter it disappears. The weird thing is my colleague here has the exact same setup in the office next
-
Connecting my 550 Powerbook with Linksys 354G Gateway Kit
Hello and help! I've just set up my iMac with the Linksys modem router and ethernet connection and all works OK. I now want to use the Linksys WPC54G V.5 PMCIA card that came with kit with my 2nd computer, a 550 PB.. I plugged the card into the PB an
-
After a factory reset/ setting it up as a new iPad it still gives me the login screen. went to the genius bar no help, contacted Verizon no luck. I want to make a new Verizon 3G account but it won't get the registration form for me to fill out what C
-
I've digitized Terabytes of my video. Much of it needs white balance correction. (lots of old Video 8 and even VHS material) Typically what I have is an hour and sometimes 2 hours of media where some of it needs to be white balanced and some not. I w