--
OMG!Code http://code.omahamakergroup.org
---
You received this message because you are subscribed to the Google Groups "OMG!Code" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omg-code+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/omg-code.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to omg-code+u...@googlegroups.com.
Visit this group at https://groups.google.com/group/omg-code.
For more options, visit https://groups.google.com/d/optout.
--
OMG!Code http://code.omahamakergroup.org
---
You received this message because you are subscribed to the Google Groups "OMG!Code" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omg-code+u...@googlegroups.com.
Data standardization, depending on the type of questions would be key. If the inputs are free-text the exercise gets quite a bit harder... I actually had to explain to a user once that I couldn't group by a free-text field...
On Thu, Mar 2, 2017 at 6:27 PM David Knaack <david...@gmail.com> wrote:
You can use a composite primary key on your table. Each column goes with a specific question, so when you query the database you will get the matching row. No need to convert the input to a number, though you might need to sanitize or standardize it a bit. The key guarantees that you will have only one matching row. It doesn't have to be the primary key, a unique index will work too. Doesn't work as well if.you don't have values for all of the fields, but there are other options too.
On Mar 2, 2017 5:04 PM, "Travis Smith" <trav...@gmail.com> wrote:
- So, I guess what I'm after is a way to convert my user's initial specs with a number. I thought I might be able to do this with a hash, but initial results are not promising. I'm seeing that the hashes might be entirely different depending on the machine that runs it, which wouldn't meet the goal.else I want to perform the computation and store the results under a new unique identifier.- I want the lookup to be a unique identifier that corresponds with the results of a series of input questions for the user.- I want to store info in a database (SQL, most likely)Hey guys,Feel free to tell me to keep digging on StackOverflow, but I'm having a hard time with this one:
If the exact inputs (4-12 questions) have been put in previously, I'd like to just return the pre-computed and stored results from the database.Thanks in advance,Travis
GPG Key: BFEB 7E65 04EB 184B A150 2E2C CC11 933F EE27 D86E
--
OMG!Code http://code.omahamakergroup.org
---
You received this message because you are subscribed to the Google Groups "OMG!Code" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omg-code+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/omg-code.
For more options, visit https://groups.google.com/d/optout.
--
OMG!Code http://code.omahamakergroup.org
---
You received this message because you are subscribed to the Google Groups "OMG!Code" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omg-code+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/omg-code.
For more options, visit https://groups.google.com/d/optout.
--
OMG!Code http://code.omahamakergroup.org
---
You received this message because you are subscribed to the Google Groups "OMG!Code" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omg-code+unsubscribe@googlegroups.com.
> To unsubscribe from this group and stop receiving emails from it, send an email to omg-code+unsubscribe@googlegroups.com.
> > To unsubscribe from this group and stop receiving emails from it, send an email to omg-code+unsubscribe@googlegroups.com.
> > Visit this group at https://groups.google.com/group/omg-code.
> > For more options, visit https://groups.google.com/d/optout.
>
>
> --
> OMG!Code http://code.omahamakergroup.org
> ---
> You received this message because you are subscribed to the Google Groups "OMG!Code" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to omg-code+unsubscribe@googlegroups.com.
> Visit this group at https://groups.google.com/group/omg-code.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> OMG!Code http://code.omahamakergroup.org
> ---
> You received this message because you are subscribed to the Google Groups "OMG!Code" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to omg-code+unsubscribe@googlegroups.com.
> Visit this group at https://groups.google.com/group/omg-code.
> For more options, visit https://groups.google.com/d/optout.
--
OMG!Code http://code.omahamakergroup.org
---
You received this message because you are subscribed to the Google Groups "OMG!Code" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omg-code+unsubscribe@googlegroups.com.
j