Click here to Skip to main content
15,898,987 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I have to insert a sentence into the Sqlite database using query. Now I am using the datatype varchar. When I tried to retrieve that value it shows like this-(0).

Is there any other datatype to store sentences into the database?

Thanks.
Posted
Updated 26-Sep-11 0:19am
v2

1 solution

You should use TEXT but, anyway, it shouldn't really matter as SQLite has not static data types, see "Datatypes In SQLite Version 3"[^].
I guess the problem is in your the store/retrieving code.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900