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

How create table structure only from tableA to TableB if
TableA have some data?

Answer Posted / karthik

Create table emp1
as
select * from emp
where 1=2


It will give the structure of the table.

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is cross join in sql server joins?

1087


Explain the working of sql privileges?

1050


What command would you use to create an index?

1004


What is a primary key?

910


What is difference between rollback immediate and with no_wait during alter database?

1032


Can two different columns be merged into single column? Show practically?

1028


What samples and sample databases are provided by microsoft?

996


Explain transaction server auto commit?

998


What is bit data type?

992


How to view the error log for any specific instance? : sql server database administration

999


What is normalization and what are the advantages of it?

935


What is rtm version in sql server?

996


Define Business Edition in SQL Azure?

100


What is the stored procedure?

961


you accidentally delete the msdb database what effect does this have on your existing sql databases, and how do you recover? : Sql server administration

1206