inserting .bcp file data to sql for particular date


hi all

i have .bcp file containing lakhs of data.

now want few records out of particular time frame 2-4 days,

how can make query or store procedure same, know can done in command line, how filter data date?

any b highly appreciated.

hello,

please, modify post replace "lakhs" clearer word ( french , when using bing translator translate in french , obtain "vie" retranslated in english "life" ...) beforehand.

i suppose when writing .bcp file , mean file created bcp utility.

bcp has queryout argument permits select rows database, there no queryin argument.

could provide edition , version of sql server ? ( if have @ least standard edition , may use ssis integrate data thru packages)

i propose move thread towards

http://social.msdn.microsoft.com/forums/en-us/sqlintegrationservices/threads

or

http://social.msdn.microsoft.com/forums/en-us/sqltools/threads

the move ( done moderators ) permits move thread posts forum 1 , avoiding original poster (op)  to recreate his/her thread , avoiding unanswered or duplicate threads ( plea forums users ). ( ) move only when op has posted his/her agreement ( when there choice of forums.

we waiting feedback try more efficiently.

have nice day.

ps : other solution : create file same type (unicode , collation ) file coming bcp.you read 1st file , write in 2nd file records date field in range of wanted date.it application using .net framework rather easy create in vb or vc# , advantage : may easely change range of date.and afterwards, can use bcp insert data in new database ( don't need ssis )

 

 


mark post helpful if provides help.otherwise,leave is.


SQL Server  >  SQL Server Data Access



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........