A code to work with database

How i supposed to write to make a code to work with some table of world database, auth or something? I know a little about Trinity code, i just want to know how i supposed to do that. Thank you guys. VQ

Here’s a good start:



Use WorldDatabase.Query(“SQLHERE”);

See how it is used in the core.

I know a little about how to put the code. But thank you, it will helpful.

Thank you, but and to get the return data? What i supposed to use? But anyway, thank YOU SO MUCH! /emoticons/default_smile.png

See it in the core.

ObjectMgr.cpp is full of them.

Try searching a little …

Something that would have given you the answer right away would have been by searching table names from the core source.

sorry, I left my spoon in my other pants, along with my universal gibberish translator.