क्या एसक्यूएल लाइट टेबल के लिए पंक्तियों की कुछ सीमा है? मेरा ऐप "कोई ऐसी तालिका x ..." त्रुटि नहीं दे रहा है जब उस तालिका में 6000 से अधिक पंक्तियां होंगी। 6000 पंक्तियों के नीचे, कोई त्रुटि न दें।एक एसक्लाइट तालिका में पंक्तियों की अधिकतम संख्या?
धन्यवाद।
यह सवाल है।
db = (new DatabaseHelper(this)).getWritableDatabase();
cursor = db.rawQuery("SELECT continentes._id, continentes.ContinenteID, continentes.Continente"
+ " FROM continentes"
+ " WHERE continentes.Continente LIKE ?"
+ " GROUP BY continentes.ContinenteID, continentes.Continente ORDER BY continentes.Continente",
new String[]{"%" + searchText.getText().toString() + "%"});
यह वह जगह है जहां मैं मेज
@Override
public void onCreate(SQLiteDatabase db) {
String s;
try {
Toast.makeText(context, "Creating Database", 2000).show();
InputStream in = context.getResources().openRawResource(R.raw.continentes);
DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
Document doc = builder.parse(in, null);
NodeList statements = doc.getElementsByTagName("statement");
for (int i=0; i<statements.getLength(); i++) {
s = statements.item(i).getChildNodes().item(0).getNodeValue();
db.execSQL(s);
}
} catch (Throwable t) {
Toast.makeText(context, t.toString(), 50000).show();
हल बनाने !!! मुझे पता है कि मुझे यह समस्या क्यों मिली। क्योंकि एसक्यूएल डेटाबेस बनाने और पॉप्युलेट करने के लिए मैं डेटा के साथ उपयोग की जाने वाली फ़ाइलों में 1.2 एमबी से अधिक नहीं हो सकता है। तो, मैंने उन्हें विभाजित किया, और अधिक समस्याएं नहीं हैं। सभी को धन्यवाद।
क्या आप अपनी क्वेरी पोस्ट कर सकते हैं? पंक्तियों की सीमा व्यावहारिक पहुंच योग्य नहीं है – Dyonisos
क्वेरी के कोड के साथ पोस्ट को अद्यतन करें। – filoli
क्या आप हमें लॉगैक जानकारी दे सकते हैं? – prolink007