.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> Others >> Post New Question Subscribe to Interview Questions

State whether BCP also copies table structure?

Posted By :shankey     Posted Date :July 31, 2011    Points :40   Category :Others 
No, It only copies data of the source table to destination.

You can also find related Interview Question to State whether BCP also copies table structure?  below: 

What command is used to create a table by copying the structure of another table?

  
CREATE TABLE .. AS SELECT command

Explanation :

To copy only the structure, the WHERE clause of the SELECT command should contain a FALSE statement as in the following.
CREATE TABLE NEWTABLE AS SELECT * FROM EXISTINGTABLE WHERE 1=2;
If the WHERE condition is true, then all the rows or rows satisfying the condition will be copied to the new table. (More...)

Is view state lost if a user refreshes a Web page? What if the user copies the URL and open it in other browser?

  
View state is maintained within a page's HTML, so it is lost if a page is refreshed or if the URL is copied. (More...)

Which command is used to create a table by copying the structure of another table?

  
CREATE TABLE .. AS SELECT command
Example:-
CREATE TABLE AS SELECT*FROM WHERE 1=2; (More...)

How to take the structure from a table?

  
Using Clone()
Copy will copy the data and Structure of the table
Cole will copy the Structure of the table (More...)

State command to rename a table?

  
sp_rename 'oldTableName' , 'NewTableName' (More...)

How to get basic SQL Server table structure information

  
sp_help will give you a whole bunch of information about a table including the columns, keys and constraints.

For example

exec sp_help 'Employee'

will give you information about table Employee. (More...)

What is data structure?

  
A data structure is a way of organizing data that considers not only the items stored, but also their relationship to each other. Advance knowledge about the relationship between data items allows designing of efficient algorithms for the manipulation of data. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend