Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is this a valid SQL expression
Message
From
13/06/2001 16:22:34
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Is this a valid SQL expression
Miscellaneous
Thread ID:
00519051
Message ID:
00519051
Views:
43
I want to know if it is valid to put an expression on the left hand side of a relational operator in an SQL statement. Foxpro doesn't complain but an associate says it is worng and could produce questionable results.
Here is an example of what I am talking about.




select * from table1 where field1 * var1 >= 100 into cursor temp1


field1 is a numeric field in table1
var1 is a numeric variable
Next
Reply
Map
View

Click here to load this message in the networking platform