Afficher un message
Vieux 31/03/2008, 21h22   #1
Shuurai
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Doing Summation on multiple criterias on the same column in asingle query


> It is also a bad idea to use proprietary BIT data types to fake
> assembly language style programming. SQL is a predicate language;
> that is, we discover a fact with a predicate rather than set a flag.


Unless we're actually storing a Yes/No, True/False, or some other two-
valued data; as would seem to be indicated by the "INDICATOR" column
name.

INDICATOR, as an aside, is not a reserved word in SQL Server.
  Réponse avec citation
 
Page generated in 0,05850 seconds with 9 queries