Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Does anyone have experience using SQLite with XNA?

Or using any other DB with XNA?

share|improve this question
    
I think you mean SQLite?? Might want to update the spelling (though Google will find it right) so people are aware. –  James Apr 15 '11 at 16:17
    
For sure using SQLite isn't a good choice when it comes to huge amounts of data: e.g. MMOs. –  daemonfire300 Apr 15 '11 at 16:39
3  
Now that I think about it, the appropriate answers are 'Yes', 'No but I used this' and 'No' Do we have a specific question to answer here??? –  James Apr 15 '11 at 17:46
    
Just a comment: Most games are better off loading their data all into RAM in which case the file storage format doesn't matter too much. –  Zan Lynx Apr 15 '11 at 21:41
1  
-1, because like @James says, there isn't a question here. –  Tetrad Apr 15 '11 at 21:49
add comment

2 Answers 2

up vote 7 down vote accepted

SQLight does work with XNA, just don't expect any store procedures or functions. Any flat file will work to store data (XML, JSON etc). I prefer XML, though if I was using lots of data I would switch to SQLite

share|improve this answer
add comment

You should have no issues Accessing SQLite from a Windows XNA Game. On Windows, XNA Project is just like any other project and you can do anything that C# can do. On Xbox or WP7 this isn't completely the case; however, there is also a C# version of SQLite written to run on fully managed environment (Xbox, WP7): see the ZMan's post here: http://xboxforums.create.msdn.com/forums/p/47127/282261.aspx

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.