Fixing a broken FILESTREAM table + EXCEPTION_ACCESS_VIOLATION
I've been sent this database by someone as raw files (that I tricked SQL Server into attaching as it wouldn't attach it normally) because they had no backup available. I'm using SQL Server version...
View ArticleSQL Server 2012 tempdb - multiple files still recommended as well as TF 1118?
Hi,Can you tell me if its still recommended that tempdb be allocated across multiple data files in SQL Server 2012? Is the use of TF 1118 also still recommended?Thanks in advance,Ed
View ArticleSQL server process Processor Time (CPU Utilization) over 100%
We are seeing that the %Processor Time for the sqlservr process in Perfmon is over 100%. I am trying to understand how can the percentage of use be over 100%, and why it is over 100%. Someone told me...
View ArticleHelp defining index to help performance of Update query
I'm having difficulty coming up with an index for this update query. UPDATE MarketInsight SET G_ULT_CNTRY = b.COUNTRY_CD FROM MarketInsight INNER JOIN MarketInsight AS b ON MarketInsight.G_ULT_DUNS =...
View ArticleSQL Server can't see 80 CPU
I have a server with 4*20 CPU. Windows 2008 R2 Ent., SP1. The OS sees 80 CPU (16*5) in TSK MGR. SQL Server 2008 SP3 CU9 only sees 40 .....using the following query: SELECT cpu_count AS [Logical...
View Articlemanage partition wizard is not highlighted
I have done partition for BBC Table on "modified_on" column having datetime data type.All partitioning steps i have done using query not GUI. process completed without any error. But when i go to...
View ArticleKPID SPID state ?
If KPID=0 and Open_tran>0 for a SPID what does it signify; How is it possible. Does it mean KPID is assigned for Running spid.
View ArticleChanging Alert.PagerSendSubjectOnly property to True.
Hi everyone,"Property PagerSendSubjectOnly is not available for AlertSystem '[SVRNAME]'. This property may not exist for this object, or may not be retrievable due to insufficient access rights....
View ArticleSQL Server 2012 Data import tool loading quotes from CSV file.
Hi,I am trying to load a CSV file into SQL 2012 using the data import tool.It has the format of:"xxx","xxx","xxx" etc (The first row contains the column headings). So all character fields. The problem...
View ArticleHow to connect to the database added in the Server Explorer?
I changed the Connection Strings to "Data Source=(localdb)\\Projects;" and now I can connect to the database created in the (localdb)\Projects. But I still cannot connect to the database in the...
View ArticleCoping backup files from one location to another location of a particular date
Hi,I have a folder contains last 5 days backup, I'm using the below command for copying use masterEXECUTE [dbo].[xp_cmdshell] 'Copy C:\commandTestCopy\*.BAK C:\commandTestPaste','NO_OUTPUT';The command...
View ArticleI cannot attach MDF samples from ASP .NET project
My RDBMS is Sql2k8:CREATE DATABASE [Enrico] ON ( FILENAME = N'C:\Inma\AplicacionWeb_Cuina\WebApplication1\App_Data\aspnet-WebApplication1-20131208171104.mdf' ), ( FILENAME =...
View ArticleSQL server agent- agent Xps disabled
I followed the instruction suggested in this post:Code Snippetsp_configure 'show advanced options',1goreconfigure with override gosp_configure 'Agent XPs',1goreconfigure with override gosp_configure...
View ArticleEnterprise 2012 Evaluation
Hi guys, I'm thinking to download the trial version of Sql 2012 Enterprise. Anyone know if there are limitation compare the full licensed? I mean, can I develop this edition without any...
View ArticleUnable to open physical file - Operating system error 5: 5(error not found)...
I am trying to attach a database to SQL 2005. This database has not previously been attached. I have only just installed SQL. I get the following message: Unable to open physical file...
View ArticleRequested memory for execution plan information
Hello,May I have some information regarding the memory parameters that appear into the execution plan ? here is an example of what I see on a XML Execution plan:"MemoryGrantInfo /...
View ArticlePartitioning
Hi allI am new to partitioning and it's something that I have started looking at.Most of the explanations that I have seen for partitioning incudes the sentence "The data of partitioned tables and...
View ArticleLow SQL Server Memeory shown in the task manager
Hi Fellow.I have two physical HP servers with 64GB ram. The SQL-DB1 is a primary production server and SQL-DB2 is a stand-by server. Both are configured on Always on High Availability. On both servers,...
View ArticleWhat are the most important perfmon counters to tract to create a baseline...
I am currentlly collecting perfmon counters for my Central Management Server to create a base line. Years ago, I had a manager that had me collecting the following counters...
View ArticleRecent transactions missing from current transaction log backup
Hello all,I've got a strange situation that I've had a hard time getting to the bottom of. The issue is that I have a web app that writes to a SQL 2008 (R1) database. If I query the database directly...
View Article