Need help with stored proc with parameters
I have a project and I need to figure out the stored proc for this query:select Inventory.Sname from Parts, Inventory, Shipments where Parts.Color = 'green' and Parts.Pno = Shipments.Pno and...
View ArticleStar schema example - where is the benefit?
See this example of a star schema. To me, this looks a lot like an ordninary schema I would build in an OLTP system, other than the time dimension. What am I missing?
View ArticleDoes columnstore index use the Buffer Pool?
Hi, I am currently running TPC-H benchmark from Benchmark factory and have implemented the columnstore index on the largest table (Lineitem). My servers have 128GB RAM , 4 socket and 8 cores /socket. I...
View ArticleDatabase properties for Data warehouse?
When setting up a new database for use with a data warehouse, what properties should be set that would be different for OLAP use vs OLTP use? What kinds of things do you need to optimise the database...
View ArticleOLTP Hosted at different location
Our OLTP system is hosted in a different location outside our intranet in a different location other than our current office .We are going to build a data warehouse using this OLTP and possibly query...
View Articlehow to run query without index?
Hi,The DBA has created few indexes in the Datawarehouse, where i have only read access, so cannot disable the indexes.Is there a way to disalbe the indexes with a query? If so can you please provide...
View ArticleRow calculations ETL vs Computed Column vs Cube
Hi all,I'm after some general advice on performance. I am using SQL 2008R2. One of my fact tables has multiple columns that make up a measure e.g. basic charge, freight charge, fuel charge = total...
View ArticleCargar ids a la tabla de hechos de la tabla dimensiones
Buen día amigos por favor necesito ayuda he tratado de cargar la tabla de hecho desde una consulta de tabla normalizada de una base de datos BDCREDITOS para cargar los ids. en la base de...
View ArticlePerformance Issue
I have a scenario where I want current records(N)row + previous records .. But previous record may not be (N-1)th row always. It can be (N-2) or (N-3) row.. So if I have 7 columns, EmpID, EmpName,...
View ArticleDate Time Stamp a Table
HiI was wondering if I could get some advice around a table I have in the data warehouse I work with. The table has a key, a start date and an end date recorded in it. My task is to find out when...
View ArticleData warehouse ETL questions, staging tables and best practices
Im going through some videos and doing some reading on setting up a Data warehouse. I know SQL and SSIS, but still new to DW topics. Staging tables One example I am going through involves the use of...
View ArticleReport Builder 3.0 - Aggragating Data
Good Morning, I'm trying to setup this matrix to combine the months and display the total value. For example, it the matrix would display "January" and then display the total gross for each value....
View ArticleBreaking Up Blended Transaction Table (Inventory Control)
Good Morning, I'm currently modeling an inventory control process and was hoping to get some input/feedback on breaking up a blended transaction table. The source system has a single table that stores...
View ArticleDynamic Parition of a table with date wise
Hi ,I need to create an dynamic partition(date wise) to an existing table when new record comes it should create a new partition ,if same date data comes data should load to existing partition and it...
View ArticleHR Employee vacation calculation
Hi I am developing HR data warehouse where one of the requirments is to calculate the number of days an employee is on vacation/leave for each month. From the source system I get emplyee ID , Vacation...
View Articlecan we schedule rebuild or reorganize indexes using any sheduler
After How many days or uses we should rebuild or reorganize indexes?can we schedule rebuild or reorganize indexes using any sheduler ??? Is it good practice.
View ArticleCopy a table in SQL
Hello, Is there a way to copy a table in SQL Server 2008 R2 Management Studio?Brian Roberts
View ArticleAlternative Reporting Tools
Hi, are there any alternative Reporting Tools as PowerView or PPS? At this time we uses this both tools but we are looking for some other aplications for reporting. Greetings Marco
View ArticleFirst major ETL project - Potential pitfalls?
I apologize if this is posted in the wrong place. I have been tasked with, pretty much, a hybrid ETL and data modeling project. I have put a lot of thought and work into developing this solution,...
View ArticleIndex Views
I am on SQL Server 2008 and setting a data mart and developing reports using Cognos 10.I will be doing several totals (sum…) on group by clauses.I come from Oracle background. IN Oracle, one can set...
View Article