empty the string fields in the sqlite database [closed]

3

Good afternoon I have a problem when saving data of type string in the database and it is that it does not keep them that I can do thanks, it registers empty.

    
asked by Juan David Gil 10.06.2016 в 00:46
source

1 answer

0

Well, you do not really give much data so we do not know if you are using the SQLite from the console, or try to do it from some other programming language, but I guess what you need is to confirm the transaction with the COMMIT command;

INSERT INTO COMPANY (ID,NAME,AGE,ADDRESS,SALARY)
VALUES (1, 'Paul', 32, 'California', 20000.00 );

commit;
    
answered by 10.06.2016 в 02:02