473,325 Members | 2,805 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,325 software developers and data experts.

A dynamic table to be made into excel file

Hi :

I have a stored procedure which does a crosstab query and builds a
table with differing number of columns and differeing columnnames each
time.
The tablename is static, as i build same table but with differing
columns each time.
Lets call this tableA.
Now i need to get this tableA into an excel file.
So how do i use a dts 2000, to build this excel file ?
I can create a stmt to build an excel file sheet with the tableA
everchanging schema information. But in the data pump task, i
understand that the transformations are predetermined and hence i will
not be able to build a datapump task. Are there any other ways to do
this via a datapump task or something else in sql 2000.

Thank you for all your help
TAAM
Nov 5 '08 #1
1 1483
On Nov 5, 10:08 am, thetaamo...@gmail.com wrote:
Hi :

I have a stored procedure which does a crosstab query and builds a
table with differing number of columns and differeing columnnames each
time.
The tablename is static, as i build same table but with differing
columns each time.
Lets call this tableA.
Now i need to get this tableA into an excel file.
So how do i use a dts 2000, to build this excel file ?
I can create a stmt to build an excel file sheet with the tableA
everchanging schema information. But in the data pump task, i
understand that the transformations are predetermined and hence i will
not be able to build a datapump task. Are there any other ways to do
this via a datapump task or something else in sql 2000.

Thank you for all your help
TAAM
Why not just make your datapump task expect a view with the max number
of columns you'd ever build with anonymously named columns like
column1 through columnmax and then as your new table changes a new
view could also change lining right up with your maxed out view that
your datapump task is attached to?

Thats what I'd do!
Nov 7 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Krzys! | last post by:
I'd like to create a table dynamicly. List of column in this table should be taken from select: "select distinct fiel from table " How to do it ? tnx in advance for help K.
3
by: josh.kuo | last post by:
Sorry about the subject, I can't think of a better one. I recently wrote some PHP classes that I think might be of interest to this group. Since I have been reaping the benefits of reading news...
1
by: shankumar | last post by:
Hai Evrybody, I have one problem, that is i design a ASP report getting data from MS SQL Server 2000 and displays it as a desinged format and also "one option to export this same format to MS...
0
by: Jason | last post by:
Hi I wanted to bounce an Idea off you guys. I'm not sure if it's possible or even how to implement it .. or possibly if I'm trying to re-invent the wheel. Our users currently use excel and a...
1
by: Jawad Rehman | last post by:
Hello everybody..... I have an excel file which is resided on server,there is some data on the cells .Now i want to generate dynamic graph on the basis of the data present in the excel file ...
4
by: Bongard | last post by:
I have a dynamic range that I would like to use as a linked table into Access. The problem is that Access doesn't seem to want to to recognize the dynamic range when you click on "show named...
7
by: franc sutherland | last post by:
Hi everyone, I am using Access 2003. I have a database with a table in it which is linked to an excel spreadsheet. When I install the database on someone else's system, the pathname to the...
0
by: gsemailrec | last post by:
On Nov 5, 5:08 pm, thetaamo...@gmail.com wrote: Another way would be to create a link table to an access database. Then write a crosstab query in access which can display a large number of...
16
by: blaze77 | last post by:
Hi, I'm somewhat of a power user in excel and a newbie to Access though the possibilities are exciting me :-) I am trying to create a tool in Access to replace an existing tool in Excel. My...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.