Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: SQL For an opening book... Request for feedback

Author: Dann Corbit

Date: 10:59:33 02/11/03

Go up one level in this thread


On February 11, 2003 at 08:26:26, John Wentworth2 wrote:

>On February 11, 2003 at 04:28:09, Angrim wrote:
>
>>  This format certainly provides a lot of data.  Much of this data is
>>unlikely to be useful for a specific program, but having all of it
>>means that multiple programs which use different criteria for picking
>>book moves could share a book db.
>>  I have some doubts about the usefulness of storing an expected move,
>>since the first move out of book is a surprise move almost by definition.
>>If you know what they will play, and the current position is at
>>all common, you should already have the counter to their next
>>move in book.
>>  Not being an SQL expert, I do have one other concern.  Can an SQL field
>>of type "char" store all values from 0 to 255?  That ability is needed
>>if you are storing a 64 bit hash into an 8 char field.
>
>Could you not use SQLVariant instead of char?

It's not an ANSI/ISO defined type, and most database systems do not support it.
Same for varbinary.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.