[ Index ]
 

Code source de Mantis 1.1.0rc3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/core/adodb/drivers/ -> adodb-mssql_n.inc.php (sommaire)

MSSQL Driver with auto-prepended "N" for correct unicode storage of SQL literal strings. Intended to be used with MSSQL drivers that are sending UCS-2 data to MSSQL (FreeTDS and ODBTP) in order to get true cross-db compatibility from the application point of view.

Poids: 171 lignes (7 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 2 classes

ADODB_mssql_n:: (3 méthodes):
  ADODB_mssqlpo()
  _query()
  _appendN()

ADORecordset_mssql_n:: (1 méthode):
  ADORecordset_mssql_n()


Classe: ADODB_mssql_n  - X-Ref

ADODB_mssqlpo()   X-Ref
Pas de description

_query($sql,$inputarr)   X-Ref
Pas de description

_appendN($sql)   X-Ref
This function will intercept all the literals used in the SQL, prepending the "N" char to them
in order to allow mssql to store properly data sent in the correct UCS-2 encoding (by freeTDS
and ODBTP) keeping SQL compatibility at ADOdb level (instead of hacking every project to add
the "N" notation when working against MSSQL.

Note that this hack only must be used if ALL the char-based columns in your DB are of type nchar,
nvarchar and ntext

Classe: ADORecordset_mssql_n  - X-Ref

ADORecordset_mssql_n($id,$mode=false)   X-Ref
Pas de description



Généré le : Thu Nov 29 09:42:17 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics