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 / ankal

assuming this value is sal colume i mean sal=123.45; u want to update it with after decimal value.i think The following query try.

update table_name set sal=sal-cast(sal as int));

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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 ?

2483


What are the things to be considered while creating secondary index?

1104


Did you write stored procedures in teradata?

1138


What are the string manipulation operators and functions associated with teradata?

1101


What is the purpose of joins in teradata and what are the available join types?

1091


Difference between inner join and outer join?

1039


What are the various reporting tools in the market?

1074


What is the primary index in teradata?

1214


What is the use of having index on table?

1007


What is a node in teradata? Explain

1014


What is the difference between teradata and oracle?

1034


How to run a query in teradata?

1092


Explain the term 'foreign key' related to relational database management system?

1051


What happens when a node suffers a downfall?

1141


What are the different functions included in the server software?

1041