Index: phpdoc/de/functions/oci8.xml diff -u phpdoc/de/functions/oci8.xml:1.8 phpdoc/de/functions/oci8.xml:1.9 --- phpdoc/de/functions/oci8.xml:1.8 Tue Oct 31 00:11:06 2000 +++ phpdoc/de/functions/oci8.xml Fri Jan 26 12:46:58 2001 @@ -3,7 +3,7 @@ OCI8 - Diese Funktionen gestatten den Zugriff auf Oracle 7 und Oracle8 Datenbanken. + Diese Funktionen gestatten den Zugriff auf Oracle7 und Oracle8 Datenbanken. Es wird hierbei das Oracle8 Call-Interface (OCI8) verwendet, welches installierte Oracle8 Client Bibliotheken (Libraries) benötigt. @@ -47,33 +47,33 @@ OCIDefineByName - Use a PHP variable for the define-step during a SELECT + Definiert eine PHP Variable als Platzhalter für die Werte eines SELECTs - Description + Beschreibung int OCIDefineByName int stmt - string Column-Name - mixed &variable - int type + string Spaltenname + mixed &Variable + int Typ - OCIDefineByName uses fetches SQL-Columns - into user-defined PHP-Variables. Be careful that Oracle user - ALL-UPPERCASE column-names, whereby in your select you can also - write lower-case. OCIDefineByName expects - the Column-Name to be in uppercase. If you - define a variable that doesn't exists in you select statement, no - error will be given! + OCIDefineByName legt eine PHP Variable + als Ziel für den Inhalt einer Spalte nach dem Fetchen fest. + Es ist zu beachten, dass Oracle alle Spalten GROSSBUSTABIG ausliefert. + Daher erwartet OCIDefineByName den Parameter + Spaltenname grossbustabig. + Wird ein Spaltenname benutzt, der nicht im + SELECT vorhanden ist, wird keine Fehlermeldung ausgegeben. - If you need to define an abstract Datatype (LOB/ROWID/BFILE) you - need to allocate it first using - OCINewDescriptor function. See also the - OCIBindByName function. + Soll ein abstrakter Datentyp (LOB/ROWID/BFILE) definiert werden, + so muss er zuerst angefordert werden mit der OCINewDescriptor + Funktion. In diesem Zusammenhang ist auch die OCIBindByName + zu beachten. OCIDefineByName @@ -115,10 +115,10 @@ int OCIBindByName int stmt - string ph_name - mixed &variable - intlength - int type + string Platzhaltername + mixed &Variable + intLänge + int Typ @@ -207,9 +207,9 @@ int OCILogon - string username - string password - string db + string Benutzername + string Passwort + string Datenbankname @@ -312,7 +312,7 @@ print "</PRE></HTML>"; ?> - Bitte beachten Sie auch OCIPLogon und + Bitte beachte auch OCIPLogon und OCINLogon. @@ -320,38 +320,38 @@ OCIPLogon - Connect to an Oracle database and log on using a persistant connection. - Returns a new session. + Logt sich persistent in die Oracle Datenbank ein und erzeugt eine + neue Oracle Session. - Description + Beschreibung int OCIPLogon string username string password - string db + string Datenbank - OCIPLogon creates a persistent connection to - an Oracle 8 database and logs on. The optional third parameter - can either contain the name of the local Oracle instance or the - name of the entry in tnsnames.ora to which you want to connect. - If the optional third parameter is not specified, PHP uses the - environment variables ORACLE_SID (Oracle instance) or TWO_TASK - (tnsnames.ora) to determine which database to connect to. + OCIPLogon gibt bei erfolgreicher Öffnung einer persistenten + Verbindung einen Verbindungsindex zurück. Bei einem Fehler FALSE. Der optionale + dritte Parameter kann auf die lokale Oracleinstanz gesetzt werden oder + auf die, zu welcher sich verbunden werden soll. Diese sollte in der + tnsnames.ora aufgeführt sein. Wird der dritte Parameter nicht gesetzt + nimmt PHP automatisch den Wert aus der Umgebungsvariable ORACLE_SID oder + TWO_TASK. - See also OCILogon and + Bitte ebenfalls beachten OCILogon und OCINLogon. OCINLogon - Connect to an Oracle database and log on using a new connection. - Returns a new session. + Logt sich in die Oracle Datenbank ein und erzeugt dabei eine neue + Oracle Session. Description @@ -363,26 +363,27 @@ string db + + OCINogon gibt bei erfolgreicher Verbindung einen + Verbindungsindex zurück. Bei einem Fehler FALSE. Der optionale + dritte Parameter kann auf die lokale Oracleinstanz gesetzt werden oder + auf die, zu welcher sich verbunden werden soll. Diese sollte in der + tnsnames.ora aufgeführt sein. Wird der dritte Parameter nicht gesetzt + nimmt PHP automatisch den Wert aus der Umgebungsvariable ORACLE_SID oder + TWO_TASK. + - OCINLogon creates a new connection to an - Oracle 8 database and logs on. The optional third parameter can - either contain the name of the local Oracle instance or the name - of the entry in tnsnames.ora to which you want to connect. If - the optional third parameter is not specified, PHP uses the - environment variables ORACLE_SID (Oracle instance) or TWO_TASK - (tnsnames.ora) to determine which database to connect to. - - - 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 erzeugt eine neue Verbindung mit einer + neuen Oracle Session, dies ist zum Beispiel erforderlich, wenn + man mit voneinander getrennten Transaktionen arbeitet. + Normalerweise wird die Oracle Session gemeinsam genutzt, wenn man + OCILogon oder auf Webserverebene OCIPLogon + . Wenn man allerdings unterschiedliche Verbindungen mit + OCINLogon öffnet, beeinflussen sich die + Commits und Rollbacks der einzelnen Datenbankverbindungen nicht. - This example demonstrates how the connections are separated. + Dieses Beispiel zeigt, das es sich um unterschiedliche Verbindungen handelt: OCINLogon @@ -466,25 +467,25 @@ print "</PRE></HTML>"; ?> - See also OCILogon and + Bitte beachten OCILogon und OCIPLogon. OCILogOff - Disconnects from Oracle + Schliesst eine Datenbankverbindung zu Oracle - Description + Beschreibung int OCILogOff - int connection + int Verbindungskennung - OCILogOff closes an Oracle connection. + OCILogOff schliesst die Verbindung zu Oracle. @@ -492,10 +493,10 @@ OCIExecute - Execute a statement + führt ein Statement aus. - Description + Beschreibung int OCIExecute @@ -504,11 +505,11 @@ - OCIExecute executes a previously parsed statement. - (see OCIParse). The optional mode - allows you to specify the execution-mode (default is OCI_COMMIT_ON_SUCCESS). - If you don't want statements to be commited automaticly specify OCI_DEFAULT as - your mode. + OCIExecute führt ein vorbereitetes Statement aus + (beachte OCIParse). Der optionale Parameter mode + ermöglicht die Wahl des Ausführungsmodus. Voreingestellt ist OCI_COMMIT_ON_SUCCESS, + wenn das Statement aber nicht gleich endgültig gemacht werden soll, ist OCI_DEFAULT + zu verwenden. @@ -516,19 +517,19 @@ OCICommit - Commits outstanding transactions + Committet eine ausstehende Transaktion. - Description + Beschreibung int OCICommit - int connection + int Verbindungskennung - OCICommit commits all outstanding statements for - Oracle connection connection. + OCICommit schreibt alle Datenbankänderungen seit dem + letzten implizit oder explizitem Commit der Verbindungskennung fest. @@ -536,19 +537,21 @@ OCIRollback - Rolls back outstanding transactions + Macht ausstehende Transaktionen rückgängig - Description + Beschreibung int OCIRollback - int connection + int Verbindungskennung - OCIRollback rolls back all outstanding statements for - Oracle connection connection. + OCIRollback macht alle Änderungen seid dem letzten Commit + rückgängig und gibt auch Sperren auf den Tabellen frei. + Mit der Verbindungskennung legt man die Datenbankverbindung fest, + für welche diese Aktion gelten soll. @@ -559,7 +562,7 @@ Initialize a new empty descriptor LOB/FILE (LOB is default) - Description + Beschreibung string OCINewDescriptor @@ -644,10 +647,10 @@ OCIRowCount - Gets the number of affected rows + Gibt die Anzahl der betroffenen Zeilen zurück - Description + Beschreibung int OCIRowCount @@ -655,9 +658,10 @@ - OCIRowCounts returns the number of rows affected - for eg update-statements. This funtions will not tell you the number - of rows that a select will return! + OCIRowCounts gibt die Anzahl der betroffenen Zeilen + zum Beispiel einer UPDATE Aktion zurück. Sie gibt nicht die Anzahl der + zurückgelieferten Zeilen von einem SELECT Statements zurück! + OCIRowCount @@ -687,10 +691,10 @@ OCINumCols - Return the number of result columns in a statement + Gibt die Anzahl der Spalten in einem Statement zurück - Description + Beschreibung int OCINumCols @@ -698,7 +702,7 @@ - OCINumCols returns the number of columns in a statement + OCINumCols gibt die Anzahl der Spalten in einem Statement zurück. OCINumCols @@ -729,22 +733,22 @@ OCIResult - Returns coulumn value for fetched row + Gibt einen Spaltenwert für das gefetchte Statement zurück - Description + Beschreibung mixed OCIResult int statement - mixed column + mixed Spaltenname - 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 gibt den Inhalt der Spalte mit dem + Spaltenname in der aktuellen Zeile zurück (dazu wichtig + OCIFetch).OCIResult gibt alles als + Zeichenkette zurück, ausser es sind abstrakte Datentypen (ROWIDs, LOBs and FILEs). @@ -752,10 +756,10 @@ OCIFetch - Fetches the next row into result-buffer + Fetcht die nächste Ergebniszeile in den Ergebnispuffer - Description + Beschreibung int OCIFetch @@ -763,8 +767,8 @@ - OCIFetch fetches the next row (for SELECT statements) - into the internal result-buffer. + OCIFetch fetcht die nächste Ergebniszeile eines SELECTs in den + internen Ergebnispuffer. @@ -775,7 +779,7 @@ Fetches the next row into result-array - Description + Beschreibung int OCIFetchInto @@ -813,10 +817,10 @@ OCIFetchStatement - Fetch all rows of result data into an array. + Fetcht die Ergebnisse in ein Array - Description + Beschreibung int OCIFetchStatement @@ -825,9 +829,9 @@ - OCIFetchStatement fetches all the rows from a - result into a user-defined array. OCIFetchStatement - returns the number of rows fetched. + OCIFetchStatement fetcht alle zurückgelieferten Reihen + eines SELECT in ein Array. Dabei liefert OCIFetchStatement + die Anzahl der zurückgelieferten Zeilen zurück. OCIFetchStatement @@ -875,10 +879,10 @@ OCIColumnIsNULL - test whether a result column is NULL + Testet eine Spalte ob deren Inhalt NULL ist - Description + Beschreibung int OCIColumnIsNULL @@ -887,11 +891,10 @@ - OCIColumnIsNULL returns true if the returned - column col 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 gibt TRUE zurück, wenn die Spalte + col vom Statement stmt NULL ist. + Für den Parameter column kann wahlweise die Splatennummer + (beginnend bei 1) oder der Spaltenname genommen werden. @@ -900,10 +903,10 @@ OCIColumnSize - return result column size + Gibt die Grösse einer Spalte zurück - Description + Beschreibung int OCIColumnSize @@ -912,10 +915,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 gibt die grösse einer Oracle Spalte zurück. + Für den Parameter column kann wahlweise die Splatennummer + (beginnend bei 1) oder der Spaltenname genommen werden. @@ -950,8 +952,8 @@ print "</HTML>\n"; ?> - See also OCINumCols, OCIColumnName, - and OCIColumnSize. + Beachte bitte auch OCINumCols, OCIColumnName, + und OCIColumnSize. @@ -961,7 +963,7 @@ Return a string containing server version information. - Description + Beschreibung string OCIServerVersion @@ -984,10 +986,10 @@ OCIStatementType - Return the type of an OCI statement. + Gibt den Typ eine Statements zurück - Description + Beschreibung string OCIStatementType @@ -995,7 +997,7 @@ - OCIStatementType returns on of the following values: + OCIStatementType kann folgende Werte liefern: "SELECT" "UPDATE" @@ -1010,7 +1012,7 @@ - Code examples + Beispiel: <?php print "<HTML><PRE>"; @@ -1036,7 +1038,7 @@ return a new cursor (Statement-Handle) - use this to bind ref-cursors! - Description + Beschreibung int OCINewCursor