Hi, I'm Spanish and little English, I will try to understand me best.
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.accou nts field site_code INT
in gamedb.characte rs field online INT
I need an update site_code set all rows to 1 if online is 0
For example:
The script runs on gamedb...
If I could help I would appreciate forever.
Greetings.
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.accou nts field site_code INT
in gamedb.characte rs field online INT
I need an update site_code set all rows to 1 if online is 0
For example:
Code:
UPDATE accountdb.dbo.accounts SET site_code = 1 WHERE online = 0
If I could help I would appreciate forever.
Greetings.
Comment