What can cause a SQL Server Account lock out?
I'm facing some problems with a locked out account and I believe it's not being locked out due to password issues. Although it may be.So I was wondering what can cause an account to be locked out in...
View ArticleXP_CmdShell diasble impact on replication?
What is impact on transactional replication if we disable the Xp_CmdShell?
View ArticleSQL consistency based I/O error, help needed
Hello everyone.I'm new to database errors so I'm not really sure what I should do next. I'm using an accounting program running on SQL Server Express 2005 (9.0 SP3) on a Windows Server 2008R2. While...
View ArticleSimple COALESCE(...VALUES...) throws severe error on SQL Server 2008
The following simple statements throws a severe error:SELECT COALESCE((SELECT Wert FROM (VALUES (NULL)) AS Werte(Wert)), NULL, 2)If reformulated with (nested) ISNULLs, the statement works.Is this a...
View ArticleSuppress Full Text Catalog informational messages?
I see alot of the following messages in our SQL Logs:Changing the status to MERGE for full-text catalog "ftConsolidatedIB" (8) in database "DeviceInfo" (24). This is an informational message only. No...
View ArticleDifferential Backup suddenly fails with Msg 3035, Level 16
We have SQL 2005 with DB in Full recovery mode.We have full DB backup done early every day followed by differential backup at regular intervals during the day.After working for years, for unknown...
View ArticleTempdb and SQL Server Agent
Hi,I have an admin on site that I am working with that is stating that SQL Server Agent needs to be running for tempdb to be able to do processing.There is no job running that is enabling an object...
View Articlesys.dm_io_virtual_file_stats- Negative Numbers in the sample_ms Column
I have a 64-bit Windows Server 2008 R2 running 64-bit SQL server 2008 R2 version 10.50.4260. I'm seeing negative numbers in the sample_ms column when I query sys.dm_io_virtual_file_stats(). According...
View ArticleSQL Server 2012 database connection loss if the application is kept idle
I am using a vb.net application. My database is SQL Server 2012. This application is used by 10 to 12 users from different PCs. If I leave the application idle for 6 or 7 minutes then there is database...
View Articleapplication connection to db problem
Hi, we have an application that tries to connect to backend SQL server database, but the applicaiton got error:Login failed for userdomain\myuser. domain\myuser is an application account used to...
View ArticleMount offline MDF file to SQL Server
I get an offline MDF file from another computer, and copy it to my own computer. How to mount it to the SQL Server on my own computer so that in SQL Server Management Studio I can access all its tables...
View ArticleExecute script containg sql agent token through SQLCmd
I have simplified my issues so that it can be reprod by anyone . I have a sql agent job with powerhsell step with below code -$sqlInstance = "$(ESCAPE_DQUOTE(SRVR))" $sql_conn = New-Object...
View ArticleFirewall changes and port number for sql server 2012
Hi Experstwhat port number should the developers request access to a sql server named instance which is installed on port number 1444is it TCP or UDP port ?please advise me Thanks
View Articlehow server can establish a query plan for a view as soon as the view is saved.?
based on the following MSDN ,it is say"A database server can establish a query plan for a view as soon as the view is saved.""Query plan generation A query plan is an internal strategy by which a...
View ArticleSP with recompile but no events in profiler
I put "with recompile" on an SP. Now it runs about 40ms slower, so it seems to have that effect, the overhead of the compile time. I can see it with "set statistics time on". But it does not...
View ArticleThe performance is worse in Production server
Local laptop 8 core, 8G Memory, a procedure run 17 minutes Production server 12 cores, 32G memory, the procedure run over 50 minutes.I restored the database backup from production, the same procedure...
View ArticleSQL Server 2008 Developer Edition still available?
I need to do some development for customers with 2008 Enterprise, so I do NOT want to get into 2012 edition in case there are some backwards compatibility issues. Is it still possible to purchase and...
View Articleset maxdop > # logical processors?
Is there a way to set maxdop to a value greater than the number of schedulers on the system? I've got a VM with 4 vCPU that has a fairly low user concurrency but the queries that are run require lots...
View ArticleTables with more than milions of rows by months
SQL Server 2008it is planned to create a table with some columns that will be populates by around 600 millions of rows per months.How to mangage a large table taht should grow 600 milions of row per...
View Article