Welcome Guest, Not a member yet? Register   Sign In
Help with SELECT statement
#9

[eluser]bgreene[/eluser]
the advantage of a lookup table is eg you can change a device name in the device table and all reports will immediately show the new name without you having to rename countless occurrences in the downtime table. it also makes your code less error prone as you are comparing only integers rather than case- and spelling- sensitive strings. in an accounting system for example, a customer shows up in very many places but his name will only appear in one table and all other references will be via his id. you only need to change his name once. the same data should never ever be entered more than once in a system


Messages In This Thread
Help with SELECT statement - by El Forum - 07-27-2009, 09:25 AM
Help with SELECT statement - by El Forum - 07-27-2009, 09:43 AM
Help with SELECT statement - by El Forum - 07-27-2009, 09:47 AM
Help with SELECT statement - by El Forum - 07-27-2009, 11:14 AM
Help with SELECT statement - by El Forum - 07-29-2009, 08:13 AM
Help with SELECT statement - by El Forum - 08-05-2009, 09:07 AM
Help with SELECT statement - by El Forum - 08-05-2009, 09:25 AM
Help with SELECT statement - by El Forum - 08-05-2009, 09:31 AM
Help with SELECT statement - by El Forum - 08-05-2009, 09:59 AM
Help with SELECT statement - by El Forum - 08-05-2009, 10:19 AM
Help with SELECT statement - by El Forum - 08-05-2009, 10:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB