INSERT 语句 ORACLE / MSSQL

15 篇文章 0 订阅
12 篇文章 0 订阅

Microsoft SQL Server                                              Oracle

                     Syntax:                                                   Syntax:

                      INSERT [INTO]                                     INSERT INTO [user.]{table |
                     [[database.]owner.] {table |                       view}[@dblink][(column [,
                     view}[(column [,                                      column]...)]{VALUES (expression [,
                     column]...)]{VALUES (expression           expression]...) | query...};
                     [,expression]...) | query}

                     描述:                                                                  描述:

                     INTO 可选.                                                    INTO 必须.

                     Inserts are allowed in a view provided    Inserts 仅仅可以在单表视图中  
                     only one of the base tables is
                     undergoing change.

 

                     Recommendations:

                     INSERT statements in Microsoft SQL Server or Sybase Adaptive Server must be
                     changed to include an INTO clause if it is not specified in the original statement.

                     The values supplied in the VALUES clause in either database may contain functions.
                     The Microsoft SQL Server or Sybase Adaptive Server-specific functions must be
                     replaced with the equivalent Oracle constructs.

                              Note:    Oracle lets you create functions that directly match most
                              Microsoft SQL Server or Sybase Adaptive Server functions.

                     Convert inserts that are inserting into multi-table views in Microsoft SQL Server or
                     Sybase Adaptive Server to insert directly into the underlying tables in Oracle.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值