Inserting Multiple Rows in Sybase ASE

后端 未结 4 1523
不知归路
不知归路 2021-01-18 12:11

(Similar question related to SQL Server : SO Link)

I know in Sql Server 2008 or above, you can insert multiple rows doing the following:

INSERT INTO          


        
4条回答
  •  一个人的身影
    2021-01-18 12:39

    Sybase doen't have insert syntax as SQL Server. What's wrong with showed below classic method?

    INSERT INTO MyTable (Name, ID) VALUES ('First',1)
    INSERT INTO MyTable (Name, ID) VALUES ('Second',2)
    INSERT INTO MyTable (Name, ID) VALUES ('Third',3)
    go
    

提交回复
热议问题