Valentin Todorov (SEA) writes:
> Hi,
> 
> I ported to MySQL a database that has BINARY(n) columns. MySQL
> silently changed them to VARCHAR(n) BINARY.
> 
> And now the ResultSetMetaData.getColumnType() returns type 12=VARCHAR.
> 
> Can I in some way access the attribute BINARY?!
> 
> 
> Valentin
> 
> 
> ------------------------------------------------------------------- 
> Valentin Todorov
> Ericsson Austria AG
> Pottendorferstrasse 25-27
> A-1121 Vienna
> email: mailto:[EMAIL PROTECTED]
> Telefon: +43 1 811 00 5569
> Telefax: +43 1 81100 11 5569
> ------------------------------------------------------------------- 
> 
> 
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
> 
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> 
> 

Hi!

What do you mean by accessing the attribute BINARY ??

You can always run DESCRIBE TABLE query and query each attribute.


Regards,

Sinisa

      ____  __     _____   _____  ___     ==  MySQL AB
     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Sinisa Milivojevic
    /*/ /*/ /*/   \*\_   |*|   |*||*|     mailto:[EMAIL PROTECTED]
   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Larnaca, Cyprus
  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____
  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^
             /*/             \*\                Developers Team

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to