I have a variable @RowNumber
I would like to create a variable table @table based on the @RowNumber variable.
If @RowNumber is 6 I would like the @table top present the following information
MonthID Month
1 Month1
2 Month2
3 Month3
4 Month4
5 Month5
6 Month6
Any help will be greatly appreciated....
MySQL,DB2,Oracle,SQL Server,Postgresor whatever else that might be ....