NET Fox add child games automatically with SQL script
After each good environment, add the child game is a repetitive labor, very troublesome, how can let him automatically generated it.
Here we will use SQL script to solve.
Note: This foot will let the previous add information lost, everyone attention Test source network Fox local tyrants Gold version www.maliwl.com.
Write the following code into Notepad and save it as a "game id.sql".
Use Qpplatformdb
GO
TRUNCATE TABLE Gamegameitem
Insert into Gamegameitem (GameID, Gamename, Supportype, Databaseaddr, DataBaseName, ServerVersion, ClientVersion, Serverdllname, Clientexename)
VALUES (3, ' Texas Holdem ', 0, ' 127.0.0.1 ', ' qptreasuredb ', 101187587, 101187587, ' DZShowHandServer.dll ', ' DZShowHand.exe ')
TRUNCATE TABLE Gamekinditem
Insert into Gamekinditem (Kindid, GameID, TypeID, SortID, Kindname, ProcessName, Gameruleurl, DownloadURL, nullity)
VALUES (3, 3, 1, 0, ' Tak Chau poker ', ' DZShowHand.exe ', ', ', ' 0 ')
Test Picture: