Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sql view to Oracle doesn't return match records
Message
 
 
To
05/09/2000 13:05:47
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00412559
Message ID:
00412639
Views:
20
If the view was populated with data via VFP and the Oracle column is of type VarChar2, you will have to either right pad your value with spaces to match the field width or trim the field name.

cValue = padr(cValue, 20, " ")
WHERE myfield = ?cValue



>I have 2 views of the same Oracle table. One returns to me every records; another one ask user a code to return only one record.
>The first view returns correctly every records in oracle's table.
>Well, second view only returns the record if the code is 15 characters length. Otherwise view remains empty.
>The field in table and in views is c(20)
>I've tested with the two oracle's ODBC drivers: Microsoft's one and Oracle's one.
>Any ideas?
>TIA
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform