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.
| Author |
Topic |
|
abulloch
Starting Member
1 Post |
Posted - 2010-02-03 : 08:18:47
|
| Please could someone assistI need to convert the following piece of Oracle SQL to MS SQL.The KEEP FIRST part is teh confusing bit.Any suggestions ?MIN (COALESCE (A5.LINE_NUMBER, A6.LINE_NUMBER, A7.LINE_NUMBER, A8.LINE_NUMBER)) )KEEP (DENSE_RANK FIRST ORDER BY ISNULL(A10.T$SUBL,9) * 1000 + ISNULL (A11.T$SUBL, 9) * 10 + ISNULL (A12.T$SUBL, 9) ASC) LINE_NUMBER,regardsAllan Bulloch |
|
|
|
|
|