dbTalk Databases Forums  

Alter the data types returned using linked server on MSOLAP provider

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


Discuss Alter the data types returned using linked server on MSOLAP provider in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
John Shiangoli via SQLMonster.com
 
Posts: n/a

Default Alter the data types returned using linked server on MSOLAP provider - 03-07-2005 , 06:25 AM






Hello All,

Please may I have your assistance with the following issue.

In T-SQL I'm returning 53 columns from a linked server running an MDX
query. Unfortunately except for the member caption which is being returned
as NTEXT the rest of the columns are returned as NVARCHAR(4000). I need to
reduce the size of the data types. I initially tried creating a temp table
with columns nvarchar(128) and then inserting the values into this table.
This worked well when I consistently return the correct number of columns,
however I have the added complication of the member caption not being
returned when there is no data.
Hence is there any way of altering the properties of the returned columns
when querying via a linked server using the MSOLAP provider?

Thanks
John

--
Message posted via http://www.sqlmonster.com

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.