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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 11:01:31 2024 UTC