SQL query help
Results 1 to 5 of 5

Thread: SQL query help

  1. #1
    Junior Member
    Join Date
    Sep 2008
    Posts
    22

    Default SQL query help

    Hello,
    some days ago I installed ramdisk to store my ongame databases, so i played a few play money hands so that ongame create a new .db file.
    After that, I wanted to delete those 3 play money hands from my database, and I found that the 12.5-25 blind level (the level I played playmoney at) had the 150 id in the database (in pgadmin)
    Si I made a
    DELETE FROM pokerhands_hero where gametype_id = 150
    (3 rows deleted, perfect)
    and
    DELETE FROM pokerhands where gametype _d = 150
    (3 rows deleted again)

    After that I look in my cash game -> report tab and those play money hands are gone...but today I look at my graph and....the play money hands are graphed !
    (so they appear in graph tab but not in report tab)
    So my question is : where are those hands in the database ? Can't find them.
    (please no "just make a filter", I want to delete them, thanks)
    Thank you.

    edit : if I purge the 12.5-25 level hands, it says "0 hands found"
    Last edited by Fred2k; 05-16-2009 at 07:46 PM.

  2. #2
    Junior Member
    Join Date
    Sep 2008
    Posts
    22

    Default

    No one ?

  3. #3
    Tech Support Manager morny's Avatar
    Join Date
    Jul 2008
    Location
    Ireland
    Posts
    20,888

    Default

    Thats a weird one, i initially thought since the play money hands were still in the userstats.da file they may have reimported but when they only show in reports thats weird.

    Firstly HM shouldnt import play money hands, are these hands mixed into the ongame database with real hands, if so can you send me that file and ill get that fixed. Maybe try creating a new database http://www.holdemmanager.net/faq/afm...aspx?faqid=146 and reimporting that .db file and then purge them again, also update to this version first http://www.holdemmanager.com/downloads/HmUpdate.exe

    My email for sending the hands is morny@holdemmanager.net
    --------------------------------------------------------------------------------------------------------------------
    We welcome any feedback on any solutions we provide, this helps us to provide better quality solutions in the future.

  4. #4
    Junior Member
    Join Date
    Sep 2008
    Posts
    22

    Default

    Thanks for the help. Just a little correction, those hands are in the graph and NOT in the report tab. (that is after I deleted them from database, before they appered in both graph and report tab)

    Here is the .db file that contain only the 3 hands in question :
    http://www.2shared.com/file/5826373/...75/112012.html

    Firstly HM shouldnt import play money hands, are these hands mixed into the ongame database with real hands
    that cannot be I think, because I followed your ramdisk guide, so I created a new ongame db on the ramdisk, played those 3 playmoney hands, then launched hem and told him my new ongameDB folder. So the .db file hold only play money hands.
    Last edited by Fred2k; 05-17-2009 at 08:24 PM.

  5. #5
    Tech Support Manager morny's Avatar
    Join Date
    Jul 2008
    Location
    Ireland
    Posts
    20,888

    Default

    Well get a patch out that they dont import play money hands anymore, in the meantime id say the best solution is a new database.
    Last edited by morny; 05-18-2009 at 04:47 PM.
    --------------------------------------------------------------------------------------------------------------------
    We welcome any feedback on any solutions we provide, this helps us to provide better quality solutions in the future.

Similar Threads

  1. SQL query
    By pelerin in forum Manager General
    Replies: 12
    Last Post: 01-19-2013, 06:13 PM
  2. SQL Query
    By jimbos in forum Manager General
    Replies: 4
    Last Post: 05-20-2009, 06:31 PM
  3. just a basic query
    By ShLiM in forum Manager General
    Replies: 3
    Last Post: 04-04-2009, 10:21 AM
  4. Rakeback Query
    By gareth336 in forum Manager General
    Replies: 1
    Last Post: 02-07-2009, 01:14 PM
  5. SQL Query Last hand
    By joostburg in forum Manager General
    Replies: 5
    Last Post: 12-12-2008, 02:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •