dbTalk Databases Forums  

OpenRowset length limit

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss OpenRowset length limit in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Roberto Lo Baido
 
Posts: n/a

Default OpenRowset length limit - 11-10-2004 , 03:44 AM






In my application i use an SQL OpenRowset to execute an MDX query . It works
fine with different mdx queries.
If i use an MDX query with a "very long length" (more than 4000 characters),
the openrowset return an error (incorrect syntax near...) but the syntax is
ok, also "quota problems" ok.
It seems to be an error relative to another problem, maybe the length, and
not the syntax.
If i execute the mdx query in the analysis services sample application it
works.
Any ideas?

Thanks!

Reply With Quote
  #2  
Old   
Steve McHugh
 
Posts: n/a

Default Re: OpenRowset length limit - 11-10-2004 , 04:03 AM






Yeah, had that problem...!

In the end I had to create some server side named sets with the members
in to reduce the size of the MDX. If you can't do that then you might
some problems. If you're populating the set of members dynamically then
you'll need to pre populate the named set before running your
openrowset.

Steve


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.