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 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 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 ArticleReg Differential database restoration
Greetings,I am new to SQL Server, I am performing a differential database restoration, I need to know how to find out what are the backup files that needs to be restored before or after with a...
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 ArticleSQL 2000 - randomly stopped - file permissions
Have a SQL 2000 database instance with 4 databases. 2 are fine, but 2 randomly stopped. Detached and reattached them and the are back in "Read-Only" mode and when I try to change them to writable I get...
View ArticleSQL2012 SP1 - Errorlog message: Failed to allocate BUFs:...
Hi all,recently i have received following errors in my errorlog: Failed to allocate BUFs: FAIL_BUFFER_ALLOCATION 1this error is followed by: Memory Manager KB...
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 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 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 ArticleSQL Server keeps stopping every time I start it.
Hi All,I can't log into sql because every time I try to start my sql server in services it stops again.SQL ErrorLOG: 2013-05-13 17:03:07.15 Server Microsoft SQL Server 2008 R2 (RTM) - 10.50.1617.0...
View ArticleHow to find permissions on all the tables of a database of one login.
How to find permissions on all the tables of a database of one login.Thanks
View Articledatabase issue
Hi, Autogrow of file 'database_log' in database 'database_name' was cancelled by user or timed out after 16411 milliseconds. Use ALTER DATABASE to set a smaller FILEGROWTH value for this file or to...
View ArticleMonitor ressource governor workload group fails as data collection ?
Hi all, I set up ressource governor in sql 2008 r2. Am able to monitor cpu usage % per workload group live. When I add "\SQLServer:Workload Group Stats (*)\CPU usage %" into a data collection no data...
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 Article