Connecting Tech Pros Worldwide Help | Site Map

A dynamic table to be made into excel file

  #1  
Old November 5th, 2008, 03:15 PM
thetaamommy@gmail.com
Guest
 
Posts: n/a
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
  #2  
Old November 7th, 2008, 08:05 PM
patrick61z@yahoo.com
Guest
 
Posts: n/a

re: A dynamic table to be made into excel file


On Nov 5, 10:08 am, thetaamo...@gmail.com wrote:
Quote:
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!
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic display in Access Form - possible? blaze77 answers 16 February 10th, 2009 11:56 PM
Re: A dynamic table to be made into excel file gsemailrec@gmail.com answers 0 November 11th, 2008 09:25 PM
VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help gunimpi answers 0 January 10th, 2007 08:55 PM
Import/Normalize strategy - More issues - New thread Steve Jorgensen answers 4 November 12th, 2005 07:45 PM