Syntax for INSERTing into a table with no values?

前端 未结 3 1749
感情败类
感情败类 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 09:04

    See this (example "F. Load data using the DEFAULT VALUES option"):

    INSERT INTO [Visualizations] DEFAULT VALUES;
    

提交回复
热议问题