setup data type in Matlab to export in SQL

조회 수: 2 (최근 30일)
yogan Sganzerla
yogan Sganzerla 2021년 6월 4일
답변: Vimal Rathod 2021년 6월 13일
Dear,
I hava a table in MATLAB that I would like to save in SQL.
In SQL the columns must have an specific type of variable, for example: the first column is "id" and it must be bigint(20).
how to set up in MATLAB my first column as bigint(20) to match with SQL table?
I tried something like int64 but the output you can see below and it is not the same:

채택된 답변

Vimal Rathod
Vimal Rathod 2021년 6월 13일
Hi,
You could refer to the following link for an example on specifing data type before insertion into table and there are other examples as well in that page on creating table from matlab to sql.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Database Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by