Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Why managing the data is important?

1015


What do you mean by fastexport in teradata?

999


What can be achieved by using the teradata rdbms?

1035


If I wanted to run a TPump job only once per day - basically working on a file that is produced once per day - how would you set up the parameters for that sort of job ?

2474


What is the syntax for case when statement?

1143


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

1119


What is TPD?

1372


Explain and compare pros and cons of start schemas?

1063


Explain the most common data types used in teradata?

1069


What are default access rights in teradata? What explicit right can be given to a user?

1112


Explain fallback in teradata?

1058


Describe the between keyword in teradata?

1040


How is MLOAD Teradata Server restarted after execution?

1261


What is meant by a Highest Cost Plan?

1063


What is meant by a dispatcher?

1021