Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Index problem ??
Message
 
To
18/05/2007 06:08:46
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
01226625
Message ID:
01226797
Views:
17
>(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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform