(Moderator)
Registriert seit: 6. Mai 2005
Ort: Berlin
4.956 Beiträge
Delphi 2007 Enterprise
|
Re: Skalarvariable muss deklariert werden
24. Apr 2009, 20:01
So vielleicht?
SQL-Code:
update @tpe_upl_references
set alias= HSP_OBJECT_1.OBJECT_NAME
from
hyp_planning.HSP_OBJECT AS HSP_OBJECT_1
INNER JOIN
hyp_planning.HSP_ALIAS
ON HSP_OBJECT_1.OBJECT_ID = hyp_planning.HSP_ALIAS.ALIAS_ID
RIGHT OUTER JOIN
hyp_planning.HSP_OBJECT
ON hyp_planning.HSP_ALIAS.MEMBER_ID = hyp_planning.HSP_OBJECT.OBJECT_ID
WHERE
(hyp_planning.HSP_OBJECT.OBJECT_NAME =position)
an (hyp_planning.HSP_ALIAS.ALIASTBL_ID=14)
"Wenn ist das Nunstruck git und Slotermeyer? Ja! Beiherhund das Oder die Flipperwaldt gersput!"
(Monty Python "Joke Warefare")
|