foreign key syntax

2014-12-13 Thread John Hancock
Is there a way to declare foreign keys explicitly in Phoenix SQL?

Re: can I prevent rounding of a/b when a and b are integers

2016-09-22 Thread John Hancock
I think it is fairly standard in programming languages for / to mean integer division when the operands used are integers. Therefore 1/3=0 is not a surprising result to me; other programming languages I have worked in give 1/3=0. However if one of the operands to / is a decimal, the result is