SQL Server Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 1159 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 bKd3xq
Related Questions
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
SQL Server : If database is already opened and work is being done on it , is it possible to rename the database at that time?

If database is already opened and work is being done on it , is it possible to rename the database a....

No, if someone is using the databse then the datbase can't be renamed . For renaming the database we....
Category: SQL Server Date: 10/1/2010 11:04:06 AM