Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Self join challenge..
Message
From
07/03/2003 09:59:35
 
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00762414
Message ID:
00762709
Views:
11
>Do you want a clue or the answer? The clue is in rewording the problem:
>
>I want the first record that comes before the current audit record for the same ID.
>
>-Mike

Right, and I have been able to write a query to get the audit_id of the record that comes before a specific audit_id record, but I am not sure how to write it to return a rs that meets a certain date range. I'd hate to resort to a cursor.

So, I guess I want the answer.

BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform