Quantcast
Channel: Forum SQL Server Database Engine
Browsing all 15694 articles
Browse latest View live

SQL Server 2008R2 apply Service Pack2

Hi,How I can apply service pack without backup databases on my instance ?Please Help me.

View Article


Schedule a job to run on specific day

Hi all,I want to schedule a job in SQL agent to run only after 7 days starting from the 28th of every month.Thanks in advance.

View Article


Logic Reads ... counter makes no sense?

How it is possible that selecting less data causes more logical reads?SET STATISTICS IO ON go SELECT [id]      ,[filler1]  FROM [Test1].[dbo].[Tab1]  Where id = 1Table 'Tab1'. Scan count 1, logical...

View Article

Impact of trace flag 272 on SQL Server 2012 apart from disabling identity jump

I am upgrading my application's SQL Server from 2008 R2 to 2012.As discussed in the below URL I am able to see the Identity jump after I upgrade and the server is restarted.Now since I cannot afford...

View Article

sql server 2012 - cluster and non cluster indexes

Cluster indexes and non cluster indexes takes extra space right? Is it ok to have only 5/6 non-cluster indexes on tables (not a single cluster index) ?? Will it take more extra space?I have columns...

View Article


When to do Index Maintence

Hi, how i monitor/manage/control when is index need to be created for reporting stored procedure before end user complained 'time out' ?PS: The amount of data is increasing everyday.

View Article

how to find the Domain vise server list

hi team,i have no.of domain,under domain no.servers are there, here how we can find each domain how server are located.exp:Domain Name is A123 like that....

View Article

Avg. Disk Queue Length

Hi techies, I want your expert comments on the below out put of Avg. Disk Queue Length counter of a server.MachineName Date Average Minimum Maximumservername8/2/2013 3:39000servername9/4/2013...

View Article


Constraint for column

Hi All,I have many columns in my table with numeric datatype(5,2). how can i add constraint for all columns for not exceeding the size 5.Thanks,Venkat.

View Article


SqlServer 2012 available wait data

Under Sybase, you can query the MDA table monProcessWaits (actually a pseudo table mapped to output from a stored procedure) for cumulative waits and types per spid. So I can query this table every 5...

View Article

Image may be NSFW.
Clik here to view.

Table structure changing the query plan on a non-clustered index.

I've been trying to understand why SQL server decides build a very complex query plan in some cases. I've got two test Tables. - Tab1 and Tabx When the table only has a single data page the select...

View Article

Log shipping Copy Job hangs

Hi,I have several DBs on 2008 R2 log shipped to DR server. Quite often Copy Job for some DBs can run for days (I assume hangs as normally it completes within minutes). Restart of the Job does not...

View Article

Image may be NSFW.
Clik here to view.

Linq Query on execution throwing Exchange Spill error

 In Our Application while executing one of the LINQ Query we are getting error.Type: System.Data.SqlClient.SqlExceptionMessage: Timeout expired.  The timeout period elapsed prior to completion of the...

View Article


Deadlock on table with one row and one primary key clustered index

I have one table with one row in it.CREATE TABLE [dbo].[SYS_TRAN_ID]( [NEXT_ID] [dbo].[id] NOT NULL, [PROCESS_ID] [dbo].[processid] NOT NULL, CONSTRAINT [XPKSTRANID] PRIMARY KEY CLUSTERED ( [NEXT_ID]...

View Article

sp_UpdateStats missing in database

HiWe recently installed Lync at our company.Lync creates 4 SQL instances and I have set up maintenance tasks for these instances.Strange thing is that sp_UpdateStats does not exist in any of the...

View Article


SQL Memory Usage

Hi AllI've been told that when dealing with 64bit SQL Servers with locked pages in memory enabled, using task manager to evaluate how much memory SQL Server is using is wrong.What is a clear and...

View Article

Sql Sever Restore error System.Data.SqlClient.SqlError: RESTORE detected an...

Higetting below error in restore SQL Database,System.Data.SqlClient.SqlError: RESTORE detected an error on page (0:0) in database "test" as read from the backup set. (Microsoft.SqlServer.Smo)txsuresh

View Article


Invalid object name for user-Defined table type parameter to stored procedure

I have a stored procedure defined with a single parameter whose type is a user-defined data type. On occasion when a call to this stored procedure is made I get an error "Invalid object name @ids". On...

View Article

Update PDF file in FileTable

Hi- I'm new to working with FileTables and am wondering if the following code (which saves annotations to a PDF file in the FileTable with changes that are made through the PDF control) makes sense. My...

View Article

VS 2012 Publisher can not be verified message at install time

Using VS 2012.  How do I get rid of the message PUBLISHER CAN NOT BE VERIFIED at install time.  I also get Unknown Publisher message.  What can I do about both messages?ecb

View Article
Browsing all 15694 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>