473,432 Members | 1,744 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,432 software developers and data experts.

How to import stored procedure result to the Excel sheet

Hi

How to import the stored procedure result to the excel sheet.please provide stored procedure code
Jul 30 '10 #1
4 2800
Jerry Winston
145 Expert 100+
Just use Export wizard in SSMS.

Choose 'write a query to export data' instead of 'Tables and views'. Run the query
Expand|Select|Wrap|Line Numbers
  1. EXE [mySchema].[sp_mySP]
Jul 30 '10 #2
plz give me the stored procedure code with columns display on excel
Jul 31 '10 #3
Jerry Winston
145 Expert 100+
I'm not sure what you're looking for. Are you looking for the code of any stored procedure or how do columns map from the stored procedure to the Excel?
Jul 31 '10 #4
NeoPa
32,556 Expert Mod 16PB
Jack, as a general rule we don't provide boiler-plate solutions. This is heavily discouraged on the site, especially where members show no signs of having tried anything for themselves.

Other than that of course, your request makes little sense. How can we, or anyone, provide the code for a stored procedure in your database without any sort of specification as to what is even required of the stored procedure? Let alone any information as to the data available to manipulate.
Aug 2 '10 #5

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

Similar topics

2
by: Darko Jovisic | last post by:
Hi! How can I save a result set from a stored procedure into a table? Can you show me some examples? Thank you! Darko
4
by: marc | last post by:
I've been developing a stored procedure that uses a user defined function in the query portion of the procedure. However, since the end product needs to allow for dynamic table names, the UDF will...
1
by: S. van Beek | last post by:
Dear reader, Is there somebody who can tell me the VBA code for the following action? To import data from an Excel sheet by referring to a cell name in the Excel sheet.
8
by: delusion7 | last post by:
Well my title pretty much explains what I am trying to do... I am pulling data from a stored procedure and want to save that data to an Excel file. I might need to format the spreadsheet also.....
3
dbushcmohle
by: dbushcmohle | last post by:
Hello, I am having problems exporting a stored procedure's results to an Excel file... I've done this many times successfully, but never had to introduce a variable. Now that I've introduced...
7
by: flickimp | last post by:
Hi I want to create a Stored Procedure in SQL with three variables that are declared in an Excel file. Thus, when the user enters the three variables into Cells A1, B1, C1 Then hits a...
1
by: flickimp | last post by:
Hi I have a stored procedure on SQL Server 2000 called: .Capacity_Planning.dbo.sp_flickimp_test I have an Excel Sheet with the 2 paramters for the Stored procedure in cells A1 and B1. How...
2
by: monadel | last post by:
Hi, I need to run a SQL Server 2005 stored procedure by pressing a command button in excel 2003 (VisualBasic 6.3). Searched and tried many solutions here and in other web resources, read about...
10
by: Darkside12 | last post by:
Hi, A simple question but, is it possible to export a stored Procedure to excel using the docmd.TransferSpreadsheet function? If not, what is the easiest way to accomplish this?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.