SQL 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 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 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 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 ArticleBackup & restore of data like organization chart
Hi dear friendsI have a database that every username should Enter some information in system & his (Admin,Admin User )then his (Admin) should give those Update Information to his (Users).Now, I...
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 ArticleShrink SQL Database Failed
I have a database which size is 40GB, but only 1% is used, so i wanted to shrink this database to a smaller size.i tried to shrink the database by using command as below:DBCC SHRINKDATABASE...
View ArticleSQL Server Collation
Hi,What if I have different collations on Instance level, database level and Column level as below, which one is taken as effective?Example:Instance level:LatinDatabase Level:GreekColumn...
View ArticleSQL Server Resource Database
Hi,Can you share on the good practice on managing SQL Server Resource database, such as backup and archival? It seemed that Microsoft does not stress too much on this hidden database although it is...
View ArticleFull LSN incorrect
Hi,recently our DBA has left the company and I am learning SQL as quick as I can to be able to administrate our databases correctly.We have an issue with restoring a PIT (point in time) backup as the...
View ArticleProperty Size is not available for Database '[tempdb]
HiWhen i right click on my TempDB in Sql2008R2 i get this message:TITLE: Microsoft SQL Server Management Studio------------------------------Cannot show requested...
View ArticleBatch Files user/password v3
Hello, My initial issue was inserting my passoword/username, which I resolved. Now my issue is running the query. Any suggestions?Below is the code:@echo off color 2 cls echo this code opens winsql,...
View ArticleSQL Server logon process takes too long
Hi, A few weeks ago the disk on which one of our SQL Server 2012 instances stores its system databases (master and msdb) reached its full capacity, and crashed msdb, due to not being able to perform a...
View ArticleSlow shutdown of SQL instance (45 minutes)
I have an instance that has many databases (2000) on it (24 cores / 96 GB RAM) and this machine performs perfectly well during day to day operations.However, shutting down the SQL instance takes an...
View Article