cubrid_set_db_parameter

(PECL CUBRID >= 8.4.0)

cubrid_set_db_parameterSets the CUBRID database parameters

Beschreibung

cubrid_set_db_parameter(resource $conn_identifier, int $param_type, int $param_value): bool

The cubrid_set_db_parameter() function is used to set the CUBRID database parameters. It can set the following CUBRID database parameters:

  • PARAM_ISOLATION_LEVEL
  • PARAM_LOCK_TIMEOUT

Hinweis:

The auto-commit mode can be set by using cubrid_set_autocommit().

Parameter-Liste

conn_identifier

The CUBRID connection. If the connection identifier is not specified, the last link opened by cubrid_connect() is assumed.

param_type

Database parameter type.

param_value

Isolation level value (1-6) or lock timeout (in seconds) value.

Rückgabewerte

Gibt bei Erfolg true zurück. Bei einem Fehler wird false zurückgegeben.

Beispiele

Beispiel #1 cubrid_get_db_parameter() example

<?php
$conn 
cubrid_connect("localhost"33000"demodb""dba");

$params cubrid_get_db_parameter($conn);
var_dump($params);

cubrid_set_autocommit($connCUBRID_AUTOCOMMIT_TRUE);
cubrid_set_db_parameter($connCUBRID_PARAM_ISOLATION_LEVEL2);

$params_new cubrid_get_db_parameter($conn);
var_dump($params_new);

cubrid_disconnect($conn);
?>

Das oben gezeigte Beispiel erzeugt folgende Ausgabe:

array(4) {
  ["PARAM_ISOLATION_LEVEL"]=>
  int(3)
  ["PARAM_LOCK_TIMEOUT"]=>
  int(-1)
  ["PARAM_MAX_STRING_LENGTH"]=>
  int(1073741823)
  ["PARAM_AUTO_COMMIT"]=>
  int(0)
}
array(4) {
  ["PARAM_ISOLATION_LEVEL"]=>
  int(2)
  ["PARAM_LOCK_TIMEOUT"]=>
  int(-1)
  ["PARAM_MAX_STRING_LENGTH"]=>
  int(1073741823)
  ["PARAM_AUTO_COMMIT"]=>
  int(1)
}

Siehe auch

Hier Kannst Du einen Kommentar verfassen


Bitte gib mindestens 10 Zeichen ein.
Wird geladen... Bitte warte.
* Pflichtangabe
Es sind noch keine Kommentare vorhanden.

Was genau bedeutet "Vibe Coding"? Ein tiefgehender Blick für Entwickler

In der Welt der Softwareentwicklung gibt es unzählige Wege, wie man an ein Projekt herangeht. Manche schwören auf strikte Planung, andere auf bewährte Algorithmen und wieder andere lassen sich von etwas ganz anderem leiten: ihrem Gefühl. ...

admin

Autor : admin
Kategorie: Software & Web-Development

PHP cURL-Tutorial: Verwendung von cURL zum Durchführen von HTTP-Anfragen

cURL ist eine leistungsstarke PHP-Erweiterung, die es Ihnen ermöglicht, mit verschiedenen Servern über verschiedene Protokolle wie HTTP, HTTPS, FTP und mehr zu kommunizieren. ...

TheMax

Autor : TheMax
Kategorie: PHP-Tutorials

Midjourney Tutorial - Anleitung für Anfänger

Über Midjourney, dem Tool zur Erstellung digitaler Bilder mithilfe von künstlicher Intelligenz, gibt es ein informatives Video mit dem Titel "Midjourney Tutorial auf Deutsch - Anleitung für Anfänger" ...

Mike94

Autor : Mike94
Kategorie: KI Tutorials

Tutorial veröffentlichen

Tutorial veröffentlichen

Teile Dein Wissen mit anderen Entwicklern weltweit

Du bist Profi in deinem Bereich und möchtest dein Wissen teilen, dann melde dich jetzt an und teile es mit unserer PHP-Community

mehr erfahren

Tutorial veröffentlichen

dumps201.net>USA SSN,Canada SIN,UK NIN,USA SSN DL front back with Selfie,CC & Dumps

I'm good hacker and verified seller Having experience in information technology in 9 years I need best buyer and long time business Let deals and ...

Geschrieben von sellergood11 am 05.06.2026 20:39:18
Forum: Apps und PHP Script Gesuche
dumps201.net>USA SSN DL front back with Selfie,CC & Dumps,USA SSN,Canada SIN,UK NIN

HOT Seller CVV Good 2026 - NON VBV Credit Card/Debit Card U.P.D.A.T.E CVV 2026 Sell CVV Good info And High Balance (Cvv CC Fullz Credit Cards Du ...

Geschrieben von sellergood11 am 05.06.2026 20:38:36
Forum: Entwicklungsumgebungen
dumps201.net>SSN NIN |SIN EIN W-2 FORMS REAL DLs HIGH CS FULLZ CC FULLZ

hi customers ALL THE WORLD I'm good hacker and verified seller Having experience in information technology in 9 years I need best buyer and long t ...

dumps201.net>Shop info FULLZ MMN,SSN/DOB/DL/CS/CR/BG etc), PROs + Photo DL

HOT 2026 Sell info fullz SSN + Dob + DL - Info Fullz Company contact me via>> Gmail : dumpss500@gmail.com telegram:@king_dumps12 SELL DUMPS WITH ...

Geschrieben von sellergood11 am 05.06.2026 20:36:36
Forum: Grafik / Design / Flash ...