Alternatives to USING in a JOIN for SQL Server for avoiding duplicated columns in joined table

前端 未结 4 2016
情歌与酒
情歌与酒 2020-12-22 12:02

SQL Server does not offer the keyword USING in the context of a JOIN,
nor it provides a NATURAL JOIN.

Besides explicitly (manually) listing all the columns (link

4条回答
  •  猫巷女王i
    2020-12-22 12:39

    No there is not. The only way to avoid this error in a SELECT INTO query is to write out your column list after SELECT, instead of SELECT *.

提交回复
热议问题