Re: resultset Question

2001-05-22 Thread Kaneda K
and at the same time is returning true >or false in case that exists a first record or not... > >Regards... > >Guido. > >- Original Message - >From: "Warren Crossing" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Tuesday, May 22, 2001

Re: resultset Question

2001-05-22 Thread Guido Medina
ECTED]> Sent: Tuesday, May 22, 2001 3:41 AM Subject: RE: resultset Question > did you use rs.next(); ?? you have to do this first to move the cursor to > the first record.. makes sense. > > regards, > > warren. > > -Original Message- > From: Manish [mailto:[

RE: resultset Question

2001-05-22 Thread Warren Crossing
did you use rs.next(); ?? you have to do this first to move the cursor to the first record.. makes sense. regards, warren. -Original Message- From: Manish [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 22 May 2001 9:00 AM To: [EMAIL PROTECTED] Subject: Re: resultset Question Kevin Fonner

Re: resultset Question

2001-05-21 Thread Manish
Kevin Fonner wrote: > I want to grab just the first record in a Query of my database. I > thought that this would be pretty simple??? > > Acording to my books they said that after executing... > > /resultSet = statement.executeQuery("SELECT * FROM userfolders WHERE > username=\'" + userName

RE: resultset Question

2001-05-14 Thread Midian - Jakarta List
PMTo: [EMAIL PROTECTED]Subject: resultset Question I want to grab just the first record in a Query of my database.  I thought that this would be pretty simple??? Acording to my books they said that after executing... resultSet = statement.executeQuery("SELECT *

Re: resultset Question

2001-05-14 Thread Kevin Fonner
at a java database kind of list. Thanks for the tip, Kevin - Original Message - From: Duck-Jin Chun To: '[EMAIL PROTECTED]' Sent: Monday, May 14, 2001 5:54 PM Subject: RE: resultset Question Kevin,   There are 2 problems with your message.  First, t

RE: resultset Question

2001-05-14 Thread Duck-Jin Chun
[mailto:[EMAIL PROTECTED]]Sent: Monday, May 14, 2001 5:16 PMTo: [EMAIL PROTECTED]Subject: resultset Question I want to grab just the first record in a Query of my database.  I thought that this would be pretty simple??? Acording to my books they said that after

Re: resultset Question

2001-05-14 Thread Richard Draucker
On Mon, 14 May 2001 17:16:24 -0400, "Kevin Fonner" <[EMAIL PROTECTED]> wrote: >I want to grab just the first record in a Query of my database. I thought that this would be pretty simple??? >Acording to my books they said that after executing... Try... resultSet rs = statement.executeQuery("sele

RE: resultset Question

2001-05-14 Thread Jann VanOver
ld fix it if this is the problem.   Oh -- wait -- I see it now!  You need to do a resultSet.next() before you can .getString() ... try that! -Original Message-From: Kevin Fonner [mailto:[EMAIL PROTECTED]]Sent: Monday, May 14, 2001 2:16 PMTo: [EMAIL PROTECTED]Subject: resultset

resultset Question

2001-05-14 Thread Kevin Fonner
I want to grab just the first record in a Query of my database.  I thought that this would be pretty simple??? Acording to my books they said that after executing... resultSet = statement.executeQuery("SELECT * FROM userfolders WHERE username=\'" + userName + "\'"); That resultset would conta