Results 1 to 1 of 1
Thread: Regarding PreparedStatement
- 06-09-2008, 09:07 PM #1
Member
- Join Date
- May 2008
- Posts
- 29
- Rep Power
- 0
Regarding PreparedStatement
Hi,
I know that to get the row count from sql we should give as follows
select count(*) from tablename where columnName = value;
is this wright
Now my problem is, actually i am adding students data in the table from text fields. But what i need is the maximum row count for each roll number should be 3. There should not be repeated rows more than three times. Please tell me how can i achieve this.
Thanks and Regards
Similar Threads
-
Using PreparedStatement for insertion
By Java Tip in forum Java TipReplies: 0Last Post: 02-06-2008, 09:30 AM -
Using PreparedStatement
By Java Tip in forum Java TipReplies: 0Last Post: 12-22-2007, 11:24 AM -
PreparedStatement
By Java Tip in forum Java TipReplies: 0Last Post: 12-05-2007, 03:56 PM -
Help me. PreparedStatement
By Felissa in forum JDBCReplies: 2Last Post: 06-28-2007, 05:03 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks