Skip to content

staticdata should not generate the update statement when all columns are a primary key #13

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Create a table where both columns are a primary key
2. Use staticdata to script the table

What is the expected output? What do you see instead?
- staticdata generates an invalid update statement where the SET keyword is 
trimmed and there are no columns
   e.g. UPDATE LiveTable SE FROM tbl LiveTable
- staticdata should not generate the update statement when all columns are a 
primary key

What version of the product are you using? On what operating system?
- staticdata 1.4.4, Windows 7 Enterprise x64

Please provide any additional information below.
- See attached patch for how I resolved this issue in my local copy of the code

Original issue reported on code.google.com by mthomson...@gmail.com on 1 Mar 2011 at 6:58

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions