|
I'm trying to use the following select as a sub select in a CREATE TABLE
AS (....) statement. In essence I want to create a table using a 20 byte
field plus all the fields from the $POSTCODE table (actually a DS). The
resulting table will be populated with another SQL INSERT statement:
select ' ', * from $postcode
Token * was not valid. Valid tokens: ( + - ? : DAY RRN CASE CAST CHAI
It seems that DB2 doesn't like the asterisk used with another column.
It's either all the fields and only those fields, or hard-coding?.
I need to be able to reference the fields from the $POSTCODE DS as I am
writing a generic application and can't hard-code definitions.
Is there a way out of this?
*********************************************************************************************************
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed. If
you are not the intended recipient, any use, disclosure or copying of this
message is unauthorised. If you have received this message in error, please
reply using the sender's email address.
This footnote confirms that this email message has been scanned for computer
viruses. EIG-Ansvar Limited does not accept liability for any loss or damage,
whether caused by our own negligence or not, that results from a computer virus
or defect in the transmission of this email or any attached file.
EIG-Ansvar Limited - Australia (A.B.N. 21 007 216 506)
Email : insure@xxxxxxxxxxxxxxxx
Eig-Ansvar Limited - New Zealand
Email : insure@xxxxxxxxxxxxxxxx
*********************************************************************************************************
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.