Missing hand histories in my database

Forum for users that want to write their own custom queries against the PT database either via the Structured Query Language (SQL) or using the PT3 custom stats/reports interface.

Moderator: Moderators

Missing hand histories in my database

Postby Mike_ » Tue Sep 21, 2010 10:38 am

I've noticed some of my tournaments have summaries but no hand histories.

How I can run a report to show a list of the missing ones?

I did attempt it myself but had a blank screen for several hours :cry:
Mike_
 
Posts: 193
Joined: Tue Nov 04, 2008 1:58 pm

Re: Missing hand histories in my database

Postby kraada » Tue Sep 21, 2010 11:56 am

The following filter will filter to only those tournaments with results and no hands in the database:

tourney_holdem_results.id_tourney not in (SELECT id_tourney from tourney_holdem_hand_summary)
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to Custom Stats, Reports, and SQL [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests