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
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:[
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
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
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 *
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
[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
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
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
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
10 matches
Mail list logo