select only one row
|
Original Message
|
Name: eye-designs
Date: May 8, 2007 at 04:44:59 Pacific
Subject: select only one rowOS: Win Vista BizCPU/Ram: Pentium M |
Comment: hello, i've got a select query which returns a couple of rows. now i would like for the query to return only one row (the first match it can find). how do i do that? thank you!
Report Offensive Message For Removal
|
|
Response Number 3
|
Name: kevin freak
Date: August 3, 2007 at 06:00:33 Pacific
|
Reply: (edit)Hi, You can limit the number of rows in the output of a query by using the rowcount parameter as sql > select * from emp where rowcount < 2; hope it will help u :-)
Report Offensive Follow Up For Removal
|
Use following form to reply to current message: