Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)

  • RE: Invalid column error

    Thanks for all the help!

    I stumbled apon the exec() command prior to seeing your lasts couple posts PW,  and it does exactly what I need!  Much thanks!

    I did it like...

  • RE: Invalid column name error

    Hey Liliana-

    Thanks for suggestion.  I tried that, and T-SQL complains about syntax.  I think that 'GO' basicly executes all the script prior to it.  So because I have the Alter...

  • RE: Invalid column name error

    Hey Rodrigo-

    I am referencing the same table, I changed my t-sql statement and received the same error:

    Invalid column name 'TOTAL_VOTES'

    any other ideas?

    thanks!

  • RE: Invalid column error

    Hey Sushila-

    I tried your above method, but I get the same result...an error saying:

    "Invalid column name 'TOTAL_VOTES'."

    I don't understand what makes your method dynamic...can you explain?

    thanks

  • RE: Invalid column error

    thanks for the help PW!

    How do you do Dynamic SQL for the update statement?  I've never done dynamic SQL...

Viewing 5 posts - 1 through 5 (of 5 total)