파워빌더 교안 9
본 자료는 9페이지 의 미리보기를 제공합니다. 이미지를 클릭하여 주세요.
닫기
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
해당 자료는 9페이지 까지만 미리보기를 제공합니다.
9페이지 이후부터 다운로드 후 확인할 수 있습니다.

목차

*Connecting an Application to a Database

*What Is a Transaction Object?

*Creating and Initializing Transaction Objects

*Populating Transaction Objects

*Using a Transaction Object to Connect to a Database

*Disconnecting from a Database

*Embedded SQL

본문내용

Referencing Variables in SQL Statements
Values returned from a database using SQL require program storage (variables)
Variables of the appropriate data type must be declared
Within a SQL statement, program variables must be preceded by a colon
Example
string ls_department
long ll_deptid
...
SELECT dept_name into :ls_department FROM department
WHERE dept_id = :ll_deptid
USING SQLCA ;
Summary
Use a transaction object to access a database from an application. Set transaction object properties with appropriate values for the desired database.
Use SQL CONNECT to establish the connection.
Each concurrent database connection requires its own transaction object.
Declare a variable of type transaction and use CREATE to build a transaction object.
Summary
Use ProfileString( ) to retrieve values from a preferences or INI file.
Disconnect from a database when you no longer need to be connected.
Destroy transaction objects created by an application when no longer needed.
PowerBuilder supports ANSI-standard SQL commands and other extensions in PowerScript.

키워드

  • 가격3,300
  • 페이지수26페이지
  • 등록일2002.12.08
  • 저작시기2002.12
  • 파일형식파워포인트(ppt)
  • 자료번호#214801
본 자료는 최근 2주간 다운받은 회원이 없습니다.
청소해
다운로드 장바구니