culumns

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

culumns

Postby raph156 » Sat Aug 27, 2011 4:12 am

Hi,
sum(if[ (holdem_hand_player_statistics.id_holecard = 22), 60.11, 0 ])
Thise column isnt valid and that happen for other like sum(if[ (holdem_hand_player_statistics.id_holecard =84), 49.2, 0 ])
but there is i think nothing wrong cause the formulation valid in other situation
As solution :
sum(if[ (holdem_hand_player_statistics.id_holecard = 22.0), 60.11, 0 ])
sum(if[ (holdem_hand_player_statistics.id_holecard =84.0), 49.2, 0 ])
valid
I want to be sur that resolve the problem or not? Postgre ll recognize 22.0 as 22?
Tx for help
raph156
 
Posts: 159
Joined: Tue Feb 09, 2010 3:22 pm

Re: culumns

Postby WhiteRider » Sat Aug 27, 2011 6:59 am

raph156 wrote:Hi,
sum(if[ (holdem_hand_player_statistics.id_holecard = 22), 60.11, 0 ])
Thise column isnt valid ..

That exact expression validates when I copy&paste it into PT3. Which section is that in? Holdem Cash Player Statistics?
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: culumns

Postby raph156 » Sat Aug 27, 2011 7:16 am

yes, i retry it and it doesnt work.
raph156
 
Posts: 159
Joined: Tue Feb 09, 2010 3:22 pm

Re: culumns

Postby WhiteRider » Sat Aug 27, 2011 8:41 am

I'm not sure what else to tell you - that exact expression validates for me. Make sure that there is nothing else in the expression field which might be interfering.
You could try using the blue "insert" link to add each element individually, to make sure everything is correct.
If you still can't get it to validate please attach a screenshot of the custom stat window to a Support ticket (or post it here) so that we can see what is going on.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: culumns

Postby raph156 » Sat Aug 27, 2011 2:30 pm

i have make the screenshot and he is png. How post it here?
raph156
 
Posts: 159
Joined: Tue Feb 09, 2010 3:22 pm

Re: culumns

Postby WhiteRider » Sat Aug 27, 2011 3:01 pm

You would have to host it online somewhere and include the link, or you can attach it to a Support ticket and post the ticket number here.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: culumns

Postby raph156 » Sat Aug 27, 2011 9:13 pm

raph156
 
Posts: 159
Joined: Tue Feb 09, 2010 3:22 pm

Re: culumns

Postby raph156 » Sun Aug 28, 2011 9:28 am

Hi,
i respond ont the ticket
raph156
 
Posts: 159
Joined: Tue Feb 09, 2010 3:22 pm

Re: culumns

Postby kraada » Sun Aug 28, 2011 5:36 pm

Thanks we appreciate it.
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