Alter Table

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • balasach82
    New Member
    • Jun 2007
    • 2

    #1

    Alter Table

    Warning: The table 'top32_kan_g2_n b' has been created but its maximum row size (14199) exceeds the maximum number of bytes per row (8060). INSERT or UPDATE of a row in this table will fail if the resulting row length exceeds 8060 bytes.


    This is the message I am getting, when i have altered the table definition(i.e. copy the table and pasted in Query Analyzer) using alter.My requirement is to delete some fields from the table at EOD daily. The query is executed but the above warning message appears and the fields I required has been deleted.
    Is the above message important or can I use the same method again.
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    As you are removing some of the fields using alter it can work for you provided that it follows the mentioned condition in the warning.

    Contact your DBA regarding the warning message .

    Comment

    • ck9663
      Recognized Expert Specialist
      • Jun 2007
      • 2878

      #3
      Originally posted by balasach82
      Warning: The table 'top32_kan_g2_n b' has been created but its maximum row size (14199) exceeds the maximum number of bytes per row (8060). INSERT or UPDATE of a row in this table will fail if the resulting row length exceeds 8060 bytes.


      This is the message I am getting, when i have altered the table definition(i.e. copy the table and pasted in Query Analyzer) using alter.My requirement is to delete some fields from the table at EOD daily. The query is executed but the above warning message appears and the fields I required has been deleted.
      Is the above message important or can I use the same method again.
      try doing a

      SELECT only, selected, fields, here INTO NEWTABLE from DAILYTABLE..

      Comment

      Working...