You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SELECT *
FROM t1
JOIN t2 ON t1.a = t2.a
JOIN t3 ON t1.a = t3.a;
HResult 0x4E21, Level 16, State 1
One or more errors occurred. (Input string was not in a correct format.)
SELECT t1.a, t2.a, t3.b
FROM t1
JOIN t2 ON t1.a = t2.a
JOIN t3 ON t1.a = t3.a;
a a b
12 12 1
12 12 1
12 12 1
12 12 1
12 12 1
12 12 1
(6 rows affected)
Error is returned when (*) is used in the SELECT statement with a JOIN, however, it is not present when columns are specified. This holds true for using JOIN on 1 or 2 different tables.
The text was updated successfully, but these errors were encountered:
saklanipankaj
changed the title
Incorrect Error Messages when exceeding number of computations in SELECT Statement MSSQL
SELECT unable to use * when using JOIN
Jun 27, 2019
saklanipankaj
changed the title
SELECT unable to use * when using JOIN
SELECT unable to use * when using JOIN on MSSQL
Jun 27, 2019
Error is returned when (*) is used in the SELECT statement with a JOIN, however, it is not present when columns are specified. This holds true for using JOIN on 1 or 2 different tables.
The text was updated successfully, but these errors were encountered: