I am creating an online game based on xml, lua and SQL Server, I have a database named accountdb and other named gamedb.
within accountdb This table accounts and within gamedb This table characters... Ok
in accountdb.accounts field site_code INT
in gamedb.characters field online INT
I need an update site_code set all rows to 1 if online is 0
For example:
Expand|Select|Wrap|Line Numbers
- UPDATE accountdb.dbo.accounts SET site_code = 1 WHERE online = 0
If I could help I would appreciate forever.
Greetings.