Please start any new threads on our new site at http://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Bulk Import across servers
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Looper
Yak Posting Veteran

68 Posts

Posted - 04/29/2008 :  10:10:21  Show Profile  Reply with Quote
I have an application (.Net 2.0) that bulk imports a comma separated file into sql 2000. The app is currently on the database server, but what I want to know is can I install the app on another server i.e. my web server and the bulk import will still work, as I have been told it needs to be on the database server?

bulk import code i am currently using:
'BULK INSERT t_TImport_Untyped FROM ''' + @FileLocation + ''' WITH (CODEPAGE = ''Raw'',FIELDTERMINATOR = '','', ROWTERMINATOR = '',\n'')'

Edited by - Looper on 04/30/2008 11:18:15

visakh16
Very Important crosS Applying yaK Herder

India
52326 Posts

Posted - 04/30/2008 :  11:30:29  Show Profile  Reply with Quote
This is the BULKINSERT available within sql server itself.

http://msdn.microsoft.com/en-us/library/ms188365.aspx
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.07 seconds. Powered By: Snitz Forums 2000