Skip to content

Some SQL commands don't report a failure #135

@visch

Description

@visch

EXEC('ALTER TABLE dbo.stg_things addd primary key(thing_id)')

This command will fail due to addd being incorrect. This will just keep chugging along, is that just a side affect of EXEC that we have to live with? I'm going to attempt to not use EXEC, but I was warry when I read #80

Still new to DBT so I'm not certain how everything's supposed to work, but this almost certainly shouldn't happen. If a SQL command fails something should throw an error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions