Forums

Database

Started by Karl-Heinz Pflaum May 22, 2002
Hi all,
I try to build up a database (SQL) with a table of vectors.
In the SQL-table I have defined a row with the datatype
of "image" which should keep the data. But how is it possible
to transfer the data from a MATLAB variable into the
database?
I always get the error message that the datatype int is not
compatible to image.
Thanks in advance,
Karl-Heinz



Hi Karl,
I dont know much abt SQL (Assuming its MS-SQL). But make sure that there
is a datatype called int fitting the characteristics of the 'int' from MATLAB.
I have successfully transfered data from matlab into a PostgreSQL database
using the database tool box of matlab. I run a linux system so had to use
a JDBC driver to get connected to the database using the database toolbox
of matlab.
Lemme know if you need more info.
Venu
-- Original Message --

>Hi all,
>I try to build up a database (SQL) with a table of vectors.
>In the SQL-table I have defined a row with the datatype
>of "image" which should keep the data. But how is it possible
>to transfer the data from a MATLAB variable into the
>database?
>I always get the error message that the datatype int is not
>compatible to image.
>Thanks in advance,
>Karl-Heinz >
>
>_____________________________________
>Note: If you do a simple "reply" with your email client, only the author
>of this message will receive your answer. You need to do a "reply all"
>if you want your answer to be distributed to the entire group.
>
>_____________________________________
>About this discussion group:
>
>To Join:
>
>To Post:
>
>To Leave:
>
>Archives: http://www.yahoogroups.com/group/matlab
>
>More DSP-Related Groups: http://www.dsprelated.com/groups.php3
>
>">http://docs.yahoo.com/info/terms/ >
>


**************************************************
**************************************************
Allavatam Venugopal Phone(Home):949-361-6604
1100, Calle Del Cerro, (Mobile):949-842-1767
Apt #123 J,
San Clemente, CA-92672
**************************************************