Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

SELECT * not returning all columns - forum topic by RA186030

$
0
0

I created a table and added a row:


CREATE MULTISET TABLE sales_transaction (
            tran_id INTEGER,
            tran_date DATE NOT NULL format 'YYYY-MM-DD' DEFAULT DATE '2000-01-01',
            customer VARCHAR(100),
            amount DECIMAL(18,2)
        );

INSERT INTO sales_transaction VALUES (3,'2008-11-26', 'customer', 18.56);

 
When I do a SELECT * the last column does not appear in the result.  I tried:
 

.SET WIDTH 100;
.SET RETLIMIT * *;

My result is shown:
 

SELECT * FROM sales_transaction;

 *** Query completed. One row found. 4 columns returned.
 *** Total elapsed time was 1 second.

    tran_id  tran_date customer
----------- ---------- ----------------------------------------------------
          3 2008-11-26 customer

 

 

Forums: 

Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>