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

How many tables can you join in v2r5?

626


How to eliminate product joins in a teradata sql query?

603


Explain the parallel data extension in teradata?

658


What are the steps involved after the disk manager passes the request?

580


i learn teradata,it is so intersting,now i want teradata certifications ,so any 1 help me to get teradata certifications TD 12 ? email:kdcrazyy@gmail.com

1770






What is the use of virtual processor connectivity in teradata?

568


How to select first n records in teradata?

611


What do you mean by parsing?

633


What is the command in bteq to check for session settings ?

634


Differentiate primary key and partition key?

581


What do high confidence, low confidence and no confidence mean in explain plan?

590


How do you set the session mode parameters in bteq?

611


Explain the most common data types used in teradata?

591


How is MLOAD Client System restarted after execution?

602


What is teradata?

646