How to format the output in teradata
Teradata Teradata Discussion Forums Teradata.com Discussion Forum
Visit Teradata.com
Home       Guidelines    Member List
Welcome Guest ( Login | Register )
        


This online forum is for user-to-user discussions of Teradata products, and is not an official customer support channel for Teradata. If you require direct assistance, please contact Teradata support.


How to format the output in teradata Expand / Collapse
Author
Message
Posted 5/17/2006 2:41:27 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 7/31/2006 9:31:00 AM
Posts: 4, Visits: 1
Hi,

I am a newbie and just trying a simple thing which I am finding hard to do. I want to format the output and see the formatted result. I used to write this command in Oracle but it doesn;t work here:

column check_status format a50;

where check_status is the name of the column. Can somebody tell me what is the exact command?
Post #4194
Posted 5/24/2006 5:19:23 PM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: PAC and SFT Members
Last Login: Yesterday @ 4:20:22 PM
Posts: 327, Visits: 504
Use CAST function within your SELECT, e.g.
CAST(check_status AS CHAR(50))
Post #4236
Posted 6/3/2006 8:01:05 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 7/31/2006 9:31:00 AM
Posts: 4, Visits: 1
Thanks Fred...I realised it is very difficult to change the attribute characteristics in teradata....
Post #4301
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.


All times are GMT -5:00, Time now is 7:40am

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.063. 7 queries. Compression Disabled.