Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Index problem ??
Message
 
À
18/05/2007 06:08:46
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01226625
Message ID:
01226797
Vues:
14
>(1) select invno,jobno from apinvinfo where ltrim(rtrim(JOBNO)) ='HKL0705035'
>(2) select invno,jobno from apinvinfo where invno ='MAEU854396577'
>
>For statement(2) It return the correct result
>MAEU854396577 HKL0705035
>
>However for statement(1) , it return nothing !!!
>I make sure that Job no "HKL0705035" exist in the table (apinvinfo)
>why statement(1) fails ???

What is type of the field JOBNO?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform