Join Elimination not working with FK to view
In our dimensional data warehouse we have a fact table with foreign keys to dimension tables. In some cases, a view is used for a dimension table to reuse the underlying generic table. The fact table...
View ArticleError carga archivo plano con Bulk Insert
Hola a todos.Tengo un problema cargando un archivo plano con Bulk Insert, cuando se carga el archivo no puede interpretar la letra "Ñ" y la reemplaza por símbolos como "Ñ" ejemplo un apellido como...
View ArticleDatabase Mapping error
Hi I am actually trying to make relationships in an already designed database..Database is historic one and no proper relationships, I could find 3 PK's and 0 FK's. I am doing it in test database...
View ArticleMSDTC Two Connections One Distributed Connection Same Server
Is it possible for two connections -- one from managed code / ADO.Net and one from VB6 COM classic ADO -- on the same server to the same database to enlist in a distributed transaction?A .Net app I...
View ArticleWarning: Fatal error 823 occurred
Hopefully I chose the correct forum....On a SQL 2008 64 bit (10.0.5500.0) I got this error messages three time with interval of two minutes:Warning: Fatal error 823 occurred at May 11 2013 2:38PM....
View ArticleDBCC checkdb online
HI ALLare there any method that I can do dbcc checkdb('dbname','repair_rebuild')online? without change to single_user mode.
View ArticleSQL Server on a VM - are profiler CPU and Duration times honest?
If my SQL Server is running on a VM and the physical CPUs are oversubscribed, my actual performance will be impacted.Will this be visible in the times the profiler reports - will the CPU and Duration...
View ArticleError: Link Server in Sql Server2008
HiI have two sql server A is 2008 R2 and B is 2005I have created link in A for B.when I am updating data from A to Bit gives me error:OLE DB provider "SQLNCLI10" for linked server "LINK_A" returned...
View ArticleDBCC fails on columnstore index
Hi,we have a tabel with a columnstore index where DBCC fails with the following error:Msg 5283, Level 16, State 1, Line 1CREATE TABLE [dbo].[factLossToLayer]( [ByesId] [bigint] NOT NULL,...
View ArticleIs Primary Key is mandatory
Hello DBA and ExpertsIs Primary Key mandatory for all tables?I have a reporting database just for reports.There are SSIS jobs which downloads data from Transaction database to reporting database.I have...
View ArticleSQL memory
Hi,We have two similar reporting servers. Lets assume them Server A and Server BOn Server B, one of the ETL package SQL agent job is failed due an out of memory condition.On both server Total RAM is 32...
View ArticleHow to drop non-clustered indexes from offline filegroup
Hi,We are simulating a recovery test and splitting the data so that clustered indexes will be stored on primary filegroup and secondary indexes will be stored on secondary filegroup. So we used the...
View ArticleSQL 2000 can not start -- Operating system error 32(The process cannot access...
Hi huys working on this issue if any has faced this issue before and solved would be great help.SQL 2000 stopped and when i am trying to start it starts and stopped .system error log says : Operating...
View ArticleSQL CPU affinity and unchecking instances from using it, what is the result?
Hi, Our SQL DBA has configured CPU affinity for two instances out of four. What is the resulting CPU available to the unchecked instances? If the the server has 32 cores and the first two instances...
View ArticleJob is not running but activity monitor is showing next schedule time
Hi,My backup jobs are not running. activity monitor is showing next schedule time but job is not running & there is no any failure log or error i have found in sql server error log. but i have...
View ArticleCould not load the DLL sqljdbc.dll
Someone knows about error bellow:" Could not load the DLL sqljdbc.dll, or one of the DLLs it references. Reason: 126(The specified module could not be found.). " SQL Version: 10.0.2531.0
View Articlelog is getting full in index reorg..why as we know that it just sufflle the...
can any one explain in detail please.Is frequent log backup dyring this maintanance help this probes?Thanks in advance
View ArticleWhat is day data and week data
Hi,I attended an interview last week. Interviewer asked me what is your database size?I said XX GB. Then he asked it is a day data or week data?Kindly some one explain what does day data and week data...
View Article