December 8, 2007 at 9:31 am
Hi,
Can anyone help me, how can I generate reports on an sql server 2000 standard server using t-sql, without reporting services.
December 8, 2007 at 9:58 am
What kind of reports do you need? Please be more specific. What type of data are you trying to extract out?
What kind of flexibility do you need with it?
December 8, 2007 at 10:17 am
sp_MakeWebTask is one way...
Hundreds of other ways using OSQL, OpenRowset, etc to fill spreadsheet templates, make simple text files, etc, etc.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 8, 2007 at 11:25 am
fosco (12/8/2007)
Hi,Can anyone help me, how can I generate reports on an sql server 2000 standard server using t-sql, without reporting services.
Can you be a little more specific?
In general what I often do is create a temp table with the information I want in the report and then use DTSrun to extract it to a spreadsheet. That involves going out of T-SQL pure, but in most real life situations that is not a problem.
---
Timothy A Wiseman
SQL Blog: http://timothyawiseman.wordpress.com/
December 8, 2007 at 2:03 pm
Thanks for the replies, we have an application that actually creates the reports in pdf format, but the data is on sql server 2000 standard backend, when the application users make a request for a report, I would then need to write t-sql query, which the application will use to retrieve this data from the database. Hope this sheds more light!
December 8, 2007 at 4:30 pm
I may be missing something. From what I understand, all you need to do is write the query itself, in which you case you just write the query. If the report creating application needs it in an actual table, you can just use select into to create that table and then delete the temp tables after it is done. If you use a standard naming convention, you could create a job to delete them on a regular basis automatically.
---
Timothy A Wiseman
SQL Blog: http://timothyawiseman.wordpress.com/
December 8, 2007 at 6:00 pm
fosco (12/8/2007)
Thanks for the replies, we have an application that actually creates the reports in pdf format, but the data is on sql server 2000 standard backend, when the application users make a request for a report, I would then need to write t-sql query, which the application will use to retrieve this data from the database. Hope this sheds more light!
I agree with Timothy... just write the query and call it from your app.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply