Login
Logging in...
Remember me
Log in
Forgot password or user name?
Log in with
Search in titles only
Search in General only
Search
Advanced Search
Home
Articles
News
Resouces
Buyer's Guide
Events
Videos
Forums
Archive
Publications
Bookstore
Today's Posts
Mark Channels Read
Member List
Forum
Database
General
Unconfigured Ad Widget
Collapse
Announcement
Collapse
No announcement yet.
Top 1 using SQL or Single Row
Collapse
X
Collapse
Posts
Latest Activity
Photos
Search
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Guest.Visitor
Share
Tweet
#1
Top 1 using SQL or Single Row
12-16-2004, 06:41 AM
Hi, How can I return only the first row matching to the criteria
Code
K.Forsythe
Share
Tweet
#2
12-16-2004, 06:41 AM
Top 1 using SQL or Single Row
At the end of your select add FETCH FIRST ROW ONLY. The TOP 1 syntax that you have seen on other platforms is not standard SQL syntax its an extension used on that platform.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
X
Comment