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

What is a storage group (stogroup)?

1285


What is collection in db2 bind?

1061


What is with ur in db2?

1384


Comment whether the cursor is closed during commit or not.

1169


How do you concatenate the firstname and lastname from emp table to give a complete name?

1118


Which is faster delete or truncate?

1175


What do you mean by rollback?

1030


What is the default page size of buffer pools?

1170


Explain about open switch business continuity software?

1183


Why do we use cursor?

1162


How many types of page locks can be held in db2?

1087


How can you quickly find out the # of rows updated after an update statement?

1084


What is the physical storage length of the data types date, time, and timestamp?

1138


List out the three types of page locks that can be held.

1193


what is a corelated subquerry?

1169