php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #18296 verify if a odbc field is nullable or not
Submitted: 2002-07-12 04:20 UTC Modified: 2017-10-23 01:05 UTC
Votes:3
Avg. Score:4.7 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: flomark at start dot no Assigned: kalle (profile)
Status: Closed Package: ODBC related
PHP Version: 4.2.1 OS: win32, Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: flomark at start dot no
New email:
PHP Version: OS:

 

 [2002-07-12 04:20 UTC] flomark at start dot no
Hi
I need a function to verify if a odbc field is nullable or not (eg. odbc_field_nullable). I hope this possible to fix.

Regards Flomark 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-01 00:52 UTC] jani@php.net
-Package: Feature/Change Request +Package: ODBC related
 [2017-10-23 01:05 UTC] kalle@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: kalle
 [2017-10-23 01:05 UTC] kalle@php.net
None of the other database drivers support something like this, and I think it should be considered best practice to query the database to find out if a field is nullable, this is what we would do internally anyway
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 13:01:34 2025 UTC