(2020-12-15, 03:42 PM)Epureanu Wrote: But how can I use the "id" in the other tables, when it is basically a column in "basic" table?This is outside of this subforum's topic, this is more of a SQL topic (SQL is entirely different language, nothing to do with PAWN)
You should learn (my)sql basics,
https://www.w3schools.com/sql/sql_foreignkey.asp
EDIT: Also, you have SQL variable called LAST INSERT ID
https://www.w3schools.com/sql/func_mysql...ert_id.asp
Fixed the url^
Using Pawn.CMD?
If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.
If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.