Home | Webstore
Latest News: OOTP 25 Available - FHM 10 Available - OOTP Go! Available

Out of the Park Baseball 25 Buy Now!

  

Go Back   OOTP Developments Forums > Out of the Park Baseball 25 > OOTP Mods > OOTP Mods - Database Tools

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

Reply
 
Thread Tools
Old 05-19-2006, 03:31 AM   #1
Marc Duffy
SI Marketing Wizard
 
Join Date: Mar 2004
Location: Old Street, London
Posts: 4,741
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
Marc Duffy
SI Marketing Wizard
 
Join Date: Mar 2004
Location: Old Street, London
Posts: 4,741
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
UKrookie
Minors (Double A)
 
UKrookie's Avatar
 
Join Date: Dec 2002
Location: Edinburgh, Scotland
Posts: 176
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 Reference WBL Tokyo Samurai UKBL Boston Red Sox NARBL SF Giants
UKrookie is offline   Reply With Quote
Old 05-19-2006, 02:17 PM   #4
jarmenia
Hall Of Famer
 
jarmenia's Avatar
 
Join Date: Mar 2002
Location: Tampa, FL USA
Posts: 4,503
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
__________________
When is good enough, good enough?

jarmenia is offline   Reply With Quote
Old 05-19-2006, 02:20 PM   #5
UKrookie
Minors (Double A)
 
UKrookie's Avatar
 
Join Date: Dec 2002
Location: Edinburgh, Scotland
Posts: 176
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 Reference WBL Tokyo Samurai UKBL Boston Red Sox NARBL SF Giants
UKrookie is offline   Reply With Quote
Old 05-19-2006, 05:07 PM   #6
Marc Duffy
SI Marketing Wizard
 
Join Date: Mar 2004
Location: Old Street, London
Posts: 4,741
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
jarmenia
Hall Of Famer
 
jarmenia's Avatar
 
Join Date: Mar 2002
Location: Tampa, FL USA
Posts: 4,503
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...
__________________
When is good enough, good enough?

jarmenia is offline   Reply With Quote
Old 05-23-2006, 05:57 AM   #8
Marc Duffy
SI Marketing Wizard
 
Join Date: Mar 2004
Location: Old Street, London
Posts: 4,741
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
canadiancreed
Hall Of Famer
 
Join Date: Aug 2004
Posts: 11,660
Blog Entries: 1
is there a link at all for this?
__________________
PT21



PT22

canadiancreed is offline   Reply With Quote
Old 05-23-2006, 08:11 AM   #10
Marc Duffy
SI Marketing Wizard
 
Join Date: Mar 2004
Location: Old Street, London
Posts: 4,741
How'd you mean?
Marc Duffy is offline   Reply With Quote
Old 05-23-2006, 08:21 AM   #11
canadiancreed
Hall Of Famer
 
Join Date: Aug 2004
Posts: 11,660
Blog Entries: 1
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.
__________________
PT21



PT22

canadiancreed is offline   Reply With Quote
Old 05-23-2006, 08:23 AM   #12
Marc Duffy
SI Marketing Wizard
 
Join Date: Mar 2004
Location: Old Street, London
Posts: 4,741
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
canadiancreed
Hall Of Famer
 
Join Date: Aug 2004
Posts: 11,660
Blog Entries: 1
Quote:
Originally Posted by Marc Duffy
It's of no use since it works in conjuntion with the game exe
oh
__________________
PT21



PT22

canadiancreed is offline   Reply With Quote
Old 05-23-2006, 09:35 AM   #14
Marc Duffy
SI Marketing Wizard
 
Join Date: Mar 2004
Location: Old Street, London
Posts: 4,741
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
canadiancreed
Hall Of Famer
 
Join Date: Aug 2004
Posts: 11,660
Blog Entries: 1
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
__________________
PT21



PT22

canadiancreed is offline   Reply With Quote
Old 05-23-2006, 09:53 AM   #16
Marc Duffy
SI Marketing Wizard
 
Join Date: Mar 2004
Location: Old Street, London
Posts: 4,741
My bad, fixed
Marc Duffy is offline   Reply With Quote
Old 05-23-2006, 09:57 AM   #17
canadiancreed
Hall Of Famer
 
Join Date: Aug 2004
Posts: 11,660
Blog Entries: 1
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?
__________________
PT21



PT22


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
andymac
Hall Of Famer
 
andymac's Avatar
 
Join Date: Feb 2002
Location: Effingham, IL
Posts: 5,725
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
Marc Duffy
SI Marketing Wizard
 
Join Date: Mar 2004
Location: Old Street, London
Posts: 4,741
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
canadiancreed
Hall Of Famer
 
Join Date: Aug 2004
Posts: 11,660
Blog Entries: 1
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
__________________
PT21



PT22

canadiancreed is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:44 PM.

 

Major League and Minor League Baseball trademarks and copyrights are used with permission of Major League Baseball. Visit MLB.com and MiLB.com.

Officially Licensed Product – MLB Players, Inc.

Out of the Park Baseball is a registered trademark of Out of the Park Developments GmbH & Co. KG

Google Play is a trademark of Google Inc.

Apple, iPhone, iPod touch and iPad are trademarks of Apple Inc., registered in the U.S. and other countries.

COPYRIGHT © 2023 OUT OF THE PARK DEVELOPMENTS. ALL RIGHTS RESERVED.

 

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright © 2020 Out of the Park Developments