Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Services / Reporting Services / July 2008

Tip: Looking for answers? Try searching our database.

Report Model with SQL Uniqueidentifier data type - I can't filter on them.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve MunLeeuw - 14 Jul 2008 21:58 GMT
I am trying to filter a resultset from a report model that contains columns
that have a sql uniqueidentifier data type.  When I attempt to use one of
these columns in a filte expression I get the following error.  I haven't
been able to modify the report or model to accept this data type in a
filter.  Anyone using Report Model with UniqueIdentifier data type?

Thanks,
Steve MunLeeuw
Steve MunLeeuw - 14 Jul 2008 22:09 GMT
One way to filter by uniqueidentifier is to use views in the report model
data source view with cast statements.  I don't want to do this, because
then I need to recreate all of my relationships in the datasource view.

Thanks,
Steve MunLeeuw
Steve MunLeeuw - 15 Jul 2008 20:29 GMT
I kept my table with all of it's relationships, then just added a query view
where I did a cast and aliased the field.  I then joined this to my base
table and rebuilt the model.  I now have some other errors to work through,
but I was happy with this approach.

Thanks,
Steve MunLeeuw
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.