Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Databases > Count items in ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 3730 of 3747
Post > Topic >>

Count items in reslutset?

by WJ <wjz@[EMAIL PROTECTED] > Apr 24, 2008 at 07:52 PM

Hi all,

Is it possible to get the number of rows in a resultset using SQL?

If I execute a statement like: SELECT COUNT(*) FROM table1 WHERE ID=12,

I dont know how to assign the result to an integer...

Thanx,
WJ




 4 Posts in Topic:
Count items in reslutset?
WJ <wjz@[EMAIL PROTECT  2008-04-24 19:52:11 
Re: Count items in reslutset?
Donkey Hot <spam@[EMAI  2008-04-24 18:07:18 
Re: Count items in reslutset?
Uwe Seimet <Uwe.Seimet  2008-04-24 20:50:32 
Re: Count items in reslutset?
Lew <lew@[EMAIL PROTEC  2008-04-24 19:40:15 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue May 13 18:47:31 CDT 2008.