INSERT into table without specifying Column names

前端 未结 4 1491
鱼传尺愫
鱼传尺愫 2020-12-15 05:16

I have INVOICE TABLE I want to insert value by not specifying column names using SQL Server, I have tried this but it is not working..

4条回答
  •  無奈伤痛
    2020-12-15 06:00

    yes you can directly insert values into table as follows:

    insert into `schema`.`tablename` values(val1,val2,val3);
    

提交回复
热议问题