In .NET, Does SQL have any part in game development? Is it used for anything?
c#, sql
Solution
99% of the time, no.
SQL is used for storing and retrieving large amounts of data quickly and efficiently. Think of a database as a filing cabinet (or usually a room full of filing cabinets) and SQL as an ultra efficient filing clerk!
If your game needs to store and retrieve lots of data (maybe a highly complex strategy game for example) then the answer may swap to yes, but on the list of things to study I would put it waaaay down.
If you do need to store settings etc. from your game you're better off
- storing it in the system registry, if the amount of data is tiny
- storing it in the application settings file of your app
- storing it in a text/binary file next to your game executable
Problem
I'm a self teaching beginner, and I know absolutely nothing about the technical specs of computers/programming in general. I am using a C# book to learn it, and I mainly just want to learn everything that relates to game development, if something has no part in game development/no use in it. I won't bother learning it for the time being. All I currently need to know is, does SQL have use when it comes to game programming?