PC Review


Reply
Thread Tools Rate Thread

Best method for sending data from Excel to remote SQL Server Database?

 
 
Trond Hindenes
Guest
Posts: n/a
 
      13th Jul 2004
Hello all,
I am working on a application for analyzing data from a SQL Server
Database using vb.net. THe application will mostly be web-based,
although we migt use some Windows Forms for some of the components.

Anyway, the data to be analyzed comes in Excel format, and needs to be
converted into SQL Server in some way or another, And I'm not sure
which is the best way. I find lots of info on how to pull data from
SQL Server and present it in a Excel spreadsheet, but not too much on
doing it the other way around.

The SQL Server database will not be on the same network as the Excel
Application, so security is an issue, e.g. I cant import it via DTS
directly from the SQL Server. As far as I can see, I have the
following options:

-Create a web services that Excel submits to, and make the web service
update the Database
-Use .Net remoting to perform the updating
-Use smart clients to create a small windwos form that is downloaded
to the client and reference the excel sheet as a datasource from
there, upload via xml or web service
-Other

Im very interested in any views on what would be better (or worse),
and of course if you guys have any other options that I haven't
specified here, please let me know.

Best regards,
Trond Hindenes
Norway
 
Reply With Quote
 
 
 
 
Telmo Sampaio
Guest
Posts: n/a
 
      13th Jul 2004
Trond,

Have you considered using DTS on the SQL Server to pull the data from the
Excel Spreadsheet? You can create a simple DTS package that runs every now
and then (or continously) checks to see if there is a new file in a folder
and imports it to SQL. Quicker than writing an app or web service... just my
0.02

Telmo Sampaio

"Trond Hindenes" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello all,
> I am working on a application for analyzing data from a SQL Server
> Database using vb.net. THe application will mostly be web-based,
> although we migt use some Windows Forms for some of the components.
>
> Anyway, the data to be analyzed comes in Excel format, and needs to be
> converted into SQL Server in some way or another, And I'm not sure
> which is the best way. I find lots of info on how to pull data from
> SQL Server and present it in a Excel spreadsheet, but not too much on
> doing it the other way around.
>
> The SQL Server database will not be on the same network as the Excel
> Application, so security is an issue, e.g. I cant import it via DTS
> directly from the SQL Server. As far as I can see, I have the
> following options:
>
> -Create a web services that Excel submits to, and make the web service
> update the Database
> -Use .Net remoting to perform the updating
> -Use smart clients to create a small windwos form that is downloaded
> to the client and reference the excel sheet as a datasource from
> there, upload via xml or web service
> -Other
>
> Im very interested in any views on what would be better (or worse),
> and of course if you guys have any other options that I haven't
> specified here, please let me know.
>
> Best regards,
> Trond Hindenes
> Norway



 
Reply With Quote
 
Trond Hindenes
Guest
Posts: n/a
 
      14th Jul 2004
Hi Telmo,

The problem is that the SQL Server and the Excel sheet will not be on
the same network. I think DTS needs file access to the Excel file at
the time of the import, which will not be possible in this case. One
option is of course to create som kind of file upload mechanism to
move the Excel file to the webserver where the SQL Server sits, but
I'm afraid that will give me an environment that is a bit to
uncontrolled...

best regards,
Trond Hindenes


"Telmo Sampaio" <(E-Mail Removed)> wrote in message news:<#(E-Mail Removed)>...
> Trond,
>
> Have you considered using DTS on the SQL Server to pull the data from the
> Excel Spreadsheet? You can create a simple DTS package that runs every now
> and then (or continously) checks to see if there is a new file in a folder
> and imports it to SQL. Quicker than writing an app or web service... just my
> 0.02
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP: Need macro for excel to get data from server database and use results to populate an Access Database Clinton M James Microsoft Access 1 7th Oct 2007 04:32 PM
Re:Synchronizing data to remote SQL Server Database rajesh nandwani Microsoft VB .NET 0 16th Jun 2007 11:43 AM
GetObject method from excel to other application from remote server sandra mangunsong via OfficeKB.com Microsoft Excel Programming 1 24th Feb 2005 07:13 PM
Re: What is the fastest method of getting SQL Server Data into Excel aaron.kempf@gmail.com Microsoft Excel Discussion 0 30th Dec 2004 09:06 AM
Re: What is the fastest method of getting SQL Server Data into Excel aaron.kempf@gmail.com Microsoft Excel Discussion 1 30th Dec 2004 08:44 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:35 AM.