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 can we import and export using BCP utility?



How can we import and export using BCP utility?..

Answer / kishore

Import to test file:-
--------------------
bcp "SELECT ProcContent FROM <DBName>.dbo.NewProc order by
ID" queryout C:\NewProc.sql -c -S <ServerName> -T

If we can run(dos prompt) above statement in set of records
are store into c:\newproc.sql file.

Export from File:-
-----------------
BULK INSERT myTestCharData FROM 'C:\myTestCharData-c.Dat'
WITH ( DATAFILETYPE='char', FIELDTERMINATOR=',');

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Data Warehouse General Interview Questions

Explain what are the tasks that loadmanger process will do?

0 Answers  


What is data merging, data cleansing and sampling?

1 Answers  


What is the difference between data warehouse and operational systems?

0 Answers  


What is data mart in data warehouse?

0 Answers  


What are modeling tools available in the market?

0 Answers  


What is the difference between static cache and dynamic cache?

0 Answers  


What is the difference between drill through and masterdetail reports?

0 Answers  


What is static and local variable?

0 Answers  


Explain some of modeling tools available in the market?

0 Answers  


How to create context?

0 Answers  


How can we transform row to column?

1 Answers  


How many clustered indexes can u create for a table in dwh? In case of truncate and delete command what happens to table, which has unique id.

0 Answers  


Categories