473,385 Members | 1,764 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Install Excel on the SQL Server

I have some developers who want to create .xlsx files from SQL Server.

There is a claim that it necessary for me to install excel on the server in order for this to work.

Is this standard practice? They are running an SSIS package to create the files.

I think there is a c# solution that you can add with a script task to avoid installing the actual application to a server and all you would need would be this driver package.

http://www.microsoft.com/en-us/downl....aspx?id=13255

The server is always under a lot of memory pressure because it's mainly used for data warehousing and they also built a cube on that server. So I am hoping to avoid this.

Any feedback would help. Thanks.
Aug 8 '12 #1

✓ answered by ck9663

The risk you will be taking is not on disk size that Excel will eat up nor the processing it will use on your processor. Security is one and it's also not a regular ideal practice.


Good Luck!!!


~~ CK

9 4910
kadghar
1,295 Expert 1GB
If you want to create Excel files, its better if you have Excel installed. Never the less, you can create HTML tables in plain text, save them with *.XLS extension, and Excel will read them well.
Aug 8 '12 #2
ck9663
2,878 Expert 2GB
If they are using SSIS to export data, I think you can export data into an XLS. If there are no other formatting, that should work.

Also, if you export a text file from SQL Server and named it as .CSV, it will open in excel. Works all the time for me on email attachments from sql server.

Good Luck!!!


~~ CK
Aug 8 '12 #3
Thanks for your post. They need to read in an .xlsx and output an .xlsx. I think that is a requirement and no work arounds.

I think a script task with some code might be a good solution. I saw someone doing it that way online somewhere, but I have not tried or tested that. Thanks.
Aug 8 '12 #4
kadghar
1,295 Expert 1GB
To read an XLSX, I wouldn't try any alternative. Installing Excel seems the right thing to do.
Aug 8 '12 #5
ck9663
2,878 Expert 2GB
Try to output it as XLS but with extension .XLSX.

Good Luck!!!


~~ CK
Aug 9 '12 #6
From a DBA stand point. You never put anything with SQL Server. You should never in a perfect world. I heard from Brent Ozar that you can put SSIS and SSRS with excel, but in all my experience, you never add excel to SQL Server unless maybe your company can afford the type of hardware to support it.

We are a small company and we are running trimmed down and virtualized. It will surely cause issues.
Aug 9 '12 #7
ck9663
2,878 Expert 2GB
Yes it can.

Excel can be used to SQL Server directly and pull data through .Net or VBA.

Good Luck!!!


~~ CK
Aug 9 '12 #8
Hmm...Currently there is running SSAS, SSIS, and SQL Server right now on a Hyper-V. The database is relatively small in the real world - 70GB. However the growth rate is around 7-10GB a month. You think adding another application to run along side of SQL Server will have no effect or do you think there is a risk?
Aug 9 '12 #9
ck9663
2,878 Expert 2GB
The risk you will be taking is not on disk size that Excel will eat up nor the processing it will use on your processor. Security is one and it's also not a regular ideal practice.


Good Luck!!!


~~ CK
Aug 9 '12 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Jean-Luc M. | last post by:
Hi, Is it possible to install Enterprise Manager without to install the server ? Thanks ! -- J-L M. (Alphomega) ICQ: 149635116
1
by: Peter | last post by:
I've purchased VS.NET 2005 Standard and have tried to install SQL Server 2005 Express, but get the following error in the error log. Please could someone help me.... Microsoft SQL Server 2005...
5
by: Greg Kowieski | last post by:
I have a fresh install of Server 2003 and have already applied all service paks and .net 2. Problem is, A tool I need requires .net 1.1. I'm supposed to load .net 1.1. But, the installer...
3
by: pine | last post by:
hi! i just joined this group today after a colleague told me about it. anyway, i'm new to SQL and haven't tried installing any version of it. I do have vb 6.0 though on my pc. My problem is that I...
2
by: Keith | last post by:
Hi all, I'd like to ask if I use "Dim ExelApp AS New Excel.Application" for my web application where I need to open up a multiiple sheets Excel template file on the server, write some data and...
1
by: KAWATRA | last post by:
hi IM devloping an application n nw my requriement is install sql server if it is not installed first check whether it is installed or not if not then install it . else its okay. plz any 1 can...
1
by: Des | last post by:
Hi I have visual Studio 2008. I was told to install SQL Server before Studio. But as it was too late. I decided to uninstall SQL server and re-boot. I have installed it but all I get is this. ...
0
by: powernet88 | last post by:
I encountered a problem when I installed SQL server 2005, Can anyone help? There is a waring message in System configuration Check When I tried to install SQL server 2005: Warning: SQL Server...
1
by: BobLewiston | last post by:
I installed SQL Server 2008 Express, basic edition (SQLEXPR32_x86_ENU_Bootstrapper.exe, version 9.0.30729.1) without any problem. Then I attempted to install AdventureWorks Sample Databases for...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.