ElectricEel
Programmer
Is it possible in a sub-select to return only 1 record if there may be a posibility of returning multiple records?
Is there a function/property similar to MaxRecords in ADO where you can specify the maximum number of records to return?
e.g.
SELECT c.casename, (SELECT rep(*only return 1 rep) FROM Reps r WHERE r.casenumber = @casenumber) as rep
FROM Cases c
WHERE c.casenumber = @casenumber
Aloha
Neil
Is there a function/property similar to MaxRecords in ADO where you can specify the maximum number of records to return?
e.g.
SELECT c.casename, (SELECT rep(*only return 1 rep) FROM Reps r WHERE r.casenumber = @casenumber) as rep
FROM Cases c
WHERE c.casenumber = @casenumber
Aloha
Neil