on 10-15-2014 8:20 PM
Hi Sunil,
CR XI seems to be capable of only handling around 30KB of SQL Text; per SAP Note: 121808.
The workarounds:
- Upgrade to CR XI R2 SP6 (More info here)
- Use a Stored Procedure
-Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
However, bear in mind that later versions of Crystal also have limitations - I have run into it in CR 2008. I don't remember what the exact number of characters is, though.
Once a query gets complicated enough to hit the command text limit in Crystal, you may want to consider using a stored procedure or looking at ways to consolidate your query. If you want to upload your query here as a text document, I may be able to point out some things you can do to simplify it and still get the same results.
-Dell
Hi Sunil,
Are you saying a query in SQL Server returns more records than the same query in Crystal? I don't really understand what you mean by custom code or the word count means.
Thanks,
Brian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you all for your replies.
Abhilash - I will try an upgrade first. I liked the idea of SP too.
Dell - My code is certainly complex but I have few things in my mind to try. If I fail, will certainly post the code for your review and help.
Brian - Example - say my code is 1300 lines in SSMS when I copy and paste it to Crystal under Add command, I can only see partial code copied, say 1100 lines and the remaining 200 lines just do not appear in crystal. I paste the same code on MS word file and can see 1300 lines.
Thanks again,
-Sunil
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.