Dropping Columns 1

  • Comments posted to this topic are about the item Dropping Columns 1

  • Nice, easy one, thanks Steve

    ____________________________________________
    Space, the final frontier? not any more...
    All limits henceforth are self-imposed.
    “libera tute vulgaris ex”

  • nice easy question, thanks

    ---------------------------------------------------------------------------------------
    The more you know, the more you know that you dont know

  • Nice question.  Thanks Steve.

  • I was not sure if SQL would give just first index it found or not.  But kind of cool it did display the additional index I added with CustomerName. 

    Msg 5074, Level 16, State 1, Line 16
    The index 'PurchaseOrderNDX_CustomerName' is dependent on column 'CustomerName'.
    Msg 5074, Level 16, State 1, Line 16
    The index 'PurchaseOrderNDX_CustomerName_PONumber' is dependent on column 'CustomerName'.
    Msg 4922, Level 16, State 9, Line 16
    ALTER TABLE DROP COLUMN CustomerName failed because one or more objects access this column.

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply