1

I have a table with five columns and there is an attribute with the name NoOfCreditCards. This attribute's data type is varchar with length 2. When the table is shown in the SQL command line the name of the NoOfCreditCards column appears only as No, the rest part of the name does not appear. I have tried to use "set lin" with different sizes, but it did not work. How can i resolve this issue?

4

1 回答 1

0

您必须在 select 语句中命名列。像这样的东西:

SELECT NoOfCreditCards "NoOfCreditCards"
FROM TABLE
WHERE ...;
于 2012-11-25T20:56:22.743 回答