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 |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2002-04-18 : 09:45:59
|
| Rihard writes "I need to dynamically select the topmost rows in T1. I tried to put a local variable (@var) after the TOP clause but it didn't work. The number of rows needed, is specified in another recordset (row-field) from T2.Is there any other way.Thanks!" |
|
|
graz
Chief SQLTeam Crack Dealer
4149 Posts |
Posted - 2002-04-18 : 09:45:59
|
| Please read the FAQ for the section on dynamic SQL. |
 |
|
|
|
|
|