Can we specify Isolation level for Job or Linked server
Hi,We have a job that have 40 steps and we are running stored procedures that have queries referring other server/database using linked servers , we need to run the job in read uncommitted isolation...
View ArticleRe:attach and detach problem
Hi team,i have one database some space issue problem i detached the that db .and move those .mdf and .ldf files to another location after that i tire to attach the that database i am facing the bellow...
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 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 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 ArticleSingle User Mode in SQL LocalDb 2012
Hi,Is it possible to run SQL LocalDB in single user environment to restore master database? I have access only to sqlCmd tool.I tried following from DOS window."C:\Program Files\Microsoft SQL...
View ArticleData warehouse File groups and Table partition designing
Hi Experts,Project: Datawarehouse migration from Oracle to SQL Server 2012 In Oracle Number of Schemas in Oracle - 6 Tables: Each Schema has 3 partitioned tables and three unpartitioned tables Every...
View Article