php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33855 Unable to identify a nvarchar field without an extra query
Submitted: 2005-07-25 22:47 UTC Modified: 2005-07-25 23:04 UTC
From: mauroi at digbang dot com Assigned:
Status: Not a bug Package: MSSQL related
PHP Version: 5.0.4 OS: Irrelevant
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: mauroi at digbang dot com
New email:
PHP Version: OS:

 

 [2005-07-25 22:47 UTC] mauroi at digbang dot com
Description:
------------
Our applications work in Unicode. So, everything we retrieve from the database has to be encoded to Unicode or Unicode from source. That's why we need to identify nvarchar fields (ntext also) and bypass the encoding with them.
mssql_field_type only returns 'char'.
Maybe a new function that returns the original data type (without making an inner query, if that's possible) could be the best solution.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-07-25 23:04 UTC] tony2001@php.net
If MSSQL doesn't differ them, obviously PHP can't do it too.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue May 17 05:05:45 2022 UTC