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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
1 + 31 = ?
Subscribe to this entry?

 
 [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: Mon May 06 14:01:33 2024 UTC