there are same problem with VARBINARY, if you are forced to use existing database with such fields you can do it like this:
SELECT CAST(master.dbo.fn_varbintohexstr(VARBINARYFIELD) AS TEXT) FROM table;
![]() |
|
||||||||||
|
mssql_field_lengthDescriptionint mssql_field_length ( resource result [, int offset] )
This function returns the length of field no.
mssql_field_length
zz(lost dot childz at gmail dot com)
31-Oct-2007 04:41
there are same problem with VARBINARY, if you are forced to use existing database with such fields you can do it like this:
08-Feb-2005 01:56
You can also work around this limitation with the following: |