db2_primary_keys

(PECL ibm_db2 >= 1.0.0)

db2_primary_keys Returns a result set listing primary keys for a table

Beschreibung

db2_primary_keys(
    resource $connection,
    string $qualifier,
    string $schema,
    string $table-name
): resource

Returns a result set listing the primary keys for a table.

Parameter-Liste

connection

A valid connection to an IBM DB2, Cloudscape, or Apache Derby database.

qualifier

A qualifier for DB2 databases running on OS/390 or z/OS servers. For other databases, pass null or an empty string.

schema

The schema which contains the tables. If schema is null, db2_primary_keys() matches the schema for the current connection.

table-name

The name of the table.

Rückgabewerte

Returns a statement resource with a result set containing rows describing the primary keys for the specified table. The result set is composed of the following columns:

Column name Description
TABLE_CAT Name of the catalog for the table containing the primary key. The value is NULL if this table does not have catalogs.
TABLE_SCHEM Name of the schema for the table containing the primary key.
TABLE_NAME Name of the table containing the primary key.
COLUMN_NAME Name of the column containing the primary key.
KEY_SEQ 1-indexed position of the column in the key.
PK_NAME The name of the primary key.

Siehe auch

  • db2_column_privileges() - Returns a result set listing the columns and associated privileges for a table
  • db2_columns() - Returns a result set listing the columns and associated metadata for a table
  • db2_foreign_keys() - Returns a result set listing the foreign keys for a table
  • db2_procedure_columns() - Returns a result set listing stored procedure parameters
  • db2_procedures() - Returns a result set listing the stored procedures registered in a database
  • db2_special_columns() - Returns a result set listing the unique row identifier columns for a table
  • db2_statistics() - Returns a result set listing the index and statistics for a table
  • db2_table_privileges() - Returns a result set listing the tables and associated privileges in a database
  • db2_tables() - Returns a result set listing the tables and associated metadata in a database

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

Comprar en linea. como comprar pela internet - se puede comprar sin receta. Elche

Comprar en linea . como comprar pela internet ¿Necesita medicamentos de calidad sin complicaciones? ¡Nuestra farmacia en línea está aquí para ...

Geschrieben von travelder am 19.06.2026 21:17:57
Forum: Entwicklungsumgebungen
mbien Goedkoop. Goedkoop Ambien vereist voor online verkoop zonder recept - Ambien D

Goedkoop Ambien. Goedkoop Ambien vereist voor online verkoop zonder recept Kwaliteitsmedicijnen nodig zonder gedoe? Onze online apotheek is er om ...

Geschrieben von travelder am 19.06.2026 21:17:12
Forum: Projekthilfe
dderall Medicin. købe Adderall ingen recept - køb billigt Adderall. Kolding — Danmar

Medicin Adderall. købe Adderall ingen recept Har du brug for pålidelig medicin af høj kvalitet, men vil du ikke forlade hjemmet for at købe de ...

Geschrieben von drawer am 19.06.2026 21:16:50
Forum: Netzwerk & Internet
dderall En línea. para comprar Adderall precisa de laudo - para comprar Adderall pre

En línea Adderall. para comprar Adderall precisa de laudo ¿Necesita medicamentos de calidad sin complicaciones? ¡Nuestra farmacia en línea est ...

Geschrieben von travelder am 19.06.2026 21:16:20
Forum: Entwicklungsumgebungen