[Gllug] Introductions to Databases

Peter Corlett abuse at cabal.org.uk
Mon Jul 20 12:55:45 UTC 2009


On Sun, Jul 19, 2009 at 11:49:24AM +0100, Richard Jones wrote:
[...]
> There's another subtlety about this code which I forgot to mention. At
> compile time it checks the types of the columns against the database
> schema. So for example you'd get a compile time error if the name variable
> wasn't a string. Or if your DBA drops the email column without telling
> anyone, then again you'd get a clear compile-time error.

I'd like to see it raise a compile-time error if the DBA dropped it *after*
compilation. You're still going to end up with a run-time error, so what
have you actually gained?

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list