Selecting row from a table
- From: m <modhak@xxxxxxxxx>
- Date: Tue, 19 Feb 2008 22:46:45 -0800 (PST)
Hi All
I have a table with nearly 10,000 rows and 50 columns.
I have a select query like
select * from tablex where col1=5 and col2='a'
I run this from my java program using jdbc.
All I am interested is if there is match or not.
Is there a better way to write the query instead of saying "select *"
I am thinking select * might take more time.
Please let me know.
Thanks
.
- Follow-Ups:
- Re: Selecting row from a table
- From: Elmar Athmer
- Re: Selecting row from a table
- From: GArlington
- Re: Selecting row from a table
- From: Sabine Dinis Blochberger
- Re: Selecting row from a table
- Prev by Date: HSQL Query Help Request
- Next by Date: Re: Selecting row from a table
- Previous by thread: HSQL Query Help Request
- Next by thread: Re: Selecting row from a table
- Index(es):
Relevant Pages
|
|