How about this..
Select max(MessageID) from Message
where MessageID <( Select max(MessageID) from message);
and
Select max(MessageID) + 1 from Message;
|
Results 1 to 7 of 7
Thread: How to get the previous IDThreaded View
|
Click Here to Expand Forum to Full Width |