INSERT vs INSERT INTO

前端 未结 9 1795
长情又很酷
长情又很酷 2020-12-07 19:58

I have been working with T-SQL in MS SQL for some time now and somehow whenever I have to insert data into a table I tend to use syntax:

INSERT INTO myTable          


        
9条回答
  •  孤街浪徒
    2020-12-07 20:09

    INSERT INTO is the standard. Even though INTO is optional in most implementations, it's required in a few, so it's a good idea to include it to ensure that your code is portable.

    You can find links to several versions of the SQL standard here. I found an HTML version of an older standard here.

提交回复
热议问题