SQL 2008 R2 - Does SS2K8 control what is logged into the Error Log?
Good Day to All,Mutliple SS2K8 Ent X64 environments. I force a Restore Failure and find the event logged in Error Log. When I do the same thing on another SQL Server (same config). The failure is...
View ArticleFileTable folder on a SQL cluster
HiI have a couple of questions about FiletableWhen I run below query against my filetable I get nothing. and I believe I should get a Path. right?select file_stream.GetFileNamespacePath()from MyFTable...
View ArticleDatabase diagram support objects cannot be installed...
I can't make a diagram on our server(Win2003 x64,SQL 2005 Enterprise x64 sp2 3054).I have tried to login as an admin and create a new db, but get the same message - 'Database diagram support objects...
View ArticleDatabase Access issue
Hi team,when i loged into production sql server after we are facing bellow issue,please send answer ASAP...
View Articlerebuilding catalogs
whenever i create new user,job or course to the database and when i tyry to fetch the records i am unable to search the records,but when i rebuild the catalogs i am able to fetch the same which i was...
View Articleraiserror(@msg,0,1) with nowait isn't pushing out the messages
I'm working on a big script that will someday be a big SP, and have it spitting out status messages after each big command, the whole thing is running about 30 minutes on our larger servers. But as...
View Articlesql profiler sqltransaction with DatabaseName null
Run a server side profiler trace since I have sleeping spids appearing occasionally on the server. noticed some SqlTransaction events where DatabaseName column shows null . Majority of the...
View Articleundo delete statement...is it possible
I've made a very silly mistake. I was supposed to run this statementdelete table_columnswhere col_id = 1223but instead I mistakenly executed just the 1st line.I have no backups....is there any possible...
View ArticleRAISERROR in SQL 2012 since SQL 6.5
Hi everyone,we must to upgrade SQL 2008 R2 to SQL 2012, but all the RAISERROR in stored procedures are in the sintax:RAISERROR 50001 'Error during execution of task XXXXXX'Obviously, this sintax is not...
View ArticleHow to shrink database after deleting multiple rows in a table?
Environment: SQL Server 2008 R2 Enterprise Edition and using primary filegroup onlyDon't have enough space to create a new filegroup and move all tables/indexes to the new filegroup.Objective: Reclaim...
View ArticleCardinality estimates on a parallel join are wrong
Hello everybody,I'm having a problem with pretty simple query where the cardinality estimates seems to be off and usual methods that I knew for this kind of problem don't help.The query: SELECT...
View ArticlePhysical connection is not usable
One of our stores is often getting the following error: "A transport-level error has occurred when sending the request to the server. (provider: Session Provider, error: 19 - Physical connection is not...
View ArticleExecution Plan Caching - Zero Cost plans
Hi allI am aware that SQL Server's plan cache eviction policy is: When memory pressure is detected, all Zero-cost plans are removed from the plan cache.By zero-cost, does this mean the cost of...
View ArticleTMG memory high
Hi,Server memory: 4GBWe have a server that only runs TMG. The maximum memory is set at 1024 in SQL, but sometimes when I restart the sever the memory is already at 3 or more GB. Then after an hour or...
View ArticleBackup of files failed
When I try to back up I get several errors. This time it said Backup failed. One or mor soorce disks is missing. What does that mean?
View ArticleWhat are the most common issues faced by a production dba regarding user...
Is there any website, blog or forum where all the database related issues(issues applicable to production environment only) are documented?
View ArticleLog shipping issue,
Hi TEAM,we are configuring logshipping successfully but when ever run the backup job we getting bellow error message
View ArticleWhere does sp_trace_getdata store its information, and how do i set the size...
We are using sp_trace_getdata to run a trace against SQL Server. Unforutnately this call seems to be undocumented.Where does this call store the trace data it produces? Does it write to a buffer in...
View ArticleLog shipping
How to fail over the log shipping. When the primary server down and how to troubleshoot?
View ArticleDBCC CHECKDB Job Failed
Hi All,I have a SSIS Package Maintenance plan to execute DBCC checkDB for UserDB on my server.The Job as suddenly failed now.Executing the query "dbcc checkdb('MYD?Name') with no_infomsgs" failed with...
View Article