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...

While creating a table, by mistake you have given size of one
field as 10. But as per requirement size should be 8. What is
your next step?

Answer Posted / mr.perfect

IF field is having empty in table , then we can reduce or
increase the size of the field, using the alter statement .
i.e . alter table <tablename>
modify <new columnname ><data type><new size>
if the data in the table is non-empyt, then we cannot alter
the table. better to delete the column and add the same
column to new size.

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between cs and rr isolation levels? Where do you specify them?

1069


What is the physical storage length of the data types: date, time, timestamp in the db2 database?

1158


What is the maximum size of a char data type in db2?

1010


What is sqlca?

1073


What is netezza database?

1025


What is the role of the data page in the db2 database?

1028


Why do we need reorg in db2?

985


Mention the way of highlighting as well as putting a cursor to use in a cobol program.

1077


What is package in cobol db2?

1119


On which levels locks can be applied?

1130


Following a db2 update statement, what is the quickest way to compute the total number of updated rows?

1064


What is cloudant database?

1096


What is the difference between dbm cfg and db cfg file in db2 ?

1534


Explain how can you do the explain of a dynamic sql statement?

1125


What is buffer pool?

1106