On Mon, Apr 9, 2012 at 1:42 PM, David Stoltz wrote:
> Folks,
>
> Having a difficult time using mssql_bind with characters greater than
> 8000...the database field is set to ntext, and I've also tried
> varchar(max), both seem to produce the same results:
>
> If I use:
> mssql_bind($stmt, '@mgrnot
Folks,
Having a difficult time using mssql_bind with characters greater than
8000...the database field is set to ntext, and I've also tried
varchar(max), both seem to produce the same results:
If I use:
mssql_bind($stmt, '@mgrnotes',$mgrnotes,SQLVARCHAR,false,false,8000);
I get the error:
Warnin
Code in question:
mssql_bind($stmt,
'@managerName',$managerName,SQLVARCHAR,false,false,50);
For a normal varchar field, the length is obvious, in this case 50.
But for an ntext field, how do I use the mssql_bind statement?
Far as I know, these are the only available "types" to use:
SQLTEXT, SQLV
3 matches
Mail list logo