Partial export

  • zaleeu (6/9/2011)


    Okay how do I drop all the contraints ?

    If I try to delete I get

    The DELETE statement conflicted with the REFERENCE constraint "FK_ReportLog_Client"

    =========================

    yep the issue is what i stated before......works great if your FK's have the DELETE CASCADE options in place.

    since this is now a test database, i'd script out all foreign keys to drop and recreate, and review them to see which should cascade delete and which should cascade update to null, and then try deleting again.

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

Viewing post 16 (of 15 total)

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