How can we help you today? How can we help you today?

BUG: Original table name is offered in UPDATE alias

Original (non-aliased) fields are listed in Prompt when using UPDATE alias FROM table AS alias.
DECLARE @Table TABLE
  (
    Field INT
  );

UPDATE
  T
SET
  T.Field = $CURSOR$
FROM
  @Table AS T;

You can't use non-aliased @Table name, but Prompt is still suggesting it:

7pjx5i2hrstu.png

Latest SQL Prompt 8.x, but bug was introduces somewhere in 7.x
Ludek Sveller
0

Comments

1 comment

  • krzysztofkroczak
    Hi Alza,

    Sorry for the inconvenience. I've reported this issue as SP-6593.

    Best regards,
    Krzysztof
    krzysztofkroczak
    0

Add comment

Please sign in to leave a comment.