Καλώς ορίσατε στο dotNETZone.gr - Σύνδεση | Εγγραφή | Βοήθεια
σε

 

Αρχική σελίδα Ιστολόγια Συζητήσεις Εκθέσεις Φωτογραφιών Αρχειοθήκες

error 2601

Îåêßíçóå áðü ôï ìÝëïò lskostas. Τελευταία δημοσίευση από το μέλος KelMan στις 20-03-2007, 16:24. Υπάρχουν 1 απαντήσεις.
Ταξινόμηση Δημοσιεύσεων: Προηγούμενο Επόμενο
  •  20-03-2007, 15:58 26757

    error 2601

     

    κατα την διαρκεια attach ενος mdf,ldf εμφανιζεται το εξης μηνυμα?

    Error 2601

    Severity Level 14
    Message Text

    Cannot insert duplicate key row in object '%.*ls' with unique index '%.*ls'.

    Explanation

    This error occurs when you attempt to put duplicate index values into a column or columns that have a unique index. Microsoft® SQL Server™ does not allow two rows to have the same index value (including NULL) in columns that have a unique index. SQL Server checks for duplicate values when the index is created and each time the table is modified using the INSERT or UPDATE statement.

    Action

    If you need duplicate index values in the indexed column(s), drop the unique index and create a nonunique index.

    To use a unique index on data that contains duplicate values, you must change some values to prevent the duplication. You can change the data already in the table by using the SELECT or UPDATE statement, or you can change the data to be inserted.

     

     

     

     


    :D
  •  20-03-2007, 16:24 26759 σε απάντηση της 26757

    Απ: error 2601

    Μάλλον είναι corrupted το log file. Δοκίμασε να κάνεις sp_attach_single_file_db χρησιμοποιώντας μόνο το data file. Αν τελικά παίξει, θα χάσεις ότι έχει μέσα το log file από το τελευταίο backup.


    Vir prudens non contra ventum mingit
Προβολή Τροφοδοσίας RSS με μορφή XML
Με χρήση του Community Server (Commercial Edition), από την Telligent Systems