nevercom
کاربر متخصص انجمن مولتی مدیا بیلدر
من این موضوع رو براساس توضیحات جناب Silvercover در مثال SQLiteIntro عرض کردم:مطمئنيد ؟ آخه من قبلا با مشكلي شبيه به اين تو اين پلاگين درگير بودم و بعد از اينكه خاصيت فيلدم رو text كردم مشكلم حل شد. اينو بر حسب تجربه قبلي عرض كردم.
و همچنین این صفحه: http://www.sqlite.org/datatypes.htmlThe way in which SQLite stores data is built upon the realization that strong typing of data, as found in virtually every RDBMS on the market, is actually not a useful thing. A database is designed to store and retrieve data, plain and simple, and as such the developer should not have to declare a column as numeric, textual, or binary, or tie it to any other specific data type. Needing to do so is a legacy weakness of the underlying system that had to be reflected in SQL, not a feature added to the language.
SQLite is "typeless." It makes no difference whether you put a text string into an integer column or try to shove binary data into a text type. In fact you canand shouldspecify the column types when each table is created. SQLite's SQL implementation allows you to do this, but it's actually ignored by the engine.
That said, it's still a good idea to include the column data types in your CREATE TABLE statements to help you think through the database design thoroughly and as a reminder to yourself and a hint to other programmers as to what your intended use of each column was. Suppose, also, that in the future you want to migrate or mirror your data onto an RDBMS that does require column typingyou'll be glad your table definitions are well documented.
ولی خب، در عمل این موارد رو تست نکردم که مثلاً نوع داده ی CHAR چه تفاوتی با TEXT داره !
اگر امکانش هست تجربه تون در این مورد رو با من و سایر کاربران به اشتراک بگذارید
ممنون










