Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Type of field in SQL select
Message
From
30/10/2001 13:18:02
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Type of field in SQL select
Miscellaneous
Thread ID:
00575206
Message ID:
00575206
Views:
48
I never wondered about that situation but I thought I would ask for feedback. Basically, it never caused me any problem but here is the situation.

When doing a SQL, such as:
SELECT MyField FROM Parent;
 INNER JOIN Child ON Parent.Numero=Child.ParentNumero;
 INTO CURSOR Temp
Assuming Parent.Numero is having a type of Integer and Child.ParentNumero is having a type of Numeric(6), would that be optimized? So, in order to be fully optimized, should the types be all the same?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform