Quantcast
Channel: SQL Server Database Engine forum
Browsing all 5123 articles
Browse latest View live

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


database size and database backupsize is difference ?

hi all.,i have one database name:Athis A database full size is 2.gb finding the size [sp_helpdb]same A database backup size is 1200 mb finding backup file [latest backup file] why difference is happen? 

View Article


Bind variables in sql server

Is there any bind variables in SQL Server same as Oracle?Thanks

View Article

Linked Server is not working from Sql Server Agent

Hi All,I have two sql Server instances(ServerA & ServerB) with same version(SQL Server 2012 Enterpraise edition) and created a linked server on ServerA to access ServerB.I can browse the ServerB...

View Article

how to access ldf file

how to access  ldf file 

View Article


OPTION (SHRINKDB PLAN)

What would have caused these kind of queries to appear in recent expensive query window in the activity monitor? The event that happened when I saw this query was, our dB drive ran out of space and we...

View Article

Image may be NSFW.
Clik here to view.

many suspended processes, could you please tell me whats wrong?

SkyRiver

View Article

sql server 2008 r2 connection error

Cannot connect to USER-PC\SQLEXPRESS. ------------------------------ ADDITIONAL INFORMATION: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The...

View Article


in consistent information reported in SQL Management Studio - msdb datafile...

msdb properties shows database size 58GB, but when ran report 'Disk Usage by Top Tables' the largest table showed on 11MB and only 7 tables has 3MB in size and rest of are les that 100KB.Thanks in...

View Article


Different Execute Plan for same query

We are using the Following 2 queries:1.) DECLARE @Search VARCHAR(500) = 'Harry Potter'SELECT ProductID, ProductNameFROM Product  WHERE ProductName   LIKE  '%'+@Search+'%'2.) SELECT ProductID,...

View Article

Microsoft SQL server error:233

I am getting this error when connecting to sql. I cant get into my databases now- its pretty ugly. "A connection was succesfulyl established with the server, but then an error occured during the login...

View Article

How to see reports of disk usage and others of old date data in MDW?

How to see reports of disk usage and others of old date data in MDW?Thanks

View Article

BCP Error

I have one question pls help out in this.I am exporting file from table using BCP ,it will work properly if run through query or procedure and if i schedule job for this it will not work properly and...

View Article


Maintenance Plan

Hi I am using SQL Server 2005 Enterprise standard Edition. Issue:There is a maintenance plan which is taking a full database backup. Usually the maintenance plan completes in 1 hour to take backup  but...

View Article

Attempted to read or write protected memory

Hello,I'm getting the following error message intermittently when trying to execute SSIS packages. The SSIS packages are hosted on SQL server 2008,10.0.2531, X64 and 100GB f RAM and with more than 10GB...

View Article


Recovery model for system databases.

I observe the default recovery model for master,msdb and tempdb is simple.Also, I know tempdb requires no recovery to simple is fine.Master database contains metadata and can only offer full database...

View Article

Unable to connect with Instance name, but able to connect with...

Hi All,I have a default instance in a server which is running in a different portnumber(other than 1433). When few users are connecting from their machine to the server with instance name they were not...

View Article


Always On New Availability Group - Full backup is required

Just trying to create a New Availability Group for AlwaysOn , I see the database is listed, in the status it says: "Full backup is Required. The database is AdventureWorks2012, i have taken a full...

View Article

Intra Query Parallelism Issue

Hi Guys,I have a scenario where in a stored procedure I am having to get data from more than 20 tables and insert them all into one table by usingunion all . To get the attributes I am having to join...

View Article

parse a query

I want to know how to parse a query  so that it will take different execution planI don't want the query should use the existing execution plan.Please suggest

View Article
Browsing all 5123 articles
Browse latest View live


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