Syntax for INSERTing into a table with no values?

前端 未结 3 1750
感情败类
感情败类 2021-01-01 08:18

I have a table created with the following schema:

CREATE TABLE [dbo].[Visualizations]
(
    VisualizationID     int identity (1,1)      NOT NULL
)

3条回答
  •  一生所求
    2021-01-01 08:46

    Trigger the identity insert with null

    insert into
                Visualizations
    values
               (null);
    

提交回复
热议问题