Getting column count of the MySQL output with Java -
Getting column count of the MySQL output with Java -
i want know how column count of resulting output in mysql.
i searched site same question i'm little different.
i want column count of resulting output not of table.
i want know how many columns there in resulting output when query passed.
thanxx in advance!
resultsetmetadata metadata = resultset.getmetadata(); int columncount = metadata.getcolumncount();
java mysql jdbc connectivity
Comments
Post a Comment