Replacement DFIRST for SQL

J

John Cosmas

Anyone know how to replace the DFIRST statement in Access to working in/with
SQL. SQL Server does not have an equavalent statement/function.

John Cosmas
 
D

Duane Hookom

You could use a subquery:
(SELECT TOP 1 YourField FROM tblYourTable ORDER BY OtherField)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top