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

What is a Data Cube?

1 Answers  


How do we design a universe?

0 Answers  


What is metadata in context of a datawarehouse?

0 Answers  


what is user variable in affinium campaign? and some real time examples.

0 Answers  


Explain where do we use semi and non additive facts?

0 Answers  


Explain a mapping, session, worklet, workflow, mapplet?

0 Answers  


Tell me what is full load & incremental or refresh load?

0 Answers  


What are vaious etl tools in the market?

0 Answers  


What are the differences between star and snowflake schema?

0 Answers  


Explain how to generate iqd file from framework manager?

0 Answers  


Why null values are mapped as 0 in fact tables?

0 Answers  


Explain the importance of data warehouse?

0 Answers  


Categories