|
-
Jan 13th, 2006, 10:53 AM
#1
Thread Starter
Hyperactive Member
console app or windows app [Resolved]
not sure what app to use but all i need to do is look in a network folder once a day to see if a files exist and call a DTS package to import the file into a SQL Server table.
Last edited by texas; Jan 13th, 2006 at 12:19 PM.
-
Jan 13th, 2006, 10:59 AM
#2
Re: console app or windows app
Doesn't sound like you need a WinForms app. A console app that is invoked via a scheduled task would probably be your best bet. You could create a Windows service if you want it to be running constantly, but I'd go with the console and the schedule.
-
Jan 13th, 2006, 11:02 AM
#3
Thread Starter
Hyperactive Member
Re: console app or windows app
is there any other way of getting data into a SQL table other than calling a DTS package?
-
Jan 13th, 2006, 11:11 AM
#4
Re: console app or windows app
Sure... your app could open the file, read the contents then use SQL to insert the data into the database..... BUT.... if it's a large file ... DTS is much more efficient and uploading volumes of data than simple SQL inserts.
-tg
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|