Hi,
I need an operator like
SELECT field1 AS field,... FROM table1;
UNION ;
SELECT field2 AS field,... FROM table2;
...
INTO CURSOR table_final
The problem is that field1 and field2 (both numeric) have different sizes. As far as I understand, the first processed SELECT will define how fields will look in the final table, but it's not certain that it will actually produce some records, so the next one might be in charge for it. How can I make the resulting field to have a predefined size?
Thanks.
I need an operator like
SELECT field1 AS field,... FROM table1;
UNION ;
SELECT field2 AS field,... FROM table2;
...
INTO CURSOR table_final
The problem is that field1 and field2 (both numeric) have different sizes. As far as I understand, the first processed SELECT will define how fields will look in the final table, but it's not certain that it will actually produce some records, so the next one might be in charge for it. How can I make the resulting field to have a predefined size?
Thanks.