SBCUser666
Registered User.
- Local time
- Today, 02:51
- Joined
- Jul 7, 2009
- Messages
- 21
This is driving me crazy. I want 1 field from the first row of a table.
SELECT TOP 1 fielda FROM mytable
Every row in the table will have the same value in fielda. I just want to check to see if the value is correct. I really don't want to have to process a record set for 1 field.
Is there a way to do an in-line query for 1 row and how do I later reference the data returned?
SELECT TOP 1 fielda FROM mytable
Every row in the table will have the same value in fielda. I just want to check to see if the value is correct. I really don't want to have to process a record set for 1 field.
Is there a way to do an in-line query for 1 row and how do I later reference the data returned?
