Viewing 15 posts - 1,591 through 1,605 (of 5,504 total)
How would such a parameter string look like?
Could you attach a fake sample?
I'm just wondering what kind of query would require more than 8k for parameter...
May 5, 2011 at 11:26 am
Ninja's_RGR'us (5/4/2011)
kim.etcheson (5/4/2011)
May 5, 2011 at 2:18 am
You could either use PIVOT or the CrossTab approach.
For the former, please have a look at BOL, the concept of the latter is referenced in my signature block.
As a side...
May 5, 2011 at 1:51 am
Instead of using GOTO I'd recommend you either include those code sections directly into the related IF block. If there's too much code, use separate sprocs and call those.
May 5, 2011 at 1:47 am
Do you have a chance to either create a view or a sproc at the db referenced in OPENQUERY that would hold the content of @sqlquery? Then you could just...
May 5, 2011 at 1:44 am
You could either add a foreign key constraint with no cascading actions or change the user permission to deny update of that specific column. The former would be the solution...
May 5, 2011 at 1:41 am
[SET SARCASM ON]
The products mentioned above must have great community web sites. What else would be the reason to ask for recommendations like the above in a SQL Server forum?
[SET...
May 5, 2011 at 1:34 am
I don't think your latest reply will return the same result since you'd only number the rows with filed1=0 instead of all related rows.
Regarding PARTITION BY: it owuldn't make a...
May 4, 2011 at 5:00 pm
Does the sproc return any error when run from SSMS (Management Studio)?
If so, what tool do you use to "run (and design) the report in intranet"? Assuming it is SSRS...
May 4, 2011 at 4:48 pm
I'd like to ask for table def and sample data to verifiy if the query is exactly what you're looking for.
But there's definitely one thing I'd change: replace the name...
May 4, 2011 at 4:35 pm
raistlinx (5/4/2011)
Yes that is what I understood the problem to be from the analyst who gave it to me. I knew it had to be a common problem. Is there...
May 4, 2011 at 3:57 pm
Looks like a "classic" triangular join to me.
It might be a better way to use ROW_NUMBER() instead of the COUNT(*) in a subquery approach.
Would it be possible to post table...
May 4, 2011 at 3:22 pm
I'm guessing toward the same direction as Stefan:
Assuming V_KASSTRNS and V_PERSONAL are views, both could have the hardcoded APP06 linked server referenced in the underlying query.
I'd check the definition of...
May 4, 2011 at 2:13 pm
May 4, 2011 at 12:49 pm
Ninja's_RGR'us (5/4/2011)
What culture is he from?I personnally wouldn't be offended... but I'm from around here :-D.
I'm from around here, too. How come we never met? :-D:-P
Regarding the subject (but not...
May 4, 2011 at 12:24 pm
Viewing 15 posts - 1,591 through 1,605 (of 5,504 total)