Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using BETWEEN
Message
De
11/10/2012 16:01:13
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Versions des environnements
SQL Server:
SQL Server 2008
Divers
Thread ID:
01554816
Message ID:
01554850
Vues:
27
>>Boris
>>
>>AdjLow and AdjHigh are numeric(6,4) fields in the table
>>
>>
>>Both of you
>>
>>The full SQL is
>>
>>Update TestResult set ECLScore = (Select ECLScore from ScoreTable where @TotEAP between AdjLow and AdjHigh) where SCN = @SCN
>>
>>
>As Boris and I suggest, just run the inner SQL separately first.
> and also check if you have a row where SCN = @SCN

Been there done that, how do you think I narrowed it down to the BETWEEN part - and yes, I have only one row in the TestResult table and SCN = @SCN.
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform