SQL Server Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 1168 Page Views: 

What is the purpose of bcp utility?



Posted By: Avi Date: 1 October 2010 11:52:07 AM
 Answer:

bcp utility copies bulk data between an instance of SQL server database and user defined file format. This utility can be used to import as well as export data into the tables and out of the tables respectively. For eg If you want to convert SQL file to plain text file and copy it to other application then it can be done as follows:- bcp out databasename.dbo.tablename Filename.txt -T -C


Posted By: avibtech


Date: 1 October 2010 11:52:07 AM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image 4tQfxv
Related Questions
SQL Server : There are several advantages of creating and index , but can you state some drawbacks of creating an index?

There are several advantages of creating and index , but can you state some drawbacks of creating an....

There are major two drawbacks of using indexes. 1.First one is the disk space. Index uses much spac....
Category: SQL Server Date: 10/1/2010 11:10:07 AM
SQL Server : What is the purpose of creating an index?

What is the purpose of creating an index?

The indexes in SQL server are similar to the indexes of the books.When no index is used for searchin....
Category: SQL Server Date: 10/1/2010 11:09:07 AM
SQL Server : What is an index?

What is an index?

Index is a way of finding out data quickly based on the values in the columns. Indexes are created o....
Category: SQL Server Date: 10/1/2010 11:08:07 AM
SQL Server : What are Constraints and how many constraints are supported by SQL Server?

What are Constraints and how many constraints are supported by SQL Server?

Constraints are the properties assigned to a single column or multiple columns to prevent inconsiste....
Category: SQL Server Date: 10/1/2010 11:06:06 AM
SQL Server : Is SET and SELECT the same thing?

Is SET and SELECT the same thing?

No. Both are used to assign value to the variables, but are different. SET uses ANSI standard while ....
Category: SQL Server Date: 10/1/2010 11:05:06 AM