Appendix2 NativeSQL

background image

BC170_2.a2.1

Using ABAP Native SQL

EXEC SQL.

<any SQL

statement>
ENDEXEC.

In this example, the
program
creates a table in the Oracle
database, which is not
known
to the ABAP Dictionary.

The newly created
database
table is populated using
an
SQL INSERT statement.

background image

BC170_2.a2.2

SELECT Using ABAP Native SQL

Data retrieved

using the SELECT

statement is

transported to the

ABAP program

using Host

Variables.

A Host Variable is any data item

that is defined by the ABAP

program and used inside an

ABAP Native SQL Statement.

They must be preceded by a

colon.

D

efi

n

ed

Used

These are Host
Variables

background image

BC170_2.a2.3

ABAP Native SQL and the

PERFORMING Option

The PERFORMING

<form> option creates

a looping structure

that calls a subroutine

for every

row retrieved.


Document Outline


Wyszukiwarka

Podobne podstrony:
appendix
2006 Appendix B 8 3 tires
appendX
Essentials of Biology 1e appendix b
Appendix G Merge and MigrationDec09
Appendix A Project Initiation Document Standard Template
Appendix1
handout1 The Native Voice
Chapter 9 Appendix 1, Rev 07
appendix 1
Appendix2MarkI
21 Appendix C Resource Guide to Fiber Optics
appendix4p
appendix 2
Hackmaster Quest for the Unknown Battlesheet Appendix
22 appendix electrical wiring system
Domains of Adventure The Havenmine Gauntlet Rules Appendix

więcej podobnych podstron