Please start any new threads on our new 
    site at https://forums.sqlteam.com.  We've got lots of great SQL Server
    experts to answer whatever question you can come up with.
    
        
            
                
                    
                        
                            
                                | Author | 
                                
                                 Topic  | 
                             
                            
                                    | 
                                         xhostx 
                                        Constraint Violating Yak Guru 
                                         
                                        
                                        277 Posts  | 
                                        
                                        
                                            
                                            
                                             Posted - 2013-03-18 : 09:55:58
                                            
  | 
                                             
                                            
                                            | hi,I have created an SSRS report that calling a Stored proc but it is taking about 30 sec when I call it from the Report MAnager. However, the same stored proc takes 2 Sec on SSMS. The SP is just a simple select. Yes, it does have a lot of Columns but not calculations at all.Any help will appreciated.Thanks!--------------------------Joins are what RDBMS's do for a living | 
                                             
                                         
                                     | 
                             
       
                            
                       
                          
                            
                                    | 
                                     visakh16 
                                    Very Important crosS Applying yaK Herder 
                                     
                                    
                                    52326 Posts  | 
                                    
                                      
                                        
                                          
                                           
                                            Posted - 2013-03-18 : 12:31:51
                                          
  | 
                                         
                                        
                                          | is it parameterised? is both cases using same set of parsmeters?------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/  | 
                                         
                                        
                                            | 
                                         
                                       
                                     | 
                                   
                            
                       
                          
                            
                                    | 
                                     xhostx 
                                    Constraint Violating Yak Guru 
                                     
                                    
                                    277 Posts  | 
                                    
                                      
                                        
                                          
                                           
                                            Posted - 2013-03-18 : 13:56:38
                                          
  | 
                                         
                                        
                                          | No Parameters at all. it is just straight Select--------------------------Joins are what RDBMS's do for a living  | 
                                         
                                        
                                            | 
                                         
                                       
                                     | 
                                   
                            
                       
                          
                            
                                    | 
                                     Lamprey 
                                    Master Smack Fu Yak Hacker 
                                     
                                    
                                    4614 Posts  | 
                                    
                                      
                                        
                                          
                                           
                                            Posted - 2013-03-18 : 19:00:44
                                          
  | 
                                         
                                        
                                          | Is the call taking 30 seconds or is rendering the report taking 30 seconds?  | 
                                         
                                        
                                            | 
                                         
                                       
                                     | 
                                   
                            
                       
                          
                            
                                    | 
                                     xhostx 
                                    Constraint Violating Yak Guru 
                                     
                                    
                                    277 Posts  | 
                                    
                                      
                                        
                                          
                                           
                                            Posted - 2013-03-19 : 11:59:02
                                          
  | 
                                         
                                        
                                          | Rendering the data of the report takes about 30 secs.Thanks!--------------------------Joins are what RDBMS's do for a living  | 
                                         
                                        
                                            | 
                                         
                                       
                                     | 
                                   
                            
                       
                          
                            
                                    | 
                                     visakh16 
                                    Very Important crosS Applying yaK Herder 
                                     
                                    
                                    52326 Posts  | 
                                    
                                      
                                        
                                          
                                           
                                            Posted - 2013-03-19 : 12:00:58
                                          
  | 
                                         
                                        
                                          | does procedure uses OPENQUERY or any linked server connection?------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/  | 
                                         
                                        
                                            | 
                                         
                                       
                                     | 
                                   
                            
                       
                          
                            
                                    | 
                                     xhostx 
                                    Constraint Violating Yak Guru 
                                     
                                    
                                    277 Posts  | 
                                    
                                      
                                        
                                          
                                           
                                            Posted - 2013-03-19 : 19:30:02
                                          
  | 
                                         
                                        
                                          | No, just a straight Select query embedded inside a Stored proc. I created a data source calling the SP, created a data set based on that SP and showing that on a Table on the report.So, the same SP takes 2 sec but on the report is taking that long!Thanks!--------------------------Joins are what RDBMS's do for a living  | 
                                         
                                        
                                            | 
                                         
                                       
                                     | 
                                   
                            
                            
                                | 
                                    
                                      
                                     
                                    
                                 | 
                             
                         
                     | 
                 
             
         |