Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Get the first record found

Author  Topic 

baska123
Yak Posting Veteran

64 Posts

Posted - 2008-07-24 : 16:00:28
I am looking for a keaword to use to actually grab the first search for a particular key. I have one ID but many writers for that ID and I want to grab the first one.

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2008-07-24 : 16:02:25
SELEC TOP 1 ...
FROM ...
...

If that doesn't help, please show us some sample data so that we can help you better.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -