How to create a dimension that will reference another dimension
Im creating a new cube without having a schema or DSV in place yet. Starting from scratch. In my OLTP database I have a table 'Orders' which contains various FK references to other tables, which in...
View ArticleHow to capture error messages for BCP when running through XP_CMDSHELL
XP_cmdshell returns 0 as success when running BCP that causes insertion failure for any records (failure because of truncation, data type mismatch etc.)One way is to capture output message in temp...
View Article[823] [HY000] [Microsoft][ODBC SQL Server Driver][SQL Server]The operating...
Hi,I am facing an issue while loading fresh data into SQL server database. we are able to load data into staging area, but while processing stored procedures system face bellow error message...
View Articlesql server logshipping
log shipping backup jobs is failing due to the below error.The job failed.the job was invoked by schedule(ls backup_server name).The last step to run was step 1.(log shipping backup job step) executed...
View Articledata warehousing conundrum
I need to create a data warehouse/data mart using dimensional model. But the source database is not structured uniformly. The source database system is a relational database but the actual data is not...
View Articlehow do I design this in data warehouse?
I am working on building a data warehouse for insurance quote data. Each quote will have an applicant and can have an optional co-applicant. Each applicant and co-applicant will have prior auto...
View ArticleNeed to Shortten the Query
Team,My Cognos Tool is generating a query which has multiple SUB Queries as this is generated by the TOOLWe can shorten the query by arranging the query in a Proper Way. Can anyone help me on...
View ArticleWindows HDInsight vs Azure HDInsight
Question: Is Windows HDInsight still under attention of Microsoft? Or are they focussing on Azure HDInsight? It's hard to find Windows HDINsight installer. The installation of the web installer is...
View ArticleRecommended Hardware and Windows Environment for SQL Server 2014, For a Fast...
I am just beginning to learn about using multiple servers and drives for SQL Server performance, and how certain servers are more reliable, avoiding freeze-ups or bugs that occur. I've heard about...
View ArticleWhat is the effect of the service account permissions
Hi,What is the effect of the service account permissions? For example, suppose the service account for SQL Server database engine is SomeDomain\A, and has no permission to execute stored procedure X,...
View ArticleSales charges in Sales Fact table
HiI need to build a Sales Fact table, i am putting Order No, line No, Product Sold , Quantity sold, Unit Price.How can i add Order charges to this table? As this is a charge on the order level and not...
View ArticleDoes Position Of Cube Dimension Matter While Adding it as Measure
I've created a cube on the Adventure Works Database. And when tried to process the Cube i get error Errors in the OLAP storage engine: The attribute key cannot be found when processing: Table:...
View ArticleSql Server
Hi Everyone ,I hope all of you are doing well, I need one help regarding below issue .I was working on production server which is having crores of data and trying to alter one table column from tinyint...
View ArticleDrawbacks of big volume into Dimension Tables
Experts,Below are counts for DIM and FACT tables.Can somebody please help me with the big volume of data under Dimension tables versus FACT tables?What are the drawbacks and how DIM tables with big...
View ArticleSSIS + split 1 row in multiple rows based on multiple columns
Hi all,I have a flat file Shop ID Check 1 Check 2 Check 3500OK OKNOKI want to transform this to staging as 3 rowsShop ID Check number Result5001 OK5002 OK5003 NOKAnyone...
View ArticleNot able to see the column name when using an Alias for a table....
Hi,I am using sql server on MS Visual Studio 2012. My issue is, when i write a query, and give an alias for a table, i am not able to see the columns when i do "SelectA. FROM TABLE_NAME A';Is there any...
View ArticleBIDS 2008 - Dimension Usage new relationship Measure Group Column list empty?
Ive been updating my underlying schema, and DSV and now Im having to update some of the Dimensions. Looks like things got a bit "sideways" somewhere along the way. Now that Im going back to reassign...
View ArticleBIDS 2008 - Making changes to underlying schema at what point is it better to...
What are some tips or other things you have come to discover or use when making schema changes to the underlying database -vs- impact on the cube and dimension usage etc? Is it easier sometimes to...
View ArticleData warehouse ETL - dropping all FK but what about extended properties? Do...
So Im setting up a SSIS package to refill the DB, drop/re-add the keys etc and I notice that there are extended properties added in the definition of the keys added to the fact table. Do these needed...
View ArticleHow to Link two Facts with Different Time Granularity (Year, Quarter) to a...
Hello All,I have the below scenario where i have Two Facts Fact Quarterly and Fact Yearly but one Time Dimension which has Quarter grain.So my question is how do i Establish relationship from Fact...
View Article