backup, then restore to older version of sql server
I have a database on a sql server 2008 R2 ( Nov CTP ). I want to copy ( backup/restore ) a database to a prior version of sql server on a Vista PC. Version 10.50.1352 to 10.00.2531. I am getting an...
View ArticleShrinkFile
Boa tarde, Usei os seguintes comandos para consultar e reduzir o arquivo de log do meu banco porém os aquivos continuam do mesmo tamanho. O que posso fazer para resolver ?DBCC SQLPERF...
View Articlesql agent job cmdexec step with robocopy
I have below code in sql agent job step of type cmdexec . This step is supposed to copy a file using robocopy and based on the return code apply the if logic to return 0 .My issue: robocopy step is...
View ArticleDR writtable secondary
For log shipping you can use a standby for querying, right?For mirroring the same?And for replication?Any of the above support changing the data on the secondary, mirror, subscriber? If data is...
View ArticleUnable to add domain user as sysadmin in SQL Server 2012 using PowerShell
Hi,I am using the following PowerShell script to add a domain user to SQL Server 2012 as sysadmin, but I encounter an...
View Articlesyslanguages
I'm implementing Internationalization in our database error handling using the RAISERROR and FORMATMESSAGE functions to return the correct language version of an error message created using...
View ArticleWarning: maximum row size exceeds the allowed maximum of 8060 - even when my...
Hello,We have SQL Server 2008 R2 (SP2) - 10.50.4000.0 (X64) Jun 28 2012 08:36:30 Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor) .I need your help...
View Articleis it possible to see how much of a table sits on a particular file as...
I would like to see the size taken up for a data file for each table. I can get the data for file group level but am interested in seeing this at file level. Any ideas?egtablename, filegroup name, file...
View ArticleHow to update the current reference to a database that will move to another...
Hi,In my database, I have reference to another database which is going to move to another server. The references are in views, stored proc, triggers, job and etc.I believe, I have to create a linked...
View ArticleMax Degree of Parallelism, Timeouts and Deadlocks
We have been trying to track down some timeout issues with our SQL Server. Our SQL Server runs a AccPac Account System, an Internal Intranet site and some SharePoint Content DBs. We know that some of...
View ArticleMirror to DR then replicate from DR?
I'm mostly curious whether this works technically.Say we have a main production system A, and we use mirroring to a DR site B.Can we use replication from B to C?The idea would be to keep a sandbox copy...
View ArticleMayday! SS DBE Guru urgently required, for love and glory from all the...
Mayday! Mayday! A distress signal is being sent out to all past, present and future Gurus!We need more of your awesomeness!The TechNet Guru Competitions have become BIG news within Microsoft circles,...
View ArticleScript to find duplicate index and how can we tell if an index is REALLY a...
Does any one have script to find duplicate index? and how can we tell if an index is REALLY a duplicate?Rahul
View Articleif we run a query,what all happens in background/what are phases of query...
Hi Friends,if we run a query,what all happens in background/what are phases of query processesing.?Many thanksShashikala
View ArticleCan't turn off vardecimal storage on user database
There are no objects that has TableHasVarDecimalStorageFormat enabled. The below query returns nothing. Tried everything as per BOL. SELECT name, OBJECT_ID, type_desc, OBJECTPROPERTY(OBJECT_ID,...
View ArticleMDW collection failing due Network Packet Size
Need a work around for MDW collection. Network pkt size gt then 16,383 bytes.http://tinyurl.com/mc9nzkq I know reducing network packer size will resolve the issue . But I am looking for a work around...
View ArticleImpact of using snapshot isolation and READ_COMMITTED_SNAPSHOT - will tempdb...
Is one consequence of using READ_COMMITTED_SNAPSHOT that the size of the temp db will grow much larger, since sql will keep transaction details in tempdb...
View ArticleFunky output from SQLCMD.EXE /L
I have a Clustered environment - both nodes with SQL 2012 on Windows 2012 Server.On the Passive node, SQLCMD.EXE /L lists the found servers as expected, e.g.,Servers: MYCLUSTER1\CLUSTER...
View ArticleWhat is difference between 32 bit and 64 bit sql server memory management
What is difference between 32 bit and 64 bit sql server memory managementThanksShashikala
View Article[298] SQLServer Error: 9001, The log for database 'tempdb' is not available.
I have SQL server 2000 standard edition running on Windows 2003 server. I am getting this error[298] SQLServer Error: 9001, The log for database 'tempdb' is not available. [SQLSTATE HY000]...
View Article