Showing posts with label creating. Show all posts
Showing posts with label creating. Show all posts

Wednesday, March 28, 2012

Reporting Services 2005 Metadata

Greetings,

I'm creating a new data model using Reporting Services 2005. The database has the standard generic names like 'idSystem' etc. I have created a Metadata file with user friendly names 'Control System Id', but rather than have to retype all those names and descriptions over into the [Friendly Name Property] I'd like to try to pull that information into the model.

So my question is...

Does anyone know where are the Friendly Names property is stored and can I program that field to pull from another file?

Thanks

- Will

Right click on the model in VS and select View Code. If it is set, the Friendly Name for each Entity element is an element called Name. Because you can nest Entity elements in folders, there is no set XPath you can use other than //Entity.

R

|||

Great Thanks Ron.... I'm having server issues now.. but I will try this.

Thanks again

-Will

sql

Reporting Services 2005 Error Creating Report Server Virtual Directory

Hi all,
I have SQL 2005 and WIndows 2003 Server, I am an adminsitrator and have
installed SQL 2005 Reporting Services. However when I got to configure
the reporting services the following happens
When creating a new report server virtual directory on our server, (I
am installing to the default web site and the default virtual directory
name 'ReportServer'.)
1) It creates the virtual directory and says The virtual directory was
created and assigned
2) this is followed by a green tick next to 'Change Secure Connection
Level'
3) This is immediatly followed by a message coming up stating
'ReportServicesConfigUI has encountered a problem and needs to close.
We are sorry for the inconvenience.'.
I cant help feeling that it hasnt finished this correctly as the
'Report Manager Virtual Directory' section is still greyed out and I
cannot enter it.
Any help would be greatly appreciated.
TomHi,
This sounds like a permission error. In addition, what version of Windows
2003 are you running?
Have you checked the Event Log? If so, what other possible errors do you see?
Thanks,
Phillip
"tom@.isolditonline.co.uk" wrote:
> Hi all,
> I have SQL 2005 and WIndows 2003 Server, I am an adminsitrator and have
> installed SQL 2005 Reporting Services. However when I got to configure
> the reporting services the following happens
> When creating a new report server virtual directory on our server, (I
> am installing to the default web site and the default virtual directory
> name 'ReportServer'.)
> 1) It creates the virtual directory and says The virtual directory was
> created and assigned
> 2) this is followed by a green tick next to 'Change Secure Connection
> Level'
> 3) This is immediatly followed by a message coming up stating
> 'ReportServicesConfigUI has encountered a problem and needs to close.
> We are sorry for the inconvenience.'.
> I cant help feeling that it hasnt finished this correctly as the
> 'Report Manager Virtual Directory' section is still greyed out and I
> cannot enter it.
> Any help would be greatly appreciated.
> Tom
>|||If I use IE 6 I have no problems. I can access and view parts of the date
with IE7, but the controls do not come up in the reports.
"Phillip MacPherson-Cox" <PhillipMacPhersonCox@.discussions.microsoft.com>
wrote in message news:1FD05115-7F89-470F-AF3E-4866154C7B53@.microsoft.com...
> Hi,
> This sounds like a permission error. In addition, what version of Windows
> 2003 are you running?
> Have you checked the Event Log? If so, what other possible errors do you
see?
> Thanks,
> Phillip
> "tom@.isolditonline.co.uk" wrote:
> > Hi all,
> >
> > I have SQL 2005 and WIndows 2003 Server, I am an adminsitrator and have
> > installed SQL 2005 Reporting Services. However when I got to configure
> > the reporting services the following happens
> >
> > When creating a new report server virtual directory on our server, (I
> > am installing to the default web site and the default virtual directory
> > name 'ReportServer'.)
> >
> > 1) It creates the virtual directory and says The virtual directory was
> > created and assigned
> > 2) this is followed by a green tick next to 'Change Secure Connection
> > Level'
> > 3) This is immediatly followed by a message coming up stating
> > 'ReportServicesConfigUI has encountered a problem and needs to close.
> > We are sorry for the inconvenience.'.
> >
> > I cant help feeling that it hasnt finished this correctly as the
> > 'Report Manager Virtual Directory' section is still greyed out and I
> > cannot enter it.
> >
> > Any help would be greatly appreciated.
> > Tom
> >
> >|||In the Event Log, I just get the following:
Source - NET Runtime 2.0 Error Reporting
Event ID - 5000
EventType clr20r3, P1 rsconfigtool.exe, P2 9.0.242.0, P3 443f597d, P4
rsconfigtool, P5 9.0.242.0, P6 443f597d, P7 154, P8 5, P9
system.nullreferenceexception, P10 NIL.
I am running on the local machine as an administrator.
The Windows 2003 Edition is Standard Edition.
Tom|||A uninstall of reporting services and re-install did the trick.
Tom
tom@.isolditonline.co.uk wrote:
> In the Event Log, I just get the following:
> Source - NET Runtime 2.0 Error Reporting
> Event ID - 5000
> EventType clr20r3, P1 rsconfigtool.exe, P2 9.0.242.0, P3 443f597d, P4
> rsconfigtool, P5 9.0.242.0, P6 443f597d, P7 154, P8 5, P9
> system.nullreferenceexception, P10 NIL.
> I am running on the local machine as an administrator.
> The Windows 2003 Edition is Standard Edition.
> Tom

Monday, March 26, 2012

Reporting Services 2000 Performance

Can anyone point me in the right direction or give me information on
Reporting Services 2000 performance. We are creating 5 relatively large
reports that are stable for 24 hours. We have different users that have
different credentials. Is caching available? What is the best way to
measure performance? Are there any perfmon metrics that are useful? What
is a bad metric range besides response time?The scenario you have here is what snapshots are designed for. Look in books
online under snapshots.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Robert Bernheim" <rlb@.yahoo.com> wrote in message
news:2e8b8e9b0b58444b967f3b1fb5b646a2@.ureader.com...
> Can anyone point me in the right direction or give me information on
> Reporting Services 2000 performance. We are creating 5 relatively large
> reports that are stable for 24 hours. We have different users that have
> different credentials. Is caching available? What is the best way to
> measure performance? Are there any perfmon metrics that are useful? What
> is a bad metric range besides response time?

Friday, March 23, 2012

Reporting Services 2000 Export Excel Issue

Hello All,
I am currently creating a Reporting Services report whose total
page width is 33in. I use three data tables to simulate one very large table.
My issue is:
When I export this data to the EXCEL format, tables two and three are not
visible past the first sheet. Is there something that I should do to ensure
that all three tables are visible on every Excel WorkSheet?
Thanks
EricOn May 3, 2:52 pm, Eric <E...@.discussions.microsoft.com> wrote:
> Hello All,
> I am currently creating a Reporting Services report whose total
> page width is 33in. I use three data tables to simulate one very large table.
> My issue is:
> When I export this data to the EXCEL format, tables two and three are not
> visible past the first sheet. Is there something that I should do to ensure
> that all three tables are visible on every Excel WorkSheet?
> Thanks
> Eric
I'm not sure about the maximum width of a report; however, you can try
adding all 3 table controls into a single rectangle control. This
should conserve width space. Also, make sure that the properties of
the table controls include 'Fit table on one page if possible.' Sorry
I could not be of further assistance.
Regards,
Enrique Martinez
Sr. Software Consultant

Reporting Services 2000

Hi

I have used Reporting Services 2000 to create a template, and works in a mail merge sort of way, creating a delivery note for each order.

The problem I have is, if an order goes over two pages.. I need a easy way to present this, so that the user knows to send two pages.... Obviously, the correct way would be to page it in some way but from what I understand, RS 2000 would page the whole documents (ie all orders) and there is no way of paging in respect to a group (ie order no)

The next option is to have cont. at the bottom of page 1 (if there are more than 1 page), does any1 know how to do this? cos of obviously on the screen it will always be 1 page?

I hope I make some sense... any help would be great....

Thanks in advance :)

Have a textbox in your page footer with text "Contd." and then handle the visibility of the textbox based on the expression: IIf(Globals!TotalPages>1 and Globals!PageNumber <> Globals!TotalPages, false, true)

Shyam

|||

Thanks for the reply... but Globals!TotalPages is total number of pages in the report ... which in this case deivery notes for several different orders.... I have a order_no group in my report so that there is a page break after each order...

For example the total number of pages maybe 9, being 8 different orders, 1 being over 2 pages (eg page 3 and 4)... and if the above code would create cont in first 8 pages, while I would only want it on page 3... am i right?

Thanks again...

|||

Reporting services does not give the control on what is happening on every page. You can only use constants, globals and parameters in the footers and headers.

If you know how many records occupy 1 page on an average, you can just give a warning in your group header to look for more pages if the number of records in that group exceeds that count. Have a highlighted textbox in your header and have the visibility of that textbox based on an expression something like this:

IIf(Count(Fields!Order_no, "Group1") > 10, false, true)

Shyam

|||

i worked a way around this by retrieving the number products in the order and controlling the visibility of the text box with text "cont." by this number....

=IIf(ReportItems("CountProduct").Value
< 26, true, false)

seems to work! But i need to change it so that it works for all pages, n not for just page 2.... what if the order has 5 product lines?

I have come across another problem.. does anyone know how to hide the header footer in all pages apart from page 1 for each order_no?

Thanks alot for all the help so far :)

|||

No, you can only control if it should be printed on first and last page of the report. Use PrintOnFirstPage and PrintOnLastPage properties of header and footer to do this.

Can you please mark this post as answered?

Shyam

|||

Maybe the following link will be of some help to you:

http://blogs.msdn.com/chrishays/default.aspx

Look for topics "'Continued' Header on Subsequent Pages" and "Reset Page Number on Group"

Shyam

|||Thanks for all your help :)|||Maybe you marked a wrong post as the answer?

Reporting Services 2000

Hi

I have used Reporting Services 2000 to create a template, and works in a mail merge sort of way, creating a delivery note for each order.

The problem I have is, if an order goes over two pages.. I need a easy way to present this, so that the user knows to send two pages.... Obviously, the correct way would be to page it in some way but from what I understand, RS 2000 would page the whole documents (ie all orders) and there is no way of paging in respect to a group (ie order no)

The next option is to have cont. at the bottom of page 1 (if there are more than 1 page), does any1 know how to do this? cos of obviously on the screen it will always be 1 page?

I hope I make some sense... any help would be great....

Thanks in advance :)

Have a textbox in your page footer with text "Contd." and then handle the visibility of the textbox based on the expression: IIf(Globals!TotalPages>1 and Globals!PageNumber <> Globals!TotalPages, false, true)

Shyam

|||

Thanks for the reply... but Globals!TotalPages is total number of pages in the report ... which in this case deivery notes for several different orders.... I have a order_no group in my report so that there is a page break after each order...

For example the total number of pages maybe 9, being 8 different orders, 1 being over 2 pages (eg page 3 and 4)... and if the above code would create cont in first 8 pages, while I would only want it on page 3... am i right?

Thanks again...

|||

Reporting services does not give the control on what is happening on every page. You can only use constants, globals and parameters in the footers and headers.

If you know how many records occupy 1 page on an average, you can just give a warning in your group header to look for more pages if the number of records in that group exceeds that count. Have a highlighted textbox in your header and have the visibility of that textbox based on an expression something like this:

IIf(Count(Fields!Order_no, "Group1") > 10, false, true)

Shyam

|||

i worked a way around this by retrieving the number products in the order and controlling the visibility of the text box with text "cont." by this number....

=IIf(ReportItems("CountProduct").Value
< 26, true, false)

seems to work! But i need to change it so that it works for all pages, n not for just page 2.... what if the order has 5 product lines?

I have come across another problem.. does anyone know how to hide the header footer in all pages apart from page 1 for each order_no?

Thanks alot for all the help so far :)

|||

No, you can only control if it should be printed on first and last page of the report. Use PrintOnFirstPage and PrintOnLastPage properties of header and footer to do this.

Can you please mark this post as answered?

Shyam

|||

Maybe the following link will be of some help to you:

http://blogs.msdn.com/chrishays/default.aspx

Look for topics "'Continued' Header on Subsequent Pages" and "Reset Page Number on Group"

Shyam

|||Thanks for all your help :)|||Maybe you marked a wrong post as the answer?

Wednesday, March 21, 2012

Reporting Services - Variables/Parameters - Is this a bug?

When creating a Reporting Services report and declaring local variables as part of your query in a dataset there is sometimes a problem. When you hit run in the Data section and the “Define Query Parameters” box pops up, all the variables are not there. Sometimes when you go to properties (…) of that dataset the parameters are gone. Is this a bug? This is happening both in RS2000 and 2005.

Thanks

?

|||Anyone?|||

Not an expert in this area of the product, but i tried it briefly on my computer - local variables are recognized when you use the generic query designer (the default). They do not appear in the parameters (as they shouldn't). Parameters that are not local variables are automatically detected and shown in the parameters.

I couldn't emulate the behavior you describe. No matter how many times I opened/closed the report the parameters were correctly recognized and the local variables were preserved.

If you're using the graphical query designer, you may be running into some problems - that component rewrites queries and sometimes makes mistakes with more complicated query structures. Unfortunately, it is a standard component that we do not control. Recommendation is to try the generic query designer and see if the problem persists. There is a button on the data tab that lets you switch from using the graphical to using the generic query designer.

Hope that helps,

-Lukasz

|||

this is possibly related, and everytime i encounter it i get closer to having a nervous break down.. its very very annoying to say the least..

here's what i'm getting:

i have a report that gets data from a WebService.. webservice takes 6 parameters, all are primative datatypes.

i have a set of report parameters, and a set of dataset parameters that come from the report params.

i hit the execute button, fill in my values, it chugs along and give's me my expected results in the results grid.. perfect..

i edit my dataset query and put in an <ElementPath> so i can specify a particular table, hit execute and again i get my expected results..

if i do anything ie, edit the query, change to the layout window, then go back to the data window and hit refresh, the query blows up.. i edit my dataset and on the parameters tab, there's nothing.. all gone! wow.. i put all the parameters back in again, viewed the report source, copy and paste the block of code contained in the <DataSets> node to the notepad so i dont have to continually waste time re-entering the parameters..

this seems to happen whenever i click the refresh button.. i've tried to put it in generic query designer, and do it, but the UI seems to revert back to the graphical designer..

i've been dealing with it because most of my reports only took a parameter or two..

any ideas?

EDIT:

actually, i think it might be a problem if there is an error when you type in the parameters.. ie if i have a string param called strGuid, and it craps out the webservice when i cast the string to a guid (missed a char).. it seems to wipe out the dataset parameters..

|||

I've seen this many times, codemare & ruckazz

It will happen for one of the following reasons:

1. Your Query does not get parsed correctly i.e type error and you hit the properties button to go to parameters

2. You use a parameter that is not defined or you spelled incorrectly and go to parameters in properties

Use the Undo button (Ctrl-Z or Edit>Undo) and your parameters WILL be restored, do not save, find your flaw, fix it, save it, run it.

Reporting Services - Variables/Parameters - Is this a bug?

When creating a Reporting Services report and declaring local variables as part of your query in a dataset there is sometimes a problem. When you hit run in the Data section and the “Define Query Parameters” box pops up, all the variables are not there. Sometimes when you go to properties (…) of that dataset the parameters are gone. Is this a bug? This is happening both in RS2000 and 2005.

Thanks

?

|||Anyone?|||

Not an expert in this area of the product, but i tried it briefly on my computer - local variables are recognized when you use the generic query designer (the default). They do not appear in the parameters (as they shouldn't). Parameters that are not local variables are automatically detected and shown in the parameters.

I couldn't emulate the behavior you describe. No matter how many times I opened/closed the report the parameters were correctly recognized and the local variables were preserved.

If you're using the graphical query designer, you may be running into some problems - that component rewrites queries and sometimes makes mistakes with more complicated query structures. Unfortunately, it is a standard component that we do not control. Recommendation is to try the generic query designer and see if the problem persists. There is a button on the data tab that lets you switch from using the graphical to using the generic query designer.

Hope that helps,

-Lukasz

|||

this is possibly related, and everytime i encounter it i get closer to having a nervous break down.. its very very annoying to say the least..

here's what i'm getting:

i have a report that gets data from a WebService.. webservice takes 6 parameters, all are primative datatypes.

i have a set of report parameters, and a set of dataset parameters that come from the report params.

i hit the execute button, fill in my values, it chugs along and give's me my expected results in the results grid.. perfect..

i edit my dataset query and put in an <ElementPath> so i can specify a particular table, hit execute and again i get my expected results..

if i do anything ie, edit the query, change to the layout window, then go back to the data window and hit refresh, the query blows up.. i edit my dataset and on the parameters tab, there's nothing.. all gone! wow.. i put all the parameters back in again, viewed the report source, copy and paste the block of code contained in the <DataSets> node to the notepad so i dont have to continually waste time re-entering the parameters..

this seems to happen whenever i click the refresh button.. i've tried to put it in generic query designer, and do it, but the UI seems to revert back to the graphical designer..

i've been dealing with it because most of my reports only took a parameter or two..

any ideas?

EDIT:

actually, i think it might be a problem if there is an error when you type in the parameters.. ie if i have a string param called strGuid, and it craps out the webservice when i cast the string to a guid (missed a char).. it seems to wipe out the dataset parameters..

|||

I've seen this many times, codemare & ruckazz

It will happen for one of the following reasons:

1. Your Query does not get parsed correctly i.e type error and you hit the properties button to go to parameters

2. You use a parameter that is not defined or you spelled incorrectly and go to parameters in properties

Use the Undo button (Ctrl-Z or Edit>Undo) and your parameters WILL be restored, do not save, find your flaw, fix it, save it, run it.

Reporting Services - Variables/Parameters - Is this a bug?

When creating a Reporting Services report and declaring local variables as part of your query in a dataset there is sometimes a problem. When you hit run in the Data section and the “Define Query Parameters” box pops up, all the variables are not there. Sometimes when you go to properties (…) of that dataset the parameters are gone. Is this a bug? This is happening both in RS2000 and 2005.

Thanks

?

|||Anyone?|||

Not an expert in this area of the product, but i tried it briefly on my computer - local variables are recognized when you use the generic query designer (the default). They do not appear in the parameters (as they shouldn't). Parameters that are not local variables are automatically detected and shown in the parameters.

I couldn't emulate the behavior you describe. No matter how many times I opened/closed the report the parameters were correctly recognized and the local variables were preserved.

If you're using the graphical query designer, you may be running into some problems - that component rewrites queries and sometimes makes mistakes with more complicated query structures. Unfortunately, it is a standard component that we do not control. Recommendation is to try the generic query designer and see if the problem persists. There is a button on the data tab that lets you switch from using the graphical to using the generic query designer.

Hope that helps,

-Lukasz

|||

this is possibly related, and everytime i encounter it i get closer to having a nervous break down.. its very very annoying to say the least..

here's what i'm getting:

i have a report that gets data from a WebService.. webservice takes 6 parameters, all are primative datatypes.

i have a set of report parameters, and a set of dataset parameters that come from the report params.

i hit the execute button, fill in my values, it chugs along and give's me my expected results in the results grid.. perfect..

i edit my dataset query and put in an <ElementPath> so i can specify a particular table, hit execute and again i get my expected results..

if i do anything ie, edit the query, change to the layout window, then go back to the data window and hit refresh, the query blows up.. i edit my dataset and on the parameters tab, there's nothing.. all gone! wow.. i put all the parameters back in again, viewed the report source, copy and paste the block of code contained in the <DataSets> node to the notepad so i dont have to continually waste time re-entering the parameters..

this seems to happen whenever i click the refresh button.. i've tried to put it in generic query designer, and do it, but the UI seems to revert back to the graphical designer..

i've been dealing with it because most of my reports only took a parameter or two..

any ideas?

EDIT:

actually, i think it might be a problem if there is an error when you type in the parameters.. ie if i have a string param called strGuid, and it craps out the webservice when i cast the string to a guid (missed a char).. it seems to wipe out the dataset parameters..

|||

I've seen this many times, codemare & ruckazz

It will happen for one of the following reasons:

1. Your Query does not get parsed correctly i.e type error and you hit the properties button to go to parameters

2. You use a parameter that is not defined or you spelled incorrectly and go to parameters in properties

Use the Undo button (Ctrl-Z or Edit>Undo) and your parameters WILL be restored, do not save, find your flaw, fix it, save it, run it.

Reporting Services - use of temp tables

Hello all,

I need to create a report based on a stored procedure. This stored procedure contains temp tables. At the time of creating the report, I receive a message mentioning - There is an error in the query. Invalid object name '<temp table name'>

Doesn't Reporting Services support temp tables?

Thanks all,
SauravYou can use temporary tables. I tend to do it like...

-- Create temporary tables
declare @.MyTempTable table
(
field1 int,
field2 smalldatetime,
field3 int,
field4 smallint
)

You can then use @.MyTempTable for your SP.

Hope that helps.sql

reporting services - subscription

Creating a subscription in Reporting Services/SQL Server 2K/ for the automated delivery of an email notification that report is updated.

In the subscription, there is an option:

Delivered by: Report Server E-Mail

that is in the "Report Delivery Options" section.

When this option is selected and the email generated, it comes from the email address of my predecessor former.person@.emailaddress.com, I need to change the address to my own but can't find where to change it. Can anyone point this out?i think its in the config file, i don't have my book with me at the moment

the config files are located on the server @. C:\program files\microsoft sql server\mssql\reporting services... there is 2 directories in there, one for each site (report server / report manager), check the config files and see where one of them specifies the smtp settings, you should be able to change the email addy in there and save it

since its a config file you prolly dont have to stop/start anything

Reporting Services - Excel vs HTML ERROR plz help

Hey,
I have a little format issue with Excel 2003:
I am working in reporting services - creating a report. The SQL store
procedure returns a date with the following format:
MM/DD/YYYY HH:MM PM/AM
In my report on that perticular text field I have the following format:
dd/mm/yyyy HH:MM:SS
Because I want it in military time.
It displays fine in the report but when I open it in Excel it brings up
the following ERROR:
"File Error. Some number formats may have been lost"
And it shows the date columns the following way:
"38692.46597"
The document is NOT huge and does't contain more than 2000 rows.
Any ideas on how to solve this?
Sorry for posting twice(first post on here).
I have put this same post in the reporting services group.. Sorry

Tuesday, March 20, 2012

Reporting Services

Hello,
I am currently working on creating badges and labels. I want them to
be on 2 columns. I set the column property of the report to 2 and
added the function =Ceiling(RowNumber(Nothing)/20) in for the List
data region that I used. I have also tried using a table but it didnt
work for me. Let me know if you know the trick to creating a 2
columned badge in reporting services.
Thanks,
NunuOn Apr 14, 11:42=A0am, nardosa...@.gmail.com wrote:
> Hello,
> I am currently working on creating badges and labels. I want them to
> be on 2 columns. I set the column property of the report to 2 and
> added the function =3DCeiling(RowNumber(Nothing)/20) in for the List
> data region that I used. I have also tried using a table but it didnt
> work for me. Let me know if you know the trick to creating a 2
> columned badge in reporting services.
> Thanks,
> Nunu
Any insight'

Tuesday, February 21, 2012

Reporting from a DataWarehouse

Hi.
I'm creating reports from a datawarehouse, I hope that term doesn't
mean something different to every reader.
Anyway...I have a section of the report that gets information by
executing 63 separate sql statements that populate 63 cells in an Excel
spreadsheet.
The queries started out being separate queries, then I changed to
separate stored procedures.
The queries get their data from essentially 1 table with 2 other
suporting tables, such that the query has 2 joins. It also has 3-5
pieces in the where clause.
So I took out many of the where clause fields, put them in the select
section, and made a table out of the results.
Now I have an sp that runs 63 separate queries "inside" 1 sp and it
returns all the results I need. The queries get data from 1 table and
have far fewer parts to the where clause. Also I get to index to my
hearts content. So I'm getting a huge improvement in performance.
(Sorry I'm being so deliberate here.)
Finally! Here's my question.
Instead of making a table should I use a temporary table? Would I get
even more performance from a temp table? What advantages do temp tables
have?You will probably have better results if you can reduce the number of
queries. If you can get the 63 elements in fewer queries by combining the
common elements (JOIN , WHERE) you can probably get down to 10, 5, 2, or
maybe even 1 query. THAT is where I would expect you to see an improvement
in performance.
Keith
"Bob" <Go1369@.Yahoo.Com> wrote in message
news:1111502187.310046.5970@.g14g2000cwa.googlegroups.com...
> Hi.
> I'm creating reports from a datawarehouse, I hope that term doesn't
> mean something different to every reader.
> Anyway...I have a section of the report that gets information by
> executing 63 separate sql statements that populate 63 cells in an Excel
> spreadsheet.
> The queries started out being separate queries, then I changed to
> separate stored procedures.
> The queries get their data from essentially 1 table with 2 other
> suporting tables, such that the query has 2 joins. It also has 3-5
> pieces in the where clause.
> So I took out many of the where clause fields, put them in the select
> section, and made a table out of the results.
> Now I have an sp that runs 63 separate queries "inside" 1 sp and it
> returns all the results I need. The queries get data from 1 table and
> have far fewer parts to the where clause. Also I get to index to my
> hearts content. So I'm getting a huge improvement in performance.
> (Sorry I'm being so deliberate here.)
> Finally! Here's my question.
> Instead of making a table should I use a temporary table? Would I get
> even more performance from a temp table? What advantages do temp tables
> have?
>