Forum Replies Created

Viewing 2 posts - 1 through 3 (of 3 total)

  • RE: syntax error in query

    ok, I was blind , I thought you write update.

    Try this (or play with loop if you want):

    create table aaaa( a int, b int)

    declare @cond int

    set @cond = 1

    insert into...

  • RE: syntax error in query

    replace Values with select, remove brackets "()"

    You don't nedd use from in this query.

Viewing 2 posts - 1 through 3 (of 3 total)