Re: bug with TABLE variable???
From: Aaron [SQL Server MVP] (ten.xoc_at_dnartreb.noraa)
Date: 12/13/04
- Next message: Wal: "DTS TRansform Task giving inconsistent results."
- Previous message: jrpm: "Re: Security"
- In reply to: Henri: "bug with TABLE variable???"
- Next in thread: Henri: "Re: bug with TABLE variable???"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 13 Dec 2004 10:55:47 -0500
> DELETE
> @grpIds
> FROM
> @grpIds
> INNER JOIN tab_rub_deny
> ON tab_rub_deny.grp_id = @grpIds.grp_id
Please see http://www.aspfaq.com/2475
Of particular interest:
"Table variables must be referenced by an alias, except in the FROM clause.
Consider the following two scripts: " [...]
-- http://www.aspfaq.com/ (Reverse address to reply.) > > Error: > @grpIds must be declared > > If I replace the table variable by a normal table, there's no error any > more. > It seems to be a bug. > Should I use a temporary table then? > > Thanks > > Henri > > >
- Next message: Wal: "DTS TRansform Task giving inconsistent results."
- Previous message: jrpm: "Re: Security"
- In reply to: Henri: "bug with TABLE variable???"
- Next in thread: Henri: "Re: bug with TABLE variable???"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|