265 pts.
Microsoft Office
Hi, Is there a way that I can numbering a column automaticaly such as numbering in the MS Word!!!? Thank you. ---- Mahnaz

Answer Wiki

Thanks. We'll let you know when a new response is added.

In DB2:

___FROM myTable t

or for more complicated queries:

WITH myView AS(
___complicated stuff goes here)
___FROM myView v

For Oracle:

___FROM myTable

For more complicated queries in Oracle, nothing to worry about. RRN counts rows in the input table, but ROWNUM counts rows in the output result set.

Sheldon Linker (
Linker Systems, Inc. (

Discuss This Question: 3  Replies

There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Aliyani
    Hi, sorry of all,I forgot to say that I wanted to do numbering on a column in Excel such az in MS Word,when I click numbering icon it gets me a number for every row,when I goes next row it gets next number ..... Is it possible by writting a formula in excel for a Column!!!??? Could you help me!!!?? Thank you. --- Regards Mahnaz
    265 pointsBadges:
  • PMiller78
    This is taken from the Help file in Excel: Unlike other Microsoft Office programs such as Microsoft Word, Microsoft Excel does not provide a button to automatically number data. However, you can easily add sequential numbers to rows of data by filling a column with a series of numbers or by using the ROW function. Fill a column with a series of numbers Note These numbers are not automatically updated when you add, move, or remove rows. You can manually update the sequential numbering by selecting two numbers that are in the right sequence, and then dragging the fill handle to the end of the numbered range. Select the first cell in the range that you want to fill. Type the starting value for the series. Type a value in the next cell to establish a pattern. How? For example, if you want the series 1, 2, 3, 4, 5..., type 1 and 2 in the first two cells. If you want the series 2, 4, 6, 8..., type 2 and 4. Select the cells that contain the starting values. Drag the fill handle (fill handle: The small black square in the lower-right corner of the selection. When you point to the fill handle, the pointer changes to a black cross.) across the range that you want to fill. To fill in increasing order, drag down or to the right. To fill in decreasing order, drag up or to the left. Is the fill handle missing? To display the fill handle on a selection of cells, click Options on the Tools menu, click the Edit tab, and then select the Allow cell drag and drop check box. Try that... I don't think there is an actual "Auto Number" function to use. Paul
    0 pointsBadges:
  • PMiller78
    Forgot to post this link: Try this:
    0 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.


Share this item with your network: