Latest News: OOTP PATCH 9.1.6 released! - OOTP 9 RELEASED! - Title Bout Championship Boxing 2.5 released! - OOTP 2007 receives Editors Choice Award from PC Gamer - Inside the Park Baseball Patch 1.03 released, DEMO now available

Click here to download Out of the Park Baseball 9!

Go Back   OOTP Developments Forums > OUT OF THE PARK BASEBALL 9 > OOTP 9 - Mods > Database Tools
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Database Tools Do you need to take a dump? SQL gurus welcome

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 05-19-2006, 03:31 AM   #1 (permalink)
SI Marketing Wizard
 
Marc Duffy's Avatar
 
Join Date: Mar 2004
Location: Islington, London
Posts: 4,743
Update SQL zip later today

Complete with Primary keys (thanks jarmenia) and the bug fix from the last SQL
Marc Duffy is offline   Reply With Quote
Old 05-19-2006, 10:44 AM   #2 (permalink)
SI Marketing Wizard
 
Marc Duffy's Avatar
 
Join Date: Mar 2004
Location: Islington, London
Posts: 4,743
I just had another dump!

Primary keys added to the SQL dump and those pesky bugs are fixed (that's not to say we didnt make more bugs)

Download the files from the same place again! Happy creating...
Marc Duffy is offline   Reply With Quote
Old 05-19-2006, 12:02 PM   #3 (permalink)
Minors (Double A)
 
UKrookie's Avatar
 
Join Date: Dec 2002
Location: Edinburgh, Scotland
Posts: 166
Thanks for the updated sql dump.

The good news is they all import with no errors, although you need to remove the first line in all the files editing out the drop table instruction since on a new install the table don't exist, that apart all is good.
__________________
James

IBA
LLM Mexico City Red Devils
WBL Tokyo Samurai
UKBL Boston Red Sox
UKrookie is offline   Reply With Quote
Old 05-19-2006, 02:17 PM   #4 (permalink)
Hall Of Famer
 
Join Date: Mar 2002
Location: Gainesville, FL USA
Posts: 3,353
Quote:
Originally Posted by UKrookie
Thanks for the updated sql dump.

The good news is they all import with no errors, although you need to remove the first line in all the files editing out the drop table instruction since on a new install the table don't exist, that apart all is good.
Or make your code check to see if the tables exist before trying to drop the table
__________________
If not perfection, when is good enough, good enough?

jarmenia is offline   Reply With Quote
Old 05-19-2006, 02:20 PM   #5 (permalink)
Minors (Double A)
 
UKrookie's Avatar
 
Join Date: Dec 2002
Location: Edinburgh, Scotland
Posts: 166
Quote:
Or make your code check to see if the tables exist before trying to drop the table
If only, I imported them individually.
__________________
James

IBA
LLM Mexico City Red Devils
WBL Tokyo Samurai
UKBL Boston Red Sox
UKrookie is offline   Reply With Quote
Old 05-19-2006, 05:07 PM   #6 (permalink)
SI Marketing Wizard
 
Marc Duffy's Avatar
 
Join Date: Mar 2004
Location: Islington, London
Posts: 4,743
Quote:
Originally Posted by UKrookie
Thanks for the updated sql dump.

The good news is they all import with no errors, although you need to remove the first line in all the files editing out the drop table instruction since on a new install the table don't exist, that apart all is good.
Remember, this flag is configurable in the app config file talked about rhe other day.
Marc Duffy is offline   Reply With Quote
Old 05-19-2006, 07:50 PM   #7 (permalink)
Hall Of Famer
 
Join Date: Mar 2002
Location: Gainesville, FL USA
Posts: 3,353
Quote:
Originally Posted by Marc Duffy
Remember, this flag is configurable in the app config file talked about rhe other day.

What other parts of the dump are configurable with these flags? Its the first I've heard about them. And I thought I was almost done...
__________________
If not perfection, when is good enough, good enough?

jarmenia is offline   Reply With Quote
Old 05-23-2006, 05:57 AM   #8 (permalink)
SI Marketing Wizard
 
Marc Duffy's Avatar
 
Join Date: Mar 2004
Location: Islington, London
Posts: 4,743
sqldump_syntax

1 -> 1 = MS Access Sets the SQL command syntax

sqldump_include_field_names_in_inserts

0 -> if you're just using the default table format without changing the table structure manually, you don't need the field names in the INSERT command. This will make the .sql files much smaller

sqldump_special_char_name_start

[ ->will be used before a table or field name

sqldump_special_char_name_end

] ->will be used after a table or field name

sqldump_drop_table

0 ->insert a drop table command for each table

sqldump_create_structure

1 ->insert a create structure command for each table
Marc Duffy is offline   Reply With Quote
Old 05-23-2006, 06:08 AM   #9 (permalink)
Hall Of Famer
 
canadiancreed's Avatar
 
Join Date: Aug 2004
Posts: 9,776
is there a link at all for this?
canadiancreed is offline   Reply With Quote
Old 05-23-2006, 08:11 AM   #10 (permalink)
SI Marketing Wizard
 
Marc Duffy's Avatar
 
Join Date: Mar 2004
Location: Islington, London
Posts: 4,743
How'd you mean?
Marc Duffy is offline   Reply With Quote
Old 05-23-2006, 08:21 AM   #11 (permalink)
Hall Of Famer
 
canadiancreed's Avatar
 
Join Date: Aug 2004
Posts: 9,776
Quote:
Originally Posted by Marc Duffy
How'd you mean?
well I mean a link for the file or zip itself. UNless it's in another thread.
canadiancreed is offline   Reply With Quote
Old 05-23-2006, 08:23 AM   #12 (permalink)
SI Marketing Wizard
 
Marc Duffy's Avatar
 
Join Date: Mar 2004
Location: Islington, London
Posts: 4,743
It's of no use since it works in conjuntion with the game exe
Marc Duffy is offline   Reply With Quote
Old 05-23-2006, 08:25 AM   #13 (permalink)
Hall Of Famer
 
canadiancreed's Avatar
 
Join Date: Aug 2004
Posts: 9,776
Quote:
Originally Posted by Marc Duffy
It's of no use since it works in conjuntion with the game exe
oh
canadiancreed is offline   Reply With Quote
Old 05-23-2006, 09:35 AM   #14 (permalink)
SI Marketing Wizard
 
Marc Duffy's Avatar
 
Join Date: Mar 2004
Location: Islington, London
Posts: 4,743
Bugs fixed
Even more data now exported
Added a CSV version now too

As a result of this, the download file size is approx 10x bigger

SQL - http://www.ootpbaseball2006.com/down...dump_mysql.zip
Access - http://www.ootpbaseball2006.com/down..._ms_access.zip
CSV - http://www.ootpbaseball2006.com/down...b_dump_csv.zip

Last edited by Marc Duffy : 05-23-2006 at 09:53 AM.
Marc Duffy is offline   Reply With Quote
Old 05-23-2006, 09:51 AM   #15 (permalink)
Hall Of Famer
 
canadiancreed's Avatar
 
Join Date: Aug 2004
Posts: 9,776
Quote:
Originally Posted by Marc Duffy
Bugs fixed
Even more data now exported
Added a CSV version now too

As a result of this, the download file size is approx 10x bigger

SQL - http://www.ootpbaseball2006.com/down...dump_mysql.zip
Access - http://www.ootpbaseball2006.com/down..._ms_access.zip
CSV - http://www.ootpbaseball2006.com/down...b_dump_csv.zip
links don't work
canadiancreed is offline   Reply With Quote
Old 05-23-2006, 09:53 AM   #16 (permalink)
SI Marketing Wizard
 
Marc Duffy's Avatar
 
Join Date: Mar 2004
Location: Islington, London
Posts: 4,743
My bad, fixed
Marc Duffy is offline   Reply With Quote
Old 05-23-2006, 09:57 AM   #17 (permalink)
Hall Of Famer
 
canadiancreed's Avatar
 
Join Date: Aug 2004
Posts: 9,776
Quote:
Originally Posted by Marc Duffy
My bad, fixed
thanks

and my GOD! This is sweet The fun I can have with this......dammit I need mroe free time

One Q thought, all changes made in the SQL can be re-imported into the game and change what is in the game itself right?

Last edited by canadiancreed : 05-23-2006 at 09:59 AM.
canadiancreed is offline   Reply With Quote
Old 05-23-2006, 10:01 AM   #18 (permalink)
Hall Of Famer
 
andymac's Avatar
 
Join Date: Feb 2002
Location: Effingham, IL
Posts: 5,353
Quote:
Originally Posted by canadiancreed
One Q thought, all changes made in the SQL can be re-imported into the game and change what is in the game itself right?

I don't believe this is the case at all, though it would be extremely nice.
__________________
June Madness: Links

FTB: andymac
andymac is offline   Reply With Quote
Old 05-23-2006, 10:02 AM   #19 (permalink)
SI Marketing Wizard
 
Marc Duffy's Avatar
 
Join Date: Mar 2004
Location: Islington, London
Posts: 4,743
No, this is not the case. It's a one way street.
Marc Duffy is offline   Reply With Quote
Old 05-23-2006, 10:06 AM   #20 (permalink)
Hall Of Famer
 
canadiancreed's Avatar
 
Join Date: Aug 2004
Posts: 9,776
Quote:
Originally Posted by Marc Duffy
No, this is not the case. It's a one way street.
hmm ok that's what I figured. Just wondering regarding nations and names and what not.

Still a great step up from those damn .dat files
canadiancreed is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 04:54 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 Out of the Park Developments