• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Saving variables into multiple tables
#9
(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.
  Reply


Messages In This Thread
RE: Saving variables into multiple tables - by Pinch - 2020-12-15, 03:45 PM

Forum Jump: