Index: phpdoc/kr/functions/oci8.xml
diff -u phpdoc/kr/functions/oci8.xml:1.4 phpdoc/kr/functions/oci8.xml:1.5
--- phpdoc/kr/functions/oci8.xml:1.4 Sun Feb 25 07:11:58 2001
+++ phpdoc/kr/functions/oci8.xml Sun Feb 25 09:27:03 2001
@@ -1,9 +1,9 @@
- Oracle 8 functions
+ 오라클 8 함수OCI8
- 이 함수들은 Oracle8과 Oracle7 데이터베이스를 접근할 수 있도록 해준다.
+ 이 함수들은 Oracle8과 Oracle7 데이터베이스에 접근할 수 있도록 해준다.
이것은 Oracle8 Call-Interface (OCI8)를 사용한다.
이 드라이버를 사용하려면 Oracle8 client libraries가 필요하다.
@@ -113,7 +113,8 @@
OCIDefineByName
- SELECT 구문을 사용하는 동안 정의단계(define-step)를 위한 PHP 변수를 할당한다.
+ SELECT 구문(Statement)을 사용하는 동안 정의단계(define-step)를 위한
+ PHP 변수를 할당한다.
@@ -129,8 +130,8 @@
- OCIDefineByName페치(fetch)한 컬럼을 사용자정의 변수
- 에 할당한다.
+ OCIDefineByName함수는
+ 페치(fetch)한 컬럼을 사용자정의 변수 에 할당한다.
물론, 오라클 유저는 select 구문에서 소문자 컬럼명을 쓸수 있지만,
OCIDefineByName함수의
Column-Name인수는 반드시 대문자로 적어야 한다.
@@ -177,7 +178,6 @@
OCIBindByName
오라클 위치보유자(Placeholder)를 PHP 변수에 연계(bind)시킨다.
- Bind a PHP variable to an Oracle Placeholder
@@ -194,24 +194,25 @@
- OCIBindByName binds the PHP variable
- variable to the Oracle placeholder
- ph_name. Whether it will be used for
- input or output will be determined run-time, and the necessary
- storage space will be allocated. The
- length parameter sets the maximum length
- for the bind. If you set length to -1
- OCIBindByName will use the current length of
- variable to set the maximum length.
-
-
- If you need to bind an abstract Datatype (LOB/ROWID/BFILE) you
- need to allocate it first using
- OCINewDescriptor function. The
- length is not used for abstract Datatypes
- and should be set to -1. The type variable
- tells oracle, what kind of descriptor we want to use. Possible
- values are: OCI_B_FILE (Binary-File), OCI_B_CFILE
+ OCIBindByName함수는 PHP 변수
+ variable에 오라클 위치보유자(Oracle placeholder)인
+ ph_name변수에 연계시킨다.
+ 용도가 입력인지 출력인지는 실시간으로 결정될것이고,
+ 충분한 저장 공간이 할당될 필요가 있다. length인수
+ 는 바인드를 위한 최대 길이를 세팅한다. length인수를
+ -1로 세팅하면 OCIBindByName함수는
+ 바인드를 위한 최대 길이를 variable의
+ 현재 길이로 사용할것이다.
+
+
+ 추상형 데이터타입(LOB/ROWID/BFILE)을 바인드 할 필요가 있다면
+ 우선은 OCINewDescriptor함수를 사용해서
+ 변수를 할당해야 한다.
+ length인수는 추상형 데이터타입
+ 을 위해 사용되지 않는다. 이때 이 값은 -1이 되어야 한다.
+ type변수는 오라클에서 현재 어떤 종류의
+ descriptor가 사용되는지 알려준다. 가능한 값은 다음과 같다:
+ OCI_B_FILE (Binary-File), OCI_B_CFILE
(Character-File), OCI_B_CLOB (Character-LOB), OCI_B_BLOB
(Binary-LOB) and OCI_B_ROWID (ROWID).
@@ -286,8 +287,7 @@
OCILogon
- Establishes a connection to Oracle
- 오라클 접속을 구축한다.
+ 오라클 접속을 형성한다.Description
@@ -309,17 +309,12 @@
환경변수 ORACLE_SID(Oracle instance) 또는 TWO_TASK(tnsnames.ora)를
이용한다.
- Connections are shared at the page level when using
- 이 함수를 사용할때마다 각 접속은 페이지 레벨에서 분배되어진다.
- OCILogon. This means that commits and
- rollbacks apply to all open transactions in the page, even if you
- have created multiple connections.
- OCILogon. 이것은 각 페이지에서 열린 모든
+ OCILogon 함수를 사용할때마다 각 접속은
+ 페이지 레벨에서 분배되어진다. 이것은 각 페이지에서 열린 모든
트랜잭션에 커밋(commits)과 롤백(rollbacks)이 적용되어진다는 것을
의미한다. 두개이상의 접속을 만들지라도.
- This example demonstrates how the connections are shared.
아래 예제는 접속이 어떻게 분배되는가를 보여준다.
OCILogon
@@ -447,8 +442,6 @@
OCINLogon
- Connect to an Oracle database and log on using a new
- connection. Returns a new session.오라클 데이터베이스에 접속하고 새로운 접속을 이용해서
로그온한다. 새로운 세션(session)을 넘겨준다.
@@ -473,18 +466,11 @@
이용한다.
- OCINLogon forces a new connection. This
- should be used if you need to isolate a set of transactions. By
- default, connections are shared at the page level if using
- OCILogon or at the web server process level
- if using OCIPLogon. If you have multiple
- connections open using OCINLogon, all
- commits and rollbacks apply to the specified connection only.
- OCINLogon 새로운 접속을 강제로 형성한다.
- 각 트랜잭션들을 분리할 필요가 있으면 사용해야 할것이다.
+ OCINLogon함수는 새로운 접속을 강제로 형성한다.
+ 각 트랜잭션들을 분리할 필요가 있을때 사용해야 할것이다.
기본적으로, OCILogon함수를 사용하면 접속은
- 페이지 레벨에서 분배되어지고, OCIPLogon함수를
- 사용하면 웹서버 프로세스 레벨에서 분배되어진다.
+ 페이지 레벨에서 분배되어지고, OCIPLogon함수는
+ 웹서버 프로세스 레벨에서 분배되어진다.
OCINLogon함수로 두개 이상의 접속을 연다면,
모든 커밋(commits)과 롤백(rollbacks)은 특정 접속에만 적용되어진다.
@@ -617,9 +603,9 @@
- OCIExecute 미리 해석된 구문(statement)를
+ OCIExecute 미리 해석된 구문(statement)을
실행한다. (OCIParse함수를 보라.) 선택적인
- 인수 mode는 execution-mode(디폴트는
+ 인수 mode에 execution-mode(디폴트는
OCI_COMMIT_ON_SUCCESS이다)를 지정할 수 있다. 각 구문이 자동적으로
커밋(commit)되지 않기를 원하면 OCI_DEFAULT로 설정하면 된다.
@@ -640,8 +626,6 @@
- OCICommit commits all outstanding statements
- for Oracle connection connection.
OCICommit 오라클 접속 파라미터
connection에 대해서
미결정된 모든 구문(outstanding statements)을 커밋한다.
@@ -663,8 +647,6 @@
- OCIRollback rolls back all outstanding
- statements for Oracle connection connection.
OCIRollback 오라클 접속 파라미터
connection에 대해서
미결정된 모든 구문(outstanding statements)을 롤백 처리한다.
@@ -691,12 +673,13 @@
- OCINewDescriptor Allocates storage to hold
- descriptors or LOB locators. Valid values for the valid
- type are OCI_D_FILE, OCI_D_LOB, OCI_D_ROWID.
- For LOB descriptors, the methods load, save, and savefile are
- associated with the descriptor, for BFILE only the load method
- exists. See the second example usage hints.
+ OCINewDescriptor함수는 hold descpriptor나
+ LOB locator를 위한 저장공간을 할당한다.
+ 유효한 type값은 OCI_D_FILE, OCI_D_LOB,
+ OCI_D_ROWID 이다.
+ LOB descriptor를 위해 load, save, savefile 메쏘드가
+ descriptor에 연결되어 있다. BFILE를 위해서는 load 메쏘드만이 존재한다.
+ See the second example usage hints.
OCINewDescriptor
@@ -771,7 +754,7 @@
OCIRowCount
- Gets the number of affected rows
+ 적용되어진 열의 갯수를 가져온다Description
@@ -782,9 +765,9 @@
- OCIRowCount returns the number of rows affected
- for eg update-statements. This function will not tell you the number
- of rows that a select will return!
+ OCIRowCount함수는 update같은 구문에 의해 적용되어진
+ 열의 갯수를 리턴한다. 이 함수는 select 가 리턴할 열의 갯수를
+ 말해 주진 않을 것이다!OCIRowCount
@@ -815,7 +798,7 @@
OCINumCols
- Return the number of result columns in a statement
+ 구문 결과값의 컬럼의 갯수를 리턴한다
@@ -827,8 +810,7 @@
- OCINumCols returns the number of columns in a
- statement
+ OCINumCols함수는 구문에서 컬럼의 갯수를 리턴한다.
OCINumCols
@@ -861,7 +843,7 @@
OCIResult
- Returns column value for fetched row
+ 페치된 열의 컬럼 값을 리턴한다Description
@@ -873,11 +855,11 @@
- OCIResult returns the data for column
- column in the current row (see
- OCIFetch).OCIResult will
- return everything as strings except for abstract types (ROWIDs,
- LOBs and FILEs).
+ OCIResult함수는 현재 열의 컬럼
+ column에 대한 데이터를 리턴한다
+ (OCIFetch함수를 보라).
+ OCIResult함수는 추상형데이터타입(ROWID, LOB, FILE)을
+ 제외한 문자열같은 모든 것을 리턴할 것이다.
@@ -885,7 +867,7 @@
OCIFetch
- Fetches the next row into result-buffer
+ 결과 버퍼(result-buffer)로 다음 열을 페치한다Description
@@ -896,8 +878,8 @@
- OCIFetch fetches the next row (for SELECT
- statements) into the internal result-buffer.
+ OCIFetch함수는 다음 열(SELECT 구문을 위해)을
+ 내부 결과 버퍼(internal result-buffer)에 페치한다.
@@ -905,7 +887,7 @@
OCIFetchInto
- Fetches the next row into result-array
+ 결과 배열(result-array)에 다음 열을 페치한다Description
@@ -920,32 +902,34 @@
- OCIFetchInto fetches the next row (for SELECT
- statements) into the result array.
- OCIFetchInto will overwrite the previous
- content of result. By default
- result will contain a one-based array of all
- columns that are not NULL.
+ OCIFetchInto함수는 다음열(SELECT 구문을 위해)을
+ result배열에 페치한다.
+ OCIFetchInto함수는 result
+ 변수의 이전값을 덮어 쓸것이다.
+ 기본적으로 result변수는 NULL이 아닌 모든 컬럼의
+ 일차원 배열을 포함할것이다.
The mode parameter allows you to change the
default behaviour. You can specify more than one flag by simply
adding them up (eg OCI_ASSOC+OCI_RETURN_NULLS). The known flags
are:
+ mode인수는 이 함수의 기본값을 변화시킨다.
+ 한개 이상의 플래그를 추가할수있다(OCI_ASSOC+OCI_RETURN_NULLS와 같이).
+ 알려진 플래그는 다음과 같다:
- OCI_ASSOC Return an associative array.
+ OCI_ASSOC 연관배열(associative array)을 리턴한다.
- OCI_NUM Return an numbered array starting with
- one. (DEFAULT)
+ OCI_NUM 1부터 시작하는 숫자를 갖는 변수를 리턴한다.
+ (디폴트)
- OCI_RETURN_NULLS Return empty columns.
+ OCI_RETURN_NULLS 빈 컬럼을 리턴한다.
- OCI_RETURN_LOBS Return the value of a LOB
- instead of the descriptor.
+ OCI_RETURN_LOBSdescriptor 대신에 LOB의 값을 리턴한다.
@@ -955,7 +939,7 @@
OCIFetchStatement
- Fetch all rows of result data into an array.
+ 배열에 모든 열의 결과 값을 페치한다.Description
@@ -967,10 +951,10 @@
- OCIFetchStatement fetches all the rows from a
- result into a user-defined array.
- OCIFetchStatement returns the number of rows
- fetched.
+ OCIFetchStatement함수는 사용자 정의 배열로
+ 결과값의 모든 열을 페치한다.
+ OCIFetchStatement함수는 페치된 열의 갯수를
+ 리턴한다.
OCIFetchStatement
@@ -1019,7 +1003,7 @@
OCIColumnIsNULL
- test whether a result column is NULL
+ 결과 컬럼이 널(NULL)인지 테스트한다Description
@@ -1031,11 +1015,12 @@
- OCIColumnIsNULL returns true if the returned
- column column in the result from the
- statement stmt is NULL. You can either use
- the column-number (1-Based) or the column-name for the
- col parameter.
+ OCIColumnIsNULL함수는
+ 구문 stmt의 결과값에서
+ 리턴된 컬럼 column 값이 널(NULL)이면
+ true를 리턴한다. col 인수를 위해
+ 컬럼 숫자(column-number(1-Based))나 컬럼 이름(column-name)을
+ 사용할 수 있다.
@@ -1043,7 +1028,7 @@
OCIColumnName
- Returns the name of a column.
+ 컬럼의 이름을 리턴한다.Description
@@ -1055,8 +1040,8 @@
- OCIColumnName returns the name of the column
- corresponding to the column number (1-based) that is passed in.
+ OCIColumnName 함수는 컬럼 숫자(1-based)에
+ 부합되는 컬럼 이름을 리턴한다.
@@ -1103,7 +1088,7 @@
OCIColumnSize
- return result column size
+ 결과 컬럼 사이즈를 리턴한다Description
@@ -1115,10 +1100,9 @@
- OCIColumnSize returns the size of the column
- as given by Oracle. You can either use
- the column-number (1-Based) or the column-name for the
- col parameter.
+ OCIColumnSize함수는 오라클에 의해 주어진
+ 컬럼의 사이즈를 리턴한다. col 인수에는
+ 컬럼 숫자(column-number (1-Based))나 컬럼 이름을 사용할 수 있다.
@@ -1166,7 +1150,7 @@
OCIColumnType
- Returns the data type of a column.
+ 컬럼의 데이터 타입을 리턴한다.Description
@@ -1178,9 +1162,8 @@
- OCIColumnType returns the data type of the
- column corresponding to the column number (1-based) that is passed
- in.
+ OCIColumnType함수는 컬럼 숫자(1-based)에 부합되는
+ 컬럼의 데이터 타입을 리턴한다.
@@ -1227,8 +1210,7 @@
OCIServerVersion
- Return a string containing server version
- information.
+ 서버 버전 정보를 포함하는 문자열을 리턴한다Description
@@ -1256,7 +1238,7 @@
OCIStatementType
- Return the type of an OCI statement.
+ OCI 구문(statement)의 타입을 리턴한다.Description
@@ -1267,8 +1249,7 @@
- OCIStatementType returns one of the following
- values:
+ OCIStatementType 함수는 다음중 하나를 리턴한다:
"SELECT" "UPDATE"
@@ -1396,7 +1377,7 @@
OCIFreeStatement
- Free all resources associated with a statement.
+ 구문(statement)에 연관된 모든 자원을 해제한다.
@@ -1408,8 +1389,8 @@
- OCIFreeStatement returns true if successful,
- or false if unsuccessful.
+ OCIFreeStatement 함수는 자원 해제에 성공하면 true를
+ 리턴하고, 실패하면 false를 리턴한다.
@@ -1418,7 +1399,7 @@
OCIFreeCursor
- Free all resources associated with a cursor.
+ 커서(cursor)에 연관된 모든 자원을 해제한다.
@@ -1430,8 +1411,8 @@
- OCIFreeCursor returns true if successful, or
- false if unsuccessful.
+ OCIFreeCursor 함수는 자원 해제에 성공하면 true를,
+ 실패하면 false를 리턴한다.
@@ -1439,7 +1420,7 @@
OCIFreeDesc
- Deletes a large object descriptor.
+ 큰 객체(large object) descriptor를 삭제한다.Description
@@ -1450,8 +1431,8 @@
- OCIFreeDesc returns true if successful, or
- false if unsuccessful.
+ OCIFreeDesc함수는 성공하면 true를,
+ 실패하면 false를 리턴한다.
@@ -1459,7 +1440,7 @@
OCIParse
- Parse a query and return a statement
+ 질의(query)를 해석하고 구문(statement)를 리턴한다Description
@@ -1471,19 +1452,20 @@
- OCIParse parses the
- query using conn.
- It returns the statement identity if the query is valid, false if
- not. The query can be any valid SQL
- statement.
+ OCIParse 함수는 conn인수를
+ 사용하는 query를 해석한다.
+ 질의(query)가 유효하면 구문(statement)를 리턴한다.
+ 그렇지 않으면 false를 리턴한다.
+ query인수는 어떤 유효한 SQL 구문(statement)
+ 도 될 수 있다.
OCIError
- Return the last error of stmt|conn|global.
- If no error happened returns false.
+ stmt|conn|global의 제일 마지막 에러를 리턴한다.
+ 아무 에러도 없었다면 false를 리턴한다.
@@ -1497,14 +1479,14 @@
- OCIError returns the last error found. If
- the optional stmt|conn|global is not
- provided, the last error encountered is returned. If no error is
- found, OCIError returns
- false. OCIError returns the error as an
- associative array. In this array, code
- consists the oracle error code and message
- the oracle errorstring.
+ OCIError함수는 마지막 에러를 리턴한다.
+ 선택적 인수stmt|conn|global가 제공되지않으면,
+ 제일 마지막에 발행한 에러가 리턴된다.
+ 아무 에러도 없었다면 OCIError함수는 false를 리턴한다.
+ OCIError함수는 연관배열(associative array)로서
+ 에러를 리턴한다. 이 배열은 오라클 에러 코드인
+ code인수와 오라클 에러문자열인
+ message인수로 구성된다.
@@ -1513,8 +1495,8 @@
OCIInternalDebug
- Enables or disables internal debug output. By default it is
- disabled
+ 내부 디버그 출력을 활성화 시키거나, 비활성화 시킨다.
+ 기본값으로 비활성화 되어있다.
@@ -1529,6 +1511,10 @@
OCIInternalDebug enables internal debug
output. Set onoff to 0 to turn debug
output off, 1 to turn it on.
+ OCIInternalDebug함수는 내부 디버그 출력을
+ 활성화 시킨다.
+ onoff인수를 0으로 놓으면 비활성화 되고,
+ 1로 놓으면 활성화 된다.