May 12, 2004 #1 password99 Technical User Joined Jul 19, 2002 Messages 122 Location US how do you restrict select resultset to return only one row?
May 12, 2004 1 #2 donutman Programmer Joined Dec 20, 2002 Messages 2,481 Location US Select Top 1 * from WhatEver where SomeCondition etc. -Karl Upvote 0 Downvote
May 12, 2004 1 #3 TysonLPrice Programmer Joined Jan 8, 2003 Messages 859 Location US I'm not quite sure this is what ou mean but: "select top 1 * from table_name" will get you one row. You can add the usual where and order by stuff to pare it down. Upvote 0 Downvote
I'm not quite sure this is what ou mean but: "select top 1 * from table_name" will get you one row. You can add the usual where and order by stuff to pare it down.
May 12, 2004 #4 nikhilparchure Programmer Joined Oct 6, 2001 Messages 121 Location AU Another way Set RowCount 1 --- Your Select Query Set RowCount 0 Upvote 0 Downvote