Getting a subset of results.
I am hoping someone can help me on this, because i really see no other way to do what i need to do.
Is there ANY way, to be able to return ONLY the first X records of a SQL statement... say for example the first 5 records, or the first one record. I am looking for something akin to MS Access' "TOP" functionality.
I have a Single-Row Returning Multiple Rows error, in some legacy code, but the data is needed as is, for other apps, but for this one, we need only the first row, because its being used in an UPDATE.
Any help is greatly Appreciated. Thanks in advance.!!
Cheerz,
Aaron.