What should be "Datatype" of byte data for Matlab database?

Insert data is "00011"
  • When datatype of below 'bitValue' column is like BINARY, VARBINARY, BINARY(n), VARBINARY(n), BOOLEAN ;
sqlquery1 = ['CREATE TABLE Adress(Id INT PRIMARY KEY, productName CHAR, bitValue BINARY)'];
Stored data is only "11"
These datatypes erase all "0" byte values until it encounter "1". What must be certain datatype for bytes data? or Is this problem occurs by another reason?

Answers (0)

Categories

Asked:

on 26 Jan 2019

Edited:

on 26 Jan 2019

Community Treasure Hunt

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

Start Hunting!