write a query following data.
123.45 is input.write a query after decimal (ex:.45) load
into database ?how it possible?

Answer Posted / yuvaevergreen

Assuming the column type to be decimal type and the same table to be updated, the string function can be used.
update dbname.tbname
set salary=
substr(cast (salary as char(10)),index(cast (salary as char(10)),'.'))
>>>salary is of type decimal..

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define views in teradata with syntax.

831


What is the maximum number of dml can be coded in a multiload script?

827


How would you load a very large file in teradata in general? What utility would you use for it? Why?

856


How many tables can you join in v2r5?

820


Describe the between keyword in teradata?

817


Highlight all the modes that are present under Confidence Level.

743


What are the steps involved in the process flow of the sql statement through channel attached system?

864


How do you determine the number of sessions?

815


What is the use of stored procedures in teradata?

772


Which is faster fastload or multiload?

815


What is meant by a Highest Cost Plan?

820


Explain fastload in teradata?

844


Hi send me the Teradata dumps to my id rajeshanantha@yahoo.co.in Thanks Rajesh. A

3137


Explain Teradata performance tuning and optimization?

924


What is the difference between teradata and oracle?

777