Create New Data Type
Posted by: larry williams
Date: March 24, 2012 09:31AM

I understand that MySQL does not support the 'Create Data Type' SQL command that is available in some products, so how do you create a new data type in MySQL? I need to create a special purpose data type based on a BLOB. I've used the BLOB in the MySQL source code as a model and have modified the source to accept my new type. Source builds just fine. But my new data type is not acceptable when trying to create an element of this type. It almost appears as though it needs to be 'registered' some place. My data type, like the BLOB and others, is defined as a symbol, so where can I say, when refering to my type that XXX is MyType? Essentially registering a new data type within MySQL. Anyone else ever done this?

Thanks in advance.

Options: ReplyQuote


Subject
Views
Written By
Posted
Create New Data Type
3073
March 24, 2012 09:31AM
1172
March 26, 2012 10:38AM
1159
March 26, 2012 04:50PM
964
March 26, 2012 12:26PM
1143
March 26, 2012 04:51PM
1148
March 26, 2012 06:55PM
1073
March 31, 2012 05:04AM
1237
April 01, 2012 09:15AM
1158
April 01, 2012 12:11PM
1153
April 03, 2012 09:45AM
1190
April 04, 2012 11:05AM
1325
May 14, 2012 12:21PM
1937
May 14, 2012 12:53PM
1234
March 26, 2012 01:32AM
1230
June 23, 2012 08:18AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.