is able to accommodate multiple data type in one column?

Posted by Jothi on Stack Overflow See other posts from Stack Overflow or by Jothi
Published on 2010-03-18T06:46:43Z Indexed on 2010/03/18 6:51 UTC
Read the original article Hit count: 203

Filed under:

hi,

i have one problem that, i have to change type of data in column based on foreign key stored in that row.

unit_id   unit_name
1          String
2          Float
3          Date
4          Int


Id      spec value   unit id
1         "A"         1
2         30.90       2
3         null        3
4         100         4

now i should achieve the above codition. how do i achieve it? please help me.

© Stack Overflow or respective owner

Related posts about mysqldb