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

Leading Spaces in answer set in SQLA - forum topic by sharib hussain

$
0
0

Hello All,
I have created a dummy table and inserted one record in that table. When i simply select that record it gives me unwanted leading space in the answer set. 

CREATE TABLE dummy (a INTEGER);

INSERT INTO dummy VALUES (986);

 

SELECT '(' || TO_CHAR(a+1) || ')' FROM dummy;

 

result:

 

(     987)  <---- Notice the leading space in result

 

If i tried the same on different machine, the result is free from leading space. 

I am wondering if it is a bug or any setting in Teradata Sql Assistant. I tried it in all TD 12, TD13.10, TD 14 versions but did not get rid of this.

 

 

Any help would be definitely appreciated.

 

Thanks & Regards,

Sharib Hussain

 

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>